/* ============================================================================
   Yoga Retreats Booking — token system
   Concept: "Horizon Practice" — clay terracotta + marigold dawn light against
   warm sand neutrals; a recurring horizon-rule motif ties destinations together.
   Every component below reads these custom properties; no raw colors in markup.
   ========================================================================== */

@font-face {
  font-family: "Petrona";
  src: url("./fonts/petrona-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Petrona";
  src: url("./fonts/petrona-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Petrona";
  src: url("./fonts/petrona-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Petrona";
  src: url("./fonts/petrona-600italic.woff2") format("woff2");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Karla";
  src: url("./fonts/karla-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Karla";
  src: url("./fonts/karla-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Karla";
  src: url("./fonts/karla-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Karla";
  src: url("./fonts/karla-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* ---- color: HSL components (h s% l%), composed via hsl(var(--x)) ---- */
  --background: 38 40% 96%;
  --background-alt: 32 38% 91%;
  --surface: 40 44% 98%;
  --foreground: 18 26% 14%;
  --muted: 28 14% 46%;
  --muted-foreground: 28 12% 40%;
  --border: 30 20% 85%;

  --primary: 17 58% 40%;
  --primary-glow: 21 66% 54%;
  --primary-foreground: 38 40% 97%;

  --accent: 43 92% 52%;
  --accent-glow: 45 95% 64%;
  --accent-foreground: 20 30% 14%;

  /* ---- gradients ---- */
  --gradient-primary: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--primary-glow)));
  --gradient-subtle: linear-gradient(180deg, hsl(var(--background)), hsl(var(--background-alt)));
  --gradient-dawn: radial-gradient(circle at 30% 15%, hsl(var(--accent) / 0.30), transparent 55%);
  --gradient-cta: linear-gradient(120deg, hsl(var(--primary)) 0%, hsl(var(--primary-glow)) 55%, hsl(var(--accent)) 130%);

  /* ---- brand-tinted shadows ---- */
  --shadow-elegant: 0 10px 30px -10px hsl(var(--primary) / 0.35);
  --shadow-glow: 0 0 40px hsl(var(--accent) / 0.28);
  --shadow-soft: 0 2px 14px hsl(var(--foreground) / 0.07);
  --shadow-card: 0 1px 2px hsl(var(--foreground) / 0.05), 0 8px 24px -12px hsl(var(--primary) / 0.18);

  /* ---- radius scale (one scale, site-wide) ---- */
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 26px;
  --radius-pill: 999px;

  /* ---- spacing rhythm ---- */
  --space-3xs: 0.375rem;
  --space-2xs: 0.75rem;
  --space-xs: 1rem;
  --space-sm: 1.5rem;
  --space-md: 2.5rem;
  --space-lg: 4rem;
  --space-xl: 6.5rem;
  --space-2xl: 9rem;

  /* ---- type ---- */
  --font-display: "Petrona", "Iowan Old Style", Georgia, serif;
  --font-body: "Karla", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --measure: 65ch;

  /* ---- motion ---- */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 200ms;
  --dur-med: 320ms;
}

@keyframes horizon-draw {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes dawn-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes rail-grow {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ---------------------------------------------------------------------------
   Base
   ------------------------------------------------------------------------ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  min-height: 100dvh;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.14;
  margin: 0;
  color: hsl(var(--foreground));
}

p { margin: 0; }

.measure { max-width: var(--measure); }

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: var(--space-sm);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: hsl(var(--primary));
}

section { position: relative; }

/* ---------------------------------------------------------------------------
   Horizon rule — the recurring signature device (the wow motif, reused static)
   ------------------------------------------------------------------------ */
.horizon-rule {
  width: 100%;
  height: 2px;
  background: hsl(var(--primary) / 0.35);
  transform-origin: center;
}
.horizon-rule--accent { background: hsl(var(--accent) / 0.55); }
.horizon-rule--anim {
  animation: horizon-draw 700ms var(--ease-out) 120ms both;
}

/* ---------------------------------------------------------------------------
   Buttons — one identity per CTA intent, defined once
   ------------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}

/* primary — seeker intent: browse the retreat catalog. Appears everywhere the
   main conversion lives. */
.btn--primary {
  background: var(--gradient-primary);
  color: hsl(var(--primary-foreground));
  box-shadow: var(--shadow-elegant);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.btn--primary:active { transform: translateY(0); }

/* quiet secondary — internal navigation intent (see how it works, etc.) */
.btn--quiet {
  background: transparent;
  color: hsl(var(--foreground));
  border-color: hsl(var(--border));
}
.btn--quiet:hover { border-color: hsl(var(--primary)); background: hsl(var(--primary) / 0.06); }

/* host intent — distinct interaction identity: outlined in accent, fills on
   hover instead of lifting, so it never reads as a restyled primary button */
.btn--host {
  background: hsl(var(--surface));
  color: hsl(var(--accent-foreground));
  border-color: hsl(var(--accent));
  box-shadow: var(--shadow-soft);
}
.btn--host:hover { background: hsl(var(--accent) / 0.16); }
.btn--host:active { background: hsl(var(--accent) / 0.24); }

/* submit intent — form actions get their own identity: solid accent, not the
   primary gradient, so it never reads as a restyled browse CTA */
.btn--submit {
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
  align-self: flex-start;
  box-shadow: 0 6px 20px -8px hsl(var(--accent) / 0.55);
}
.btn--submit:hover { background: hsl(var(--accent-glow)); transform: translateY(-2px); }
.btn--submit:active { transform: translateY(0); }

/* ---------------------------------------------------------------------------
   Demo attribution banner (compliance)
   ------------------------------------------------------------------------ */
.demo-banner {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  text-align: center;
  font-size: 0.78rem;
  padding: 0.55rem 1rem;
}

/* ---------------------------------------------------------------------------
   Nav
   ------------------------------------------------------------------------ */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: hsl(var(--background) / 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid hsl(var(--border));
}
.nav__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-2xs);
  gap: var(--space-sm);
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.08rem;
  color: hsl(var(--foreground));
  min-width: 0;
  flex-shrink: 1;
}
.nav__brand img { width: 32px; height: 32px; flex-shrink: 0; border-radius: var(--radius-sm); }
.nav__brand span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 560px) {
  .nav__brand { font-size: 0.92rem; }
  .nav__row { gap: var(--space-2xs); }
  .nav__cta.btn { padding: 0.7rem 1rem; font-size: 0.85rem; }
}
.nav__links {
  display: none;
  align-items: center;
  gap: var(--space-md);
  font-size: 0.94rem;
  font-weight: 500;
}
.nav__links a { color: hsl(var(--muted-foreground)); transition: color var(--dur-fast) var(--ease-out); }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: hsl(var(--primary)); }
@media (min-width: 900px) { .nav__links { display: flex; } }
.nav__cta { flex-shrink: 0; }

/* ---------------------------------------------------------------------------
   Hero — full-bleed editorial, bottom-anchored copy, horizon-draw wow moment
   ------------------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 84dvh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero__figure { position: absolute; inset: 0; z-index: 1; }
.hero__figure img { width: 100%; height: 100%; object-fit: cover; }
.hero__figure::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, hsl(18 30% 8% / 0.82) 0%, hsl(18 30% 10% / 0.28) 46%, hsl(18 30% 10% / 0.05) 68%);
}
.hero__figure::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--gradient-dawn);
  z-index: 2;
  animation: dawn-fade-in 900ms var(--ease-out) both;
}
.hero__copy {
  position: relative;
  z-index: 3;
  padding: var(--space-xl) var(--space-sm) var(--space-lg);
  width: 100%;
  color: hsl(var(--primary-foreground));
}
.hero__inner { max-width: 1180px; margin-inline: auto; display: flex; flex-direction: column; gap: var(--space-xs); }
.hero__copy .eyebrow { color: hsl(var(--accent-glow)); }
.hero__copy .horizon-rule { max-width: 220px; margin-block: 0.35rem; }
.hero__headline {
  font-size: clamp(2.5rem, 6vw, 4.3rem);
  max-width: 13ch;
  color: hsl(var(--primary-foreground));
}
.hero__sub {
  font-size: 1.14rem;
  color: hsl(var(--primary-foreground) / 0.86);
  max-width: 46ch;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--space-xs); align-items: center; margin-top: var(--space-2xs); }
.hero__ctas .btn--quiet { color: hsl(var(--primary-foreground)); border-color: hsl(var(--primary-foreground) / 0.5); }
.hero__ctas .btn--quiet:hover { border-color: hsl(var(--primary-foreground)); background: hsl(var(--primary-foreground) / 0.12); }

/* ---------------------------------------------------------------------------
   Promise strip — hairline three-up, no cards
   ------------------------------------------------------------------------ */
.strip {
  border-top: 1px solid hsl(var(--border));
  background: hsl(var(--surface));
}
.strip__row {
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .strip__row { grid-template-columns: repeat(3, 1fr); } }
.strip__item {
  padding: var(--space-md) var(--space-sm);
  border-top: 1px solid hsl(var(--border));
}
@media (min-width: 760px) {
  .strip__item { border-top: none; border-left: 1px solid hsl(var(--border)); }
  .strip__item:first-child { border-left: none; }
}
.strip__item h3 { font-size: 1.04rem; font-weight: 700; font-family: var(--font-body); margin-bottom: 0.4rem; }
.strip__item p { color: hsl(var(--muted-foreground)); font-size: 0.95rem; }

/* ---------------------------------------------------------------------------
   Destination bento — asymmetric image grid, not an equal-column trio
   ------------------------------------------------------------------------ */
.bento-grid {
  padding-block: var(--space-xl);
}
.bento-grid__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
}
@media (min-width: 820px) {
  .bento-grid__layout {
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: 1fr 1fr;
  }
  .bento-tile--large { grid-row: 1 / span 2; }
}
.bento-tile {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  min-height: 260px;
}
.bento-tile--large { min-height: 420px; }
.bento-tile img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.bento-tile::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, hsl(18 30% 8% / 0.72) 0%, transparent 48%);
}
.bento-tile__caption {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding: var(--space-sm);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  color: hsl(var(--primary-foreground));
}
.bento-tile__caption h3 { font-size: 1.4rem; color: hsl(var(--primary-foreground)); }
.bento-tile--large .bento-tile__caption h3 { font-size: 1.85rem; }
.bento-tile__caption span { font-size: 0.9rem; color: hsl(var(--primary-foreground) / 0.82); margin-top: 0.2rem; }

/* ---------------------------------------------------------------------------
   Vertical process rail — verbs are the labels, no "Step 1"
   ------------------------------------------------------------------------ */
.rail { padding-block: var(--space-xl); }
.rail__list { position: relative; max-width: 640px; margin-inline: auto; }
.rail__list::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: hsl(var(--border));
  transform-origin: top;
  animation: rail-grow 0.9s var(--ease-out) both;
}
.rail__step {
  position: relative;
  padding-left: 3.2rem;
  padding-bottom: var(--space-lg);
}
.rail__step:last-child { padding-bottom: 0; }
.rail__marker {
  position: absolute;
  left: 0; top: 0;
  width: 40px; height: 40px;
  border-radius: var(--radius-pill);
  background: hsl(var(--surface));
  border: 2px solid hsl(var(--primary));
  color: hsl(var(--primary));
  display: flex; align-items: center; justify-content: center;
}
.rail__step h3 { font-size: 1.28rem; margin-bottom: 0.3rem; }
.rail__step p { color: hsl(var(--muted-foreground)); max-width: 46ch; }

/* ---------------------------------------------------------------------------
   Full-bleed color-field statement break
   ------------------------------------------------------------------------ */
.statement {
  background: var(--gradient-primary);
  color: hsl(var(--primary-foreground));
  padding: var(--space-lg) var(--space-sm) var(--space-2xl);
  text-align: center;
  overflow: hidden;
  position: relative;
}
.statement__rule-wrap { display: flex; justify-content: center; padding-bottom: var(--space-lg); }
.statement__rule-wrap .horizon-rule { max-width: 120px; background: hsl(var(--primary-foreground) / 0.4); }
.statement::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--gradient-dawn);
  pointer-events: none;
}
.statement__text {
  position: relative;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.6rem, 3.6vw, 2.6rem);
  max-width: 22ch;
  margin-inline: auto;
  line-height: 1.32;
}
.statement__cite {
  position: relative;
  display: block;
  margin-top: var(--space-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  color: hsl(var(--primary-foreground) / 0.78);
}

/* ---------------------------------------------------------------------------
   Split row — image + copy (used once on home for the hosts pitch; reused
   plainly on interior pages where a row makes sense)
   ------------------------------------------------------------------------ */
.split-row { padding-block: var(--space-xl); }
.split-row__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  align-items: center;
}
@media (min-width: 860px) { .split-row__layout { grid-template-columns: 1fr 1fr; gap: var(--space-lg); } }
.split-row__figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  aspect-ratio: 4 / 3.2;
}
.split-row__figure img { width: 100%; height: 100%; object-fit: cover; }
.split-row__copy .eyebrow { display: block; margin-bottom: var(--space-2xs); }
.split-row__copy h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: var(--space-xs); }
.split-row__copy p { color: hsl(var(--muted-foreground)); max-width: 46ch; margin-bottom: var(--space-sm); }
.split-row__list { list-style: none; margin: 0 0 var(--space-sm); padding: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.split-row__list li {
  color: hsl(var(--muted-foreground));
  padding-left: 1.4rem;
  position: relative;
}
.split-row__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 8px; height: 2px;
  background: hsl(var(--accent));
}

/* ---------------------------------------------------------------------------
   Footer CTA band — color-field with dual intent
   ------------------------------------------------------------------------ */
.cta-band {
  background: var(--gradient-cta);
  color: hsl(var(--primary-foreground));
  padding: var(--space-2xl) var(--space-sm) var(--space-xl);
  text-align: center;
}
.cta-band .horizon-rule { max-width: 140px; margin-inline: auto; background: hsl(var(--primary-foreground) / 0.4); margin-bottom: var(--space-sm); }
.cta-band h2 { font-size: clamp(2rem, 4.2vw, 2.9rem); max-width: 16ch; margin-inline: auto; color: hsl(var(--primary-foreground)); }
.cta-band p { color: hsl(var(--primary-foreground) / 0.85); max-width: 48ch; margin: var(--space-xs) auto var(--space-md); font-size: 1.05rem; }
.cta-band__row { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-xs); }
.cta-band .btn--primary { background: hsl(var(--surface)); color: hsl(var(--primary)); box-shadow: var(--shadow-glow); }
.cta-band .btn--primary:hover { background: hsl(var(--primary-foreground)); }
.cta-band .btn--host { background: transparent; border-color: hsl(var(--primary-foreground) / 0.55); color: hsl(var(--primary-foreground)); }
.cta-band .btn--host:hover { background: hsl(var(--primary-foreground) / 0.14); }
.cta-band .btn--quiet { background: hsl(var(--surface)); color: hsl(var(--primary)); border-color: transparent; box-shadow: var(--shadow-glow); }
.cta-band .btn--quiet:hover { background: hsl(var(--primary-foreground)); }

/* ---------------------------------------------------------------------------
   Page intro (interior page headers)
   ------------------------------------------------------------------------ */
.page-intro {
  padding: var(--space-xl) var(--space-sm) var(--space-md);
  text-align: center;
}
.page-intro h1 { font-size: clamp(2.1rem, 4.4vw, 3rem); max-width: 20ch; margin-inline: auto; }
.page-intro p { color: hsl(var(--muted-foreground)); max-width: 54ch; margin: var(--space-xs) auto 0; }
.page-intro .horizon-rule { max-width: 100px; margin: var(--space-sm) auto 0; }

/* ---------------------------------------------------------------------------
   Destination list page (retreats index) — full tile grid
   ------------------------------------------------------------------------ */
.tile-grid { padding-block: var(--space-lg) var(--space-xl); }
.tile-grid__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
}
@media (min-width: 700px) { .tile-grid__layout { grid-template-columns: repeat(2, 1fr); } }
.tile {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  aspect-ratio: 5 / 4;
}
.tile img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.tile::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, hsl(18 30% 8% / 0.75) 0%, transparent 55%);
}
.tile__caption {
  position: relative; z-index: 2;
  height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: var(--space-sm);
  color: hsl(var(--primary-foreground));
}
.tile__caption h3 { font-size: 1.5rem; color: hsl(var(--primary-foreground)); }
.tile__caption p { font-size: 0.94rem; color: hsl(var(--primary-foreground) / 0.85); margin-top: 0.3rem; max-width: 34ch; }

/* also-band catalog scaffolding */
.also-band { background: hsl(var(--surface)); border-top: 1px solid hsl(var(--border)); padding: var(--space-lg) var(--space-sm); }
.also-band__inner { max-width: 900px; margin-inline: auto; }
.also-band h2 { font-size: 1.3rem; margin-bottom: var(--space-sm); text-align: center; }
.also-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 700px) { .also-list { grid-template-columns: 1fr 1fr; } }
.also-list li {
  padding: var(--space-2xs) 0;
  border-top: 1px solid hsl(var(--border));
  color: hsl(var(--muted-foreground));
}
.also-list li:nth-child(-n+2) { border-top: none; }

/* ---------------------------------------------------------------------------
   Credentials / promise strip variant (about page)
   ------------------------------------------------------------------------ */
.creds {
  border-top: 1px solid hsl(var(--border));
  border-bottom: 1px solid hsl(var(--border));
}
.creds__row { display: grid; grid-template-columns: 1fr; }
@media (min-width: 760px) { .creds__row { grid-template-columns: repeat(3, 1fr); } }
.creds__item {
  padding: var(--space-md) var(--space-sm);
  border-top: 1px solid hsl(var(--border));
  text-align: center;
}
@media (min-width: 760px) {
  .creds__item { border-top: none; border-left: 1px solid hsl(var(--border)); }
  .creds__item:first-child { border-left: none; }
}
.creds__item strong { display: block; font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 0.3rem; }
.creds__item span { color: hsl(var(--muted-foreground)); font-size: 0.92rem; }

/* plain note band */
.note-band { padding: var(--space-xl) var(--space-sm); }
.note-band__inner { max-width: 62ch; margin-inline: auto; text-align: center; }
.note-band p { color: hsl(var(--muted-foreground)); font-size: 1.06rem; }

/* ---------------------------------------------------------------------------
   Contact page — info rail + form panel
   ------------------------------------------------------------------------ */
.contact-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  padding: var(--space-md) 0 var(--space-xl);
}
@media (min-width: 900px) { .contact-split { grid-template-columns: 0.85fr 1.15fr; align-items: start; } }
.contact-rail { display: flex; flex-direction: column; gap: var(--space-md); }
.contact-rail__item { display: flex; gap: var(--space-xs); align-items: flex-start; }
.contact-rail__item strong { display: block; font-family: var(--font-body); font-weight: 700; margin-bottom: 0.2rem; }
.contact-rail__item span, .contact-rail__item a { color: hsl(var(--muted-foreground)); }
.contact-rail__icon {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: var(--radius-md);
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  display: flex; align-items: center; justify-content: center;
}

.contact-form {
  background: hsl(var(--surface));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.contact-form__row { display: grid; grid-template-columns: 1fr; gap: var(--space-sm); }
@media (min-width: 560px) { .contact-form__row { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-size: 0.86rem; font-weight: 700; color: hsl(var(--foreground)); }
.field input, .field select, .field textarea {
  font-family: var(--font-body);
  font-size: 0.98rem;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid hsl(var(--border));
  background: hsl(var(--background));
  color: hsl(var(--foreground));
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid hsl(var(--accent) / 0.55);
  outline-offset: 1px;
}
.field textarea { resize: vertical; min-height: 110px; }
.contact-form__note { font-size: 0.84rem; color: hsl(var(--muted-foreground)); }

/* ---------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------ */
.footer {
  background: hsl(var(--foreground));
  color: hsl(var(--background));
  padding: var(--space-lg) var(--space-sm) var(--space-md);
}
.footer__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-md);
}
.footer__brand { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-size: 1.05rem; }
.footer__brand img { width: 26px; height: 26px; border-radius: var(--radius-sm); }
.footer p.footer__desc { color: hsl(var(--background) / 0.65); font-size: 0.92rem; line-height: 1.7; max-width: 34ch; margin-top: 0.6rem; }
.footer nav { display: flex; gap: var(--space-sm); flex-wrap: wrap; font-size: 0.92rem; }
.footer nav a { color: hsl(var(--background) / 0.75); }
.footer nav a:hover { color: hsl(var(--background)); }
.footer__legal {
  margin-top: var(--space-md);
  padding-top: var(--space-sm);
  border-top: 1px solid hsl(var(--background) / 0.15);
  font-size: 0.82rem;
  color: hsl(var(--background) / 0.55);
}
.footer__legal a { color: hsl(var(--background) / 0.8); text-decoration: underline; text-underline-offset: 2px; }
