/* ==========================================================================
   Sarmady — website styles
   Built on Sarmady Brand System V1 (colour, type, grid, Flowline & Diamond,
   motion). Tokens first, then layout, then sections.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Core */
  --teal: #004046;          /* Teal 800 — brand ground, headlines, actions */
  --ivory: #FBFAF6;         /* Paper 50 — light ground */
  --deep: #01262A;          /* Teal 900 — dark ground (never black) */

  /* Teal ramp */
  --teal-100: #E9F0EC;
  --teal-200: #D3E2DE;
  --teal-300: #AEC9C5;
  --teal-400: #7FAAA8;
  --teal-500: #4F8C8C;
  --teal-600: #2A6E71;
  --teal-700: #0E555A;

  /* Paper & ink */
  --paper-100: #F3F1EA;
  --paper-200: #E7E3D8;
  --paper-300: #D2CCBD;
  --ink: #0F2224;
  --ink-700: #33484A;
  --ink-500: #4A5A5B;
  --ink-400: #7D8A8A;
  --on-dark: #C9D8D6;
  --on-dark-muted: #A9C2C0;

  /* Saffron — insight only, never decoration */
  --saffron: #C9962F;
  --saffron-on-dark: #E2B04F;
  --saffron-text: #8A5D12;

  /* Lines */
  --hairline: rgba(0, 64, 70, 0.14);
  --hairline-strong: rgba(0, 64, 70, 0.3);
  --hairline-dark: rgba(251, 250, 246, 0.14);

  /* Type */
  --font-sans: 'Hanken Grotesk', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  /* Grid — desktop ≥ 1280: 12 col, margin 80, gutter 24, max content 1280 */
  --cols: 12;
  --margin: 80px;
  --gutter: 24px;
  --section: 144px;

  /* Motion (Brand System 09) */
  --ease-flow: cubic-bezier(.65, 0, .35, 1);   /* lines, 800–1200 ms */
  --ease-settle: cubic-bezier(.2, 0, 0, 1);    /* content, 400 ms, 8 px */
  --dur-flow: 1100ms;
  --dur-settle: 400ms;
  --dur-mark: 240ms;                            /* diamonds, overshoot 1.35 → 1 */
  --dur-ui: 140ms;                              /* UI state, no movement */
}

@media (max-width: 1279px) {  /* tablet: 8 col, margin 40, gutter 20 */
  :root { --cols: 8; --margin: 40px; --gutter: 20px; --section: 112px; }
}
@media (max-width: 767px) {   /* mobile: 4 col, margin 20, gutter 16 */
  :root { --cols: 4; --margin: 20px; --gutter: 16px; --section: 88px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--teal); text-decoration: none; transition: color var(--dur-ui) linear; }
a:hover { color: var(--teal-600); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.on-dark :focus-visible { outline-color: var(--ivory); }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  background: var(--teal); color: var(--ivory); padding: 10px 16px; border-radius: 2px;
}
.skip-link:focus { top: 16px; color: var(--ivory); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(1280px + 2 * var(--margin)); margin: 0 auto; padding: 0 var(--margin); }
.grid { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); column-gap: var(--gutter); }
.section { padding-top: var(--section); }

/* Section label (cols 1–3) and statement (from col 4) */
.label {
  font-family: var(--font-mono); font-size: 12px; line-height: 1.4;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-500);
}
.on-dark .label { color: var(--on-dark-muted); }
.section-head .label { grid-column: 1 / 4; padding-top: 14px; }
.section-head h2 { grid-column: 4 / 12; }
.section-head .lede { grid-column: 4 / 10; margin-top: 28px; }

@media (max-width: 1279px) {
  .section-head .label, .section-head h2, .section-head .lede { grid-column: 1 / -1; }
  .section-head h2 { margin-top: 20px; }
}

/* ---------- Type ---------- */
.display {
  font-size: clamp(44px, 7.2vw, 104px); line-height: 0.98; font-weight: 400;
  letter-spacing: -0.04em; color: var(--teal); text-wrap: balance;
}
.h2 {
  font-size: clamp(34px, 4.2vw, 56px); line-height: 1.06; font-weight: 400;
  letter-spacing: -0.03em; color: var(--teal); text-wrap: balance;
}
.on-dark .h2 { color: var(--ivory); }
.h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; font-weight: 400; letter-spacing: -0.015em; }
.lede { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; color: var(--ink-700); text-wrap: pretty; }
.on-dark .lede { color: var(--on-dark); }
.mono { font-family: var(--font-mono); }

/* ---------- Buttons (2 px radius, flat, no pills) ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  height: 56px; padding: 0 26px; border-radius: 2px;
  font-size: 16px; font-weight: 500; white-space: nowrap;
  transition: background-color var(--dur-ui) linear, border-color var(--dur-ui) linear, color var(--dur-ui) linear;
}
.btn .arrow { font-family: var(--font-mono); }
.btn--primary { background: var(--teal); color: var(--ivory); }
.btn--primary:hover { background: var(--teal-700); color: var(--ivory); }
.btn--secondary { border: 1px solid var(--hairline-strong); color: var(--teal); }
.btn--secondary:hover { border-color: var(--teal); background: var(--paper-100); color: var(--teal); }
.btn--light { background: var(--ivory); color: var(--teal); }
.btn--light:hover { background: var(--teal-100); color: var(--teal); }
.btn--sm { height: 44px; padding: 0 20px; font-size: 14px; gap: 12px; }

.text-link {
  display: inline-flex; align-items: center; gap: 10px; padding-bottom: 2px;
  border-bottom: 1px solid var(--teal); font-weight: 500; color: var(--teal);
}
.text-link:hover { color: var(--teal-600); border-color: var(--teal-600); }

/* ---------- Diamond (from the letter dots) ---------- */
.diamond {
  display: inline-block; width: 10px; height: 10px; flex: none;
  transform: rotate(45deg); box-sizing: border-box;
  border: 1.2px solid var(--teal); background: var(--ivory);
}
.diamond--filled { background: var(--teal); }
.on-dark .diamond { border-color: var(--ivory); background: var(--deep); }
.on-dark .diamond--filled { background: var(--ivory); }

/* Signature: the double diamond, once per surface, at the end of the line */
.signature { display: flex; gap: 3px; align-items: center; }
.signature .diamond { width: 10px; height: 10px; border: 0; background: var(--saffron); }
.on-dark .signature .diamond { background: var(--saffron-on-dark); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 246, 0.94);
  -webkit-backdrop-filter: saturate(1.2) blur(8px); backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--hairline);
}
.site-header .grid { height: 88px; align-items: center; }
.brand { grid-column: 1 / 3; display: flex; align-items: center; }
.brand img { height: 50px; width: auto; }
.nav { grid-column: 4 / 10; display: flex; gap: 36px; font-size: 15px; font-weight: 500; }
.nav a { color: var(--ink); padding: 8px 0; box-shadow: inset 0 -1px 0 transparent; transition: box-shadow var(--dur-ui) linear, color var(--dur-ui) linear; }
.nav a:hover { color: var(--teal); box-shadow: inset 0 -1px 0 var(--teal); }
.header-cta { grid-column: 10 / 13; justify-self: end; }
.menu-toggle { display: none; }

@media (max-width: 1279px) {
  .brand { grid-column: 1 / 3; }
  .nav { grid-column: 3 / 8; gap: 24px; font-size: 14px; }
  .header-cta { display: none; }
  .brand img { height: 44px; }
}
@media (max-width: 899px) {
  .site-header .grid { height: 72px; }
  .brand img { height: 40px; }
  .menu-toggle {
    grid-column: -2 / -1; justify-self: end; display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border: 1px solid var(--hairline-strong); border-radius: 2px;
    background: transparent; color: var(--teal); cursor: pointer; padding: 0;
  }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; padding: 8px var(--margin) 24px;
    background: var(--ivory); border-bottom: 1px solid var(--hairline);
    font-size: 18px;
  }
  .nav:not(.is-open) { display: none; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--hairline); box-shadow: none; }
  .nav a:hover { box-shadow: none; }
  .nav .nav-cta { display: inline-flex; margin-top: 20px; border-bottom: 0; justify-content: center; color: var(--ivory); }
}
.nav .nav-cta { display: none; }
@media (max-width: 899px) { .nav .nav-cta { display: inline-flex; } }

/* ---------- Hero ---------- */
.hero { padding-top: 112px; }
.hero h1 { grid-column: 1 / 12; }
.hero .hero-copy { grid-column: 6 / 12; margin-top: 56px; }
.hero .hero-copy p { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: var(--ink); text-wrap: pretty; }
.hero .hero-rule {
  grid-column: 1 / 5; margin-top: 56px; padding-top: 14px; border-top: 1px solid var(--teal);
  align-self: start;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }

@media (max-width: 1279px) {
  .hero h1 { grid-column: 1 / -1; }
  .hero .hero-rule { display: none; }
  .hero .hero-copy { grid-column: 1 / 8; margin-top: 40px; }
}
@media (max-width: 767px) {
  .hero { padding-top: 64px; }
  .hero .hero-copy { grid-column: 1 / -1; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* ---------- 01 Problem ---------- */
.problem-cards { grid-column: 1 / -1; margin-top: 88px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--teal); }
.problem-card { padding: 28px 32px 0; border-left: 1px solid var(--hairline); }
.problem-card:first-child { padding-left: 0; border-left: 0; }
.problem-card:last-child { padding-right: 0; }
.problem-card .meta { display: flex; gap: 14px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); }
.problem-card .meta span:last-child { color: var(--ink-500); }
.problem-card h3 { margin-top: 20px; font-size: clamp(22px, 2vw, 26px); line-height: 1.25; letter-spacing: -0.015em; font-weight: 400; color: var(--teal); text-wrap: balance; }
.problem-card p { margin-top: 14px; max-width: 34ch; font-size: 16px; line-height: 1.6; color: var(--ink-500); text-wrap: pretty; }

@media (max-width: 1023px) {
  .problem-cards { grid-template-columns: 1fr; margin-top: 56px; }
  .problem-card, .problem-card:first-child, .problem-card:last-child { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--hairline); }
}

/* ---------- 02 Who it's for (ruled rows, not cards) ---------- */
.sector-list { grid-column: 1 / -1; margin-top: 80px; border-top: 1px solid var(--teal); }
.sector {
  display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); column-gap: var(--gutter);
  padding: 40px 0; border-bottom: 1px solid var(--hairline);
}
.sector .idx { grid-column: 1 / 2; font-family: var(--font-mono); font-size: 12px; color: var(--teal); padding-top: 6px; }
.sector .sector-head { grid-column: 2 / 7; }
.sector .sector-head .label { color: var(--teal); }
.sector .sector-head h3 { margin-top: 12px; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.15; letter-spacing: -0.02em; color: var(--teal); font-weight: 400; text-wrap: balance; }
.sector p { grid-column: 7 / 13; font-size: 17px; line-height: 1.6; color: var(--ink-700); }
.sector-note { grid-column: 4 / 13; margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.sector-note p { max-width: 560px; font-size: 17px; color: var(--ink-500); }

@media (max-width: 1279px) {
  .sector .sector-head { grid-column: 2 / 5; }
  .sector p { grid-column: 5 / 9; }
  .sector-note { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .sector-list { margin-top: 56px; }
  .sector { padding: 28px 0; }
  .sector .idx { grid-column: 1 / -1; }
  .sector .sector-head, .sector p { grid-column: 1 / -1; }
  .sector .sector-head { margin-top: 8px; }
  .sector p { margin-top: 16px; }
}

/* ---------- 03 What we do ---------- */
.statement { grid-column: 4 / 12; font-size: clamp(26px, 2.9vw, 40px); line-height: 1.2; letter-spacing: -0.025em; color: var(--teal); text-wrap: pretty; }
.nos { grid-column: 4 / 13; margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--teal); }
.nos div { padding: 20px 24px 0; border-left: 1px solid var(--hairline); font-size: 18px; line-height: 1.45; color: var(--ink); }
.nos div:first-child { padding-left: 0; border-left: 0; }
.nos .mono { display: block; font-size: 11px; letter-spacing: 0.1em; color: var(--ink-500); margin-bottom: 10px; }

@media (max-width: 1279px) {
  .statement, .nos { grid-column: 1 / -1; }
  .statement { margin-top: 20px; }
}
@media (max-width: 767px) {
  .nos { grid-template-columns: 1fr; }
  .nos div, .nos div:first-child { padding: 18px 0; border-left: 0; border-bottom: 1px solid var(--hairline); }
}

/* ---------- 04 How we work (dark band, Flowline) ---------- */
.band-dark { background: var(--deep); color: var(--ivory); margin-top: var(--section); padding: 120px 0 112px; }
.steps { --start: 17%; position: relative; margin-top: 72px; }
.steps svg.flow { position: absolute; left: 0; top: 0; width: calc(100% - 36px); height: 180px; overflow: visible; }
.steps .noise line { stroke: var(--teal-400); stroke-width: 1.5; }
.steps .line-mark {
  position: absolute; top: 134px; width: 12px; height: 12px;
  left: calc(var(--start) + (100% - var(--start) + var(--gutter)) * var(--i) / 4);
}
.steps .line-mark--insight { top: 133px; width: 14px; height: 14px; border: 0; background: var(--saffron-on-dark); }
.steps .signature { position: absolute; right: 0; top: 140px; transform: translateY(-50%); }
.steps-grid { list-style: none; margin-top: 0; margin-bottom: 0; padding-left: 0; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gutter); margin-left: var(--start); padding-top: 140px; }
.step { position: relative; padding-right: 24px; }
.step > .diamond { display: none; }
.step .num { margin-top: 36px; font-family: var(--font-mono); font-size: 12px; color: var(--on-dark-muted); }
.step h3 { margin-top: 10px; font-size: clamp(24px, 2.2vw, 28px); letter-spacing: -0.015em; font-weight: 400; color: var(--ivory); }
.step p { margin-top: 12px; font-size: 15.5px; line-height: 1.6; color: var(--on-dark); }
.step .step-meta {
  margin-top: 20px; padding-top: 12px; border-top: 1px solid var(--hairline-dark);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark-muted);
}

@media (max-width: 1023px) {
  .steps { --start: 22%; margin-top: 48px; }
  .steps .ticks { display: none; }
  .steps-grid { margin-left: 0; padding-top: 196px; grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .step { padding-top: 20px; border-top: 1px solid var(--hairline-dark); }
  .step .num { margin-top: 0; }
}
@media (max-width: 599px) {
  .steps-grid { grid-template-columns: 1fr; row-gap: 32px; }
}

/* ---------- 05 Solutions ---------- */
.solutions { grid-column: 1 / -1; margin-top: 80px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 0; border-top: 1px solid var(--teal); }
.solution { display: flex; flex-direction: column; padding: 32px 40px 0 0; }
.solution + .solution { padding: 32px 0 0 40px; border-left: 1px solid var(--hairline); }
.solution .sol-head { display: flex; gap: 20px; align-items: baseline; }
.solution .sol-head .mono { font-size: 12px; color: var(--teal); }
.solution h3 { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.2; letter-spacing: -0.02em; font-weight: 400; color: var(--teal); text-wrap: balance; }
.sol-rows { margin-top: 32px; display: grid; grid-template-columns: 112px minmax(0, 1fr); row-gap: 22px; column-gap: 16px; font-size: 16px; line-height: 1.6; color: var(--ink-700); }
.sol-rows dt { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); padding-top: 4px; }
.sol-rows dd { margin: 0; }
.sol-rows dd.outcome { color: var(--ink); }
.metrics { margin-top: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--teal); }
.metric { padding: 20px 20px 0 0; }
.metric + .metric { padding: 20px 0 0 20px; border-left: 1px solid var(--hairline); }
.metric .mono { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-500); }
.metric .vals { display: flex; align-items: baseline; gap: 12px; margin-top: 10px; }
.metric .was { font-size: 22px; color: var(--ink-400); text-decoration: line-through; }
.metrics--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.metrics--three .metric .now { font-size: clamp(28px, 2.4vw, 36px); }
.metrics--three .was { font-size: 18px; }
.metric .now { font-size: clamp(36px, 3.4vw, 48px); letter-spacing: -0.03em; color: var(--teal); font-feature-settings: 'tnum'; line-height: 1; }
/* Figures sit at the same height at the foot of every solution card */
.solution .sol-rows { margin-bottom: 32px; }
.solution .read-more { padding-top: 36px; }

@media (max-width: 1023px) {
  .solutions { grid-template-columns: 1fr; margin-top: 56px; }
  .solution, .solution + .solution { padding: 32px 0 40px; border-left: 0; border-bottom: 1px solid var(--hairline); }
}
@media (max-width: 479px) {
  .sol-rows { grid-template-columns: 1fr; row-gap: 6px; }
  .sol-rows dd { margin-bottom: 14px; }
}

/* ---------- Closing CTA (teal band) ---------- */
.cta { margin-top: 160px; background: var(--teal); color: var(--ivory); padding: 120px 0 0; overflow: hidden; }
.cta h2 { grid-column: 1 / 9; font-size: clamp(40px, 5.6vw, 80px); line-height: 1; letter-spacing: -0.04em; font-weight: 400; text-wrap: balance; }
.cta .cta-side { grid-column: 9 / 13; align-self: end; }
.cta .cta-side .btn { margin-top: 28px; }
.cta .cta-side p { font-size: 18px; line-height: 1.6; color: var(--teal-200); }
.cta-line { position: relative; margin-top: 96px; height: 120px; }
.cta-line svg.flow { position: absolute; left: 0; top: 0; width: calc(100% - 36px); height: 100%; overflow: visible; }
.cta-line .signature { position: absolute; right: 0; top: 60px; transform: translateY(-50%); }
@media (max-width: 1279px) {
  .cta h2, .cta .cta-side { grid-column: 1 / -1; }
  .cta .cta-side { margin-top: 32px; }
}
@media (max-width: 767px) {
  .cta { margin-top: 112px; padding-top: 88px; }
  .cta-line { margin-top: 56px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--deep); color: var(--on-dark); padding: 72px 0 48px; }
.site-footer .f-brand { grid-column: 1 / 4; }
.site-footer .f-brand img { height: 60px; width: auto; }
.site-footer .f-nav { grid-column: 10 / 13; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; font-size: 14px; align-content: start; }
.site-footer .f-nav a { color: var(--on-dark); }
.site-footer .f-nav a:hover { color: var(--ivory); }
.site-footer .f-base {
  margin-top: 72px; padding-top: 20px; border-top: 1px solid var(--hairline-dark);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-400);
}
@media (max-width: 1279px) {
  .site-footer .f-brand { grid-column: 1 / 4; }
  .site-footer .f-nav { grid-column: 6 / 9; }
}
@media (max-width: 767px) {
  .site-footer .f-brand, .site-footer .f-nav { grid-column: 1 / -1; }
  .site-footer .f-nav { margin-top: 40px; }
  .site-footer .f-nav { grid-template-columns: 1fr 1fr; }
}

/* ---------- Solution placeholder pages ---------- */
.page-hero { padding-top: 112px; padding-bottom: 40px; }
.page-hero .label { display: flex; gap: 14px; align-items: center; }
.page-hero h1 { margin-top: 36px; }
.page-hero .lede { margin-top: 32px; max-width: 640px; }
.page-hero .text-link { margin-top: 40px; }

/* ---------- Solution subpages (case-study layout) ----------
   Reads like a report page (Brand System 10.4): a compact paper header,
   a narrow reading column, figures with mono captions. */
.nav a[aria-current="page"] { color: var(--teal); box-shadow: inset 0 -1px 0 var(--teal); }

.sub-hero { background: var(--paper-100); border-bottom: 1px solid var(--hairline); padding: 40px 0 72px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-400); }
.crumbs a { color: var(--ink-500); }
.crumbs a:hover { color: var(--teal); }
.crumbs [aria-current] { color: var(--ink); }
.sub-hero--404 { min-height: calc(100vh - 88px - 330px); padding-bottom: 120px; }
.sub-hero-grid { margin-top: 56px; align-items: end; }
.sub-hero-main { grid-column: 1 / 8; }
.sub-hero-main h1 { margin-top: 20px; font-size: clamp(36px, 4.4vw, 60px); line-height: 1.04; font-weight: 400; letter-spacing: -0.03em; color: var(--teal); text-wrap: balance; }
.sub-hero-main .lede { margin-top: 24px; max-width: 560px; }
.sub-hero-main .text-link { margin-top: 32px; }

/* Key facts */
.facts { margin: 0; display: grid; border-top: 1px solid var(--teal); }
.facts dt { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-500); }
.facts dd { margin: 8px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.facts .was { font-size: 20px; color: var(--ink-400); text-decoration: line-through; }
.facts .now { font-size: clamp(30px, 2.8vw, 40px); line-height: 1; letter-spacing: -0.03em; color: var(--teal); }
.facts .now--text { font-size: clamp(22px, 2vw, 26px); letter-spacing: -0.015em; }
.facts .note { flex-basis: 100%; font-size: 14px; line-height: 1.5; color: var(--ink-500); margin-top: 4px; }
.facts--stacked { grid-column: 9 / 13; }
.facts--stacked > div { padding: 18px 0; border-bottom: 1px solid var(--hairline); }

/* Article sections: label in columns 1–3, a reading column from 4 */
.art-section { padding-top: 96px; }
.art-section > .grid > .label { grid-column: 1 / 4; padding-top: 10px; }
.art-body { grid-column: 4 / 10; }
.art-body--wide { grid-column: 4 / 13; }
.art-body h2 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; font-weight: 400; letter-spacing: -0.02em; color: var(--teal); text-wrap: balance; }
.art-body > p { margin-top: 20px; font-size: 18px; line-height: 1.65; color: var(--ink-700); text-wrap: pretty; }

.band-dark--tight { margin-top: 72px; padding: 96px 0 80px; }
.band-dark--tight .steps { margin-top: 0; }

/* Flowline captions */
.flow-caption { position: absolute; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-muted); }
.flow-caption--start { left: 0; top: -36px; }
.flow-caption--end { right: 0; top: 100px; color: var(--saffron-on-dark); }

/* Annotated specimens (Brand System 4.4 Reveal): a product screenshot shown
   below native size so it stays sharp, with mono notes on hairline leaders. */
.specimen { grid-column: 1 / -1; margin: 64px 0 0; }
.specimen-art { position: relative; }
.specimen-art img, .specimen-art > svg { display: block; width: 62%; height: auto; border: 1px solid var(--hairline); background: #fff; }
.specimen .note { position: absolute; left: calc(62% * var(--x)); right: 0; top: var(--y); display: flex; align-items: center; transform: translateY(-50%); }
.specimen .pin { width: 9px; height: 9px; flex: none; margin-left: -4px; transform: rotate(45deg); background: var(--teal); }
.specimen .lead { flex: 1; height: 1px; background: rgba(0, 64, 70, 0.45); transform-origin: left center; }
.specimen .txt { width: 34%; padding-left: 16px; font-family: var(--font-mono); font-size: 12px; line-height: 1.5; letter-spacing: 0.03em; color: var(--ink-700); }
.specimen .txt b { display: block; font-weight: 500; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); }
.specimen .note--insight .pin { background: var(--saffron); }
.specimen--illustration .pin { outline: 2px solid var(--ivory); }
.specimen .note--insight .txt b { color: var(--saffron-text); }

/* Mirrored: image on the right, notes read in from the left */
.specimen--right .specimen-art img { width: 52%; margin-left: auto; }
.specimen--right .note { left: 0; right: calc(52% * (1 - var(--x))); flex-direction: row-reverse; }
.specimen--right .pin { margin: 0 -4px 0 0; }
.specimen--right .lead { transform-origin: right center; }
.specimen--right .txt { padding: 0 16px 0 0; text-align: right; }

/* Motion: pins land, leaders draw out, notes resolve last */
.specimen .note:nth-child(2) { --n: 0; } .specimen .note:nth-child(3) { --n: 1; } .specimen .note:nth-child(4) { --n: 2; }
.specimen .note:nth-child(5) { --n: 3; } .specimen .note:nth-child(6) { --n: 4; } .specimen .note:nth-child(7) { --n: 5; }
.js .specimen .pin { opacity: 0; }
.js .specimen .lead { transform: scaleX(0); }
.js .specimen .txt { opacity: 0; }
.js .specimen.is-in .pin { animation: mark-in var(--dur-mark) var(--ease-settle) forwards; animation-delay: calc(300ms + var(--n) * 140ms); }
.js .specimen.is-in .lead { transform: none; transition: transform 700ms var(--ease-flow); transition-delay: calc(380ms + var(--n) * 140ms); }
.js .specimen.is-in .txt { opacity: 1; transition: opacity var(--dur-settle) var(--ease-settle); transition-delay: calc(900ms + var(--n) * 140ms); }

/* Illustration: tiles settle in turn, connectors draw, notes follow */
.js .specimen--illustration .ill-tile { opacity: 0; transform: translateY(8px); }
.js .specimen--illustration.is-in .ill-tile { opacity: 1; transform: none; transition: opacity var(--dur-settle) var(--ease-settle), transform var(--dur-settle) var(--ease-settle); transition-delay: var(--delay, 0ms); }
.js .specimen--illustration .draw { --dur-flow: 500ms; }
.js .specimen--illustration.is-in .pin { animation-delay: calc(1650ms + var(--n) * 160ms); }
.js .specimen--illustration.is-in .lead { transition-delay: calc(1730ms + var(--n) * 160ms); }
.js .specimen--illustration.is-in .txt { transition-delay: calc(2150ms + var(--n) * 160ms); }

@media (max-width: 1023px) {
  .specimen-art img, .specimen-art > svg, .specimen--right .specimen-art img { width: 100%; }
  .specimen .note, .specimen--right .note { position: static; transform: none; flex-direction: row; align-items: baseline; margin-top: 12px; }
  .specimen .lead { display: none; }
  .specimen .pin, .specimen--right .pin { margin: 0 10px 0 0; position: relative; top: -1px; }
  .specimen .txt, .specimen--right .txt { width: auto; padding: 0; text-align: left; }
  .specimen .txt b { display: inline; margin-right: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .specimen--illustration .ill-tile { opacity: 1 !important; transform: none !important; transition: none !important; }
  .js .specimen .pin, .js .specimen .txt { opacity: 1 !important; animation: none !important; transition: none !important; }
  .js .specimen .lead { transform: none !important; transition: none !important; }
}

/* Outcome list */
.outcomes { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--teal); }
.outcomes li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--hairline); font-size: 18px; line-height: 1.5; color: var(--ink); }
.outcomes .mono { font-size: 12px; color: var(--teal); padding-top: 4px; }

/* Audience */
.audience { margin-top: 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--teal); }
.audience > div { padding: 20px 24px 0; border-left: 1px solid var(--hairline); }
.audience > div:first-child { padding-left: 0; border-left: 0; }
.audience .label { color: var(--teal); }
.audience p { margin-top: 12px; font-size: 18px; line-height: 1.45; color: var(--ink); }
.art-body > p.audience-firms { margin-top: 32px; font-size: 16px; color: var(--ink-500); }

@media (max-width: 1279px) {
  .sub-hero-main { grid-column: 1 / -1; }
  .facts--stacked { grid-column: 1 / -1; margin-top: 48px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .facts--stacked > div { padding: 18px 20px 0 0; border-bottom: 0; }
  .art-section > .grid > .label, .art-body, .art-body--wide { grid-column: 1 / -1; }
  .art-body { margin-top: 16px; }
}
@media (max-width: 1023px) {
  .flow-caption--end { display: none; }
}
@media (max-width: 767px) {
  .sub-hero { padding: 28px 0 56px; }
  .sub-hero-grid { margin-top: 36px; }
  .facts--stacked { grid-template-columns: 1fr; }
  .facts--stacked > div { padding: 16px 0; border-bottom: 1px solid var(--hairline); }
  .art-section { padding-top: 72px; }
  .audience { grid-template-columns: 1fr; }
  .audience > div, .audience > div:first-child { padding: 18px 0; border-left: 0; border-bottom: 1px solid var(--hairline); }
}

/* ==========================================================================
   Motion — Brand System 09: lines draw in reading direction, diamonds arrive
   with a small overshoot, text resolves last. Nothing loops or glows.
   ========================================================================== */

/* Settle: content rises 8 px and fades in, once */
.js [data-settle] { opacity: 0; transform: translateY(8px); }
.js [data-settle].is-in {
  opacity: 1; transform: none;
  transition: opacity var(--dur-settle) var(--ease-settle), transform var(--dur-settle) var(--ease-settle);
  transition-delay: var(--delay, 0ms);
}

/* Flow: a path with pathLength="1" draws from left to right */
.js .draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .steps .draw { --dur-flow: 1700ms; --delay: 450ms; }
.js .is-in .draw, .js .draw.is-in {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset var(--dur-flow) var(--ease-flow);
  transition-delay: var(--delay, 0ms);
}

/* Mark: diamonds land with overshoot 1.35 → 1 */
@keyframes mark-in {
  0%   { opacity: 0; transform: rotate(45deg) scale(0); }
  70%  { opacity: 1; transform: rotate(45deg) scale(1.35); }
  100% { opacity: 1; transform: rotate(45deg) scale(1); }
}
@keyframes mark-in-svg {
  0%   { opacity: 0; transform: scale(0); }
  70%  { opacity: 1; transform: scale(1.35); }
  100% { opacity: 1; transform: scale(1); }
}
.js [data-mark] { opacity: 0; }
.js .is-in [data-mark], .js [data-mark].is-in {
  animation: mark-in var(--dur-mark) var(--ease-settle) forwards;
  animation-delay: var(--delay, 0ms);
}
.js svg [data-mark] { transform-box: fill-box; transform-origin: center; }
.js .is-in svg [data-mark], .js svg [data-mark].is-in { animation-name: mark-in-svg; }

/* Tick marks appear only once the line is straight */
.js .ticks { opacity: 0; }
.js .is-in .ticks { opacity: 0.55; transition: opacity 400ms linear; transition-delay: var(--delay, 0ms); }

/* Hero: scattered fragments appear, then dissolve as the line passes */
@keyframes noise {
  0%   { opacity: 0; }
  20%  { opacity: 0.75; }
  45%  { opacity: 0.75; }
  100% { opacity: 0; }
}
.js .noise { opacity: 0; }
.js .is-in .noise { animation: noise 2100ms linear forwards; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-settle] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .js [data-mark] { opacity: 1 !important; animation: none !important; }
  .js .draw { stroke-dashoffset: 0 !important; transition: none !important; }
  .js .ticks { opacity: 0.55 !important; }
  .js .noise { display: none; }
}
