/* Layout: full-bleed image scenes that open out of the logo's square period, then quiet editorial sections on ivory. Detail stays behind clicks. */
:root {
  --midnight: #0F1F2B;
  --slate: #5E6F7A;
  --stone: #D8D9D3;
  --ivory: #F8F7F4;
  --sage: #8C9A8F;
  --paper: #EFEEEA;
  --white: #FFFFFF;
  --ink-soft: #2C3B46;
  --on-dark-muted: #A9B4BB;
  --ok: #4F6B57;
  --warn: #8A6326;
  --alert: #9B3D36;
  --ok-bg: #E4EAE5;
  --warn-bg: #F1E8D8;
  --alert-bg: #F3E2DF;

  --display: "Inter Tight", "Inter", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", "Helvetica Neue", Arial, sans-serif;

  --step--1: 0.8125rem;
  --step-0: 1rem;
  --step-1: 1.1875rem;
  --step-2: clamp(1.375rem, 1.1rem + 1vw, 1.75rem);
  --step-3: clamp(1.75rem, 1.3rem + 2vw, 2.75rem);
  --step-4: clamp(2.25rem, 1.4rem + 3.6vw, 4.25rem);
  --step-5: clamp(2.75rem, 1.2rem + 6.4vw, 7rem);

  --gutter: clamp(16px, 4.5vw, 56px);
  --maxw: 1320px;
  --nav-h: 64px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--midnight);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; letter-spacing: -0.025em; line-height: 1.04; margin: 0; text-wrap: balance; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--slate); outline-offset: 3px; }
.dark :focus-visible { outline-color: var(--ivory); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }

.wrap {
  width: 100%;
  max-width: calc(var(--maxw) + 2 * var(--gutter));
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

/* Wordmark */
.wordmark { font-family: var(--display); font-weight: 600; letter-spacing: -0.045em; display: inline-flex; align-items: baseline; line-height: 1; white-space: nowrap; }
.wordmark .sq { display: inline-block; width: 0.2em; height: 0.2em; background: var(--slate); margin-left: 0.07em; }


/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 22px; border: 1px solid var(--midnight);
  background: var(--midnight); color: var(--ivory); text-decoration: none; cursor: pointer;
  font-size: 0.9375rem; font-weight: 500; letter-spacing: 0.005em; border-radius: 2px;
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--ink-soft); }
.btn.ghost { background: transparent; color: var(--midnight); }
.btn.ghost:hover { background: var(--midnight); color: var(--ivory); }
.btn.light { background: var(--ivory); color: var(--midnight); border-color: var(--ivory); }
.btn.light:hover { background: var(--stone); }
.btn.small { min-height: 36px; padding: 0 14px; font-size: 0.875rem; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.nav-links .btn { color: var(--ivory); border-bottom: 1px solid var(--midnight); padding: 0 18px; min-height: 40px; }
.nav-links .btn:hover { color: var(--ivory); }
.link { color: var(--midnight); text-decoration: underline; text-decoration-color: var(--slate); text-underline-offset: 4px; }

/* The travelling period */
#period {
  position: fixed; left: 0; top: 0; width: 10px; height: 10px; z-index: 30;
  background: var(--slate); pointer-events: none; will-change: transform, width, height;
  transform-origin: 50% 50%;
}
.js-period .period-anchor, .js-period .status-light i, .js-period .sq-slot { visibility: hidden; }
.period-anchor { display: inline-block; background: var(--slate); }
.layer { position: relative; z-index: 2; }

section { position: relative; }
.section { padding-block: clamp(72px, 10vw, 140px); }
.section-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 48px; align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head h2 { font-size: var(--step-4); }
.section-head p { color: var(--ink-soft); font-size: var(--step-1); max-width: 34em; }
@media (max-width: 800px) { .section-head { grid-template-columns: 1fr; } }
.lede { font-size: var(--step-1); color: var(--ink-soft); max-width: 36em; }
.fine { font-size: var(--step--1); color: var(--slate); line-height: 1.5; }




.dark { background: var(--midnight); color: var(--ivory); }
.dark .lede, .dark .section-head p { color: var(--on-dark-muted); }
.dark .fine { color: var(--on-dark-muted); }

.stmt-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.stmt {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 14px 16px;
  background: var(--ivory); border: 1px solid var(--stone); cursor: pointer; transition: border-color .2s, background .2s;
}
.stmt:hover { border-color: var(--slate); }
.stmt[aria-checked="true"] { border-color: var(--midnight); box-shadow: inset 3px 0 0 var(--midnight); }
.stmt .inst { font-weight: 600; font-size: 0.9875rem; }
.stmt .meta { grid-column: 1 / -1; font-size: var(--step--1); color: var(--slate); }
.stmt .kind { font-size: var(--step--1); color: var(--slate); text-align: right; }
.stmt .acts { grid-column: 1 / -1; display: flex; gap: 14px; margin-top: 6px; }
.stmt .acts button { background: none; border: 0; padding: 4px 0; font-size: var(--step--1); color: var(--midnight); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--slate); cursor: pointer; }
.stmt input { position: absolute; opacity: 0; pointer-events: none; }

.status-light { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-size: var(--step--1); color: var(--on-dark-muted); }
.status-light i { width: 9px; height: 9px; background: var(--sage); display: inline-block; }
.status-light.run i { animation: blink 1s steps(2) infinite; background: var(--ivory); }
.status-light.locked i { background: var(--slate); }
@keyframes blink { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .status-light.run i { animation: none; } }

.chat { padding: 18px; display: grid; gap: 14px; max-height: 560px; overflow-y: auto; scroll-behavior: smooth; overscroll-behavior: contain; }
.msg { max-width: 640px; font-size: 0.9375rem; line-height: 1.55; }
.msg.ty { background: rgba(248,247,244,.06); border: 1px solid rgba(248,247,244,.12); padding: 12px 14px; border-radius: 2px 10px 10px 10px; }
.msg.user { justify-self: end; background: var(--ivory); color: var(--midnight); padding: 10px 14px; border-radius: 10px 2px 10px 10px; }
.msg strong { font-weight: 600; }
.msg .q { display: block; font-size: var(--step--1); color: var(--sage); margin-bottom: 4px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.choice { background: transparent; border: 1px solid rgba(248,247,244,.4); color: var(--ivory); padding: 8px 14px; min-height: 38px; cursor: pointer; border-radius: 2px; font-size: 0.9rem; }
.choice:hover:not([disabled]) { background: var(--ivory); color: var(--midnight); }
.choice[disabled] { opacity: .45; cursor: not-allowed; }
.choice.primary { background: var(--ivory); color: var(--midnight); border-color: var(--ivory); font-weight: 600; }
.instr { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.instr input { flex: 1 1 220px; min-width: 0; background: rgba(248,247,244,.06); border: 1px solid rgba(248,247,244,.3); color: var(--ivory); padding: 8px 12px; min-height: 38px; border-radius: 2px; }
.instr input::placeholder { color: var(--on-dark-muted); }

.steps { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 2px; }
.step { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 4px 10px; align-items: baseline; padding: 6px 0; border-top: 1px solid rgba(248,247,244,.08); font-size: 0.875rem; }
.step .sid { color: var(--on-dark-muted); font-variant-numeric: tabular-nums; font-size: var(--step--1); }
.step .st { font-size: 0.75rem; color: var(--on-dark-muted); white-space: nowrap; }
.step.running .st { color: var(--ivory); }
.step.done .st { color: var(--sage); }
.step.review .st { color: #D9B77A; }
.step .log { grid-column: 2 / -1; margin: 4px 0 2px; padding: 0; list-style: none; color: var(--on-dark-muted); font-size: 0.8125rem; line-height: 1.5; display: grid; gap: 2px; }
.step .log li { overflow-wrap: anywhere; }
.step.pending { opacity: .45; }


/* n8n-style flow canvas */
.flow { position: relative; background-color: #13232F; background-image: radial-gradient(rgba(248,247,244,.12) 1px, transparent 1px); background-size: 18px 18px; overflow: auto; border-top: 1px solid rgba(248,247,244,.1); }
.flow-canvas { position: relative; }
.flow svg.wires { position: absolute; inset: 0; overflow: visible; pointer-events: none; }
.flow .wire { fill: none; stroke: rgba(248,247,244,.28); stroke-width: 2; }
.flow .wire.live { stroke: var(--sage); }
.flow .packet { fill: var(--ivory); }
.flow .wire-label { font-size: 11px; fill: var(--on-dark-muted); font-family: var(--body); }
.node { position: absolute; width: 92px; display: grid; justify-items: center; gap: 8px; background: none; border: 0; padding: 0; color: var(--ivory); cursor: pointer; }
.node .box { width: 72px; height: 72px; border-radius: 10px; background: #1D2F3C; border: 1.5px solid rgba(248,247,244,.28); display: grid; place-items: center; position: relative; transition: border-color .2s, background .2s; }
.node .box svg { width: 28px; height: 28px; stroke: var(--ivory); fill: none; stroke-width: 1.5; }
.node .label { font-size: 0.75rem; text-align: center; line-height: 1.25; color: var(--ivory); }
.node .count { position: absolute; right: -8px; top: -8px; min-width: 22px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--sage); color: var(--midnight); font-size: 0.6875rem; font-weight: 600; display: none; place-items: center; }
.node.running .box { border-color: var(--ivory); }
.node.running .box::after { content: ""; position: absolute; inset: -6px; border-radius: 14px; border: 1.5px solid var(--ivory); opacity: .4; animation: pulse 1.2s var(--ease) infinite; }
@keyframes pulse { from { transform: scale(.94); opacity: .6; } to { transform: scale(1.08); opacity: 0; } }
.node.done .box { border-color: var(--sage); }
.node.review .box { border-color: #D9B77A; }
.node.done .count, .node.review .count { display: grid; }
.node.review .count { background: #D9B77A; }
.node[aria-pressed="true"] .box { background: #2A4152; }
.inspector { border-top: 1px solid rgba(248,247,244,.14); background: #0B1822; }
.inspector-head { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; padding: 12px 18px; }
.inspector-head strong { font-weight: 600; }
.inspector-tabs { display: inline-flex; border: 1px solid rgba(248,247,244,.3); }
.inspector-tabs button { background: none; border: 0; color: var(--on-dark-muted); padding: 6px 12px; cursor: pointer; font-size: 0.8125rem; }
.inspector-tabs button[aria-selected="true"] { background: var(--ivory); color: var(--midnight); }
.inspector pre { margin: 0; padding: 0 18px 18px; max-height: 280px; overflow: auto; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 0.75rem; line-height: 1.55; color: #CFD8DD; white-space: pre; }
.inspector .empty { padding: 0 18px 18px; color: var(--on-dark-muted); font-size: 0.875rem; }

.results { padding: 18px; border-top: 1px solid rgba(248,247,244,.14); display: grid; gap: 18px; }
.banner { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: baseline; justify-content: space-between; padding: 12px 14px; background: rgba(217,183,122,.12); border: 1px solid rgba(217,183,122,.5); }
.banner strong { color: #E8CC97; letter-spacing: .04em; font-size: 0.875rem; }
.banner span { font-size: 0.875rem; color: var(--on-dark-muted); }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: rgba(248,247,244,.12); border: 1px solid rgba(248,247,244,.12); }
.kpis div { background: var(--midnight); padding: 12px 14px; }
.kpis b { display: block; font-family: var(--display); font-size: 1.5rem; font-weight: 500; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.kpis span { font-size: var(--step--1); color: var(--on-dark-muted); }
@media (max-width: 640px) { .kpis { grid-template-columns: 1fr 1fr; } }
.bridge { width: 100%; border-collapse: collapse; font-size: 0.875rem; font-variant-numeric: tabular-nums; }
.bridge td { padding: 7px 0; border-bottom: 1px solid rgba(248,247,244,.1); }
.bridge td:last-child { text-align: right; }
.bridge tr.total td { font-weight: 600; border-bottom-color: rgba(248,247,244,.35); }
.bridge-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.bridge-wrap h4 { font-family: var(--body); font-size: 0.8125rem; color: var(--on-dark-muted); font-weight: 500; letter-spacing: 0; margin-bottom: 6px; }
@media (max-width: 640px) { .bridge-wrap { grid-template-columns: 1fr; } }
.review-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 0.875rem; }
.review-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 10px 12px; background: rgba(248,247,244,.05); }
.review-list .why { grid-column: 1 / -1; color: var(--on-dark-muted); font-size: 0.8125rem; }
.dl-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.dl-row .fine { color: var(--on-dark-muted); }
.lock-note { padding: 14px 18px; border-top: 1px solid rgba(248,247,244,.14); font-size: 0.875rem; color: var(--on-dark-muted); }
.lock-note strong { color: var(--ivory); font-weight: 600; }

/* Statement viewer */
dialog.viewer { width: min(920px, calc(100vw - 24px)); max-height: calc(100vh - 24px); padding: 0; border: 0; background: var(--white); color: var(--midnight); border-radius: 4px; box-shadow: 0 24px 80px rgba(15,31,43,.35); }
dialog.viewer::backdrop { background: rgba(15,31,43,.55); }
.viewer-bar { position: sticky; top: 0; display: flex; gap: 10px; align-items: center; justify-content: space-between; padding: 12px 16px; background: var(--white); border-bottom: 1px solid var(--stone); z-index: 1; flex-wrap: wrap; }
.viewer-bar .acts { display: flex; gap: 8px; flex-wrap: wrap; }
.viewer-body { padding: 28px clamp(16px, 4vw, 40px) 36px; }
.stmt-doc header { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 2px solid var(--midnight); }
.stmt-doc h3 { font-family: var(--body); font-size: 1.375rem; font-weight: 700; letter-spacing: -0.01em; }
.stmt-doc .sub { font-size: 0.875rem; color: var(--slate); }
.stmt-doc .right { text-align: right; font-size: 0.875rem; }
.stmt-doc .sample-flag { display: inline-block; margin-top: 6px; padding: 2px 8px; border: 1px solid var(--warn); color: var(--warn); font-size: 0.75rem; font-weight: 600; letter-spacing: .04em; }
.stmt-sum { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--stone); font-variant-numeric: tabular-nums; }
.stmt-sum span { display: block; font-size: 0.75rem; color: var(--slate); }
.stmt-sum b { font-size: 1.0625rem; }
@media (max-width: 640px) { .stmt-sum { grid-template-columns: 1fr 1fr; } .stmt-doc .right { text-align: left; } }
.table-wrap { overflow-x: auto; margin-top: 16px; }
.stmt-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; font-variant-numeric: tabular-nums; min-width: 620px; }
.stmt-table th { text-align: left; font-weight: 500; font-size: 0.75rem; color: var(--slate); padding: 8px 8px 8px 0; border-bottom: 1px solid var(--midnight); }
.stmt-table td { padding: 9px 8px 9px 0; border-bottom: 1px solid var(--stone); vertical-align: top; }
.stmt-table .amt { text-align: right; white-space: nowrap; }
.stmt-table .neg { color: var(--alert); }
.stmt-doc .foot { margin-top: 18px; font-size: 0.75rem; color: var(--slate); }


/* ROI calculator */
.roi { background: var(--white); border: 1px solid var(--stone); display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.roi-form { padding: clamp(20px, 3.5vw, 40px); display: grid; gap: 22px; align-content: start; }
.field { display: grid; gap: 8px; }
.field label, .field .lbl { font-size: 0.875rem; font-weight: 500; }
.field .hint { font-size: var(--step--1); color: var(--slate); }
.field select, .field input[type="number"], .field input[type="text"], .field input[type="email"], .field textarea {
  width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--stone); background: var(--ivory); border-radius: 2px; color: var(--midnight);
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--midnight) 50%), linear-gradient(135deg, var(--midnight) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--midnight); outline: none; box-shadow: 0 0 0 3px rgba(94,111,122,.25); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .pair { grid-template-columns: 1fr; } }
.unit-input { position: relative; }
.unit-input input { padding-right: 84px !important; }
.unit-input .u { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: var(--step--1); color: var(--slate); pointer-events: none; }
.unit-input.pre input { padding-left: 26px !important; padding-right: 12px !important; }
.unit-input.pre .u { left: 12px; right: auto; }
.range-row { display: grid; grid-template-columns: minmax(0, 1fr) 56px; gap: 14px; align-items: center; }
input[type="range"] { width: 100%; accent-color: var(--midnight); }
.roi-out { background: var(--midnight); color: var(--ivory); padding: clamp(20px, 3.5vw, 40px); display: grid; gap: 24px; align-content: start; }
.roi-out .head { display: flex; align-items: center; gap: 12px; color: var(--on-dark-muted); font-size: 0.875rem; }
.roi-out .head .sq-slot { width: 12px; height: 12px; display: inline-block; flex: none; }
.big { font-family: var(--display); font-weight: 500; letter-spacing: -0.04em; line-height: 1; font-size: clamp(2.75rem, 2rem + 3vw, 4.5rem); font-variant-numeric: tabular-nums; }
.big-label { margin-top: 8px; color: var(--on-dark-muted); font-size: 0.9375rem; }
.roi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(248,247,244,.14); border: 1px solid rgba(248,247,244,.14); }
.roi-grid div { background: var(--midnight); padding: 14px; }
.roi-grid b { display: block; font-family: var(--display); font-weight: 500; font-size: 1.375rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.roi-grid span { font-size: var(--step--1); color: var(--on-dark-muted); }
.roi-out .warn { font-size: var(--step--1); color: #E8CC97; }
.roi-out .fine { color: var(--on-dark-muted); }
.bar { height: 10px; background: rgba(248,247,244,.12); position: relative; }
.bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--sage); transition: width .4s var(--ease); }
.bar-legend { display: flex; justify-content: space-between; font-size: var(--step--1); color: var(--on-dark-muted); margin-top: 6px; font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .roi { grid-template-columns: 1fr; } }

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--midnight); margin-top: 8px; }
.stats div { padding: 16px 16px 0 0; }
.stats b { font-family: var(--display); font-size: var(--step-3); font-weight: 500; letter-spacing: -0.03em; display: block; }
.stats span { font-size: 0.875rem; color: var(--slate); }
@media (max-width: 560px) { .stats { grid-template-columns: 1fr; } .stats div { padding-bottom: 12px; } }

/* Footer */
.footer { padding-top: clamp(64px, 9vw, 120px); padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px)); overflow: hidden; }
.footer .giant { font-family: var(--display); font-weight: 600; letter-spacing: -0.06em; line-height: .8; font-size: min(15rem, calc((min(100vw, var(--maxw) + 2 * var(--gutter)) - 2 * var(--gutter)) / 5.2)); white-space: nowrap; display: inline-flex; align-items: baseline; max-width: 100%; }
.footer .giant .period-anchor { width: 0.19em; height: 0.19em; margin-left: 0.05em; }
.footer .tagline { margin-top: 18px; letter-spacing: clamp(.12em, 1vw, .32em); font-size: 0.8125rem; color: var(--on-dark-muted); }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(248,247,244,.22); font-size: 0.875rem; color: var(--on-dark-muted); }
.footer-row nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-row a { text-decoration: none; color: var(--ivory); }
.footer-row a:hover { text-decoration: underline; text-underline-offset: 4px; }

.toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); background: var(--midnight); color: var(--ivory); padding: 12px 18px; font-size: 0.9375rem; opacity: 0; pointer-events: none; transition: opacity .2s, transform .3s var(--ease); z-index: 80; max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Navigation: transparent over the story, solid after ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding-top: env(safe-area-inset-top, 0px);
  background: color-mix(in srgb, var(--ivory) 94%, transparent);
  backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--stone); transition: background .35s, border-color .35s, color .35s;
}
.nav.clear { background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: 24px; }
.nav .brand { text-decoration: none; font-size: 1.5rem; color: var(--midnight); transition: color .35s; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-size: 0.9375rem; color: var(--ink-soft); padding: 6px 0; border-bottom: 1px solid transparent; transition: color .35s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--midnight); border-bottom-color: currentColor; }
.nav-links .btn { color: var(--ivory); padding: 0 18px; min-height: 40px; border-bottom: 1px solid var(--midnight); }
.nav-links .btn:hover { color: var(--ivory); }
.nav.on-dark .brand, .nav.on-dark .nav-links a { color: var(--ivory); }
.nav.on-dark .nav-links a:hover { color: var(--ivory); }
.nav.on-dark .nav-links .btn { background: var(--ivory); color: var(--midnight); border-color: var(--ivory); }
.nav.on-dark .wordmark .sq { background: var(--sage); }
.menu-btn { display: none; background: none; border: 1px solid var(--stone); width: 44px; height: 40px; cursor: pointer; padding: 0; }
.menu-btn span { display: block; width: 18px; height: 1.5px; background: var(--midnight); margin: 4px auto; transition: transform .25s var(--ease), opacity .2s; }
.nav.on-dark .menu-btn { border-color: rgba(248,247,244,.4); }
.nav.on-dark .menu-btn span { background: var(--ivory); }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .nav-links {
    position: fixed; inset: calc(var(--nav-h) + env(safe-area-inset-top, 0px)) 0 0 0; background: var(--ivory);
    flex-direction: column; align-items: flex-start; gap: 0;
    padding: 12px max(var(--gutter), env(safe-area-inset-right, 0px)) calc(24px + env(safe-area-inset-bottom, 0px)) max(var(--gutter), env(safe-area-inset-left, 0px));
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .25s var(--ease), visibility 0s .25s;
  }
  .nav-links.open { transform: none; opacity: 1; visibility: visible; transition: opacity .2s, transform .25s var(--ease); }
  .nav-links li { width: 100%; border-bottom: 1px solid var(--stone); }
  .nav-links a, .nav.on-dark .nav-links a { display: block; font-family: var(--display); font-size: 1.75rem; letter-spacing: -0.02em; padding: 14px 0; border: 0; color: var(--midnight); }
  .nav-links .btn, .nav.on-dark .nav-links .btn { margin-top: 20px; display: inline-flex; font-family: var(--body); font-size: 1rem; background: var(--midnight); color: var(--ivory); border-color: var(--midnight); }
  .nav-links li:last-child { border: 0; }
  .nav.menu-open { background: var(--ivory); border-bottom-color: var(--stone); }
  .nav.menu-open .brand { color: var(--midnight); }
  .nav.menu-open .menu-btn span { background: var(--midnight); }
}

.btn.line { background: transparent; color: var(--midnight); }
.btn.line:hover { background: var(--midnight); color: var(--ivory); }
.btn.line-light { background: transparent; color: var(--ivory); border-color: rgba(248,247,244,.6); }
.btn.line-light:hover { background: var(--ivory); color: var(--midnight); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.sub { color: var(--ink-soft); font-size: var(--step-1); max-width: 34em; }

/* A quiet "tell me more" control used everywhere detail is tucked away */
.more {
  display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; padding: 8px 0; cursor: pointer;
  font-size: 0.9375rem; font-weight: 500; color: inherit; text-decoration: none;
}
.more::before { content: ""; width: 9px; height: 9px; background: currentColor; transition: transform .3s var(--ease); }
.more:hover::before, .more[aria-expanded="true"]::before { transform: rotate(45deg); }
.more-body { max-width: 34em; padding-top: 6px; }
.more-body p { font-size: 1rem; }

/* ---------- Story: stacked scenes, each opened from the previous headline's period ---------- */
.story { position: relative; }
.story-stage { position: relative; }
.scene { position: relative; height: 100vh; height: 100svh; min-height: 520px; overflow: hidden; background: var(--midnight); }
.scene.tone-light { background: var(--ivory); color: var(--midnight); }
.scene.tone-dark { color: var(--ivory); }
.scene-img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; transform-origin: 50% 50%; will-change: transform; }
.pos-w { object-position: 72% 50%; }
.pos-desk { object-position: 70% 50%; }
.pos-hub { object-position: 55% 50%; }
.pos-process { object-position: 50% 70%; }
.scene-shade { position: absolute; inset: 0; pointer-events: none; }
.tone-dark .scene-shade { background: linear-gradient(90deg, rgba(15,31,43,.88) 0%, rgba(15,31,43,.55) 42%, rgba(15,31,43,0) 72%); }
.tone-light .scene-shade { background: linear-gradient(90deg, rgba(248,247,244,.92) 0%, rgba(248,247,244,.6) 40%, rgba(248,247,244,0) 66%); }
.scene .scene-copy.top ~ .scene-shade, .scene:has(.scene-copy.top) .scene-shade { background: linear-gradient(180deg, rgba(248,247,244,.9) 0%, rgba(248,247,244,.5) 36%, rgba(248,247,244,0) 60%); }
.scene-fill { position: absolute; inset: 0; background: var(--slate); z-index: 3; pointer-events: none; opacity: 0; }
.scene-copy { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); z-index: 2; }
.scene-copy.top { top: calc(var(--nav-h) + clamp(32px, 8vh, 96px)); transform: none; }
.scene-copy h1, .scene-copy h2 { font-size: var(--step-5); letter-spacing: -0.045em; line-height: .96; max-width: 11.5em; }
.scene-copy.top h2 { max-width: 14em; }
.scene-copy > p { margin-top: 24px; font-size: var(--step-1); max-width: 28em; }
.tone-dark .scene-copy > p, .tone-dark .more-body p { color: #CBD3D8; }
.tone-light .scene-copy > p, .tone-light .more-body p { color: var(--ink-soft); }
.scene-copy .ctas { margin-top: 32px; }
.scene-copy .more { margin-top: 18px; }
.dot { display: inline-block; width: 0.17em; height: 0.17em; margin-left: 0.04em; background: var(--slate); vertical-align: baseline; }
.tone-dark .dot { background: var(--slate); }
.scroll-cue { position: absolute; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 2; font-size: 0.75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-muted); display: grid; justify-items: center; gap: 10px; }
.scroll-cue span { width: 1px; height: 36px; background: linear-gradient(var(--on-dark-muted), transparent); animation: cue 2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
.scene:first-child .scene-copy > * { animation: rise .9s var(--ease) both; }
.scene:first-child .scene-copy > *:nth-child(2) { animation-delay: .12s; }
.scene:first-child .scene-copy > *:nth-child(3) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Pinned mode, switched on by script */
.story-on .story-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.story-on .scene { position: absolute; inset: 0; height: auto; min-height: 0; }
.story-on .scene + .scene { visibility: hidden; }
.story-on .scene-copy { will-change: opacity, transform; }

@media (max-width: 760px) {
  .scene-copy, .scene-copy.top { top: auto; bottom: calc(40px + env(safe-area-inset-bottom, 0px)); transform: none; }
  .tone-dark .scene-shade { background: linear-gradient(0deg, rgba(15,31,43,.94) 0%, rgba(15,31,43,.7) 45%, rgba(15,31,43,.1) 75%); }
  .tone-light .scene-shade, .scene:has(.scene-copy.top) .scene-shade { background: linear-gradient(0deg, rgba(248,247,244,.96) 0%, rgba(248,247,244,.78) 48%, rgba(248,247,244,0) 78%); }
  .scene:first-child .scene-copy { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
  .pos-w { object-position: 80% 30%; }
  .pos-desk { object-position: 68% 50%; }
  .pos-process { object-position: 46% 50%; }
  .scene-copy > p { margin-top: 16px; }
  .scene-copy .ctas { margin-top: 24px; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(80px, 11vw, 150px); }
.head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 48px; margin-bottom: clamp(28px, 4vw, 48px); }
.head-row h2, .band-copy h2, .contact-grid h2 { font-size: var(--step-4); letter-spacing: -0.04em; }
.head-row .sub { max-width: 26em; }
.period-anchor { width: 0.17em; height: 0.17em; margin-left: 0.04em; vertical-align: baseline; }
.tint { background: var(--paper); }

/* ---------- Ty band ---------- */
.ty-band, .contact-band { position: relative; overflow: hidden; }
.band-img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.ty-band { min-height: min(92vh, 860px); display: flex; align-items: center; padding-block: clamp(80px, 10vw, 140px); }
.ty-band .band-img { object-position: 60% 50%; }
.ty-band .band-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(248,247,244,.95) 0%, rgba(248,247,244,.8) 36%, rgba(248,247,244,0) 64%); }
.band-copy { max-width: calc(var(--maxw) + 2 * var(--gutter)); }
.band-copy > * { max-width: 30rem; }
.band-copy p { margin-top: 20px; font-size: var(--step-1); color: var(--ink-soft); }
.band-copy .ctas { margin-top: 32px; }
.band-copy .fine { margin-top: 18px; font-size: var(--step--1); }
@media (max-width: 760px) {
  .ty-band { align-items: flex-end; min-height: 100svh; }
  .ty-band .band-shade { background: linear-gradient(0deg, rgba(248,247,244,.97) 0%, rgba(248,247,244,.85) 55%, rgba(248,247,244,0) 85%); }
}

/* ---------- Ty workspace ---------- */
dialog.ty-app { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--midnight); color: var(--ivory); overflow: hidden; }
dialog.ty-app[open] { display: grid; grid-template-rows: auto auto minmax(0, 1fr); animation: appIn .45s var(--ease); }
dialog.ty-app::backdrop { background: rgba(15,31,43,.6); }
@keyframes appIn { from { clip-path: inset(46% 46% 46% 46%); } to { clip-path: inset(0 0 0 0); } }
.ty-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: calc(12px + env(safe-area-inset-top, 0px)) max(18px, env(safe-area-inset-right, 0px)) 12px max(18px, env(safe-area-inset-left, 0px)); border-bottom: 1px solid rgba(248,247,244,.14); }
.ty-top .who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ty-top .name { font-weight: 600; line-height: 1.2; }
.ty-top .role { font-size: var(--step--1); color: var(--on-dark-muted); line-height: 1.2; }
.ty-top-right { display: flex; align-items: center; gap: 16px; }
.ty-badge { width: 34px; height: 34px; flex: none; display: grid; place-items: center; background: var(--ivory); color: var(--midnight); font-family: var(--display); font-weight: 600; font-size: 0.9375rem; letter-spacing: -0.02em; border-radius: 2px; }
.x { background: none; border: 1px solid rgba(248,247,244,.35); color: inherit; min-height: 36px; padding: 0 14px; cursor: pointer; font-size: 0.875rem; border-radius: 2px; }
.x:hover { background: var(--ivory); color: var(--midnight); }
.ty-tabs { display: flex; gap: 4px; padding: 8px max(14px, env(safe-area-inset-left, 0px)) 0; border-bottom: 1px solid rgba(248,247,244,.14); overflow-x: auto; scrollbar-width: none; }
.ty-tabs::-webkit-scrollbar { display: none; }
.ty-tabs button { flex: none; background: none; border: 0; color: var(--on-dark-muted); padding: 10px 14px 12px; cursor: pointer; font-size: 0.9375rem; border-bottom: 2px solid transparent; display: inline-flex; align-items: center; gap: 8px; }
.ty-tabs button[aria-selected="true"] { color: var(--ivory); border-bottom-color: var(--ivory); }
.ty-tabs .badge { width: 8px; height: 8px; background: var(--sage); }
.ty-body { min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr); }
.ty-pane { min-height: 0; overflow: auto; overscroll-behavior: contain; }
.ty-pane[data-pane="run"] { display: flex; flex-direction: column; }
.ty-pane[data-pane="run"][hidden] { display: none; }
.ty-pane .chat { flex: 1; max-height: none; padding: 20px max(18px, env(safe-area-inset-left, 0px)) 28px; }
.pane-note { padding: 16px 18px 0; font-size: var(--step--1); color: var(--on-dark-muted); }
.ty-pane[data-pane="statements"] .stmt-list { padding: 14px 18px 24px; }
.ty-pane[data-pane="flow"] { display: grid; grid-template-rows: minmax(260px, 1fr) auto; }
.ty-pane[data-pane="flow"][hidden] { display: none; }
.ty-pane[data-pane="flow"] .flow { border-top: 0; }
.ty-pane[data-pane="output"] .results { border-top: 0; }

/* Statements, now on dark */
.stmt { background: rgba(248,247,244,.05); border-color: rgba(248,247,244,.16); color: var(--ivory); }
.stmt:hover { border-color: rgba(248,247,244,.45); }
.stmt[aria-checked="true"] { border-color: var(--ivory); box-shadow: inset 3px 0 0 var(--ivory); }
.stmt .meta, .stmt .kind { color: var(--on-dark-muted); }
.stmt .acts button { color: var(--ivory); text-decoration-color: var(--on-dark-muted); }

/* ---------- Library: five at a time ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
@media (max-width: 640px) { .filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: calc(-1 * max(var(--gutter), env(safe-area-inset-right, 0px))); padding-right: 16px; } .filters::-webkit-scrollbar { display: none; } .filter { flex: none; } }
.filter { background: transparent; border: 1px solid var(--stone); padding: 7px 14px; cursor: pointer; font-size: 0.875rem; border-radius: 999px; color: var(--ink-soft); }
.filter:hover { border-color: var(--slate); }
.filter[aria-pressed="true"] { background: var(--midnight); color: var(--ivory); border-color: var(--midnight); }
.filter .n { color: var(--slate); margin-left: 6px; font-variant-numeric: tabular-nums; }
.filter[aria-pressed="true"] .n { color: var(--on-dark-muted); }
.lib { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--midnight); min-height: calc(5 * 77px); }
.agent { border-bottom: 1px solid var(--stone); }
.agent.enter { animation: rise .45s var(--ease) both; }
.agent-head { all: unset; box-sizing: border-box; width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) 20px; gap: 6px 28px; align-items: center; padding: 18px 0; cursor: pointer; }
.agent-head:focus-visible { outline: 2px solid var(--slate); outline-offset: 2px; }
.agent h3 { font-family: var(--display); font-size: clamp(1.125rem, 1rem + .6vw, 1.5rem); letter-spacing: -0.02em; font-weight: 500; line-height: 1.2; }
.agent .dept { font-size: var(--step--1); color: var(--slate); margin-top: 2px; }
.agent .saved { font-variant-numeric: tabular-nums; text-align: right; font-size: 0.9375rem; white-space: nowrap; }
.agent .saved small { display: block; font-size: var(--step--1); color: var(--slate); }
.agent .tog { width: 14px; height: 14px; position: relative; justify-self: end; }
.agent .tog::before, .agent .tog::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: var(--midnight); transition: transform .3s var(--ease); }
.agent .tog::after { transform: rotate(90deg); }
.agent.open .tog::after { transform: rotate(0deg); }
.agent-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.agent.open .agent-body { grid-template-rows: 1fr; }
.agent-body > div { overflow: hidden; }
.agent-body .inner { display: flex; flex-wrap: wrap; gap: 14px 32px; align-items: flex-end; justify-content: space-between; padding: 0 0 22px; }
.agent-body p { color: var(--ink-soft); max-width: 40em; }
.agent-body .vol { display: block; margin-top: 6px; font-size: var(--step--1); color: var(--slate); }
.agent-body .acts { display: flex; gap: 10px; flex-wrap: wrap; }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 20px; font-size: 0.875rem; color: var(--slate); }
.pager > div { display: flex; gap: 8px; }
.pg { background: none; border: 1px solid var(--stone); min-height: 40px; padding: 0 16px; cursor: pointer; border-radius: 999px; font-size: 0.875rem; }
.pg:hover:not([disabled]) { border-color: var(--midnight); }
.pg[disabled] { opacity: .4; cursor: default; }
details.note { margin-top: 28px; font-size: var(--step--1); color: var(--slate); }
details.note > summary { cursor: pointer; list-style: none; display: inline-flex; gap: 8px; align-items: center; }
details.note > summary::-webkit-details-marker { display: none; }
details.note > summary::before { content: ""; width: 7px; height: 7px; background: currentColor; transition: transform .25s var(--ease); }
details.note[open] > summary::before { transform: rotate(45deg); }
details.note p { margin-top: 10px; max-width: 60em; line-height: 1.55; }
details.dark-note { margin-top: 0; color: var(--on-dark-muted); }
@media (max-width: 560px) { .agent-head { grid-template-columns: minmax(0, 1fr) 16px; } .agent .saved { grid-column: 1; grid-row: 2; text-align: left; } .agent .tog { grid-row: 1 / 3; grid-column: 2; } }

/* ROI extras */
details.more-fields > summary { cursor: pointer; font-size: 0.875rem; color: var(--slate); }
details.more-fields[open] > summary { margin-bottom: 18px; }
details.more-fields { display: grid; gap: 18px; }
.roi-agent { font-size: 0.875rem; color: var(--on-dark-muted); }

/* ---------- Contact ---------- */
.contact-band { background: var(--midnight); color: var(--ivory); padding-block: clamp(80px, 11vw, 150px); }
.contact-band .band-img { object-position: 70% 50%; opacity: .9; }
.contact-band .band-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,31,43,.92) 0%, rgba(15,31,43,.75) 45%, rgba(15,31,43,.55) 100%); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px 64px; align-items: start; }
.contact-grid h2 { font-size: var(--step-5); letter-spacing: -0.045em; line-height: .96; }
.contact-grid .sub { margin-top: 20px; color: #CBD3D8; }
.contact-grid .fine { margin-top: 14px; color: var(--on-dark-muted); }
.contact-form { display: grid; gap: 16px; background: rgba(15,31,43,.72); border: 1px solid rgba(248,247,244,.16); padding: clamp(18px, 3vw, 32px); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.contact-form label { color: #CBD3D8; }
.contact-form .field input, .contact-form .field textarea { background: rgba(248,247,244,.06); border-color: rgba(248,247,244,.25); color: var(--ivory); }
.contact-form .field input:focus, .contact-form .field textarea:focus { border-color: var(--ivory); }
.contact-form textarea { min-height: 96px; resize: vertical; }
.contact-form textarea::placeholder { color: var(--on-dark-muted); }
.form-msg { font-size: 0.9375rem; padding: 12px 14px; border: 1px solid rgba(248,247,244,.3); }
.form-msg.ok { border-color: var(--sage); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Services sheet ---------- */
dialog.sheet { width: min(860px, calc(100vw - 24px)); max-height: min(86vh, 760px); padding: 0; border: 0; background: var(--ivory); color: var(--midnight); border-radius: 4px; box-shadow: 0 24px 80px rgba(15,31,43,.35); }
dialog.sheet[open] { animation: rise .4s var(--ease); }
dialog.sheet::backdrop { background: rgba(15,31,43,.6); }
.sheet .x { border-color: var(--stone); }
.sheet .x:hover { background: var(--midnight); color: var(--ivory); }
.sheet-head { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px clamp(18px, 3vw, 32px); background: var(--ivory); border-bottom: 1px solid var(--stone); }
.sheet-head h2 { font-size: var(--step-3); }
.sheet-body { padding: 20px clamp(18px, 3vw, 32px) 32px; }
.svc-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.svc-tabs button { background: none; border: 1px solid var(--stone); border-radius: 999px; padding: 7px 14px; cursor: pointer; font-size: 0.875rem; }
.svc-tabs button[aria-selected="true"] { background: var(--midnight); color: var(--ivory); border-color: var(--midnight); }
.svc-list { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.svc-list.three { grid-template-columns: 1fr; }
.svc-list > div { padding: 14px 0; border-top: 1px solid var(--stone); }
.svc-list dt { font-family: var(--display); font-size: 1.1875rem; letter-spacing: -0.015em; font-weight: 500; }
.svc-list dd { margin: 4px 0 0; color: var(--ink-soft); font-size: 0.9375rem; }
.svc-panel .lead { font-size: var(--step-1); margin-bottom: 18px; max-width: 32em; }
.own-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.own-list li { padding: 12px 0; border-top: 1px solid var(--stone); display: flex; gap: 12px; align-items: baseline; }
.own-list li::before { content: ""; flex: none; width: 7px; height: 7px; background: var(--sage); }
@media (max-width: 600px) { .svc-list, .own-list { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
#view-about { padding-bottom: clamp(64px, 9vw, 120px); }
.about-hero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: center; overflow: hidden; padding-top: var(--nav-h); }
.about-img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 30% 50%; animation: settle 1.6s var(--ease) both; }
@keyframes settle { from { transform: scale(1.08); } to { transform: none; } }
.about-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(270deg, rgba(248,247,244,.95) 0%, rgba(248,247,244,.75) 38%, rgba(248,247,244,0) 62%); }
.about-hero .wrap { display: flex; flex-direction: column; align-items: flex-end; z-index: 2; }
.about-hero h1, .about-hero .sub { width: min(100%, 30rem); }
.about-hero h1 { font-size: var(--step-5); letter-spacing: -0.045em; line-height: .96; }
.about-hero .sub { margin-top: 22px; }
.about-list { max-width: calc(880px + 2 * var(--gutter)); margin-top: clamp(40px, 6vw, 80px); }
.about-item { border-top: 1px solid var(--stone); }
.about-item:last-of-type { border-bottom: 1px solid var(--stone); }
.about-item > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-family: var(--display); font-size: var(--step-2); letter-spacing: -0.02em; }
.about-item > summary::-webkit-details-marker { display: none; }
.about-item > summary::after { content: ""; flex: none; width: 10px; height: 10px; background: var(--slate); transition: transform .3s var(--ease), background .3s; }
.about-item[open] > summary::after { transform: rotate(45deg); background: var(--midnight); }
.about-item .body { display: grid; gap: 14px; padding-bottom: 26px; max-width: 40em; color: var(--ink-soft); font-size: 1.0625rem; }
.about-item[open] .body { animation: rise .4s var(--ease) both; }
.about-cta { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; margin-top: 40px; }
@media (max-width: 760px) {
  .about-hero { align-items: flex-end; min-height: 92svh; padding-bottom: 40px; }
  .about-hero::after { background: linear-gradient(0deg, rgba(248,247,244,.97) 0%, rgba(248,247,244,.8) 48%, rgba(248,247,244,0) 78%); }
  .about-hero .wrap { align-items: flex-start; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Round 2 fixes */
.ty-pane .chat { align-content: start; }
.scene:has(.scene-copy.top) .scene-shade { background: linear-gradient(180deg, rgba(248,247,244,.95) 0%, rgba(248,247,244,.82) 34%, rgba(248,247,244,0) 58%); }
.about-hero h1 { font-size: clamp(2.75rem, 1.2rem + 5vw, 5.5rem); }
@media (min-width: 761px) {
  .about-img { width: 70%; right: auto; object-position: 40% 50%; -webkit-mask-image: linear-gradient(90deg, #000 70%, transparent); mask-image: linear-gradient(90deg, #000 70%, transparent); }
  .about-hero { background: var(--ivory); }
  .about-hero::after { background: linear-gradient(270deg, rgba(248,247,244,.9) 0%, rgba(248,247,244,0) 45%); }
}

/* =========================================================
   Round 3
   ========================================================= */

/* ---------- Ty workspace: two view groups ---------- */
.ty-tabs { display: flex; padding: 8px 0 0; }
.ty-tabs .tg { display: flex; gap: 4px; flex: none; }
.ty-tabs .tg-left { padding-left: max(14px, env(safe-area-inset-left, 0px)); }
.ty-tabs .tg-right { padding-right: 14px; }
.ty-about { background: #0C1A24; }
.about-ty { padding: 24px max(20px, env(safe-area-inset-left, 0px)) 36px; max-width: 640px; }
.about-ty h3 { font-size: var(--step-3); }
.about-ty .lead { margin-top: 8px; font-size: var(--step-1); color: #CBD3D8; }
.about-ty p { color: #CBD3D8; margin-top: 12px; line-height: 1.6; }
.about-ty h4 { font-family: var(--body); font-size: 0.8125rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--sage); margin-top: 28px; }
.about-ty ul, .about-ty ol { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; color: #CBD3D8; }
.about-ty ul li { display: flex; gap: 12px; align-items: baseline; }
.about-ty ul li::before { content: ""; flex: none; width: 6px; height: 6px; background: var(--slate); transform: translateY(-2px); }
.about-ty ol.how { counter-reset: how; }
.about-ty ol.how li { counter-increment: how; position: relative; padding-left: 28px; }
.about-ty ol.how li::before { content: counter(how); position: absolute; left: 0; top: 2px; font-size: 0.8125rem; color: var(--on-dark-muted); font-variant-numeric: tabular-nums; }
.about-ty b { color: var(--ivory); font-weight: 600; }
.about-ty-cta { margin-top: 28px; }
@media (min-width: 1100px) {
  .ty-tabs { display: grid; grid-template-columns: min(44vw, 620px) minmax(0, 1fr); }
  .ty-tabs .tg-left { border-right: 1px solid rgba(248,247,244,.14); }
  .ty-tabs .tg-right { padding-left: 14px; }
  .ty-body { grid-template-columns: min(44vw, 620px) minmax(0, 1fr); }
  .ty-pane[data-pane="run"], .ty-pane[data-pane="about"] { grid-column: 1; grid-row: 1; border-right: 1px solid rgba(248,247,244,.14); }
  .ty-body > .ty-pane:not([data-pane="run"]):not([data-pane="about"]) { grid-column: 2; grid-row: 1; }
  .ty-top { padding-inline: 24px; }
}
@media (max-width: 1099px) {
  .ty-tabs { overflow-x: auto; scrollbar-width: none; }
  .ty-tabs button { padding-inline: 11px; }
}

/* ---------- ROI calculator ---------- */
.field .hint { font-size: 0.8125rem; color: var(--slate); line-height: 1.45; }
.field label .opt { font-weight: 400; font-size: 0.75rem; color: var(--slate); border: 1px solid var(--stone); padding: 1px 6px; border-radius: 999px; margin-left: 6px; vertical-align: 1px; }
.prefill { font-size: 0.8125rem; color: var(--midnight); background: rgba(140,154,143,.18); padding: 8px 12px; border-left: 3px solid var(--sage); }
.prefill[hidden] { display: none; }
.roi-form .pair { align-items: start; }
.roi-out { gap: 22px; }
.roi-error { border: 1px solid rgba(232,204,151,.6); background: rgba(232,204,151,.08); padding: 12px 14px; font-size: 0.9375rem; color: #E8CC97; }
.roi-error strong { display: block; color: var(--ivory); margin-bottom: 4px; }
.roi-results { display: grid; gap: 22px; transition: opacity .2s; }
.roi-results.stale { opacity: .25; pointer-events: none; }
.money-row { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 16px 24px; align-items: end; padding-bottom: 20px; border-bottom: 1px solid rgba(248,247,244,.16); }
.money-label { display: block; font-size: 0.8125rem; color: var(--on-dark-muted); margin-bottom: 8px; }
.money-row .big { font-size: clamp(2.5rem, 1.6rem + 2.6vw, 4rem); }
.money-row .big small, .money-row .mid small { font-family: var(--body); font-size: 1rem; letter-spacing: 0; color: var(--on-dark-muted); font-weight: 400; }
.money-row .mid { font-family: var(--display); font-weight: 500; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1; }
.roi-facts { margin: 0; display: grid; gap: 0; }
.roi-facts > div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid rgba(248,247,244,.1); font-size: 0.9375rem; }
.roi-facts dt { color: var(--on-dark-muted); }
.roi-facts dd { margin: 0; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.roi-return { border: 1px solid rgba(248,247,244,.2); padding: 16px; }
.roi-return.hint-only { border-style: dashed; font-size: 0.875rem; color: var(--on-dark-muted); }
.roi-return.hint-only b { color: var(--ivory); font-weight: 500; }
.roi-return h3 { font-size: 1.125rem; margin-bottom: 8px; }
.roi-return dl { margin: 6px 0 0; display: grid; }
.roi-return dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 0; border-bottom: 1px solid rgba(248,247,244,.1); font-size: 0.9375rem; }
.roi-return dt { color: var(--on-dark-muted); }
.roi-return dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.roi-return dd small { display: block; font-size: 0.75rem; color: var(--on-dark-muted); }
.roi-return .partial { font-size: 0.8125rem; color: #E8CC97; margin-top: 6px; }
.roi-out .clar { font-size: 0.8125rem; color: var(--on-dark-muted); margin-top: 10px; }
.more-than h3 { font-size: 1.125rem; }
.more-than p { margin-top: 8px; font-size: 0.9375rem; color: #CBD3D8; }
.calc-explain { margin-top: 24px; background: var(--white); border: 1px solid var(--stone); padding: clamp(20px, 3vw, 36px); }
.calc-explain h3 { font-size: var(--step-2); }
.calc-steps { list-style: none; counter-reset: st; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 32px; }
.calc-steps li { counter-increment: st; display: grid; gap: 6px; align-content: start; padding-top: 14px; border-top: 1px solid var(--stone); font-size: 0.9375rem; color: var(--ink-soft); }
.calc-steps li::before { content: "Step " counter(st); font-size: 0.75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); }
.calc-steps b { color: var(--midnight); font-weight: 600; }
.calc-steps code { font-family: var(--body); font-variant-numeric: tabular-nums; background: var(--paper); padding: 6px 10px; color: var(--midnight); overflow-wrap: anywhere; }
.calc-foot { margin-top: 18px; font-size: 0.8125rem; color: var(--slate); max-width: 60em; }
.calc-cap { margin-top: 10px; font-size: 0.8125rem; color: var(--warn); background: var(--warn-bg); padding: 8px 12px; }
@media (max-width: 900px) {
  .calc-steps { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .money-row { grid-template-columns: 1fr; }
}

/* =========================================================
   Round 4
   ========================================================= */

/* ---------- Opening animation ---------- */
.scene-flow { background: radial-gradient(90% 80% at 78% 8%, #23313A 0%, #142330 30%, #0D1C27 62%, #0A1720 100%); }
.flow-photo { position: absolute; left: 0; top: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 60% 50%; opacity: 0; visibility: hidden; }
.scene-flow.tall .flow-photo { -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%); }
.no-js .flow-photo { opacity: 1; visibility: visible; }
.flow-art { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.reduced .flow-art { display: none; }
.flow-intro { position: absolute; left: 0; right: 0; top: calc(46% + clamp(56px, 9vh, 96px)); text-align: center; z-index: 2; color: #D5DCE0; font-family: var(--display); font-weight: 500; font-size: var(--step-3); letter-spacing: -0.03em; padding-inline: 24px; }
.reduced .flow-intro, .no-js .flow-intro { display: none; }
.scene-flow .scene-copy { top: 50%; bottom: auto; transform: translateY(-50%); z-index: 2; }
.scene-flow .scene-copy > * { max-width: min(34rem, 44vw); animation: none !important; }
.scene-flow .scene-copy h1 { font-size: clamp(2.5rem, 1.4rem + 3.2vw, 4.75rem); letter-spacing: -0.045em; line-height: .98; }
.scene-flow .scene-copy > p { margin-top: 20px; color: #CBD3D8; }
.scene-flow .scene-copy .ctas { margin-top: 30px; }
.hero-flow-on .scene-flow .scene-copy { opacity: 0; visibility: hidden; }
.scene-flow.tall .scene-copy { top: auto; transform: none; bottom: calc(40px + env(safe-area-inset-bottom, 0px)); text-align: center; display: grid; justify-items: center; }
.scene-flow.tall .scene-copy > * { max-width: 30rem; }
.scene-flow.tall .scene-copy h1 { font-size: clamp(2.25rem, 1.4rem + 3vw, 3.25rem); }
.scene-flow.tall .scene-copy .ctas { justify-content: center; }
@media (max-width: 760px) {
  .flow-intro { top: calc(42% + 64px); font-size: 1.75rem; }
  .scene-flow .scene-copy > p { font-size: 1rem; margin-top: 14px; }
  .scene-flow .scene-copy .ctas { margin-top: 22px; }
}

/* ---------- Implementation ---------- */
.impl-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px 48px; align-items: end; margin-bottom: clamp(32px, 4vw, 52px); }
.impl-head h2 { font-size: var(--step-4); letter-spacing: -0.04em; }
.impl { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(28px, 4vw, 64px); align-items: start; }
.track-switch { display: inline-flex; border: 1px solid var(--midnight); border-radius: 999px; padding: 3px; }
.track-switch button { background: transparent; border: 0; padding: 8px 18px; cursor: pointer; font-size: 0.9375rem; border-radius: 999px; transition: background .25s, color .25s; }
.track-switch button[aria-pressed="true"] { background: var(--midnight); color: var(--ivory); }
.track-note { margin: 14px 0 20px; color: var(--ink-soft); font-size: 0.9375rem; min-height: 3.2em; }

.stepper { list-style: none; margin: 0; padding: 0; position: relative; }
.st { position: relative; }
/* connector line through the markers */
.st::before { content: ""; position: absolute; left: 21px; top: 0; bottom: 0; width: 1px; background: var(--stone); }
.st:first-child::before { top: 50%; }
.st:nth-last-child(2)::before { bottom: 50%; }
.st-opt::before { top: 0; bottom: 50%; background: none; border-left: 1px dashed var(--slate); }
.st-btn {
  all: unset; box-sizing: border-box; position: relative; width: 100%; cursor: pointer;
  display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 0 12px;
  padding: 10px 14px 10px 0; border-radius: 2px; transition: background .25s;
}
@media (hover: hover) { .st-btn:hover { background: rgba(216,217,211,.45); } }
.st-btn:focus-visible { outline: 2px solid var(--slate); outline-offset: 2px; }
.st-mark { justify-self: center; width: 12px; height: 12px; background: var(--ivory); border: 1.5px solid var(--slate); transition: all .3s var(--ease); position: relative; z-index: 1; }
.st-text { display: grid; gap: 1px; }
.st-num { font-size: 0.75rem; color: var(--slate); letter-spacing: .02em; }
.st-name { font-family: var(--display); font-size: 1.125rem; letter-spacing: -0.015em; line-height: 1.25; }
.st-days { font-size: 0.8125rem; color: var(--slate); white-space: nowrap; }
.st.on .st-btn { background: var(--white); box-shadow: 0 0 0 1px var(--stone), 0 6px 18px rgba(15,31,43,.06); }
.st.on .st-mark { width: 16px; height: 16px; background: var(--midnight); border-color: var(--midnight); }
.st.on .st-name { font-weight: 600; }
.st.on .st-days { color: var(--midnight); font-weight: 500; }
.st-opt { margin-top: 0; }
.st-after { display: block; padding: 14px 0 4px 44px; font-size: 0.75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); }
.st-opt .st-mark { border-style: dashed; background: transparent; }
.st-opt.on .st-mark { background: var(--slate); border: 1.5px solid var(--slate); }
.st-opt .st-name { color: var(--ink-soft); }
.impl-note { margin-top: 18px; }

.phase-detail { position: sticky; top: calc(var(--nav-h) + 24px); padding: clamp(22px, 3vw, 40px); background: var(--white); border: 1px solid var(--stone); border-top: 3px solid var(--midnight); min-height: 420px; }
.phase-detail.optional { border-style: dashed; border-top: 3px dashed var(--slate); background: rgba(255,255,255,.5); }
.pd-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; font-size: 0.8125rem; }
.pd-step { color: var(--slate); letter-spacing: .04em; }
.pd-days { color: var(--midnight); font-weight: 600; font-variant-numeric: tabular-nums; }
.phase-detail h3 { font-size: var(--step-3); margin: 10px 0 20px; }
.plan { margin-bottom: 22px; }
.plan-axis { display: flex; justify-content: space-between; margin-top: 6px; font-size: 0.75rem; color: var(--slate); font-variant-numeric: tabular-nums; }
.plan-after { margin-top: 8px; padding: 6px 10px; border: 1px dashed var(--slate); font-size: 0.75rem; color: var(--slate); text-align: center; }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.phase-detail p.text { color: var(--ink-soft); font-size: 1.0625rem; }
.phase-detail dl { margin: 22px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; }
.phase-detail dl > div { padding-top: 14px; border-top: 1px solid var(--stone); }
.phase-detail dt { font-size: 0.8125rem; font-weight: 600; letter-spacing: .02em; color: var(--midnight); }
.phase-detail dd { margin: 4px 0 0; color: var(--ink-soft); }
.phase-detail.swap > * { animation: rise .4s var(--ease) both; }
.phase-detail.swap > *:nth-child(2) { animation-delay: .03s; }
.phase-detail.swap > *:nth-child(4) { animation-delay: .06s; }
.phase-detail.swap > *:nth-child(5) { animation-delay: .09s; }
@media (max-width: 900px) {
  .impl-head, .impl { grid-template-columns: 1fr; }
  .phase-detail { position: static; min-height: 0; }
}
@media (max-width: 560px) {
  .track-switch { display: flex; }
  .track-switch button { flex: 1; padding-inline: 8px; }
  .phase-detail dl { grid-template-columns: 1fr; }
  .st-name { font-size: 1rem; }
}

.reduced .scene-flow.tall .scroll-cue, .no-js .scene-flow .scroll-cue { display: none; }

/* =========================================================
   Version 5: client-centred structure
   ========================================================= */
.nav-links { gap: 24px; }
@media (min-width: 901px) and (max-width: 1180px) { .nav-poss { display: none; } .nav-links { gap: 20px; } }

/* Hero copy */
.scene-flow .eyebrow { font-family: var(--display); font-weight: 500; font-size: var(--step-1); letter-spacing: -0.01em; color: #D5DCE0; margin-bottom: 14px; }
.scene-flow .scene-copy h1 { font-size: clamp(2.4rem, 1.3rem + 3vw, 4.4rem); }
.scene-flow .scene-copy > * { max-width: min(36rem, 46vw); }
.scene-flow .scene-copy > p:not(.eyebrow) { font-size: 1.0625rem; line-height: 1.55; }
.scene-flow.tall .scene-copy > * { max-width: 32rem; }
.scene-flow.tall .scene-copy h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 2.9rem); }
.scene-flow.tall .eyebrow { font-size: 1rem; margin-bottom: 8px; }
@media (max-width: 760px) {
  .scene-flow .scene-copy > p:not(.eyebrow) { font-size: 0.9375rem; line-height: 1.5; margin-top: 12px; }
  .scene-flow .scene-copy .ctas { margin-top: 18px; gap: 10px; }
}

/* Two-column text sections */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px clamp(32px, 6vw, 96px); align-items: start; }
.split h2 { font-size: var(--step-4); letter-spacing: -0.04em; line-height: 1.02; }
.prose { display: grid; gap: 18px; max-width: 40rem; }
.prose p { color: var(--ink-soft); font-size: 1.0625rem; line-height: 1.65; }
.prose .lead { font-family: var(--display); font-size: var(--step-2); line-height: 1.3; letter-spacing: -0.015em; color: var(--midnight); }
.dark .prose p { color: #C3CCD2; }
.dark .prose .lead { color: var(--ivory); }
.people { padding-block: clamp(80px, 10vw, 140px); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* What We Do */
.services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px clamp(24px, 3.5vw, 48px); counter-reset: none; }
.services li { border-top: 1px solid var(--midnight); padding-top: 20px; display: grid; align-content: start; gap: 12px; }
.svc-num { font-size: 0.8125rem; color: var(--slate); letter-spacing: .06em; }
.services h3 { font-size: var(--step-2); letter-spacing: -0.025em; line-height: 1.15; }
.services p { color: var(--ink-soft); }
.svc-foot { margin-top: clamp(32px, 4vw, 48px); padding-top: 20px; border-top: 1px solid var(--stone); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 40px; align-items: baseline; }
.svc-foot p { color: var(--ink-soft); max-width: 44rem; }
@media (max-width: 860px) { .services { grid-template-columns: 1fr; } }

/* How We Work: stage strip */
.plan-segs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; }
.plan-segs i { height: 8px; background: var(--stone); transition: background .3s; }
.plan-segs i.on { background: var(--midnight); }
.plan-axis { display: flex; gap: 4px; margin-top: 8px; }
.plan-axis span { text-align: left; font-size: 0.75rem; color: var(--slate); border-top: 1px solid var(--stone); padding-top: 6px; }
.plan-axis span.on { color: var(--midnight); font-weight: 600; border-top-color: var(--midnight); }
.plan-opt .plan-segs { opacity: .55; }
.st-num { font-variant-numeric: tabular-nums; }
.st-days { font-size: 0.75rem; letter-spacing: .02em; }
.pd-days { font-weight: 600; text-align: right; }
.impl-note { max-width: 34rem; }

/* Possibilities */
.group-text { margin: -6px 0 18px; color: var(--ink-soft); max-width: 44rem; }
.group-text[hidden] { display: none; }
.poss-close { margin-top: clamp(32px, 4vw, 48px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; padding-top: 24px; border-top: 1px solid var(--midnight); }
.poss-close p { font-family: var(--display); font-size: var(--step-2); letter-spacing: -0.015em; line-height: 1.3; max-width: 32rem; }

/* Ty band */
.band-copy p + p { margin-top: 14px; }
.band-copy .disclose { margin-top: 22px; padding-left: 12px; border-left: 2px solid var(--slate); color: var(--ink-soft); }
.band-copy .disclose + .fine { margin-top: 8px; }
.sim-tag { display: inline-block; margin-left: 6px; padding: 1px 7px; border: 1px solid rgba(248,247,244,.35); font-size: 0.6875rem; letter-spacing: .03em; color: var(--ivory); white-space: nowrap; }
.about-ty-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.about-ty-cta .link { color: var(--ivory); }
@media (max-width: 760px) { .ty-top .role .sim-tag { display: block; width: max-content; margin: 4px 0 0; } }

/* Value estimator */
.form-intro { color: var(--ink-soft); margin-bottom: 4px; }
.roi-out .illus { margin-top: 10px; font-size: var(--step--1); color: var(--on-dark-muted); }
.roi-return .clar b { color: inherit; }

/* Why Worksmith */
.why .btn { margin-top: 6px; }

/* Contact */
.contact-intro .expect { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(248,247,244,.25); display: grid; gap: 10px; max-width: 30rem; }
.contact-intro .expect h3 { font-size: 1rem; font-family: var(--body); font-weight: 600; color: var(--ivory); }
.contact-intro .expect p { color: #CBD3D8; font-size: 0.9375rem; }
.contact-intro .book { margin-top: 22px; }
.contact-form h3 { font-size: var(--step-2); color: var(--ivory); }
.contact-form .form-lede { margin-top: -6px; }
.contact-form .opt { font-weight: 400; color: var(--on-dark-muted); font-size: 0.75rem; margin-left: 6px; }

/* About page */
.about-hero .sub.strong { color: var(--midnight); font-weight: 500; }
.about-sections { padding-block: clamp(48px, 7vw, 96px) clamp(72px, 9vw, 120px); display: grid; gap: 0; }
.about-sec { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 18px clamp(32px, 6vw, 96px); padding-block: clamp(28px, 4vw, 48px); border-top: 1px solid var(--stone); }
.about-sec:first-child { border-top: 1px solid var(--midnight); }
.about-sec h2 { font-size: var(--step-3); letter-spacing: -0.03em; line-height: 1.1; }
.about-end { align-items: center; }
.about-end .about-cta { margin: 0; }
@media (max-width: 860px) { .about-sec { grid-template-columns: 1fr; } }
.nav.menu-open { backdrop-filter: none; -webkit-backdrop-filter: none; }
.footer .tagline { letter-spacing: 0.01em; font-size: clamp(1rem, 0.9rem + .4vw, 1.25rem); font-family: var(--display); color: var(--on-dark-muted); }
.plan-axis span:empty { min-height: 1px; }
@media (max-width: 900px) {
  .ty-band .band-shade { background: linear-gradient(0deg, rgba(248,247,244,.97) 0%, rgba(248,247,244,.93) 70%, rgba(248,247,244,.6) 100%); }
}
