/* ============================================================
   The Woo Cycle — Visual Identity 2026
   Built directly from the brand book (brief/The Woo Cycle -
   Visual Identity 2026.pdf):
     · backgrounds are never plain white — the official
       watercolour paper sits behind every page (p17)
     · type is never black — charcoal #222222 (p12)
     · Maia Moore carries short headlines only, five words max;
       Proxima Nova Bold for subheaders, Regular for body (p13–15)
     · core combinations: Woo Cycle Blue + white,
       Woo Cycle Purple + beige (p10)
     · illustrations and backdrops are Maia Moore's own (p16–23)
   ============================================================ */
/* Montserrat (SIL Open Font License 1.1), self-hosted so no visitor IP is
   sent to Google merely to render body copy. Google serves Montserrat as a
   variable font, so one file per style covers weights 100-900. This is the
   fallback family; Proxima Nova takes over once an Adobe kit id is set in
   partials/head-fonts.php. */
@font-face{
  font-family:"Montserrat";
  src:url("assets/fonts/montserrat-var-normal-latin.woff2") format("woff2");
  font-style:normal;
  font-weight:100 900;   /* variable: one file covers every weight */
  font-display:swap;
  unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face{
  font-family:"Montserrat";
  src:url("assets/fonts/montserrat-var-normal-latin-ext.woff2") format("woff2");
  font-style:normal;
  font-weight:100 900;   /* variable: one file covers every weight */
  font-display:swap;
  unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face{
  font-family:"Montserrat";
  src:url("assets/fonts/montserrat-var-italic-latin.woff2") format("woff2");
  font-style:italic;
  font-weight:100 900;   /* variable: one file covers every weight */
  font-display:swap;
  unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face{
  font-family:"Montserrat";
  src:url("assets/fonts/montserrat-var-italic-latin-ext.woff2") format("woff2");
  font-style:italic;
  font-weight:100 900;   /* variable: one file covers every weight */
  font-display:swap;
  unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face{
  font-family:"Maia Moore";
  src:url("assets/fonts/maia-moore.woff2?v=2") format("woff2"),
      url("assets/fonts/maia-moore.woff?v=2") format("woff");
  font-weight:400;
  font-style:normal;
  font-display:swap;
}

:root{
  /* -- Primary palette (p8) -- */
  --woo-beige:#f2e9d6;
  --pastel-yellow:#fffa88;
  --pastel-orange:#ffcf73;
  --raspberry-pink:#991b5a;
  --woo-cover-blue:#9bd0ca;
  --woo-purple:#74636d;

  /* -- Secondary palette (p8) -- */
  --light-orange:#ffdccf;
  --grey-pink:#b98da3;
  --grey-green:#5c754e;
  --dark-cyan:#008683;

  /* -- Type colour: never black (p12) -- */
  --charcoal:#222222;

  /* Derived shades, interaction states only — not brand colours. */
  --raspberry-deep:#7a1548;
  --purple-deep:#463b42;

  /* ---- semantic aliases ----
     Contrast ratios (WCAG) noted where the pairing carries text. */
  --paper:var(--woo-beige);          /* page tone under the watercolour  */
  --surface:#ffffff;                 /* floating cards                    */
  --ink:var(--charcoal);             /* body + headings — 13.2 on beige   */
  --ink-soft:var(--woo-purple);      /* muted body — 4.64 on beige        */
  --accent:var(--raspberry-pink);    /* THE action colour — 7.9 w/ white  */
  --accent-deep:var(--raspberry-deep);/* links, hover — 8.6 on beige      */
  --plum:var(--woo-purple);          /* purple + beige combo (p10)        */
  --blue:var(--woo-cover-blue);      /* blue + white combo (p10)          */
  --line:rgba(34,34,34,.14);
  --shadow:0 24px 48px -20px rgba(70,59,66,.28);

  /* Brand typography (p13–15) */
  --f-display:"Maia Moore","Comic Sans MS","Chalkboard SE",cursive;
  --f-body:"proxima-nova","Proxima Nova","Montserrat",-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif;
}

*{box-sizing:border-box; margin:0; padding:0;}
/* One scroll container only. `overflow-x` on BOTH html and body makes the body
   a second scroller, which is what makes the page jitter; `clip` on html alone
   contains the bleed without creating one. `scrollbar-gutter` reserves the
   scrollbar's width up front so short and tall pages don't shift sideways. */
html{
  scroll-behavior:smooth;
  overflow-x:clip;
  scrollbar-gutter:stable;
}
body{
  font-family:var(--f-body);
  background:var(--paper);
  color:var(--ink);
  font-size:1.0625rem;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

/* The official watercolour paper (p17), held behind everything.
   Used untouched — its warmth is the point. */
body::before{
  content:"";
  position:fixed; inset:0; z-index:-1;
  pointer-events:none;
  background:var(--paper) url("assets/brand/bg-watercolour.jpg") center center / cover no-repeat;
}

a{color:inherit; text-decoration:none;}
img{max-width:100%; display:block;}
.wrap{width:min(1180px,92vw); margin-inline:auto;}
.narrow{width:min(760px,92vw); margin-inline:auto;}

::selection{background:var(--accent); color:#fff;}
:focus-visible{outline:3px solid var(--accent); outline-offset:3px; border-radius:4px;}
/* raspberry is invisible on the dark surfaces — switch the ring to white there
   (5.6:1 on Woo Purple, 8.7:1 on the chapter scrim; WCAG 1.4.11 needs 3:1) */
footer :focus-visible,
.chapter-card :focus-visible,
.panel.plum :focus-visible,
.option-row.feature :focus-visible{outline-color:#fff;}

/* skip link — first tab stop on every page */
.skip-link{
  position:absolute; left:1rem; top:-4rem; z-index:200;
  background:var(--accent); color:#fff; font-weight:700; font-size:.95rem;
  padding:.7em 1.2em; border-radius:0 0 14px 14px;
  transition:top .2s;
}
.skip-link:focus{top:0;}

/* ============================================================
   TYPE — Maia Moore only ever carries short display lines.
   Everything longer is Proxima Nova (Montserrat fallback).
   ============================================================ */
h1, h2{
  font-family:var(--f-display);
  font-weight:400;            /* single-weight hand font — never faux-bold */
  letter-spacing:normal;
  line-height:1.12;
}
h1{font-size:clamp(2.6rem,5.6vw,4.4rem);}
h2{font-size:clamp(1.9rem,3.6vw,2.9rem);}
h1 em, h2 em{font-style:normal; color:var(--accent);}
h3, h4{font-family:var(--f-body); font-weight:700;}

/* hand-drawn underline for a highlighted word */
h1 .q, .statement p .hi, .wt-sub .q{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M3 7C40 2 66 11 100 6 134 1 166 10 197 6' fill='none' stroke='%23991b5a' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:left 94%; background-size:100% .3em;
  padding-bottom:.14em; -webkit-box-decoration-break:clone; box-decoration-break:clone;
}

.lead{font-size:clamp(1.1rem,1.5vw,1.28rem); color:var(--ink); max-width:52ch;}
/* Static labels take the palette colour itself; the derived deep shade is
   reserved for interaction states (hover, links), per the palette notes above. */
.kicker, .eyebrow{
  font-size:.8rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase;
  color:var(--accent);
}

/* ---------- Buttons — pill, raspberry is the one action colour ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.6em;
  font-family:var(--f-body); font-weight:700; font-size:1rem;
  padding:.9em 1.7em; border-radius:999px;
  border:2px solid transparent; cursor:pointer;
  transition:transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s, background .3s, color .3s;
  white-space:nowrap; max-width:100%;
}
.btn:hover{transform:translateY(-3px);}
.btn:active{transform:translateY(0) scale(.98);}
.btn-primary{background:var(--accent); color:#fff; box-shadow:0 12px 26px -12px rgba(153,27,90,.65);}
.btn-primary:hover{background:var(--accent-deep);}
.btn-ghost{background:transparent; color:var(--ink); border-color:rgba(34,34,34,.35);}
.btn-ghost:hover{border-color:var(--ink); background:rgba(255,255,255,.5);}
.btn-light{background:#fff; color:var(--ink);}
.btn-light:hover{background:var(--pastel-yellow);}
.btn .arrow{transition:transform .3s;}
.btn:hover .arrow{transform:translateX(4px);}

/* ---------- Header — full-width glass bar ---------- */
header{
  position:sticky; top:0; z-index:100;
  background:rgba(255,255,255,.72);
  -webkit-backdrop-filter:blur(14px) saturate(1.4); backdrop-filter:blur(14px) saturate(1.4);
  border-bottom:1px solid transparent;
  transition:background .5s cubic-bezier(.32,.72,0,1), border-color .5s cubic-bezier(.32,.72,0,1), box-shadow .5s cubic-bezier(.32,.72,0,1);
}
header.scrolled{
  background:rgba(255,255,255,.9);
  border-bottom-color:rgba(34,34,34,.08);
  box-shadow:0 12px 34px -26px rgba(70,59,66,.5);
}
.nav{
  position:relative;
  display:flex; align-items:center; justify-content:space-between;
  gap:1.5rem;
  padding:.75rem 0;
}
.logo img{height:42px; width:auto; display:block; transition:transform .3s;}
.logo:hover img{transform:rotate(-2deg) scale(1.04);}
/* six items now, so the gap has to give before the row does */
.nav-links{display:flex; align-items:center; gap:clamp(.85rem,2vw,2rem); white-space:nowrap;}
.nav-links a{font-weight:600; font-size:.95rem; position:relative; color:var(--ink);}
.nav-links a.plain::after{
  content:""; position:absolute; left:0; bottom:-4px; height:2.5px; width:0; background:var(--accent);
  border-radius:2px; transition:width .3s;
}
.nav-links a.plain:hover::after,
.nav-links a.plain.active::after{width:100%;}
.nav-cta{padding:.6em 1.3em; background:var(--accent); color:#fff !important; border-radius:999px; font-size:.92rem; font-weight:700; transition:background .3s, transform .3s;}
.nav-cta:hover{background:var(--accent-deep); transform:translateY(-2px);}
.nav-cta.active{background:var(--accent-deep);}
.menu-btn{display:none; background:none; border:none; cursor:pointer; font-family:var(--f-body); font-weight:700; font-size:1rem; color:var(--ink); padding:.4em .8em;}

/* ============================================================
   HOME HERO — Maia Moore headline (≤5 words) + Proxima subline,
   Lina & Mum in a soft organic frame on the right.
   ============================================================ */
.wow-hero{position:relative; min-height:88svh; display:flex; flex-direction:column; justify-content:center; padding:clamp(1.5rem,4vh,3rem) 0; overflow:hidden;}
.wow-hero-wrap{position:relative;}
.wow-eyebrow{
  display:inline-block; font-size:.78rem; font-weight:700; letter-spacing:.15em; text-transform:uppercase;
  color:var(--accent); margin-bottom:clamp(1rem,2.5vh,1.6rem);
  border:1.5px solid var(--line); border-radius:999px; padding:.5em 1.1em; background:rgba(255,255,255,.55);
}
.wow-title{
  font-family:var(--f-display); font-weight:400;
  font-size:clamp(2.6rem,7vw,5.8rem);
  /* Maia Moore carries deep internal leading, so the optical gap between lines
     is much larger than the number suggests — pull the lines together. */
  line-height:.82;
  margin-bottom:clamp(.7rem,1.8vh,1.1rem);
  position:relative; z-index:2;
}
.wt-line{display:block; overflow:hidden; padding-block:.01em;}
.wt-line .ch{display:inline-block;}
.wt-accent{color:var(--accent);}
/* the Proxima Nova statement line under the Maia headline (brand book p15) */
.wt-sub{
  font-family:var(--f-body); font-weight:600; font-style:italic;
  font-size:clamp(1.25rem,2.4vw,1.9rem); line-height:1.35;
  color:var(--ink); margin-bottom:clamp(1.1rem,2.5vh,1.6rem);
  position:relative; z-index:2;
}
/* weight reset is load-bearing: Maia Moore ships one weight, so inheriting the
   600 from .wt-sub would make the browser synthesise a fake bold. */
.wt-sub .wt-q{display:inline-block; color:var(--accent); font-style:normal; font-weight:400; font-family:var(--f-display); font-size:1.2em; margin-left:.06em; animation:bob 5s ease-in-out infinite;}

/* hero art overlaps the type — deliberate grid break */
.wow-art{
  position:absolute; z-index:1;
  right:0; top:0;
  width:clamp(230px,31vw,420px); aspect-ratio:1/1;
}
.wow-art-stage{
  position:absolute; inset:0;
  border-radius:47% 53% 46% 54% / 55% 47% 53% 45%;
  overflow:hidden; box-shadow:var(--shadow);
  background:var(--blue);
  animation:morph 16s ease-in-out infinite;
}
.wow-art-stage img{width:100%; height:100%; object-fit:cover; object-position:center 28%;}
@keyframes morph{
  0%,100%{border-radius:47% 53% 46% 54% / 55% 47% 53% 45%;}
  50%{border-radius:53% 47% 54% 46% / 45% 55% 45% 55%;}
}
.wow-float{position:absolute; font-family:var(--f-display); pointer-events:none; z-index:2;}
.wf-flower{top:-6%; left:0; width:clamp(36px,3.8vw,56px); animation:bob 7s ease-in-out infinite;}
.wf-q1{bottom:-4%; left:-9%; font-size:clamp(2rem,3.4vw,3.2rem); color:var(--accent); animation:bob 6s ease-in-out infinite .4s;}

.wow-hero-foot{display:flex; flex-direction:column; align-items:flex-start; gap:1.3rem; max-width:min(36rem,58%); position:relative; z-index:2;}
.wow-hero-foot .lead{margin-bottom:0; max-width:38ch; font-size:clamp(1.02rem,1.35vw,1.18rem);}
.hero-btns{display:flex; gap:1rem; flex-wrap:wrap;}

@keyframes bob{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-12px) rotate(3deg)}}

/* botanical doodles */
.doodle{position:absolute; pointer-events:none; z-index:0;}
.doodle svg, .doodle img{display:block; width:100%; height:auto;}
.doodle.flower{width:clamp(46px,5.5vw,78px); opacity:.9; animation:bob 9s ease-in-out infinite;}
@media (max-width:760px){ .doodle.flower{opacity:.55;} .doodle.flower.hide-sm{display:none;} }

/* ============================================================
   CHAPTER — pinned page set inside the book's hallway backdrop
   (the corridor where Lina's question begins, p18)
   ============================================================ */
.chapter{
  min-height:100svh;
  display:grid; place-items:center;
  padding:clamp(1.5rem,3vh,2.5rem) 0;
}
.chapter-card{
  position:relative; width:min(1080px,94vw);
  min-height:min(70svh,580px);
  background:
    linear-gradient(100deg, rgba(116,99,109,.96) 0%, rgba(116,99,109,.88) 46%, rgba(116,99,109,.42) 100%),
    url("assets/brand/bg-hallway.jpg") center right / cover no-repeat;
  background-color:var(--plum);
  border-radius:clamp(24px,4vw,40px);
  padding:clamp(2rem,5vw,3.6rem);
  display:flex; flex-direction:column; justify-content:center;
  overflow:hidden;
  box-shadow:var(--shadow);
}
.chapter-no{
  font-size:.8rem; font-weight:700; letter-spacing:.2em; text-transform:uppercase;
  color:var(--pastel-yellow); margin-bottom:clamp(1.2rem,3vh,2rem);
}
.chapter-text{
  font-family:var(--f-body); font-weight:600;
  font-size:clamp(1.25rem,2.5vw,2rem); line-height:1.45;
  color:#fff; max-width:30ch; position:relative; z-index:2;
}
.chapter-text .wd{display:inline-block;}
.chapter-text .ch-quote{font-style:italic; color:var(--pastel-yellow);}
.chapter-text .ch-hi{color:var(--blue); font-weight:700;}
.chapter-link{
  margin-top:clamp(1.6rem,4vh,2.6rem);
  display:inline-flex; align-items:center; gap:.5rem; align-self:flex-start;
  font-weight:700; color:#fff; font-size:1.05rem;
  border-bottom:2px solid rgba(255,255,255,.4); padding-bottom:3px;
  transition:border-color .3s; position:relative; z-index:2;
}
.chapter-link:hover{border-color:#fff;}
.chapter-link .arrow{transition:transform .3s;}
.chapter-link:hover .arrow{transform:translateX(4px);}
.chapter-peek{
  position:absolute; right:0; bottom:0; z-index:1;
  width:clamp(160px,22vw,280px); height:auto;
  transform:translateX(70%);
  will-change:transform;
  pointer-events:none;
  filter:drop-shadow(0 12px 18px rgba(0,0,0,.35));
}
.chapter-flower{
  position:absolute; top:7%; right:6%; width:clamp(36px,4vw,64px); opacity:.9;
  animation:bob 9s ease-in-out infinite; pointer-events:none;
}

/* ============================================================
   CARDS — three ways to join, each on its own brand surface
   (white / Woo Blue / Light Orange) with Maia's illustrations
   ============================================================ */
.community{position:relative; padding:clamp(3rem,7vh,5rem) 0 clamp(5rem,10vh,8rem);}
.community-head{text-align:center; margin-bottom:3rem;}
.community-head .kicker{margin-bottom:1rem;}
.community-head h2 em{font-style:normal; color:var(--accent);}

.cards{display:grid; grid-template-columns:1.15fr 1fr 1fr; gap:1.6rem; grid-auto-flow:dense;}
.cards.two{grid-template-columns:repeat(2,1fr);}
.card{
  position:relative; background:var(--surface); border:1px solid var(--line);
  border-radius:26px; padding:1.7rem 1.6rem 1.9rem; display:flex; flex-direction:column;
  transition:transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s, border-color .5s;
  overflow:hidden;
}
.card:hover{transform:translateY(-8px); box-shadow:var(--shadow); border-color:transparent;}
.card .tag{
  align-self:flex-start; font-size:.72rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase;
  padding:.45em .9em; border-radius:999px; margin-bottom:1.3rem; background:var(--accent); color:#fff;
}
.card h3{font-size:1.28rem; font-weight:700; margin-bottom:.55rem;}
.card p{font-size:.98rem; color:var(--ink); margin-bottom:1.5rem; flex:1;}

/* Card CTAs are real buttons, not text links — a solid pill with the arrow
   nested in its own disc so the whole thing reads as pressable. */
.card .card-link{
  align-self:flex-start;
  display:inline-flex; align-items:center; gap:.7rem;
  font-weight:700; font-size:.95rem; color:#fff;
  background:var(--accent);
  padding:.5rem .5rem .5rem 1.15rem;
  border-radius:999px;
  box-shadow:0 10px 22px -14px rgba(153,27,90,.9);
  transition:background .45s cubic-bezier(.32,.72,0,1), transform .45s cubic-bezier(.32,.72,0,1), box-shadow .45s cubic-bezier(.32,.72,0,1);
}
.card .card-link .arrow{
  display:grid; place-items:center;
  width:1.9rem; height:1.9rem; border-radius:50%;
  background:rgba(255,255,255,.22);
  font-size:.9rem; line-height:1;
  transition:transform .45s cubic-bezier(.32,.72,0,1), background .45s;
}
.card .card-link:hover{background:var(--accent-deep); transform:translateY(-2px); box-shadow:0 16px 28px -14px rgba(153,27,90,.95);}
.card .card-link:hover .arrow{background:rgba(255,255,255,.32); transform:translateX(3px);}
.card .card-link:active{transform:translateY(0) scale(.98);}

/* card variants — brand surfaces (all carry 9.3+ ink contrast) */
.card.join{background:var(--blue); border-color:transparent;}
.card.join .tag{background:var(--ink); color:var(--woo-beige);}
/* the CTA is a solid raspberry pill on every card, so its label stays white
   (7.9:1) — it must not inherit the old dark-on-blue link colour */
.card.join .card-link{color:#fff;}
.card.support{background:var(--light-orange); border-color:transparent;}
/* Two equal actions, so they read as outlined pills — pressable, but visibly
   secondary to the solid raspberry CTA on the other cards. */
.support-links{display:flex; flex-direction:column; gap:.6rem; align-items:flex-start;}
.support-links a{
  display:inline-flex; align-items:center; gap:.7rem;
  font-weight:700; font-size:.93rem; color:var(--ink);
  background:rgba(255,255,255,.75);
  border:1.5px solid rgba(34,34,34,.16);
  padding:.42rem .42rem .42rem 1.05rem;
  border-radius:999px;
  transition:background .45s cubic-bezier(.32,.72,0,1), border-color .45s, transform .45s cubic-bezier(.32,.72,0,1);
}
.support-links a .arrow{
  display:grid; place-items:center;
  width:1.7rem; height:1.7rem; border-radius:50%;
  background:var(--accent); color:#fff; font-size:.82rem; line-height:1;
  transition:transform .45s cubic-bezier(.32,.72,0,1);
}
.support-links a:hover{background:#fff; border-color:rgba(34,34,34,.32); transform:translateY(-2px);}
.support-links a:hover .arrow{transform:translateX(3px);}
.support-links a:active{transform:translateY(0) scale(.98);}

/* book cover shot */
.cover{
  border-radius:16px; margin-bottom:1.4rem; overflow:hidden;
  background:var(--blue);
}
.cover img{width:100%; height:auto; display:block; transition:transform .7s cubic-bezier(.2,.8,.2,1);}
.card:hover .cover img{transform:scale(1.05);}

/* illustration window inside a card (transparent art, no crop) */
.card-photo{
  aspect-ratio:16/10; border-radius:16px; margin-bottom:1.4rem; overflow:hidden;
  display:grid; place-items:center; padding:.9rem;
  background:rgba(255,255,255,.55);
}
.card-photo img{max-width:100%; max-height:100%; width:auto; height:100%; object-fit:contain; transition:transform .7s cubic-bezier(.2,.8,.2,1);}
.card:hover .card-photo img{transform:scale(1.05);}
/* full-bleed backdrop scene inside a card window */
.card-photo.scene{padding:0; place-items:stretch; background:var(--light-orange);}
.card-photo.scene img{width:100%; height:100%; max-width:none; max-height:none; object-fit:cover; object-position:center 62%;}

/* sticker tilt */
.wow-cards .tilt-a{transform:rotate(-1.2deg);}
.wow-cards .tilt-b{transform:rotate(1.1deg) translateY(14px);}
.wow-cards .tilt-c{transform:rotate(-.7deg);}
.wow-cards .card:hover{transform:rotate(0) translateY(-10px); box-shadow:var(--shadow); border-color:transparent;}

/* ---------- OUTRO — outline fills raspberry as you scroll ---------- */
.outro{padding:clamp(2rem,6vh,4rem) 0 clamp(1.5rem,4vh,2.5rem); overflow:hidden;}
.outro-line{
  position:relative; text-align:center;
  font-family:var(--f-display); font-weight:400;
  font-size:clamp(2.6rem,7.5vw,6.4rem); line-height:1.04;
}
.outro-ghost{
  display:block;
  color:transparent; -webkit-text-stroke:2px rgba(116,99,109,.45); text-stroke:2px rgba(116,99,109,.45);
}
.outro-fill{
  position:absolute; inset:0; display:block; color:var(--accent);
  clip-path:inset(0 100% 0 0);
}

/* ============================================================
   SIGNUP — the beach backdrop (p19): moon phases over the sea,
   the cycle written in the sky. Form floats on a white page.
   ============================================================ */
.signup{
  position:relative; overflow:hidden;
  border-radius:34px;
  padding:clamp(1.4rem,3vw,2.2rem);
  margin-bottom:clamp(3rem,7vh,5rem);
  background:url("assets/brand/bg-beach.jpg") center / cover no-repeat;
  background-color:var(--blue);
  box-shadow:var(--shadow);
  min-height:380px;
  display:flex; align-items:center;
}
.signup-inner{
  position:relative; z-index:2;
  background:rgba(255,255,255,.92);
  -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px);
  border-radius:24px;
  padding:clamp(1.8rem,4vw,2.8rem);
  width:min(560px,100%);
  display:flex; flex-direction:column; gap:1.4rem;
}
.signup h2{margin-bottom:.6rem;}
.signup h2 em{font-style:normal; color:var(--accent);}
.signup p{color:var(--ink); max-width:44ch;}
.signup form{display:flex; gap:.7rem; flex-wrap:wrap;}
.signup input{
  flex:1; min-width:0; padding:.9em 1.3em; border-radius:999px; border:2px solid var(--line);
  background:#fff; color:var(--ink); font-family:var(--f-body); font-size:1rem;
}
.signup input::placeholder{color:var(--ink-soft);}
.signup input:focus{outline:none; border-color:var(--accent);}
.signup .note{font-size:.84rem; color:var(--purple-deep); margin-top:.2rem;}

/* ============================================================
   FOOTER — Woo Cycle Purple + beige (combo p10)
   ============================================================ */
footer{background:var(--plum); color:#fff; margin-top:clamp(2rem,6vh,4rem);}
footer .wrap{padding-top:clamp(3rem,7vh,4.5rem); padding-bottom:clamp(2rem,4vh,2.6rem);}
.foot-grid{display:grid; grid-template-columns:1.6fr 1fr 1fr 1.2fr; gap:2.5rem; margin-bottom:2.6rem;}
.foot-brand .logo{display:inline-block; margin-bottom:1.1rem;}
.foot-brand .logo img{height:64px; width:auto;}
.foot-brand p{color:var(--woo-beige); max-width:32ch; font-size:.96rem;}
.foot-col h4{font-size:.78rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--pastel-yellow); margin-bottom:1.1rem;}
.foot-col a{display:block; color:#fff; font-size:.96rem; margin-bottom:.7rem; transition:color .25s;}
.foot-col a:hover{color:var(--pastel-yellow);}
.socials{display:flex; gap:.7rem; margin-top:.3rem;}
.socials a{width:44px; height:44px; border-radius:50%; border:1.5px solid rgba(255,255,255,.5); display:grid; place-items:center; color:#fff; transition:.3s;}
.socials a:hover{background:#fff; color:var(--plum); border-color:#fff; transform:translateY(-2px);}
.foot-note{text-align:center; margin:0 0 1.6rem; font-size:.95rem; color:var(--woo-beige);}
.foot-note a{color:var(--woo-beige);}
.foot-note a:hover{color:var(--pastel-yellow);}
.foot-note strong{color:var(--pastel-yellow); font-weight:700;}
.foot-bottom{display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:1rem; padding-top:1.8rem; border-top:1px solid rgba(255,255,255,.25); font-size:.86rem; color:#fff;}
.foot-bottom a:hover{color:var(--pastel-yellow);}

/* ============================================================
   INTERIOR PAGES
   ============================================================ */
.page-hero{position:relative; text-align:center; padding:clamp(3rem,8vh,5.5rem) 0 clamp(2.5rem,6vh,4rem); overflow:hidden;}
.page-hero .kicker{
  display:inline-block; margin-bottom:1.4rem;
  border:1.5px solid var(--line); border-radius:999px; padding:.5em 1.1em; background:rgba(255,255,255,.55);
}
.page-hero h1{margin-bottom:1.3rem;}
.page-hero .lead{max-width:56ch; margin:0 auto 1.4rem;}
.page-hero .statement-line{
  font-family:var(--f-body); font-weight:600; font-style:italic;
  font-size:clamp(1.15rem,2vw,1.45rem); color:var(--accent); margin-top:.4rem;
}

/* statement stack — short Maia lines, one per breath */
.statement{text-align:center; padding:clamp(3rem,7vh,5rem) 0;}
.statement p{font-family:var(--f-display); font-weight:400; font-size:clamp(1.7rem,3.6vw,2.7rem); line-height:1.3;}
.statement p .muted{color:var(--ink-soft);}
.statement p .hi{color:var(--accent);}

/* prose */
section{position:relative;}
.section{padding:clamp(3.5rem,9vh,7rem) 0;}
.section-head{margin-bottom:2rem;}
.section-head.center{text-align:center;}
.section-head .kicker{margin-bottom:1rem;}
.section-head h2{line-height:1.16; text-wrap:balance;}
.section-head h2 em{font-style:normal; color:var(--accent);}
.prose{max-width:66ch; margin-inline:auto;}
.prose > * + *{margin-top:1.15rem;}
.prose p{font-size:clamp(1.02rem,1.4vw,1.16rem); color:var(--ink); text-wrap:pretty;}
.prose p.lead-in{font-family:var(--f-body); font-weight:600; font-style:italic; font-size:clamp(1.15rem,1.9vw,1.4rem); color:var(--ink); line-height:1.45;}
.prose strong{font-weight:700;}

/* story scene — an illustration breathing on the paper */
.story-scene{display:flex; justify-content:center; padding:clamp(1.5rem,4vh,2.5rem) 0 0;}
.story-scene img{width:min(680px,88vw); height:auto;}

/* soft panels — beige surface; purple variant carries white text */
.panel{background:var(--woo-beige); border:1px solid var(--line); border-radius:28px; padding:clamp(1.8rem,4vw,3rem); overflow:hidden;}
.panel.plum{background:var(--plum); color:#fff; border-color:transparent;}
.panel.plum p{color:#fff;}
.panel.plum h2, .panel.plum h3{color:#fff;}
.panel.plum .kicker{color:var(--pastel-yellow);}

/* Prose is centred by default (`margin-inline:auto`), which strands it in the
   middle of a wide panel while the heading stays hard left. Inside a panel the
   text column starts at the same edge as its heading and keeps a comfortable
   measure, so heading, body and buttons share one left margin. */
.panel .prose{max-width:62ch; margin-inline:0;}
.panel-actions{margin-top:2rem; display:flex; gap:1rem; flex-wrap:wrap;}

/* two-column split */
.split{display:grid; grid-template-columns:1fr 1fr; gap:clamp(2rem,5vw,4rem); align-items:center;}
.split.narrow-text{grid-template-columns:1.1fr .9fr;}

/* pull quote — long lines belong to Proxima (p15) */
.pullquote{text-align:center; padding:clamp(2.5rem,6vh,4.5rem) 0;}
.pullquote blockquote{
  font-family:var(--f-body); font-weight:500; font-style:italic;
  font-size:clamp(1.3rem,2.6vw,1.9rem); line-height:1.45;
  max-width:30ch; margin:0 auto; position:relative;
}
.pullquote blockquote::before{content:"\201C"; font-family:var(--f-display); font-size:3em; color:var(--blue); position:absolute; top:-.32em; left:-.4em; z-index:-1;}
.pullquote .hl{color:var(--accent); font-weight:700;}
.pullquote cite{display:block; font-style:normal; font-size:.9rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--ink-soft); margin-top:1.4rem;}

/* portrait frame for transparent-background figures */
.portrait{aspect-ratio:4/5; border-radius:24px; background:var(--surface); border:1px solid var(--line); position:relative; overflow:hidden; display:grid; place-items:center; box-shadow:var(--shadow);}
.portrait .ph{font-family:var(--f-body); font-style:italic; color:var(--ink-soft); font-size:1.1rem; text-align:center; padding:1rem;}
.portrait.has-img{padding:0; overflow:visible; background:none; border:none; box-shadow:none;}
.portrait.has-img::before{
  content:""; position:absolute; inset:0; z-index:0;
  border-radius:24px; overflow:hidden;
  border:1px solid var(--line); box-shadow:var(--shadow);
  background:var(--surface);
}
.portrait.has-img .pf-figure{
  position:absolute; z-index:2; left:50%;
  top:-8%; height:106%; width:auto; max-width:none;
  transform:translateX(-50%);
  filter:drop-shadow(0 14px 15px rgba(70,59,66,.26));
  pointer-events:none; background:none;
}
.portrait.has-img .pf-flower{
  position:absolute; z-index:3; width:clamp(32px,5vw,54px);
  top:-6%; left:-6%; pointer-events:none;
  animation:bob 7s ease-in-out infinite;
}
.portrait.has-img .pf-dot{
  position:absolute; z-index:3; width:clamp(16px,2.4vw,24px); aspect-ratio:1;
  border-radius:50%; background:var(--blue); bottom:8%; right:-4%;
  pointer-events:none; animation:bob 8s ease-in-out infinite .5s;
}

/* checklist */
.checklist{list-style:none; display:grid; gap:1rem;}
.checklist li{display:flex; gap:.9rem; align-items:flex-start; font-size:clamp(1rem,1.4vw,1.12rem); color:var(--ink);}
.checklist .tick{flex:none; width:28px; height:28px; border-radius:50%; background:var(--dark-cyan); display:grid; place-items:center; margin-top:.1rem;}
.checklist .tick svg{width:15px; height:15px; stroke:#fff; stroke-width:3; fill:none;}

/* impact list */
.impact{list-style:none; display:grid; gap:1.1rem; margin-top:1.6rem;}
.impact li{display:flex; gap:1rem; align-items:flex-start; font-size:clamp(1rem,1.4vw,1.12rem);}
.impact .num{flex:none; width:34px; height:34px; border-radius:12px; background:var(--accent); color:#fff; font-family:var(--f-display); display:grid; place-items:center; font-size:1.05rem;}

/* partners */
.partner-block{text-align:center; padding:clamp(2rem,5vh,3.5rem) 0; position:relative;}
.partner-block h3{font-size:clamp(1.25rem,2.2vw,1.6rem); font-weight:700; margin-bottom:.5rem;}
.partner-block .sub{color:var(--ink); margin-bottom:2rem; font-size:.98rem;}
.feature-sponsor{display:grid; place-items:center; gap:1.2rem; background:var(--woo-beige); border:1px solid var(--line); border-radius:28px; padding:clamp(2rem,5vw,3.5rem);}
.feature-sponsor .logo-plate{width:min(360px,100%); min-height:120px; border-radius:16px; background:#fff; border:1px solid var(--line); display:grid; place-items:center; padding:2rem 1.5rem;}
.feature-sponsor .logo-plate img{max-height:170px; max-width:100%; width:auto;}
.feature-sponsor .role{font-size:.78rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--accent);}
.logo-grid{display:grid; grid-template-columns:repeat(auto-fill,minmax(150px,1fr)); gap:1rem;}
.logo-grid .logo-plate{height:96px; border-radius:16px; background:#fff; border:1px solid var(--line); display:grid; place-items:center; color:var(--ink-soft); font-weight:600; font-size:.9rem; text-align:center; padding:.8rem; transition:.3s; overflow:hidden;}
a.logo-plate{cursor:pointer;}
.logo-grid .logo-plate.empty{background:var(--woo-beige);}
.logo-grid .logo-plate img{max-height:66px; max-width:88%; width:auto; object-fit:contain;}
.logo-grid .logo-plate:hover{transform:translateY(-4px); box-shadow:var(--shadow);}
.namelist{display:flex; flex-wrap:wrap; gap:.7rem; justify-content:center; max-width:820px; margin:1.5rem auto 0;}
.namelist .name{background:#fff; border:1px solid var(--line); border-radius:999px; padding:.5em 1.1em; font-size:.95rem; color:var(--ink);}
.airtable-wrap{max-width:820px; margin:1.5rem auto 0;}
.airtable-embed{width:100%; border:1px solid var(--line); border-radius:14px; background:transparent; display:block;}
/* the birthday cake drawing from the book (Graphics, p23) */
.thanks-doodle{
  position:absolute; right:2%; top:0; width:clamp(70px,9vw,120px);
  opacity:.9; pointer-events:none; animation:bob 10s ease-in-out infinite;
}

/* contact band — Woo Cycle Blue + white (combo p10), ink text (9.3) */
.contact-band{position:relative; text-align:center; background:var(--blue); color:var(--ink); border-radius:34px; padding:clamp(2.6rem,6vw,4.5rem); margin-bottom:clamp(3rem,7vh,5rem); overflow:hidden;}
.contact-band .kicker{color:var(--accent); margin-bottom:1rem;}
.contact-band h2{margin-bottom:1rem; max-width:20ch; margin-inline:auto;}
.contact-band p{color:var(--ink); max-width:48ch; margin:0 auto 2rem;}
.contact-band .email{font-weight:700; font-style:italic; font-size:clamp(1.1rem,2vw,1.4rem); color:var(--ink); border-bottom:2px solid rgba(34,34,34,.4); padding-bottom:2px;}
.contact-band .email:hover{border-color:var(--ink);}
.contact-band .band-logo{width:clamp(90px,10vw,130px); margin:0 auto 1.4rem;}
.ways{list-style:none; display:flex; flex-wrap:wrap; gap:.7rem; justify-content:center; margin-bottom:2rem;}
.ways li{background:rgba(255,255,255,.6); border-radius:999px; padding:.8em 1.3em; font-size:.95rem; font-weight:600; text-align:center;}

/* ---------- Get Your Copy ---------- */
.hero{position:relative; padding:clamp(3rem,8vh,6rem) 0 clamp(4rem,9vh,7rem);}
.hero-grid{display:grid; grid-template-columns:1.05fr .95fr; gap:3rem; align-items:center;}
.hero .eyebrow{display:inline-block; margin-bottom:1.6rem; border:1.5px solid var(--line); border-radius:999px; padding:.5em 1.1em; background:rgba(255,255,255,.55);}
.hero h1{margin-bottom:1.2rem;}
.hero .lead{margin-bottom:2rem; max-width:40ch;}
.hero-art{position:relative; aspect-ratio:1/1;}
.hero-art::before{
  content:""; position:absolute; inset:6%;
  border-radius:47% 53% 46% 54% / 55% 47% 53% 45%;
  background:var(--blue); opacity:.55;
  animation:morph 16s ease-in-out infinite;
}
.hero-art .woo{position:absolute; inset:0; margin:auto; width:72%; height:auto; filter:drop-shadow(0 18px 26px rgba(70,59,66,.25)); animation:bob 7s ease-in-out infinite;}
.blob{display:none;}
.float{position:absolute; font-family:var(--f-display); pointer-events:none;}
.float.q1{top:4%; left:2%; font-size:3.2rem; color:var(--accent); animation:bob 6s ease-in-out infinite;}
.float.q2{bottom:8%; right:0; font-size:2.2rem; color:var(--dark-cyan); animation:bob 7s ease-in-out infinite .8s;}

.copy-choose{display:grid; grid-template-columns:.85fr 1.15fr; gap:clamp(1.5rem,3vw,2.6rem); align-items:start;}
.copy-cover{position:sticky; top:100px;}
.copy-cover .cover{margin:0; box-shadow:var(--shadow);}
.copy-options{display:flex; flex-direction:column; gap:1rem;}
.option-row{
  display:flex; gap:1.2rem; align-items:center;
  background:#fff; border:1px solid var(--line); border-radius:20px;
  padding:1.3rem 1.5rem; transition:transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s, border-color .3s;
}
.option-row:hover{transform:translateY(-4px); box-shadow:var(--shadow); border-color:transparent;}
.option-row.feature{background:var(--plum); border-color:transparent;}
.option-row.feature h3, .option-row.feature p{color:#fff;}
.option-row.feature .opt-cta{color:#fff;}
.option-row .opt-icon{flex:none; width:52px; height:52px; border-radius:16px; display:grid; place-items:center; background:var(--accent); color:#fff;}
.option-row.feature .opt-icon{background:var(--pastel-yellow); color:var(--ink);}
.option-row .opt-icon svg{width:26px; height:26px; stroke:currentColor; fill:none; stroke-width:2;}
.option-row .opt-body{flex:1; min-width:0;}
.option-row .opt-tag{font-size:.68rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--accent); margin-bottom:.2rem;}
.option-row.feature .opt-tag{color:var(--pastel-yellow);}
.option-row h3{font-size:1.22rem; font-weight:700; margin-bottom:.25rem;}
.option-row p{font-size:.92rem; color:var(--ink); margin:0 0 .5rem;}
.option-row .opt-cta{font-weight:700; font-size:.92rem; color:var(--accent-deep); display:inline-flex; align-items:center; gap:.4rem;}
.option-row .opt-cta.muted{color:var(--ink-soft);}
.option-row .opt-cta .arrow{transition:transform .3s;}
.option-row:hover .opt-cta .arrow{transform:translateX(4px);}

/* ---------- Lina peeping + speech bubble (About) ---------- */
.our-story{position:relative;}
.oss{position:relative;}
.lina-peek{position:absolute; left:0; bottom:-1.2rem; width:clamp(110px,12vw,160px); z-index:2; pointer-events:none;}
.lina-peek img{width:100%; height:auto; filter:drop-shadow(0 10px 16px rgba(70,59,66,.22));}
.lina-peek .speech{
  position:absolute; left:44%; bottom:calc(100% + 4px); transform:translateX(-34%);
  background:#fff; border:2px solid var(--ink); color:var(--ink);
  border-radius:16px 16px 16px 4px; padding:.55em .9em; font-size:clamp(.8rem,1.1vw,.95rem);
  font-weight:600; width:max-content; max-width:160px; line-height:1.25; text-align:center;
}
.lina-peek .speech::after{content:""; position:absolute; left:22px; bottom:-16px; width:0; height:0; border:8px solid transparent; border-top-color:var(--ink);}
.lina-peek .speech::before{content:""; position:absolute; left:23px; bottom:-12px; width:0; height:0; border:7px solid transparent; border-top-color:#fff; z-index:1;}

/* story spine flourish (About) */
.spine-wrap{position:relative;}
.spine-art{
  position:absolute; top:1.5rem; left:1.5%;
  width:clamp(150px,17vw,244px); height:auto;
  z-index:0; pointer-events:none;
  clip-path:inset(0 0 0 0);
}
.spine-wrap > section{position:relative; z-index:1;}
@media (max-width:1024px){ .spine-art{display:none;} }

.flourish-divider{display:flex; justify-content:center; padding:clamp(1.5rem,4vh,3rem) 0;}
.flourish-divider img{width:clamp(160px,26vw,240px); height:auto; opacity:.9;}
.flourish-divider.flip img{transform:scaleX(-1);}

/* ============================================================
   FAQ
   ============================================================ */

/* topic jump strip */
.faq-jump{position:relative; z-index:2; padding:.4rem 0 0;}
.faq-jump ul{
  list-style:none; display:flex; flex-wrap:wrap; gap:.5rem;
  justify-content:center; margin:0; padding:0;
}
.faq-jump a{
  display:inline-block;
  font-size:.85rem; font-weight:700; color:var(--ink);
  background:rgba(255,255,255,.7);
  border:1.5px solid rgba(34,34,34,.12);
  border-radius:999px; padding:.45em 1em;
  transition:background .35s cubic-bezier(.32,.72,0,1), border-color .35s, transform .35s cubic-bezier(.32,.72,0,1);
}
.faq-jump a:hover{background:#fff; border-color:var(--accent); color:var(--accent-deep); transform:translateY(-2px);}

/* search field (injected by app.js, so it never shows without JS) */
.faq-search{position:relative; margin-bottom:2.4rem;}
.faq-search input{
  width:100%; padding:.95em 1.3em .95em 3rem;
  border-radius:999px; border:2px solid var(--line);
  background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2374636d' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 1.1rem center / 1.15rem;
  color:var(--ink); font-family:var(--f-body); font-size:1rem;
}
.faq-search input::placeholder{color:var(--ink-soft);}
.faq-search input:focus{outline:none; border-color:var(--accent);}
.faq-empty{text-align:center; color:var(--ink-soft); font-style:italic; padding:1.5rem 0 2.5rem;}

/* a topic block */
.faq-group{margin-bottom:clamp(2.5rem,6vh,3.8rem); scroll-margin-top:110px;}
.faq-group-title{
  font-size:clamp(1.6rem,3vw,2.2rem);
  margin-bottom:1.1rem; padding-bottom:.5rem;
  border-bottom:2px solid rgba(34,34,34,.1);
}

/* one question */
.faq-item{
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  margin-bottom:.7rem;
  overflow:hidden;
  transition:border-color .4s cubic-bezier(.32,.72,0,1), box-shadow .4s cubic-bezier(.32,.72,0,1);
}
.faq-item[open]{border-color:transparent; box-shadow:var(--shadow);}
.faq-item summary{
  display:flex; align-items:center; justify-content:space-between; gap:1rem;
  padding:1.05rem 1.3rem;
  cursor:pointer; list-style:none;
  font-weight:700; font-size:1.02rem; color:var(--ink);
  transition:color .3s;
}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-item summary:hover{color:var(--accent-deep);}
.faq-item summary:focus-visible{outline:3px solid var(--accent); outline-offset:-3px;}

/* plus/minus mark, drawn in CSS so it can animate */
.faq-mark{
  position:relative; flex:none;
  width:1.7rem; height:1.7rem; border-radius:50%;
  background:var(--woo-beige);
  transition:background .4s cubic-bezier(.32,.72,0,1), transform .4s cubic-bezier(.32,.72,0,1);
}
.faq-mark::before, .faq-mark::after{
  content:""; position:absolute; inset:0; margin:auto;
  width:.7rem; height:2px; border-radius:2px; background:var(--ink);
  transition:transform .4s cubic-bezier(.32,.72,0,1), background .4s;
}
.faq-mark::after{transform:rotate(90deg);}
.faq-item[open] .faq-mark{background:var(--accent); transform:rotate(180deg);}
.faq-item[open] .faq-mark::before,
.faq-item[open] .faq-mark::after{background:#fff;}
.faq-item[open] .faq-mark::after{transform:rotate(0);}

.faq-a{padding:0 1.3rem 1.3rem; max-width:none; margin-inline:0;}
.faq-a p{font-size:1rem;}
.faq-a > * + *{margin-top:.9rem;}
.faq-a ul{list-style:none; margin:.9rem 0 0; padding:0;}
.faq-a ul li{position:relative; padding-left:1.4rem; margin-bottom:.45rem; color:var(--ink);}
.faq-a ul li::before{
  content:""; position:absolute; left:.25rem; top:.6em;
  width:6px; height:6px; border-radius:50%; background:var(--blue);
}
.faq-a a{color:var(--accent-deep); font-weight:600; text-decoration:underline; text-underline-offset:2px;}
.faq-a a:hover{color:var(--accent);}
.faq-a .faq-cta{
  display:inline-flex; align-items:center; gap:.5rem;
  margin-top:.4rem; padding:.7em 1.4em;
  background:var(--accent); color:#fff; border-radius:999px;
  font-weight:700; text-decoration:none;
  transition:background .4s cubic-bezier(.32,.72,0,1), transform .4s cubic-bezier(.32,.72,0,1);
}
.faq-a .faq-cta:hover{background:var(--accent-deep); color:#fff; transform:translateY(-2px);}

/* ---- Questions for James — the child's voice gets its own panel ---- */
.james{
  position:relative; overflow:hidden;
  background:var(--blue);
  border-radius:clamp(24px,4vw,34px);
  padding:clamp(1.8rem,4vw,3rem);
}
.james-head{max-width:46ch; margin-bottom:1.8rem;}
.james-head h2{margin-bottom:.6rem;}
.james-head p{color:var(--ink);}
.james-list{display:grid; gap:1rem; margin:0; max-width:52ch;}
.james-row{background:rgba(255,255,255,.72); border-radius:18px; padding:1.1rem 1.3rem;}
.james-row dt{font-weight:700; color:var(--ink); margin-bottom:.35rem;}
.james-row dd{margin:0; color:var(--ink); font-style:italic; font-size:1.05rem; line-height:1.45;}
.james-row dd::before{content:"\201C";}
.james-row dd::after{content:"\201D";}
.james-credit{
  margin-top:1.4rem; font-size:.82rem; font-weight:700;
  letter-spacing:.14em; text-transform:uppercase; color:var(--accent-deep);
}
.james-art{
  position:absolute; right:clamp(1rem,4vw,3rem); bottom:0;
  width:clamp(90px,13vw,170px); height:auto; pointer-events:none;
}
@media (max-width:820px){
  .james-art{display:none;}
  .james-list{max-width:none;}
}

/* ============================================================
   COOKIE CONSENT + BLOCKED EMBEDS
   ============================================================ */
.cookie-bar{
  position:fixed; left:0; right:0; bottom:0; z-index:9998;
  background:rgba(255,255,255,.97);
  -webkit-backdrop-filter:blur(14px); backdrop-filter:blur(14px);
  border-top:1px solid rgba(34,34,34,.12);
  box-shadow:0 -18px 40px -28px rgba(70,59,66,.6);
  padding:clamp(1rem,2.5vw,1.4rem) 0;
}
.cookie-bar[hidden]{display:none;}
.cookie-bar-inner{
  width:min(1180px,92vw); margin-inline:auto;
  display:flex; align-items:center; gap:clamp(1rem,3vw,2.5rem); flex-wrap:wrap;
}
.cookie-copy{flex:1 1 24rem; min-width:0;}
.cookie-copy h2{
  font-family:var(--f-body); font-weight:700;
  font-size:1.05rem; line-height:1.3; margin-bottom:.3rem;
}
.cookie-copy p{font-size:.94rem; color:var(--ink); margin:0;}
.cookie-copy a{color:var(--accent-deep); font-weight:600; text-decoration:underline; text-underline-offset:2px;}
/* both choices are the same size and weight — rejecting must be as easy as accepting */
.cookie-actions{display:flex; gap:.7rem; flex:0 0 auto;}
.cookie-actions .btn{min-width:8rem; font-size:.95rem; padding:.75em 1.5em;}
@media (max-width:560px){
  .cookie-actions{width:100%;}
  .cookie-actions .btn{flex:1; min-width:0;}
}

/* placeholder shown in place of a third-party embed before consent */
.embed-gate{position:relative;}
.embed-notice{
  background:var(--woo-beige);
  border:1px dashed rgba(34,34,34,.25);
  border-radius:18px;
  padding:clamp(1.4rem,4vw,2rem);
  text-align:center;
}
.embed-notice-title{font-weight:700; margin-bottom:.4rem; color:var(--ink);}
.embed-notice-body{font-size:.94rem; color:var(--ink); margin-bottom:1.1rem;}
.embed-notice .btn{font-size:.92rem;}

/* a button that has to look and read like a link */
.link-btn{
  background:none; border:none; padding:0; cursor:pointer;
  font:inherit; color:inherit; text-decoration:underline; text-underline-offset:2px;
}
.link-btn:hover{color:var(--pastel-yellow);}
.legal .link-btn{color:var(--accent-deep); font-weight:600;}
.legal .link-btn:hover{color:var(--accent);}

/* footer legal row */
.foot-charity{
  font-size:.82rem; color:var(--woo-beige); opacity:.85;
  max-width:70ch; margin:0 auto 1.4rem; text-align:center;
}
.foot-legal{display:flex; flex-wrap:wrap; gap:.4rem 1.1rem; align-items:center;}

/* ---------- Legal hub index ---------- */
.legal-index{display:grid; gap:1rem; margin-bottom:clamp(2.5rem,6vh,4rem);}
.legal-card{
  position:relative; display:block;
  background:#fff; border:1px solid var(--line); border-radius:20px;
  padding:1.4rem 3.4rem 1.5rem 1.5rem;
  transition:transform .45s cubic-bezier(.32,.72,0,1), box-shadow .45s cubic-bezier(.32,.72,0,1), border-color .45s;
}
.legal-card:hover{transform:translateY(-3px); box-shadow:var(--shadow); border-color:transparent;}
.legal-card h2{
  font-family:var(--f-body); font-weight:700;
  font-size:1.12rem; line-height:1.3; margin-bottom:.35rem; color:var(--ink);
}
.legal-card p{font-size:.96rem; color:var(--ink); margin:0; max-width:60ch;}
.legal-card-go{
  position:absolute; right:1.4rem; top:50%; transform:translateY(-50%);
  display:grid; place-items:center;
  width:2rem; height:2rem; border-radius:50%;
  background:var(--woo-beige); color:var(--ink); font-size:.95rem;
  transition:background .45s cubic-bezier(.32,.72,0,1), transform .45s cubic-bezier(.32,.72,0,1), color .45s;
}
.legal-card:hover .legal-card-go{background:var(--accent); color:#fff; transform:translateY(-50%) translateX(3px);}
/* the AI statement, given its own surface so it is not skipped over */
.legal-card.feature{background:var(--blue); border-color:transparent;}
.legal-card.feature .legal-card-go{background:rgba(255,255,255,.75);}
.legal-card.feature:hover .legal-card-go{background:var(--accent); color:#fff;}
@media (max-width:560px){
  .legal-card{padding:1.3rem 1.4rem 3.2rem;}
  .legal-card-go{top:auto; bottom:1.2rem; right:auto; left:1.4rem; transform:none;}
  .legal-card:hover .legal-card-go{transform:translateX(3px);}
}

/* ---------- Legal ---------- */
.legal{padding:clamp(1rem,3vh,2rem) 0 clamp(3rem,7vh,5rem);}
.visually-hidden{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0;
}
.table-scroll{overflow-x:auto; margin:1.2rem 0;}
.legal-table{
  width:100%; border-collapse:collapse; min-width:33rem;
  background:#fff; border-radius:14px; overflow:hidden;
  box-shadow:0 1px 0 rgba(34,34,34,.1);
}
.legal-table th, .legal-table td{
  text-align:left; padding:.85rem 1rem; font-size:.94rem;
  border-bottom:1px solid rgba(34,34,34,.1); vertical-align:top;
}
.legal-table thead th{background:var(--woo-beige); font-weight:700; color:var(--ink);}
.legal-table tbody tr:last-child td{border-bottom:none;}
.legal-table td:first-child{font-weight:600; white-space:nowrap;}
/* Policy headings run past five words, so they are subheaders (Proxima Nova
   Bold), not Maia Moore display lines. */
.legal h2{font-family:var(--f-body); font-weight:700; font-size:clamp(1.3rem,2.2vw,1.6rem); margin:2.4rem 0 .7rem; scroll-margin-top:110px;}
.legal h2:first-child{margin-top:0;}
.legal h3{font-family:var(--f-body); font-weight:700; font-size:1.05rem; margin:1.5rem 0 .4rem; color:var(--accent);}
.legal p{color:var(--ink); margin-bottom:1rem;}
.legal ul{list-style:none; margin:0 0 1.1rem; padding:0;}
.legal ul li{position:relative; padding-left:1.4rem; color:var(--ink); margin-bottom:.5rem;}
.legal ul li::before{content:""; position:absolute; left:.2rem; top:.62em; width:6px; height:6px; border-radius:50%; background:var(--accent);}
.legal a{color:var(--accent-deep); font-weight:600;}
.legal a:hover{text-decoration:underline;}
.legal .toc{background:var(--woo-beige); border:1px solid var(--line); border-radius:20px; padding:1.4rem 1.6rem; margin-bottom:2.5rem;}
.legal .toc h2{font-family:var(--f-body); font-size:.82rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--ink-soft); margin:0 0 .8rem;}
.legal .toc ul{margin:0; display:grid; grid-template-columns:1fr 1fr; gap:.4rem .8rem;}
.legal .toc li::before{display:none;}
.legal .toc li{padding-left:0;}
.updated{font-size:.9rem; color:var(--ink-soft); font-style:italic;}
@media (max-width:560px){ .legal .toc ul{grid-template-columns:1fr;} }

/* ---------- Amazon country picker modal ---------- */
.amazon-modal-overlay{
  position:fixed; inset:0; z-index:9999;
  background:rgba(70,59,66,.5); -webkit-backdrop-filter:blur(4px); backdrop-filter:blur(4px);
  display:none; align-items:center; justify-content:center;
}
.amazon-modal-overlay.open{display:flex;}
.amazon-modal{
  background:#fff; border-radius:24px; padding:2.2rem 2rem 1.8rem;
  max-width:420px; width:92vw; position:relative;
  box-shadow:0 20px 60px rgba(70,59,66,.25);
}
.amazon-modal-close{
  position:absolute; top:1rem; right:1rem; background:none; border:none;
  font-size:1.4rem; cursor:pointer; color:var(--ink-soft); line-height:1;
  width:2rem; height:2rem; display:flex; align-items:center; justify-content:center;
  border-radius:50%; transition:background .15s;
}
.amazon-modal-close:hover{background:var(--woo-beige);}
.amazon-modal h3{font-size:1.25rem; font-weight:700; margin-bottom:.3rem; color:var(--ink);}
.amazon-modal p{font-size:.9rem; color:var(--ink); margin-bottom:1.2rem;}
.amazon-stores{display:grid; grid-template-columns:1fr 1fr; gap:.6rem; list-style:none; padding:0;}
.amazon-stores a{
  display:flex; align-items:center; gap:.6rem;
  padding:.7rem .9rem; border-radius:12px; font-size:.92rem; font-weight:600;
  color:var(--ink); border:1px solid var(--line);
  transition:background .15s, border-color .15s;
}
.amazon-stores a:hover{background:var(--woo-beige);}
svg.flag{width:24px; height:14px; border-radius:2px; flex-shrink:0;}
@media(max-width:420px){
  .amazon-stores{grid-template-columns:1fr;}
  .amazon-modal{padding:1.8rem 1.4rem 1.4rem;}
}

/* ---------- Reveal on scroll ---------- */
.reveal-up{opacity:0; transform:translateY(28px); transition:opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1);}
.reveal-up.in{opacity:1; transform:none;}
[data-delay="1"]{transition-delay:.1s}
[data-delay="2"]{transition-delay:.2s}
[data-delay="3"]{transition-delay:.3s}
[data-delay="4"]{transition-delay:.4s}
.load{opacity:0; transform:translateY(22px); animation:loadIn .9s cubic-bezier(.2,.8,.2,1) forwards;}
.load.d1{animation-delay:.05s} .load.d2{animation-delay:.18s} .load.d3{animation-delay:.32s} .load.d4{animation-delay:.46s} .load.d5{animation-delay:.2s}
@keyframes loadIn{to{opacity:1; transform:none;}}
.hero-art.load{animation-name:loadArt;}
@keyframes loadArt{from{opacity:0; transform:scale(.92) rotate(-3deg);} to{opacity:1; transform:none;}}

/* ---------- home rhythm ---------- */
.home .community{padding:clamp(2.5rem,6vh,4rem) 0 clamp(3rem,7vh,4.5rem);}
.home .community-head{margin-bottom:2.2rem;}
.home .signup{margin-bottom:clamp(2.5rem,5vh,3.5rem);}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width:920px){
  .wow-art{position:relative; right:auto; top:auto; width:min(240px,58vw,34svh); margin:0 auto clamp(.6rem,1.6vh,1.1rem);}
  .wow-title{font-size:clamp(2.2rem,9vw,3.6rem);}
  .wow-hero-foot{max-width:100%;}
  .chapter{min-height:0;}
  .chapter-text{max-width:100%;}
  .chapter-text .wd{opacity:1 !important;}
  .chapter-peek{width:150px; transform:translateX(55%); opacity:.9;}
  .wow-cards .tilt-a,.wow-cards .tilt-b,.wow-cards .tilt-c{transform:none;}

  .hero-grid{grid-template-columns:1fr; gap:2.5rem;}
  .hero-art{width:100%; max-width:340px; margin-inline:auto; order:-1;}
  .cards, .cards.two{grid-template-columns:1fr;}
  .split, .split.narrow-text{grid-template-columns:1fr; gap:2rem;}
  .split .portrait{max-width:420px; margin-inline:auto;}
  .signup{min-height:0; padding:clamp(1rem,4vw,1.6rem);}
  .signup-inner{width:100%;}
  .foot-grid{grid-template-columns:1fr 1fr; gap:2rem;}
  .copy-choose{grid-template-columns:1fr; gap:1.6rem;}
  .copy-cover{position:static; max-width:320px; margin-inline:auto;}
  .lina-peek{width:96px; bottom:-.6rem;}

  .nav-links{display:none;}
  .menu-btn{display:block;}
  .nav-links.open{
    display:flex; position:absolute; top:calc(100% + 10px); left:0; right:0;
    flex-direction:column; align-items:flex-start; gap:1.1rem;
    background:rgba(255,255,255,.96);
    -webkit-backdrop-filter:blur(12px); backdrop-filter:blur(12px);
    padding:1.4rem 1.5rem; border:1px solid rgba(34,34,34,.08);
    border-radius:22px; box-shadow:0 18px 40px -18px rgba(70,59,66,.4);
  }
}
@media (max-width:560px){
  .foot-grid{grid-template-columns:1fr;}
  .btn{white-space:normal; text-align:center;}
  .panel .btn{width:100%;}
  .signup form{flex-direction:column;}
  .lina-peek{display:none;}
  .option-row{flex-wrap:wrap;}
  .thanks-doodle{display:none;}
}
@media (max-width:640px){
  .hero-btns{width:100%; flex-direction:column; align-items:stretch; gap:.8rem;}
  .hero-btns .btn{width:100%; justify-content:center;}
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto;}
  *{animation:none!important; transition:none!important;}
  .reveal-up{opacity:1; transform:none;}
  .load{opacity:1; transform:none;}
  .outro-fill{clip-path:none;}
  .chapter-peek{transform:translateX(30%);}
  .chapter{min-height:0;}
}
