
/* v5 layout: depth by layering, never by shadow. Grounds alternate paper / limestone / navy, every inner page
   opens on a navy page head with a stone course, and elements cross section edges (photo frames, the path card,
   industry tiles). The stone strip stays on the left edge of every page. One look by design: paper and navy. */
:root {
  /* colours (unchanged from v4) */
  --navy: #14213D; --brass: #9A7B3F; --limestone: #E8E6E0; --paper: #FFFFFF; --hairline: #C9C6BD;
  --navy-2: #4A556B; --navy-3: #8A93A6; --navy-4: #BFC4CF; --navy-hover: #1d2d52;
  --mortar-pale: #C4C0B5; --mortar-navy: #0F1A31;
  /* type (unchanged) */
  --text: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --mark: "Marcellus", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  /* layout */
  --strip: 48px; --gutter: clamp(20px, 4vw, 72px); --stone-h: 74px; --nav-h: 72px;
  --section: clamp(80px, 12vh, 140px);   /* v5: one section spacing token */
  --lift: clamp(40px, 6vw, 88px);        /* v5: how far an element crosses a section edge */
  --band: clamp(56px, 9vh, 96px);        /* v5: stone course height under a page head */
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.motion-off { scroll-behavior: auto; }
body { margin: 0; background: var(--bgP); color: var(--fg); font-family: var(--text); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
h1, h2, h3 { font-weight: 600; text-wrap: balance; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
.label { font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; max-width: 100%; }
.label.sq::before { content: ""; width: 8px; height: 8px; background: var(--brass); flex: none; } /* v5 detail: brass square on section labels */
.ph { color: var(--navy-2); }
.on-navy .ph { color: var(--navy-4); }
.draft { display: inline-block; font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; border: 1px dashed var(--navy-3); color: var(--navy-2); padding: 1px 6px; vertical-align: middle; margin-left: 8px; line-height: 1.6; white-space: normal; max-width: 100%; }
.on-navy .draft { color: var(--navy-4); }

/* ---------- grounds (v5) ---------- */
.g-paper { background: var(--bgP); }
.g-lime { background: var(--bgL); }
.g-navy { background: var(--bgN); color: var(--fg); }
section.block { padding-block: var(--section); }
.rule-top { border-top: 1px solid var(--hairline); }
.wrap { padding-inline: var(--gutter); }
.measure { max-width: 62ch; }
.body-l { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.5; }
.body-l + .body-l { margin-top: 18px; }

/* ---------- stone strip and fixed cornerstone ---------- */
.strip { position: fixed; left: 0; top: 0; bottom: 0; width: var(--strip); background: var(--bgP); border-right: 1px solid var(--hairline); z-index: 30; }
.strip canvas { position: absolute; left: 0; bottom: var(--stone-h); width: var(--strip); }
.cornerstone { position: fixed; left: 0; bottom: 0; width: var(--strip); height: var(--stone-h); background: var(--brass); display: grid; place-items: center; z-index: 31; text-decoration: none; }
.cornerstone span, .fcs { font-family: var(--mark); font-size: 18px; letter-spacing: 0.08em; color: var(--fg); }
.page { margin-left: var(--strip); }

/* ---------- header ---------- */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--bgP); border-bottom: 1px solid var(--hairline); }
.nav-in { display: flex; align-items: center; gap: 28px; min-height: var(--nav-h); }
.nav .mark { flex: none; }
.nav .mark img { height: 38px; width: auto; display: block; }
.links { display: flex; flex-wrap: nowrap; gap: 4px 20px; margin-left: auto; font-size: 14px; font-weight: 500; }
.links a { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.links a:hover, .links a[aria-current="page"] { border-bottom-color: var(--brass); }
.links .menu-cta { display: none; }
.btn { display: inline-flex; align-items: center; gap: 10px; font: 600 15px/1 var(--text); text-decoration: none; padding: 15px 22px; background: var(--bgN); color: var(--fg); border: 0; cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--bgH); }
.btn.light { background: var(--bgP); color: var(--fg); }
.btn.light:hover { background: var(--bgL); }
.btn .sq { width: 8px; height: 8px; background: var(--brass); }
.link2 { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; text-decoration: none; }
.link2::after { content: ""; width: 26px; height: 2px; background: var(--brass); transition: width .25s; }
.link2:hover::after { width: 48px; }
.menu-toggle { display: none; margin-left: auto; font: 600 14px var(--text); background: none; border: 1px solid var(--hairline); padding: 9px 14px; color: var(--fg); cursor: pointer; min-height: 44px; }

/* ---------- Home hero (v4, unchanged) ---------- */
.hero { position: relative; min-height: calc(100svh - var(--nav-h) - 1px); display: grid; grid-template-rows: 1fr auto; overflow: hidden; }
.hero-field { padding-block: clamp(56px, 10vh, 120px) 40px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: clamp(28px, 4vh, 44px); }
.hero-id { display: flex; flex-direction: column; align-items: center; gap: clamp(8px, 1.2vh, 14px); width: 100%; }
.hero-mark img { width: min(980px, 100%); height: auto; display: block; }
.hero-line { font-size: clamp(13px, 1.5vw, 21px); font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; }
.stoneband { position: relative; height: var(--band); }
.hero .stoneband { height: clamp(96px, 16vh, 150px); }
.stoneband canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.stoneband::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--brass); z-index: 1; }

/* ---------- inner page head (v5) ---------- */
.phead { position: relative; }
.phead-in { padding-block: clamp(64px, 11vh, 120px) clamp(48px, 7vh, 80px); display: grid; gap: 22px; }
.phead .label { color: var(--navy-4); }
.phead h1 { font-size: clamp(40px, 6vw, 88px); line-height: 1.02; letter-spacing: -0.02em; max-width: 16ch; }
.phead .dim { position: relative; height: 14px; max-width: 520px; margin-top: 6px; } /* architect dimension line under the title */
.phead .dim::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: var(--navy-3); }
.phead .dim::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 13px; border-left: 1px solid var(--navy-3); border-right: 1px solid var(--navy-3); }
.phead .intro { font-size: clamp(20px, 2vw, 28px); line-height: 1.35; max-width: 34ch; color: var(--fg); }
.lifted { margin-top: calc(-1 * var(--lift)); position: relative; z-index: 2; } /* crosses the edge above it */

/* ---------- headings inside sections ---------- */
.head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 40px; margin-bottom: clamp(32px, 5vh, 56px); }
.head h2 { font-size: clamp(30px, 3.6vw, 52px); line-height: 1.08; max-width: 20ch; }
.head .label { color: var(--navy-2); }
.on-navy .head .label, .g-navy .label { color: var(--navy-4); }

/* one-statement screens are centred */
.statement { text-align: center; }
.statement .label { margin-bottom: 26px; color: var(--navy-2); }
.statement .big { font-size: clamp(28px, 3.9vw, 58px); line-height: 1.12; font-weight: 600; max-width: 40ch; margin-inline: auto; letter-spacing: -0.015em; }

/* ---------- cards (v5): paper on limestone, hairline, corner ticks; no shadow ---------- */
.card { position: relative; background: var(--bgP); border: 1px solid var(--hairline); }
.card::before, .card::after { content: ""; position: absolute; width: 14px; height: 14px; pointer-events: none; }
.card::before { left: -1px; top: -1px; border-left: 2px solid var(--fg); border-top: 2px solid var(--fg); }
.card::after { right: -1px; bottom: -1px; border-right: 2px solid var(--fg); border-bottom: 2px solid var(--fg); }

/* industries */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.tile { padding: 36px; display: flex; flex-direction: column; gap: 16px; min-height: 320px; text-decoration: none; min-width: 0; }
.tile h3 { font-size: clamp(24px, 2.5vw, 36px); line-height: 1.12; }
.tile p { color: var(--navy-2); max-width: 44ch; }
.tile .link2 { margin-top: auto; }
.tile .mini { display: flex; gap: 6px; align-items: flex-end; height: 34px; }
.tile .mini i { display: block; width: 18px; background: var(--bgN); }
.tile .mini i.p { background: var(--bgP); box-shadow: inset 0 0 0 2px var(--fg); }

/* index rows */
.index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--fg); }
.index li { border-bottom: 1px solid var(--hairline); }
.index a, .index .row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr) 40px; align-items: baseline; gap: 20px; padding: 26px 0; text-decoration: none; position: relative; }
.index a::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--brass); transition: width .35s; }
.index a:hover::after { width: 100%; }
.index .nm { font-size: clamp(22px, 2.4vw, 34px); font-weight: 600; line-height: 1.15; }
.index .ds { font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy-2); }
.index .ar { justify-self: end; width: 14px; height: 14px; border-top: 2px solid var(--fg); border-right: 2px solid var(--fg); transform: rotate(45deg); transition: transform .25s; }
.index a:hover .ar { transform: translateX(6px) rotate(45deg); }
.index.small .nm { font-size: clamp(18px, 1.6vw, 22px); font-weight: 500; }
.index.small .row { padding: 16px 0; grid-template-columns: minmax(0, 1fr); }

/* ---------- proof (v5: on navy) ---------- */
.proof .statement-l { font-size: clamp(24px, 2.6vw, 38px); line-height: 1.22; max-width: 30ch; font-weight: 500; }
.proof-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; }
.proof-side { display: grid; gap: 20px; }
.ptile { border: 1px solid var(--navy-2); padding: 30px 32px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.ptile .stem { font-size: 17px; font-weight: 500; max-width: 34ch; }
.ptile .fig { font-size: clamp(64px, 7vw, 112px); font-weight: 600; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.ptile .fig.pending { font-size: 17px; font-weight: 400; letter-spacing: 0; line-height: 1.55; }
.ptile .rule { height: 4px; width: 42%; background: var(--brass); transform-origin: left; }
.ptile .tr { color: var(--navy-4); max-width: 40ch; }
.ptile .src { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; margin-top: auto; padding-top: 10px; color: var(--navy-4); }
.krv { background: var(--bgL); border-color: var(--fg2); color: var(--fg); }
.krv .tr, .krv .src { color: var(--navy-2); }
.krv .ph, .krv .label, .krv .draft, .krv .key { color: var(--navy-2); }
.krv .draft { border-color: var(--navy-3); }
.stations { position: relative; padding-top: 6px; }
.stations .line { height: 3px; background: var(--brass); }
.stations ol { list-style: none; margin: -12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); }
.stations li { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: 11px; line-height: 1.3; color: var(--navy-2); padding-right: 6px; min-width: 0; }
.stations li::before { content: ""; width: 20px; height: 20px; background: var(--bgN); }
.stations li.partner::before { background: var(--bgP); box-shadow: inset 0 0 0 2px var(--fg); }
.stations li.hl::before { background: var(--brass); box-shadow: none; }
.key { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 12px; color: var(--navy-2); margin-top: 16px; }
.key span { display: inline-flex; gap: 8px; align-items: center; }
.key i { width: 12px; height: 12px; background: var(--bgN); display: inline-block; }
.key i.p { background: var(--bgP); box-shadow: inset 0 0 0 2px var(--fg); }
.armed .rule { transform: scaleX(0); }
.laid .rule { transform: scaleX(1); transition: transform .9s cubic-bezier(.2,.7,.1,1); }

/* ---------- workflow (signature motion, Home + How we work) ---------- */
.flow { position: relative; height: 320vh; }
.flow-stick { position: sticky; top: var(--nav-h); min-height: calc(100svh - var(--nav-h)); display: flex; flex-direction: column; justify-content: center; padding-block: 48px; }
.flow-body { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--fg); }
.steps li { border-bottom: 1px solid var(--hairline); padding: 18px 0; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 12px; color: var(--navy-3); transition: color .3s; }
.steps .n { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; padding-top: 5px; }
.steps .t { font-size: clamp(20px, 2vw, 28px); font-weight: 600; line-height: 1.2; }
.steps .d { grid-column: 2; font-size: 15px; color: var(--navy-2); max-height: 0; overflow: hidden; transition: max-height .4s; }
.steps li.done { color: var(--navy-2); }
.steps li.on { color: var(--fg); }
.steps li.on .d { max-height: 80px; }
.flow svg { width: 100%; height: auto; display: block; overflow: visible; }
.flow .blk { transition: transform .55s cubic-bezier(.2,.8,.2,1), opacity .4s; }
.flow .blk.up { transform: translateY(-46px); opacity: 0; }
.tick-label { font: 500 13px var(--text); letter-spacing: 0.12em; fill: var(--navy-2); }
html.motion-off .flow { height: auto; }
html.motion-off .flow-stick { position: static; min-height: 0; padding-block: var(--section); }
html.motion-off .steps li { color: var(--fg); }
html.motion-off .steps li .d { max-height: none; }
html.motion-off .flow .blk.up { transform: none; opacity: 1; }

/* ---------- the path (signature motion, RV page): two lanes on one rule ---------- */
.track { position: relative; height: 300vh; }
.track-stick { position: sticky; top: var(--nav-h); min-height: calc(100svh - var(--nav-h)); display: flex; flex-direction: column; justify-content: center; padding-block: 40px; }
.lanes { position: relative; padding: 36px 32px 28px; }
.lane-labels { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.path-grid { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); column-gap: 8px; position: relative; }
.path-grid .lane { grid-column: 1 / -1; height: 0; }
.pcell { display: grid; grid-template-rows: 56px 18px 56px auto; justify-items: center; text-align: center; min-width: 0; }
.pcell .top, .pcell .bot { width: 100%; display: flex; justify-content: center; }
.pcell .top { align-items: flex-end; } .pcell .bot { align-items: flex-start; }
.pcell .b { width: min(52px, 100%); height: 44px; background: var(--bgN); transition: transform .5s cubic-bezier(.2,.8,.2,1), opacity .35s, background .3s; }
.pcell .b.p { background: var(--bgP); box-shadow: inset 0 0 0 2px var(--fg); }
.pcell .mid { width: 100%; height: 18px; display: flex; align-items: center; justify-content: center; position: relative; }
.pcell .mid::before { content: ""; position: absolute; left: -4px; right: -4px; top: 8px; height: 3px; background: var(--brass); }
.pcell .mid i { position: relative; width: 10px; height: 10px; background: var(--bgP); border: 2px solid var(--brass); }
.pcell.on .mid i { background: var(--brass); }
.pcell .cap { font-size: 12px; line-height: 1.3; margin-top: 12px; color: var(--navy-2); padding-inline: 2px; }
.pcell.on .cap { color: var(--fg); font-weight: 600; }
.pcell.wait .b { opacity: 0; transform: translateY(-22px); }
.path-detail { margin-top: 28px; display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 6px 16px; align-items: baseline; min-height: 84px; }
.path-detail .n { font-size: 13px; font-weight: 600; }
.path-detail .t { font-size: clamp(20px, 2vw, 28px); font-weight: 600; }
.path-detail .d { grid-column: 2; color: var(--navy-2); }
.path-list { display: none; }
html.motion-off .track { height: auto; }
html.motion-off .track-stick { position: static; min-height: 0; padding-block: var(--section); }
html.motion-off .pcell.wait .b { opacity: 1; transform: none; }

/* ---------- services (v5): text left, deliverable plate right ---------- */
.svc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.svc h2 { font-size: clamp(30px, 3.4vw, 48px); line-height: 1.08; margin: 14px 0 20px; }
.svc .lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; max-width: 46ch; }
.svc .lead + .lead { margin-top: 14px; }
.svc .index { margin-top: 28px; }
.plate { padding: clamp(24px, 3vw, 44px); min-height: 360px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.plate .cap { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy-2); font-weight: 500; }
.docs { display: flex; gap: clamp(10px, 2vw, 22px); align-items: flex-end; justify-content: center; flex-wrap: wrap; }
.doc { width: clamp(92px, 11vw, 150px); }
.doc svg { width: 100%; height: auto; display: block; }
.doc p { font-size: 12px; font-weight: 500; margin-top: 10px; text-align: center; }
.cadence { display: grid; gap: 14px; }
.cadence .ticks { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; align-items: end; }
.cadence .ticks i { height: 30px; background: var(--bgN); display: block; }
.cadence .base { height: 4px; background: var(--brass); }
.scope { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.scope li { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 12px; align-items: baseline; font-size: 15px; }
.scope li::before { content: ""; width: 10px; height: 10px; background: var(--bgN); transform: translateY(1px); }
.onpage { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 36px; font-size: 14px; font-weight: 500; }
.onpage a { text-decoration: none; border-bottom: 1px solid var(--navy-3); padding-bottom: 2px; color: var(--fg); }
.onpage a:hover { border-color: var(--brass); }

/* ---------- property types wall (RV) ---------- */
.typewall { display: grid; gap: 6px; padding: 6px; background: var(--hairline); }
.typewall .course { display: flex; gap: 6px; }
.typewall span { flex: var(--w, 1); background: var(--bgP); padding: 18px 16px; font-weight: 600; font-size: clamp(15px, 1.4vw, 19px); min-width: 0; }
.typewall .course:nth-child(2) span { background: var(--bgL); }

/* ---------- photo frame (Gregory's own photos, RV + General business only) ---------- */
.photo { position: relative; aspect-ratio: 16 / 7; background: var(--bgL); border: 1px solid var(--hairline); display: grid; place-items: center; overflow: hidden; max-width: 100%; }
.photo canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.photo .ph-tag { position: relative; background: var(--bgP); border: 1px dashed var(--navy-3); padding: 10px 14px; font-size: 13px; font-weight: 500; text-align: center; max-width: 80%; }
.photo + .pcap { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy-2); margin-top: 12px; }
.photo.tall { aspect-ratio: 4 / 3; }

/* ---------- misc components ---------- */
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.box { padding: clamp(24px, 3vw, 40px); display: grid; gap: 14px; align-content: start; }
.box h3 { font-size: clamp(22px, 2vw, 30px); line-height: 1.15; }
.box p { color: var(--navy-2); }
.threes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.word { padding: 32px; display: grid; gap: 10px; }
.word b { font-size: clamp(22px, 2.2vw, 32px); line-height: 1.15; }
.partners .r { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.1fr); gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--hairline); align-items: center; }
.partners .rows { border-top: 1px solid var(--fg); }
.partners .r .nm { font-size: clamp(20px, 2vw, 28px); font-weight: 600; }
.partners .r .role { color: var(--navy-2); }
.partners .stations li { font-size: 0; gap: 0; }
.partners .stations ol { margin-top: -11px; }
.partners .stations li::before { width: 18px; height: 18px; background: var(--navy-4); box-shadow: none; }
.partners .stations li.hl::before { background: var(--brass); }
.cornerwall { position: relative; height: clamp(260px, 30vw, 380px); background: var(--mortar-pale); overflow: hidden; }
.cornerwall canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.cornerwall .cs { position: absolute; left: 0; bottom: 0; width: 26%; height: 34%; background: var(--brass); display: grid; place-items: center; font-family: var(--mark); font-size: clamp(22px, 3vw, 40px); letter-spacing: 0.08em; color: var(--fg); }
.cornerwall .cs::after { content: ""; position: absolute; left: 100%; bottom: 100%; width: 300%; height: 4px; background: var(--brass); }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.form label { display: grid; gap: 6px; font-size: 13px; font-weight: 500; min-width: 0; }
.box, .two > *, .svc > * { min-width: 0; }
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea { max-width: 100%; min-width: 0; font: 400 16px var(--text); color: var(--fg); background: var(--bgP); border: 1px solid var(--hairline); border-bottom: 2px solid var(--fg); padding: 12px; min-height: 48px; width: 100%; }
.form textarea { min-height: 120px; resize: vertical; }
.form fieldset { border: 0; padding: 0; margin: 0; display: contents; }

/* next step: limestone, ends on a pale stone course that meets the footer */
.next { text-align: center; padding-block: var(--section) 0; }
.next h2 { font-size: clamp(40px, 6vw, 96px); line-height: 1.02; max-width: 14ch; margin-inline: auto; }
.next p { font-size: clamp(18px, 1.6vw, 22px); color: var(--navy-2); margin: 24px auto 0; max-width: 40ch; }
.next .btn { margin-top: 40px; }
.next .stoneband { margin-top: var(--section); }
.next .stoneband::before { display: none; }

/* ---------- footer ---------- */
footer { background: var(--bgN); color: var(--fg); }
.f-top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 24px 40px; padding-block: 56px 48px; border-bottom: 1px solid var(--navy-2); }
.f-top img { height: 30px; width: auto; display: block; }
.f-top p { color: var(--navy-4); }
.f-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding-block: 48px 56px; }
.f-cols h4 { margin: 0 0 16px; font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy-4); }
.f-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.f-cols a { text-decoration: none; }
.f-cols a:hover { text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 4px; }
.f-band { background: var(--bgL); color: var(--fg); padding-block: 22px; font-weight: 500; }
.f-base { min-height: var(--stone-h); display: flex; align-items: center; position: relative; font-size: 13px; color: var(--navy-4); }
.f-base::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--brass); }
.fb-txt { flex: 1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; }
.f-base a { text-decoration: none; }
.fcs { display: none; width: 48px; flex: none; background: var(--brass); place-items: center; margin-left: calc(-1 * var(--gutter)); }

/* ---------- prototype controls (not part of the site) ---------- */
.proto { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 40; background: var(--bgP); border: 1px dashed var(--navy-2); padding: 12px 14px; display: grid; gap: 10px; font-size: 13px; max-width: min(340px, calc(100vw - var(--strip) - 32px)); }
.proto .rowc { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.proto button { font: 600 13px var(--text); background: var(--bgL); color: var(--fg); border: 0; padding: 6px 10px; cursor: pointer; }
.proto .hide { margin-left: auto; background: none; text-decoration: underline; padding: 0; }
.proto.min > :not(.top) { display: none; }

/* ---------- breakpoints ---------- */
@media (max-width: 1360px) {
  .links { display: none; }
  .links.open { display: flex; flex-direction: column; flex-wrap: wrap; position: absolute; top: var(--nav-h); left: 0; right: 0; background: var(--bgP); border-bottom: 1px solid var(--hairline); padding: 12px var(--gutter) 20px; gap: 2px; }
  .links.open a { padding: 12px 0; }
  .links.open .menu-cta { display: inline-flex; justify-content: center; margin-top: 12px; padding: 15px 22px; border: 0; }
  .menu-toggle { display: inline-block; }
  .nav-in > .btn { display: none; }
}
@media (max-width: 960px) {
  .flow-body, .svc, .proof-grid, .two { grid-template-columns: minmax(0, 1fr); }
  .f-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .f-top { grid-template-columns: minmax(0, 1fr); justify-items: start; gap: 16px; }
  .threes { grid-template-columns: minmax(0, 1fr); }
  .partners .r { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .track { height: auto; }
  .track-stick { position: static; min-height: 0; padding-block: var(--section); }
  .lanes { display: none; }
  .path-list { display: block; }
}
@media (max-width: 720px) {
  :root { --strip: 0px; --gutter: 20px; --section: 56px; --lift: 32px; }
  .strip, .cornerstone { display: none; }
  .nav .mark img { height: auto; width: 236px; }
  .head { margin-bottom: 28px; }
  .next { padding-block: 72px 0; }
  .next .stoneband { margin-top: 72px; }
  .tiles { grid-template-columns: minmax(0, 1fr); }
  .tile { padding: 28px 24px; min-height: 0; }
  .index a, .index .row { grid-template-columns: minmax(0, 1fr) 24px; }
  .index .ds { grid-column: 1; grid-row: 2; }
  .index .ar { grid-row: 1 / span 2; align-self: center; }
  .stations ol { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 18px; margin-top: 12px; }
  .stations .line { display: none; }
  .partners .stations ol { grid-template-columns: repeat(9, minmax(0, 1fr)); margin-top: -11px; row-gap: 0; }
  .partners .stations .line { display: block; }
  .flow { height: auto; }
  .flow-stick { position: static; min-height: 0; padding-block: var(--section); }
  .steps li { color: var(--fg); }
  .steps li .d { max-height: none; }
  .flow .blk.up { transform: none; opacity: 1; }
  .form { grid-template-columns: minmax(0, 1fr); }
  .photo { aspect-ratio: 4 / 3; }
  .typewall .course { flex-wrap: wrap; }
  .typewall span { flex: 1 1 40%; }
  .f-cols { grid-template-columns: minmax(0, 1fr); }
  .f-cols ul { gap: 0; }
  .f-cols ul a, .f-cols ul li { display: block; padding-block: 12px; }
  .f-cols ul li:has(a) { padding-block: 0; }
  .f-base { padding-block: 0; align-items: stretch; }
  .fcs { display: grid; }
  .fb-txt { flex-direction: column; align-items: flex-start; justify-content: center; padding: 14px 0 14px 16px; }
}

/* ---------- v5.1 study: cut stone ----------
   Every stone gets a chamfered edge: four flat faces lit from one light at the top left.
   Solid tones only. No gradients, no blur, no cast shadow. Off with html:not(.finish-cut). */
:root {
  --cut-hi: #3B4865; --cut-mhi: #26355A; --cut-mdim: #0E182E; --cut-dim: #091122;   /* navy stone faces */
  --cutp-hi: #F8F7F3; --cutp-mhi: #F0EEE9; --cutp-mdim: #CBC6BA; --cutp-dim: #B4AE9F; /* limestone stone faces */
  --cutb-hi: #B7995C; --cutb-mdim: #7D632F; --cutb-dim: #67511F;                      /* brass stone faces */
}
html.finish-cut .pcell .b, html.finish-cut .key i, html.finish-cut .stations li::before,
html.finish-cut .cadence .ticks i, html.finish-cut .tile .mini i {
  box-sizing: border-box; border-style: solid; border-width: 3px; background: var(--bgN); box-shadow: none;
  border-color: var(--cut-hi) var(--cut-mdim) var(--cut-dim) var(--cut-mhi);
}
html.finish-cut .pcell .b { border-width: 7px; }
html.finish-cut .cadence .ticks i, html.finish-cut .tile .mini i { border-width: 4px; }
html.finish-cut .pcell .b.p, html.finish-cut .key i.p, html.finish-cut .stations li.partner::before, html.finish-cut .tile .mini i.p {
  background: var(--bgL); border-color: var(--cutp-hi) var(--cutp-mdim) var(--cutp-dim) var(--cutp-mhi);
}
html.finish-cut .stations li.hl::before { background: var(--brass); border-color: var(--cutb-hi) var(--cutb-mdim) var(--cutb-dim) var(--cutb-hi); }
/* the active stone catches the light: its top face turns brass */
html.finish-cut .pcell.on .b { border-top-color: var(--brass); }
/* the rule fills with brass up to the active station */
html.finish-cut .pcell .mid::before { background: var(--navy-4); transition: background .3s; }
html.finish-cut .pcell.past .mid::before { background: var(--brass); }
html.finish-cut .pcell.on .mid::after { content: ""; position: absolute; left: -4px; right: 50%; top: 8px; height: 3px; background: var(--brass); }
html.finish-cut .pcell.past .mid i { background: var(--brass); }
/* laying: a stone drops onto the course, lands, settles */
@keyframes lay {
  0% { transform: translateY(-38px); opacity: 0; animation-timing-function: cubic-bezier(.55, 0, 1, .45); }
  20% { opacity: 1; }
  72% { transform: translateY(0); animation-timing-function: cubic-bezier(0, .55, .45, 1); }
  86% { transform: translateY(-3px); animation-timing-function: cubic-bezier(.55, 0, 1, .45); }
  100% { transform: translateY(0); opacity: 1; }
}
html.finish-cut:not(.motion-off) .pcell.lay .b, html.finish-cut:not(.motion-off) .flow .blk.lay { animation: lay .62s both; }
html.finish-cut .flow .blk .bt { fill: var(--cut-hi); } html.finish-cut .flow .blk .bl { fill: var(--cut-mhi); }
html.finish-cut .flow .blk .br { fill: var(--cut-mdim); } html.finish-cut .flow .blk .bb { fill: var(--cut-dim); }
html.finish-cut .flow .blk.on .bt { fill: var(--brass); }
html.finish-cut .flow .tick-label text.on { fill: var(--fg); font-weight: 600; }
/* the step detail turns over rather than snapping */
@keyframes turn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
html.finish-cut:not(.motion-off) .path-detail.swap > * { animation: turn .38s cubic-bezier(.2,.8,.2,1) both; }
html.finish-cut:not(.motion-off) .path-detail.swap > .d { animation-delay: .06s; }
.path-detail .of { color: var(--navy-3); font-weight: 500; }
/* the hero course: stones fall from above the band and lay themselves */
.hero { --drop: clamp(120px, 20vh, 220px); }
.hero-field { position: relative; z-index: 2; }
.hero .stoneband canvas { top: calc(-1 * var(--drop)); height: calc(100% + var(--drop)); }
.proto input[type=range] { width: 120px; accent-color: var(--fg); }

/* ---------- v5.1 study: the schematic (How it works, The path) ----------
   A blueprint on navy: a step index drives the drawing; each step lights its stages and lays
   its wires; a brass square travels the wires of the current step. One raised panel shadow. */
:root { --sch-bg: #14213D; --sch-node: #172745; --sch-line: #2C3B5C; --sch-dim: #24334F; }
.sch { position: relative; background: var(--sch-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96'%3E%3Cpath d='M24 0V96M48 0V96M72 0V96M0 24H96M0 48H96M0 72H96' stroke='%23BFC4CF' stroke-opacity='.05' fill='none'/%3E%3Cpath d='M0 0V96M0 0H96' stroke='%23BFC4CF' stroke-opacity='.10' fill='none'/%3E%3C/svg%3E") 0 0 / 96px 96px; color: var(--fg);
  padding: clamp(22px, 3vw, 36px); box-shadow: 0 50px 90px -48px rgba(9, 17, 34, .7), 0 1px 0 rgba(9, 17, 34, .25); min-width: 0; }
.sch::before, .sch::after { content: ""; position: absolute; width: 14px; height: 14px; }
.sch::before { left: 10px; top: 10px; border-left: 1px solid var(--navy-3); border-top: 1px solid var(--navy-3); }
.sch::after { right: 10px; bottom: 10px; border-right: 1px solid var(--navy-3); border-bottom: 1px solid var(--navy-3); }
.sch-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 22px; }
.flow .head { margin-bottom: clamp(24px, 4vh, 44px); }
.sch-t { font-size: clamp(18px, 1.6vw, 22px); font-weight: 500; margin: 0; }
.sch-t span { color: var(--navy-3); }
.sch-k { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; margin: 10px 0 0; font: 500 10px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--navy-4); }
.sch-k i { display: inline-block; width: 8px; height: 8px; background: var(--navy-4); margin-right: 8px; }
.sch-k i.p { background: none; border: 1px dashed var(--navy-4); }
.sch-k .draft { margin-left: 0; color: var(--navy-4); border-color: var(--navy-3); }
.sch-now { font: 500 10px/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--navy-4); margin: 4px 0 0; text-align: right; min-height: 14px; }
.sch-grid { position: relative; }
.sch-wires { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.sch-wires .base { fill: none; stroke: var(--sch-line); stroke-width: 1; stroke-dasharray: 3 4; }
.sch-wires .w { fill: none; stroke: var(--navy-4); stroke-width: 1.25; transition: stroke .3s; }
.sch-wires .w.now { stroke: var(--fg); }
.sch-wires .dot { fill: var(--brass); }
.plane { font: 500 9.5px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--navy-3); margin: 0; text-align: center; }
.node { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 10px;
  min-width: 0; width: 100%; min-height: 128px; padding: 14px 8px 11px; margin: 0; background: var(--sch-node); border: 1px solid var(--sch-dim);
  color: var(--navy-3); font: 500 14px/1.25 var(--text); text-align: center; cursor: default; transition: border-color .22s, color .22s; }
.node::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 2px; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.node .nm { overflow-wrap: anywhere; }
.node .ic { width: 44px; height: 30px; fill: none; stroke: var(--navy-4); stroke-width: 1.2; opacity: 0; transition: opacity .22s; }
.node .tg { font: 500 9px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--navy-3); border: 1px solid var(--sch-dim); background: var(--sch-bg); padding: 3px 6px; max-width: 100%; transition: color .45s, border-color .45s; }
.node.lit { border-color: var(--navy-2); color: var(--fg); }
.node.lit .ic { opacity: 1; }
.node.lit .tg { color: var(--navy-4); border-color: var(--sch-line); }
.node.on { border-color: var(--navy-4); }
.node.on::before { transform: scaleX(1); }
.node:hover, .node:focus-visible, .node.peek { border-color: var(--fg); }
.node:focus-visible { outline: 1px solid var(--brass); outline-offset: 3px; }
.node.pt { border-style: dashed; }
.sch-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-top: 22px; border-top: 1px solid var(--sch-line); padding-top: 18px; }
.sch-ins { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 4px 14px; align-items: baseline; min-height: 58px; min-width: 0; }
.sch-ins .n { font: 500 11px/1.4 var(--mono); letter-spacing: .1em; color: var(--navy-4); text-transform: uppercase; }
.sch-ins .t { font-size: clamp(17px, 1.5vw, 20px); font-weight: 600; }
.sch-ins .d { grid-column: 2; color: var(--navy-4); font-size: 15px; max-width: 62ch; }
.sch-ins .draft { color: var(--navy-4); border-color: var(--navy-3); }
.sch-ins.swap > * { animation: turn .38s cubic-bezier(.2,.8,.2,1) both; }
.sch-prog { display: flex; gap: 6px; flex: none; padding-bottom: 6px; }
.sch-prog i { width: 22px; height: 2px; background: var(--sch-line); transition: background .3s; }
.sch-prog i.on { background: var(--bgP); }
.sch-hint { font: 500 9.5px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--navy-3); margin: 14px 0 0; }
/* How it works: the client, the standard above, four stages, what the client gets */
.flow-body:has(.sch) { display: block; }
.sch-eng .sch-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 4.4fr) minmax(0, 1fr); grid-template-rows: auto auto; column-gap: clamp(22px, 3vw, 44px); row-gap: 40px; padding-bottom: 26px; }
.sch-std { grid-column: 2; grid-row: 1; justify-self: end; width: 50%; display: grid; justify-items: center; gap: 12px; }
.sch-std .node { width: calc(50% + 8px); min-height: 0; padding-block: 12px 10px; flex-direction: row; justify-content: center; flex-wrap: wrap; gap: 8px 10px; }
.sch-std .node .ic { width: 36px; height: 24px; }
.sch-in { grid-column: 1; grid-row: 2; display: flex; align-items: center; }
.sch-out { grid-column: 3; grid-row: 2; display: flex; align-items: center; }
.sch-run { grid-column: 2; grid-row: 2; position: relative; }
.sch-run > .plane { position: absolute; left: 0; right: 0; bottom: -24px; }
.sch-run .grp { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding: 16px; border: 1px dashed var(--sch-line); position: relative; }
/* The path: two lanes, nine steps, raw land to an operating property */
.sch-path .sch-grid { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); grid-template-rows: 100px 100px; column-gap: 20px; row-gap: 14px; }
.sch-path .lane { grid-row: var(--r); grid-column: 2 / 11; background: rgba(191, 196, 207, .035); border-top: 1px solid var(--sch-line); margin: 0 -10px; position: relative; }
.sch-path .lane.r2 { border-top: 0; border-bottom: 1px solid var(--sch-line); }
.sch-path .lane .plane { position: absolute; left: 10px; top: -20px; text-align: left; }
.sch-path .lane.r2 .plane { top: auto; bottom: -20px; }
.sch-path .sch-grid { padding-block: 22px; }
.sch-path .slot { grid-row: var(--r); grid-column: var(--c); display: flex; align-items: center; z-index: 1; min-width: 0; }
.sch-path .slot.term { grid-row: 1 / 3; }
.sch-path .node { min-height: 0; height: 70px; padding: 9px 4px 8px; gap: 6px; font-size: 12.5px; }
.sch-path .node .ic { display: none; }
.sch-path .slot.term .node { height: 110px; }
html.motion-off .node, html.motion-off .node .ic, html.motion-off .sch-wires .w, html.motion-off .node::before { transition: none; }
@media (max-width: 960px) {
  .flow { height: auto; } .flow-stick { position: static; min-height: 0; padding-block: var(--section); }
  .flow-body:has(.sch) { grid-template-columns: minmax(0, 1fr); }
  .flow-body:has(.sch) .steps { display: none; }
}
@media (max-width: 720px) {
  .sch-eng .sch-grid { grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
  .sch-std { display: none; }
  .sch-in, .sch-run, .sch-out { grid-column: 1; grid-row: auto; }
  .sch-run .grp { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .sch-eng .node { min-height: 0; flex-direction: row; justify-content: flex-start; flex-wrap: wrap; text-align: left; padding: 14px 16px; }
  .sch-eng .node .ic { order: -1; width: 36px; height: 24px; }
  .sch-foot { flex-direction: column; align-items: stretch; }
  .sch-ins { grid-template-columns: minmax(0, 1fr); } .sch-ins .d { grid-column: 1; }
}

/* ---------- v5.1 study: mini schematics (KRV, partners, CFO and COO cadence) ----------
   The same drawing at small scale: same panel, nodes, wires and mono labels. Drawn once on view. */
.sch-mini { padding: 16px 18px 18px; box-shadow: 0 30px 54px -34px rgba(9, 17, 34, .7); }
.sch-mini::before { left: 6px; top: 6px; width: 10px; height: 10px; }
.sch-mini::after { right: 6px; bottom: 6px; width: 10px; height: 10px; }
.mini-cap { font: 500 9.5px/1.3 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--navy-4); margin: 0 0 12px; }
.sch-mini .sch-k { margin: 12px 0 0; font-size: 9px; }
.mini-grid { position: relative; display: grid; column-gap: 8px; }
.mini-path { grid-template-columns: repeat(9, minmax(0, 1fr)); grid-template-rows: 34px 34px; row-gap: 12px; }
.mini-path.names { grid-template-rows: 56px 56px; row-gap: 14px; column-gap: 7px; }
.mini-cad { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: 32px; column-gap: 8px; padding-bottom: 22px; }
.mnode { grid-row: var(--r, 1); grid-column: var(--c); position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  min-width: 0; background: var(--sch-node); border: 1px solid var(--sch-dim); color: var(--navy-3); text-align: center; transition: border-color .3s, color .3s; }
.mnode .no { font: 500 9px/1 var(--mono); letter-spacing: .06em; transition: color .3s; }
.mnode .nm { font: 500 10.5px/1.15 var(--text); padding-inline: 2px; overflow-wrap: anywhere; }
.mnode.pt { border-style: dashed; }
.mnode.lit { border-color: var(--navy-2); color: var(--fg); }
.mnode.lit .no { color: var(--navy-4); }
.mnode.on { border-color: var(--fg); color: var(--fg); }
.mnode.on .no { color: var(--fg); }
.mnode.on::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 2px; background: var(--brass); }
.sch-mini .sch-wires .loopb { fill: none; stroke: var(--navy-3); stroke-width: 1; stroke-dasharray: 3 4; transition: opacity .6s; }
.sch-mini.armed .sch-wires .loopb { opacity: 0; }
.sch-mini .sch-wires .trk { fill: none; stroke: none; }
.krv .sch-mini { margin-top: 6px; }
.krv .key { margin-top: 12px; }
.partners .r .sch-mini { padding: 12px 14px 14px; }
.partners .r .mini-cap { margin-bottom: 10px; }
.plate .sch-mini { margin-block: 4px 6px; }
/* light minis (KRV, partners): the same drawing language on the page's own ground. No panel, grid or shadow. */
.sch-mini.light { background: none; padding: 0; box-shadow: none; color: var(--fg); }
.sch-mini.light::before, .sch-mini.light::after { display: none; }
.sch-mini.light .mini-cap { color: var(--navy-2); }
.sch-mini.light .mnode { background: var(--bgP); border-color: var(--hairline); color: var(--navy-3); }
.sch-mini.light .mnode .no { color: var(--navy-3); }
.sch-mini.light .mnode.lit { border-color: var(--navy-2); color: var(--fg); }
.sch-mini.light .mnode.lit .no { color: var(--navy-2); }
.sch-mini.light .mnode.on { border-color: var(--fg); color: var(--fg); }
.sch-mini.light .mnode.on .no { color: var(--fg); }
.sch-mini.light .sch-wires .base { stroke: var(--hairline); }
.sch-mini.light .sch-wires .w { stroke: var(--navy-2); }
.sch-mini.light .sch-k { color: var(--navy-2); }
.sch-mini.light .sch-k i { background: var(--bgP); border: 1px solid var(--navy-2); }
.sch-mini.light .sch-k i.p { border-style: dashed; }
.krv .sch-mini.light { margin-top: 10px; }
.flow, .track { overflow: clip; } /* keeps the raised panel shadow inside its own section */
.partners .r .sch-mini.light { padding: 0; }
@media (max-width: 720px) {
  .mini-path.names { grid-template-rows: 34px 34px; row-gap: 12px; }
  .mini-path.names .nm { display: none; }
  .mini-cad { column-gap: 4px; }
}

/* ---------- v5.1 fixes: pinned frames fit the screen; no jumps ---------- */
.flow > .sec-head, .track > .sec-head { padding-top: var(--section); }
.flow > .sec-head .head, .track > .sec-head .head { margin-bottom: 0; }
.flow.nopin .flow-stick, .track.nopin .track-stick { padding-top: clamp(24px, 4vh, 40px) !important; }
html.motion-off .flow-stick, html.motion-off .track-stick { padding-top: clamp(24px, 4vh, 40px); }
@media (min-width: 721px) { .sch-ins { height: 84px; min-height: 0; overflow: hidden; } }
.flow-stick, .track-stick { padding-block: clamp(14px, 3vh, 44px); }
.flow .head, .track .head { margin-bottom: clamp(16px, 3vh, 40px); }
.sch { padding: clamp(18px, 2.8vh, 34px) clamp(18px, 2.4vw, 34px); }
.sch-head { margin-bottom: clamp(12px, 2.2vh, 22px); }
.sch-k { margin-top: 8px; }
.sch-t { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.node { min-height: clamp(92px, 13.5vh, 128px); padding-block: clamp(10px, 1.6vh, 14px) clamp(8px, 1.3vh, 11px); }
.sch-eng .sch-grid { row-gap: clamp(26px, 4vh, 40px); }
.sch-std { gap: 8px; }
.sch-std .node { width: 100%; min-height: 0; padding: 10px 12px; flex-direction: column; justify-content: center; gap: 7px; font-size: 13.5px; }
.sch-std .node .ic { display: none; }
.sch-std .node .tg { white-space: nowrap; }
.sch-foot { margin-top: clamp(12px, 2vh, 22px); padding-top: clamp(10px, 1.6vh, 18px); align-items: center; }
.sch-ins { min-height: 76px; align-content: start; }
.sch-ins .d { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sch-side { display: grid; justify-items: end; gap: 10px; flex: none; }
.sch-side .sch-hint { margin: 0; }
.flow.nopin, .track.nopin { height: auto; }
.flow.nopin .flow-stick, .track.nopin .track-stick { position: static; min-height: 0; padding-block: var(--section); }
/* Home partners list: names and roles only; the diagrams live on the Partners page */
.partners .rows.plain .r { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); }
@media (max-width: 720px) {
  .sch-side { justify-items: start; }
  .sch-ins { min-height: 0; }
}

/* ---------- v5.1: whole cards are the button ---------- */
.tile, .hit { transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s, border-color .4s; }
.tile::before, .tile::after, .hit::before, .hit::after { transition: width .4s cubic-bezier(.2,.8,.2,1), height .4s cubic-bezier(.2,.8,.2,1); }
.tile:hover, .hit:hover { transform: translateY(-4px); border-color: var(--navy-4); box-shadow: 0 34px 56px -40px rgba(20, 33, 61, .55); }
.tile:hover::before, .tile:hover::after, .hit:hover::before, .hit:hover::after { width: 28px; height: 28px; }
.tile:hover .link2::after, .hit:hover .link2::after { width: 48px; }
.tile:focus-visible, .hit:focus-within { outline: 2px solid var(--brass); outline-offset: 4px; }
.hit { cursor: pointer; }
.hit .link2::before { content: ""; position: absolute; inset: 0; z-index: 2; }
.hit .link2:focus-visible { outline: none; }
/* index rows: the row itself answers the cursor */
.index a { transition: padding .35s cubic-bezier(.2,.8,.2,1), background .35s; }
.index a:hover { background: rgba(20, 33, 61, .035); padding-inline: 16px; }
@media (hover: none) { .tile:hover, .hit:hover { transform: none; box-shadow: none; } .index a:hover { padding-inline: 0; } }
html.motion-off .tile, html.motion-off .hit, html.motion-off .index a { transition: none; }

/* ---------- v5.1: sample documents (real pages in the Cornerstone format) ---------- */
.doc.real { appearance: none; border: 0; background: none; padding: 0; margin: 0; cursor: zoom-in; width: clamp(100px, 10.5vw, 152px); text-align: center; font: inherit; color: inherit; }
.doc.real .pg { display: block; aspect-ratio: 8.5 / 11; background: var(--bgP); border: 1px solid var(--hairline); overflow: hidden;
  box-shadow: 0 20px 34px -24px rgba(20, 33, 61, .55); transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s; }
.doc.real img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.doc.real:hover .pg, .doc.real:focus-visible .pg { transform: translateY(-5px); box-shadow: 0 32px 46px -26px rgba(20, 33, 61, .6); }
.doc.real:focus-visible { outline: none; }
.doc.real:focus-visible .pg { outline: 2px solid var(--brass); outline-offset: 3px; }
.doc.real .nm { display: block; font-size: 12.5px; font-weight: 500; margin-top: 12px; }
.doc.real .tg { display: block; font: 500 9px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--navy-3); margin-top: 4px; }
.lb { position: fixed; inset: 0; z-index: 80; background: rgba(9, 17, 34, .95); display: grid; place-items: center; padding: 20px; }
.lb[hidden] { display: none; }
.lb-in { display: grid; gap: 14px; justify-items: center; max-width: 100%; }
.lb-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; width: 100%; color: var(--fg); font: 500 10.5px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.lb-bar .lb-t { margin: 0 auto 0 0; }
.lb-bar button { font: inherit; letter-spacing: inherit; text-transform: inherit; color: var(--fg); background: none; border: 1px solid var(--navy-2); padding: 8px 12px; cursor: pointer; min-height: 36px; }
.lb-bar button:hover { border-color: var(--fg); }
.lb-bar button:disabled { opacity: .35; cursor: default; }
@media (max-height: 700px) and (min-width: 721px) {
  .sch-eng .node { min-height: 72px; gap: 8px; } .sch-eng .node .ic { display: none; }
  .sch-eng .sch-grid { row-gap: 22px; } .sch-head { margin-bottom: 10px; }
}
.lb-img { display: block; max-width: min(860px, 100%); max-height: calc(100svh - 120px); width: auto; height: auto; background: var(--bgP); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }

/* ---------- v5.1: service drawings (the work drawn as structure; light blueprint family) ---------- */
.drawing { margin: 0; display: grid; gap: 14px; }
.drawing svg { width: 100%; height: auto; overflow: visible; display: block; }
.drawing figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.dw-k { display: inline-flex; align-items: center; gap: 8px; font: 500 9.5px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--navy-2); }
.dw-k i { width: 10px; height: 10px; border: 1px solid var(--navy-2); background: var(--bgL); }
.dw-k i.ln { background: var(--bgN); border-color: var(--fg); }
.drawing .draft { margin-left: 0; }
.dw-lab { font: 500 12px var(--mono); letter-spacing: .12em; fill: var(--navy-2); }
.dw-nm { font: 500 13.5px var(--text); fill: var(--fg); }
.dw-lead, .dw-brk { fill: none; stroke: var(--navy-3); stroke-width: 1; }
.dw-hair { stroke: var(--hairline); stroke-width: 1; }
/* plan */
.dw-top { fill: var(--fg); stroke: var(--navy-3); stroke-width: 1; }
.dw-front { fill: var(--fg2); stroke: var(--navy-3); stroke-width: 1; }
.dw-side { fill: #D8D5CC; stroke: var(--navy-3); stroke-width: 1; }
.dw-txt { stroke: var(--navy-4); stroke-width: 1.2; }
.dw-key .dw-top { fill: #F3F2EE; }
.dw-key .dw-lab { fill: var(--fg); }
.dw-slab { transform: translateY(var(--dy)); transition: transform 1.1s cubic-bezier(.2,.8,.2,1) var(--d); }
.dw-slab .dw-lab, .dw-slab .dw-lead { transition: opacity .5s ease calc(var(--d) + .5s); }
/* capital stack */
.dw-s-eq { fill: var(--fg2); stroke: var(--navy-3); stroke-width: 1; }
.dw-s-ln { fill: var(--fg); }
.dw-s-gr { fill: var(--fg); stroke: var(--navy-2); stroke-width: 1; stroke-dasharray: 3 3; }
.dw-dim line { stroke: var(--navy-3); stroke-width: 1; }
.dw-course { transition: transform .6s cubic-bezier(.55,0,.25,1) var(--d), opacity .4s ease var(--d); }
/* swimlane and lender flow */
.dw-box { fill: var(--fg); stroke: var(--navy-2); stroke-width: 1; }
.dw-box.dw-team { fill: var(--fg2); }
.dw-box.dw-dest { stroke: var(--fg); stroke-width: 1.5; }
.dw-wire { fill: none; stroke: var(--navy-2); stroke-width: 1.25; stroke-dasharray: 1 1; stroke-dashoffset: 0; transition: stroke-dashoffset .5s ease var(--d); }
.dw-loop { stroke: var(--brass); }
.dw-node, .dw-fade { transition: opacity .45s ease var(--d), transform .45s ease var(--d); }
/* before it comes into view (motion on only) */
.drawing.armed .dw-slab { transform: translateY(0); }
.drawing.armed .dw-slab .dw-lab, .drawing.armed .dw-slab .dw-lead { opacity: 0; }
.drawing.armed .dw-course { transform: translateY(-26px); opacity: 0; }
.drawing.armed .dw-wire { stroke-dashoffset: 1; }
.drawing.armed .dw-node, .drawing.armed .dw-fade { opacity: 0; transform: translateY(6px); }
.drawing.armed .dw-dim { opacity: 0; }
.dw-dim { transition: opacity .6s ease .9s; }
.plate .drawing { width: 100%; }
.box .dw-lend { max-width: 360px; margin-top: 10px; }
@media (max-width: 720px) {
  .dw-plan .dw-lab { font-size: 17px; }
  .dw-cap .dw-lab { font-size: 13px; }
  .dw-sop .dw-lab { font-size: 15px; }
  .dw-lend .dw-nm { font-size: 15px; }
}

/* ---------- v5.1: the 3D wall (hero and side strip); the drawn wall stays as the fallback ---------- */
.hero3d-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
html.want3d .hero .stoneband, .hero.hero3d .stoneband { display: none; }
.hero.hero3d .hero-field { position: relative; z-index: 2; }
.strip3d-canvas { position: absolute; left: 0; bottom: var(--stone-h); width: var(--strip); display: block; }
html.strip3d #strip { visibility: hidden; }

/* ---------- v5.2: Gregory's sign-off, 2026-10-18 ---------- */
.ptile .fig.fig-word { font-size: clamp(52px, 5.4vw, 88px); }
.ptile .fig.krv-name { font-variant-numeric: normal; font-size: clamp(28px, 3vw, 44px); line-height: 1.1; letter-spacing: -0.015em; max-width: 18ch; }
.ptile .tr { color: var(--navy-4); }
.lead.sub-partner { display: flex; align-items: center; gap: 10px; margin-top: 30px; }
.lead.sub-partner i { width: 12px; height: 12px; flex: none; background: var(--bgL); box-shadow: inset 0 0 0 2px var(--fg); }

/* ---------- v5.2: photographs as backgrounds: out of focus, held down by the navy ---------- */
:root { --rv-photo: url(/assets/img-a700df55a1.webp); --gen-photo: url(/assets/img-5d9cfc7b73.webp); }
.bg-rv { --bg: var(--rv-photo); } .bg-gen { --bg: var(--gen-photo); }
.photo-bg { background: linear-gradient(rgba(20, 33, 61, .74), rgba(20, 33, 61, .74)), var(--bg) center 55% / cover no-repeat, var(--bgN); }
.photo-bg .phead-in { position: relative; z-index: 1; }
.photo-bg .label, .photo-bg .dim { color: var(--fg); }
.photo-bg .photo-tag { font: 500 10px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--navy-4); }
.tile-photo { background: linear-gradient(rgba(20, 33, 61, .7), rgba(20, 33, 61, .7)), var(--bg) center / cover no-repeat, var(--bgN);
  border-color: var(--fg); color: var(--fg); }
.tile-photo p { color: rgba(248, 247, 243, .82); }
.tile-photo .label { color: var(--navy-4); }
.tile-photo::before, .tile-photo::after { border-color: var(--fg); }
.tile-photo:hover { border-color: var(--fg); box-shadow: 0 34px 56px -36px rgba(20, 33, 61, .8); }
html.finish-cut .tile-photo .mini i { background: var(--bgN); border-color: var(--cut-hi) var(--cut-mdim) var(--cut-dim) var(--cut-mhi); }
html.finish-cut .tile-photo .mini i.p { background: var(--bgL); border-color: var(--cutp-hi) var(--cutp-mdim) var(--cutp-dim) var(--cutp-mhi); }
.tile-photo .mini i { box-shadow: 0 0 0 1px rgba(248, 247, 243, .35); }
/* the Home proof block: the example project runs full width over the two figures */
.proof-grid:has(.sch-mini[data-mini="krv"]) { grid-template-columns: minmax(0, 1fr); }
.proof-grid:has(.sch-mini[data-mini="krv"]) .proof-side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ptile.krv:has(.sch-mini[data-mini="krv"]) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); column-gap: clamp(32px, 5vw, 72px); row-gap: 14px; align-content: start; }
.ptile.krv:has(.sch-mini[data-mini="krv"]) > :not(.sch-mini) { grid-column: 1; }
.krv .sch-mini[data-mini="krv"] { grid-column: 2; grid-row: 1 / span 4; align-self: end; margin: 0; }
@media (max-width: 960px) {
  .proof-grid:has(.sch-mini[data-mini="krv"]) .proof-side { grid-template-columns: minmax(0, 1fr); }
  .ptile.krv:has(.sch-mini[data-mini="krv"]) { grid-template-columns: minmax(0, 1fr); }
  .krv .sch-mini[data-mini="krv"] { grid-column: 1; grid-row: auto; margin-top: 18px; }
}
.mini-krv { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: 92px; column-gap: 16px; }
.mini-krv .mnode .nm { text-align: center; line-height: 1.25; font-size: 13.5px; padding-inline: 6px; }
@media (max-width: 720px) { .mini-krv { grid-template-rows: 68px; column-gap: 8px; } .mini-krv .mnode .nm { font-size: 11px; padding-inline: 2px; } }
html.finish-cut .tile-photo .mini i { box-shadow: 0 0 0 1px rgba(248, 247, 243, .45); }
.sch-mini.light .mini-krv .mnode.ongoing { border-style: solid; box-shadow: 4px 4px 0 -1px var(--fg), 4px 4px 0 0 var(--navy-3); }

/* ---------- v5.2: About, option B: the record, the principles, the people ---------- */
.ledger { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--fg); }
.lg { position: relative; padding: 26px 28px 8px 0; display: grid; gap: 14px; align-content: start; min-width: 0; }
.lg + .lg { padding-left: 28px; border-left: 1px solid var(--hairline); }
.lg-no { font: 500 10px/1 var(--mono); letter-spacing: .16em; color: var(--navy-3); }
.lg .fig { font-size: clamp(40px, 4.4vw, 72px); font-weight: 600; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.lg .rule { height: 4px; width: 42%; background: var(--brass); }
.lg .lg-lb { font-size: 15px; line-height: 1.45; color: var(--navy-2); max-width: 24ch; }
.principles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: none; }
.principles li { border: 1px solid var(--navy-2); padding: clamp(24px, 2.6vw, 36px); display: grid; gap: 16px; align-content: start; min-width: 0; position: relative; }
.principles li::before { content: ""; position: absolute; left: -1px; top: -1px; width: 14px; height: 14px; border-left: 2px solid var(--fg); border-top: 2px solid var(--fg); }
.principles .pn { display: flex; gap: 12px; align-items: baseline; font: 500 10.5px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--navy-4); }
.principles .pn span { color: var(--fg); }
.principles h3 { font-size: clamp(22px, 2.1vw, 30px); line-height: 1.15; color: var(--fg); }
.principles .pd { color: var(--navy-4); line-height: 1.55; }
.people { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.person { display: grid; min-width: 0; }
.person .pb { padding: clamp(24px, 3vw, 40px); display: grid; gap: 14px; align-content: end; }
.person .pb h3 { font-size: clamp(26px, 2.6vw, 38px); line-height: 1.1; }
.person .pb .label { color: var(--navy-2); }
.person.founder { grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); }
.person .photo.portrait { aspect-ratio: auto; height: 100%; min-height: 300px; border: 0; border-right: 1px solid var(--hairline); }
.person:not(.founder) { background: var(--bgL); border-color: var(--fg2); }

/* ---------- v5.2: the intake (rules sort the client) ---------- */
.ik-two { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
.intake { gap: 18px; }
.ik-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; }
.ik-n { font: 500 10.5px/1 var(--mono); letter-spacing: .16em; color: var(--navy-2); }
.ik-bar { height: 2px; background: var(--hairline); position: relative; }
.ik-bar i { position: absolute; left: 0; top: -1px; height: 4px; width: 20%; background: var(--bgN); transition: width .45s cubic-bezier(.2,.8,.2,1); }
.ik-form { min-height: 330px; }
.ik-step { border: 0; padding: 0; margin: 0; min-width: 0; display: none; }
.ik-step.on { display: grid; gap: 18px; animation: ikIn .4s cubic-bezier(.2,.8,.2,1); }
@keyframes ikIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.ik-step legend { font-size: clamp(24px, 2.4vw, 34px); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; padding: 0; margin-bottom: 18px; }
.ik-step legend small { display: block; margin-top: 8px; font: 500 10.5px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--navy-3); }
.ik-opts { display: grid; gap: 10px; }
.ik-opts label { position: relative; display: block; cursor: pointer; }
.ik-opts input { position: absolute; opacity: 0; pointer-events: none; }
.ik-opts span { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--hairline); background: var(--bgP); font-size: 16px; font-weight: 500;
  transition: border-color .25s, background .25s, transform .25s cubic-bezier(.2,.8,.2,1); }
.ik-opts span::before { content: ""; width: 12px; height: 12px; flex: none; border: 2px solid var(--navy-3); transition: background .25s, border-color .25s; }
.ik-opts label:hover span { border-color: var(--navy-2); transform: translateX(3px); }
.ik-opts input:checked + span { border-color: var(--fg); background: var(--bgL); }
.ik-opts input:checked + span::before { background: var(--brass); border-color: var(--brass); }
.ik-opts input:focus-visible + span { outline: 2px solid var(--brass); outline-offset: 2px; }
.ik-sel { display: grid; gap: 6px; font-size: 13px; font-weight: 500; margin-top: 8px; }
.ik-sel select { font: 400 16px var(--text); color: var(--navy-2); background: var(--bgP); border: 1px solid var(--hairline); border-bottom: 2px solid var(--navy-3); padding: 12px; }
.ik-nav { display: flex; justify-content: space-between; gap: 12px; padding-top: 6px; border-top: 1px solid var(--hairline); }
.ik-nav .btn { margin-top: 14px; }
.ik-nav .btn:disabled { opacity: .35; cursor: default; }
.ik-nav .btn.light { border: 1px solid var(--hairline); }
.ik-result { gap: 14px; outline: none; }
.ik-result .label { color: var(--navy-2); }
.ik-track { font-size: clamp(26px, 2.8vw, 40px); line-height: 1.1; letter-spacing: -0.015em; }
.ik-why { font: 500 10.5px/1.5 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--navy-3); }
.ik-flow { display: flex; flex-wrap: wrap; align-items: stretch; gap: 0; margin: 8px 0 4px; }
.ik-flow .k { position: relative; display: grid; gap: 4px; align-content: center; justify-items: center; text-align: center; min-width: 108px; flex: 1 1 108px; max-width: 170px; min-height: 72px;
  padding: 10px 10px; border: 1px solid var(--fg); background: var(--bgP); font-size: 13px; font-weight: 500; line-height: 1.2;
  opacity: 0; transform: translateY(6px); animation: ikIn .45s cubic-bezier(.2,.8,.2,1) forwards; }
.ik-flow .k .no { font: 500 9px/1 var(--mono); letter-spacing: .08em; color: var(--navy-3); }
.ik-flow .k.start { background: var(--bgN); color: var(--fg); }
.ik-flow .k.start .no { color: var(--navy-4); }
.ik-flow .k.ongoing { box-shadow: 4px 4px 0 -1px var(--fg), 4px 4px 0 0 var(--navy-3); }
.ik-flow .w { flex: 0 0 18px; align-self: center; height: 1px; background: var(--navy-2); }
.ik-next-line { color: var(--navy-2); max-width: 52ch; }
.ik-rule { font: 500 9.5px/1.5 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--navy-3); border-top: 1px dashed var(--hairline); padding-top: 12px; margin-top: 4px; }
html.motion-off .ik-step.on, html.motion-off .ik-flow .k { animation: none; opacity: 1; transform: none; }
@media (max-width: 960px) {
  .ledger { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg:nth-child(3) { padding-left: 0; border-left: 0; }
  .lg:nth-child(n+3) { border-top: 1px solid var(--hairline); margin-top: 18px; }
  .principles, .people, .ik-two { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .person.founder { grid-template-columns: minmax(0, 1fr); }
  .person .photo.portrait { min-height: 0; aspect-ratio: 4 / 3; border-right: 0; border-bottom: 1px solid var(--hairline); }
  .ik-flow { flex-direction: column; align-items: stretch; }
  .ik-flow .k { max-width: none; flex: none; min-height: 56px; }
  .ik-flow .w { flex: 0 0 14px; width: 1px; height: 14px; align-self: center; }
  .ik-form { min-height: 0; }
}

/* ---------- v5.2: the cornerstone plate, two animation studies ---------- */
.cw-study { display: grid; gap: 12px; min-width: 0; }
.cw-anim { background: var(--bgP); }
.cw-anim canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------- v5.2: How we work: one title, and the stage sheet ---------- */
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.flow > .sec-head.bare { padding-top: 0; }
.sch-eng .sch-now { visibility: hidden; }
.sheet { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--fg); }
.sr { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.5fr) minmax(0, 1.5fr) minmax(0, .8fr); gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--hairline); align-items: start; }
.sr.sh { padding: 12px 0; }
.sr.sh p { font: 500 10px/1.3 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--navy-3); }
.s-n { display: flex; gap: 14px; align-items: baseline; font-size: clamp(20px, 1.8vw, 26px); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }
.s-n span { font: 500 11px/1 var(--mono); letter-spacing: .12em; color: var(--navy-3); }
.s-c p { color: var(--navy-2); line-height: 1.55; }
.s-c .s-k { display: none; }
@media (max-width: 860px) {
  .sr.sh { display: none; }
  .sr { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .s-c .s-k { display: block; font: 500 10px/1.3 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--navy-3); margin-bottom: 4px; }
}

/* ---------- v5.3: About · experience drawn as courses, from the foundation up ---------- */
.career-intro { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; margin-bottom: clamp(32px, 5vh, 56px); }
.career-lead { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.5; max-width: 56ch; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font: 500 10.5px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--fg); border: 1px solid var(--navy-3); padding: 7px 10px; background: var(--bgP); }
.cr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 64px); align-items: end; }
.cr-stack { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column-reverse; gap: 6px; }
.cr-stack li { margin-left: calc(var(--i, 0) * 1px); }
.crs { all: unset; box-sizing: border-box; width: 100%; display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 12px; align-items: center; cursor: pointer;
  padding: 13px 16px; background: var(--bgL); border-style: solid; border-width: 3px; border-color: #F8F7F3 #CBC6BA #B4AE9F #F0EEE9; color: var(--fg);
  transition: background .3s, color .3s, transform .3s cubic-bezier(.2,.8,.2,1); }
.g-lime .crs { background: var(--bgP); }
.crs .no { font: 500 10px/1 var(--mono); letter-spacing: .1em; color: var(--navy-3); grid-row: span 2; }
.crs .t { font-size: 15.5px; font-weight: 600; line-height: 1.25; }
.crs .w { grid-column: 2; font: 500 10px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--navy-2); margin-top: 4px; }
.crs:hover { transform: translateX(4px); }
.crs:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
.crs[aria-expanded="true"] { background: var(--bgN); color: var(--fg); border-color: #9A7B3F #0F1A31 #050A14 #2C3A57; }
.crs[aria-expanded="true"] .no, .crs[aria-expanded="true"] .w { color: var(--navy-4); }
.cr-stack li:first-child .crs { border-bottom-color: var(--brass); }
.crd { display: none; }
.cr-panel { border-top: 2px solid var(--fg); padding-top: 22px; display: grid; gap: 12px; align-self: start; position: sticky; top: calc(var(--nav-h) + 24px); }
.cr-n { font: 500 10.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--navy-3); }
.cr-t { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.12; letter-spacing: -0.01em; }
.cr-w { font: 500 11px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--navy-2); }
.cr-w:empty { display: none; }
.cr-d { color: var(--navy-2); line-height: 1.6; max-width: 60ch; }
.cr-panel.swap { animation: ikIn .35s cubic-bezier(.2,.8,.2,1); }

/* ---------- v5.3: Partners · profiles and disclosures ---------- */
.pps { border-top: 2px solid var(--fg); }
.pp { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 72px); padding: clamp(32px, 4vw, 52px) 0; border-bottom: 1px solid var(--hairline); }
.pp-main { display: grid; gap: 14px; align-content: start; }
.pp-n { display: flex; gap: 14px; align-items: center; font: 500 10.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--navy-3); }
.pp-n span { color: var(--fg); border: 1px solid var(--navy-3); padding: 5px 8px; }
.pp .label { color: var(--navy-2); }
.pp h3 { font-size: clamp(28px, 3vw, 42px); line-height: 1.08; letter-spacing: -0.015em; }
.pp-body { color: var(--navy-2); line-height: 1.6; max-width: 60ch; }
.pp-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 8px; }
.pp-cta .btn { border: 1px solid var(--fg); cursor: default; }
.pp-cta .btn.pp-go { cursor: pointer; }
.pp-help { align-self: start; border-left: 1px solid var(--hairline); padding-left: clamp(20px, 3vw, 40px); }
.pp-k { font: 500 10.5px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--navy-3); margin-bottom: 14px; }
.pp-help ul { list-style: none; margin: 0; padding: 0; }
.pp-help li { display: grid; gap: 4px; padding: 14px 0 14px 22px; border-top: 1px solid var(--hairline); position: relative; }
.pp-path { margin-bottom: 28px; }
.pp-path .sch-mini.light { padding: 0; }
.pp-help li::before { content: ""; position: absolute; left: 0; top: 20px; width: 9px; height: 9px; background: var(--brass); }
.pp-help b { font-size: 16.5px; font-weight: 600; }
.pp-help span { color: var(--navy-2); font-size: 15px; line-height: 1.5; }
.dossier { margin: 0; border: 1px solid var(--hairline); background: var(--bgP); }
.g-paper .dossier { background: var(--bgL); border-color: var(--fg2); }
.dossier > div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; padding: 13px 18px; border-top: 1px solid var(--hairline); }
.dossier > div:first-child { border-top: 0; }
.dossier dt { font: 500 10px/1.6 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--navy-3); }
.dossier dd { margin: 0; font-size: 15px; line-height: 1.45; font-weight: 500; }
.marks { margin: 0 0 clamp(36px, 5vh, 56px); border-top: 2px solid var(--fg); padding-top: 20px; }
.mk-k { font: 500 10.5px/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--navy-3); margin-bottom: 14px; }
.marks ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0 28px; }
.marks li { position: relative; padding: 14px 0 14px 22px; border-top: 1px solid var(--hairline); font-size: 15.5px; line-height: 1.5; }
.marks li::before { content: ""; position: absolute; left: 0; top: 21px; width: 9px; height: 9px; background: var(--brass); }
.prows { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--fg); }
.prows a { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) 40px; grid-template-areas: "pw ph" "pn ph" "pr ph"; column-gap: clamp(20px, 4vw, 64px); row-gap: 6px;
  align-items: center; padding: 24px 0; border-bottom: 1px solid var(--hairline); text-decoration: none; position: relative; transition: padding .35s cubic-bezier(.2,.8,.2,1), background .35s; }
.prows .pw { grid-area: pw; justify-self: start; font: 500 10px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--fg); border: 1px solid var(--navy-3); padding: 5px 8px; }
.prows .pn2 { grid-area: pn; font-size: clamp(21px, 2vw, 28px); font-weight: 600; line-height: 1.15; }
.prows .pr { grid-area: pr; font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--navy-2); }
.prows .ph2 { grid-area: ph; color: var(--navy-2); font-size: clamp(16px, 1.3vw, 19px); line-height: 1.5; max-width: 46ch; }
.prows .ar { grid-column: 3; grid-row: 1 / span 3; justify-self: end; width: 14px; height: 14px; border-top: 2px solid var(--fg); border-right: 2px solid var(--fg); transform: rotate(45deg); transition: transform .25s; }
.prows a::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--brass); transition: width .35s; }
.prows a:hover { background: rgba(20, 33, 61, .035); padding-inline: 16px; }
.prows a:hover::after { width: 100%; }
.prows a:hover .ar { transform: translateX(6px) rotate(45deg); }
@media (max-width: 720px) {
  .prows a { grid-template-columns: minmax(0, 1fr) 24px; grid-template-areas: "pw" "pn" "pr" "ph"; row-gap: 8px; }
  .prows .ar { grid-column: 2; grid-row: 1 / span 4; }
}
@media (hover: none) { .prows a:hover { padding-inline: 0; } }
.disc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px clamp(24px, 4vw, 56px); margin-top: clamp(40px, 6vh, 64px); padding-top: 24px; border-top: 1px solid var(--navy-3); }
.disc h4 { font: 500 10.5px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--navy-2); margin-bottom: 6px; }
.disc p { font-size: 12.5px; line-height: 1.6; color: var(--navy-2); max-width: 70ch; }
@media (max-width: 960px) {
  .career-intro, .cr, .pp { grid-template-columns: minmax(0, 1fr); }
  .cr-panel { display: none; }
  .crd { padding: 14px 16px 6px 62px; }
  .crs[aria-expanded="true"] + .crd { display: block; }
  .crd p { color: var(--navy-2); line-height: 1.6; font-size: 15px; }
  .cr-stack { flex-direction: column; }
  .cr-stack li { margin-left: 0; }
  .pp-help { border-left: 0; padding-left: 0; }
  .disc { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- v5.3: vision line, legal lines ---------- */
.vision { margin-top: 30px; padding: 22px 0 0 22px; border-top: 1px solid var(--hairline); border-left: 4px solid var(--brass); display: grid; gap: 8px; }
.vision .label { color: var(--navy-2); }
.vision-l { font-size: clamp(24px, 2.4vw, 34px); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
.vision-r { font: 500 11px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--navy-2); }
.disc-tag { grid-column: 1 / -1; }
.f-legal { font-size: 12px; line-height: 1.6; color: var(--navy-4); padding-block: 18px; }

/* ---------- v5.3: intake follows the quick scoping form ---------- */
.ik-intro { color: var(--navy-2); font-size: 15px; line-height: 1.55; max-width: 62ch; }
.ik-sec { display: block; font: 500 10px/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--navy-3); margin-bottom: 10px; }
.ik-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ik-grid span { padding: 13px 14px; font-size: 15px; }
.ik-rows { display: grid; gap: 14px; margin-top: 6px; }
.ik-rows .ik-sel { margin-top: 0; }
.ik-rows select { color: var(--fg); border-bottom-color: var(--fg); }
.ik-rows select:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
.ik-legal { font-size: 12px; line-height: 1.6; color: var(--navy-2); border-top: 1px dashed var(--hairline); padding-top: 12px; }
@media (max-width: 720px) { .ik-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- v5.3: common client questions ---------- */
.faq { border-top: 2px solid var(--fg); }
.qa { border-bottom: 1px solid var(--hairline); }
.qa summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 44px minmax(0, 1fr) 24px; gap: 12px; align-items: center; padding: 22px 0; transition: padding .3s cubic-bezier(.2,.8,.2,1), background .3s; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { background: rgba(20, 33, 61, .035); padding-inline: 12px; }
.qa summary:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
.qn { font: 500 10.5px/1 var(--mono); letter-spacing: .12em; color: var(--navy-3); }
.qq { font-size: clamp(19px, 1.7vw, 24px); font-weight: 600; line-height: 1.25; }
.qx { position: relative; width: 14px; height: 14px; justify-self: end; }
.qx::before, .qx::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; background: var(--bgN); transition: transform .3s; }
.qx::after { transform: rotate(90deg); }
.qa[open] .qx::after { transform: rotate(0deg); }
.qa p { padding: 0 36px 24px 56px; color: var(--navy-2); line-height: 1.6; max-width: 72ch; }
@media (max-width: 720px) { .qa summary { grid-template-columns: 30px minmax(0, 1fr) 18px; } .qa p { padding: 0 0 22px 42px; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .flow .blk, .pcell.lay .b, .steps li .d, .rule, .link2::after, .pcell .b, .index a::after { transition: none !important; }
}

/* ================= Agents of Cornerstone: the v5 site on the night ground =================
   Same pages, same nav, same drawings. The grounds turn to night, the brass brightens, the stone strip goes,
   and the home page opens on the tower: the business built floor by floor on the brass cornerstone. */
:root {
  color-scheme: dark;
  --fg: #E9EEF6; --fg2: #A9B3C6;
  --bgN: #060A14; --bgP: #0A1120; --bgL: #0D1528; --bgH: #16213A;
  --navy-2: #A3AEC2; --navy-3: #6E7A92; --navy-4: #8C97AE;
  --hairline: rgba(233, 238, 246, .13);
  --brass: #C9A866;
  --strip: 0px;
  --cutp-hi: #4A5672; --cutp-mhi: #36415C; --cutp-mdim: #1A2338; --cutp-dim: #121A2C;
  --cutb-hi: #E2C68A; --cutb-mdim: #8C7038; --cutb-dim: #6E5726;
  --sch-bg: #0C1528; --sch-node: #111C33; --sch-line: #26344F; --sch-dim: #1E2A43;
  --bg: #060A14; --ink: #E9EEF6; --dim: #8C97AE; --line: rgba(233, 238, 246, .12);
  --acc: #D2B271; --panel: rgba(8, 13, 26, .88); --sans: var(--text);
}
html, body { background: var(--bgP); }
.strip, .cornerstone, .strip3d-canvas, .proto, .stoneband { display: none !important; }
.phead-in { padding-bottom: clamp(56px, 9vh, 104px); }
.next { padding-block: var(--section); }

/* night grounds: navy is the deepest, then paper, then limestone */
.g-paper { background: var(--bgP); }
.g-lime { background: var(--bgL); }
.g-navy { background: var(--bgN); }
.g-paper + .g-lime, .g-lime + .g-paper, .g-navy + .g-paper, .g-navy + .g-lime { border-top: 1px solid rgba(233, 238, 246, .06); }

/* header: night glass */
.nav { background: rgba(6, 10, 20, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom-color: var(--line); }
.links a { color: var(--fg); }
.links.open { background: var(--bgN) !important; }
.menu-toggle { color: var(--fg); border-color: var(--line); }
.nav .sub-mark { font: 500 10px/1.3 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--dim); padding-left: 16px; border-left: 1px solid var(--line); white-space: nowrap; }

/* brass buttons: the one warm thing on the screen */
.btn, .btn.light { background: var(--acc); color: #0A0F1C; }
.btn:hover, .btn.light:hover { background: #E2C68A; }
.btn .sq { background: #0A0F1C; }
.link2::after { background: var(--acc); }

/* cards and plates: panels on the night ground */
.card { background: rgba(233, 238, 246, .025); border-color: var(--line); }
.card::before, .card::after { border-color: rgba(233, 238, 246, .55) !important; }
.card.g-lime { background: rgba(233, 238, 246, .035); }
.tile-photo { background: linear-gradient(rgba(6, 10, 20, .74), rgba(6, 10, 20, .82)), var(--bg) center / cover no-repeat, var(--bgN); }
.photo-bg { background: linear-gradient(rgba(6, 10, 20, .78), rgba(6, 10, 20, .86)), var(--bg) center 55% / cover no-repeat, var(--bgN); }
.krv { background: rgba(233, 238, 246, .04); border-color: var(--line); color: var(--fg); }
.krv .tr, .krv .src, .krv .ph, .krv .label, .krv .draft, .krv .key { color: var(--navy-2); }
.ptile { border-color: var(--line); }
.ptile .rule { background: var(--acc); }
.photo { background: var(--bgL); border-color: var(--line); }
.photo .ph-tag { background: var(--bgN); }
.index { border-top-color: rgba(233, 238, 246, .4); }
.draft { border-color: var(--navy-3); color: var(--navy-2); }
.prows a:hover, .qa summary:hover { background: rgba(233, 238, 246, .035) !important; }

/* forms */
.form input, .form select, .form textarea { background: var(--bgN); color: var(--fg); border-color: var(--line); border-bottom-color: var(--acc); }

/* drawings: the light blueprint family drawn in night ink */
.dw-top { fill: #1A2540; } .dw-front { fill: #121C33; } .dw-side { fill: #0C1426; } .dw-key .dw-top { fill: #26324F; }
.dw-s-eq { fill: #16213A; } .dw-s-ln { fill: #A9B3C6; } .dw-s-gr { fill: #0A1120; }
.dw-box { fill: #0E1830; } .dw-box.dw-team { fill: #142039; } .dw-box.dw-dest { stroke: var(--fg); }
.dw-k i { background: #16213A; }

/* About: careers as courses, on night stone */
.crs { background: #111B31 !important; border-color: #3A4662 #1A2338 #0F1626 #2C3752 !important; color: var(--fg) !important; }
.crs[aria-expanded="true"] { background: #1B2846 !important; border-color: var(--acc) #0F1A31 #050A14 #2C3A57 !important; }
.lb { background: rgba(3, 6, 12, .95); }

/* footer */
footer { background: var(--bgN); border-top: 1px solid var(--line); }
.f-band { background: var(--bgL); color: var(--fg); }
.f-base::before { background: var(--acc); }

/* ---------- after the tower: one line, one button ---------- */
.closer { background: var(--bgN); border-top: 1px solid var(--line); padding-block: clamp(72px, 12vh, 132px); text-align: center; position: relative; overflow: hidden; }
.closer::before { content: ""; position: absolute; left: 50%; bottom: -1px; width: min(520px, 60vw); height: 6px; transform: translateX(-50%); background: var(--acc); }
.closer .label { color: var(--dim); justify-content: center; }
.closer h2 { font-size: clamp(36px, 5vw, 76px); font-weight: 300; line-height: 1.04; letter-spacing: -0.025em; max-width: 18ch; margin: 22px auto 0; }
.closer h2 b { font-weight: 600; }
.closer p { color: var(--dim); max-width: 46ch; margin: 22px auto 0; font-size: clamp(17px, 1.4vw, 20px); }
.closer .row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 28px; margin-top: 36px; align-items: center; }
.closer .pl { max-width: none; font: 500 10.5px/1.6 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; }
.closer .pl span { color: var(--fg); opacity: .8; }

/* ---------- new services: books, website, agents ---------- */
.agentlog { background: var(--panel); border: 1px solid var(--line); padding: 18px; }
.agentlog .h { display: flex; justify-content: space-between; font: 500 10px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.agentlog .h span:last-child { color: var(--fg); display: inline-flex; gap: 7px; align-items: center; }
.agentlog .h span:last-child::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--acc); animation: bbpulse 1.6s infinite; }
.agentlog .r { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 4px 12px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--line); }
.agentlog .r i { width: 6px; height: 6px; background: var(--acc); align-self: center; }
.agentlog .r i.d { background: none; box-shadow: inset 0 0 0 1px var(--dim); }
.agentlog .r b { font-weight: 500; font-size: 14.5px; }
.agentlog .r s { text-decoration: none; font: 500 10px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.agentlog .r em { grid-column: 2 / 4; font-style: normal; color: var(--dim); font-size: 13.5px; }
.agentlog .ill { margin-top: 12px; font: 500 9.5px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.siteplan { display: grid; gap: 10px; }
.siteplan .win { border: 1px solid var(--line); background: var(--bgN); }
.siteplan .bar3 { display: flex; gap: 6px; padding: 9px 10px; border-bottom: 1px solid var(--line); align-items: center; }
.siteplan .bar3 i { width: 7px; height: 7px; border: 1px solid var(--navy-3); }
.siteplan .bar3 span { margin-left: 8px; font: 500 9.5px/1 var(--mono); letter-spacing: .12em; color: var(--dim); }
.siteplan .pgs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 12px; }
.siteplan .pg { border: 1px solid var(--line); padding: 8px; display: grid; gap: 5px; min-height: 96px; align-content: start; }
.siteplan .pg b { font: 500 9px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--fg); }
.siteplan .pg i { height: 4px; background: rgba(233, 238, 246, .14); display: block; }
.siteplan .pg i.a { background: var(--acc); width: 40%; }
.siteplan .pg i.s { width: 70%; }
.siteplan .launch { display: flex; flex-wrap: wrap; gap: 6px; }
.siteplan .launch span { font: 400 11px/1 var(--mono); padding: 8px 9px; border: 1px solid var(--line); color: var(--fg2); }
@media (max-width: 720px) { .siteplan .pgs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ================= the tower (home): scoped to #bb ================= */
@keyframes bbpulse { 50% { opacity: .25; } }
#bb { position: relative; background: var(--bg); color: var(--ink); }
#bbtrack { position: relative; height: 1500vh; }
#bb .stage { position: sticky; top: var(--nav-h); height: calc(100vh - var(--nav-h)); height: calc(100svh - var(--nav-h)); overflow: hidden; }
#bbcv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
#bbcv.hot { cursor: pointer; }
#bb .copy { position: absolute; left: var(--gutter); top: 50%; transform: translateY(-46%); width: min(500px, 37vw); transition: opacity .35s; z-index: 3; }
body.bbfocus { overflow: hidden; }
body.bbfocus #bb .copy { opacity: 0; pointer-events: none; }
#bb .cards { position: relative; min-height: 460px; }
#bb .bbc { position: absolute; inset: 0 0 auto 0; opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s cubic-bezier(.2, .8, .2, 1); pointer-events: none; }
#bb .bbc.on { opacity: 1; transform: none; pointer-events: auto; }
#bb .bbk { display: flex; align-items: center; gap: 10px; font: 500 10.5px/1.4 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--dim); }
#bb .bbk::before { content: ""; width: 7px; height: 7px; background: var(--acc); flex: none; }
#bb .bbc h2 { font: 300 clamp(34px, 3.6vw, 52px)/1.04 var(--sans); letter-spacing: -0.02em; margin-top: 18px; }
#bb .bbc p.bbb { color: var(--dim); margin-top: 16px; max-width: 40ch; font-size: 16.5px; }
#bb .bbc ul { list-style: none; padding: 0; margin: 22px 0 0; border-top: 1px solid var(--line); }
#bb .bbc li { font: 400 12.5px/1.4 var(--mono); letter-spacing: .04em; padding: 10px 0; border-bottom: 1px solid var(--line); }
#bb .open { margin-top: 20px; display: inline-flex; align-items: center; gap: 12px; background: none; border: 1px solid var(--line); padding: 12px 14px; cursor: pointer; color: var(--ink);
  font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; transition: border-color .25s, background .25s; }
#bb .open::after { content: ""; width: 18px; height: 1px; background: var(--acc); transition: width .25s; }
#bb .open:hover { border-color: var(--acc); background: rgba(210, 178, 113, .06); }
#bb .open:hover::after { width: 30px; }
#bb .open:focus-visible, #bb .meter button:focus-visible, #bb .close:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
#bb .bbhero h1 { font: 300 clamp(40px, 4.3vw, 64px)/1.02 var(--sans); letter-spacing: -0.03em; margin-top: 20px; }
#bb .bbhero h1 b { font-weight: 600; }
#bb .bbhero p.bbb { font-size: 18.5px; max-width: 34ch; color: var(--ink); opacity: .82; margin-top: 22px; }
#bb .bbhero .acts { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; margin-top: 30px; }
#bb .cue { font: 500 10.5px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--dim); display: flex; align-items: center; gap: 12px; }
#bb .cue::after { content: ""; width: 1px; height: 34px; background: linear-gradient(var(--acc), transparent); }

#bb .app { background: var(--panel); border: 1px solid var(--line); padding: 20px; margin-top: 22px; }
#bb .app-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; font: 500 10px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); padding-bottom: 12px; border-bottom: 1px solid var(--line); }
#bb .live { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); }
#bb .live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--acc); animation: bbpulse 1.6s infinite; }
#bb .ag { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 4px 12px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--line); }
#bb .ag i { width: 6px; height: 6px; background: var(--acc); align-self: center; }
#bb .ag i.done { background: transparent; box-shadow: inset 0 0 0 1px var(--dim); }
#bb .ag b { font-weight: 500; font-size: 14px; }
#bb .ag em { grid-column: 2 / 4; font-style: normal; color: var(--dim); font-size: 13px; }
#bb .ag s { text-decoration: none; font: 500 10px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
#bb .bbdocs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
#bb .bbdocs span { font: 400 11px/1 var(--mono); padding: 8px 9px; border: 1px solid var(--line); }
#bb .ill { margin-top: 12px; font: 500 9.5px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }

#bb .meter { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column-reverse; gap: 4px; transition: opacity .3s; z-index: 3; }
#bb .meter button { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: auto 34px; align-items: center; gap: 10px; justify-items: end; padding: 5px 0;
  font: 500 10px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); opacity: .5; transition: opacity .3s, color .3s; }
#bb .meter button::after { content: ""; width: 18px; height: 2px; background: var(--dim); transition: width .3s, background .3s; }
#bb .meter button:hover { opacity: 1; color: var(--ink); }
body.bbfocus #bb .meter { opacity: 0; pointer-events: none; }
#bb .meter li.done button { opacity: .8; }
#bb .meter li.on button { opacity: 1; color: var(--ink); }
#bb .meter li.on button::after { width: 34px; background: var(--acc); }

#bb .detail { position: absolute; left: var(--gutter); top: 24px; bottom: 24px; width: min(440px, 36vw); overflow-y: auto; z-index: 5;
  background: var(--panel); border: 1px solid var(--line); padding: 26px 26px 28px; opacity: 0; transform: translateX(-12px); transition: opacity .4s, transform .4s cubic-bezier(.2, .8, .2, 1); pointer-events: none;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
body.bbfocus #bb .detail { opacity: 1; transform: none; pointer-events: auto; }
#bb .close { position: sticky; top: 0; float: right; background: var(--bg); color: var(--ink); border: 1px solid var(--line); padding: 9px 11px; cursor: pointer; font: 500 10px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
#bb .close:hover { border-color: var(--ink); }
#bb .detail h2 { font: 300 clamp(32px, 3vw, 44px)/1.05 var(--sans); letter-spacing: -0.02em; margin-top: 16px; clear: both; }
#bb .detail p.s { color: var(--dim); margin-top: 14px; font-size: 16px; }
#bb .detail h3 { font: 500 10.5px/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); margin-top: 26px; }
#bb .fl { list-style: none; padding: 0; margin: 10px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column-reverse; }
#bb .fl li { border-bottom: 1px solid var(--line); }
#bb .fl button { all: unset; box-sizing: border-box; width: 100%; cursor: pointer; display: grid; grid-template-columns: 48px minmax(0, 1fr) 16px; gap: 10px; align-items: center; padding: 11px 6px 11px 0; font-size: 15px; transition: background .2s, padding .25s; }
#bb .fl button::after { content: ""; width: 7px; height: 7px; border-top: 1.5px solid var(--dim); border-right: 1.5px solid var(--dim); transform: rotate(45deg); justify-self: end; }
#bb .fl button:hover { background: rgba(233, 238, 246, .04); padding-left: 6px; }
#bb .fl button[aria-pressed="true"] { background: rgba(210, 178, 113, .1); padding-left: 6px; }
#bb .fl button[aria-pressed="true"]::after { border-color: var(--acc); }
#bb .fl button:focus-visible { outline: 2px solid var(--acc); outline-offset: -2px; }
#bb .fl button span { font: 500 10.5px/1.6 var(--mono); letter-spacing: .1em; color: var(--dim); }
#bb .sum { position: absolute; top: 24px; right: var(--gutter); width: min(360px, 30vw); z-index: 6; background: var(--panel); border: 1px solid var(--line); border-top: 2px solid var(--acc);
  padding: 22px 22px 24px; opacity: 0; transform: translateY(-8px); transition: opacity .35s, transform .35s cubic-bezier(.2, .8, .2, 1); pointer-events: none; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
#bb .sum.on { opacity: 1; transform: none; pointer-events: auto; }
#bb .sum .x { position: absolute; top: 14px; right: 14px; background: none; border: 1px solid var(--line); width: 30px; height: 30px; cursor: pointer; color: var(--dim); font: 400 16px/1 var(--sans); }
#bb .sum .x:hover { color: var(--ink); border-color: var(--ink); }
#bb .sum h3 { font: 400 24px/1.15 var(--sans); letter-spacing: -0.01em; margin: 14px 36px 0 0; }
#bb .sum p.bbt { color: var(--dim); margin-top: 12px; font-size: 15px; }
#bb .sum .g { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; }
#bb .sum .g span:first-child { font: 500 10px/1.8 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
#bb .get { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
#bb .get span { font: 400 12px/1 var(--mono); padding: 9px 10px; border: 1px solid var(--line); }
#bb .len { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; }
#bb .len span { color: var(--dim); }
#bb .bbdraft { margin-top: 18px; font: 500 9.5px/1.5 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); border: 1px dashed var(--line); padding: 8px 10px; }
#bb .more { display: inline-flex; margin-top: 16px; font: 500 10.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--acc); padding-bottom: 4px; }

@media (max-width: 860px) {
  #bb .copy { left: var(--gutter); right: var(--gutter); width: auto; top: auto; bottom: 16px; transform: none; }
  #bb .cards { min-height: 0; height: 47svh; }
  #bb .bbc { inset: auto 0 0 0; }
  #bb .bbc h2 { font-size: 30px; margin-top: 10px; }
  #bb .bbc p.bbb { font-size: 15px; margin-top: 8px; }
  #bb .bbc ul { margin-top: 10px; }
  #bb .bbc li { padding: 7px 0; font-size: 11.5px; }
  #bb .open { margin-top: 12px; padding: 10px 12px; }
  #bb .bbhero h1 { font-size: 40px; }
  #bb .bbhero p.bbb { font-size: 16px; }
  #bb .bbhero .acts { margin-top: 18px; }
  #bb .meter { display: none; }
  #bb .app { padding: 14px; margin-top: 12px; }
  #bb .ag { padding: 7px 0; }
  #bb .detail { left: var(--gutter); right: var(--gutter); width: auto; top: auto; bottom: 12px; max-height: 54%; padding: 18px; transform: translateY(16px); }
  #bb .sum { left: var(--gutter); right: var(--gutter); width: auto; padding: 16px; top: auto; bottom: 12px; }
  #bb .sum h3 { font-size: 20px; }
  body.bbpick #bb .detail { opacity: 0; pointer-events: none; }
}
@media (max-width: 1640px) { .nav .sub-mark { display: none; } }
.cornerwall { background: #0F1A31; }
@media (prefers-reduced-motion: reduce) { #bb .bbc, #bb .detail, #bb .copy { transition: none; } #bb .live::before, .agentlog .h span:last-child::before { animation: none; } }

/* the section meter runs along the foot of the stage, foundation to app, left to right */
#bb .meter { left: var(--gutter); right: var(--gutter); top: auto; bottom: 22px; transform: none; flex-direction: row; gap: 0; }
#bb .meter li { flex: 1 1 0; min-width: 0; }
#bb .meter button { display: flex; flex-direction: column-reverse; align-items: flex-start; gap: 12px; width: 100%; padding: 0 12px 0 0; white-space: nowrap; }
#bb .meter button::after { width: 100%; height: 2px; background: rgba(233, 238, 246, .12); }
#bb .meter li.done button::after { width: 100%; background: rgba(233, 238, 246, .4); }
#bb .meter li.on button::after { width: 100%; background: var(--acc); }
#bb .meter button:hover::after { background: rgba(233, 238, 246, .7); }

/* quantum texture: page heads, the band after the tower, the closing bands */
.qf-host { position: relative; overflow: hidden; }
.qf-c { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; z-index: 0; }
.qf-host > :not(.qf-c) { position: relative; z-index: 1; }
.closer.qf-host::before { z-index: 1; }

/* agents at work: one field per agent, joined where work moves between them */
.agentfield { position: relative; margin: clamp(32px, 5vh, 56px) 0 0; border: 1px solid var(--line); background: radial-gradient(ellipse at 50% 40%, #0C1529, #060A14 75%); }
.agentfield::before, .agentfield::after { content: ""; position: absolute; width: 14px; height: 14px; pointer-events: none; }
.agentfield::before { left: 10px; top: 10px; border-left: 1px solid var(--navy-3); border-top: 1px solid var(--navy-3); }
.agentfield::after { right: 10px; bottom: 10px; border-right: 1px solid var(--navy-3); border-bottom: 1px solid var(--navy-3); }
.agentfield canvas { display: block; width: 100%; aspect-ratio: 16 / 7; height: auto; }
.agentfield figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; padding: 14px 20px 16px; border-top: 1px solid var(--line); font: 500 10px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.agentfield figcaption span { display: inline-flex; align-items: center; gap: 10px; }
.agentfield figcaption i { display: inline-block; flex: none; }
.agentfield figcaption i.n { width: 9px; height: 9px; background: var(--acc); box-shadow: 0 0 0 4px var(--bgN), 0 0 0 5px rgba(233, 238, 246, .5); margin: 0 4px; }
.agentfield figcaption i.ln { width: 26px; height: 1px; background: rgba(233, 238, 246, .5); }
.agentfield figcaption i.dl { width: 26px; height: 1px; background: repeating-linear-gradient(90deg, var(--acc) 0 4px, transparent 4px 9px); }
.agentfield figcaption .draft { margin-left: auto; }
.svc-wide-lead { margin-top: 14px; }
@media (max-width: 720px) {
  .agentfield canvas { aspect-ratio: 4 / 5; }
  .agentfield figcaption { padding: 12px 14px 14px; gap: 10px 18px; }
  .agentfield figcaption .draft { margin-left: 0; }
}

/* contact form: the honeypot stays off screen; the send status sits above the next line */
.ik-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ik-sent { font: 500 11px/1.5 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--acc); min-height: 1.5em; }

@media (max-width: 1280px) { #bb .meter button { font-size: 9px; letter-spacing: .06em; padding-right: 8px; } }

/* quantum texture inside schematics and drawings: same canvas, no clipping, content stays above */
.qf-soft { position: relative; }
.qf-soft > :not(.qf-c) { position: relative; z-index: 1; }
.qf-soft > .sch-wires { position: absolute; }
figure.drawing.qf-soft > .qf-c { inset: -6% -4%; width: 108%; height: 112%; }

/* projects and draws: funds used by asset · HR: one week inside the labor budget */
.funds, .roster { display: grid; gap: 12px; }
.funds .fr, .roster .rb { display: grid; grid-template-columns: minmax(0, 9.5em) minmax(0, 1fr) 3.2em; gap: 12px; align-items: center; font-size: 14px; }
.funds .fn, .roster .fn { color: var(--fg2); }
.funds .fb, .roster .fb { height: 10px; background: rgba(233, 238, 246, .08); border: 1px solid var(--line); position: relative; overflow: hidden; }
.funds .fb i, .roster .fb i { position: absolute; inset: 0 auto 0 0; width: var(--u); background: var(--acc); }
.funds .fb.c i { background: rgba(210, 178, 113, .55); }
.funds .fp, .roster .fp { font: 500 12px/1 var(--mono); text-align: right; color: var(--fg); }
.funds .fk, .roster .fk { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; margin-top: 6px; font: 500 10px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.funds .fk i, .roster .fk i { display: inline-block; width: 10px; height: 10px; background: var(--acc); margin-right: 8px; vertical-align: -1px; }
.funds .fk i.o { background: rgba(233, 238, 246, .08); border: 1px solid var(--line); }
.roster .rh, .roster .rr { display: grid; grid-template-columns: minmax(0, 7.5em) repeat(7, minmax(0, 1fr)); gap: 6px; align-items: center; }
.roster .rh span { font: 500 10px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); text-align: center; }
.roster .rn { font-size: 13.5px; color: var(--fg2); }
.roster .rr i { height: 26px; border: 1px solid var(--line); background: rgba(233, 238, 246, .03); }
.roster .rr i.on { background: rgba(210, 178, 113, .22); border-color: rgba(210, 178, 113, .6); }
.roster .rb { margin-top: 8px; grid-template-columns: minmax(0, 12em) minmax(0, 1fr) 3.2em; }
.fine { font-size: 13px; color: var(--dim); margin-top: 18px; }
@media (max-width: 720px) { .funds .fr { grid-template-columns: minmax(0, 7.5em) minmax(0, 1fr) 2.8em; font-size: 13px; } .roster .rh, .roster .rr { grid-template-columns: minmax(0, 5.5em) repeat(7, minmax(0, 1fr)); gap: 4px; } .roster .rb { grid-template-columns: minmax(0, 1fr) 2.8em; } .roster .rb .fn { grid-column: 1 / -1; } }

/* ---------- 2026-11-19: path steps open their services ---------- */
#pathSch .node.go { cursor: pointer; }
#pathSch .node.go:hover .tg, #pathSch .node.go:focus-visible .tg { border-color: var(--acc); color: var(--acc); }
.sch-ins .go-to { display: inline-flex; align-items: center; gap: 10px; margin-left: 14px; font: 500 10.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--acc); text-decoration: none; white-space: nowrap; }
.sch-ins .go-to::after { content: ""; width: 18px; height: 1px; background: currentColor; transition: width .25s; }
.sch-ins .go-to:hover::after { width: 28px; }
.path-list .go-t { color: inherit; text-decoration: none; border-bottom: 1px solid var(--line); transition: border-color .2s, color .2s; }
.path-list .go-t:hover { color: var(--acc); border-bottom-color: var(--acc); }

/* ---------- 2026-11-19: CFO / COO / GC cadence boxes light as the brass ball passes ---------- */
.sch-mini[data-mini="cadence"] .mnode.lit {
  --glow: 0;
  background-color: rgba(210, 178, 113, calc(var(--glow) * .16));
  box-shadow: inset 0 0 0 1px rgba(210, 178, 113, calc(var(--glow) * .95)), 0 0 calc(var(--glow) * 18px) rgba(210, 178, 113, calc(var(--glow) * .32));
}
.sch-mini[data-mini="cadence"] .mnode.lit .no { text-shadow: 0 0 calc(var(--glow) * 10px) rgba(210, 178, 113, var(--glow)); }

/* ---------- 2026-11-19: property-type bricks ---------- */
.typewall { transition: background-color .9s ease; }
.typewall span { position: relative; transition: background-color .6s, box-shadow .6s, color .6s; }
.typewall span em { display: block; margin-top: 9px; font: 500 10px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; font-style: normal; color: var(--dim); transition: color .6s; }
.typewall span.lit { background-color: rgba(210, 178, 113, .08); box-shadow: inset 0 0 0 1px var(--acc), 0 0 26px -8px rgba(210, 178, 113, .5); }
.typewall span.lit em, .typewall.one span em { color: var(--acc); }
.typewall.one { background-color: rgba(210, 178, 113, .5); }
.typewall.tw-arm span { opacity: 0; transform: translateY(-22px); }
.typewall.tw-in span { transition: opacity .45s ease var(--d, 0s), transform .7s cubic-bezier(.2, .85, .25, 1) var(--d, 0s), background-color .6s, box-shadow .6s; }
@media (prefers-reduced-motion: reduce) { .typewall.tw-arm span { opacity: 1; transform: none; } }

/* ---------- 2026-11-19 b: obvious click: hover lift, press flash and ring, brass flash where it lands ---------- */
.sch .node.go { cursor: pointer; transition: transform .2s ease, box-shadow .25s ease, border-color .25s ease, background-color .25s ease; }
.sch .node.go:hover, .sch .node.go:focus-visible { transform: translateY(-3px); border-color: var(--acc); box-shadow: 0 0 0 1px rgba(210, 178, 113, .55), 0 14px 28px -14px rgba(210, 178, 113, .55); }
.sch .node.go:hover .nm { color: var(--fg); }
.sch .node.go.press { animation: goPress .42s cubic-bezier(.3, .7, .3, 1); }
@keyframes goPress {
  0% { transform: translateY(-3px) scale(1); }
  28% { transform: translateY(0) scale(.94); background-color: rgba(210, 178, 113, .42); border-color: var(--acc); }
  100% { transform: translateY(-2px) scale(1.03); background-color: rgba(210, 178, 113, .14); border-color: var(--acc); }
}
.go-ring { position: absolute; inset: -2px; border: 2px solid var(--acc); pointer-events: none; animation: goRing .5s ease-out forwards; }
@keyframes goRing { from { opacity: .95; transform: scale(1); } to { opacity: 0; transform: scale(1.45); } }
.arrive { animation: arrive 1.9s ease-out; }
h1.arrive, h2.arrive, h3.arrive, .pn2.arrive { width: fit-content; background: linear-gradient(var(--acc), var(--acc)) no-repeat left bottom; animation: arriveLine 1.9s cubic-bezier(.2, .8, .2, 1); }
@keyframes arriveLine {
  0% { background-size: 0% 3px; color: var(--acc); }
  35% { background-size: 100% 3px; color: var(--acc); }
  75% { background-size: 100% 3px; }
  100% { background-size: 100% 0; }
}
li.arrive { animation: arriveRow 1.9s ease-out; }
@keyframes arriveRow { 0%, 35% { background-color: var(--bgH); box-shadow: inset 3px 0 0 var(--acc); } 100% { background-color: transparent; box-shadow: inset 0 0 0 transparent; } }
li.arrive .s-n { animation: arriveText 1.9s ease-out; }
@keyframes arriveText { 0%, 35% { color: var(--acc); } 100% { } }

/* ---------- 2026-11-20: process timing (GTC-000-MKT-002) ---------- */
.sheet .s-tf p:not(.s-k) { font-family: var(--mono); font-size: 13px; letter-spacing: .04em; color: var(--acc); }
.svc-times { margin-top: 44px; max-width: 880px; }
.svc-times .label { margin-bottom: 14px; }
.svc-times dl { margin: 0; border-top: 1px solid var(--line); }
.svc-times dl > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.svc-times dt { color: var(--fg); font-weight: 500; }
.svc-times dd { margin: 0; color: var(--dim); font-family: var(--mono); font-size: 13px; letter-spacing: .03em; }
.svc-note { margin-top: 16px; max-width: 64ch; color: var(--dim); font-size: 15px; line-height: 1.55; }
@media (max-width: 640px) { .svc-times dl > div { grid-template-columns: minmax(0, 1fr); gap: 4px; } }
@media (min-width: 861px) { .sheet .sr { grid-template-columns: minmax(0, 1.1fr) minmax(0, .8fr) minmax(0, 1.5fr) minmax(0, 1.5fr); } }
.photo.has-img { background: var(--bgN); }
.photo .ph-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 42% 55%; }

/* ---------- 2026-11-20: Privacy Policy and Terms of Use ---------- */
.legal-page { padding-top: clamp(40px, 6vh, 64px); }
.lg-tag { margin-bottom: 36px; }
.lg-grid { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.lg-toc { position: sticky; top: 96px; border-top: 2px solid var(--fg); padding-top: 16px; }
.lg-k { font: 500 10.5px/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); margin-bottom: 10px; }
.lg-other { margin-top: 26px; }
.lg-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: lg; }
.lg-toc li { counter-increment: lg; }
.lg-toc li a { display: grid; grid-template-columns: 28px minmax(0, 1fr); padding: 6px 0; color: var(--dim); text-decoration: none; font-size: 14px; line-height: 1.4; transition: color .2s; }
.lg-toc li a::before { content: counter(lg, decimal-leading-zero); font: 500 10.5px/2 var(--mono); color: var(--navy-3); }
.lg-toc li a:hover { color: var(--acc); }
.lg-body { max-width: 72ch; }
.lg-body h2 { font-size: clamp(21px, 2vw, 26px); line-height: 1.25; margin: 44px 0 14px; padding-top: 18px; border-top: 1px solid var(--line); scroll-margin-top: 96px; }
.lg-body > p:first-child { font-size: 18px; line-height: 1.6; color: var(--fg); }
.lg-body p, .lg-body li { font-size: 16px; line-height: 1.7; color: var(--dim); }
.lg-body p + p { margin-top: 14px; }
.lg-body b { color: var(--fg); font-weight: 600; }
.lg-body ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.lg-body li { position: relative; padding-left: 22px; }
.lg-body li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 8px; background: var(--acc); }
.lg-body a { color: var(--acc); text-underline-offset: 3px; }
.lg-contact { color: var(--fg) !important; }
.ph-inline { border: 1px dashed var(--navy-3); padding: 0 6px; color: var(--fg); }
@media (max-width: 860px) { .lg-grid { grid-template-columns: minmax(0, 1fr); } .lg-toc { position: static; } }
.ik-consent { display: grid !important; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 14.5px; line-height: 1.5; color: var(--fg); margin-top: 6px; cursor: pointer; }
.ik-consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--acc); }
.ik-consent a, .ik-legal a { color: var(--acc); }
.ik-consent input { align-self: start; }

/* ---------- 2026-11-21: Start a Conversation form (Addendum 3) ---------- */
.ik-q { margin: 10px 0 -4px; font-size: 16px; font-weight: 600; color: var(--fg); }
.ik-q small { display: block; margin-top: 4px; font: 500 10.5px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--navy-3); }
.ik-sel input, .ik-sel textarea, .ik-sel select { font: 400 16px var(--text); color: var(--fg); background: var(--bgN); border: 1px solid var(--line); border-bottom: 2px solid var(--acc); padding: 12px; width: 100%; box-sizing: border-box; }
.ik-sel textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.ik-sel input:focus, .ik-sel textarea:focus, .ik-sel select:focus { outline: 2px solid var(--brass); outline-offset: 1px; }
.ik-sel small { font: 500 10.5px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--navy-3); }
.ik-consent small { font: 500 10.5px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--navy-3); margin-left: 6px; }

/* ---- one ask at a time (2026-11-23): the header button steps back while a closing band is on screen, and on the Contact page ---- */
.nav .nav-cta { transition: opacity .3s ease, transform .3s ease, visibility 0s linear 0s; }
.nav .nav-cta.quiet { opacity: 0; transform: translateY(-4px); visibility: hidden; pointer-events: none;
  transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s; }
@media (prefers-reduced-motion: reduce) { .nav .nav-cta, .nav .nav-cta.quiet { transition: none; transform: none; } }
