/* WOEKEL WORKS · site stylesheet
   Fullstop system: white page, ink type, lime for primary moments,
   mint as contained calm panels. Lime never sits on mint. */

:root {
  --white: #FFFFFF;
  --ink: #1B1B1C;
  --ink-soft: #5C5C5F;
  --ink-mid: #3B3B3E;
  --lime: #C8F300;
  --mint: #DAF3EC;
  --paper: #F5F5F3;
  --hair: #E4E4E3;
  --hair-strong: #D2D2D0;

  --display: "Jost", Futura, system-ui, sans-serif;
  --body: "Geist", "Helvetica Neue", system-ui, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --sec: clamp(2.75rem, 6vw, 4.75rem);
  --r-lg: 32px;
  --r: 22px;
  --r-sm: 14px;
  --nav-h: 4.5rem;
  --curtain-r: clamp(28px, 7vw, 96px);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

@media (max-width: 720px) {
  :root { --sec: 2.5rem; }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 1rem); }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--body); font-size: 1.0625rem; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.08; letter-spacing: -0.015em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: 1.375rem; line-height: 1.2; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 200; padding: .6rem 1rem; background: var(--lime); border-radius: 999px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--sec) 0; position: relative; }
.section--rule { border-top: 1px solid var(--hair); }
.section--tight { padding-top: clamp(2.5rem, 5vw, 4rem); }
.section--teaser { padding: clamp(1.75rem, 3.5vw, 2.75rem) 0; }
.section--teaser .head { margin-bottom: .5rem; }
.section--teaser .actions { margin-top: 1.25rem; }

.eyebrow { font-size: .875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.3125rem); line-height: 1.5; color: var(--ink); max-width: 40rem; }
.body-lg { font-size: 1.125rem; line-height: 1.6; max-width: 46rem; }
.note, .fine { font-size: .9375rem; color: var(--ink-soft); }
.fine { font-size: .875rem; }

.head { display: grid; gap: 1rem; margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.head--center { justify-items: center; text-align: center; }
.head--center .lead { margin: 0 auto; }

/* buttons: lime on white grounds, ink on mint and lime grounds */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.6rem; border-radius: 999px; border: 0;
  font: 600 1.0625rem/1.1 var(--body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 160ms var(--ease), background-color 240ms var(--ease), color 240ms var(--ease), box-shadow 160ms var(--ease);
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px -8px rgba(27,27,28,.35); }
.btn:active { transform: translateY(1px) scale(.98); box-shadow: none; }
.btn--lime { background: var(--lime); color: var(--ink); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--sm { padding: .7rem 1.15rem; font-size: .9375rem; }
.textlink { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; background: none; border: 0; padding: 0; font-family: var(--body); font-size: inherit; cursor: pointer; color: inherit; }
.textlink:hover { text-decoration-color: var(--ink-soft); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: clamp(1.75rem, 3.5vw, 2.5rem); }
.actions--center { justify-content: center; }

.card { background: var(--paper); border-radius: var(--r); padding: clamp(1.4rem, 2.4vw, 2rem); }
.card--white { background: var(--white); }
.card h3 + p { margin-top: .6rem; }

.tag { display: inline-block; padding: .3rem .75rem; border: 1px solid var(--ink); border-radius: 999px; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }

/* the full stop: the site's one signature mark */
.stop { display: inline-block; width: .2em; height: .2em; margin-left: .06em; border-radius: 50%; background: var(--lime); vertical-align: baseline; box-shadow: 0 0 0 1px rgba(27,27,28,.06); }

/* reveal on scroll: the quiet glue between sections */
.rv { opacity: 0; transform: translateY(18px); transition: opacity 640ms var(--ease), transform 640ms var(--ease); transition-delay: var(--rv-d, 0ms); }
.rv.is-in { opacity: 1; transform: none; }

/* ------------------------------------------------------------- nav */
.nav { position: fixed; inset: .9rem 0 auto; z-index: 50; padding: 0 var(--gutter); pointer-events: none; }
.nav__bar {
  position: relative; pointer-events: auto; overflow: hidden;
  max-width: var(--wrap); margin: 0 auto; height: 3.6rem; padding: 0 .45rem 0 1.4rem;
  display: flex; align-items: center; gap: 1.25rem;
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--hair); border-radius: 999px; box-shadow: 0 8px 28px -18px rgba(27,27,28,.35);
}
.nav__mark { font: 700 1.125rem/1 var(--display); letter-spacing: .04em; text-decoration: none; white-space: nowrap; }
.nav__links { display: flex; gap: clamp(.9rem, 1.6vw, 1.5rem); margin-left: auto; font-size: .9375rem; }
.nav__links a { text-decoration: none; color: var(--ink); white-space: nowrap; }
.nav__links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav__bar > .btn { margin-left: .25rem; }
.nav__line { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--lime); transform-origin: 0 50%; transform: scaleX(0); animation: navline 2.2s var(--ease) .2s both; }
@keyframes navline {
  0% { transform: scaleX(0); transform-origin: 0 50%; }
  55% { transform: scaleX(1); transform-origin: 0 50%; }
  56% { transform: scaleX(1); transform-origin: 100% 50%; }
  100% { transform: scaleX(0); transform-origin: 100% 50%; }
}
.nav__burger {
  display: none; margin-left: auto; width: 2.6rem; height: 2.6rem; flex: 0 0 auto;
  border: 0; border-radius: 50%; background: var(--paper); cursor: pointer;
  place-items: center; gap: 0;
}
.nav__burger span { display: block; width: 1.1rem; height: 2px; border-radius: 2px; background: var(--ink); position: relative; }
.nav__burger span::before, .nav__burger span::after { content: ""; position: absolute; left: 0; width: 1.1rem; height: 2px; border-radius: 2px; background: var(--ink); transition: transform 200ms var(--ease), top 200ms var(--ease); }
.nav__burger span::before { top: -6px; }
.nav__burger span::after { top: 6px; }

/* mobile menu sheet */
.sheet { position: fixed; inset: 0; z-index: 90; background: var(--white); display: none; flex-direction: column; padding: 1.1rem var(--gutter) 2rem; overflow: auto; }
.sheet.is-open { display: flex; }
.sheet__top { display: flex; align-items: center; justify-content: space-between; height: 3.6rem; }
.sheet__close { width: 2.8rem; height: 2.8rem; border: 1px solid var(--hair-strong); background: var(--white); border-radius: 50%; cursor: pointer; display: grid; place-items: center; font-size: 1.3rem; line-height: 1; }
.sheet__links { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; }
.sheet__links a { display: block; padding: 1.05rem 0; font: 600 1.75rem/1.15 var(--display); text-decoration: none; border-bottom: 1px solid var(--hair); }
.sheet__links a .stop { width: .22em; height: .22em; }
.sheet__cta { margin-top: 2rem; display: grid; gap: 1rem; justify-items: start; }
.sheet .fine { margin-top: auto; padding-top: 2.5rem; }

@media (max-width: 1020px) {
  .nav__links { display: none; }
  .nav__bar > .btn { margin-left: auto; }
  .nav__burger { display: grid; }
  .nav__bar > .btn { order: 2; }
  .nav__burger { order: 3; margin-left: .25rem; }
}
.cta-short { display: none; }
@media (max-width: 560px) {
  .cta-long { display: none; }
  .cta-short { display: inline; }
  .nav__bar { padding-left: 1.1rem; }
}

/* ------------------------------------------------------------ hero */
.hero { position: relative; height: 170vh; }
.hero__stage { position: sticky; top: 0; height: 100vh; min-height: 560px; overflow: hidden; display: grid; align-items: center; }
.hero__sheet { position: absolute; inset: 0; background: var(--lime); clip-path: circle(var(--bloom, 0px) at var(--bx, 50%) var(--by, 50%)); will-change: clip-path; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1fr; align-items: center; padding-top: var(--nav-h); }
.hero__copy { display: grid; gap: 1.4rem; justify-items: start; max-width: 54rem; }
.hero__title { font-size: clamp(2.45rem, 5.8vw, 5rem); line-height: 1.02; letter-spacing: -0.025em; }
.hero__cta { margin-top: .4rem; display: grid; gap: .9rem; justify-items: start; }
.hero .note { max-width: 34rem; }

.hero.is-lime .note, .hero.is-lime .eyebrow { color: var(--ink); }
.hero.is-lime .textlink { text-decoration-color: var(--ink); }

@media (max-width: 720px) {
  /* phones get a plain hero: no sticky scrub, no held screen */
  .hero { height: auto; }
  .hero__stage { position: relative; height: auto; min-height: 0; padding: calc(var(--nav-h) + 3.5rem) 0 3rem; }
  .hero__sheet { display: none; }
}

/* ----------------------------------------------------------- proof */
.proof { padding: clamp(2.5rem, 5vw, 4rem) 0 0; }
.proof__card { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(1.25rem, 3vw, 2.5rem); padding: clamp(1.25rem, 2.4vw, 1.75rem) clamp(1.4rem, 3vw, 2.25rem); background: var(--paper); border-radius: var(--r); }
.proof__line { font: 600 clamp(1rem, 1.4vw, 1.1875rem)/1.45 var(--body); }
.proof__rule { width: 1px; align-self: stretch; background: var(--hair-strong); }
@media (max-width: 720px) {
  .proof__card { grid-template-columns: 1fr; gap: 1rem; }
  .proof__rule { width: auto; height: 1px; align-self: auto; }
}

/* --------------------------------------------------------- problem */
.problem__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.problem__head { position: sticky; top: calc(var(--nav-h) + 2.5rem); display: grid; gap: 1.25rem; }
.deck { display: grid; gap: 1.25rem; }
.deck__card {
  --i: 0;
  position: sticky; top: calc(var(--nav-h) + 2.5rem + var(--i) * 14px);
  min-height: 15rem; padding: clamp(1.5rem, 2.6vw, 2.25rem);
  background: var(--white); border: 1px solid var(--hair-strong); border-radius: var(--r);
  box-shadow: 0 -10px 30px -22px rgba(27,27,28,.35);
}
.deck__card h3 { font-family: var(--body); font-weight: 400; font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.5; letter-spacing: 0; }
.deck__card h3 strong { font-family: var(--display); font-weight: 700; }
.deck__num { font: 300 2.5rem/1 var(--display); margin-bottom: 1rem; display: flex; align-items: baseline; gap: .1rem; }
.deck__num::after { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--lime); }
.problem__close { margin-top: clamp(2.25rem, 4.5vw, 3.5rem); text-align: center; font: 600 clamp(1.4rem, 2.6vw, 2.125rem)/1.25 var(--display); letter-spacing: -0.01em; }
@media (max-width: 720px) {
  .problem__grid { grid-template-columns: 1fr; }
  .problem__head { position: static; }
  .deck__card { position: relative; top: auto; min-height: 0; }
}

/* ------------------------------------------------------- what I do */
.panel { position: relative; border-radius: var(--r-lg); overflow: hidden; }
.panel--mint { background: var(--mint); }
.panel__inner { position: relative; padding: clamp(1.75rem, 4.5vw, 4.5rem); }
.panel--slats { background: transparent; }
.slats { position: absolute; inset: 0; display: grid; grid-template-rows: repeat(8, 1fr); border-radius: inherit; overflow: hidden; }
.slats i { display: block; background: var(--mint); transform-origin: 0 50%; transform: scaleX(0); margin-bottom: -1px; transition: transform 700ms var(--ease); }
.is-in .slats i { transform: scaleX(1); }
.slats i:nth-child(2) { transition-delay: 60ms; } .slats i:nth-child(3) { transition-delay: 120ms; }
.slats i:nth-child(4) { transition-delay: 180ms; } .slats i:nth-child(5) { transition-delay: 240ms; }
.slats i:nth-child(6) { transition-delay: 300ms; } .slats i:nth-child(7) { transition-delay: 360ms; }
.slats i:nth-child(8) { transition-delay: 420ms; }

.do__copy { display: grid; gap: 1.25rem; justify-items: start; max-width: 46rem; }
.do__cards { margin-top: clamp(1.75rem, 3vw, 2.5rem); }
.do__cards .card { border-radius: var(--r-sm); }


/* ------------------------------------------------------ what I fix */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.fix { display: grid; gap: .6rem; align-content: start; }
.icon { display: grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: .75rem; border-radius: 50%; background: var(--white); }
.card--white .icon, .card .icon { background: var(--white); border: 1px solid var(--hair); }
.icon svg { width: 1.35rem; height: 1.35rem; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 720px) { .grid3 { grid-template-columns: 1fr; } }

/* ----------------------------------------------------- how it works */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; counter-reset: step; }
.step { display: grid; align-content: start; gap: .6rem; }
.step__n { font: 300 3.25rem/1 var(--display); margin-bottom: .5rem; display: flex; align-items: baseline; gap: .12rem; }
.step__n::after { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: var(--lime); }
@media (max-width: 1020px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------- about */
.about { overflow: hidden; }
/* PR-25 angled handoff: --af runs 1 (offscreen right) to 0 (full cover).
   The angled edge sweeps across the entire section with scroll, driven
   by site.js, and lands square when the mint has taken the ground. */
.about__field {
  position: absolute; inset: 0; background: var(--mint); will-change: clip-path;
  clip-path: polygon(calc(-30% + var(--af, 1) * 160%) -30%, 200% -30%, 200% 130%, calc(-30% + var(--af, 1) * 180%) 130%);
}
.about__grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about__copy { display: grid; gap: 1.1rem; justify-items: start; }
/* round portrait: the photo cropped to a circle, with a white ring */
.portrait {
  position: relative; margin: 0; width: 100%; max-width: 22rem; justify-self: center;
  display: grid; justify-items: center; gap: 1rem;
}
.portrait__disc {
  display: block; width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  background: var(--paper); border: 6px solid var(--white);
  box-shadow: 0 24px 48px -28px rgba(27,27,28,.35);
}
.portrait__disc img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__field { clip-path: none !important; }
}

/* ------------------------------- FAQ (Lookbook PR-12 / PR-23):
   big question left, answer right, hairline rows; the lime rule on
   the left draws downward with scroll, driven by --fq in site.js. */
.faqlist { position: relative; padding-left: clamp(28px, 4vw, 64px); }
.faqlist__rule { position: absolute; left: 0; top: 0; bottom: 0; width: 6px; border-radius: 3px; background: var(--lime); transform: scaleY(var(--fq, 0)); transform-origin: top; will-change: transform; }
.faqlist dl { margin: 0; }
.faqlist__item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(1.25rem, 4vw, 4rem); padding: clamp(1.5rem, 4vh, 2.5rem) 0; border-top: 1px solid var(--hair); }
.faqlist__item:last-child { border-bottom: 1px solid var(--hair); }
.faqlist__item dt { max-width: 18ch; font-family: var(--display); font-size: clamp(1.375rem, 2.3vw, 2.25rem); line-height: 1.08; letter-spacing: -0.03em; font-weight: 600; text-wrap: balance; }
.faqlist__item dd { margin: 0; max-width: 44ch; font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); line-height: 1.5; color: var(--ink-mid); text-wrap: pretty; }
@media (max-width: 700px) { .faqlist__item { grid-template-columns: 1fr; gap: .6rem; } }

/* ------------------------------------------------------ resources */
.res-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.res { display: grid; gap: 1rem; align-content: start; min-height: 11rem; }
.res .tag { justify-self: start; }
.res .textlink { align-self: end; justify-self: start; }
@media (max-width: 860px) { .res-grid { grid-template-columns: 1fr; } }
.getform { margin-top: clamp(2.5rem, 5vw, 4rem); display: grid; gap: 1.25rem; border-radius: var(--r-lg); padding: clamp(1.75rem, 4vw, 3rem); }
.getform__row { display: flex; gap: .75rem; align-items: end; flex-wrap: wrap; }
.field { display: grid; gap: .4rem; flex: 1 1 18rem; font-weight: 600; font-size: .9375rem; }
.field input, .field textarea { font: 400 1.0625rem/1.5 var(--body); padding: .9rem 1.1rem; border: 1px solid var(--hair-strong); border-radius: 12px; background: var(--white); color: var(--ink); width: 100%; }
.field textarea { resize: vertical; min-height: 5.5rem; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.field.invalid input { border-color: #B3261E; }
.check { display: flex; gap: .65rem; align-items: start; font-weight: 400; font-size: .9375rem; color: var(--ink-mid); }
.check input { width: 1.1rem; height: 1.1rem; margin-top: .2rem; accent-color: var(--ink); flex: 0 0 auto; }
.form-note { font-size: .9375rem; font-weight: 600; min-height: 1.2em; }

/* ----------------------------------------------------------- close */
.close { position: relative; height: 122vh; background: var(--white); }
.close__stage { position: sticky; top: 0; height: 100vh; min-height: 480px; display: grid; align-items: center; overflow: hidden; }
.close__curtain { position: absolute; inset: 0; background: var(--lime); clip-path: inset(0 0 0 0); will-change: clip-path; }
.close__inner { position: relative; display: grid; justify-items: center; text-align: center; gap: 1.5rem; }
.close__inner .body-lg { max-width: 40rem; }
.close__title { font-size: clamp(2.6rem, 7vw, 6rem); font-weight: 900; letter-spacing: -0.03em; line-height: 1; }
.close__mission { display: grid; gap: .4rem; justify-items: center; margin-top: 1rem; }
@media (max-width: 720px) {
  .close { height: auto; background: var(--lime); }
  .close__stage { position: relative; height: auto; min-height: 0; padding: clamp(3.5rem, 12vw, 5rem) 0; }
  .close__curtain { display: none; }
}

/* ------------------------------------- footer (WA-M1 curtain footer):
   the page sits above a fixed footer and lifts away; a rounded bottom
   edge performs the transition, and the footer's contents rise and
   come up to full strength as the curtain opens. */
.page { position: relative; z-index: 1; background: var(--white); }
body.has-curtain-footer .page { border-radius: 0 0 var(--curtain-r) var(--curtain-r); overflow: hidden; overflow: clip; }
.foot { background: var(--mint); padding: clamp(2.5rem, 5vw, 3.75rem) 0 clamp(1.5rem, 3vw, 2.25rem); }
body.has-curtain-footer { background: var(--mint); }
body.has-curtain-footer .foot { position: fixed; left: 0; right: 0; bottom: 0; z-index: 0; }
/* the mint surface continues above the footer's top edge, so the
   space the lifting page reveals is always fully covered */
body.has-curtain-footer .foot:not(.static)::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 60vh; background: var(--mint);
}
body.has-curtain-footer .foot.static { position: relative; }
body.has-curtain-footer .foot__inner {
  transform: translate3d(0, calc((1 - var(--curtain, 1)) * 56px), 0);
  opacity: calc(.15 + var(--curtain, 1) * .85);
}
body.has-curtain-footer .foot.static .foot__inner { transform: none; opacity: 1; }
.foot__inner { display: grid; gap: clamp(1.75rem, 4vh, 3rem); container-type: inline-size; }
.foot__mission { max-width: 30em; padding-top: clamp(1.5rem, 5vh, 3.5rem); font: 600 clamp(1.4rem, 2.5vw, 2.25rem)/1.2 var(--display); letter-spacing: -0.02em; text-wrap: balance; }
.foot__word {
  font: 800 11.4cqi/.8 var(--display); letter-spacing: -0.035em; white-space: nowrap;
  margin: 0 0 0 -.03em; color: var(--ink);
}
.foot__word .stop { width: .16em; height: .16em; margin-left: .04em; background: var(--lime); box-shadow: none; }
/* footer nav: the header's white pill, with every page and larger links */
.foot__nav {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .2rem;
  padding: .45rem; background: rgba(255,255,255,.92); border: 1px solid var(--hair); border-radius: 999px;
  box-shadow: 0 8px 28px -18px rgba(27,27,28,.35);
}
.foot__nav a { padding: .75rem 1.05rem; border-radius: 999px; font-size: 1.0625rem; font-weight: 500; text-decoration: none; white-space: nowrap; transition: background-color 160ms var(--ease); }
.foot__nav a:hover { background: var(--paper); }
.foot__nav a[aria-current="page"] { background: var(--paper); font-weight: 600; }
.foot__social { justify-self: center; display: grid; place-items: center; width: 3rem; height: 3rem; margin-top: -.75rem; border-radius: 50%; color: var(--ink); transition: background-color 160ms var(--ease), color 160ms var(--ease); }
.foot__social:hover { background: rgba(255,255,255,.92); color: #0A66C2; }
.foot__legal { text-align: center; color: var(--ink-mid); }
@media (max-width: 900px) {
  .foot__nav { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--r); padding: .5rem; }
  .foot__nav a { padding: .9rem 1rem; }
}
body.has-curtain-footer .page { box-shadow: 0 30px 60px -30px rgba(27,27,28,.35); }

/* ------------------------------------------------------ inner pages */
.pagehead { padding: calc(var(--nav-h) + clamp(3rem, 7vw, 5.5rem)) 0 clamp(2.5rem, 5vw, 4rem); }
.pagehead__inner { display: grid; gap: 1.25rem; max-width: 52rem; }
.pagehead h1 { font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -0.025em; }
.prose { display: grid; gap: 1.1rem; max-width: 44rem; }
.prose p { font-size: 1.125rem; line-height: 1.65; }

/* ---------------------------------------------------------- modal */
.modal { position: fixed; inset: 0; z-index: 100; display: none; }
.modal.is-open { display: block; }
.modal__scrim { position: absolute; inset: 0; background: rgba(245,245,243,.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.modal__panel {
  position: relative; margin: clamp(.75rem, 3vh, 3rem) auto; width: min(46rem, calc(100% - 1.5rem));
  max-height: calc(100vh - clamp(1.5rem, 6vh, 6rem)); overflow: auto; overscroll-behavior: contain;
  background: var(--white); border-radius: var(--r-lg); padding: clamp(1.5rem, 4vw, 2.75rem);
  display: grid; gap: 1.25rem;
  border: 1px solid var(--hair); box-shadow: 0 40px 80px -40px rgba(27,27,28,.35), 0 2px 6px rgba(27,27,28,.04);
}
.modal__close { position: absolute; right: 1rem; top: 1rem; width: 2.6rem; height: 2.6rem; border: 1px solid var(--hair-strong); background: var(--white); border-radius: 50%; cursor: pointer; display: grid; place-items: center; font-size: 1.25rem; line-height: 1; }
.modal__tabs { display: flex; flex-wrap: wrap; gap: .5rem; }
.modal__tab { padding: .55rem 1.1rem; border-radius: 999px; border: 1px solid var(--hair-strong); background: var(--white); font: 600 .9375rem/1.1 var(--body); cursor: pointer; }
.modal__tab[aria-selected="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.modal__view { display: none; gap: 1.1rem; }
.modal__view.is-active { display: grid; }
.modal h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.qs { display: grid; gap: .9rem; margin: 0; padding: 0; list-style: none; counter-reset: q; }
.qs .field { flex: none; }
.qs .field > span { display: flex; gap: .5rem; }
.qs .field > span::before { counter-increment: q; content: counter(q) "."; font-weight: 600; color: var(--ink-soft); }
.modal .fine a { font-weight: 600; }
.form-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
/* consult questions: one form, shown in the popup and embedded at the
   bottom of every page (site.js copies it into [data-consult-embed]) */
.consult__head { display: grid; gap: .6rem; justify-items: center; text-align: center; }
.consult__head h2, .consult__head h3 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); letter-spacing: -0.02em; }
.consult__head h2::after, .consult__head h3::after { content: ""; display: block; width: 3rem; height: 4px; margin: .8rem auto 0; border-radius: 2px; background: var(--lime); }
.consult__head p { color: var(--ink-soft); max-width: 34rem; }
.consult-form { display: grid; gap: 1.1rem; }
.consult-form .field textarea { min-height: 4.25rem; }
.qs__row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
@media (max-width: 640px) { .qs__row { grid-template-columns: 1fr; } }
.consult__next { display: grid; gap: .45rem; padding: 1rem 1.2rem; border-radius: var(--r-sm); background: var(--paper); }
.consult__next .eyebrow { font-size: .75rem; font-weight: 600; color: var(--ink); }
.consult__next p:not(.eyebrow) { font-size: .9375rem; color: var(--ink-mid); }
.btn--block { width: 100%; }
.consult-form .form-actions { display: block; }
.consult-form .formkit-alert:empty, .consult-form .form-note:empty { display: none; }
.consult-form .formkit-alert { padding: .85rem 1.1rem; border-radius: var(--r-sm); }
.consult-form .formkit-alert-error { color: #8d1b17; background: #fff1ef; list-style: none; }
.consult-form .formkit-alert-success { background: var(--mint); }

/* embedded card: floats on a paper ground at the foot of each page */
.start { background: var(--paper); padding: var(--sec) 0; }
.start__card {
  width: min(44rem, 100%); margin: 0 auto; display: grid; gap: 1.5rem;
  background: var(--white); border-radius: var(--r-lg); padding: clamp(1.5rem, 4vw, 2.75rem);
  border: 1px solid var(--hair); box-shadow: 0 40px 80px -48px rgba(27,27,28,.35), 0 2px 6px rgba(27,27,28,.04);
}
.start__wrap { margin-top: clamp(1.75rem, 3.5vw, 2.5rem); padding: clamp(1.25rem, 3vw, 2.5rem) clamp(.75rem, 3vw, 2.5rem); background: var(--paper); border-radius: var(--r-lg); }
.start__wrap + .actions { margin-top: 1.25rem; }

/* ------------------------------------------- cost of doing it by hand
   A square mint band sits behind the section and widens to the page
   edges as it scrolls in (--cx, tweened by GSAP ScrollTrigger on
   desktop), so the section arrives instead of sitting flat on the white. */
.calc { position: relative; padding: calc(var(--sec) * 1.2) 0; }
.calc > .wrap { position: relative; }
.calc__sheet {
  position: absolute; inset: 0; background: var(--mint);
  clip-path: inset(0 var(--cx, 0px));
  will-change: clip-path;
}
.calc .head { margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem); }
.calc__card {
  display: grid; grid-template-columns: 1.15fr 1fr; align-items: stretch;
  max-width: 60rem; margin: 0 auto; background: var(--white); border-radius: var(--r-lg);
  box-shadow: 0 40px 80px -48px rgba(27,27,28,.3), 0 2px 6px rgba(27,27,28,.04);
}
.calc__inputs { display: grid; gap: clamp(1.6rem, 3vw, 2.2rem); align-content: center; padding: clamp(1.6rem, 4vw, 3rem); }
.calc__field { display: grid; gap: .85rem; }
.calc__label { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-weight: 500; color: var(--ink-mid); }
.calc__label output { font: 700 1.5rem/1 var(--display); color: var(--ink); font-variant-numeric: tabular-nums; min-width: 3.5ch; text-align: right; }
.calc__field input[type=range] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 4px; margin: 0; border-radius: 2px; cursor: pointer; background: transparent;
}
.calc__field input[type=range]::-webkit-slider-runnable-track {
  height: 4px; border-radius: 2px;
  background: linear-gradient(to right, var(--ink) 0 var(--fill, 50%), var(--hair) var(--fill, 50%) 100%);
}
.calc__field input[type=range]::-moz-range-track { height: 4px; border-radius: 2px; background: var(--hair); }
.calc__field input[type=range]::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--ink); }
.calc__field input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9px; border: 0; border-radius: 50%;
  background: var(--lime); box-shadow: 0 1px 2px rgba(27,27,28,.18), 0 4px 12px rgba(27,27,28,.16);
  transition: transform 160ms var(--ease);
}
.calc__field input[type=range]::-moz-range-thumb {
  width: 22px; height: 22px; border: 0; border-radius: 50%;
  background: var(--lime); box-shadow: 0 1px 2px rgba(27,27,28,.18), 0 4px 12px rgba(27,27,28,.16);
}
.calc__field input[type=range]:active::-webkit-slider-thumb { transform: scale(1.15); }
.calc__field input[type=range]:focus-visible { outline: none; }
.calc__field input[type=range]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(200,243,0,.45), 0 4px 12px rgba(27,27,28,.16); }
.calc__result {
  display: grid; gap: .7rem; align-content: center; justify-items: start;
  padding: clamp(1.6rem, 4vw, 3rem); border-left: 1px solid var(--hair);
}
.calc__kicker { font-weight: 500; color: var(--ink-mid); }
.calc__total {
  font: 800 clamp(2.6rem, 5.6vw, 4.25rem)/1 var(--display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums;
  background: linear-gradient(transparent 62%, var(--lime) 62% 92%, transparent 92%); padding: 0 .08em; margin-left: -.08em;
}
.calc__sub { color: var(--ink-mid); max-width: 26ch; }
.calc__result .btn { margin-top: .9rem; }
@media (max-width: 820px) {
  .calc__card { grid-template-columns: 1fr; }
  .calc__result { border-left: 0; border-top: 1px solid var(--hair); }
}

/* ------------------------------------------------ security, ethics, privacy */
.trust__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 1.5rem clamp(2rem, 5vw, 5rem); align-items: start; }
.trust__head { display: grid; gap: 1rem; }
.trust__list { list-style: none; margin: 0; padding: 0; display: grid; }
.trust__item { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; padding: 1.15rem 0; border-top: 1px solid var(--hair); }
.trust__item:last-child { border-bottom: 1px solid var(--hair); }
.trust__item .icon { margin: 0; width: 2.75rem; height: 2.75rem; border: 1px solid var(--hair); background: var(--white); }
.trust__item h3 { font-size: 1.2rem; }
.trust__item p { margin-top: .3rem; color: var(--ink-mid); max-width: 52ch; }
.trust__close { grid-column: 2; font: 600 1.125rem/1.4 var(--display); display: flex; align-items: center; gap: .6rem; }
.trust__close::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 1px rgba(27,27,28,.12); flex: 0 0 auto; }
@media (max-width: 820px) {
  .trust__grid { grid-template-columns: 1fr; }
  .trust__close { grid-column: auto; }
}
.modal__done { display: grid; gap: .75rem; padding: 1.1rem 1.25rem; border-radius: var(--r-sm); background: var(--mint); }

/* ------------------------------------------------------ reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .nav__line { animation: none; }
  .rv { opacity: 1; transform: none; transition: none; }
  .hero, .close { height: auto; }
  .hero__stage, .close__stage { position: relative; height: auto; min-height: 0; padding: calc(var(--nav-h) + 4rem) 0 4rem; }
  .close__stage { padding: 4rem 0; }
  .hero__sheet, .close__curtain { display: none; }
  .close { background: var(--lime); }
  .slats i, .is-in .slats i { transform: scaleX(1); transition: none; }
  .about__field { clip-path: none; }
  .calc__sheet { clip-path: none; }
  body.has-curtain-footer .foot__inner { transform: none; opacity: 1; }
}
