/* Measured Asset Management. Family tokens from the Measured Companies identity (navy, gold, Montserrat
   standing in for Gotham, Inter for text). What is ours: the 3x3 grid from the mark. Square corners
   everywhere, square bullets, a gold square for the result. Light surfaces only, per the MC brand. */
:root {
  --navy: #2E5493;
  --navy-deep: #1E3C6E;
  --ink: #232A33;
  --body: #474C53;
  --muted: #6A6F77;
  --pale: #EEF3FA;
  --pale-2: #F6F8FC;
  --line: #E1E6EE;
  --line-2: #CFD7E3;
  --gold: #CDA349;
  --gold-soft: #F5ECD6;
  --gold-text: #8A6A1F;
  --white: #FFFFFF;
  --display: "Montserrat", "Gotham", Arial, sans-serif;
  --text: "Inter", Arial, "Helvetica Neue", sans-serif;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--body); font-family: var(--text); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 600; color: var(--ink); text-wrap: balance; letter-spacing: -0.015em; }
p { margin: 0; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy-deep); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
svg { display: block; }
ul { margin: 0; padding: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: var(--gutter); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 100; background: var(--white); padding: 8px 14px; }

/* Type helpers */
.label { font-family: var(--display); font-weight: 600; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 10px; }
.label::before { content: ""; width: 9px; height: 9px; background: var(--gold); flex: none; }
.label.plain::before { display: none; }
.lede { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.55; color: var(--body); max-width: 52ch; }
.big { font-size: clamp(32px, 4.2vw, 52px); line-height: 1.08; }
.mid { font-size: clamp(26px, 3vw, 38px); line-height: 1.14; }
.num { font-family: var(--display); font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; color: var(--navy); }
.dot { display: inline-block; width: .17em; height: .17em; background: var(--gold); margin-left: .06em; vertical-align: baseline; }

/* Buttons: square, like the mark */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 24px; font-family: var(--display); font-weight: 600; font-size: 14px; letter-spacing: .04em; text-decoration: none; border: 1.5px solid var(--navy); line-height: 1.2; cursor: pointer; transition: background .15s, color .15s, transform .15s; }
.btn-solid { background: var(--navy); color: var(--white); }
.btn-solid:hover { background: var(--navy-deep); border-color: var(--navy-deep); color: var(--white); }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: var(--pale); }
.btn-sm { padding: 10px 16px; font-size: 13px; }
.btn .arr { transition: transform .15s; }
.btn:hover .arr { transform: translateX(3px); }
.more { font-family: var(--display); font-weight: 600; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; display: inline-flex; gap: 10px; align-items: center; border-bottom: 1.5px solid var(--navy); padding-bottom: 4px; }
.more::after { content: "\2192"; letter-spacing: 0; transition: transform .15s; }
.more:hover::after { transform: translateX(3px); }

/* Header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 74px; }
.brand { display: block; flex: none; line-height: 0; }
.brand .logo { height: 24px; width: auto; }
.top nav { display: flex; align-items: center; gap: 30px; }
.top nav a:not(.btn) { font-family: var(--display); font-weight: 600; font-size: 13.5px; letter-spacing: .02em; color: var(--body); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.top nav a:not(.btn):hover { color: var(--navy); }
.top nav a[aria-current="page"]:not(.btn) { color: var(--navy); border-bottom-color: var(--gold); }
.menu { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 12px 10px; cursor: pointer; flex-direction: column; justify-content: center; gap: 6px; }
.menu span:not(.sr) { display: block; height: 2px; background: var(--navy); transition: transform .2s; }
.menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero::before { /* graph paper: the grid the whole brand comes from */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 36px 36px; background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 78% 40%, #000 0%, rgba(0,0,0,.35) 55%, transparent 85%);
          mask-image: radial-gradient(ellipse 70% 80% at 78% 40%, #000 0%, rgba(0,0,0,.35) 55%, transparent 85%);
}
.hero::after { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, var(--pale-2), var(--white) 70%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 72px); align-items: center; padding-block: clamp(48px, 7vw, 96px) clamp(44px, 6vw, 80px); }
.hero-copy { display: grid; gap: 26px; align-content: center; min-width: 0; }
.hero h1 { font-size: clamp(48px, 5.3vw, 76px); line-height: 1; letter-spacing: -0.035em; font-weight: 600; }
.hero h1 .l1, .hero h1 .l2 { display: block; white-space: nowrap; }
.hero h1 .l2 { color: var(--navy); }
.hero h1 .dot { width: .15em; height: .15em; }
.hero .lede { max-width: 46ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .fine { font-size: 14.5px; color: var(--muted); }
.hero .fine b { color: var(--ink); font-weight: 600; }

/* The board */
.board { margin: 0; background: var(--white); border: 1px solid var(--line-2); box-shadow: 0 1px 0 var(--line), 0 30px 70px -30px rgba(30,60,110,.35); padding: clamp(18px, 2.2vw, 26px); min-width: 0; position: relative; }
.board-head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.board-head .mark { width: 22px; height: 22px; flex: none; }
.board-head .t { display: grid; line-height: 1.25; min-width: 0; }
.board-head .t b { font-family: var(--display); font-weight: 600; font-size: 14.5px; color: var(--ink); }
.board-head .t span { font-size: 12px; color: var(--muted); }
.board-head .day { margin-left: auto; text-align: right; display: grid; line-height: 1.15; }
.board-head .day b { font-family: var(--display); font-size: 22px; font-weight: 600; color: var(--navy); font-variant-numeric: tabular-nums; }
.board-head .day span { white-space: nowrap; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.board-body { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 12px; padding-top: 16px; }
.rows { display: grid; grid-auto-rows: var(--cell); row-gap: var(--gap); align-items: center; min-width: 0; }
.rows span { font-family: var(--display); font-weight: 600; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; line-height: 1; }
.rows span.noi { color: var(--gold-text); }
.cells { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); grid-auto-rows: var(--cell); gap: var(--gap); }
.board { --cols: 22; --gap: 3px; --cell: 15px; }
.c { background: var(--pale-2); outline: 1px solid var(--line); outline-offset: -1px; transition: background .25s ease, outline-color .25s ease, transform .3s cubic-bezier(.2,1.6,.4,1); }
.c.noi { background: transparent; outline: 1px dashed var(--line-2); }
.c.won { background: var(--navy); outline-color: var(--navy); }
.c.miss { background: var(--white); outline-color: var(--line-2); }
.c.gold { background: var(--gold); outline-color: var(--gold); transform: scale(1.25); box-shadow: 0 0 0 6px rgba(205,163,73,.18); }
.c.today { outline: 1.5px solid var(--gold); outline-offset: 1px; }
.board-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.key { display: inline-flex; align-items: center; gap: 7px; }
.key i { width: 11px; height: 11px; display: block; }
.key .k-won { background: var(--navy); }
.key .k-miss { background: var(--white); outline: 1px solid var(--line-2); outline-offset: -1px; }
.key .k-gold { background: var(--gold); }
.board-foot .status { margin-left: auto; font-family: var(--display); font-weight: 600; font-size: 12.5px; color: var(--ink); min-height: 1.2em; }
.board-foot .status.done { color: var(--gold-text); }
.board .illus { position: absolute; top: -11px; right: 18px; background: var(--white); padding: 2px 8px; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); }

/* Proof strip */
.proof { border-bottom: 1px solid var(--line); background: var(--white); }
.proof ul { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.proof li { padding: 30px 24px 30px 0; display: grid; gap: 6px; align-content: start; border-right: 1px solid var(--line); padding-left: 24px; min-width: 0; }
.proof li:first-child { padding-left: 0; }
.proof li:last-child { border-right: 0; }
.proof .num { font-size: clamp(30px, 3.4vw, 44px); line-height: 1; }
.proof .num small { font-size: .5em; letter-spacing: 0; margin-left: 2px; }
.proof p { font-size: 14.5px; line-height: 1.45; color: var(--body); max-width: 30ch; }

/* ---------- Sections ---------- */
.sec { padding-block: clamp(64px, 8vw, 112px); }
.sec.tint { background: var(--pale); }
.sec.pale { background: var(--pale-2); border-block: 1px solid var(--line); }
.head { display: grid; gap: 16px; max-width: 760px; margin-bottom: clamp(36px, 4.5vw, 56px); }
.head p { font-size: 18px; max-width: 62ch; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.prose { display: grid; gap: 18px; max-width: 62ch; }
.prose p { font-size: 17.5px; }
.prose p.strong { font-family: var(--display); font-weight: 600; font-size: 21px; line-height: 1.4; color: var(--ink); }

/* Square-bullet lists */
.sq-list { list-style: none; display: grid; gap: 0; }
.sq-list li { position: relative; padding: 16px 0 16px 30px; border-top: 1px solid var(--line); font-size: 16.5px; }
.sq-list li:last-child { border-bottom: 1px solid var(--line); }
.sq-list li::before { content: ""; position: absolute; left: 0; top: 24px; width: 10px; height: 10px; background: var(--navy); }
.sq-list li b { color: var(--ink); font-weight: 600; }

/* Three pillars with grid icons */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line-2); background: var(--white); }
.pillar { padding: clamp(28px, 3vw, 40px); display: grid; gap: 16px; align-content: start; border-right: 1px solid var(--line-2); min-width: 0; }
.pillar:last-child { border-right: 0; }
.pillar h3 { font-size: 24px; }
.pillar p { font-size: 16px; }
.pillar ul { list-style: none; display: grid; gap: 8px; margin-top: 4px; }
.pillar li { font-size: 14.5px; display: flex; gap: 10px; align-items: baseline; }
.pillar li::before { content: ""; width: 7px; height: 7px; background: var(--gold); flex: none; transform: translateY(-1px); }
.g3 { display: grid; grid-template-columns: repeat(3, 10px); grid-auto-rows: 10px; gap: 3px; }
.g3 i { background: var(--navy); }
.g3 i.on { background: var(--gold); }

/* Numbered steps / cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { background: var(--white); border: 1px solid var(--line-2); padding: clamp(24px, 2.6vw, 34px); display: grid; gap: 14px; align-content: start; min-width: 0; position: relative; }
.card.feature { border: 1.5px solid var(--navy); box-shadow: 0 24px 50px -30px rgba(30,60,110,.45); }
.card .tag { position: absolute; top: -11px; left: 22px; background: var(--gold); color: var(--ink); font-family: var(--display); font-weight: 600; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; padding: 3px 9px; }
.card .n { font-family: var(--display); font-weight: 600; font-size: 12px; letter-spacing: .18em; color: var(--muted); font-variant-numeric: tabular-nums; }
.card h3 { font-size: 22px; line-height: 1.2; }
.card p { font-size: 15.5px; }
.card ul { list-style: none; display: grid; gap: 9px; padding-top: 14px; border-top: 1px solid var(--line); }
.card li { font-size: 14.5px; display: flex; gap: 10px; align-items: baseline; }
.card li::before { content: ""; width: 7px; height: 7px; background: var(--navy); flex: none; transform: translateY(-1px); }
.card li.plus::before { background: var(--gold); }

/* Story teaser */
.ourselves { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.bignum { display: grid; gap: 10px; }
.bignum .num { font-size: clamp(88px, 13vw, 184px); line-height: .85; letter-spacing: -0.05em; }
.bignum > span:not(.num) { font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* The math */
.math { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; border: 1px solid var(--line-2); background: var(--white); }
.math .inputs { padding: clamp(24px, 3vw, 40px); display: grid; gap: 26px; border-right: 1px solid var(--line-2); }
.field-r { display: grid; gap: 10px; }
.field-r .lbl { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14.5px; color: var(--body); }
.field-r .lbl output { font-family: var(--display); font-weight: 600; font-size: 18px; color: var(--ink); font-variant-numeric: tabular-nums; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; background: linear-gradient(90deg, var(--navy) var(--p, 50%), var(--line-2) var(--p, 50%)); }
input[type="range"]::-moz-range-track { height: 4px; background: var(--line-2); }
input[type="range"]::-moz-range-progress { height: 4px; background: var(--navy); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; background: var(--white); border: 2px solid var(--navy); margin-top: -8px; }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; background: var(--white); border: 2px solid var(--navy); border-radius: 0; }
input[type="range"]:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.math .out { padding: clamp(24px, 3vw, 40px); display: grid; gap: 18px; align-content: center; background: var(--pale-2); }
.math .out .num { font-size: clamp(44px, 5.6vw, 72px); line-height: 1; }
.math .out .sub { font-size: 15px; }
.math .out .tally { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; border-top: 1px solid var(--line-2); padding-top: 16px; }
.math .out .tally div { display: grid; gap: 2px; }
.math .out .tally b { font-family: var(--display); font-weight: 600; font-size: 20px; color: var(--ink); font-variant-numeric: tabular-nums; }
.math .out .tally span { font-size: 13px; color: var(--muted); }
.note { font-size: 13px; color: var(--muted); margin-top: 14px; max-width: 90ch; }

/* CTA band */
.cta { position: relative; overflow: hidden; border-top: 1px solid var(--line); }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 36px 36px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%); }
.cta .wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 32px; align-items: center; padding-block: clamp(56px, 7vw, 96px); }
.cta h2 { font-size: clamp(30px, 3.8vw, 48px); line-height: 1.08; }
.cta p { margin-top: 14px; font-size: 18px; max-width: 54ch; }

/* Page hero (inner pages) */
.phero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.phero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 36px 36px; -webkit-mask-image: radial-gradient(ellipse 50% 90% at 100% 0%, #000, transparent 75%); mask-image: radial-gradient(ellipse 50% 90% at 100% 0%, #000, transparent 75%); }
.phero::after { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, var(--pale-2), var(--white)); }
.phero .wrap { padding-block: clamp(56px, 7vw, 100px) clamp(48px, 6vw, 80px); display: grid; gap: 22px; }
.phero h1 { font-size: clamp(42px, 6vw, 80px); line-height: 1; letter-spacing: -0.03em; max-width: 16ch; }
.phero h1 em { font-style: normal; color: var(--navy); }
.phero .lede { max-width: 60ch; }

/* The Measured Standard */
.marks { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--navy); }
.marks > div { padding: 22px 22px 0 0; display: grid; gap: 10px; align-content: start; min-width: 0; position: relative; }
.marks > div::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; background: var(--navy); }
.marks > div.earned::before { background: var(--gold); }
.marks .n { font-family: var(--display); font-weight: 600; font-size: 11.5px; letter-spacing: .18em; color: var(--muted); }
.marks h3 { font-size: 22px; color: var(--navy); }
.marks .earned h3 { color: var(--gold-text); }
.marks p { font-size: 15px; }
.spans { display: grid; grid-template-columns: 4fr 1fr; margin-top: 30px; gap: 0; }
.spans div { border-top: 1px solid var(--navy); padding: 9px 20px 0 0; position: relative; font-family: var(--display); font-weight: 600; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--navy); }
.spans div::before, .spans div::after { content: ""; position: absolute; top: -6px; height: 11px; border-left: 1px solid var(--navy); }
.spans div::before { left: 0; }
.spans div::after { right: 16px; }
.spans .earned { color: var(--gold-text); border-color: var(--gold); }
.spans .earned::before, .spans .earned::after { border-color: var(--gold); }

/* Playbook grid */
.books { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); }
.book { background: var(--white); padding: 24px 22px 26px; display: grid; gap: 8px; align-content: start; min-width: 0; transition: background .2s; }
.book:hover { background: var(--pale-2); }
.book .n { font-family: var(--display); font-weight: 600; font-size: 11px; letter-spacing: .18em; color: var(--gold-text); font-variant-numeric: tabular-nums; }
.book h3 { font-size: 18px; }
.book p { font-size: 14.5px; }

/* Cadence rail */
.cadence { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cad { border-top: 4px solid var(--navy); background: var(--white); border-left: 1px solid var(--line-2); border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); padding: 28px clamp(22px, 2.4vw, 32px) 30px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.cad .when { display: grid; gap: 2px; }
.cad .when h3 { font-size: 26px; }
.cad .when span { font-size: 13px; color: var(--muted); }
.cad .ticks { display: flex; gap: 4px; }
.cad .ticks i { width: 12px; height: 12px; background: var(--line); }
.cad .ticks i.on { background: var(--navy); }
.cad .ticks i.gold { background: var(--gold); }
.cad p { font-size: 15.5px; }
.cad ul { list-style: none; display: grid; gap: 9px; padding-top: 14px; border-top: 1px solid var(--line); }
.cad li { font-size: 14.5px; display: flex; gap: 10px; align-items: baseline; }
.cad li::before { content: ""; width: 7px; height: 7px; background: var(--navy); flex: none; transform: translateY(-1px); }

/* Week timeline */
.week { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--line-2); background: var(--white); }
.week > div { padding: 22px 20px 24px; border-right: 1px solid var(--line-2); display: grid; gap: 8px; align-content: start; min-width: 0; }
.week > div:last-child { border-right: 0; }
.week .d { font-family: var(--display); font-weight: 600; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--navy); display: flex; align-items: center; gap: 8px; }
.week .d::before { content: ""; width: 9px; height: 9px; background: var(--navy); }
.week > div.hi .d::before { background: var(--gold); }
.week h3 { font-size: 16.5px; line-height: 1.3; }
.week p { font-size: 14px; }

/* Core panel */
.core { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.flow { display: grid; gap: 10px; }
.flow .layer { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; align-items: center; background: var(--white); border: 1px solid var(--line-2); padding: 16px 18px; position: relative; }
.flow .layer b { font-family: var(--display); font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); }
.flow .layer span { font-size: 14.5px; }
.flow .layer.top { border-color: var(--gold); background: var(--gold-soft); }
.flow .layer.top b { color: var(--gold-text); }
.flow .arrow { height: 14px; width: 2px; background: var(--line-2); margin-left: 76px; }

/* Engagement timeline */
.timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; position: relative; }
.timeline::before { content: ""; position: absolute; top: 6px; left: 0; right: 0; height: 2px; background: var(--navy); }
.timeline > div { padding: 30px 24px 0 0; display: grid; gap: 8px; align-content: start; position: relative; min-width: 0; }
.timeline > div::before { content: ""; position: absolute; top: 0; left: 0; width: 14px; height: 14px; background: var(--navy); }
.timeline > div:last-child::before { background: var(--gold); }
.timeline .w { font-family: var(--display); font-weight: 600; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.timeline h3 { font-size: 20px; }
.timeline p { font-size: 15px; }

/* Measures table */
.measures { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line-2); }
.measures th, .measures td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 15.5px; }
.measures th { font-family: var(--display); font-weight: 600; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); background: var(--pale-2); }
.measures td:first-child { font-weight: 600; color: var(--ink); }
.measures td.when { white-space: nowrap; color: var(--navy); font-family: var(--display); font-weight: 600; font-size: 13.5px; }

/* Two-column lists of responsibilities */
.duo { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.duo > div { border-top: 2px solid var(--navy); padding-top: 18px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.duo > div.both { border-top-color: var(--gold); }
.duo h3 { font-size: 19px; }
.duo p { font-size: 15.5px; }

/* Story */
.chapters { display: grid; gap: 0; border-left: 2px solid var(--navy); margin-left: 6px; }
.chapter { padding: 0 0 48px 40px; position: relative; display: grid; gap: 12px; max-width: 72ch; }
.chapter:last-child { padding-bottom: 0; }
.chapter::before { content: ""; position: absolute; left: -8px; top: 6px; width: 14px; height: 14px; background: var(--navy); }
.chapter.now::before { background: var(--gold); }
.chapter .w { font-family: var(--display); font-weight: 600; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.chapter h3 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.2; }
.chapter p { font-size: 17px; }
.scale { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.doors { display: grid; gap: 14px; }
.doors .row { display: grid; grid-template-columns: 150px minmax(0, 1fr) 70px; gap: 14px; align-items: center; }
.doors .row span { font-size: 14px; color: var(--body); }
.doors .row b { font-family: var(--display); font-weight: 600; font-size: 16px; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }
.doors .track { height: 18px; background: var(--pale); position: relative; }
.doors .fill { position: absolute; inset: 0 auto 0 0; background: var(--navy); width: 0; transition: width 1.2s cubic-bezier(.2,.8,.2,1); }
.doors .row.total .fill { background: var(--gold); }
.doors .row.total span, .doors .row.total b { color: var(--gold-text); font-weight: 600; }
.result { border: 1.5px solid var(--navy); background: var(--white); padding: clamp(28px, 3.4vw, 44px); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px 44px; align-items: center; }
.result .num { font-size: clamp(64px, 9vw, 120px); line-height: .9; }
.result h3 { font-size: 22px; }
.result p { font-size: 16px; }
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.person { border: 1px solid var(--line-2); background: var(--white); padding: clamp(24px, 3vw, 36px); display: grid; gap: 10px; align-content: start; }
.person h3 { font-size: 24px; }
.person .role { font-family: var(--display); font-weight: 600; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); }
.person p { font-size: 16px; }
.beliefs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.beliefs div { border-top: 1px solid var(--line-2); padding: 22px 0 26px; display: grid; gap: 8px; min-width: 0; }
.beliefs h3 { font-size: 19px; display: flex; gap: 12px; align-items: center; }
.beliefs h3::before { content: ""; width: 10px; height: 10px; background: var(--gold); flex: none; }
.beliefs p { font-size: 16px; max-width: 54ch; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
form.inquire { background: var(--white); border: 1px solid var(--line-2); padding: clamp(24px, 3vw, 40px); display: grid; gap: 18px; box-shadow: 0 30px 70px -40px rgba(30,60,110,.35); }
.f2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.fld { display: grid; gap: 7px; min-width: 0; }
.fld label, .fld legend { font-family: var(--display); font-weight: 600; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); padding: 0; }
.fld label i { font-style: normal; font-weight: 500; color: var(--muted); letter-spacing: .04em; text-transform: none; }
.fld input, .fld select, .fld textarea { font: inherit; font-size: 16px; color: var(--ink); background: var(--white); border: 1px solid var(--line-2); border-radius: 0; padding: 12px 14px; width: 100%; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(46,84,147,.15); }
.fld textarea { min-height: 120px; resize: vertical; }
fieldset.fld { border: 0; margin: 0; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chips label { font-family: var(--text); text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 14.5px; color: var(--body); }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 9px 14px; border: 1px solid var(--line-2); cursor: pointer; transition: all .15s; }
.chips input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--white); }
.chips input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; }
.form-err { color: #A23B2A; font-size: 14.5px; min-height: 0; }
.form-err:empty { display: none; }
.next { display: grid; gap: 0; counter-reset: s; }
.next li { list-style: none; counter-increment: s; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 20px 0; border-top: 1px solid var(--line-2); }
.next li:last-child { border-bottom: 1px solid var(--line-2); }
.next li::before { content: counter(s, decimal-leading-zero); font-family: var(--display); font-weight: 600; font-size: 13px; letter-spacing: .1em; color: var(--white); background: var(--navy); width: 34px; height: 34px; display: grid; place-items: center; }
.next li:last-child::before { background: var(--gold); color: var(--ink); }
.next h3 { font-size: 17px; margin-bottom: 4px; }
.next p { font-size: 15px; }

/* Footer */
.foot { background: var(--pale); border-top: 1px solid var(--line); }
.foot .wrap { padding-block: 56px 40px; display: grid; gap: 36px; }
.foot-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.foot-brand { display: grid; gap: 16px; align-content: start; }
.foot-brand .logo { height: 22px; width: auto; }
.foot-brand p { font-size: 15px; max-width: 46ch; }
.endorse { display: inline-flex !important; align-items: center; gap: 9px; font-family: var(--display); font-weight: 600; font-size: 10.5px !important; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.endorse .mark { width: 13px; height: 13px; }
.foot-links { list-style: none; display: grid; gap: 10px; align-content: start; }
.foot-links a { font-size: 15px; color: var(--ink); text-decoration: none; }
.foot-links a:hover { color: var(--navy); text-decoration: underline; }
.legal { font-size: 12.5px; color: var(--muted); line-height: 1.6; border-top: 1px solid var(--line-2); padding-top: 20px; max-width: 100ch; }

/* Reveal on scroll */
.rv { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .c, .doors .fill { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .top nav { gap: 22px; }
  .brand .logo { height: 20px; }
}
@media (max-width: 960px) {
  .menu { display: flex; }
  .top nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; box-shadow: 0 20px 30px -20px rgba(30,60,110,.25); }
  .top nav.open { display: flex; }
  .top nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .top nav a[aria-current="page"]:not(.btn) { border-bottom-color: var(--line); }
  .top nav .btn { margin-top: 16px; justify-content: center; padding: 14px; }
  .hero-grid, .split, .ourselves, .core, .scale, .contact-grid, .math { grid-template-columns: minmax(0, 1fr); }
  .math .inputs { border-right: 0; border-bottom: 1px solid var(--line-2); }
  .proof ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof li { border-right: 0; padding: 24px 16px 24px 0; border-bottom: 1px solid var(--line); }
  .proof li:nth-child(2n) { padding-left: 16px; border-left: 1px solid var(--line); }
  .proof li:nth-child(n+3) { border-bottom: 0; }
  .proof li:first-child { padding-left: 0; }
  .pillars, .cards, .cadence, .duo { grid-template-columns: minmax(0, 1fr); }
  .pillar { border-right: 0; border-bottom: 1px solid var(--line-2); }
  .pillar:last-child { border-bottom: 0; }
  .cards { gap: 28px; }
  .books { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .week { grid-template-columns: minmax(0, 1fr); }
  .week > div { border-right: 0; border-bottom: 1px solid var(--line-2); }
  .week > div:last-child { border-bottom: 0; }
  .marks { grid-template-columns: minmax(0, 1fr); border-top: 0; border-left: 2px solid var(--navy); margin-left: 6px; }
  .marks > div { padding: 0 0 26px 30px; }
  .marks > div::before { top: 5px; left: -7px; }
  .spans { display: none; }
  .timeline { grid-template-columns: minmax(0, 1fr); border-left: 2px solid var(--navy); margin-left: 6px; }
  .timeline::before { display: none; }
  .timeline > div { padding: 0 0 28px 30px; }
  .timeline > div::before { left: -8px; top: 4px; }
  .cta .wrap { grid-template-columns: minmax(0, 1fr); }
  .foot-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot-brand { grid-column: 1 / -1; }
  .people, .beliefs { grid-template-columns: minmax(0, 1fr); }
  .result { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .bar { min-height: 64px; }
  .brand .logo { height: 15px; }
  .hero h1 { font-size: clamp(46px, 14vw, 64px); }
  .actions .btn { flex: 1 1 auto; justify-content: center; }
  .board { --cols: 12; --gap: 3px; --cell: 13px; padding: 16px; }
  .rows span { font-size: 9.5px; letter-spacing: .08em; }
  .board-foot .status { margin-left: 0; width: 100%; }
  .books { grid-template-columns: minmax(0, 1fr); }
  .f2 { grid-template-columns: minmax(0, 1fr); }
  .doors .row { grid-template-columns: 100px minmax(0, 1fr) 54px; gap: 10px; }
  .doors .row span { font-size: 12.5px; }
  .measures th:nth-child(3), .measures td:nth-child(3) { display: none; }
  .measures th, .measures td { padding: 14px; }
  .flow .layer { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .flow .arrow { margin-left: 24px; }
  .foot-row { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 961px) { .stick { position: sticky; top: 110px; } }
