/* Self-hosted fonts (SIL Open Font License). No requests to Google. */
@font-face{font-family:"Bricolage Grotesque";font-style:normal;font-weight:500;font-display:swap;src:url(../assets/fonts/bricolage-grotesque-latin-500-normal.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:"Bricolage Grotesque";font-style:normal;font-weight:500;font-display:swap;src:url(../assets/fonts/bricolage-grotesque-latin-ext-500-normal.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:"Bricolage Grotesque";font-style:normal;font-weight:600;font-display:swap;src:url(../assets/fonts/bricolage-grotesque-latin-600-normal.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:"Bricolage Grotesque";font-style:normal;font-weight:600;font-display:swap;src:url(../assets/fonts/bricolage-grotesque-latin-ext-600-normal.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:"IBM Plex Sans";font-style:normal;font-weight:400;font-display:swap;src:url(../assets/fonts/ibm-plex-sans-latin-400-normal.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:"IBM Plex Sans";font-style:normal;font-weight:400;font-display:swap;src:url(../assets/fonts/ibm-plex-sans-latin-ext-400-normal.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:"IBM Plex Sans";font-style:normal;font-weight:500;font-display:swap;src:url(../assets/fonts/ibm-plex-sans-latin-500-normal.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:"IBM Plex Sans";font-style:normal;font-weight:500;font-display:swap;src:url(../assets/fonts/ibm-plex-sans-latin-ext-500-normal.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:"IBM Plex Sans";font-style:normal;font-weight:600;font-display:swap;src:url(../assets/fonts/ibm-plex-sans-latin-600-normal.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:"IBM Plex Sans";font-style:normal;font-weight:600;font-display:swap;src:url(../assets/fonts/ibm-plex-sans-latin-ext-600-normal.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:"IBM Plex Mono";font-style:normal;font-weight:400;font-display:swap;src:url(../assets/fonts/ibm-plex-mono-latin-400-normal.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:"IBM Plex Mono";font-style:normal;font-weight:500;font-display:swap;src:url(../assets/fonts/ibm-plex-mono-latin-500-normal.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}

/* ==========================================================================
   erwindegrave.com — "Diagnostic Report" design system
   Edit the tokens in :root to restyle the whole site.
   ========================================================================== */

:root {
  /* Colour */
  --ink: #0F1B1D;          /* dark sections, main text */
  --ink-2: #16262A;        /* cards on dark */
  --ink-3: #1D2F33;        /* rows inside dark cards */
  --ink-line: #2A3B3E;     /* rules on dark */
  --ink-deep: #0A1314;     /* footer */
  --header-line: #22312F;
  --paper: #F5F5F2;        /* light sections */
  --white: #FFFFFF;
  --line: #D9DCD8;         /* rules on light */
  --muted: #4A5553;        /* secondary text on light */
  --muted-dark: #A9B6B3;   /* secondary text on dark */
  --soft-dark: #C9D3D1;    /* body text on dark */
  --outline: #56686B;      /* ghost button borders on dark */
  --teal: #0B5D55;         /* labels and links on light */
  --teal-dark: #073F3A;
  --signal: #F2A93B;       /* the one accent: CTAs and highlights */

  /* Type */
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  /* Layout */
  --container: 1200px;
  --gutter: 24px;
  --section-y: clamp(72px, 9vw, 112px);
  --radius: 4px;
  --radius-sm: 3px;
}

/* Reset ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
a { color: var(--teal); }
a:hover { color: var(--teal-dark); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
[id] { scroll-margin-top: 88px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--signal); color: var(--ink); padding: 10px 16px;
  font-weight: 600; border-radius: var(--radius-sm); text-decoration: none;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* Layout helpers --------------------------------------------------------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 880px; }
.section { padding: var(--section-y) 0; }
.section--white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--dark { background: var(--ink); color: var(--paper); }
.stack { display: flex; flex-direction: column; }
.gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-20 { gap: 20px; }
.gap-24 { gap: 24px; } .gap-28 { gap: 28px; } .gap-40 { gap: 40px; } .gap-48 { gap: 48px; }
.split { display: flex; flex-wrap: wrap; gap: 64px; }
.split > * { min-width: 0; }
.grow-420 { flex: 1 1 420px; } .grow-520 { flex: 1 1 520px; } .grow-560 { flex: 1 1 560px; }
.grow-360 { flex: 1 1 360px; } .grow-320 { flex: 1 1 320px; } .grow-280 { flex: 1 1 280px; }
.section-head { display: flex; flex-direction: column; gap: 16px; max-width: 640px; }
.section-head--row {
  max-width: none; flex-direction: row; flex-wrap: wrap;
  justify-content: space-between; align-items: flex-end; gap: 24px;
}
.center { text-align: center; align-items: center; }

/* Type ------------------------------------------------------------------- */
.eyebrow {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--teal);
}
.section--dark .eyebrow, .hero .eyebrow { color: var(--muted-dark); }
.mono { font-family: var(--font-mono); }
.h1 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(40px, 6vw, 80px); line-height: 1.03; letter-spacing: -0.025em;
}
.h1--page { font-size: clamp(38px, 5.4vw, 72px); max-width: 900px; }
.h2 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(30px, 4vw, 48px); line-height: 1.08; letter-spacing: -0.02em;
}
.h2--xl { font-size: clamp(34px, 5vw, 64px); line-height: 1.04; letter-spacing: -0.025em; }
.h3 { font-family: var(--font-display); font-weight: 600; font-size: 26px; line-height: 1.2; }
.accent { color: var(--signal); }
.lead { font-size: 19px; line-height: 1.6; color: var(--soft-dark); max-width: 600px; }
.muted { color: var(--muted); }
.section--dark .muted { color: var(--muted-dark); }
.small { font-size: 15px; }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 14px 22px; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 16px; font-weight: 600;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn svg { flex: none; transition: transform .15s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--signal); color: var(--ink); }
.btn--primary:hover { color: var(--ink); filter: brightness(1.06); }
.btn--ghost { background: transparent; color: var(--paper); border-color: var(--outline); font-weight: 500; }
.btn--ghost:hover { color: var(--paper); border-color: var(--paper); }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { color: var(--paper); background: #1b2d30; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600;
  padding: 12px 0; align-self: flex-start;
}
.text-link svg { transition: transform .15s ease; }
.text-link:hover svg { transform: translateX(3px); }
.section--dark .text-link { color: var(--paper); }

/* Header ----------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink); border-bottom: 1px solid var(--header-line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 14px; padding-bottom: 14px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--paper); }
.brand:hover { color: var(--paper); }
.brand__mark {
  width: 40px; height: 40px; border: 1.5px solid var(--paper);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.04em;
}
.brand__name { font-family: var(--font-display); font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }

.nav { display: flex; align-items: center; gap: 8px 28px; }
.nav__link { color: var(--soft-dark); text-decoration: none; font-size: 15px; padding: 10px 0; }
.nav__link:hover { color: var(--paper); }
.nav__link[aria-current="page"] { color: var(--paper); text-decoration: underline; text-underline-offset: 6px; }
.nav .btn { min-height: 42px; padding: 10px 18px; font-size: 15px; }

.lang { display: flex; border: 1px solid #3A4B4E; border-radius: var(--radius-sm); }
.lang__opt {
  min-width: 44px; height: 40px; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 13px; color: var(--soft-dark); text-decoration: none;
}
.lang__opt:hover { color: var(--paper); }
.lang__opt[aria-current="true"] { background: var(--paper); color: var(--ink); }

.menu-toggle {
  display: none; width: 44px; height: 44px; padding: 0;
  background: transparent; border: 1px solid #3A4B4E; border-radius: var(--radius-sm);
  color: var(--paper); cursor: pointer; align-items: center; justify-content: center;
}

@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); border-bottom: 1px solid var(--header-line);
    padding: 8px var(--gutter) 24px;
  }
  .nav.is-open { display: flex; }
  .nav__link { padding: 14px 0; border-bottom: 1px solid var(--ink-line); font-size: 17px; }
  .nav .lang { align-self: flex-start; margin: 20px 0 16px; }
  .nav .btn { min-height: 48px; }
}

/* Hero ------------------------------------------------------------------- */
.hero { background: var(--ink); color: var(--paper); }
.hero__inner {
  display: flex; flex-wrap: wrap; align-items: center; gap: 64px;
  padding-top: clamp(64px, 8vw, 96px); padding-bottom: clamp(72px, 9vw, 112px);
}
.hero__copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero__note { font-family: var(--font-mono); font-size: 13px; color: var(--muted-dark); }
.page-hero__inner {
  padding-top: clamp(64px, 8vw, 88px); padding-bottom: clamp(72px, 8vw, 96px);
  display: flex; flex-direction: column; gap: 24px;
}
.page-hero__inner--split { flex-direction: row; flex-wrap: wrap; align-items: flex-end; gap: 56px; }

/* Diagnostic card -------------------------------------------------------- */
.diag {
  flex: 1 1 400px; min-width: 0; background: var(--ink-2); border: 1px solid var(--ink-line);
  border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 20px;
}
.diag__head {
  display: flex; justify-content: space-between; gap: 12px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted-dark);
}
.diag__label { font-family: var(--font-mono); font-size: 12px; color: var(--muted-dark); }
.diag__group { display: flex; flex-direction: column; gap: 10px; }
.diag__symptom {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px;
  background: var(--ink-3); border-radius: var(--radius-sm);
}
.diag__symptom::before { content: ""; width: 8px; height: 8px; background: var(--muted-dark); flex: none; }
.diag__arrow { display: flex; justify-content: center; color: var(--muted-dark); }
.diag__constraint {
  padding: 16px; border: 1.5px dashed var(--signal); border-radius: var(--radius-sm);
  font-family: var(--font-display); font-size: 20px; font-weight: 600; line-height: 1.3;
}
.diag__moves { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.diag__move { padding: 12px; background: var(--paper); color: var(--ink); border-radius: var(--radius-sm); }
.diag__move span { display: block; font-family: var(--font-mono); font-size: 12px; }
.diag__move strong { display: block; font-size: 15px; line-height: 1.3; }

/* Stats ------------------------------------------------------------------ */
.stats-bar { background: var(--white); border-bottom: 1px solid var(--line); }
.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px; padding-top: 40px; padding-bottom: 40px;
}
.stat__value { font-family: var(--font-display); font-size: 44px; font-weight: 600; line-height: 1; }
.stat__label { margin-top: 8px; color: var(--muted); font-size: 15px; }

/* Numbered cards (the pattern) ------------------------------------------- */
.num-list { display: flex; flex-direction: column; gap: 12px; }
.num-card {
  display: flex; gap: 20px; padding: 24px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius);
}
.num-card__n { font-family: var(--font-mono); font-size: 14px; color: var(--teal); padding-top: 2px; }
.num-card__title { font-weight: 600; font-size: 19px; line-height: 1.35; margin-bottom: 4px; }

/* Steps ------------------------------------------------------------------ */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.steps--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.step { border-top: 3px solid var(--ink); padding-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.step--soft { border-top-color: var(--line); }
.step--accent { border-top-color: var(--signal); }
.step__when { font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.steps--compact .step { padding-top: 20px; gap: 8px; }
.steps--compact .step__title { font-weight: 600; font-size: 19px; }

/* Track record rows ------------------------------------------------------ */
.portrait {
  flex: 1 1 340px; max-width: 440px; aspect-ratio: 4 / 5; min-width: 0;
  border-radius: var(--radius); overflow: hidden; background: var(--ink-2);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait--placeholder {
  border: 1.5px dashed var(--outline); display: flex; align-items: center; justify-content: center;
  color: var(--muted-dark); font-family: var(--font-mono); font-size: 13px; text-align: center; padding: 24px;
}
.portrait--sm { flex: 1 1 280px; max-width: 360px; }
.track { display: flex; flex-direction: column; }
.track__row {
  display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 20px 0; border-top: 1px solid var(--ink-line);
}
.track__row:last-child { border-bottom: 1px solid var(--ink-line); }
.track__when { flex: 0 0 120px; font-family: var(--font-mono); font-size: 13px; color: var(--signal); padding-top: 3px; }
.track__body { flex: 1 1 320px; min-width: 0; }
.track__title { font-weight: 600; }
.track__body p { color: var(--muted-dark); }

/* Beliefs grid ----------------------------------------------------------- */
.grid-ruled {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}
.grid-ruled > * { background: var(--paper); padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.grid-ruled__n { font-family: var(--font-mono); font-size: 13px; color: var(--teal); }
.grid-ruled__title { font-weight: 600; font-size: 19px; line-height: 1.35; }

/* Testimonials ----------------------------------------------------------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.quote {
  padding: 36px; border: 1px solid var(--line); border-radius: var(--radius);
  display: flex; flex-direction: column; gap: 24px;
}
.quote__result { font-family: var(--font-mono); font-size: 13px; color: var(--teal); }
.quote blockquote { font-family: var(--font-display); font-size: 24px; line-height: 1.3; font-weight: 500; }
.quote figcaption { color: var(--muted); font-size: 15px; }

/* Assessment band -------------------------------------------------------- */
.band { background: var(--signal); color: var(--ink); }
.band__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 32px; padding-top: 80px; padding-bottom: 80px;
}
.band .eyebrow { color: var(--ink); }
.band .h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; }
.band p { max-width: 560px; }

/* Closing CTA ------------------------------------------------------------ */
.cta { padding: clamp(88px, 10vw, 128px) 0; }
.cta__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; }
.cta__alt { color: var(--muted-dark); font-size: 15px; }
.cta__alt a { color: var(--paper); }

/* Footer ----------------------------------------------------------------- */
.site-footer { background: var(--ink-deep); color: var(--muted-dark); font-size: 15px; }
.site-footer a { color: var(--muted-dark); text-decoration: none; }
.site-footer a:hover { color: var(--paper); text-decoration: underline; }
.footer__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px; padding-top: 64px;
}
.footer__col { display: flex; flex-direction: column; gap: 8px; }
.footer__brand { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--paper); }
.footer__heading {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--paper); margin-bottom: 4px;
}
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  margin-top: 48px; padding: 24px 0 32px; border-top: 1px solid var(--header-line); font-size: 14px;
}
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 20px; }

/* How I Work: phases ----------------------------------------------------- */
.phase {
  display: flex; flex-wrap: wrap; gap: 40px; padding: clamp(28px, 4vw, 48px);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
}
.phase--dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.phase__intro { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.phase__tag { font-family: var(--font-mono); font-size: 13px; color: var(--teal); }
.phase--dark .phase__tag { color: var(--signal); }
.phase--dark .muted { color: var(--soft-dark); }
.phase__list { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; }
.phase__list-label {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 12px;
}
.phase--dark .phase__list-label { color: var(--muted-dark); }
.phase__item { display: flex; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.phase__item:last-child { border-bottom: 1px solid var(--line); }
.phase--dark .phase__item { border-color: var(--ink-line); }
.phase__item .mono { font-size: 13px; color: var(--teal); padding-top: 2px; }
.phase--dark .phase__item .mono { color: var(--signal); }

/* Fit lists -------------------------------------------------------------- */
.fit { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.fit__card { padding: 36px; border: 1px solid var(--line); border-radius: var(--radius); }
.fit__card--no { background: var(--paper); }
.fit__title { font-weight: 600; font-size: 19px; margin-bottom: 12px; }
.fit__item { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.fit__item svg { flex: none; margin-top: 4px; }

/* Pricing + FAQ ---------------------------------------------------------- */
.price-list { margin-top: 12px; }
.price-row {
  display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line);
}
.price-row:last-child { border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; font-weight: 600; font-size: 18px; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 28px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-family: var(--font-mono); font-weight: 400; font-size: 22px; color: var(--teal);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 12px; color: var(--muted); }

/* My Story timeline ------------------------------------------------------ */
.timeline { display: flex; flex-direction: column; }
.tl {
  display: flex; flex-wrap: wrap; gap: 12px 48px; padding: 36px 0; border-top: 1px solid var(--line);
}
.tl__when { flex: 0 0 180px; font-family: var(--font-mono); font-size: 14px; color: var(--teal); padding-top: 6px; }
.tl__body { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.tl__body > div { display: flex; flex-direction: column; gap: 8px; }
.tl__title { font-family: var(--font-display); font-size: 28px; font-weight: 600; line-height: 1.2; }
.highlights { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.highlight {
  padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  display: flex; flex-direction: column; gap: 10px;
}
.highlight--dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.highlight__label {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.highlight--dark .highlight__label { color: var(--muted-dark); }
.highlight__value { font-family: var(--font-display); font-size: 40px; font-weight: 600; line-height: 1; color: var(--signal); }
.highlight__title { font-weight: 600; font-size: 19px; }
.highlight p { font-size: 15px; color: var(--muted); }
.highlight--dark p { color: var(--soft-dark); }
.grid-ruled--white > * { background: var(--white); padding: 24px; gap: 6px; }
.mini-stat__value { font-family: var(--font-display); font-size: 36px; font-weight: 600; line-height: 1; }
.lessons { display: flex; flex-direction: column; }
.lesson { padding: 20px 0; border-top: 1px solid var(--line); }
.lesson:last-child { border-bottom: 1px solid var(--line); }
.lesson__title { font-weight: 600; }

/* Reveal on scroll (progressive: content is visible without JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* Small screens ---------------------------------------------------------- */
@media (max-width: 600px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .lead { font-size: 17px; }
  .diag { padding: 20px; }
  .diag__moves { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; }
  .quotes, .fit { grid-template-columns: 1fr; }
  .quote, .fit__card { padding: 24px; }
  .quote blockquote { font-size: 20px; }
  .tl { padding: 28px 0; }
  .tl__title { font-size: 24px; }
  .brand__name { font-size: 18px; }
}

/* ==========================================================================
   v2 additions: ruled lists, score preview, ventures, forms, contact
   ========================================================================== */

/* Ruled list (symptoms, reasons) */
.rule-list { list-style: none; margin: 0; padding: 0; }
.rule-list li { display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.rule-list li:last-child { border-bottom: 1px solid var(--line); }
.rule-list .mono { color: var(--teal); font-size: 13px; padding-top: 3px; flex: none; }
.section--dark .rule-list li { border-color: var(--ink-line); }
.section--dark .rule-list .mono { color: var(--signal); }

/* Pull quote band */
.pull { font-family: var(--font-display); font-weight: 500; font-size: clamp(24px, 3vw, 36px); line-height: 1.25; letter-spacing: -0.01em; max-width: 900px; }

/* Score preview (assessment) */
.score {
  flex: 1 1 420px; min-width: 0; background: var(--ink-2); border: 1px solid var(--ink-line);
  border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 20px; color: var(--paper);
}
.score__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.score__value { font-family: var(--font-display); font-size: 64px; font-weight: 600; line-height: 1; }
.score__value small { font-size: 24px; color: var(--muted-dark); font-weight: 500; }
.score__tier {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  border: 1.5px dashed var(--signal); color: var(--signal); padding: 6px 10px; border-radius: var(--radius-sm);
}
.bars { display: flex; flex-direction: column; gap: 10px; }
.bar-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) 44px; gap: 12px; align-items: center; font-size: 14px; }
.bar { height: 8px; background: var(--ink-3); border-radius: 2px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--signal); }
.bar-row .mono { font-size: 12px; color: var(--muted-dark); text-align: right; }
.score__note { font-family: var(--font-mono); font-size: 12px; color: var(--muted-dark); }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px 20px; font-family: var(--font-mono); font-size: 13px; color: var(--muted-dark); }

/* Ventures */
.ventures { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.venture {
  display: flex; flex-direction: column; gap: 6px; padding: 24px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink);
  transition: border-color .15s ease, transform .15s ease;
}
.venture:hover { color: var(--ink); border-color: var(--ink); transform: translateY(-2px); }
.venture__name { font-weight: 600; font-size: 18px; }
.venture__url { font-family: var(--font-mono); font-size: 13px; color: var(--teal); margin-top: auto; padding-top: 8px; }

/* Contact */
.contact-grid { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.contact-grid > * { min-width: 0; }
.detail { padding: 18px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.detail:last-child { border-bottom: 1px solid var(--line); }
.detail__label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.form-card { flex: 1 1 520px; padding: clamp(24px, 4vw, 40px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.form { display: flex; flex-direction: column; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-weight: 600; font-size: 15px; }
.field .req { color: var(--teal); }
.field input, .field textarea {
  font: inherit; color: var(--ink); background: var(--paper); border: 1px solid #B9BFBC;
  border-radius: var(--radius-sm); padding: 12px 14px; min-height: 48px; width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.form .btn { align-self: flex-start; border: 0; }
.form-status { font-size: 15px; min-height: 1.5em; }
.form-status.is-ok { color: var(--teal); }
.form-status.is-error { color: #A3361B; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.grid-ruled--3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
@media (min-width: 1000px) { .grid-ruled--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ==========================================================================
   v3 additions: real estate band, consent, form notices, legal pages
   ========================================================================== */
.ext-mark { font-family: var(--font-mono); font-size: 0.8em; margin-left: 2px; }
.re-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.re-card {
  display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: var(--radius);
  background: var(--ink-2); border: 1px solid var(--ink-line); color: var(--paper); text-decoration: none;
  transition: border-color .15s ease, transform .15s ease;
}
.re-card:hover { color: var(--paper); border-color: var(--signal); transform: translateY(-2px); }
.re-card__title { font-family: var(--font-display); font-size: 22px; font-weight: 600; }
.re-card__more { margin-top: auto; padding-top: 8px; font-weight: 600; color: var(--signal); }
.re-card p { color: var(--soft-dark); font-size: 15px; }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.check input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--teal); }
.notice { padding: 14px 16px; border-radius: var(--radius-sm); font-size: 15px; }
.notice--ok { background: #E4F1EE; color: var(--teal-dark); border: 1px solid #B8D9D2; }
.notice--error { background: #FBEAE5; color: #7A2914; border: 1px solid #F0C4B6; }

.legal { max-width: 760px; display: flex; flex-direction: column; gap: 16px; }
.legal h2 { font-family: var(--font-display); font-size: 24px; font-weight: 600; line-height: 1.25; margin-top: 24px; }
.legal h3 { font-size: 18px; font-weight: 600; margin-top: 8px; }
.legal ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.legal dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; }
.legal dt { font-weight: 600; }
.legal dd { margin: 0; }
@media (max-width: 600px) { .legal dl { grid-template-columns: 1fr; } .legal dd { margin-bottom: 8px; } }
.todo { background: #FFF1DC; color: #7A4300; border: 1px dashed #E0A050; padding: 1px 6px; border-radius: 3px; font-size: 0.92em; }
