/* =========================================================================
   Anviah — site.css
   Shared stylesheet for the marketing + legal site.
   Light theme only (deliberate v1 decision). Calm, secure, peaceful.
   All real colour comes from the watercolour artwork — chrome stays monochrome.
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. Fonts — Cormorant Garamond (display/emotional only)
      Referenced ahead of the asset pipeline; files land in assets/fonts/.
   ------------------------------------------------------------------------- */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/CormorantGaramond-Light.woff2") format("woff2");
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/CormorantGaramond-LightItalic.woff2") format("woff2");
  font-weight: 300; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/CormorantGaramond-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/CormorantGaramond-Italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/CormorantGaramond-SemiBold.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/CormorantGaramond-Bold.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

/* -------------------------------------------------------------------------
   2. Design tokens
   ------------------------------------------------------------------------- */
:root {
  /* surfaces */
  --canvas: #F1F0ED;
  --cream: #F5F2E9;
  --surface: #F7F4EC;
  --card: #FFFFFF;
  --border: #E8DFD3;
  --track: #DDD6CA;
  /* text */
  --ink: #2B2B2B;
  --ink-2: #7A7060;
  --ink-3: #8C8175;
  --ink-fine: #6B6255;   /* deepened warm taupe — small print needs ≥4.5:1 on cream */
  /* brand greens */
  --forest: #5C6B44;
  --forest-deep: #3D4F2B;
  --evergreen: #1A3228;
  --leaf: #6E8A45;
  --sage: #E8EEE1;
  --outline: #C7CBB4;
  --gold: #E6D3A3;
  /* shadow — warm ink, never pure black */
  --shadow-card: 0 1px 2px rgba(40,38,30,.03), 0 6px 16px rgba(40,38,30,.04);
  --shadow-raised: 0 6px 12px rgba(40,38,30,.10);
  /* radii */
  --radius-card: 16px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-pill: 999px;
  /* type */
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  /* layout */
  --container: 1120px;
  --pad: clamp(1.25rem, 5vw, 2rem);
  --section-y: clamp(3.75rem, 8vw, 4.75rem);   /* ~120–152px of air between sections */
  color-scheme: light;
}

/* -------------------------------------------------------------------------
   3. Reset & base
   ------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 5.5rem;   /* clear the sticky header for in-page anchors */
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;         /* 17px */
  line-height: 1.65;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;             /* safety net; clip (not hidden) keeps sticky nav working */
}

img, svg { max-width: 100%; display: block; }
img { height: auto; }
picture { display: contents; }   /* wrapper is transparent to layout; img rules apply directly */

a { color: var(--forest-deep); text-underline-offset: 2px; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

p { margin: 0; }

ul { margin: 0; padding: 0; list-style: none; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* -------------------------------------------------------------------------
   4. Utilities & layout primitives
   ------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section { padding-block: var(--section-y); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 0.75rem; top: -3rem;
  z-index: 200;
  background: var(--forest);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 0 0 var(--radius-card) var(--radius-card);
  text-decoration: none;
  transition: top .18s ease;
}
.skip-link:focus { top: 0; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.8125rem;         /* 13px */
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--forest);
  margin: 0 0 0.75rem;
}

.lede {
  color: var(--ink-2);
  font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
  line-height: 1.6;
  max-width: 40ch;
}

.section-title {
  font-size: clamp(2.2rem, 5vw, 3.35rem);
  line-height: 1.04;
}

.section-head {
  max-width: 34rem;
  margin-inline: auto;
  text-align: center;
}
.section-head .lede {
  margin-inline: auto;
  margin-top: clamp(1rem, 2.2vw, 1.35rem);
}

/* Focus visibility — consistent across the site */
:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 2px;
  border-radius: 4px;
}

/* -------------------------------------------------------------------------
   5. Buttons & badges
   ------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  min-height: 48px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, transform .12s ease, color .2s ease;
}

/* The single filled button style on the whole site */
.btn--primary {
  background: var(--forest);
  color: #fff;
  border-color: var(--forest);
}
.btn--primary:hover { background: var(--forest-deep); border-color: var(--forest-deep); transform: translateY(-1px); }
.btn--primary:active { transform: scale(.97); }

.btn--small { min-height: 40px; padding: 9px 18px; font-size: 0.9375rem; }

/* Pre-launch App Store badge. The official store asset returns after release. */
.store-badge {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--outline);
  background: rgba(232, 238, 225, 0.58);
  color: var(--forest-deep);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
  margin-top: clamp(1.5rem, 3vw, 2rem);
}

.trust-line {
  margin-top: 1.25rem;
  font-size: 0.8125rem;
  color: var(--ink-fine);
}

/* -------------------------------------------------------------------------
   5b. Waitlist form
   ------------------------------------------------------------------------- */
.waitlist {
  padding-block: var(--section-y);
  background: var(--cream);
}

.waitlist__panel {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1.4rem, 4vw, 2.25rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--card);
  box-shadow: var(--shadow-card);
}

.waitlist__copy {
  max-width: 34rem;
}

.waitlist__copy h2 {
  font-size: clamp(2rem, 4.2vw, 2.85rem);
  line-height: 1.06;
  margin-bottom: 0.85rem;
}

.waitlist__copy p {
  color: var(--ink-2);
  line-height: 1.6;
}

.waitlist__fine {
  margin-top: 0.9rem;
  font-size: 0.95rem;
}

.waitlist-form {
  display: grid;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--forest-deep);
}

.field label span {
  color: var(--ink-fine);
  font-weight: 500;
}

.field input,
.field select {
  width: 100%;
  height: 54px;
  min-height: 54px;
  border: 1.5px solid var(--outline);
  border-radius: 16px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 1.0625rem;
  line-height: 1.2;
  padding: 0 1rem;
  box-shadow: none;
}

.field select {
  -webkit-appearance: none;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink) 50%),
    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position:
    calc(100% - 1.45rem) 50%,
    calc(100% - 1.05rem) 50%;
  background-size: 0.42rem 0.42rem, 0.42rem 0.42rem;
  background-repeat: no-repeat;
  padding-right: 3rem;
}

.field input::placeholder { color: var(--ink-3); }
.field input:focus,
.field select:focus {
  outline: 2px solid var(--forest);
  outline-offset: 2px;
  border-color: var(--forest);
  background: #fff;
}

.waitlist-form__button {
  justify-self: start;
  margin-top: 0.25rem;
}

.form-note {
  color: var(--ink-fine);
  font-size: 0.8125rem;
  line-height: 1.45;
}

.form-status {
  font-size: 0.875rem;
  line-height: 1.45;
  margin-top: 0.5rem;
  min-height: 1.25rem;
}

.form-status:empty {
  margin-top: 0;
}

.form-status.is-success {
  color: var(--ink-strong, #2f6f4e);
}

.form-status.is-error {
  color: #b23b3b;
}

@media (min-width: 820px) {
  .waitlist__panel {
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  }
}

/* -------------------------------------------------------------------------
   6. Header / nav
   ------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(241, 240, 237, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
/* Solid fallback where blur is unsupported */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header { background: var(--canvas); }
}

.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 64px;
  padding-block: 0.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--forest-deep);
  margin-right: auto;         /* pushes the rest to the right */
}
.brand__icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  box-shadow: var(--shadow-card);
}
.brand__word {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: -0.01em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;      /* comfortable touch target */
  font-size: 0.9375rem;
  color: var(--ink);
  text-decoration: none;
  padding: 0.25rem 0;
  border-bottom: 1px solid transparent;
  transition: color .18s ease, border-color .18s ease;
}
.nav__link:hover { color: var(--forest-deep); border-bottom-color: var(--outline); }

.nav__lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--forest);
  text-decoration: none;
  letter-spacing: 0.02em;
  padding: 0.4rem 0.55rem;
  border-radius: var(--radius-pill);
}
.nav__lang:hover { color: var(--forest-deep); background: var(--sage); }

.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Mobile: keep it to wordmark + language + pill; anchors fold away */
@media (max-width: 760px) {
  .nav__links { display: none; }
}

/* Narrow phones (iPhone SE/5, small Android): brand + FR pill + CTA no
   longer fit at the default sizing, so tighten spacing before anything wraps. */
@media (max-width: 360px) {
  .nav { gap: 0.6rem; }
  .nav__actions { gap: 0.5rem; }
  .brand__word { font-size: 1.3rem; }
  .nav__actions .btn--small { padding: 9px 14px; font-size: 0.875rem; }
}

/* -------------------------------------------------------------------------
   7. Hero — asymmetric, art bleeding right
   ------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
/* soft radial sage/cream wash toward the art side */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(70% 90% at 82% 30%, rgba(232, 238, 225, 0.9), rgba(241, 240, 237, 0) 60%),
    radial-gradient(50% 60% at 88% 78%, rgba(230, 211, 163, 0.14), rgba(241, 240, 237, 0) 70%);
  pointer-events: none;
}
/* faint paper grain */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../img/paper-texture.jpg") center / cover no-repeat;
  opacity: 0.05;
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* Note: .hero__inner is deliberately NOT position:relative — on desktop the
   absolutely-positioned art anchors to .hero itself, so it bleeds to the
   viewport's right edge rather than stopping at the container. */
.hero__inner {
  padding-block: clamp(2.75rem, 7vw, 5rem) clamp(3.5rem, 8vw, 6rem);
}

.hero__text { max-width: 34rem; }

.hero h1 {
  font-size: clamp(2.35rem, 4.4vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 1.1rem;
}
.hero__sub {
  font-size: clamp(1.125rem, 2vw, 1.35rem);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 30ch;
}

.hero__art {
  margin-top: clamp(1.5rem, 6vw, 2.5rem);
  max-width: min(75vw, 340px);
  margin-inline: auto;
}
.hero__art img { width: 100%; height: auto; }

@media (min-width: 960px) {
  .hero__inner {
    display: flex;
    align-items: center;
    min-height: min(80vh, 760px);
  }
  .hero__text { width: 53%; }
  .hero__art {
    position: absolute;
    top: clamp(1rem, 3vw, 2.5rem);
    /* bleed to the viewport edge; on very wide screens drift back toward the text */
    right: max(0px, calc(50vw - 720px));
    bottom: -2rem;
    width: 45vw;
    max-width: 640px;
    margin: 0;
    pointer-events: none;
  }
  .hero__art img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: right bottom;
  }
}

/* -------------------------------------------------------------------------
   8. Journey types — centered chip band
   ------------------------------------------------------------------------- */
.journey {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  --journey-bg-y: clamp(-26rem, -24vw, -9rem);
  background: var(--cream);
}
.journey::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to bottom, rgba(245, 242, 233, 0.44) 0%, rgba(245, 242, 233, 0.72) 52%, var(--cream) 100%),
    url("../img/clouds.png");
  background-size: cover, cover;
  background-position: top center, center var(--journey-bg-y);
  background-repeat: no-repeat, no-repeat;
}
@supports (background-image: image-set(url("x.png") type("image/png"))) {
  .journey::before {
    background-image:
      linear-gradient(to bottom, rgba(245, 242, 233, 0.44) 0%, rgba(245, 242, 233, 0.72) 52%, var(--cream) 100%),
      image-set(url("../img/clouds.png") type("image/png"));
  }
}
@media (max-width: 700px) {
  .journey {
    --journey-bg-y: center;
  }
  .journey::before {
    background-size: cover, cover;
    background-position: center, center center;
  }
}
.journey > .container {
  position: relative;
  z-index: 1;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  max-width: 44rem;
  margin: clamp(1.5rem, 3vw, 2rem) auto 0;
}
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.5rem 1.1rem;
  border: 1.5px solid var(--outline);
  border-radius: var(--radius-pill);
  color: var(--forest-deep);
  background: transparent;
  font-size: 0.9375rem;
  line-height: 1.2;
}
.journey__note {
  text-align: center;
  color: var(--ink-2);
  max-width: 42ch;
  margin: clamp(1.5rem, 3vw, 2rem) auto 0;
}

/* -------------------------------------------------------------------------
   9b. Why Anviah — three light pillar cards on the canvas
       The breakpoints avoid an accidental orphan card on smaller screens.
   ------------------------------------------------------------------------- */
.why-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.why-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: clamp(1.25rem, 4vw, 1.7rem) clamp(1.25rem, 4vw, 1.6rem);
}
.why-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.4rem, 3.2vw, 1.65rem);
  line-height: 1.08;
  margin: 0 0 0.65rem;
}
.why-card p {
  color: var(--ink-2);
  font-size: 0.99rem;
  line-height: 1.55;
}
@media (min-width: 640px) and (max-width: 899px) {
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-card:last-child { grid-column: 1 / -1; }
  .why-card:last-child p { max-width: 44ch; }
}
@media (min-width: 900px) {
  .why-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* -------------------------------------------------------------------------
   10. Features — alternating two-column bands
   ------------------------------------------------------------------------- */
.features { display: flex; flex-direction: column; }

.feature {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
  padding-block: clamp(2.75rem, 7vw, 4.5rem);
}
@media (min-width: 840px) {
  .feature { grid-template-columns: 1fr 1fr; }
  .feature__text { max-width: 32rem; }
  /* alternate: image moves to the left */
  .feature--reverse .feature__media { order: -1; }
  .feature--reverse .feature__text { margin-left: auto; }
}

.feature h2 {
  font-size: clamp(2rem, 4.2vw, 2.85rem);
  line-height: 1.06;
  margin: 0 0 1rem;
}
.feature__support { color: var(--ink); }
.feature__support + .feature__support { margin-top: 0.5rem; }

/* framed watercolour (opaque jpg heroes) */
.media--framed {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  background: var(--cream);
}
.media--framed img { width: 100%; height: auto; }

/* floating watercolour (transparent png) */
.media--float {
  max-width: 420px;
  margin-inline: auto;
}
.media--float img { width: 100%; height: auto; }

.feature[aria-labelledby="feat-partner"] .media--float {
  max-width: min(76vw, 340px);
}

/* -------------------------------------------------------------------------
   11. Privacy band — the single dramatic moment (dusk in the garden)
   ------------------------------------------------------------------------- */
.privacy {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--evergreen);
  color: rgba(245, 242, 233, 0.92);
  padding-block: clamp(5rem, 11vw, 7.5rem);
}
/* soft dusk glow + gentle vignette */
.privacy::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 85% at 80% -15%, rgba(110, 138, 69, 0.30), rgba(26, 50, 40, 0) 55%),
    radial-gradient(60% 55% at 15% 115%, rgba(230, 211, 163, 0.08), rgba(26, 50, 40, 0) 60%),
    radial-gradient(140% 120% at 50% 130%, rgba(9, 20, 15, 0.55), rgba(26, 50, 40, 0) 60%);
  pointer-events: none;
}
.privacy .eyebrow { color: var(--gold); }
.privacy h2 {
  color: rgba(245, 242, 233, 0.97);
  font-weight: 400;             /* light serif headline for the dusk mood */
}
.privacy .lede { color: rgba(245, 242, 233, 0.78); }

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.privacy-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-card);
  padding: 1.4rem 1.4rem 1.5rem;
}
.privacy-card h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.45rem, 2.6vw, 1.7rem);
  line-height: 1.08;
  color: rgba(245, 242, 233, 0.96);
  margin: 0 0 0.55rem;
}
.privacy-card p {
  color: rgba(245, 242, 233, 0.82);
  font-size: 0.9875rem;
  line-height: 1.55;
}

.privacy a:focus-visible { outline-color: var(--gold); }

/* -------------------------------------------------------------------------
   12. Final CTA — veiled meadow band
   ------------------------------------------------------------------------- */
.final {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  padding-block: clamp(4.5rem, 10vw, 7rem);
}
.final::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-color: var(--canvas);
  background-image:
    linear-gradient(to bottom, var(--canvas) 0%, rgba(241, 240, 237, 0.88) 45%, rgba(241, 240, 237, 0.94) 100%),
    url("../img/garden_state_meadow.png");
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}
@supports (background-image: image-set(url("x.png") type("image/png"))) {
  .final::before {
    background-image:
      linear-gradient(to bottom, var(--canvas) 0%, rgba(241, 240, 237, 0.88) 45%, rgba(241, 240, 237, 0.94) 100%),
      image-set(url("../img/garden_state_meadow.png") type("image/png"));
  }
}
@media (max-width: 700px) {
  .final::before {
    background-size: cover, cover;
    background-position: center, center center;
  }
}
.final h2 {
  font-size: clamp(2.15rem, 5vw, 3.25rem);
  line-height: 1.04;
  margin: 0 0 0.75rem;
}
.final__sub { color: var(--ink-2); font-size: 1.15rem; }
.final .cta-row { justify-content: center; }
.final__quote {
  max-width: 30ch;
  margin: clamp(1.75rem, 4vw, 2.4rem) auto 0;
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  line-height: 1.34;
  color: var(--ink-2);
}

/* -------------------------------------------------------------------------
   13. Footer
   ------------------------------------------------------------------------- */
.site-footer {
  background: var(--cream);
  border-top: 1px solid var(--border);
}
.footer__inner { padding-block: clamp(2.75rem, 5vw, 3.75rem); }

.footer__top {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .footer__top { grid-template-columns: 1.6fr 1fr 1fr; gap: 2.5rem; }
}

.footer__brand .brand { margin-right: 0; }
.footer__desc {
  margin-top: 0.9rem;
  color: var(--ink-2);
  max-width: 32ch;
  font-size: 0.95rem;
}

.footer__col h4 {
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-fine);
  margin: 0 0 0.85rem;
}
.footer__col ul { display: grid; gap: 0.6rem; }
.footer__col a {
  display: inline-block;
  padding-block: 0.2rem;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
}
.footer__col a:hover { color: var(--forest-deep); text-decoration: underline; }

.footer__fine {
  margin-top: clamp(2rem, 4vw, 2.75rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  color: var(--ink-fine);
  font-size: 0.8125rem;
  line-height: 1.55;
}
.footer__fine p { max-width: 62ch; }

/* -------------------------------------------------------------------------
   15. Legal prose (privacy.html / terms.html)
   ------------------------------------------------------------------------- */
.prose {
  max-width: 46rem;
  margin-inline: auto;
  padding-block: clamp(2.5rem, 6vw, 4rem);
}
.prose h1 {
  font-size: clamp(2.1rem, 4vw, 2.5rem);
  line-height: 1.12;
  margin: 0 0 0.75rem;
}
.prose h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.6rem);
  line-height: 1.2;
  margin: 2.75rem 0 0.85rem;
}
.prose p { margin: 0 0 1.1rem; line-height: 1.7; }
.prose ul {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}
.prose li { position: relative; padding-left: 1.1rem; line-height: 1.6; }
.prose li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.66em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--leaf);
}
.prose a { color: var(--forest); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--forest-deep); }

/* -------------------------------------------------------------------------
   16. Motion — page-load hero + scroll reveal
      Base state is VISIBLE. Only when JS + motion are allowed do we hide/offset.
   ------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  /* scroll reveal */
  .js .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .6s ease, transform .6s ease;
    will-change: opacity, transform;
  }
  .js .reveal.is-visible { opacity: 1; transform: none; }

  /* hero fade-up on load with slight stagger */
  .js .hero__text > * { animation: rise .7s ease both; }
  .js .hero__text .eyebrow { animation-delay: .04s; }
  .js .hero h1 { animation-delay: .10s; }
  .js .hero__sub { animation-delay: .18s; }
  .js .hero__text .cta-row { animation-delay: .26s; }
  .js .hero__text .trust-line { animation-delay: .32s; }
  .js .hero__art { animation: rise .8s ease .12s both; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1 !important; transform: none !important; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}
