/* =========================================================
   Mea Kaci — Field Guide
   Palette:  Mist #F6F0E6 · Ink #2B1D1A · Sea #B3122B · Sand #F6C9C4
   Type:     Outfit (headings, interface) · Newsreader (reading)
   Motion:   one orchestrated load in the hero; everything else
             answers something the visitor did.
   ========================================================= */

:root {
  --mist: #F6F0E6;
  --paper: #FBF7F1;
  --ink: #2B1D1A;
  --dim: #6B5550;          /* 6.1:1 on mist */
  --sea: #B3122B;          /* 4.9:1 on mist */
  --sea-deep: #8E0E22;
  --sea-wash: #FAE4E0;
  --sand: #F9DFDA;
  --sand-deep: #F2C3BC;
  --sand-wash: #F3E8DC;
  --line: #E6D9CC;
  --line-sand: #E2CFC0;

  --sans: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --read: "Newsreader", Georgia, "Times New Roman", serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.4, .5, 1);

  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 56px);

  /* The sizing standard. Each step names its phone size and its desktop size,
     so the two ends are deliberate instead of whatever a clamp happened to do.
     Nothing on the site should set a font-size outside this scale. */
  --text-body: 1.0625rem;                      /* 17px both ends */
  --text-lead: clamp(1.05rem, 1.4vw, 1.3rem);  /* 17 -> 21 */
  --text-h3:   clamp(1.18rem, 1.6vw, 1.3rem);  /* 19 -> 21 */
  --text-h2:   clamp(1.7rem, 3.9vw, 3.1rem);   /* 27 -> 50 */
  --text-h1:   clamp(2.1rem, 5.6vw, 4.6rem);   /* 34 -> 74 */
  --header-h: 74px;
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 30px;
  --r-xl: 44px;
  --pad-y: clamp(68px, 9vw, 132px);

  --lift: 0 1px 2px rgba(43,29,26,.05), 0 14px 36px -18px rgba(43,29,26,.26);
  --lift-hi: 0 2px 4px rgba(43,29,26,.06), 0 26px 54px -22px rgba(43,29,26,.32);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--text-body);
  font-weight: 300;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
::selection { background: var(--sea); color: var(--mist); }
:focus-visible { outline: 2.5px solid var(--sea); outline-offset: 3px; border-radius: 4px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 10px; z-index: 500;
  background: var(--ink); color: var(--mist); padding: 10px 18px; border-radius: 999px;
  text-decoration: none; font-size: .9rem;
}
.skip-link:focus { left: 14px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */
h1, h2, h3, h4 {
  font-family: var(--sans); font-weight: 500; margin: 0 0 .5em;
  letter-spacing: -.028em; line-height: 1.06; text-wrap: balance;
}
h1 { font-size: var(--text-h1); line-height: 1.02; letter-spacing: -.035em; }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); letter-spacing: -.018em; }

.read {
  font-family: var(--read); font-weight: 300;
  font-size: var(--text-lead); line-height: 1.64;
  color: var(--dim); max-width: 46ch; margin: 0 0 2rem;
}
.read em { font-style: italic; color: var(--ink); }
.small { font-size: .9rem; color: var(--dim); }
.tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .78rem; font-weight: 500; letter-spacing: .01em;
  padding: 6px 13px; border-radius: 999px; background: var(--sea-wash); color: var(--sea-deep);
}
.tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--sea); flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font: inherit; font-weight: 500; font-size: .97rem; line-height: 1.1;
  padding: 1.02em 1.85em; min-height: 52px; border-radius: 999px;
  border: 1.5px solid transparent; text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .3s var(--ease), color .3s var(--ease),
              border-color .3s var(--ease), transform .3s var(--spring), box-shadow .3s var(--ease);
}
.btn:active { transform: translateY(1px) scale(.985); }
.btn-primary { background: var(--sea); color: var(--mist); border-color: var(--sea); }
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--sea-deep); border-color: var(--sea-deep);
  transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgba(142,14,34,.6);
}
.btn-sea { background: var(--sea); color: var(--mist); border-color: var(--sea); }
.btn-sea:hover, .btn-sea:focus-visible {
  background: var(--sea-deep); border-color: var(--sea-deep);
  transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgba(142,14,34,.6);
}
.btn-quiet { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-quiet:hover, .btn-quiet:focus-visible { border-color: var(--ink); transform: translateY(-2px); }
.btn-light { background: var(--mist); color: var(--ink); border-color: var(--mist); }
.btn-light:hover, .btn-light:focus-visible { background: #FBF7F1; border-color: #FBF7F1; transform: translateY(-2px); }
.btn-sm { min-height: 42px; padding: .68em 1.25em; font-size: .87rem; }

.link {
  font-weight: 500; font-size: .97rem; color: var(--sea); text-decoration: none;
  padding-bottom: 3px; box-shadow: inset 0 -1.5px 0 rgba(179,18,43,.32);
  transition: box-shadow .3s var(--ease), color .3s var(--ease);
}
.link:hover, .link:focus-visible { box-shadow: inset 0 -1.5px 0 var(--sea); }

.btns { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(246,240,230,.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: transform .5s var(--ease), box-shadow .4s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; height: var(--header-h); gap: 30px; }
.wordmark {
  font-size: 1.22rem; font-weight: 600; letter-spacing: -.028em;
  text-decoration: none; margin-right: auto; white-space: nowrap;
}
/* the accent now lives in the mark's node, not a full stop */
.main-nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 38px); }
.nav-links { display: flex; gap: clamp(20px, 2.6vw, 38px); list-style: none; margin: 0; padding: 0; }
.nav-links a {
  text-decoration: none; font-size: .95rem; font-weight: 400; color: var(--dim);
  padding: 5px 0; position: relative; transition: color .25s var(--ease);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: var(--sea); transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .4s var(--ease);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-foot { display: none; }
.header-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; padding: 0;
}
.burger { display: grid; gap: 5px; width: 17px; margin: 0 auto; }
.burger i { display: block; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform .4s var(--ease); }
.nav-toggle[aria-expanded="true"] .burger i:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .burger i:last-child { transform: translateY(-3.25px) rotate(-45deg); }

@media (max-width: 920px) {
  .nav-toggle { display: inline-block; }
  /* A backdrop-filter on the header would make it the containing block for the
     fixed nav panel below, collapsing it to the header's own height. Drop the
     glass on small screens so the panel anchors to the viewport instead. */
  .site-header { background: var(--mist); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--mist);
    flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 0; padding: 24px var(--gutter) 10vh; overflow-y: auto;
    visibility: hidden; opacity: 0; transition: opacity .32s var(--ease), visibility 0s .32s;
  }
  .main-nav.is-open { visibility: visible; opacity: 1; transition-delay: 0s; }
  .nav-links { flex-direction: column; gap: 4px; width: 100%; }
  .nav-links a { font-size: 2rem; font-weight: 400; letter-spacing: -.03em; color: var(--ink); padding: 11px 0; }
  .nav-links a::after { display: none; }
  .nav-foot { display: block; margin-top: 36px; font-size: .95rem; color: var(--dim); }
  .nav-foot a { color: var(--sea); text-decoration: none; }
}

/* ---------- Hero ---------- */
.hero-fg { position: relative; padding: clamp(28px, 5vw, 64px) 0 var(--pad-y); overflow: hidden; }
.hero-fg .wrap {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px);
  gap: clamp(34px, 5vw, 76px); align-items: center;
}
.hero-copy, .hero-plate { position: relative; z-index: 1; }
/* soft sand field, centred on the plate rather than floating in the corner */
.hero-plate::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  inset: -22% -20% -18% -20%;
  background: radial-gradient(58% 58% at 50% 46%, var(--sand) 0%, rgba(246,201,196,.62) 52%, rgba(246,201,196,0) 100%);
  border-radius: 50%;
}
.hero-copy h1 { margin-bottom: .34em; }
.hero-copy .read { margin-bottom: 2.2rem; }
.hero-tag { margin: 0 0 22px; }
.hero-note {
  display: flex; align-items: center; gap: 9px;
  margin: 26px 0 0; font-family: var(--read); font-style: italic;
  font-size: .98rem; color: var(--dim);
}
.hero-note svg { width: 17px; height: 17px; stroke: var(--sea); fill: none; stroke-width: 1.6; flex: none; }

/* ---------- Specimen plate (hero graphic) ---------- */
.plate {
  position: relative; background: var(--sand-wash);
  border: 1.5px solid var(--line-sand); border-radius: var(--r-lg);
  padding: 24px 24px 20px; box-shadow: 0 26px 60px -34px rgba(43,29,26,.45);
}
.plate-no {
  position: absolute; top: -13px; left: 22px; z-index: 2;
  background: var(--ink); color: var(--sand-wash);
  font-size: .72rem; font-weight: 500; letter-spacing: .04em;
  padding: 5px 12px; border-radius: 999px;
}
.plate-live {
  position: absolute; top: -14px; right: 20px; z-index: 2;
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--paper); color: var(--sea-deep);
  border: 1.5px solid var(--sea-wash);
  font-size: .76rem; font-weight: 500; padding: 5px 13px; border-radius: 999px;
}
.plate-live i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--sea); flex: none;
}
.plate-face {
  background: var(--paper); border-radius: var(--r);
  padding: 20px 18px 20px; box-shadow: inset 0 0 0 1px rgba(43,29,26,.045);
}
.plate-head { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; }
.plate-head span {
  flex: 1; height: 7px; border-radius: 999px; background: var(--sand);
}
.plate-head span:nth-child(2) { flex: .55; background: var(--sea-wash); }
.plate-head span:nth-child(3) { flex: .3; }

/* week grid */
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; min-height: 196px; }
.week .col { display: grid; grid-auto-rows: 26px; gap: 6px; align-content: start; }
.week b {
  display: block; border-radius: 6px; background: var(--sand);
  grid-row: span var(--rs, 1); transform-origin: 50% 0;
}
.week b.sea { background: var(--sea); }
.week b.wash { background: var(--sea-wash); }
.week b.sand { background: var(--sand-deep); }

.plate-foot {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px; margin: 16px 2px 0;
}
.plate-cap { font-family: var(--read); font-style: italic; font-size: .95rem; color: var(--dim); margin: 0; }
.plate-pct { font-size: .82rem; font-weight: 500; color: var(--sea-deep); white-space: nowrap; }

/* ---------- Section furniture ---------- */
.section { padding: var(--pad-y) 0; }
.section-head { max-width: 30ch; margin: 0 0 clamp(32px, 4vw, 54px); }
.section-head h2 { margin-bottom: .3em; }
.section-head p { font-family: var(--read); font-weight: 300; color: var(--dim); font-size: 1.1rem; margin: 0; }

/* ---------- Three doors ---------- */
.doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.door {
  display: flex; flex-direction: column; gap: 10px;
  background: var(--paper); border-radius: var(--r-lg); padding: 28px 26px 26px;
  text-decoration: none; color: inherit; box-shadow: var(--lift);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.door:hover, .door:focus-visible { transform: translateY(-5px); box-shadow: var(--lift-hi); }
.door.is-sea { background: var(--sea); color: var(--mist); }
.door-ico {
  width: 46px; height: 46px; border-radius: 15px; background: var(--sand-wash);
  display: grid; place-items: center; margin-bottom: 8px;
}
.door.is-sea .door-ico { background: rgba(251,247,241,.17); }
.door-ico svg { width: 23px; height: 23px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.door.is-sea .door-ico svg { stroke: #FBF7F1; }
.door h3 { margin: 0; }
.door p { margin: 0; font-size: .97rem; color: var(--dim); line-height: 1.5; }
.door.is-sea p { color: rgba(246,240,230,.84); }
.door-go {
  margin-top: auto; padding-top: 16px; font-size: .9rem; font-weight: 500;
  display: inline-flex; align-items: center; gap: 8px; color: var(--sea);
}
.door.is-sea .door-go { color: var(--mist); }
.door-go svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.door:hover .door-go svg { transform: translateX(5px); }

/* icon motion on hover */
.door .ico-spark { transform-origin: 12px 12px; transition: transform .5s var(--spring); }
.door:hover .ico-spark { transform: rotate(90deg); }
.door .ico-pulse { transition: transform .45s var(--spring); transform-origin: 50% 50%; }
.door:hover .ico-pulse { transform: scale(1.18); }
.door .ico-tick { stroke-dasharray: 22; stroke-dashoffset: 0; transition: stroke-dashoffset .5s var(--ease); }
.door:hover .ico-tick { stroke-dashoffset: 22; animation: tick-draw .5s var(--ease) forwards; }
@keyframes tick-draw { from { stroke-dashoffset: 22; } to { stroke-dashoffset: 0; } }

/* ---------- Blueprint band ---------- */
.band {
  background: var(--sand); border-radius: var(--r-xl);
  padding: clamp(32px, 4.6vw, 62px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: clamp(30px, 4vw, 64px); align-items: center;
}
.band h2 { margin-bottom: .28em; }
.band .read { color: #5E4A44; max-width: 34ch; margin-bottom: 1.7rem; }
.band-note { font-size: .88rem; color: #6B5550; margin: 18px 0 0; }

/* six-step path */
.steps { position: relative; }
.steps svg { width: 100%; height: auto; display: block; overflow: visible; }
.steps .track { fill: none; stroke: var(--line-sand); stroke-width: 2; }
.steps .draw {
  fill: none; stroke: var(--sea); stroke-width: 2.5; stroke-linecap: round;
  stroke-dasharray: var(--len, 900); stroke-dashoffset: var(--len, 900);
}
.steps.is-in .draw { animation: path-draw 1.9s var(--ease) forwards; }
@keyframes path-draw { to { stroke-dashoffset: 0; } }
.steps .node { fill: var(--sand-wash); stroke: var(--line-sand); stroke-width: 2; }
.steps .node-on { fill: var(--sea); stroke: none; opacity: 0; }
.steps.is-in .node-on { animation: node-pop .5s var(--spring) forwards; animation-delay: calc(var(--n) * 290ms + 180ms); }
@keyframes node-pop { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: scale(1); } }
.steps .label { font-family: var(--sans); font-size: 13px; font-weight: 500; fill: #6B5550; opacity: 0; }
.steps.is-in .label { animation: label-in .5s var(--ease) forwards; animation-delay: calc(var(--n) * 290ms + 300ms); }
@keyframes label-in { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Specimen plates row ---------- */
/* auto-fit so the row stays right whether there are two builds or four. */
.specimens { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.spec {
  background: var(--paper); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--lift); transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.spec:hover { transform: translateY(-5px); box-shadow: var(--lift-hi); }
.spec-art {
  background: var(--sand-wash); border-bottom: 1px solid var(--line-sand);
  padding: 26px 24px; display: grid; place-items: center;
}
.spec-art svg { width: 100%; height: auto; max-width: 230px; display: block; overflow: visible; }
.spec-art .s-line { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.spec-art .s-fill { fill: var(--sand); }
.spec-art .s-sea { fill: var(--sea); }
.spec-art .s-sea-line { fill: none; stroke: var(--sea); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.spec-body { padding: 20px 24px 24px; }
.spec-body h3 { margin: 0 0 5px; font-size: 1.16rem; }
.spec-body p { margin: 0; font-size: .94rem; color: var(--dim); line-height: 1.5; }
.spec-kicker { font-size: .76rem; font-weight: 500; color: var(--sea); margin: 0 0 8px; }

/* art motion answers hover */
.spec .drift { transform-box: fill-box; transform-origin: 50% 50%; transition: transform .55s var(--ease); }
.spec:hover .drift { transform: translateY(-5px); }
.spec .flow { stroke-dasharray: 230; stroke-dashoffset: 0; }
.spec:hover .flow { animation: flow-draw 1.5s var(--ease); }
@keyframes flow-draw { from { stroke-dashoffset: 230; } to { stroke-dashoffset: 0; } }
.spec .wave-bar { transform-box: fill-box; transform-origin: 50% 50%; }
.spec:hover .wave-bar { animation: wave 1.1s var(--ease) infinite alternate; }
.spec:hover .wave-bar:nth-child(2) { animation-delay: .12s; }
.spec:hover .wave-bar:nth-child(3) { animation-delay: .24s; }
.spec:hover .wave-bar:nth-child(4) { animation-delay: .36s; }
@keyframes wave { to { transform: scaleY(1.9); } }

/* ---------- Meet strip ---------- */
.meet {
  display: grid; grid-template-columns: 136px minmax(0, 1fr); gap: clamp(24px, 3.4vw, 48px);
  align-items: center; max-width: 820px;
}
.portrait {
  width: 136px; height: 136px; border-radius: 50%; overflow: hidden;
  background: var(--sand); display: grid; place-items: center; position: relative;
  box-shadow: 0 0 0 1.5px var(--line-sand), 0 18px 38px -20px rgba(43,29,26,.4);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait .initials {
  font-size: 2.3rem; font-weight: 400; letter-spacing: -.04em; color: #9C6B62;
}
.meet p { font-family: var(--read); font-size: clamp(1.1rem, 1.6vw, 1.32rem); line-height: 1.6; color: var(--ink); margin: 0 0 .7em; }
.meet p:last-of-type { color: var(--dim); }
.meet .link { font-family: var(--sans); }

/* ---------- Sign-up band ---------- */
.signup-band {
  background: var(--sea); color: var(--mist); border-radius: var(--r-xl);
  padding: clamp(34px, 4.6vw, 64px); position: relative; overflow: hidden;
}
.signup-band::after {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  right: -130px; bottom: -220px; background: rgba(251,247,241,.06); pointer-events: none;
}
.signup-inner { position: relative; z-index: 1; max-width: 560px; }
.signup-band h2 { color: var(--mist); margin-bottom: .3em; }
.signup-band .read { color: rgba(246,240,230,.86); max-width: 38ch; margin-bottom: 1.6rem; }

.signup-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; }
.signup-form .field { flex: 1 1 250px; }
.signup-form input[type="email"] {
  width: 100%; font: inherit; font-size: 1rem; font-weight: 300;
  padding: .95em 1.3em; min-height: 52px;
  border-radius: 999px; border: 1.5px solid rgba(251,247,241,.4);
  background: rgba(251,247,241,.1); color: var(--mist);
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.signup-form input[type="email"]::placeholder { color: rgba(246,240,230,.62); }
.signup-form input[type="email"]:focus {
  outline: none; border-color: #FBF7F1; background: rgba(251,247,241,.18);
}
.signup-form input[aria-invalid="true"] { border-color: #FFD9CE; }
.signup-form :focus-visible { outline-color: #FBF7F1; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { flex: 1 0 100%; margin: 4px 2px 0; font-size: .9rem; color: rgba(246,240,230,.88); }
.form-msg.err { color: #FFD9CE; }
.form-msg a { color: var(--mist); }
.form-fine { margin: 14px 0 0; font-size: .86rem; color: rgba(246,240,230,.7); }

.signup-success {
  display: none; max-width: 46ch; font-size: 1.02rem; color: var(--mist);
}
.signup-success p { margin: 0 0 .7em; }
.signup-success a { color: var(--mist); }
.signup-form.is-done .signup-hide { display: none; }
.signup-form.is-done .signup-success { display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--mist); padding: clamp(54px, 6vw, 88px) 0 32px; }
.footer-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: clamp(28px, 4vw, 70px);
  align-items: start; padding-bottom: clamp(40px, 5vw, 70px);
}
.footer-grid h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); color: var(--mist); margin: 0 0 20px; max-width: 16ch; }
.footer-col h3 { font-size: .8rem; font-weight: 500; letter-spacing: .06em; text-transform: none; color: #B8A69C; margin: 0 0 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-col a { color: #E9DED3; text-decoration: none; font-size: .96rem; transition: color .25s var(--ease); }
.footer-col a:hover { color: var(--mist); }
.footer-mark {
  font-size: clamp(3.4rem, 13vw, 9.5rem); font-weight: 400; letter-spacing: -.05em;
  line-height: .9; margin: 0; color: #3E2C28; user-select: none;
}
.footer-mark span { color: #4E3A35; }
.footer-base {
  display: flex; flex-wrap: wrap; gap: 14px 26px; justify-content: space-between;
  border-top: 1px solid #3E2C28; margin-top: 30px; padding-top: 22px;
  font-size: .86rem; color: #B8A69C;
}
.footer-base a { color: #B8A69C; text-decoration: none; }
.footer-base a:hover { color: var(--mist); }

/* =========================================================
   Motion — one orchestrated load, then nothing uninvited
   ========================================================= */
.js .lift-in { opacity: 0; transform: translateY(18px); }
.js.is-ready .lift-in {
  animation: lift 1s var(--ease) forwards;
  animation-delay: var(--d, 0ms);
}
@keyframes lift { to { opacity: 1; transform: none; } }

.js .plate-in { opacity: 0; transform: translateY(26px) scale(.965); }
.js.is-ready .plate-in { animation: plate 1.1s var(--ease) .1s forwards; }
@keyframes plate { to { opacity: 1; transform: none; } }

.js .pop-in { opacity: 0; transform: scale(.7); }
.js.is-ready .pop-in { animation: pop .6s var(--spring) forwards; animation-delay: var(--d, 0ms); }
@keyframes pop { to { opacity: 1; transform: none; } }

/* week blocks settle into the plate */
.js .week b { opacity: 0; transform: scaleY(.1); }
.js.is-ready .week b {
  animation: settle .62s var(--spring) forwards;
  animation-delay: calc(760ms + var(--i) * 52ms);
}
@keyframes settle { to { opacity: 1; transform: none; } }

/* the one ambient motion on the page: the plate breathes very slowly */
.js.is-ready .hero-plate::before { animation: drift 26s ease-in-out infinite alternate; }
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-2.5%, 2.5%, 0) scale(1.07); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  .js .lift-in, .js .plate-in, .js .pop-in, .js .week b { opacity: 1; transform: none; }
  .steps .draw { stroke-dashoffset: 0; }
  .steps .node-on, .steps .label { opacity: 1; }
}
.reduce .lift-in, .reduce .plate-in, .reduce .pop-in, .reduce .week b { opacity: 1 !important; transform: none !important; }
.reduce .steps .draw { stroke-dashoffset: 0; }
.reduce .steps .node-on, .reduce .steps .label { opacity: 1; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  .hero-fg .wrap { grid-template-columns: 1fr; gap: 44px; }
  .hero-copy .read { max-width: 52ch; }
  .hero-plate { max-width: 500px; }
  .band { grid-template-columns: 1fr; }
  .doors, .specimens { grid-template-columns: 1fr 1fr; }
  .doors .door:last-child { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > h2 { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .doors, .specimens { grid-template-columns: 1fr; }
  .doors .door:last-child { grid-column: auto; }
  .meet { grid-template-columns: 1fr; text-align: left; }
  .portrait { width: 104px; height: 104px; }
  .signup-form .field { flex: 1 1 100%; }
  .signup-form .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-base { flex-direction: column; gap: 8px; }
}

/* =========================================================
   SITE-WIDE LAYER
   Everything below styles the shared components used by the
   inner pages. Class names are kept exactly as the existing
   markup and main.js expect them; only the look changes.
   ========================================================= */

:root {
  --ink-raise: #3B2A26;
  --ink-line: #4C3833;
  --on-dark-dim: #D3C4BB;   /* 8:1 on ink */
  --sea-light: #F6C9C4;     /* accent on ink only */
  --warn: #B4532F;
  --ok: #1F7A4D;             /* 4.8:1 with mist: the "sent" state */
  --ok-light: #7FDDAE;       /* the same state on sea-green and dark bands */
}

/* ---------- Shared text ---------- */
.lead {
  font-family: var(--read); font-weight: 300;
  font-size: var(--text-lead); line-height: 1.64;
  color: var(--dim); max-width: 46ch; margin: 0 0 2rem;
}
.fine { font-size: .88rem; color: var(--dim); }
.center { text-align: center; }
.center .lead, .center .read { margin-left: auto; margin-right: auto; }
.display { font-size: clamp(2.2rem, 4.4vw, 3.4rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.05; }
.display-xl { font-size: clamp(2.6rem, 6vw, 4.8rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.02; }

/* the old design accented one word in burgundy italic; here it is simply
   the accent colour, and the marker scribble underneath is retired */
.hl { color: var(--sea); font-style: normal; }
.mark::after { display: none !important; }
.hand { font-family: var(--read); font-style: italic; font-size: 1.05rem; color: var(--dim); margin: 0; }

/* a quiet label, not a tracked-out all-caps eyebrow */
.eyebrow {
  display: block; font-size: .85rem; font-weight: 500; letter-spacing: 0;
  text-transform: none; color: var(--sea); margin: 0 0 14px;
}
.eyebrow::before { display: none; }

.badge {
  display: inline-block; font-size: .76rem; font-weight: 500; letter-spacing: 0;
  text-transform: none; padding: 5px 12px; border-radius: 999px; line-height: 1.3;
  background: var(--sea-wash); color: var(--sea-deep); border: 0; white-space: nowrap;
}
.badge-solid { background: var(--sea); color: var(--mist); }

.chips { list-style: none; margin: 22px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 9px; }
.chips li {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px;
  border: 1px solid var(--line); background: var(--paper); border-radius: 999px;
  font-size: .92rem; color: var(--dim);
}
.chips li .ico { color: var(--sea); }
.chips li b { font-weight: 500; color: var(--ink); }
svg.ico { width: 1.2em; height: 1.2em; flex: none; }

.text-link, .linklike {
  font-weight: 500; color: var(--sea); text-decoration: none; padding-bottom: 3px;
  box-shadow: inset 0 -1.5px 0 rgba(179,18,43,.32);
  transition: box-shadow .3s var(--ease);
  background: none; border: 0; font-family: inherit; font-size: inherit; cursor: pointer;
}
.text-link:hover, .linklike:hover { box-shadow: inset 0 -1.5px 0 var(--sea); }

.big-quote, .pull {
  font-family: var(--read); font-weight: 300; font-style: italic;
  font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.4; color: var(--ink);
  max-width: 24ch; margin: 0;
}

/* ---------- Button variants used by inner pages ---------- */
.btn-accent { background: var(--sea); color: var(--mist); border-color: var(--sea); }
.btn-accent:hover, .btn-accent:focus-visible {
  background: var(--sea-deep); border-color: var(--sea-deep);
  transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgba(142,14,34,.6);
}
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover, .btn-ghost:focus-visible { border-color: var(--ink); transform: translateY(-2px); }
.btn-lg { min-height: 56px; padding: 1.1em 2em; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 13px; align-items: center; margin-top: 30px; }
.btn .arrow { transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Dark surfaces ---------- */
.on-dark { color: var(--mist); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: var(--mist); }
.on-dark .lead, .on-dark .read, .on-dark p { color: var(--on-dark-dim); }
.on-dark .fine { color: var(--on-dark-dim); }
.on-dark .hl { color: var(--sea-light); }
.on-dark .eyebrow { color: var(--sea-light); }
.on-dark .hand { color: var(--on-dark-dim); }
.on-dark .big-quote, .on-dark .pull { color: var(--mist); }
.on-dark .badge { background: rgba(246,201,196,.16); color: var(--sea-light); }
.on-dark .text-link, .on-dark .linklike { color: var(--sea-light); box-shadow: inset 0 -1.5px 0 rgba(246,201,196,.4); }
.on-dark .text-link:hover { box-shadow: inset 0 -1.5px 0 var(--sea-light); }
.on-dark .chips li { background: var(--ink-raise); border-color: var(--ink-line); color: var(--on-dark-dim); }
.on-dark .chips li b { color: var(--mist); }
.on-dark .chips li .ico { color: var(--sea-light); }
.on-dark .btn-primary { background: var(--mist); color: var(--ink); border-color: var(--mist); }
.on-dark .btn-primary:hover, .on-dark .btn-primary:focus-visible { background: #FBF7F1; border-color: #FBF7F1; color: var(--ink); }
.on-dark .btn-ghost { border-color: rgba(246,240,230,.34); color: var(--mist); }
.on-dark .btn-ghost:hover, .on-dark .btn-ghost:focus-visible { border-color: var(--mist); background: rgba(246,240,230,.08); }
.on-dark :focus-visible { outline-color: var(--sea-light); }

/* ---------- Sections ---------- */
.section { padding: var(--pad-y) 0; }
.section-tight { padding: clamp(40px, 5vw, 70px) 0; }
.section-paper { background: var(--paper); }
.section-navy { background: var(--ink); }
/* .final-cta does not own a background: it is a layout inside whatever
   section it sits in (paper on blueprint.html, mist on journey.html).
   It had been swept into this rule, which painted it ink and left the
   heading ink-on-ink, invisible. */
.cta-section { background: var(--ink); }

/* With a book, the two sit side by side. Without one (journey.html, whose
   .big-hand accent is hidden in this design) it stays a single column, so
   the modifier is on the markup rather than assumed here. */
.final-cta h2 { margin-top: 0; }
.final-cta .signup { margin-top: 26px; }
.final-cta.with-book {
  display: grid; grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(30px, 5vw, 76px); align-items: center;
}
.final-cta.with-book > .book { width: clamp(130px, 19vw, 186px); transform: rotate(-4deg); }
@media (max-width: 760px) {
  .final-cta.with-book { grid-template-columns: 1fr; gap: 28px; justify-items: start; }
  .final-cta.with-book > .book { width: clamp(118px, 32vw, 158px); }
}
.split-head { max-width: 34ch; margin: 0 0 clamp(30px, 4vw, 52px); }
.split-head h2 { margin-bottom: .3em; }
.split-head p { font-family: var(--read); color: var(--dim); font-size: 1.08rem; margin: 0 0 14px; }
.on-dark .split-head p { color: var(--on-dark-dim); }

/* ---------- Page head ---------- */
.page-head { padding: clamp(42px, 6vw, 86px) 0 clamp(38px, 5vw, 66px); }
.page-head h1 { margin-bottom: .3em; }
.page-head.on-dark { background: var(--ink); }
.page-head-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: clamp(28px, 4vw, 60px); align-items: center; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; font-size: .88rem; color: var(--dim); }
.crumbs a { color: var(--sea); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.on-dark .crumbs { color: var(--on-dark-dim); }
.on-dark .crumbs a { color: var(--sea-light); }

/* ---------- Resource sheets ---------- */
.sheets { display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 16px; }
.sheet {
  display: flex; flex-direction: column; gap: 9px;
  background: var(--paper); border-radius: var(--r-lg); padding: 24px 22px 22px;
  box-shadow: var(--lift); transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.sheet:hover { transform: translateY(-4px); box-shadow: var(--lift-hi); }
.sheet.on-dark, .sheet.is-flagship { background: var(--ink); }
.sheet-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.sheet-ico {
  width: 42px; height: 42px; border-radius: 13px; background: var(--sand-wash);
  display: grid; place-items: center; color: var(--ink); flex: none;
}
.sheet-ico .ico { width: 20px; height: 20px; }
.on-dark .sheet-ico { background: var(--ink-raise); color: var(--sea-light); }
.sheet h3 { font-size: 1.14rem; margin: 0; }
.sheet h3 a { text-decoration: none; }
.sheet h3 a:hover { color: var(--sea); }
.sheet.on-dark h3 a:hover { color: var(--sea-light); }
.sheet p { margin: 0; font-size: .95rem; color: var(--dim); line-height: 1.5; }
.sheet-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 18px; }
.sheet-format { font-size: .82rem; color: var(--dim); }
.on-dark .sheet-format { color: var(--on-dark-dim); }
.tag-price { font-size: .78rem; font-weight: 500; padding: 5px 12px; border-radius: 999px; background: var(--sea-wash); color: var(--sea-deep); white-space: nowrap; }
.tag-price.free { background: var(--sea); color: var(--mist); }
.on-dark .tag-price { background: rgba(246,201,196,.18); color: var(--sea-light); }
.sheets-empty { padding: 40px 0; color: var(--dim); font-family: var(--read); font-style: italic; }

/* ---------- Filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 22px; margin: 0 0 30px; }
.center-filters { justify-content: center; }
.filter-group { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font: inherit; font-size: .88rem; font-weight: 400; cursor: pointer;
  padding: 8px 16px; min-height: 38px; border-radius: 999px;
  border: 1px solid var(--line); background: transparent; color: var(--dim);
  transition: border-color .25s var(--ease), color .25s var(--ease), background-color .25s var(--ease);
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--mist); }

/* ---------- Service cards ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 16px; }
.svc-card {
  background: var(--paper); border-radius: var(--r-lg); padding: 30px 28px;
  box-shadow: var(--lift); display: flex; flex-direction: column; gap: 10px;
}
.svc-card.is-wide { grid-column: span 2; }
.svc-card.is-dark, .svc-card.on-dark { background: var(--ink); }
.svc-ico { width: 46px; height: 46px; border-radius: 15px; background: var(--sand-wash); display: grid; place-items: center; margin-bottom: 8px; color: var(--ink); }
.svc-card.on-dark .svc-ico, .svc-card.is-dark .svc-ico { background: var(--ink-raise); color: var(--sea-light); }
.svc-ico .ico { width: 22px; height: 22px; }
.svc-card h3 { margin: 0; font-size: 1.28rem; }
.svc-card p { margin: 0; color: var(--dim); font-size: .98rem; }
.svc-for { font-size: .85rem; color: var(--sea); font-weight: 500; }
.svc-card.on-dark .svc-for, .svc-card.is-dark .svc-for { color: var(--sea-light); }
.svc-tile { background: var(--paper); border-radius: var(--r); padding: 22px; box-shadow: var(--lift); }

/* ---------- Work cards ---------- */
.work-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 16px; }
.work-card { background: var(--paper); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--lift); }
.work-card.is-placeholder { background: transparent; box-shadow: none; border: 1.5px dashed var(--line); }
.work-body { padding: 22px 24px 24px; }
.work-kind { font-size: .82rem; color: var(--sea); font-weight: 500; margin-bottom: 7px; }
.work-card h3 { font-size: 1.16rem; margin: 0 0 6px; }
.work-card p { margin: 0; font-size: .95rem; color: var(--dim); }
.work-tags { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; margin: 14px 0 0; padding: 0; }
.work-tags li { font-size: .78rem; padding: 4px 11px; border-radius: 999px; background: var(--sand-wash); color: var(--dim); }
.work-slot { display: grid; place-items: center; min-height: 150px; padding: 26px; text-align: center; color: var(--dim); font-family: var(--read); font-style: italic; }

/* ---------- Journey timeline ---------- */
.tl { list-style: none; margin: 0; padding: 0 0 0 26px; position: relative; }
.tl::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1.5px; background: var(--line); }
.tl-item { position: relative; margin: 0 0 16px; }
.tl-dot { position: absolute; left: -26px; top: 26px; width: 11px; height: 11px; border-radius: 50%; background: var(--line); border: 2.5px solid var(--mist); }
.tl-item.is-now .tl-dot { background: var(--sea); box-shadow: 0 0 0 4px var(--sea-wash); }
.tl-card { background: var(--paper); border-radius: var(--r); padding: 20px 22px; box-shadow: var(--lift); }
.tl-meta { display: flex; flex-wrap: wrap; gap: 10px 16px; justify-content: space-between; margin-bottom: 8px; }
.tl-type { font-size: .82rem; color: var(--sea); font-weight: 500; }
.tl-day { font-size: .82rem; color: var(--dim); }
.tl-card h3 { font-size: 1.14rem; margin: 0 0 5px; }
.tl-card p { margin: 0; font-size: .95rem; color: var(--dim); }
.tl-card summary { cursor: pointer; font-size: .9rem; color: var(--sea); font-weight: 500; margin-top: 12px; }
.jstats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.jstats > div { background: var(--paper); border-radius: var(--r); padding: 22px; box-shadow: var(--lift); }
.on-dark .jstats > div { background: var(--ink-raise); box-shadow: none; }
.jstats b, .count { display: block; font-size: 2.2rem; font-weight: 500; letter-spacing: -.03em; line-height: 1; margin-bottom: 5px; }
.jstats span { font-size: .9rem; color: var(--dim); }
.on-dark .jstats span { color: var(--on-dark-dim); }
.ring {
  width: 86px; height: 86px; border-radius: 50%; display: grid; place-items: center; font-weight: 500;
  background: conic-gradient(var(--sea) calc(var(--p, 0) * 1%), var(--line) 0);
  position: relative;
}
.ring::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--mist); }
.ring > * { position: relative; z-index: 1; }
.on-dark .ring::after { background: var(--ink); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 760px; }
.faq-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(26px, 4vw, 56px); align-items: start; }
.faq details { background: var(--paper); border-radius: var(--r); padding: 4px 22px; box-shadow: var(--lift); }
.on-dark .faq details { background: var(--ink-raise); box-shadow: none; }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 0; font-weight: 500; font-size: 1.04rem;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 11px; height: 11px; flex: none;
  border-right: 1.6px solid var(--sea); border-bottom: 1.6px solid var(--sea);
  transform: rotate(45deg) translate(-3px, -3px); transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq details p { margin: 0 0 18px; color: var(--dim); font-size: .98rem; max-width: 62ch; }
.on-dark .faq details p { color: var(--on-dark-dim); }

/* ---------- Forms ---------- */
.signup { max-width: 540px; }
.signup-fields { display: flex; flex-wrap: wrap; gap: 10px; }
.signup-fields input { flex: 1 1 190px; }
.signup input, .form-card input, .form-card textarea, .form-card select {
  width: 100%; font: inherit; font-size: 1rem; font-weight: 300;
  padding: .9em 1.25em; min-height: 52px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--paper); color: var(--ink);
  transition: border-color .25s var(--ease);
}
.form-card textarea { border-radius: var(--r); min-height: 150px; resize: vertical; }
.signup input:focus, .form-card input:focus, .form-card textarea:focus, .form-card select:focus { outline: none; border-color: var(--sea); }
.signup input[aria-invalid="true"], .form-card [aria-invalid="true"] { border-color: var(--warn); }
.signup input::placeholder, .form-card ::placeholder { color: #8F7A72; }
.signup-fields .btn { flex: 0 0 auto; }
.on-dark .signup input { background: var(--ink-raise); border-color: var(--ink-line); color: var(--mist); }
.on-dark .signup input::placeholder { color: #A89389; }
.on-dark .signup input:focus { border-color: var(--sea-light); }
.signup-note, .form-status { margin: 14px 0 0; font-size: .86rem; color: var(--dim); }
.on-dark .signup-note, .on-dark .form-status { color: var(--on-dark-dim); }
.signup-note a { color: var(--sea); }
.on-dark .signup-note a { color: var(--sea-light); }
.signup .form-msg { margin: 12px 2px 0; font-size: .9rem; color: var(--dim); }
.signup .form-msg.err { color: var(--warn); }
.on-dark .signup .form-msg { color: var(--on-dark-dim); }
.on-dark .signup .form-msg.err { color: #FFB49A; }
.signup.is-done .signup-fields, .signup.is-done .signup-note, .signup.is-done .form-msg { display: none; }
.signup .signup-success { display: none; }
.signup.is-done .signup-success { display: block; }
.on-dark .signup .signup-success { color: var(--mist); }
.form-card { background: var(--paper); border-radius: var(--r-lg); padding: clamp(24px, 3.4vw, 40px); box-shadow: var(--lift); }
.form-card label { display: block; font-size: .9rem; font-weight: 500; margin: 0 0 7px; }
.field-row { display: grid; gap: 16px; margin-bottom: 16px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(28px, 4vw, 58px); align-items: start; }

/* ---------- Tool and spec lists ---------- */
.tool { background: var(--paper); border-radius: var(--r); padding: 20px 22px; box-shadow: var(--lift); font-size: .97rem; }
/* .mini-table: a decorative stub in the automation walkthrough (three empty
   spans). It has no size in this design system and renders as nothing; left
   unstyled rather than invented. */

/* ---------- Listed content ---------- */
.process, .road, .ways, .chapters, .inside { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.process { counter-reset: step; }
.process li { counter-increment: step; background: var(--paper); border-radius: var(--r); padding: 22px 24px 22px 66px; position: relative; box-shadow: var(--lift); }
.process li::before {
  content: counter(step); position: absolute; left: 22px; top: 22px;
  width: 28px; height: 28px; border-radius: 50%; background: var(--sea); color: var(--mist);
  display: grid; place-items: center; font-size: .86rem; font-weight: 500;
}
.on-dark .process li { background: var(--ink-raise); box-shadow: none; }
.process li h3, .road li h3, .ways li h3 { font-size: 1.1rem; margin: 0 0 5px; }
.process li p, .road li p, .ways li p { margin: 0; color: var(--dim); font-size: .95rem; }
.on-dark .process li p { color: var(--on-dark-dim); }
.road li, .ways li, .chapters li, .inside li { background: var(--paper); border-radius: var(--r); padding: 18px 22px; box-shadow: var(--lift); }
.on-dark .road li, .on-dark .ways li, .on-dark .chapters li, .on-dark .inside li { background: var(--ink-raise); box-shadow: none; }
.inside li, .chapters li { display: flex; gap: 14px; align-items: baseline; }
.ch-n, .v-n { color: var(--sea); font-weight: 500; flex: none; font-size: .9rem; }
.on-dark .ch-n, .on-dark .v-n { color: var(--sea-light); }
.values, .who, .honest, .fit, .benefit-tiles, .nd-tiles {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0;
}
.values > div, .who > div, .honest > div, .fit > div, .benefit-tiles > div, .nd-tiles > div {
  background: var(--paper); border-radius: var(--r-lg); padding: 26px 24px; box-shadow: var(--lift);
}
.on-dark .values > div, .on-dark .who > div, .on-dark .honest > div, .on-dark .fit > div, .on-dark .benefit-tiles > div {
  background: var(--ink-raise); box-shadow: none;
}
.values h3, .who h3, .honest h3, .fit h3, .benefit-tiles h3 { font-size: 1.1rem; margin: 0 0 7px; }
.values p, .who p, .honest p, .fit p, .benefit-tiles p { margin: 0; color: var(--dim); font-size: .95rem; }
.on-dark .values p, .on-dark .who p, .on-dark .honest p, .on-dark .fit p, .on-dark .benefit-tiles p { color: var(--on-dark-dim); }
.step-chips, .float-chips { display: flex; flex-wrap: wrap; gap: 9px; list-style: none; margin: 22px 0; padding: 0; }
.step-chips li, .float-chips li { padding: 8px 15px; border-radius: 999px; background: var(--sand-wash); font-size: .9rem; color: var(--dim); }
.on-dark .step-chips li, .on-dark .float-chips li { background: var(--ink-raise); color: var(--on-dark-dim); }

/* ---------- CTA bands ---------- */
.cta-band h2, .final-cta h2, .statement h2 { max-width: 20ch; }
.cta-band .btn-row, .final-cta .btn-row { margin-top: 26px; }

/* ---------- Book covers ----------
   A guide is a physical thing: a spine, a paper face that catches light, a
   title block at the top and a colophon at the foot. The old version spread
   three groups across the full height with space-between, which left the
   blurb rules floating in the middle of nowhere. */
/* Three 150px covers plus gaps came to 478px, which is wider than a phone and
   could not shrink, so the page sat on a canvas wider than the screen. The
   clamps keep the desktop sizes and let the covers scale down on small screens. */
.fan, .head-fan {
  display: flex; gap: clamp(6px, 2vw, 14px);
  align-items: center; justify-content: center; max-width: 100%;
}
.book { flex: none; width: clamp(78px, 25vw, 150px); }
.book.is-mini { width: clamp(62px, 18vw, 92px); }
.book.is-lg, .book.is-xl { width: clamp(118px, 40vw, 210px); }

.cover {
  position: relative; overflow: hidden;
  aspect-ratio: .72;
  display: grid; grid-template-rows: auto 1fr auto;
  padding: 20px 17px 15px 28px;
  border: 0; border-radius: 3px 11px 11px 3px;
  color: var(--ink);
  background: linear-gradient(148deg, #FCF8F2 0%, var(--sand-wash) 54%, #EADCCB 100%);
  box-shadow:
    inset 0 1px 0 rgba(251,247,241,.8),
    0 2px 4px rgba(43,29,26,.12),
    0 20px 38px -16px rgba(43,29,26,.5);
}
/* the spine */
.cover::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 13px;
  background: var(--sea);
}
/* the shadow the spine throws across the first page */
.cover::after {
  content: ""; position: absolute; left: 13px; top: 0; bottom: 0; width: 9px;
  background: linear-gradient(90deg, rgba(43,29,26,.14), rgba(43,29,26,0));
  pointer-events: none;
}

.cover-kicker {
  font-size: .6rem; font-weight: 500; letter-spacing: .03em;
  color: var(--sea); margin-bottom: 8px;
}
.cover-title { font-size: .95rem; font-weight: 500; line-height: 1.18; letter-spacing: -.02em; }
.cover-title em { font-style: normal; display: block; }

/* blurb rules sit under the title, where a blurb would be */
.cover-lines { align-self: start; display: grid; gap: 5px; margin-top: 13px; }
.cover-lines span { height: 2px; border-radius: 2px; background: rgba(43,29,26,.16); }
.cover-lines span:nth-child(2) { width: 76%; }
.cover-lines span:nth-child(3) { width: 50%; }

.cover-foot {
  align-self: end; display: flex; justify-content: space-between; gap: 8px;
  font-size: .56rem; color: var(--dim);
  border-top: 1px solid rgba(43,29,26,.13); padding-top: 9px;
}

/* the darker cover in the set */
.cover.is-navy, .cover.is-burgundy {
  background: linear-gradient(148deg, #C8243A 0%, var(--sea) 52%, #8A0D20 100%);
  color: var(--mist);
}
.cover.is-navy::before, .cover.is-burgundy::before { background: var(--ink); }
.cover.is-navy .cover-kicker, .cover.is-burgundy .cover-kicker { color: rgba(246,240,230,.86); }
.cover.is-navy .cover-lines span, .cover.is-burgundy .cover-lines span { background: rgba(251,247,241,.32); }
.cover.is-navy .cover-foot, .cover.is-burgundy .cover-foot {
  color: rgba(246,240,230,.78); border-top-color: rgba(251,247,241,.24);
}

/* smaller and larger printings of the same object */
.book.is-mini .cover { padding: 12px 10px 10px 19px; border-radius: 2px 8px 8px 2px; }
.book.is-mini .cover::before { width: 9px; }
.book.is-mini .cover::after { left: 9px; width: 6px; }
.book.is-mini .cover-kicker { font-size: .5rem; margin-bottom: 5px; }
.book.is-mini .cover-title { font-size: .66rem; }
.book.is-mini .cover-lines { margin-top: 8px; gap: 3px; }
.book.is-mini .cover-lines span { height: 1.5px; }
.book.is-mini .cover-foot { font-size: .46rem; padding-top: 6px; }

.book.is-lg .cover, .book.is-xl .cover { padding: 27px 22px 19px 38px; border-radius: 4px 13px 13px 4px; }
.book.is-lg .cover::before, .book.is-xl .cover::before { width: 18px; }
.book.is-lg .cover::after, .book.is-xl .cover::after { left: 18px; width: 12px; }
.book.is-lg .cover-kicker, .book.is-xl .cover-kicker { font-size: .7rem; margin-bottom: 11px; }
.book.is-lg .cover-title, .book.is-xl .cover-title { font-size: 1.24rem; }
.book.is-lg .cover-lines, .book.is-xl .cover-lines { margin-top: 17px; gap: 6px; }
.book.is-lg .cover-foot, .book.is-xl .cover-foot { font-size: .66rem; padding-top: 12px; }

/* ---------- Product pages ---------- */
.product-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: clamp(28px, 4vw, 62px); align-items: center; }
.product-tagline { font-family: var(--read); font-style: italic; color: var(--dim); font-size: 1.1rem; margin: 0 0 18px; }
.product-status { font-size: .85rem; color: var(--sea); font-weight: 500; margin: 0 0 12px; }
.product-visual { display: grid; place-items: center; background: var(--sand-wash); border: 1.5px solid var(--line-sand); border-radius: var(--r-lg); padding: 34px; }
.pv-note, .bp-note { font-size: .84rem; color: var(--dim); margin: 14px 0 0; text-align: center; }
.buy-box { background: var(--paper); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--lift); display: grid; gap: 14px; }
.on-dark .buy-box { background: var(--ink-raise); box-shadow: none; }
.buy-price { font-size: 2.2rem; font-weight: 500; letter-spacing: -.03em; line-height: 1; }
.product-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.product-card {
  background: var(--paper); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--lift);
  text-decoration: none; color: inherit; display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--lift-hi); }
.product-card-art { background: var(--sand-wash); padding: 26px; display: grid; place-items: center; border-bottom: 1px solid var(--line-sand); }
.product-card-body { padding: 20px 22px 22px; }
.pc-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.pc-go { margin-top: 14px; font-size: .9rem; font-weight: 500; color: var(--sea); display: inline-flex; gap: 7px; align-items: center; }
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; background: var(--paper);
  border-top: 1px solid var(--line); padding: 12px var(--gutter);
  transform: translateY(110%); transition: transform .4s var(--ease);
}
.sticky-cta.is-visible { transform: none; }
.sticky-cta-inner { max-width: var(--wrap); margin: 0 auto; display: flex; align-items: center; gap: 16px; justify-content: space-between; }
.sticky-cta-name { font-weight: 500; font-size: .95rem; }

/* ---------- Prose ---------- */
.prose { max-width: 68ch; }
.prose h2 { font-size: 1.5rem; margin: 2.2em 0 .5em; }
.prose h3 { font-size: 1.14rem; margin: 1.8em 0 .4em; }
.prose p, .prose li { color: var(--dim); font-size: 1rem; line-height: 1.7; }
.prose a { color: var(--sea); }
.prose ul, .prose ol { padding-left: 20px; }
.prose li { margin-bottom: 8px; }

/* ---------- Old footer markup on inner pages ---------- */
.footer-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(28px, 4vw, 64px); padding-bottom: clamp(36px, 5vw, 64px); }
.footer-cols { display: flex; flex-wrap: wrap; gap: clamp(26px, 4vw, 60px); }
.footer-big { font-size: clamp(3rem, 12vw, 9rem); font-weight: 400; letter-spacing: -.05em; line-height: .9; margin: 0; color: #3E2C28; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; border-top: 1px solid var(--ink-line); margin-top: 28px; padding-top: 20px; font-size: .86rem; color: #B8A69C; }
.footer-bottom a { color: #B8A69C; text-decoration: none; }
.footer-note { font-size: .86rem; color: #B8A69C; }

/* ---------- Floating + system bits ---------- */
/* The floating phone CTA carried only its position into this stylesheet, so
   it was rendering as underlined link text over the page. It is a pill, and it
   clears the home-indicator area on a modern phone. */
.float-cta {
  position: fixed; right: 16px; z-index: 55;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: .5em;
  background: var(--sea); color: var(--mist); text-decoration: none;
  font-weight: 500; font-size: .92rem; line-height: 1.1;
  padding: .86em 1.35em; border-radius: 999px;
  box-shadow: 0 14px 30px -12px rgba(142,14,34, .55);
  opacity: 0; pointer-events: none; transform: translateY(12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.float-cta .ico { width: 17px; height: 17px; flex: none; }
.float-cta:hover, .float-cta:focus-visible { background: var(--sea-deep); color: var(--mist); }
.float-cta.is-visible { opacity: 1; pointer-events: auto; transform: none; }
@media (min-width: 721px) { .float-cta { display: none; } }
.toast {
  position: fixed; left: 50%; bottom: 22px; transform: translate(-50%, 16px); z-index: 300;
  background: var(--ink); color: var(--mist); padding: 13px 22px; border-radius: 999px;
  font-size: .92rem; opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.read-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; }
.read-progress i { display: block; height: 100%; background: var(--sea); transform-origin: 0 50%; transform: scaleX(var(--read, 0)); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Devices from the old identity, retired ----------
   The grain overlay, wax seal, sticky notes, hand-drawn stickers and the
   animated "machine" belonged to the previous look. Field Guide spends its
   one bold moment on the specimen plate instead. */
.seal, .sticker, .floater, .big-hand, .spark, .sun, .hill, .machine, .motion-toggle,
.nav-promo, .flow-big, .bubble, .cursor, .score-bars, .wires, .wire { display: none !important; }

@media (max-width: 860px) {
  .page-head-split, .contact-grid, .faq-layout, .product-hero, .footer-top { grid-template-columns: 1fr; }
  .svc-card.is-wide { grid-column: auto; }
  .footer-cols { gap: 30px; }
}

/* =========================================================
   PAGE-SPECIFIC COMPONENTS
   ========================================================= */

/* ---------- Resources: flagship panel ---------- */
.flagship {
  display: grid; grid-template-columns: minmax(0, 230px) minmax(0, 1fr);
  gap: clamp(26px, 4vw, 54px); align-items: center;
  background: var(--ink); border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 52px); text-decoration: none; color: var(--mist);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.flagship:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(43,29,26,.6); }
.flagship-art { display: grid; place-items: center; }
.flagship h2 { margin: 0 0 .3em; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.flagship > div > p { margin: 0; color: var(--on-dark-dim); }
.flagship .btn { margin-top: 6px; }
.flagship .step-chips { margin: 20px 0 22px; }

/* ---------- About: hero ---------- */
.about-hero { padding: clamp(40px, 5.5vw, 80px) 0 clamp(30px, 4vw, 56px); }
.ah-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 330px); gap: clamp(28px, 4vw, 60px); align-items: center; }
.ah-photo { text-align: center; }
.ah-photo .portrait, .portrait-initials {
  width: 210px; height: 210px; border-radius: 50%; margin: 0 auto 14px;
  background: var(--sand); display: grid; place-items: center;
  font-size: 3.2rem; font-weight: 400; letter-spacing: -.04em; color: #9C6B62;
  box-shadow: 0 0 0 1.5px var(--line-sand), 0 22px 44px -24px rgba(43,29,26,.45);
  overflow: hidden;
}
.ah-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.portrait-caption { font-size: .86rem; color: var(--dim); margin: 0; }
.facts-chips { display: flex; flex-wrap: wrap; gap: 9px; list-style: none; margin: 22px 0 0; padding: 0; }
.facts-chips li { padding: 8px 15px; border-radius: 999px; background: var(--sand-wash); font-size: .9rem; color: var(--dim); }

/* ---------- About: two paths ---------- */
.paths-section { padding-top: 0; }
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.path {
  display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: inherit;
  background: var(--paper); border-radius: var(--r-lg); padding: 30px 28px;
  box-shadow: var(--lift); transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.path:hover { transform: translateY(-5px); box-shadow: var(--lift-hi); }
.path-work { background: var(--sea); color: var(--mist); }
.path-for { font-size: .85rem; font-weight: 500; color: var(--sea); }
.path-work .path-for { color: rgba(246,240,230,.84); }
.path h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin: 0; }
.path-work h2 { color: var(--mist); }
.path p { margin: 0; color: var(--dim); font-size: .98rem; }
.path-work p { color: rgba(246,240,230,.84); }
.path h2 em { font-style: normal; }
.path-go { margin-top: auto; padding-top: 16px; font-size: .9rem; font-weight: 500; color: var(--sea); display: inline-flex; align-items: center; gap: 8px; }
.path-work .path-go { color: var(--mist); }
.path-go .ico { width: 15px; height: 15px; transition: transform .4s var(--ease); }
.path:hover .path-go .ico { transform: translateX(5px); }
.path-art { margin-bottom: 14px; }

/* ---------- Blueprint page ---------- */
.bp-head .signup { margin-top: 26px; }
.bp-visual { display: grid; place-items: center; }
.steps-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(28px, 4vw, 60px); align-items: start; }
.steps-intro h2 { margin-bottom: .3em; }
.bsteps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.bstep {
  display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; align-items: start;
  background: var(--paper); border-radius: var(--r); padding: 22px 24px; box-shadow: var(--lift);
}
.on-dark .bstep { background: var(--ink-raise); box-shadow: none; }
.bstep-ico { width: 44px; height: 44px; border-radius: 14px; background: var(--sand-wash); display: grid; place-items: center; color: var(--ink); }
.on-dark .bstep-ico { background: var(--ink); color: var(--sea-light); }
.bstep-ico .ico { width: 21px; height: 21px; }
.bstep-n { font-size: .8rem; font-weight: 500; color: var(--sea); display: block; margin-bottom: 3px; }
.on-dark .bstep-n { color: var(--sea-light); }
.bstep h3 { font-size: 1.1rem; margin: 0 0 5px; }
.bstep p { margin: 0; color: var(--dim); font-size: .95rem; }
.on-dark .bstep p { color: var(--on-dark-dim); }

/* ---------- Journey page ---------- */
.jh-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(26px, 4vw, 54px); align-items: center; }
.jh-day { text-align: center; }
.jh-day b { display: block; font-size: clamp(3rem, 7vw, 5.5rem); font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.jh-day span { font-size: .9rem; color: var(--dim); }
.journey-log { padding-top: clamp(36px, 4vw, 60px); }
.learning { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.learning li { background: var(--ink-raise); border-radius: var(--r); padding: 22px; color: var(--on-dark-dim); }
.flag { font-size: .78rem; font-weight: 500; color: var(--sea); }
.on-dark .flag { color: var(--sea-light); }
.wide { grid-column: 1 / -1; }

/* ---------- Services: flow diagram ---------- */
.fb-node {
  width: 54px; height: 54px; border-radius: 17px; background: var(--sand-wash);
  display: grid; place-items: center; color: var(--ink); flex: none;
}
.on-dark .fb-node { background: var(--ink-raise); color: var(--sea-light); }
.fb-wire { flex: 1 1 30px; height: 1.5px; background: var(--line); min-width: 20px; }
.on-dark .fb-wire { background: var(--ink-line); }
.fb-note { font-size: .86rem; color: var(--dim); margin: 14px 0 0; }
.on-dark .fb-note { color: var(--on-dark-dim); }

/* ---------- Contact page ---------- */
.direct { background: var(--paper); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--lift); }
.direct h3 { font-size: 1.08rem; margin: 0 0 8px; }
.direct p { margin: 0 0 10px; color: var(--dim); font-size: .95rem; }
.opt { margin-bottom: 18px; }

/* ---------- Product pages ---------- */
.product-head { margin-bottom: clamp(26px, 3.4vw, 44px); }
.cat { font-size: .85rem; font-weight: 500; color: var(--sea); margin: 0 0 10px; }
.inside-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(28px, 4vw, 58px); align-items: start; }
.not { color: var(--dim); font-size: .95rem; }
.walk-section { background: var(--paper); }
.walk { display: grid; gap: 20px; }
.walk-tabs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.wt {
  font: inherit; text-align: left; cursor: pointer; position: relative; overflow: hidden;
  padding: 12px 18px 14px; border-radius: 14px; border: 1px solid var(--line);
  background: transparent; color: var(--dim); min-width: 150px; flex: 1 1 150px;
  transition: border-color .25s var(--ease), color .25s var(--ease), background-color .25s var(--ease);
}
.wt:hover { border-color: var(--ink); color: var(--ink); }
.wt[aria-selected="true"] { background: var(--sand-wash); border-color: var(--line-sand); color: var(--ink); }
.wt-n { display: block; font-size: .74rem; font-weight: 500; color: var(--sea); margin-bottom: 3px; }
.wt b { display: block; font-size: .95rem; font-weight: 500; }
.wt small, .wt-t { display: block; font-size: .82rem; color: var(--dim); margin-top: 2px; }
.wt-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2.5px; background: rgba(43,29,26,.08); }
.wt-bar i { display: block; height: 100%; width: 0; background: var(--sea); }
.walk-stage {
  background: var(--sand-wash); border: 1.5px solid var(--line-sand);
  border-radius: var(--r-lg); padding: clamp(22px, 3vw, 40px); min-height: 280px;
  display: grid; place-items: center;
}

/* =========================================================
   PREVIEW MOCKUPS
   The product walkthroughs and work-card screenshots are
   illustrations of things that are not built yet. They are
   drawn here as abstract plates in the Field Guide palette
   rather than as fake screenshots.
   ========================================================= */
.browser, .laptop-screen, .phone-screen, .doc, .paper, .cal, .tt, .nd, .canvas, .mk-doc,
.mk-wide, .mk-phone, .mk-laptop, .mk-paper-wrap, .scene, .prompt-box, .paper-panel, .cal-split {
  background: var(--paper); border-radius: var(--r); border: 1px solid var(--line-sand);
  overflow: hidden; width: 100%;
}
.mk { display: grid; gap: 14px; width: 100%; }
.browser-bar {
  display: flex; align-items: center; gap: 6px; padding: 10px 14px;
  background: var(--sand-wash); border-bottom: 1px solid var(--line-sand);
  font-size: .72rem; color: var(--dim);
}
.browser-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-sand); display: block; flex: none; }
.browser-bar span { margin-left: 8px; }
.browser-view, .scroller, .laptop, .phone, .cal-grid, .doc-tabs, .nd-main, .nd-side, .tt-grid, .paper-head {
  padding: 16px; display: grid; gap: 9px;
}
.laptop-base { height: 8px; background: var(--sand-deep); border-radius: 0 0 10px 10px; }

/* abstract primitives shared by every mockup */
.ln, .blk, .cell, .post, .card, .sp-card, .sp-book, .file-chip, .fill, .logtick,
.c1, .c2, .c3, .s1, .s2, .tick, .dots, .prompt, .answer, .ghost, .caption, .script,
.sp-hero b, .sp-hero em, .sp-paths span, .sp-cards span, .sp-foot b, .sp-optin b, .sp-optin em,
.nd-title, .nd-cols span, .tt-days span, .ratios span, .side-ui span, .cal-head span,
.doc-tabs span, .copy-row span, .prompt-card span, .h1, .h2, .b, .a {
  display: block; background: var(--sand); border-radius: 6px; min-height: 10px;
  width: var(--w, 100%);
}
.sp-hero, .sp-paths, .sp-cards, .sp-optin, .sp-foot, .copy-row, .cal-head, .doc-tabs,
.nd-cols, .tt-days, .ratios, .side-ui, .prompt-card { display: grid; gap: 8px; margin-bottom: 9px; }
.sp-paths, .sp-cards, .cal-head, .doc-tabs, .nd-cols, .tt-days, .ratios, .copy-row { grid-auto-flow: column; grid-auto-columns: 1fr; }
.sp-optin { grid-template-columns: 54px minmax(0, 1fr); align-items: center; }
.sp-book, .file-chip { min-height: 62px; border-radius: 8px; background: var(--sand-deep); }
.cal-grid { grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cell, .post { min-height: 26px; border-radius: 5px; }
.post, .tick, .hot, .new, .pulse, .s, .d, .is-ai { background: var(--sea); }
.sp-hero b, .nd-title, .h1 { min-height: 16px; background: var(--sand-deep); }
.blk { min-height: 22px; }
.card { min-height: 46px; border-radius: 8px; }
.dots { min-height: 8px; width: 46px; }
.cal-pop, .paper-head, .is-sheet { background: var(--sand-wash); }
.walk-stage .mk > * { width: 100%; }

@media (max-width: 860px) {
  .flagship, .ah-grid, .paths, .steps-layout, .jh-grid, .inside-layout { grid-template-columns: 1fr; }
  .flagship-art, .bp-visual { max-width: 200px; }
}

/* =========================================================
   CORRECTIONS
   Fixes found by walking every page in the browser.
   ========================================================= */

/* The footer carries .on-dark, whose `p` rule outranked the wordmark. */
.site-footer .footer-mark, .site-footer .footer-big { color: #3E2C28; }
.site-footer .footer-mark span { color: #4E3A35; }

/* Cards use h2 as often as h3; both must sit at card scale, not page scale. */
.svc-card h2, .sheet h2, .work-card h2, .tl-card h2, .product-card h2,
.values h2, .who h2, .honest h2, .fit h2, .benefit-tiles h2, .bstep h2 {
  font-size: 1.3rem; letter-spacing: -.018em; margin: 0 0 6px;
}
.flagship h2, .path h2 { font-size: clamp(1.5rem, 2.8vw, 2.2rem); }

/* A link that is a flex child stretches, dragging its underline the full width. */
.text-link, .linklike { align-self: flex-start; }

/* Blueprint steps have three children: number, icon, then the copy. */
.bstep { grid-template-columns: 30px 44px minmax(0, 1fr); gap: 14px; align-items: start; }
.bstep-n { margin: 12px 0 0; }

/* ---------- Journey ---------- */
/* The headline leads; the day counter sits beside it. */
.jh-grid { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.jh-day { order: 2; }
.jh-day small { display: block; font-size: .86rem; color: var(--dim); margin-bottom: 2px; }

.jstats { grid-template-columns: repeat(auto-fit, minmax(168px, 1fr)); margin: 28px 0 0; }
.jstats dt { font-size: .86rem; color: var(--dim); margin: 0 0 7px; }
.jstats dd {
  margin: 0; font-size: 1.9rem; font-weight: 500; letter-spacing: -.03em; line-height: 1.05;
  display: flex; align-items: center; gap: 13px; flex-wrap: wrap;
}
.jstats .wide { grid-column: 1 / -1; }
.jstats .wide dd { font-size: 1.08rem; font-weight: 400; letter-spacing: 0; }
.jstats .ring { width: 62px; height: 62px; }
.jstats .ring::after { inset: 6px; background: var(--paper); }

/* .count is a filter tally here, not a headline number. */
.chip { display: inline-flex; align-items: center; gap: 7px; }
.chip .ico { width: 15px; height: 15px; }
.chip .count {
  display: inline; font-size: .86rem; font-weight: 500; letter-spacing: 0;
  margin: 0; color: var(--sea);
}
.chip[aria-pressed="true"] .count { color: var(--sea-light); }

.tl { padding-left: 46px; }
.tl::before { left: 12px; }
.tl-dot {
  left: -46px; top: 20px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--paper); border: 1.5px solid var(--line); color: var(--dim);
  display: grid; place-items: center; box-shadow: none;
}
.tl-dot .ico { width: 13px; height: 13px; }
.tl-item.is-now .tl-dot { background: var(--sea); border-color: var(--sea); color: var(--mist); box-shadow: 0 0 0 4px var(--sea-wash); }

.tl-more {
  font: inherit; font-size: .9rem; font-weight: 500; color: var(--sea);
  background: none; border: 0; padding: 12px 0 2px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 9px;
}
.tl-more i {
  width: 9px; height: 9px; flex: none;
  border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px); transition: transform .3s var(--ease);
}
.tl-more[aria-expanded="true"] i { transform: rotate(225deg) translate(-2px, -2px); }
.tl-story { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.tl-story > div { overflow: hidden; }
.tl-story.is-open { grid-template-rows: 1fr; }
.tl-story p { margin: 12px 0 0; font-size: .95rem; color: var(--dim); }
.tl-extra { display: block; margin-top: 11px; font-size: .93rem; color: var(--dim); }
.tl-extra b { color: var(--ink); font-weight: 500; margin-right: 7px; }
.tl.is-filtering .tl-item { transition: opacity .25s var(--ease); }

/* Build-log rail cards (drawn by main.js) */
.rail-card {
  background: var(--paper); border-radius: var(--r); padding: 20px 22px;
  box-shadow: var(--lift); text-decoration: none; color: inherit; display: block;
}
.rail-link { text-decoration: none; }
.rc-day, .rc-type { font-size: .82rem; color: var(--dim); }
.rc-type { color: var(--sea); font-weight: 500; }

/* The product pages dock a bar to the bottom of the window. */
body.has-sticky-cta { padding-bottom: 78px; }

/* ---------- Spacing between stacked sections of the same colour ---------- */
.section + .section:not([class*="section-"]) { padding-top: 0; }

/* ---------- Product hero corrections ---------- */
/* The cover comes first in the markup, so it takes the fixed column and the
   copy gets the room it needs. */
.product-hero { grid-template-columns: minmax(0, 390px) minmax(0, 1fr); align-items: center; }
.product-hero h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); margin-bottom: .2em; }

.product-status { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 16px; }
.product-status .cat { margin: 0; }

.buy-price {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px;
  font-size: 1rem; font-weight: 400; letter-spacing: 0;
}
.buy-price strong { font-size: 2.2rem; font-weight: 500; letter-spacing: -.03em; line-height: 1; }
.buy-price span { color: var(--dim); font-size: .92rem; }
.on-dark .buy-price span { color: var(--on-dark-dim); }

.buy-box .signup, .buy-box form { max-width: none; }
.buy-box .signup-fields { flex-direction: column; }
.buy-box .signup-fields input, .buy-box .signup-fields .btn { flex: 1 1 auto; width: 100%; }

.product-visual .hand { display: block; margin-top: 14px; text-align: center; font-size: .92rem; }

@media (max-width: 860px) {
  .product-hero { grid-template-columns: 1fr; }
  .product-visual { max-width: 300px; }
}

/* ---------- Sticky product bar ---------- */
.sticky-cta-name small {
  display: block; font-size: .82rem; font-weight: 400; color: var(--dim); margin-top: 2px;
}

/* ---------- Mockup primitives that actually carry words ----------
   The blank ones stay abstract bars; the ones with a label read as chips
   so the text is legible rather than stamped onto a block of colour. */
.ln:not(:empty), .blk:not(:empty), .cell:not(:empty), .post:not(:empty), .card:not(:empty),
.file-chip:not(:empty), .fill:not(:empty), .prompt:not(:empty), .answer:not(:empty),
.ghost:not(:empty), .caption:not(:empty), .script:not(:empty), .nd-title:not(:empty),
.sp-card:not(:empty), .c1:not(:empty), .c2:not(:empty), .c3:not(:empty), .tick:not(:empty) {
  padding: 7px 11px; min-height: 0; font-size: .86rem; line-height: 1.4;
  color: var(--ink); background: var(--sand-wash); border: 1px solid var(--line-sand);
}
.post:not(:empty), .tick:not(:empty) { background: var(--sea-wash); border-color: transparent; color: var(--sea-deep); }
.ghost:not(:empty) { color: var(--dim); background: transparent; border-style: dashed; }

/* ---------- 404 ---------- */
.page-head .display-xl { margin-bottom: .2em; }

/* The about page nests the initials and caption inside the circle. */
.ah-photo .portrait { position: relative; margin-bottom: 40px; }
.portrait-initials {
  width: auto; height: auto; margin: 0; background: none; box-shadow: none;
  border-radius: 0; font-size: 3.2rem; line-height: 1;
}
.portrait-caption {
  position: absolute; left: 0; right: 0; bottom: -28px;
  text-align: center; font-size: .9rem; color: var(--dim);
}

/* A shelf of guides should not sit to attention. A couple of degrees and a
   little height between them is enough to read as objects rather than tiles. */
.fan .book:nth-child(1), .head-fan .book:nth-child(1) { transform: rotate(-2.4deg) translateY(7px); }
.fan .book:nth-child(2), .head-fan .book:nth-child(2) { transform: translateY(-8px); position: relative; z-index: 2; }
.fan .book:nth-child(3), .head-fan .book:nth-child(3) { transform: rotate(2.4deg) translateY(7px); }

/* =========================================================
   SIGN-UP CONFIRMATION
   The homepage band is sea green, so the confirmation there was set to white
   and that colour leaked to every other form on the site: white text on a
   near-white page. Scope the white, and make the confirmed state read as an
   event rather than a sentence appearing where the inputs used to be.
   ========================================================= */
.signup-success {
  position: relative;
  max-width: 46ch;
  padding: 20px 22px 20px 60px;
  border-radius: var(--r);
  background: var(--sea-wash);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.55;
}
.signup-success p { margin: 0 0 .6em; }
.signup-success p:last-child { margin-bottom: 0; }
.signup-success strong { font-weight: 600; }
.signup-success .fine { color: var(--dim); }
.signup-success a { color: var(--sea-deep); }
.signup-success .btn { margin-top: 10px; }

/* the badge */
.signup-success::before {
  content: ""; position: absolute; left: 20px; top: 20px;
  width: 26px; height: 26px; border-radius: 50%; background: var(--sea);
}
/* the tick inside it */
.signup-success::after {
  content: ""; position: absolute; left: 29px; top: 26px;
  width: 7px; height: 12px;
  border-right: 2px solid #FBF7F1; border-bottom: 2px solid #FBF7F1;
  transform: rotate(45deg);
}

/* On the homepage band the panel sits on sea green, so it inverts. */
.signup-band .signup-success { background: rgba(251,247,241,.15); color: var(--mist); }
.signup-band .signup-success .fine { color: rgba(246,240,230,.78); }
.signup-band .signup-success a { color: var(--mist); }
.signup-band .signup-success::before { background: #FBF7F1; }
.signup-band .signup-success::after { border-color: var(--sea); }

/* Motion that answers the submit: the panel arrives, then the tick lands. */
.js:not(.reduce) .signup.is-done .signup-success,
.js:not(.reduce) .signup-form.is-done .signup-success {
  animation: confirm-in .45s var(--spring) both;
}
.js:not(.reduce) .signup.is-done .signup-success::after,
.js:not(.reduce) .signup-form.is-done .signup-success::after {
  animation: tick-land .35s var(--spring) .2s both;
}
@keyframes confirm-in {
  from { opacity: 0; transform: translateY(10px) scale(.97); }
  to   { opacity: 1; transform: none; }
}
@keyframes tick-land {
  from { opacity: 0; transform: rotate(45deg) scale(.3); }
  to   { opacity: 1; transform: rotate(45deg) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .signup.is-done .signup-success, .signup-form.is-done .signup-success,
  .signup.is-done .signup-success::after, .signup-form.is-done .signup-success::after {
    animation: none !important; opacity: 1; transform: none;
  }
  .signup-success::after { transform: rotate(45deg); }
}

/* =========================================================
   LOGO
   The mark is the initial drawn as one route, ending in a filled node:
   an M, and the same idea-to-shipped trail used on the Blueprint band.
   ========================================================= */
/* The mark is a solid tile with its own hard edge, so it needs more air than a
   bare glyph would. Half the mark height (24 / 2) keeps the two reading as one
   lockup without crowding the M. */
.wordmark { display: inline-flex; align-items: center; gap: 12px; }
/* The artwork carries its own tile, gradients and lighting, so nothing here
   recolours it: it looks the same on light and dark. */
.wordmark-mark {
  /* width/height are also set on the element itself, so the mark keeps its
     size even if this stylesheet has not arrived yet */
  width: 24px; height: 24px; flex: none; display: block; overflow: visible;
  filter: drop-shadow(0 1px 4px rgba(43,29,26,.18));
}
.wordmark-text { font-size: 1.22rem; font-weight: 600; letter-spacing: -.03em; line-height: 1; }


/* =========================================================
   BUTTON STATES
   The submit button swaps its label to "Sending..." and disables itself while
   the request is in flight, but nothing said so visually. Give it a busy state
   and make sure no label is ever pure white.
   ========================================================= */
.btn[disabled], .btn[aria-disabled="true"] {
  cursor: default; opacity: .62;
  transform: none !important; box-shadow: none !important;
}
.btn[disabled]:hover, .btn[aria-disabled="true"]:hover { background-color: inherit; }

/* a quiet pulse while it is working, so the press is acknowledged */
.js:not(.reduce) .btn[disabled] { animation: btn-busy 1.1s ease-in-out infinite alternate; }
@keyframes btn-busy { from { opacity: .62; } to { opacity: .88; } }

/* Sent: the button answers the press in place, before the confirmation
   panel takes over. It stays disabled, so it overrides the busy look. */
.btn.is-sent,
.btn.is-sent[disabled],
.btn.is-sent[aria-disabled="true"],
.btn.is-sent:hover,
.btn.is-sent:focus-visible {
  background: var(--ok); border-color: var(--ok); color: var(--mist);
  opacity: 1; box-shadow: 0 14px 28px -14px rgba(31,122,77,.6) !important;
}
.js:not(.reduce) .btn.is-sent[disabled] { animation: sent-pop .5s var(--spring) both; }

/* On the sea-green band the deep green would sink into the background,
   so the confirmation lightens there instead. */
.signup-band .btn.is-sent, .signup-band .btn.is-sent[disabled],
.on-dark .btn.is-sent, .on-dark .btn.is-sent[disabled] {
  background: var(--ok-light); border-color: var(--ok-light); color: var(--ink);
  box-shadow: 0 14px 28px -16px rgba(60,15,20,.55) !important;
}
@keyframes sent-pop { 0% { transform: scale(1); } 45% { transform: scale(1.045); } 100% { transform: scale(1); } }

.btn .tick { position: relative; width: 1.05em; height: 1.05em; flex: none; }
.btn .tick::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: .33em; height: .62em;
  border: solid currentColor; border-width: 0 2px 2px 0;
  transform: translate(-54%, -62%) rotate(45deg);
}
.js:not(.reduce) .btn.is-sent .tick { animation: tick-in .44s var(--spring) both; }
@keyframes tick-in { from { opacity: 0; transform: scale(.3); } to { opacity: 1; transform: none; } }

/* the sea buttons carry off-white labels, never #FBF7F1 */
.btn-sea, .btn-accent { color: var(--mist); }
.btn-sea:hover, .btn-sea:focus-visible,
.btn-accent:hover, .btn-accent:focus-visible { color: var(--mist); }

/* ---------- Header on narrow phones ----------
   At 320px the "Free Blueprint" label broke across two lines and made the
   header lumpy. Keep button labels whole and buy the room back from the
   wordmark and the button's own padding. */
.header-actions .btn { white-space: nowrap; }
@media (max-width: 380px) {
  .header-inner { gap: 14px; }
  .wordmark-text { font-size: 1.06rem; }
  .header-actions { gap: 8px; }
  .header-actions .btn { padding: .6em 1.05em; font-size: .8rem; min-height: 38px; }
  .nav-toggle { width: 40px; height: 40px; }
}

/* ---------- Fitting the phone ----------
   Guards against a page sitting on a canvas wider than the screen, which is
   what lets a phone pan and zoom into empty space. */

/* .tools is a div of link cards, not a table: the links were inline and
   overflowed their column. */
.tools {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px; width: 100%; border-collapse: unset;
}
.tool { display: block; min-width: 0; text-decoration: none; color: inherit; }
.tool b { display: block; font-weight: 500; margin-bottom: 3px; }
.tool span { display: block; font-size: .9rem; color: var(--dim); }

/* A long unbroken word (a URL, a product name) can set a min-content width
   wider than the screen. Let text break rather than push the page out. */
body { overflow-wrap: break-word; }
h1, h2, h3, h4, .wordmark-text { overflow-wrap: break-word; }

/* Grid and flex children default to min-width:auto, which refuses to shrink
   below their content. These all sit in narrow columns on a phone. */
.sheet, .door, .spec, .svc-card, .work-card, .tl-card, .product-card,
.values > div, .who > div, .honest > div, .fit > div, .benefit-tiles > div,
.bstep, .process li, .road li, .ways li, .chapters li, .inside li { min-width: 0; }

/* The calendar mockup was being clipped by its own frame on a phone. */
.cal-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-grid .cell { min-width: 0; }

/* ---------- Build tutorials ----------
   .prompt-box is already a mockup primitive, so the copyable prompt on a
   tutorial page is .tut-prompt. */
.tut-prompt {
  background: var(--ink); color: var(--mist); border-radius: var(--r);
  padding: 22px 24px; margin: 18px 0 26px; position: relative;
}
.tut-prompt h4 {
  margin: 0 0 12px; font-size: .78rem; font-weight: 500; letter-spacing: .06em;
  color: var(--sea-light); text-transform: none;
}
.tut-prompt pre {
  margin: 0; white-space: pre-wrap; overflow-wrap: break-word; min-width: 0;
  font-family: var(--sans); font-size: .93rem; line-height: 1.62; color: #E9DED3;
}
.tut-prompt .copy-btn {
  position: absolute; top: 18px; right: 18px; font: inherit; font-size: .78rem;
  background: var(--ink-raise); color: var(--mist); border: 1px solid #4C3833;
  border-radius: 999px; padding: .42em 1em; cursor: pointer;
  transition: background-color .25s var(--ease), border-color .25s var(--ease);
}
.tut-prompt .copy-btn:hover, .tut-prompt .copy-btn:focus-visible { background: var(--sea); border-color: var(--sea); }
@media (max-width: 560px) {
  .tut-prompt { padding-top: 56px; }
  .tut-prompt .copy-btn { top: 16px; left: 24px; right: auto; }
}

.kit { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; list-style: none; margin: 0 0 8px; padding: 0; }
.kit li { background: var(--paper); border-radius: var(--r); padding: 16px 18px; box-shadow: var(--lift); min-width: 0; }
.kit b { display: block; font-weight: 500; margin-bottom: 3px; }
.kit span { display: block; font-size: .88rem; color: var(--dim); }

/* the homepage build cards are links now, so they need a visible affordance */
a.spec { display: block; text-decoration: none; color: inherit; }
.spec-more { margin: 12px 0 0; font-size: .9rem; font-weight: 500; color: var(--sea); }
.spec-more::after { content: " 92"; display: inline-block; transition: transform .3s var(--ease); }
a.spec:hover .spec-more::after { transform: translateX(3px); }

/* ---------- Free resources page ---------- */
.docs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 18px; }
.doc {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(20px, 3vw, 34px); align-items: start;
  background: var(--paper); border-radius: var(--r-lg); padding: clamp(24px, 3.4vw, 40px); box-shadow: var(--lift);
}
.doc.on-dark { background: var(--ink); }
.doc .book { width: clamp(96px, 22vw, 150px); }
.doc h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); margin: 6px 0 .35em; }
.doc > div > p { margin: 0 0 16px; color: var(--dim); font-family: var(--read); font-size: 1.05rem; line-height: 1.5; }
.doc-facts { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 8px; font-size: .95rem; }
.doc-facts li { display: flex; gap: 10px; align-items: flex-start; }
.doc-facts .ico { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--sea); }
.doc.on-dark > div > p { color: var(--on-dark-dim); }
.doc.on-dark .doc-facts li { color: var(--mist); }
.doc.on-dark .doc-facts .ico { color: var(--sea-light); }
.doc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.doc-actions .small { margin: 0; }
.doc.on-dark .doc-actions .small { color: var(--on-dark-dim); }
@media (max-width: 560px) {
  .doc { grid-template-columns: minmax(0, 1fr); }
  .doc > [data-tilt] { display: none; }
}

.idea-tools { display: grid; gap: 16px; margin: 0 0 26px; }
.idea-search {
  width: 100%; max-width: 440px; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--mist); border: 1.5px solid var(--line); border-radius: 999px; padding: 12px 20px;
}
.idea-search:focus { outline: none; border-color: var(--sea); }
.idea-tools .filter-group { display: flex; flex-wrap: wrap; gap: 8px; }
.idea-count { font-size: .92rem; color: var(--dim); margin: 0 0 14px; }
.ideas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 12px; }
.idea {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px;
  background: var(--mist); border-radius: var(--r); padding: 18px 20px; min-width: 0;
}
.idea-n { grid-row: span 3; font-family: var(--read); font-size: 1.5rem; line-height: 1; color: var(--sea); min-width: 2ch; }
.idea h3 { font-size: 1.05rem; margin: 0; }
.idea p { margin: 0; font-size: .92rem; color: var(--dim); line-height: 1.5; }
.idea-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.idea-meta span { font-size: .76rem; padding: 3px 10px; border-radius: 999px; background: var(--paper); color: var(--dim); border: 1px solid var(--line); }
.idea-meta .is-cat { background: var(--sea-wash); color: var(--sea-deep); border-color: transparent; }
.ideas-empty { padding: 30px 0; color: var(--dim); font-family: var(--read); font-style: italic; }
.ideas-more { margin: 30px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.ideas-more p { margin: 0; color: var(--dim); max-width: 52ch; }
