/* House Key site
   Tokens first, then base, components in page order, then staging-only UI at the bottom.
   Fonts: Founders Grotesk + Founders Grotesk Condensed are the spec. Archivo (variable width)
   stands in until the licensed files land in assets/fonts (see README there). */

/* Founders Grotesk, Klim Type Foundry. Web licence bought 2026-10-19 (Klim order 26100954). */
@font-face { font-family: "Founders Grotesk"; src: url("/assets/fonts/founders-grotesk-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Founders Grotesk"; src: url("/assets/fonts/founders-grotesk-medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Founders Grotesk Condensed"; src: url("/assets/fonts/founders-grotesk-condensed-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Founders Grotesk Condensed"; src: url("/assets/fonts/founders-grotesk-condensed-bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  color-scheme: only light;

  --paper: #fcfcfc;
  --ink: #000000;
  --ink-2: #3c3c3b;
  /* Matt's palette (email 2026-10-21): black, and three families of main / tint / light. Use only these. */
  --chartreuse: #d7d954;
  --chartreuse-tint: #eff0bb;
  --chartreuse-light: #f7f7dd;
  --mint: #8fc4af;
  --mint-tint: #d2e7df;       /* was #dce7e1, sampled from the comp before Matt's spec */
  --mint-light: #e9f3ef;
  --coral: #ef8470;
  --coral-tint: #f5b5a9;
  --blush: #fadfda;           /* coral light */
  --hero: var(--mint);

  --font-text: "Founders Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-cond: "Founders Grotesk Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  /* The real condensed family is loaded, so no synthetic condensing (these were 76% / 72% with the Archivo stand-in). */
  --stretch-cond: 100%;
  --stretch-statement: 100%;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --header-h: 64px;
  --fx-slow: 1;   /* staging: Slow motion button sets this to 4 */
  --section: clamp(72px, 9vw, 128px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}
@media (min-width: 720px) { :root { --header-h: 76px; } }

:root.fx-slow { --fx-slow: 4; }
:root[data-hero="mint"]       { --hero: var(--mint); }
:root[data-hero="chartreuse"] { --hero: var(--chartreuse); }
:root[data-hero="coral"]      { --hero: var(--coral); }
:root[data-hero="blush"]      { --hero: var(--blush); }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; } /* smooth scrolling is switched on by JS after load, so deep links land instantly */
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 1rem;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, figure { margin: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

.skip {
  position: absolute; left: var(--gutter); top: -100px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: .6rem 1rem; text-decoration: none;
}
.skip:focus { top: var(--gutter); }

.container { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.section { padding-block: var(--section); }
section[id], article[id] { scroll-margin-top: calc(var(--header-h) + 16px); }   /* menu links land below the fixed header */
.section--tight { padding-top: 0; }

.wordmark { fill: currentColor; color: var(--ink); width: 100%; height: auto; aspect-ratio: 1084.32 / 166.46; }

/* ---------- type ---------- */
.eyebrow {
  font-family: var(--font-cond); font-stretch: var(--stretch-cond);
  font-weight: 700; font-size: clamp(.8rem, .7rem + .45vw, 1.05rem); letter-spacing: .08em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: .55em; margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: .72em; height: .72em; border-radius: 50%; background: var(--dot, var(--ink)); }

.title {
  font-family: var(--font-cond); font-stretch: var(--stretch-cond);
  font-weight: 700; font-size: clamp(1.9rem, 1.35rem + 1.7vw, 2.9rem);
  line-height: 1.02; letter-spacing: -.005em; margin-bottom: .75em; text-wrap: balance;
}
.prose {
  font-family: var(--font-cond); font-stretch: var(--stretch-cond);
  font-size: clamp(1.125rem, .9rem + .95vw, 1.85rem); line-height: 1.22; max-width: 60ch;
}
.prose p + p { margin-top: .8em; }
.small { font-family: var(--font-text); font-size: .8125rem; line-height: 1.45; }

.statement {
  font-family: var(--font-cond); font-stretch: var(--stretch-statement, var(--stretch-cond));
  font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.5rem, 3.8vw, 3.6rem); line-height: 1.05; letter-spacing: 0;
  text-align: center; text-wrap: balance; margin-inline: auto; max-width: 96%;
}
.statement .lead { display: block; font-size: .56em; letter-spacing: .03em; margin-bottom: .9em; }   /* a label above the lines, not a competing line (Nicole, 10/20); both bands */
.statement .sent { display: block; text-wrap: balance; text-transform: none; }   /* one sentence per block; sentence case, only the lead line stays in caps (Clarissa, 10/19) */
.statement .sent + .sent { margin-top: .5em; }                        /* clear air between sentences */
.statement .lead + .sent { margin-top: 0; }
.statement .ph { opacity: 1; }   /* the statements sit on the page in full; the scroll reveal came off (Nicole, 10/20) */

/* ---------- header + menu ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-inline: var(--gutter);
  transition: background .4s, box-shadow .4s;
}
.site-header.is-scrolled {
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .08);
}
.brand { position: relative; display: flex; align-items: center; height: 100%; min-width: 150px; text-decoration: none; }
.brand__tag {
  font-family: var(--font-cond); font-stretch: var(--stretch-cond);
  font-weight: 700; font-size: clamp(1rem, .85rem + .7vw, 1.5rem); line-height: 1.1; white-space: nowrap;
}
/* Small phones (iPhone 17e and down): the one-line tagline ran into Menu, so the second sentence drops to its own line (Anthony, 10/21). */
@media (max-width: 560px) {
  .brand { min-width: 0; flex: 0 1 auto; }
  .brand__tag { white-space: normal; }
  .brand__tag-2 { display: block; }
}
.brand__mark { position: absolute; left: 0; top: 50%; translate: 0 -50%; height: 20px; opacity: 0; }
.brand__mark .wordmark { height: 100%; width: auto; }
.is-scrolled .brand__tag { pointer-events: none; }
.site-header.is-under .brand__tag { opacity: 0 !important; transition: opacity .15s linear; }   /* the big mark is passing underneath */

/* No header transitions during the first paint, so a deep link lands in its final state instead of animating into it. */
:root.preload .brand__tag, :root.preload .brand__mark, :root.preload .ltr, :root.preload .brand__blade { transition: none !important; }
:root.preload .brand__dot { animation: none !important; }

/* Transition actors: a dot for Keyhole, a blade for Cut. Shown only while a transition is running (.hdr-anim). */
.brand__dot, .brand__blade { display: none; position: absolute; top: 50%; background: var(--ink); pointer-events: none; }
.brand__dot { left: 23px; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; transform: scale(0); }
.brand__blade { left: -14px; width: 6px; height: 34px; margin-top: -17px; transform: skewX(-22deg); transform-origin: bottom left; opacity: 0; }

/* Header transition options (staging toolbar switches data-header; JS resolves it to data-header-fx). */

/* Fade: tagline lifts out, mark settles in. */
:root[data-header-fx="fade"] .brand__tag, :root[data-header-fx="fade"] .brand__mark { transition: opacity calc(.35s * var(--fx-slow)) var(--ease), transform calc(.35s * var(--fx-slow)) var(--ease); }
:root[data-header-fx="fade"] .brand__tag { transition-delay: calc(.3s * var(--fx-slow)); }
:root[data-header-fx="fade"] .brand__mark { transition-delay: 0s; }
:root[data-header-fx="fade"] .is-scrolled .brand__tag { transition-delay: 0s; }
:root[data-header-fx="fade"] .is-scrolled .brand__mark { transition-delay: calc(.25s * var(--fx-slow)); }
:root[data-header-fx="fade"] .brand__mark { transform: translateY(6px); }
:root[data-header-fx="fade"] .is-scrolled .brand__tag { opacity: 0; transform: translateY(-6px); }
:root[data-header-fx="fade"] .is-scrolled .brand__mark { opacity: 1; transform: none; }

/* Dock: the hero wordmark itself shrinks and travels into the corner, tied to scroll. JS drives it. */
:root[data-header-fx="dock"] .hero .wordmark--line { transform-origin: 0 0; will-change: transform; position: relative; z-index: 61; }
:root[data-header-fx="dock"] .brand__mark.is-docked { opacity: 1; }

/* Keyhole, in three beats: the tagline collapses into a black dot, the dot holds, the wordmark opens out of it.
   Scrolling back up runs the same beats in reverse. */
:root[data-header-fx="keyhole"] .brand__tag { clip-path: circle(460px at 23px 50%); transition: clip-path calc(.4s * var(--fx-slow)) ease-out calc(.55s * var(--fx-slow)); }
:root[data-header-fx="keyhole"] .is-scrolled .brand__tag { clip-path: circle(0px at 23px 50%); transition: clip-path calc(.4s * var(--fx-slow)) ease-in 0s; }
:root[data-header-fx="keyhole"] .brand__mark { opacity: 1; clip-path: circle(0px at 23px 50%); transition: clip-path calc(.45s * var(--fx-slow)) ease-in 0s; }
:root[data-header-fx="keyhole"] .is-scrolled .brand__mark { clip-path: circle(170px at 23px 50%); transition: clip-path calc(.55s * var(--fx-slow)) ease-out calc(.5s * var(--fx-slow)); }
:root[data-header-fx="keyhole"] .brand__dot { display: block; }
:root[data-header-fx="keyhole"] .hdr-anim .brand__dot { animation: kh-dot-out calc(1s * var(--fx-slow)) both; }
:root[data-header-fx="keyhole"] .hdr-anim.is-scrolled .brand__dot { animation: kh-dot-in calc(1.05s * var(--fx-slow)) both; }
@keyframes kh-dot-in  { 0%, 20% { transform: scale(0); opacity: 1; } 40% { transform: scale(1); opacity: 1; } 52% { transform: scale(1); opacity: 1; } 100% { transform: scale(.25); opacity: 0; } }
@keyframes kh-dot-out { 0% { transform: scale(.25); opacity: 0; } 42% { transform: scale(1); opacity: 1; } 58% { transform: scale(1); opacity: 1; } 78%, 100% { transform: scale(0); opacity: 1; } }

/* Cut: a black blade sweeps left to right. Where it has passed, the tagline is gone and the wordmark is there.
   --w is the tagline's width in px (set by JS) so blade and clip edges move together. */
:root[data-header-fx="cut"] .brand__tag { clip-path: polygon(0 0, 100% 0, 100% 100%, -14px 100%); transition: clip-path calc(.75s * var(--fx-slow)) linear; }
:root[data-header-fx="cut"] .is-scrolled .brand__tag { clip-path: polygon(calc(100% + 14px) 0, 100% 0, 100% 100%, 100% 100%); }
:root[data-header-fx="cut"] .brand__mark { opacity: 1; clip-path: polygon(0 0, 0 0, -14px 100%, 0 100%); transition: clip-path calc(.75s * var(--fx-slow)) linear; }
:root[data-header-fx="cut"] .is-scrolled .brand__mark { clip-path: polygon(0 0, calc(var(--w, 400px) + 14px) 0, var(--w, 400px) 100%, 0 100%); }
:root[data-header-fx="cut"] .brand__blade { display: block; transition: left calc(.75s * var(--fx-slow)) linear, opacity .15s; }
:root[data-header-fx="cut"] .is-scrolled .brand__blade { left: var(--w, 400px); }
:root[data-header-fx="cut"] .hdr-anim .brand__blade { opacity: 1; }

/* Stagger: the letters of the mark land one after another, H through Y. */
:root[data-header-fx="stagger"] .brand__mark { opacity: 1; }
:root[data-header-fx="stagger"] .ltr { opacity: 0; transform: translateY(70px); transition: opacity calc(.3s * var(--fx-slow)) var(--ease), transform calc(.45s * var(--fx-slow)) var(--ease); transition-delay: 0s; }
:root[data-header-fx="stagger"] .is-scrolled .ltr { opacity: 1; transform: none; transition-delay: calc(var(--i) * 45ms * var(--fx-slow)); }
:root[data-header-fx="stagger"] .brand__tag { transition: opacity calc(.25s * var(--fx-slow)) calc(.45s * var(--fx-slow)), transform calc(.3s * var(--fx-slow)) var(--ease) calc(.45s * var(--fx-slow)); }
:root[data-header-fx="stagger"] .is-scrolled .brand__tag { transition-delay: 0s; }
:root[data-header-fx="stagger"] .ltr { transition-delay: calc((7 - var(--i)) * 40ms * var(--fx-slow)); }
:root[data-header-fx="stagger"] .is-scrolled .brand__tag { opacity: 0; transform: translateY(-8px); }

.menu-btn { display: flex; align-items: center; gap: 10px; flex: none; color: var(--ink); }
.menu-btn__label {
  font-family: var(--font-cond); font-stretch: var(--stretch-cond); font-weight: 700; text-transform: uppercase;
  font-size: .95rem; letter-spacing: .08em; line-height: 1; transition: opacity .2s;
}
.menu-btn__dot {
  width: 28px; height: 28px; border-radius: 50%; background: var(--ink); position: relative; flex: none;
  transition: transform .3s var(--ease);
}
.menu-btn:hover .menu-btn__dot { transform: scale(1.08); }
.menu-btn__dot::before, .menu-btn__dot::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--paper);
  translate: -50% -50%; opacity: 0; transition: opacity .2s, rotate .35s var(--ease);
}
.menu-btn[aria-expanded="true"] .menu-btn__dot::before { opacity: 1; rotate: 45deg; }
.menu-btn[aria-expanded="true"] .menu-btn__dot::after  { opacity: 1; rotate: -45deg; }

.menu {
  position: fixed; top: calc(var(--header-h) - 6px); right: var(--gutter); z-index: 59;
  background: var(--ink); color: var(--paper);
  padding: 1.35rem 1.6rem 1.45rem; min-width: 232px;
  transform-origin: top right; opacity: 0; transform: translateY(-8px) scale(.98); visibility: hidden;
  transition: opacity .25s var(--ease), transform .3s var(--ease), visibility 0s .3s;
}
.menu.is-open { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu a {
  display: block; text-decoration: none;
  font-family: var(--font-cond); font-stretch: var(--stretch-cond);
  font-weight: 700; text-transform: uppercase; font-size: 1.35rem; line-height: 1.3; letter-spacing: .01em;
  transition: color .2s;
}
.menu a:hover { color: var(--hero); }
@media (max-width: 600px) { .menu { left: var(--gutter); right: var(--gutter); } }

/* ---------- hero ---------- */
.hero {
  position: relative; background: var(--hero); min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--header-h) + var(--gutter)) var(--gutter) var(--gutter);
  transition: background .6s var(--ease);
}
.hero__mark { width: min(100%, 1800px); margin-inline: auto; }
.hero__sentinel { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; }
@media (prefers-reduced-motion: no-preference) {
  .hero .wordmark--line, .hero .wordmark-stack { animation: rise 1.1s var(--ease) .1s backwards; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Landing intro: a black bar that the letters get cut out of. The real wordmark sits underneath;
   the bar (8 blocks) covers it, and the hero-coloured "cuts" (each letter's negative space) are
   revealed on top, so bar minus cuts = the letters. data-intro-fx picks how the cuts arrive. */
.intro { display: none; }
.intro .blk, .intro__slab, .intro .cutletter { fill: currentColor; }
.intro .cutfill, .intro .gapcut { fill: var(--hero); transition: fill .6s var(--ease); }
.intro__letters { display: none; }
/* Split makes its own gaps by moving the blocks, so it hides the solid slab and the gap cuts. */
:root[data-intro-fx="split"] .intro__slab, :root[data-intro-fx="split"] .gapcut { display: none; }
:root:not([data-intro-fx="none"]) .hero .intro { display: block; animation: introdone calc(.25s * var(--fx-slow)) linear calc(var(--intro-total, 2s) * var(--fx-slow)) forwards; }
@keyframes introdone { to { opacity: 0; } }   /* the intro layer fades off its own identical final frame, leaving the clean wordmark */
:root[data-intro-fx="carve"] { --intro-total: 1.6s; }
:root[data-intro-fx="split"] { --intro-total: 2.15s; }
:root[data-intro-fx="chips"] { --intro-total: 1.35s; }
:root[data-intro-fx="punch"] { --intro-total: 1.6s; }
:root[data-intro-fx="steel"] { --intro-total: 3.1s; --skip: .5s; }   /* --skip: the first half second is cut off, so the bar is already being carved when the page lands (Clarissa, 10/19) */
:root:not([data-intro-fx="none"]) .hero .wordmark--line { animation: none; }

/* Carve: one pass left to right, like a blade cutting the letters out of the bar. */
:root[data-intro-fx="carve"] .intro__cuts { clip-path: inset(0 100% 0 0); animation: carve calc(1.15s * var(--fx-slow)) cubic-bezier(.65, 0, .3, 1) calc(.4s * var(--fx-slow)) forwards; }
@keyframes carve { to { clip-path: inset(0 0 0 0); } }

/* Split: the bar breaks into eight blocks that slide apart, then each block's cuts drop in top to bottom. */
:root[data-intro-fx="split"] .intro .blk, :root[data-intro-fx="split"] .intro .cutw { transform: translateX(var(--dx)); animation: unsplit calc(.8s * var(--fx-slow)) cubic-bezier(.7, 0, .2, 1) calc(.45s * var(--fx-slow)) forwards; }
:root[data-intro-fx="split"] .intro .cut { clip-path: inset(0 0 100% 0); animation: dropcut calc(.45s * var(--fx-slow)) cubic-bezier(.6, 0, .3, 1) calc((1.3s + var(--i) * .05s) * var(--fx-slow)) forwards; }
/* the real wordmark underneath would peek out past the compressed bar, so it stays hidden until Split is done */
:root[data-intro-fx="split"] .hero-wm > use { opacity: 0; animation: showfinal .01s linear calc(2.1s * var(--fx-slow)) forwards; }
@keyframes showfinal { to { opacity: 1; } }
@keyframes unsplit { to { transform: translateX(0); } }
@keyframes dropcut { to { clip-path: inset(0 0 0 0); } }

/* Chips: the cuts appear as chunky blocks in a shuffled order. (Pieces are ordinary content behind a
   static letter mask, because Chromium does not repaint a mask whose own contents animate.) */
.intro__chips { display: none; fill: var(--hero); }
:root[data-intro-fx="chips"] .intro__cuts { display: none; }
:root[data-intro-fx="chips"] .intro__chips, :root[data-intro-fx="chips"] .intro__letters { display: block; }
:root[data-intro-fx="chips"] .chip { opacity: 0; animation: chip .01s steps(1) calc(var(--d) * var(--fx-slow)) forwards; }
@keyframes chip { to { opacity: 1; } }

/* Steel, carved by hand: the bar is a blank. Work starts near the middle and spreads outward, several
   letters at once. Each outline appears as discrete chisel strokes (stepped, not a continuous line), drawn only
   outside the letters. The waste comes out as the real cut-out shapes (the O's counter, each notch, each gap),
   top to bottom within a letter, and each hole turns hero-coloured the moment its piece falls. */
.intro__scrap, .intro__trace, .intro__holes { display: none; }
:root[data-intro-fx="steel"] .intro__scrap, :root[data-intro-fx="steel"] .intro__trace, :root[data-intro-fx="steel"] .intro__holes { display: block; }
:root[data-intro-fx="steel"] .intro__cuts { display: none; }
:root[data-intro-fx="steel"] .intro__holes .hole { opacity: 0; animation: steelcut calc(.05s * var(--fx-slow)) linear calc((1.05s + var(--t) + var(--k) * .3s - var(--skip, 0s)) * var(--fx-slow)) forwards; }
@keyframes steelcut { to { opacity: 1; } }
:root[data-intro-fx="steel"] .scrap { fill: currentColor; transform-box: fill-box; transform-origin: center; animation: flake calc(1.15s * var(--fx-slow)) cubic-bezier(.55, 0, 1, .55) calc((1.05s + var(--t) + var(--k) * .3s - var(--skip, 0s)) * var(--fx-slow)) forwards; }
@keyframes flake {
  0%   { transform: translate(0, 0) rotate(0deg); }
  9%   { transform: translate(0, 0) rotate(calc(var(--rot, 0deg) * -0.12)); }   /* the piece loosens, no hop (Nicole, 10/21) */
  100% { transform: translate(var(--fx, 0px), 520px) rotate(var(--rot, 0deg)); }   /* then drops out of the frame, no fade */
}
.hero { overflow: clip; }                 /* falling pieces leave the frame at the bottom of the hero */
.hero-wm { overflow: visible; }           /* so they can fall past the bar first */
:root[data-intro-fx="steel"] .trace { fill: none; stroke: var(--hero); stroke-width: 3; stroke-linejoin: miter; stroke-dasharray: var(--len) var(--len); stroke-dashoffset: var(--len); animation: tracecut calc(1.15s * var(--fx-slow)) steps(8, end) calc((.5s + var(--t) - var(--skip, 0s)) * var(--fx-slow)) forwards, tracegone calc(.25s * var(--fx-slow)) linear calc((1.95s + var(--t) - var(--skip, 0s)) * var(--fx-slow)) forwards; }
@keyframes tracecut { to { stroke-dashoffset: 0; } }
@keyframes tracegone { to { opacity: 0; } }

/* Punch: each letter's cuts punch out from its centre, left to right, with a little overshoot. */
:root[data-intro-fx="punch"] .intro .cut, :root[data-intro-fx="punch"] .intro .gapcut { transform-box: fill-box; transform-origin: center; transform: scale(0); animation: punch calc(.55s * var(--fx-slow)) cubic-bezier(.3, 1.5, .5, 1) calc((.45s + var(--i) * .08s) * var(--fx-slow)) forwards; }
@keyframes punch { to { transform: scale(1); } }
/* Phones: the wordmark stacks (HOUSE over KEY) so it still commands the bottom of the screen. Same letterforms, only the line break changes. */
.wordmark-stack { display: none; }
@media (max-width: 640px) {
  .hero .wordmark--line { display: none; }
  .hero .wordmark-stack { display: block; }
  .hero .wordmark-stack .wordmark + .wordmark { margin-top: 5.5%; }
}

/* ---------- about ---------- */
.about { display: grid; gap: clamp(32px, 5vw, 80px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .about { grid-template-columns: 1.05fr 1fr; } }
.about .prose { max-width: 56ch; }

.duo { position: relative; aspect-ratio: 4 / 3; width: min(100%, 640px); margin-inline: auto; margin-bottom: 3.2rem; }
.duo__tint { position: absolute; inset: 12% 0 0 10%; background: var(--mint-tint); }
.duo__fig { position: absolute; width: 44%; margin: 0; }
.duo__fig--a { left: 2%; bottom: 0; }
.duo__fig--n { right: 6%; bottom: 14%; }
.duo__img { aspect-ratio: 3 / 4; overflow: hidden; background: var(--paper); }
.duo__fig img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.duo__fig figcaption { position: absolute; left: 0; right: 0; top: 100%; padding-top: .55rem; font-family: var(--font-cond); font-stretch: var(--stretch-cond); line-height: 1.15; }
.duo__fig figcaption b { display: block; font-weight: 700; font-size: clamp(.95rem, .85rem + .4vw, 1.2rem); }
.duo__fig figcaption span { display: block; font-size: clamp(.9rem, .8rem + .4vw, 1.1rem); opacity: .8; }

/* Nicole's photo is a looser crop than the other two, so it is zoomed in to match their head size
   (their source files are tight crops; nothing fuller exists on file). */
.portrait img.zoom { transform: scale(1.28); transform-origin: 50% 24%; }     /* Nicole: a touch less now that Anthony's source is a wider crop */
.portrait img.zoom-a { transform: scale(1.12); transform-origin: 50% 45%; }  /* Anthony: the wider headshot, nudged in so his face sits at Nicole's proportion */
.duo__fig img.zoom { transform: scale(1.3); transform-origin: 50% 22%; }

/* portraits: the photo as it is, black and white, no tint (Nicole, 10/19) */
.duo__fig img, .portrait img { filter: grayscale(1); }

/* ---------- logos ---------- */
.logos { padding-top: clamp(48px, 7vw, 88px); }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }   /* spam trap on the contact form: bots fill it, people never see it */
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 115s linear infinite; }   /* slowed on 10/20 twice and again 10/21 (Nicole) */
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__set { display: flex; align-items: center; flex: none; gap: clamp(36px, 3.6vw, 60px); padding-right: clamp(36px, 3.6vw, 60px); }
/* one black file per brand (pitch-deck assets plus three marks cut from Matt's strip); three heights so wordmarks and square marks carry similar weight */
.marquee img { width: auto; flex: none; mix-blend-mode: multiply; }
.logo--word { height: clamp(13px, 1.15vw, 18px); }
.logo--mid  { height: clamp(19px, 1.7vw, 27px); }
.logo--mark { height: clamp(27px, 2.4vw, 38px); }
@keyframes marquee { to { transform: translateX(-25%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .marquee { overflow-x: auto; mask-image: none; -webkit-mask-image: none; }
}
.logos__cap { margin-top: 1rem; text-align: right; color: var(--ink-2); }

/* ---------- bands (statement blocks with the letterform cuts) ---------- */
.band { position: relative; overflow: hidden; padding-block: clamp(48px, 5.7vw, 84px) clamp(64px, 9.5vw, 140px); }
.band__art { position: absolute; inset: 0; z-index: 0; }
.band__art svg { width: 100%; height: 100%; }
.band > .container { position: relative; z-index: 1; color: var(--ink); }
.band--blush .band__art { color: var(--blush); }
.band--mint  .band__art { color: var(--mint-tint); }

/* ---------- what we provide ---------- */
.provide__head { display: grid; gap: clamp(20px, 3vw, 40px); grid-template-columns: minmax(0, 1fr); }
.rail-nav { display: none; gap: 8px; flex: none; }
@media (min-width: 900px) {
  .provide__head { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "intro nav"; column-gap: clamp(32px, 5vw, 80px); align-items: end; }
  .provide__intro { grid-area: intro; }
  .rail-nav { display: flex; grid-area: nav; justify-self: end; align-self: end; }
}
/* What we provide page: the chooser above the tiles, the 90-day flow, the questions (Nicole, 10/20) */
.ways { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); margin-top: clamp(24px, 3vw, 40px); }
@media (min-width: 720px) { .ways { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.way { display: flex; flex-direction: column; gap: .6rem; text-align: left; padding: clamp(18px, 2vw, 26px); background: var(--paper); box-shadow: inset 0 0 0 2px var(--ink); color: var(--ink); cursor: pointer; font-family: var(--font-cond); font-stretch: var(--stretch-cond); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.way:hover { transform: translate(-3px, -3px); box-shadow: inset 0 0 0 2px var(--ink), 6px 6px 0 var(--ink); }
.way__if { font-size: clamp(1.1rem, .95rem + .6vw, 1.45rem); line-height: 1.15; font-weight: 700; }
.way__go { font-size: .85rem; letter-spacing: .07em; text-transform: uppercase; font-weight: 700; margin-top: auto; }
.flow--three { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .flow.flow--three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.faq { margin-top: clamp(20px, 2.5vw, 32px); border-top: 1.5px solid var(--ink); font-family: var(--font-cond); font-stretch: var(--stretch-cond); }
.faq details { border-bottom: 1.5px solid var(--ink); }
.faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: clamp(16px, 1.8vw, 22px) 0; font-weight: 700; text-transform: uppercase; font-size: clamp(1.05rem, .9rem + .6vw, 1.45rem); line-height: 1.1; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-size: 1.1rem; font-weight: 700; transition: transform .3s var(--ease); }
.faq details[open] summary::after { content: "\2013"; }
.faq p { margin: 0 0 clamp(16px, 1.8vw, 22px); max-width: 64ch; font-size: clamp(1.05rem, .9rem + .5vw, 1.3rem); line-height: 1.3; }

/* What we provide: three stacked tiles, details fold open on click (Nicole, 10/19). Deliberately not a carousel: the How we work rail below is one. */
.offers { display: grid; gap: 12px; margin-top: clamp(28px, 3.5vw, 48px); }
.offer { color: var(--ink); }
.offer--chartreuse { background: var(--chartreuse); }
.offer--mint { background: var(--mint); }
.offer--coral { background: var(--coral); }
.offer__head {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(16px, 2.4vw, 32px);
  width: 100%; text-align: left; padding: clamp(20px, 2.4vw, 32px) clamp(20px, 2.6vw, 36px); cursor: pointer; color: inherit;
  font-family: var(--font-cond); font-stretch: var(--stretch-cond);
}
.offer__icon { width: clamp(36px, 3.4vw, 52px); height: auto; color: var(--ink); }
.offer__titles { display: flex; flex-direction: column; gap: .2em; min-width: 0; }
.offer__title { font-weight: 700; text-transform: uppercase; font-size: clamp(1.2rem, .95rem + 1vw, 1.9rem); line-height: 1.05; }
.offer__line { font-size: clamp(1rem, .9rem + .45vw, 1.3rem); line-height: 1.2; }
.offer__toggle { position: relative; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); flex: none; transition: transform .35s var(--ease); }
.offer__toggle i { position: absolute; left: 50%; top: 50%; width: 18px; height: 2.5px; background: var(--paper); translate: -50% -50%; transition: rotate .35s var(--ease); }
.offer__toggle i + i { rotate: 90deg; }
.offer__head[aria-expanded="true"] .offer__toggle i + i { rotate: 0deg; }
.offer__head:hover .offer__toggle { transform: scale(1.08); }
.offer__body { padding: 0 clamp(20px, 2.6vw, 36px) clamp(24px, 2.8vw, 40px); font-family: var(--font-cond); font-stretch: var(--stretch-cond); animation: fade .3s var(--ease) both; }
@media (min-width: 720px) { .offer__body { padding-left: calc(clamp(20px, 2.6vw, 36px) + clamp(36px, 3.4vw, 52px) + clamp(16px, 2.4vw, 32px)); } }   /* text lines up with the title, past the icon */
.offer__body p, .offer__body ul { font-size: clamp(1.05rem, .85rem + .7vw, 1.4rem); line-height: 1.22; }
.offer__body p { margin-bottom: 1rem; max-width: 72ch; }
.offer__body ul { margin: 0; padding-left: 1.05em; }
.offer__body li { margin: .32em 0; break-inside: avoid; }
@media (min-width: 720px) { .offer__body--cols ul { columns: 2; column-gap: 2.5rem; max-width: 72ch; } }

/* How we work on the home page (Anthony, 10/19): a carousel of wide panels, one tool per panel, the whole mock shown
   large with its caption beside it, on a tinted band so it reads differently from the colour cards above (Nicole, 10/19). */
.how { background: var(--paper); overflow: clip; }   /* back on paper (Nicole, 10/19): the tiles above are colour now, and the mint band below needs its contrast */
/* the dots and the button sit after the pinned block, so the pin is only the head and the rail and never crowds the header;
   the button arrives once the slide is done, with light green under it before the team section (Nicole, 10/19) */
.how .provide__pin { padding-bottom: 12px; }
.how.provide--pinned { padding-bottom: clamp(88px, 10vw, 150px); }
.how.provide--pinned .how__foot { margin-top: clamp(28px, 3.5vw, 48px); }
.how__head { display: grid; gap: clamp(20px, 3vw, 40px); grid-template-columns: minmax(0, 1fr); }
.how__head .prose { max-width: 60ch; }
@media (min-width: 900px) {
  .how__head { grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: clamp(32px, 5vw, 80px); }
  .rail-nav--how { display: flex; }
}
.rail.rail--how { grid-auto-columns: min(92vw, calc(var(--rail-w) * .86)); }
.shot { display: grid; gap: clamp(18px, 2.4vw, 36px); grid-template-columns: minmax(0, 1fr); background: var(--paper); box-shadow: inset 0 0 0 2px var(--ink); padding: clamp(18px, 2.4vw, 36px); scroll-snap-align: start; }
@media (min-width: 900px) { .shot { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); align-items: center; } }
.shot__img { padding: 0 8px 8px 0; }
.shot__img img { width: 100%; height: auto; display: block; }
.shot__body { font-family: var(--font-cond); font-stretch: var(--stretch-cond); }
.shot h3 { font-weight: 700; text-transform: uppercase; font-size: clamp(1.35rem, 1rem + 1.2vw, 2.1rem); line-height: 1.05; margin-bottom: .6rem; text-wrap: balance; }
.shot p { font-size: clamp(1.05rem, .9rem + .55vw, 1.35rem); line-height: 1.25; }
.how__foot { margin-top: clamp(32px, 4vw, 56px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.dots { display: flex; gap: 8px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--ink); opacity: .22; transition: opacity .25s, transform .25s; }
.dots i.on { opacity: 1; transform: scale(1.25); }
.btn--lg { font-size: clamp(1.05rem, .95rem + .6vw, 1.4rem); padding: 1.15em 2.1em; gap: .8em; }
/* the door to the full page must not be missed: solid ink, chartreuse arrow, hard shadow on hover */
.how .btn--lg { background: var(--ink); color: var(--paper); border-color: var(--ink); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.how .btn--lg svg { color: var(--chartreuse); }
.how .btn--lg:hover { background: var(--ink); color: var(--paper); transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--chartreuse); }

.rail-nav button {
  width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: var(--paper);
  display: grid; place-items: center; transition: transform .25s var(--ease), opacity .2s;
}
.rail-nav button:hover { transform: scale(1.08); }
.rail-nav button:disabled { opacity: .25; cursor: default; transform: none; }

.rail {
  --inset: max(var(--gutter), calc((100vw - var(--max)) / 2));
  --rail-w: min(100vw - 2 * var(--gutter), var(--max));
  display: grid; grid-auto-flow: column; grid-auto-columns: min(88vw, calc((var(--rail-w) - 7px) / 1.5)); gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: clamp(24px, 3vw, 40px) var(--inset) 12px; scroll-padding-inline: var(--inset);
  scrollbar-width: none; cursor: grab;
}
.rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.provide--pinned { padding-block: 0; }
.provide--pinned .provide__stage { height: calc(max(100svh, var(--pin-h, 100svh)) + var(--shift, 0px)); }
.provide--pinned .provide__pin {
  position: sticky; top: var(--pin-top, 0px); min-height: 100svh; overflow: clip;
  display: flex; flex-direction: column; justify-content: center; padding-top: var(--header-h); padding-bottom: 12px;
}
.provide--pinned .rail {
  overflow: visible; scroll-snap-type: none; cursor: default; width: max-content; min-width: 100%;
  transform: translate3d(var(--x, 0px), 0, 0); will-change: transform;
}
.rail::-webkit-scrollbar { display: none; }
.card {
  scroll-snap-align: start; padding: clamp(24px, 2.5vw, 36px); min-height: 0;
  font-family: var(--font-cond); font-stretch: var(--stretch-cond);
}
.card--chartreuse { background: var(--chartreuse); }
.card--mint { background: var(--mint); }
.card--coral { background: var(--coral); }
.card__icon { width: clamp(44px, 4.2vw, 60px); height: auto; margin-bottom: clamp(1rem, 1.6vw, 1.5rem); color: var(--ink); }
.card h3 {
  font-weight: 700; text-transform: uppercase; font-size: clamp(1.15rem, .9rem + .95vw, 1.75rem);
  line-height: 1.1; letter-spacing: .005em; margin-bottom: .9rem;
}
.card h3 small { display: block; font-weight: 400; text-transform: none; font-size: .78em; margin-top: .3em; }
.card p, .card ul { font-size: clamp(1.05rem, .85rem + .7vw, 1.4rem); line-height: 1.22; }
.card p { margin-bottom: 1rem; max-width: 72ch; }
.card ul { margin: 0; padding-left: 1.05em; }
.card li { margin: .32em 0; break-inside: avoid; }
.card--cols ul { columns: 2; column-gap: 2.5rem; }
@media (min-width: 1200px) { .card--cols ul { columns: 3; column-gap: 2rem; } }
@media (max-width: 520px) { .card--cols ul { columns: 1; } }

/* ---------- team ---------- */
.team {
  display: grid; gap: clamp(28px, 4vw, 56px) clamp(20px, 3vw, 40px);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: clamp(20px, 3vw, 36px);
}
.person { text-align: center; font-family: var(--font-cond); font-stretch: var(--stretch-cond); }
.portrait {
  width: min(100%, 250px); aspect-ratio: 1; border-radius: 50%; background: var(--mint);
  overflow: hidden; margin: 0 auto 1.1rem; position: relative; isolation: isolate;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; }
.person__name { font-weight: 700; font-size: 1.3rem; line-height: 1.1; }
.person__role { font-size: 1.15rem; line-height: 1.2; margin-top: .25rem; }
.person__actions { display: flex; align-items: center; justify-content: center; gap: .75rem; margin-top: .9rem; }
.person__actions .bio-btn { display: none !important; }   /* the bios show in full under the role instead (Nicole, 10/20) */
.person__bio { max-width: 34ch; margin: .9rem auto 0; font-size: 1.1rem; line-height: 1.3; }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.icon { width: 16px; height: 16px; }
.icon-link { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; transition: background .2s; }
.icon-link:hover { background: rgba(0, 0, 0, .08); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em; text-decoration: none;
  font-family: var(--font-cond); font-stretch: var(--stretch-cond);
  font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .95rem;
  padding: .85em 1.5em; border: 1.5px solid var(--ink); color: var(--ink); background: transparent;
  transition: background .25s, color .25s, transform .25s var(--ease);
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn--sm { font-size: .78rem; padding: .6em 1em; }
.btn[aria-expanded="true"] { background: var(--ink); color: var(--paper); }

/* ---------- contact ---------- */
.contact { background: var(--chartreuse); }
.form { max-width: 760px; margin-top: clamp(24px, 3vw, 40px); font-family: var(--font-cond); font-stretch: var(--stretch-cond); }
.field { display: block; margin-top: 1.35rem; }
.field span { display: block; font-size: 1.1rem; margin-bottom: .45rem; }
.field input, .field textarea {
  width: 100%; background: transparent; border: 1.5px solid var(--ink); color: var(--ink); border-radius: 0;
  font: inherit; font-size: clamp(1.15rem, 1rem + .5vw, 1.5rem); padding: .65em .8em;
  transition: background .25s, box-shadow .2s;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(0, 0, 0, .42); }
.field input:focus, .field textarea:focus { outline: none; background: rgba(255, 255, 255, .38); box-shadow: inset 0 0 0 1.5px var(--ink); }
.field textarea { min-height: 200px; resize: vertical; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px var(--coral); border-color: var(--coral); }
.form__actions { margin-top: 1.5rem; }
.btn--send { font-size: 1.05rem; padding: .9em 1.7em; }
.btn--send.is-ready { background: var(--ink); color: var(--chartreuse); }
.btn--send.is-ready:hover { color: var(--paper); }
.btn--send.is-busy { opacity: .6; pointer-events: none; }
.form__error { margin-top: .9rem; color: #7a1f10; }
.form__foot { margin-top: 1.1rem; color: var(--ink-2); max-width: 60ch; }
.form__done { display: none; margin-top: 1.5rem; font-size: clamp(1.15rem, 1rem + .6vw, 1.6rem); line-height: 1.3; max-width: 34ch; animation: fade .4s var(--ease) both; }
.form__done:focus { outline: none; }
.form.is-done form { display: none; }
.form.is-done .form__done { display: block; }

/* ---------- footer ---------- */
.footer { padding: clamp(56px, 8vw, 112px) 0 clamp(28px, 4vw, 48px); }
.footer__row {
  display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center;
  margin-top: clamp(24px, 4vw, 48px);
}
.footer__left, .footer__right { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.footer__social { display: inline-flex; gap: .15rem; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer .icon-link { width: 28px; height: 28px; }
.footer .icon { width: 14px; height: 14px; }

/* ---------- staging-only UI (toolbar, edit mode) ---------- */
.stage { position: fixed; left: 14px; bottom: 14px; z-index: 80; font: 600 12px/1 var(--font-text); letter-spacing: .03em; }
.stage__toggle {
  background: var(--ink); color: var(--paper); padding: 10px 13px; border-radius: 999px;
  text-transform: uppercase; box-shadow: 0 6px 20px rgba(0, 0, 0, .2);
}
.stage__panel {
  display: none; position: absolute; left: 0; bottom: 46px; width: 290px;
  background: var(--ink); color: var(--paper); padding: 14px; border-radius: 12px; box-shadow: 0 12px 36px rgba(0, 0, 0, .3);
}
.stage.is-open .stage__panel { display: block; }
.stage__group { margin-bottom: 12px; }
.stage__group--last { margin-bottom: 0; }
.stage__label { opacity: .6; text-transform: uppercase; font-size: 10px; margin-bottom: 7px; }
.stage__opts, .stage__actions { display: flex; flex-wrap: wrap; gap: 6px; }
.stage__opts button, .stage__actions button {
  border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; padding: 7px 10px; font: inherit; color: inherit; transition: background .15s;
}
.stage__opts button:hover, .stage__actions button:hover { background: rgba(255, 255, 255, .12); }
.stage__opts button[aria-pressed="true"] { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.stage__link { opacity: .6; text-decoration: underline; }
.stage__link:hover { opacity: 1; }
@media (max-width: 640px) {
  .stage { left: auto; right: 12px; bottom: 12px; }
  .stage__panel { left: auto; right: 0; width: min(290px, calc(100vw - 24px)); }
}

body.editing [contenteditable="true"] { outline: 1px dashed rgba(0, 0, 0, .45); outline-offset: 3px; border-radius: 2px; cursor: text; }
body.editing .menu { opacity: 1; transform: none; visibility: visible; }   /* the menu stays open so its labels can be edited too */
body.editing [contenteditable="true"]:hover { background: rgba(215, 217, 84, .25); }
body.editing [contenteditable="true"]:focus { outline: 2px solid var(--ink); background: rgba(252, 252, 252, .6); }
.ebar {
  position: fixed; top: calc(var(--header-h) + 10px); left: 50%; translate: -50% 0; z-index: 90;
  display: flex; align-items: center; gap: .6rem; max-width: min(92vw, 720px);
  background: var(--ink); color: var(--paper); padding: .55rem .7rem; border-radius: 10px;
  font: 500 .8rem/1.3 var(--font-text); box-shadow: 0 8px 24px rgba(0, 0, 0, .3);
}
.ebar[hidden] { display: none; }
.ebar button { background: var(--chartreuse); color: var(--ink); border-radius: 7px; padding: .45rem .7rem; font-weight: 700; font-size: .76rem; white-space: nowrap; }
.ebar button.ghost { background: rgba(255, 255, 255, .16); color: var(--paper); }
.etext { position: fixed; left: 50%; bottom: 70px; translate: -50% 0; z-index: 91; width: min(720px, 90vw); }
.etext[hidden] { display: none; }
.etext .cap { display: inline-block; background: var(--ink); color: var(--paper); padding: .35rem .6rem; border-radius: 8px; font: 500 .72rem/1 var(--font-text); margin-bottom: .4rem; }
.etext textarea {
  width: 100%; height: 34vh; border-radius: 10px; border: 1px solid var(--ink-2); padding: .8rem;
  font: .78rem/1.5 ui-monospace, Menlo, monospace; background: #111; color: #eee;
}

/* ======================================================================
   Sub-pages (How we work)
   ====================================================================== */
.section--first { padding-top: calc(var(--header-h) + clamp(40px, 6vw, 80px)); }   /* a page with no hero: clear the fixed header */
/* Privacy and Terms (10/21): long reading text, so the regular cut at body size on a narrow measure */
.legal .container { max-width: 760px; }
.legal__date { margin: -.4rem 0 2.2rem; opacity: .7; }
.legal__body { font-family: var(--font-text); font-size: clamp(1rem, .95rem + .2vw, 1.125rem); line-height: 1.6; }
.legal__body h2 { font-family: var(--font-cond); font-stretch: var(--stretch-cond); font-weight: 700; font-size: clamp(1.25rem, 1.1rem + .5vw, 1.6rem); line-height: 1.1; margin: 2.2em 0 .55em; }
.legal__body p + p, .legal__body ul + p, .legal__body p + ul { margin-top: .8em; }
.legal__body ul { margin: 0; padding-left: 1.2em; }
.legal__body li + li { margin-top: .45em; }
.legal__body a { text-underline-offset: .15em; }
.page-hero { background: var(--hero); padding: calc(var(--header-h) + clamp(40px, 7vw, 96px)) 0 clamp(48px, 7vw, 96px); }
.page-hero .title { font-size: clamp(2.4rem, 1.6rem + 3.4vw, 4.6rem); max-width: 14ch; margin-bottom: .5em; }
.page-hero .prose { max-width: 48ch; }
.page-hero .eyebrow { margin-bottom: 1.4rem; }
.page-hero--center { text-align: center; padding-top: calc(var(--header-h) + clamp(56px, 9vw, 128px)); padding-bottom: clamp(56px, 9vw, 128px); }
.page-hero--center .title { margin-inline: auto; max-width: none; font-size: clamp(2.1rem, 1.4rem + 3.4vw, 4.6rem); }
.nowrap { white-space: nowrap; }
.page-hero--center .prose { margin-inline: auto; max-width: 52ch; }
.page-hero--center .eyebrow { display: inline-flex; }
.rules--two { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.rule ul { margin: .6rem 0 0; padding-left: 1.05em; font-size: clamp(1rem, .9rem + .5vw, 1.3rem); line-height: 1.25; }
.rule li { margin: .4em 0; }
body.page--sub .site-header.is-scrolled { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
body.page--sub.is-past-hero .site-header.is-scrolled { background: color-mix(in srgb, var(--paper) 90%, transparent); box-shadow: 0 1px 0 rgba(0,0,0,.08); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }

/* chapter: number + heading on the left, prose on the right */
.chapter { display: grid; gap: clamp(20px, 3vw, 48px); grid-template-columns: 1fr; align-items: start; padding-block: clamp(40px, 5vw, 72px); border-top: 1.5px solid var(--ink); }
.chapter:first-of-type { border-top: 0; }
@media (min-width: 900px) { .chapter { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.chapter__num { font-family: var(--font-cond); font-stretch: var(--stretch-cond); font-weight: 700; font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .6rem; display: inline-flex; align-items: center; gap: .55em; }
.chapter__num::before { content: ""; width: .72em; height: .72em; border-radius: 50%; background: var(--dot, var(--ink)); }
.chapter .title { margin-bottom: .5em; }
.chapter__text .prose { max-width: 60ch; }
.chapter__text ul { font-family: var(--font-cond); font-stretch: var(--stretch-cond); font-size: clamp(1.05rem, .9rem + .7vw, 1.5rem); line-height: 1.25; padding-left: 1.05em; margin: .9rem 0 0; max-width: 60ch; }
.chapter__text li { margin: .35em 0; }
.chapter__text li b { font-weight: 700; }

/* ----- generic UI illustrations (no client material) ----- */
.ui { --ui-bg: var(--paper); font-family: var(--font-text); color: var(--ink); background: var(--ui-bg); border: 1.5px solid var(--ink); border-radius: 10px; overflow: hidden; box-shadow: 10px 10px 0 var(--ui-shadow, var(--mint-tint)); }
.ui--mint { --ui-shadow: var(--mint); }
.ui--chartreuse { --ui-shadow: var(--chartreuse); }
.ui--coral { --ui-shadow: var(--coral); }
.ui--blush { --ui-shadow: var(--blush); }
.ui__bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1.5px solid var(--ink); font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; font-weight: 700; }
.ui__bar .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ink); opacity: .25; }
.ui__bar .dot + .dot { margin-left: -3px; }
.ui__bar .addr { margin-left: auto; font-weight: 400; letter-spacing: .02em; text-transform: none; opacity: .6; }
.ui__body { padding: 16px; }
.ui__grid { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ui__card { border: 1.5px solid var(--ink); border-radius: 8px; padding: 12px; font-size: .78rem; line-height: 1.3; background: var(--paper); }
.ui__card h4 { margin: 0 0 6px; font-family: var(--font-cond); font-stretch: var(--stretch-cond); font-weight: 700; font-size: .95rem; text-transform: uppercase; letter-spacing: .02em; }
.ui__card p { margin: 0; opacity: .75; }
/* the marketing brain, in the short version: copy beside its diagram, above the systems/people tiles */
.brain { display: grid; gap: clamp(24px, 3vw, 48px); grid-template-columns: minmax(0, 1fr); align-items: center; margin-block: clamp(32px, 4vw, 56px); }
@media (min-width: 900px) { .brain { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.brain__text h3 { font-family: var(--font-cond); font-stretch: var(--stretch-cond); font-weight: 700; text-transform: uppercase; font-size: clamp(1.4rem, 1rem + 1.4vw, 2.3rem); line-height: 1.05; margin-bottom: .6em; }
.brain__text p { font-size: clamp(1.05rem, .95rem + .45vw, 1.35rem); line-height: 1.35; max-width: 56ch; }
.brain__text p + p { margin-top: .9em; }
/* the marketing-memory diagram: inputs flow into one core, the core feeds the work */
.mem { display: grid; grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1.25fr) 28px minmax(0, 1fr); gap: 6px; align-items: center; }
.mem__col { display: flex; flex-direction: column; gap: 6px; }
.mem__col .ui__h { margin-bottom: 2px; }
.mem__card { border: 1.5px solid var(--ink); border-radius: 8px; padding: 7px 9px; font-size: .72rem; line-height: 1.2; background: var(--paper); }
.mem__card b { display: block; font-weight: 700; }
.mem__card small { display: block; font-size: .62rem; opacity: .65; margin-top: 1px; }
.mem__arrows { width: 100%; height: 100%; min-height: 160px; color: var(--ink); opacity: .7; }
.mem__core { border: 2px solid var(--ink); border-radius: 12px; padding: 12px 12px 10px; background: var(--blush); text-align: center; }
.mem__core .ui__h { margin-bottom: 8px; }
.mem__tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.mem__tags .chip { background: var(--paper); margin: 0; }
.mem__note { font-size: .7rem; line-height: 1.25; margin: 10px 0 0; opacity: .8; }
@media (max-width: 480px) {
  .mem { grid-template-columns: 1fr; }
  .mem__arrows { display: none; }
  .mem__col { flex-direction: row; flex-wrap: wrap; }
  .mem__col .ui__h { width: 100%; }
  .mem__card { flex: 1 1 45%; }
}
.chip { display: inline-block; font: 700 .62rem/1 var(--font-text); letter-spacing: .06em; text-transform: uppercase; padding: 5px 8px; border-radius: 999px; border: 1.5px solid var(--ink); margin-top: 8px; }
.chip--ok { background: var(--mint); }
.chip--review { background: var(--chartreuse); }
.chip--draft { background: transparent; }
.chip--stamp { background: var(--ink); color: var(--paper); }
.ui__row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid rgba(0,0,0,.12); font-size: .82rem; }
.ui__row:last-child { border-bottom: 0; }
.ui__row b { font-family: var(--font-cond); font-stretch: var(--stretch-cond); font-weight: 700; font-size: 1rem; text-transform: uppercase; }
.meter { flex: 1; height: 10px; background: rgba(0,0,0,.08); border-radius: 999px; overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--ink); border-radius: 999px; width: var(--w, 50%); }
.ui__doc { position: relative; padding: 18px 18px 18px 18px; font-family: var(--font-cond); font-stretch: var(--stretch-cond); }
.ui__doc h4 { margin: 0 0 8px; font-weight: 700; font-size: 1.1rem; text-transform: uppercase; }
.ui__doc .ln { height: 9px; background: rgba(0,0,0,.14); border-radius: 4px; margin: 7px 0; }
.ui__doc .ln.short { width: 62%; }
.ui__doc .ln.mid { width: 84%; }
.ui__doc .hl { background: var(--chartreuse); }
.pin { position: absolute; width: 22px; height: 22px; border-radius: 50% 50% 50% 0; background: var(--coral); border: 1.5px solid var(--ink); font: 700 .66rem/19px var(--font-text); text-align: center; transform: rotate(-45deg); }
.pin span { display: inline-block; transform: rotate(45deg); }
.ui__comments { border-left: 1.5px solid var(--ink); padding: 12px 14px; font-size: .78rem; line-height: 1.35; display: flex; flex-direction: column; gap: 10px; }
.ui__comment { display: grid; grid-template-columns: 22px 1fr; gap: 8px; align-items: start; }
.ui__comment .who { width: 22px; height: 22px; border-radius: 50%; background: var(--mint); border: 1.5px solid var(--ink); font: 700 .6rem/19px var(--font-text); text-align: center; }
.ui__comment .who--c { background: var(--coral); }
.ui__comment .who--y { background: var(--chartreuse); }
.ui__comment small { display: block; opacity: .6; margin-top: 2px; }
.ui__split { display: grid; grid-template-columns: 1.4fr 1fr; }
@media (max-width: 520px) { .ui__split { grid-template-columns: 1fr; } .ui__comments { border-left: 0; border-top: 1.5px solid var(--ink); } }
.ui__log { list-style: none; margin: 0; padding: 0; font-size: .8rem; line-height: 1.35; }
.ui__log li { display: grid; grid-template-columns: 74px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(0,0,0,.12); }
.ui__log li:last-child { border-bottom: 0; }
.ui__log time { font: 700 .66rem/1.4 var(--font-text); letter-spacing: .04em; text-transform: uppercase; opacity: .7; }
.ui__log .src { display: inline-block; margin-top: 4px; font: .66rem/1.4 ui-monospace, Menlo, monospace; opacity: .65; }
.tag { display: inline-block; font: 700 .6rem/1 var(--font-text); letter-spacing: .06em; text-transform: uppercase; padding: 4px 6px; border-radius: 4px; background: var(--blush); border: 1px solid var(--ink); margin-left: 6px; vertical-align: middle; }
.tag--ok { background: var(--mint); }

/* flow: a week with House Key, as a chunky strip */
.flow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: clamp(24px, 3vw, 40px); }
@media (min-width: 640px) { .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); } }      /* tablets: two rows of three, not four and two */
@media (min-width: 1024px) { .flow { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.flow__step { background: var(--paper); border: 1.5px solid var(--ink); padding: 16px 14px 14px; min-height: 150px; display: flex; flex-direction: column; font-family: var(--font-cond); font-stretch: var(--stretch-cond); position: relative; }
.flow__step i { display: block; width: 34px; height: 34px; background: var(--ink); margin-bottom: 12px; }
.flow__step i.o { border-radius: 0; -webkit-mask: radial-gradient(circle at 50% 50%, transparent 6px, #000 6.5px); mask: radial-gradient(circle at 50% 50%, transparent 6px, #000 6.5px); }
.flow__step i.k { clip-path: polygon(0 0, 100% 0, 100% 30%, 60% 50%, 100% 70%, 100% 100%, 0 100%); }
.flow__step i.s { clip-path: polygon(0 0, 42% 0, 64% 100%, 0 100%); }
.flow__step i.y { clip-path: polygon(0 0, 100% 0, 100% 100%, 60% 100%, 100% 45%, 50% 45%, 0 100%); }
.flow__step b { font-weight: 700; text-transform: uppercase; font-size: 1rem; line-height: 1.1; }
.flow__step span { font-size: .95rem; line-height: 1.25; margin-top: 6px; opacity: .85; }
.flow__step em { font-style: normal; margin-top: auto; padding-top: 10px; font: 700 .62rem/1 var(--font-text); letter-spacing: .06em; text-transform: uppercase; opacity: .6; }
.flow__step--together { background: var(--mint); }   /* colour = who: mint together, chartreuse your move, paper us (Nicole, 10/20) */
.flow__step--you { background: var(--chartreuse); }
.flow__key { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 1.2rem; font: 700 .72rem/1 var(--font-text); letter-spacing: .06em; text-transform: uppercase; opacity: .75; }
.flow__swatch { display: inline-block; width: 14px; height: 14px; border: 1.5px solid var(--ink); background: var(--paper); margin-right: 6px; vertical-align: -2px; }
.flow__swatch--you { background: var(--chartreuse); }
.flow__swatch--together { background: var(--mint); }
@media (max-width: 639px) {   /* phones: the week is one line you scroll along */
  .flow:not(.flow--three) { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; padding-bottom: 6px; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .flow:not(.flow--three)::-webkit-scrollbar { display: none; }
  .flow:not(.flow--three) .flow__step { flex: 0 0 72vw; scroll-snap-align: start; }
}
/* the six chapters are a tour: a row of tabs, one chapter showing at a time */
.tabs { display: flex; gap: 8px; margin-top: clamp(20px, 2.5vw, 32px); overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; padding: .7em 1.1em; border: 1.5px solid var(--ink); background: var(--paper); color: var(--ink); cursor: pointer; font-family: var(--font-cond); font-stretch: var(--stretch-cond); font-weight: 700; text-transform: uppercase; font-size: .9rem; letter-spacing: .05em; transition: background .2s, color .2s; }
.tab:hover { background: var(--mint-tint); }
.tab.is-on { background: var(--ink); color: var(--paper); }
#tools .chapter { border-top: 0; padding-top: clamp(28px, 3.5vw, 48px); padding-bottom: clamp(16px, 2vw, 28px); }
#tools .chapter[hidden] { display: none; }


/* principles grid */
.rules { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: clamp(24px, 3vw, 40px); }
.rule { padding: clamp(20px, 2.4vw, 30px); font-family: var(--font-cond); font-stretch: var(--stretch-cond); }
.rule--mint { background: var(--mint); } .rule--chartreuse { background: var(--chartreuse); } .rule--coral { background: var(--coral); } .rule--blush { background: var(--blush); } .rule--tint { background: var(--mint-tint); }
.rule h3 { margin: 0 0 .5rem; font-weight: 700; text-transform: uppercase; font-size: clamp(1.1rem, .9rem + .8vw, 1.5rem); line-height: 1.1; }
.rule p { margin: 0; font-size: clamp(1rem, .9rem + .5vw, 1.3rem); line-height: 1.25; }

.page-cta { background: var(--mint); }
.page-cta .title { max-width: 18ch; }
/* the contact form sits to the right of the copy (Nicole, 10/19) */
/* contact layouts on both pages: copy on the left, the form on the right, name and email on one row (Nicole, 10/19) */
.cta-grid { display: grid; gap: clamp(28px, 4vw, 56px); grid-template-columns: minmax(0, 1fr); }
.cta-grid .form { max-width: none; margin-top: 0; }
.cta-grid form > :first-child, .cta-grid .form__row .field { margin-top: 0; }
.cta-grid .field textarea { min-height: 150px; }
.form__row { display: grid; gap: 0 16px; grid-template-columns: minmax(0, 1fr); }
@media (max-width: 719px) { .form__row .field + .field { margin-top: 1.35rem; } }
@media (min-width: 720px) { .form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.page-cta .btn--send.is-ready { color: var(--mint); }
.page-cta .btn--send.is-ready:hover { color: var(--paper); }
@media (min-width: 900px) {
  .cta-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); column-gap: clamp(48px, 7vw, 120px); align-items: start; }
  .cta-grid .form { margin-top: .4rem; }
}

/* ----- how-we-work: more generic UI pieces ----- */
.ui__tabs { display: flex; gap: 14px; padding: 0 14px; border-bottom: 1.5px solid var(--ink); font: 700 .66rem/1 var(--font-text); letter-spacing: .06em; text-transform: uppercase; }
.ui__tabs span { padding: 10px 0; opacity: .5; }
.ui__tabs span.on { opacity: 1; box-shadow: inset 0 -3px 0 var(--ink); }
.ui__cols { display: grid; gap: 14px; grid-template-columns: 1fr 1.25fr; }
@media (max-width: 560px) { .ui__cols { grid-template-columns: 1fr; } }
.ui__h { font: 700 .66rem/1 var(--font-text); letter-spacing: .06em; text-transform: uppercase; margin: 0 0 8px; opacity: .7; }
.todo { list-style: none; margin: 0 0 14px; padding: 0; font-size: .78rem; line-height: 1.3; }
.todo li { display: grid; grid-template-columns: 14px 1fr; gap: 8px; padding: 5px 0; align-items: start; }
.todo li i { width: 12px; height: 12px; border: 1.5px solid var(--ink); margin-top: 2px; }
.todo li i.done { background: var(--ink); }
.todo li small { display: block; opacity: .6; }
.ws { border: 1.5px solid var(--ink); border-radius: 8px; padding: 10px 12px; margin-bottom: 10px; font-size: .76rem; background: var(--paper); }
.ws__top { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.ws__num { width: 20px; height: 20px; border-radius: 50%; background: var(--ink); color: var(--paper); font: 700 .62rem/20px var(--font-text); text-align: center; }
.ws__top b { font-family: var(--font-cond); font-stretch: var(--stretch-cond); font-weight: 700; font-size: .95rem; text-transform: uppercase; }
.ws__top .chip { margin: 0 0 0 auto; }
.tl { display: flex; align-items: center; gap: 0; }
.tl i { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--paper); flex: none; }
.tl i.done { background: var(--ink); }
.tl i.now { background: var(--chartreuse); }
.tl s { flex: 1; height: 1.5px; background: var(--ink); text-decoration: none; opacity: .4; }
.tl s.done { opacity: 1; }
.tl-labels { display: flex; justify-content: space-between; font-size: .62rem; opacity: .65; margin-top: 5px; }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 10px 0 12px; }
.thumb { position: relative; aspect-ratio: 4 / 3; border: 1.5px solid var(--ink); border-radius: 6px; background: repeating-linear-gradient(135deg, rgba(0,0,0,.07) 0 6px, transparent 6px 14px); display: grid; place-items: center; font: 700 .8rem/1 var(--font-text); }
.thumb.pick { background: var(--mint); }
.thumb .mk { position: absolute; left: 6px; top: 6px; font: 700 .56rem/1 var(--font-text); letter-spacing: .06em; text-transform: uppercase; background: var(--ink); color: var(--paper); padding: 3px 5px; border-radius: 3px; }
.radios { display: flex; flex-wrap: wrap; gap: 10px; font-size: .78rem; margin: 6px 0 10px; }
.radios span { display: inline-flex; align-items: center; gap: 6px; }
.radios i { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--ink); }
.radios i.on { background: var(--ink); box-shadow: inset 0 0 0 2px var(--paper); }
.ui__btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.ui__btn { font: 700 .66rem/1 var(--font-text); letter-spacing: .06em; text-transform: uppercase; padding: 8px 11px; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--paper); }
.ui__btn.solid { background: var(--ink); color: var(--paper); }
.ui__field { border: 1.5px solid var(--ink); border-radius: 6px; padding: 8px 10px; font-size: .78rem; margin: 6px 0; background: var(--paper); }
.ui__field.ta { min-height: 46px; opacity: .6; }
.ui__label { font: 700 .66rem/1.4 var(--font-text); letter-spacing: .04em; text-transform: uppercase; margin-top: 10px; }
.ui__opt { display: grid; grid-template-columns: 14px 1fr; gap: 8px; align-items: start; font-size: .78rem; line-height: 1.3; padding: 5px 0; }
.ui__opt i { width: 12px; height: 12px; border: 1.5px solid var(--ink); margin-top: 2px; }
.ui__opt i.r { border-radius: 50%; }
.ui__opt i.on { background: var(--ink); box-shadow: inset 0 0 0 2px var(--paper); }
.ui__opt small { display: block; opacity: .6; }
.ui__note { font-size: .72rem; opacity: .65; margin-top: 10px; line-height: 1.35; }
.queue { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; border-top: 1.5px solid var(--ink); font: 700 .66rem/1 var(--font-text); letter-spacing: .05em; text-transform: uppercase; }
.queue .ui__btn { padding: 6px 10px; }
.strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: clamp(20px, 3vw, 32px); }
.strip > div { border: 1.5px solid var(--ink); padding: 12px 10px; font-family: var(--font-cond); font-stretch: var(--stretch-cond); font-size: .95rem; line-height: 1.15; background: var(--paper); position: relative; }
.strip > div b { display: block; font-weight: 700; text-transform: uppercase; font-size: .9rem; margin-bottom: 4px; }
.strip > div.on { background: var(--mint); }
.strip > div.gate { background: var(--chartreuse); }
.strip > div small { display: block; font: .7rem/1.3 var(--font-text); opacity: .7; margin-top: 6px; }
@media (max-width: 720px) { .strip { grid-template-columns: 1fr 1fr; } }
.stamp { display: inline-block; margin-top: 14px; border: 2px solid var(--ink); padding: 8px 10px; font: 700 .7rem/1.3 ui-monospace, Menlo, monospace; letter-spacing: .02em; transform: rotate(-2deg); background: var(--paper); }
