/* demystified.ai — styles.css
   1:1 reproduction of the Claude Design export "Demystified Homepage.dc.html"
   as rendered: palette "Cobalt and clay", site font "Instrument Sans".
   Every value the design uses is declared once as a custom property below. */

/* =========================================================================
   1. Design tokens
   ========================================================================= */
:root {
  /* --- palette: cobalt and clay (the export's rendered palette) --- */
  --p-paper: #F6F4EF;
  --p-warm: #ECEAE3;
  --p-ink: #242529;
  --p-accent: #354FC4;
  --p-accent-ink: #C9846B;
  --p-on-accent: #F6F4EF;
  --p-red: #A55D3D;        /* export: #A85F3E (4.37:1 on paper, under AA). Darkened to 4.51:1 */
  --p-link: #354FC4;
  --p-text2: #45464D;
  --p-text3: #686971;      /* export: #6B6C74 (4.34:1 on warm, under AA). Darkened to 4.53:1 */
  --p-underline: #C9846B;
  --k-teal: #1D7481;       /* export: #1F7E8C (3.95:1 on warm, under AA). Darkened to 4.51:1 */

  /* --- fixed colours, not palette-driven in the export --- */
  --c-html-bg: #F7F3EA;
  --c-html-ink: #141214;
  --c-link-default: #225683;
  --c-focus: #141214;
  --c-white: #FFFFFF;
  --c-step-text: #C9C4C9;
  --c-footer-muted: #B4AFB4;
  --c-rule-on-ink: rgba(247, 243, 234, .18);
  --c-rule-proof: rgba(20, 18, 20, .25);
  --c-footnote: rgba(20, 18, 20, .7);
  --c-price-soft: #242529CC;
  --c-price-softer: #24252999;
  --c-scrim: rgba(20, 18, 20, .55);
  --c-placeholder: rgba(20, 18, 20, .4);

  /* --- type --- */
  --font-sans: 'Instrument Sans', sans-serif;
  --fs-body: 18px;        --lh-body: 1.6;
  --fs-h1: 52px;          --lh-h1: 1.08;        --ls-h1: -.03em;
  --fs-h1-contact: 52px;  --lh-h1-contact: 1.05;
  --fs-h2: 42px;          --lh-h2: 1.05;        --ls-h2: -.025em;
  --fs-h2-small: 18px;    --lh-h2-small: 1.6;
  --fs-h2-form: 28px;
  --fs-h3-card: 17px;     --lh-h3-card: 1.4;
  --fs-h3-modal: 32px;    --lh-h3-modal: 1.08;
  --fs-quote: 46px;       --lh-quote: 1.08;
  --fs-price: 46px;       --lh-price: 1;        --ls-price: -.03em;
  --fs-close: 46px;       --lh-close: 1.05;     --ls-close: -.03em;
  --fs-wordmark: 20px;    --ls-wordmark: -.02em;
  --fs-nav: 16px;
  --fs-button: 17px;      --fs-button-sm: 16px; --lh-button: 1.2;  --ls-button: -.01em;
  --fs-note: 16px;        --lh-note: 1.5;
  --fs-card-body: 15px;   --lh-card-body: 1.5;
  --fs-eyebrow: 11px;     --ls-eyebrow: .12em;
  --fs-eyebrow-lg: 13px;
  --fs-meta: 13px;        --lh-meta: 1.4;
  --fs-small: 16px;
  --fs-numeral: 20px;     --ls-numeral: -.02em;
  --fs-label: 14px;
  --fw-regular: 400;
  --fw-semibold: 600;
  --fw-bold: 700;
  --ls-heading: -.02em;   /* site-font rule: h1/h2/h3/blockquote/dd/strong without inline tracking */
  --ls-logo: -.01em;
  --ls-tight: -.01em;

  /* --- layout --- */
  --min-width: 0;             /* export: 1080px, dropped with the breakpoints re-enabled */
  --wrap-wide: 1280px;    --pad-wide: 48px;
  --wrap-narrow: 1080px;  --pad-narrow: 32px;
  --nav-height: 80px;
  --measure-body: 58ch;
  --measure-prose: 70ch;
  --measure-lab: 60ch;
  --measure-h2-build: 24ch;
  --measure-close: 24ch;
  --measure-contact-h1: 14ch;
  --measure-contact-p: 48ch;

  /* --- shape --- */
  --radius: 0;
  --border-w: 2px;
  --border: 2px solid var(--p-ink);
  --shadow-3: 3px 3px 0;
  --shadow-4: 4px 4px 0;
  --shadow-6: 6px 6px 0;
  --shadow-10: 10px 10px 0;

  /* --- motion --- */
  --dur-hover: 120ms;
  --dur-reveal: 400ms;
  --ease-reveal: ease-out;
  --reveal-stagger: 60ms;
  --reveal-offset: 12px;
  --hover-lift: -2px;
  --hover-lift-sm: -1px;
}

/* =========================================================================
   2. Fonts (self-hosted; same subsets and unicode ranges Google serves)
   ========================================================================= */
@font-face {
  font-family: 'Instrument Sans';
  font-style: italic;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/instrumentsans-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: italic;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/instrumentsans-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/instrumentsans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/instrumentsans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* =========================================================================
   3. Base
   ========================================================================= */
html { scroll-behavior: smooth; }
html, body { margin: 0; background: var(--c-html-bg); color: var(--c-html-ink); }
body {
  min-width: var(--min-width);
  overflow-x: auto;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
}
/* The export's "Instrument Sans" site-font rule: these become 600 with -.02em tracking
   unless the element carried its own tracking inline (reproduced per class below). */
h1, h2, h3, blockquote, dd, strong, .close__line {
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-heading);
}
a {
  color: var(--c-link-default);
  text-decoration: none;
  transition: text-decoration-color var(--dur-hover);
  text-decoration-color: transparent;
}
a:hover { text-decoration: underline; text-decoration-color: currentColor; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--c-focus);
  outline-offset: 2px;
}
p, h1, h2, h3, dl, dd { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
picture { display: contents; }
source { display: none; }
img, button, input, textarea, select { border-radius: var(--radius); }
input, textarea, select { font: inherit; color: inherit; }
input::placeholder, textarea::placeholder { color: var(--p-text3); opacity: 1; }

.page { background: var(--p-paper); color: var(--p-ink); min-height: 100vh; }
.page--column { display: flex; flex-direction: column; }

.wrap { max-width: var(--wrap-wide); margin: 0 auto; padding: 0 var(--pad-wide); }
.wrap--narrow { max-width: var(--wrap-narrow); padding: 0 var(--pad-narrow); }
.wrap--full { width: 100%; box-sizing: border-box; }
.wrap--relative { position: relative; }

.mark { position: relative; display: inline-block; }
.mark--z { z-index: 0; }
.mark--isolate { isolation: isolate; }
.accent { pointer-events: none; }
.ink { color: var(--p-ink); }
.link { color: var(--p-link); }

/* =========================================================================
   4. Buttons
   ========================================================================= */
.btn {
  display: inline-block;
  background: var(--p-accent);
  color: var(--p-on-accent);
  border: var(--border);
  padding: 14px 22px;
  font-family: var(--font-sans);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-button);
  letter-spacing: var(--ls-button);
  line-height: var(--lh-button);
  box-shadow: var(--shadow-4) var(--p-ink);
  transition: transform var(--dur-hover), box-shadow var(--dur-hover);
  cursor: pointer;
}
.btn:hover {
  transform: translate(var(--hover-lift), var(--hover-lift));
  box-shadow: var(--shadow-6) var(--p-ink);
  text-decoration: none;
}
.btn--sm { padding: 10px 18px; font-size: var(--fs-button-sm); white-space: nowrap; flex-shrink: 0; }
.btn--nowrap { white-space: nowrap; }
.btn--paper-shadow { box-shadow: var(--shadow-4) var(--p-paper); }
.btn--paper-shadow:hover { box-shadow: var(--shadow-6) var(--p-paper); }
.btn--ink { background: var(--p-ink); color: var(--p-paper); }
.btn--ink-accent-shadow { background: var(--p-ink); color: var(--p-paper); box-shadow: var(--shadow-4) var(--p-accent); }
.btn--ink-accent-shadow:hover { box-shadow: var(--shadow-6) var(--p-accent); }

/* =========================================================================
   5. Nav
   ========================================================================= */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--nav-height);
  border-bottom: var(--border);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: var(--fw-bold);
  font-size: var(--fs-wordmark);
  letter-spacing: var(--ls-wordmark);
  color: var(--p-ink);
}
.brand__mark { width: 51px; height: 55px; display: block; }
.brand__name { font-weight: var(--fw-semibold); letter-spacing: var(--ls-logo); }
.nav__right { display: flex; align-items: center; gap: 28px; }
.nav__links { display: flex; gap: 28px; font-size: var(--fs-nav); white-space: nowrap; }
.nav__links a { color: var(--p-ink); }
/* five links plus the button: tighten just above the 900px breakpoint so the row fits */
@media (max-width: 1040px) {
  .nav__right, .nav__links { gap: 18px; }
  .nav__links { font-size: 15px; }
}

/* =========================================================================
   6. Hero
   ========================================================================= */
.hero { padding: 80px 0 88px; }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 55fr) minmax(0, 45fr);
  gap: 24px;
  align-items: center;
}
.hero__copy { display: flex; flex-direction: column; gap: 28px; }
.hero__h1 {
  font-size: var(--fs-h1);
  line-height: var(--lh-h1);
  letter-spacing: var(--ls-h1);
  margin: 0 0 4px;
  max-width: 720px;
  white-space: nowrap;
}
.hero__underline {
  position: absolute;
  left: -1%;
  bottom: .04em;
  width: 102%;
  height: .3em;
  z-index: -1;
  overflow: visible;
}
.hero__underline-path { stroke: var(--p-underline); }
.hero__lead { max-width: var(--measure-body); color: var(--p-text2); }
.hero__note {
  max-width: var(--measure-body);
  margin-top: -12px;
  font-weight: var(--fw-semibold);
  font-size: var(--fs-note);
  line-height: var(--lh-note);
  letter-spacing: var(--ls-tight);
  color: var(--p-text3);
}
.hero__note-last { letter-spacing: var(--ls-tight); }
.hero__audience { font-size: var(--fs-button); color: var(--p-text3); }
.hero__audience-sub { display: block; font-size: var(--fs-small); margin-top: 6px; }
.hero__cta { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.hero__alt { color: var(--p-link); font-size: var(--fs-button); }
.hero__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 640px;
  object-fit: contain;
  justify-self: start;
  margin: -48px 0 -48px -40px;
}

/* hand-drawn rules between bands */
.rule { display: block; width: 100%; height: 14px; overflow: visible; }
.rule__path { stroke: var(--p-ink); }

/* torn edges */
.tear {
  position: absolute;
  left: 0;
  top: -1px;
  width: 100%;
  height: 22px;
  display: block;
  z-index: 3;
  pointer-events: none;
}
.tear--tall { height: 38px; }
.tear__fill--paper { fill: var(--p-paper); }
.tear__fill--ink { fill: var(--p-ink); }
.tear__fill--warm { fill: var(--p-warm); }
.tear__fill--accent { fill: var(--p-accent); }
.tear__fill--white { fill: var(--c-white); }

/* =========================================================================
   7. Fit
   ========================================================================= */
.fit { padding: 88px 0 104px; }
.fit__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.fit__col { display: flex; flex-direction: column; gap: 16px; }
.fit__col--no { color: var(--p-red); }
.fit__head { display: flex; align-items: center; gap: 20px; }
.fit__icon { object-fit: contain; display: block; }
.fit__icon--yes { width: 113px; height: 128px; }
.fit__icon--no { width: 89px; height: 124px; }
.fit__h2 {
  font-size: var(--fs-h2-small);
  line-height: var(--lh-h2-small);
  position: relative;
  display: inline-block;
}
.fit__accent { position: absolute; height: auto; }
.fit__accent--yes { left: -4px; bottom: -14px; width: 104%; }
.fit__accent--no { left: -2px; bottom: -8px; width: 102%; }
.fit__list { display: flex; flex-direction: column; gap: 12px; max-width: var(--measure-body); }
.fit__list--yes { color: var(--p-text2); }
.fit__list li { display: grid; grid-template-columns: 14px 1fr; gap: 10px; }

/* =========================================================================
   8. How it works
   ========================================================================= */
.how {
  padding: 112px 0 104px;
  background: var(--p-ink);
  color: var(--p-paper);
  position: relative;
}
.how__stack { display: flex; flex-direction: column; gap: 36px; }
.h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); letter-spacing: var(--ls-h2); }
.how__h2 { color: var(--p-paper); }
.how__accent-right { position: absolute; right: -20px; top: -18px; height: 72px; width: auto; }
.how__accent-left { position: absolute; left: 18px; top: -17px; height: 64px; width: auto; }
.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--c-rule-on-ink);
}
.step {
  padding: 24px 0;
  border-bottom: 1px solid var(--c-rule-on-ink);
  color: var(--c-step-text);
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 40px;
  align-items: center;
}
.step__img { width: 140px; height: 140px; display: block; object-fit: contain; }
.step__title { color: var(--p-paper); letter-spacing: var(--ls-tight); }
.step__hl { color: var(--p-accent-ink); }
.how__note { color: var(--c-step-text); }

/* =========================================================================
   9. What I build
   ========================================================================= */
.build { padding: 112px 0 104px; position: relative; }
.build__wrap { display: flex; flex-direction: column; gap: 44px; }
.build__h2 { max-width: var(--measure-h2-build); }
.build__accent { position: absolute; left: -4%; top: -14%; width: 108%; height: 132%; z-index: -1; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.card {
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: var(--p-ink);
  background: var(--p-warm);
  border: var(--border);
  box-shadow: var(--shadow-4) var(--p-ink);
  padding: 0;
  display: flex;
  flex-direction: column;
  transition: transform var(--dur-hover), box-shadow var(--dur-hover);
}
.card:hover {
  transform: translate(var(--hover-lift), var(--hover-lift));
  box-shadow: var(--shadow-6) var(--p-ink);
}
.card__body { display: flex; flex-direction: column; gap: 8px; padding: 0 20px 20px; }
.eyebrow {
  font-size: var(--fs-eyebrow);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--p-text3);
}
.card__title { font-size: var(--fs-h3-card); line-height: var(--lh-h3-card); }
.card__text {
  font-size: var(--fs-card-body);
  line-height: var(--lh-card-body);
  color: var(--p-text2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* scroll reveal: main.js adds this at load and removes it when the card enters view */
.is-unrevealed { opacity: 0; transform: translateY(var(--reveal-offset)); }

/* modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: var(--c-scrim);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.modal[hidden] { display: none; }
.modal__panel {
  position: relative;
  width: min(760px, 100%);
  max-height: calc(100vh - 80px);
  background: var(--p-paper);
  color: var(--p-ink);
  border: var(--border);
  box-shadow: var(--shadow-10) var(--p-ink);
  overflow: auto;
}
.modal__well { border: var(--border); background: var(--p-warm); }
.modal__well[hidden] { display: none; }
.modal__img { display: block; width: 100%; height: auto; }
.facts { margin: 0; font-size: var(--fs-card-body); }
.facts > div { display: flex; gap: 14px; padding: 9px 0; border-top: 1px solid var(--c-rule-proof); }
.facts > div:first-child { border-top: none; }
.facts dt { flex: 0 0 130px; font-size: var(--fs-eyebrow); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--p-text3); padding-top: 3px; font-weight: var(--fw-bold); }
.facts dd { margin: 0; color: var(--p-ink); font-weight: var(--fw-regular); letter-spacing: 0; }
.modal__body { padding: 44px 44px 40px; display: flex; flex-direction: column; gap: 20px; overflow: hidden; }
.modal__title { font-size: var(--fs-h3-modal); line-height: var(--lh-h3-modal); letter-spacing: var(--ls-h2); padding-right: 32px; }
.modal__text { color: var(--p-text2); }
.modal__aside {
  font-style: italic;
  font-size: var(--fs-card-body);
  color: var(--p-text3);
  border-top: 1px solid var(--p-ink);
  padding-top: 16px;
}
.modal__aside[hidden] { display: none; }
.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  background: var(--p-paper);
  color: var(--p-ink);
  border: var(--border);
  box-shadow: var(--shadow-3) var(--p-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: transform var(--dur-hover), box-shadow var(--dur-hover);
}
.modal__close:hover {
  transform: translate(var(--hover-lift-sm), var(--hover-lift-sm));
  box-shadow: var(--shadow-4) var(--p-ink);
}

/* =========================================================================
   10. Proof
   ========================================================================= */
.proof { padding: 96px 0 104px; background: var(--p-warm); }
.proof__wrap { display: flex; flex-direction: column; gap: 52px; position: relative; }
.proof__top { display: flex; flex-direction: column; gap: 40px; }
.proof__head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 32px; }
.proof__accent-right { position: absolute; top: -5px; height: 56px; width: auto; right: -18px; } /* anchored to the right end of "2026" */
.proof__accent-left { position: absolute; left: 19px; top: -4px; height: 54px; width: auto; }
.proof__eyebrow {
  font-size: var(--fs-eyebrow-lg);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--k-teal);
  padding-bottom: 6px;
}
.proof__list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; border-top: var(--border); }
.proof__item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--c-rule-proof);
  color: var(--p-text2);
}
.proof__num {
  font-weight: var(--fw-bold);
  font-size: var(--fs-numeral);
  letter-spacing: var(--ls-numeral);
  color: var(--p-red);
}
.proof__item strong { color: var(--p-ink); }
.quote { margin: 0; padding: 24px 0 0; display: flex; flex-direction: column; gap: 28px; }
.quote__box {
  position: relative;
  background: var(--c-white);
  color: var(--p-ink);
  border: var(--border);
  box-shadow: var(--shadow-6) var(--p-ink);
  padding: 40px 44px;
}
.quote__text { margin: 0; font-size: var(--fs-quote); line-height: var(--lh-quote); letter-spacing: var(--ls-h2); }
.quote__tail {
  position: absolute;
  left: 48px;
  bottom: -15px;
  width: 26px;
  height: 26px;
  background: var(--c-white);
  border-right: var(--border);
  border-bottom: var(--border);
  transform: rotate(45deg);
  box-shadow: var(--shadow-4) var(--p-ink);
}
.quote__cite { font-size: var(--fs-small); color: var(--p-text3); padding-left: 52px; }
/* captions on the ink and accent bands use the on-ink / on-accent tokens */
.how .quote__cite { color: var(--c-step-text); }
.lab .quote__cite { color: var(--p-on-accent); }
.lab .quote { padding-top: 44px; }

/* =========================================================================
   11. What it costs
   ========================================================================= */
.cost { padding: 96px 0 104px; }
.cost__inner { max-width: var(--measure-prose); margin: 0 auto; display: flex; flex-direction: column; gap: 36px; }
.cost__accent { position: absolute; left: -10%; top: -48%; width: 120%; height: 200%; z-index: -1; }
.prices { display: flex; flex-direction: column; border-top: 1px solid var(--p-ink); }
.price {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--p-ink);
}
.price__val { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; }
.price__num {
  font-weight: var(--fw-semibold);
  font-size: var(--fs-price);
  line-height: var(--lh-price);
  letter-spacing: var(--ls-price);
  font-variant-numeric: tabular-nums;
}
.price__val--plain {
  font-size: var(--fs-price);
  line-height: var(--lh-price);
  letter-spacing: var(--ls-price);
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.price__num--soft { color: var(--c-price-soft); }
.price__num--softer { color: var(--c-price-softer); }
.price__note { font-size: var(--fs-meta); color: var(--c-footnote); line-height: var(--lh-meta); }
.cost__foot { font-size: var(--fs-small); color: var(--c-footnote); }
/* shown in place of the pricing section while SHOW_PRICING is false */
.engage { padding: 96px 0 96px; }
.engage__inner { max-width: var(--measure-prose); margin: 0 auto; display: flex; flex-direction: column; gap: 28px; }
.engage__text { color: var(--p-text2); max-width: var(--measure-body); }

/* =========================================================================
   12. About
   ========================================================================= */
.about { padding: 96px 0 104px; background: var(--p-warm); }
.about__grid { display: grid; grid-template-columns: 7fr 5fr; gap: 56px; align-items: start; }
.about__copy { display: flex; flex-direction: column; gap: 24px; max-width: var(--measure-body); }
.about__p { color: var(--p-text2); }
.about__sub { font-size: var(--fs-label); color: var(--p-text3); }
.about__accent-inline { display: inline-block; height: 46px; width: 18px; margin-left: 8px; vertical-align: -6px; }
.about__accent-left { position: absolute; left: 5px; top: -27px; height: 58px; width: auto; }
.about__frame {
  border: var(--border);
  box-shadow: var(--shadow-4) var(--p-ink);
  background: var(--p-warm);
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.about__photo { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 26%; }

/* =========================================================================
   13. Build Lab
   ========================================================================= */
.lab { background: var(--p-accent); color: var(--p-on-accent); position: relative; }
.lab__wrap { padding: 104px var(--pad-narrow) 96px; }
.lab__grid { display: grid; grid-template-columns: 1fr 380px; gap: 56px; align-items: center; }
.lab__copy { display: flex; flex-direction: column; gap: 24px; max-width: var(--measure-lab); }
.lab__h2 { width: 554px; height: 89px; }
.lab__accent { position: absolute; left: 0; bottom: -20px; width: 100%; height: auto; z-index: -1; }
.lab__text { color: var(--p-on-accent); }
.lab__cover {
  display: block;
  width: 100%;
  height: auto;
  border: var(--border);
  box-shadow: var(--shadow-4) var(--p-ink);
  background: var(--p-paper);
}

/* =========================================================================
   14. Questions and close
   ========================================================================= */
.faq { padding: 128px 0 120px; position: relative; }
.faq__wrap { display: flex; flex-direction: column; gap: 96px; }
.faq__block { max-width: var(--measure-prose); display: flex; flex-direction: column; gap: 36px; }
.faq__accent { position: absolute; left: -2%; bottom: -22px; width: 104%; height: auto; z-index: -1; }
.faq__list { display: flex; flex-direction: column; border-top: 1px solid var(--p-ink); }
.faq__item {
  padding: 24px 0;
  border-bottom: 1px solid var(--p-ink);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.faq__q { font-weight: var(--fw-bold); }
.faq__a { color: var(--p-text2); }
.faq__a span { font-weight: var(--fw-regular); }
.close {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 36px;
  padding: 48px 0 72px;
}
.close__line {
  font-size: var(--fs-close);
  line-height: var(--lh-close);
  letter-spacing: var(--ls-close);
  max-width: var(--measure-close);
  width: 711px;
  height: 93px;
}
.close__accent { position: absolute; left: 0; bottom: -10px; width: 100%; height: auto; z-index: -1; }
.close__cta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: center; }
.close__alt { color: var(--p-text2); }

/* =========================================================================
   15. Footer
   ========================================================================= */
.footer { background: var(--p-ink); color: var(--p-paper); }
.footer__wrap {
  max-width: var(--wrap-narrow);
  margin: 0 auto;
  padding: 40px var(--pad-narrow) 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: var(--fs-small);
}
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__mark { width: 20px; height: auto; display: block; }
.footer__name { font-weight: var(--fw-bold); font-size: var(--fs-wordmark); letter-spacing: var(--ls-wordmark); }
.footer__links { display: flex; gap: 24px; flex-wrap: wrap; white-space: nowrap; }
.footer__links a { color: var(--p-paper); }
.footer__copy { color: var(--c-footer-muted); }

/* =========================================================================
   16. Contact page
   ========================================================================= */
.contact { flex: 1; padding: 88px var(--pad-wide) 120px; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 80px; align-items: start; }
.contact__copy { display: flex; flex-direction: column; gap: 40px; }
.contact__h1 {
  font-size: var(--fs-h1-contact);
  line-height: var(--lh-h1-contact);
  letter-spacing: var(--ls-h1);
  max-width: var(--measure-contact-h1);
}
.contact__lead { color: var(--p-text2); max-width: var(--measure-contact-p); }
.contact__cta { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.contact__cta p { color: var(--p-text2); }
.contact__dl { display: flex; flex-direction: column; border-top: var(--border); margin-top: 8px; }
.contact__row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--p-ink);
  align-items: baseline;
}
.contact__dt {
  font-size: var(--fs-eyebrow-lg);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--p-text3);
}
.contact__row dd a { color: var(--p-ink); }
.contact__row dd.text2 { color: var(--p-text2); }
.form {
  background: var(--p-warm);
  border: var(--border);
  box-shadow: var(--shadow-6) var(--p-ink);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.form__head { display: flex; flex-direction: column; gap: 6px; }
.form__h2 { font-size: var(--fs-h2-form); line-height: var(--lh-h2); letter-spacing: var(--ls-h2); }
.form__intro { font-size: var(--fs-small); color: var(--p-text2); }
.form__two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form__field { display: flex; flex-direction: column; gap: 8px; font-size: var(--fs-label); font-weight: var(--fw-bold); }
.form__input {
  border: var(--border);
  background: var(--p-paper);
  padding: 12px 14px;
  font-size: var(--fs-button);
  font-weight: var(--fw-regular);
  line-height: 1.3;
  width: 100%;
  box-sizing: border-box;
}
.form__input--textarea { line-height: 1.5; resize: vertical; min-height: 130px; }
.form__input--select { -webkit-appearance: none; appearance: none; }
.form__fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.form__legend { font-size: var(--fs-label); font-weight: var(--fw-bold); padding: 0; margin-bottom: 8px; }
.form__radios { display: flex; gap: 20px; font-size: var(--fs-small); }
.form__radio { display: flex; align-items: center; gap: 8px; }
.form__radio input { accent-color: var(--p-ink); width: 18px; height: 18px; margin: 0; }
.form__actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 4px; }
.form__sent { font-size: var(--fs-small); color: var(--p-text2); }
.form__sent[hidden] { display: none; }
.form__hp { display: none; }
.btn:disabled { cursor: wait; opacity: .7; }

/* =========================================================================
   17. Breakpoints (900 tablet, 600 phone)
   The export shipped these paused ("Change 99999 → 900 / 600 to re-enable") and
   only covered the elements it tagged. Re-enabled here at the widths the note names,
   and extended to the parts the export never wrote rules for: the 3-column cards,
   the 2-column proof list, the fixed-width quote / Build Lab heading / closing line,
   the nowrap h1, the modal, and the nav at phone width.
   ========================================================================= */
@media (max-width: 900px) {
  .hero__grid, .fit__grid, .about__grid, .lab__grid, .contact__grid { grid-template-columns: 1fr; }
  .nav__links { display: none; }
  .hero__cta { flex-direction: column; align-items: flex-start; }
  .hero__h1 { white-space: normal; }
  .hero__img { margin: 0; max-height: 480px; }
  .step { grid-template-columns: 72px 1fr; gap: 16px; }
  .step .step__img { width: 72px; height: 72px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lab__h2, .close__line { width: auto; height: auto; }
  .lab__cover { max-width: 380px; }
  .proof__head { grid-template-columns: 1fr; align-items: start; gap: 16px; }
  .about__frame { max-width: 480px; }
}
@media (max-width: 600px) {
  .hero, .fit, .how, .build, .proof, .cost, .engage, .about, .faq { padding-top: 56px; padding-bottom: 56px; }
  .wrap, .wrap--narrow { padding-left: 22px; padding-right: 22px; }
  .lab__wrap { padding: 56px 22px; }
  .footer__wrap { padding: 32px 22px 40px; }
  .contact { padding: 56px 22px 88px; }
  .hero__h1 { font-size: 34px; }
  .h2 { font-size: 28px; }
  .close__line { font-size: 30px; }
  .nav { gap: 12px; }
  .brand__mark { width: 40px; height: 43px; }
  .btn--sm { padding: 8px 12px; }
  .cards { grid-template-columns: 1fr; }
  .proof__list { grid-template-columns: 1fr; }
  .quote__box { width: auto; height: auto; padding: 24px; }
  .quote__text { font-size: 30px; }
  .quote__cite { padding-left: 32px; }
  .quote__tail { left: 28px; }
  .price__num, .price__val--plain { font-size: 36px; }
  .fit__grid, .about__grid, .lab__grid { gap: 40px; }
  .faq__wrap { gap: 56px; }
  .close { padding: 24px 0 40px; }
  .modal { padding: 16px; }
  .modal__panel { max-height: calc(100vh - 32px); }
  .modal__body { padding: 24px 24px 28px; }
  .modal__title { font-size: 24px; padding-right: 40px; }
  .facts > div { flex-direction: column; gap: 2px; }
  .facts dt { flex: none; }
  .form { padding: 24px; }
  .form__two { grid-template-columns: 1fr; }
  .contact__h1 { font-size: 34px; }
  .hero__audience-sub { max-width: 330px; } /* keeps the last line from stranding one word */
  .hero__note-last { display: inline-block; max-width: 300px; } /* same: ends on "bottlenecks or targets." */
  /* phone: keep the hand-drawn brackets and strokes clear of the first letter */
  .proof__h2 { padding-left: 16px; }
  .proof__accent-left { left: 4px; top: -8px; height: 40px; }
  .proof__accent-right { height: 40px; top: -6px; right: -16px; }
  .about__h2 { padding-left: 14px; }
  .how__h2 { padding-left: 16px; }
  .how__accent-left { left: 4px; top: -14px; height: 52px; }
  .how__accent-right { height: 52px; right: -16px; top: -16px; }
  .about__accent-left { left: 2px; top: -18px; height: 46px; }
}

/* =========================================================================
   18. Reduced motion
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
  .is-unrevealed { opacity: 1; transform: none; }
}

/* =========================================================================
   19. Architecture pass: area picker, method band, teams band, logo-led cards
   ========================================================================= */
/* --- area picker strip --- */
.areas { background: var(--p-warm); padding: 44px 0 48px; }
.areas__h2 { font-size: var(--fs-h2-small); font-weight: var(--fw-semibold); letter-spacing: var(--ls-heading); margin-bottom: 16px; }
.areas__row { display: flex; flex-wrap: wrap; gap: 10px; }
.area {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  background: var(--p-paper); color: var(--p-ink); border: var(--border); border-radius: var(--radius);
  padding: 10px 16px; font: inherit; font-size: var(--fs-card-body); cursor: pointer;
  transition: transform var(--dur-hover), box-shadow var(--dur-hover);
}
.area:hover { transform: translate(var(--hover-lift-sm), var(--hover-lift-sm)); box-shadow: var(--shadow-3) var(--p-ink); }
.area[aria-pressed="true"] { background: var(--p-accent); color: var(--p-on-accent); box-shadow: var(--shadow-4) var(--p-ink); }
.area__mark { width: 28px; height: 28px; display: block; }
.area[aria-pressed="true"] .area__mark { filter: invert(1); }
@media (max-width: 700px) {
  .areas__row { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; padding-right: 64px; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
  .area { flex: 0 0 auto; scroll-snap-align: start; white-space: nowrap; }
}

/* --- method band --- */
.method { background: var(--c-white); padding: 112px 0 104px; position: relative; }
.method__h2 { margin-bottom: 16px; }
.method__lead { color: var(--p-text2); max-width: var(--measure-body); margin-bottom: 44px; }
.method__beats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: var(--border); }
.beat { padding: 24px 22px 26px; border-right: 1px solid var(--c-rule-proof); display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.beat__art { display: block; width: 100%; height: 150px; object-fit: contain; object-position: left bottom; margin-bottom: 6px; }
.beat:last-child { border-right: 0; }
.beat__n { font-size: 32px; line-height: 1; font-weight: var(--fw-semibold); letter-spacing: var(--ls-heading); color: var(--p-accent); }
.beat__h { font-size: var(--fs-h3-card); line-height: var(--lh-h3-card); }
.beat__p { font-size: var(--fs-card-body); line-height: var(--lh-card-body); color: var(--p-text2); }
.beat__aside { font-size: var(--fs-label); line-height: 1.5; color: var(--p-text3); margin-top: auto; }
.spectrum { display: flex; flex-direction: column; gap: 4px; margin: 4px 0; }
.spectrum__rule { display: block; width: 100%; height: 12px; overflow: visible; }
.spectrum__stops { display: flex; justify-content: space-between; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--p-text3); }
.fork { display: grid; grid-template-columns: 1fr 1fr; border: var(--border); margin-top: 24px; }
.fork__side { padding: 24px 26px 28px; display: grid; grid-template-columns: 170px 1fr; gap: 22px; align-items: center; background: var(--p-paper); color: var(--p-text2); }
.fork__art { display: block; width: 100%; height: auto; max-height: 150px; object-fit: contain; }
.fork__copy { display: flex; flex-direction: column; gap: 10px; }
.fork__side + .fork__side { border-left: var(--border); background: var(--c-white); }
.fork__h { font-size: var(--fs-h2-small); color: var(--p-ink); }
.method__logos-note { margin-top: 44px; text-align: center; font-size: var(--fs-small); color: var(--p-text3); }
.method__logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; margin-top: 16px; }
.method__logos img { filter: grayscale(1); opacity: .75; transition: opacity var(--dur-hover); }
.method__logos .logo:hover img { opacity: 1; }
.method__logos img { width: 40px; height: 40px; display: block; padding: 4px; box-sizing: border-box; }
.method__logos .logo { position: relative; display: block; }
.method__logos .logo::after {
  content: attr(data-name); position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%);
  white-space: nowrap; font-size: 12px; line-height: 1; padding: 6px 8px; background: var(--p-ink); color: var(--p-paper);
  border: var(--border); opacity: 0; pointer-events: none; transition: opacity var(--dur-hover); z-index: 2;
}
.method__logos .logo:hover::after { opacity: 1; }
@media (max-width: 900px) {
  .method__beats { grid-template-columns: 1fr 1fr; }
  .beat:nth-child(2) { border-right: 0; }
  .beat:nth-child(-n+2) { border-bottom: 1px solid var(--c-rule-proof); }
}
@media (max-width: 700px) {
  .method__beats { grid-template-columns: 1fr; }
  .beat { border-right: 0; border-bottom: 1px solid var(--c-rule-proof); }
  .beat:last-child { border-bottom: 0; }
  .fork { grid-template-columns: 1fr; }
  .fork__side { grid-template-columns: 1fr; }
  .fork__art { max-width: 220px; }
  .fork__side + .fork__side { border-left: 0; border-top: var(--border); }
}

/* --- teams band (Team Section.dc.html, cobalt) --- */
.teams {
  background: var(--p-ink); color: var(--p-paper); position: relative;
  background-image: radial-gradient(rgba(247, 243, 234, .10) 1px, transparent 1px); background-size: 7px 7px;
}
.teams__tear { height: 34px; }
.teams__tear--bottom { top: auto; bottom: -1px; transform: scaleY(-1); }
.teams__wrap { padding: 120px var(--pad-narrow) 112px; display: flex; flex-direction: column; gap: 64px; }
.teams__grid { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 56px; align-items: center; }
.teams__copy { display: flex; flex-direction: column; gap: 28px; }
.teams__eyebrow { color: var(--p-accent-ink); font-size: 12.65px; } /* 11px eyebrow +15% */
.teams__h2 { font-size: 48px; line-height: 1.02; letter-spacing: var(--ls-h2); max-width: 14ch; }
.teams__lead { color: #C9C7CF; max-width: 48ch; }
.teams__list { display: flex; flex-direction: column; border-top: 1px solid rgba(247, 243, 234, .35); max-width: 48ch; }
.teams__list li { display: grid; grid-template-columns: 32px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(247, 243, 234, .35); }
.teams__num { font-weight: var(--fw-bold); font-size: 22px; line-height: 1.2; color: var(--p-accent-ink); font-variant-numeric: tabular-nums; }
.teams__cta { display: flex; align-items: center; gap: 24px; padding-top: 8px; flex-wrap: wrap; }
.teams__alt { color: var(--p-paper); border-bottom: 2px solid var(--p-accent-ink); line-height: 1.3; }
.teams__alt:hover { text-decoration: none; border-bottom-color: var(--p-paper); }
.teams__art { display: block; width: 100%; height: auto; pointer-events: none; }
.offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; align-items: stretch; }
.offer {
  background: var(--p-paper); color: var(--p-ink); border: var(--border); padding: 24px 26px 22px;
  display: flex; flex-direction: column; gap: 10px; transition: transform 200ms, box-shadow 200ms;
}
.offer--accent-shadow { box-shadow: 8px 8px 0 var(--p-accent); }
.offer--accent-shadow:hover { transform: translate(-3px, -3px); box-shadow: 11px 11px 0 var(--p-accent); }
.offer--red-shadow { box-shadow: 8px 8px 0 var(--p-red); }
.offer--red-shadow:hover { transform: translate(-3px, -3px); box-shadow: 11px 11px 0 var(--p-red); }
.offer--accent { background: var(--p-accent); color: var(--p-on-accent); box-shadow: 8px 8px 0 var(--p-paper); }
.offer--accent:hover { transform: translate(-3px, -3px); box-shadow: 11px 11px 0 var(--p-paper); }
.offer__head { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: baseline; }
.offer__h { font-size: 20px; line-height: 1.05; letter-spacing: var(--ls-heading); } /* 24px in the export; 20px keeps "Fractional Head of AI" on one line from the 1080 wrap up */
.offer__tag { font-weight: var(--fw-bold); font-size: var(--fs-eyebrow); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--p-red); }
.offer--accent .offer__tag { color: var(--p-on-accent); }
.offer__p { color: var(--p-text2); font-size: var(--fs-small); line-height: 1.5; }
.offer--accent .offer__p { color: var(--p-on-accent); }
@media (max-width: 900px) {
  .teams__grid { grid-template-columns: 1fr; }
  .teams__art { max-width: 440px; }
}
@media (max-width: 700px) {
  .offers { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .teams__wrap { padding: 72px 22px 64px; gap: 44px; }
  .teams__h2 { font-size: 34px; }
}

/* --- logo-led build cards --- */
/* tool chips: the tools a build touches, no order implied */
.card__tools { display: flex; gap: 7px; align-items: center; margin-bottom: 16px; padding: 20px 20px 0; }
.chip { width: 38px; height: 38px; flex: 0 0 auto; background: var(--c-white); border: 1.5px solid var(--c-rule-proof); display: flex; align-items: center; justify-content: center; }
.chip img { width: 22px; height: 22px; display: block; }
.chip--more { font-size: 12px; font-weight: var(--fw-bold); color: var(--p-text3); border-style: dashed; }
.build__head { display: flex; align-items: flex-start; gap: 18px; }
.build__mark { width: 56px; height: auto; flex: 0 0 auto; margin-top: -6px; }
.card__area { font-size: var(--fs-eyebrow); font-weight: var(--fw-bold); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--p-text3); margin-top: 6px; }
/* stat circle: hook only. No card carries one until a real number is supplied (see README). */
.card__stat {
  position: absolute; top: 14px; right: 14px; width: 64px; height: 64px; border-radius: 50%;
  border: var(--border); background: var(--p-accent); color: var(--p-on-accent);
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-size: var(--fs-h3-card); font-weight: var(--fw-semibold); line-height: 1.1;
}
.card { position: relative; }
.card[hidden] { display: none; }

/* --- sticky filter inside the build section --- */
.build__filter { position: sticky; top: 0; z-index: 4; background: var(--p-paper); border-bottom: var(--border); padding: 14px 0 12px; display: flex; flex-direction: column; gap: 8px; }

/* =========================================================================
   19. Case study pages (case-studies/*.html)
   ========================================================================= */
.cs { flex: 1; padding: 72px 0 112px; }
.cs__article { max-width: var(--wrap-narrow); margin: 0 auto; padding: 0 var(--pad-narrow); box-sizing: border-box; }
.cs__head { display: flex; flex-direction: column; gap: 20px; max-width: 800px; margin-bottom: 64px; }
.cs__eyebrow { color: var(--p-red); font-size: var(--fs-eyebrow-lg); }
.cs__h1 { font-size: var(--fs-h1); line-height: var(--lh-h1); letter-spacing: var(--ls-h1); }
.cs__dek { font-size: 22px; line-height: 1.45; color: var(--p-text2); max-width: 34em; }
.cs__layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 72px; align-items: start; }
.cs__glance {
  order: 2;
  position: sticky;
  top: 24px;
  background: var(--c-white);
  border: var(--border);
  box-shadow: var(--shadow-6) var(--p-ink);
  padding: 24px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cs__dl { display: flex; flex-direction: column; }
.cs__dl > div { display: flex; flex-direction: column; gap: 3px; padding: 12px 0; border-top: 1px solid var(--c-rule-proof); }
.cs__dl > div:last-child { padding-bottom: 0; }
.cs__dl dt { font-size: var(--fs-eyebrow); font-weight: var(--fw-bold); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--p-text3); }
.cs__dl dd { font-size: var(--fs-small); line-height: 1.45; font-weight: var(--fw-regular); letter-spacing: 0; color: var(--p-ink); }
.cs__body { max-width: var(--measure-prose); display: flex; flex-direction: column; gap: 22px; color: var(--p-text2); }
.cs__lede { font-size: 21px; line-height: 1.5; color: var(--p-ink); }
.cs__h2 { font-size: 28px; line-height: 1.15; color: var(--p-ink); margin-top: 26px; }
.cs__list { list-style: disc; margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 12px; }
.cs__list li { padding-left: 4px; }
.cs__fine { font-size: var(--fs-small); line-height: 1.5; color: var(--p-text3); }
.cs__quote { margin: 20px 0; padding: 32px 36px; background: var(--p-warm); border-left: 6px solid var(--p-accent); }
.cs__quote-text { margin: 0; font-size: 28px; line-height: 1.2; color: var(--p-ink); }
.cs__quote-cite { margin-top: 16px; font-size: var(--fs-small); color: var(--p-text3); }
.cs__close {
  margin-top: 24px;
  padding: 28px 32px;
  border: var(--border);
  box-shadow: var(--shadow-6) var(--p-accent);
  background: var(--c-white);
  color: var(--p-ink);
}
.cs__note { font-size: var(--fs-label); line-height: 1.5; color: var(--p-text3); margin-top: 8px; }
@media (max-width: 900px) {
  .cs__layout { grid-template-columns: 1fr; gap: 44px; }
  .cs__glance { order: 0; position: static; max-width: 520px; }
}
@media (max-width: 600px) {
  .cs { padding: 40px 0 72px; }
  .cs__article { padding: 0 22px; }
  .cs__head { margin-bottom: 40px; }
  .cs__h1 { font-size: 34px; }
  .cs__dek, .cs__lede { font-size: 19px; }
  .cs__h2 { font-size: 24px; }
  .cs__glance { padding: 20px 20px 22px; margin-right: 6px; }
  .cs__quote { padding: 22px; }
  .cs__quote-text { font-size: 22px; }
  .cs__close { padding: 22px; margin-right: 6px; }
}

/* Keep the original visual system usable at small widths and enlarged text. */
body { overflow-wrap: anywhere; }
a { min-height: 44px; display: inline-flex; align-items: center; }
.brand, .nav__right, .nav__links a, .btn { min-height: 44px; }
.nav { flex-wrap: wrap; height: auto; min-height: var(--nav-height); padding-block: 12px; }
.nav__right { flex-wrap: wrap; }
.nav__links { flex-wrap: wrap; }
.footer__links { white-space: normal; }
.footer__links a { min-width: 0; }
.cs__body a { text-decoration: underline; text-underline-offset: .15em; }
.hero__copy, .about__copy, .cs__body, .cs__layout > *, .areas__row { min-width: 0; }
.btn { max-width: 100%; white-space: normal; }
.lab__cover { max-width: 100%; }
.lab__grid > * { min-width: 0; }
.lab__h2 { max-width: 100%; height: auto; }
@media (max-width: 1200px) {
  .hero__h1 { white-space: normal; }
}
@media (max-width: 700px) {
  .build__filter { position: static; }
  .areas__row { flex-wrap: wrap; overflow-x: visible; max-width: 100%; padding-right: 0; }
  .area { max-width: 100%; flex: 0 1 auto; white-space: normal; text-align: left; }
  .area__mark { flex-shrink: 0; }
}
