/* Highline Strategic Consulting — site v6.13 */
/* Width-matched stand-ins shown for the instant before the real fonts load, so text does not jump. */
@font-face {
  font-family: "Archivo Fallback";
  font-weight: 800;
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica Neue Bold"), local("Helvetica-Bold"), local("Roboto Bold"), local("Liberation Sans Bold");
  size-adjust: 80%;
}
@font-face {
  font-family: "Source Sans Fallback";
  src: local("Arial"), local("ArialMT"), local("Helvetica Neue"), local("Helvetica"), local("Roboto"), local("Liberation Sans");
  size-adjust: 94%;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 800;
  font-stretch: 75%;
  font-display: swap;
  src: url(archivo-condensed-extrabold.woff) format("woff");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(source-sans-3-latin.woff2) format("woff2");
}

:root {
  --ink: #10263a;
  --ink-2: #1d3b52;
  --slate: #4d6b80;
  --amber: #f6a53b;
  --amber-pale: #ffd48a;
  --amber-deep: #a85a0a;
  --paper: #f3f6f7;
  --white: #ffffff;
  --text: #3d515c;
  --text-on-dark: #d5e1e8;
  --muted-on-dark: #9fb4c1;
  --line: #c9d5db;
  --error: #a3271a; /* form error messages only */
  --sans: "Source Sans 3", "Source Sans Fallback", Arial, sans-serif;
  --display: Archivo, "Archivo Fallback", "Arial Narrow", Arial, sans-serif;
  --header-h: 66px;
  --header-tall: 92px;
  /* Spacing scale: every gap, margin and padding uses one of these steps. */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;
  --space-7: 64px;
  /* One inner padding for every card, panel and box. */
  --pad-box: clamp(24px, 2.4vw, 32px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body { margin: 0; background: var(--white); color: var(--ink); font: 17px/1.5 var(--sans); -webkit-text-size-adjust: 100%; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--amber-deep); outline-offset: 3px; }
.on-dark :focus-visible, .site-header :focus-visible { outline-color: var(--amber-pale); }

.display { font-family: var(--display); font-stretch: 75%; font-weight: 800; letter-spacing: -0.01em; }
h1, h2, h3 { font-family: var(--display); font-stretch: 75%; font-weight: 800; }
h2 { font-size: clamp(32px, 4.1vw, 56px); line-height: 0.98; letter-spacing: -0.01em; }
/* Headings break into lines of similar length; body text avoids a single word alone on its last line. */
h1, h2, h3 { text-wrap: balance; }
p, li, blockquote, summary, small, label { text-wrap: pretty; }

.wrap { width: min(100% - 48px, 1296px); margin-inline: auto; }
.section { padding: clamp(var(--space-5), 4.4vw, var(--space-7)) 0; }
.skip { position: absolute; z-index: 30; top: 0; left: 12px; padding: 10px 14px; background: var(--white); color: var(--ink); transform: translateY(-130%); }
.skip:focus { transform: translateY(0); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border: 0; border-radius: 4px; background: var(--amber); color: var(--ink); font-weight: 700; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--amber-pale); }
.btn-lg { min-height: 50px; padding: 0 24px; font-size: 17px; }
/* A long label that may break onto two lines: it breaks between its two halves, never mid-phrase. */
.btn-wrap { flex-wrap: wrap; column-gap: 0.3em; row-gap: 0; padding-top: 10px; padding-bottom: 10px; line-height: 1.2; text-align: center; }
.btn-wrap span { white-space: nowrap; }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--ink-2); }

/* Header */
.header-slot { position: sticky; z-index: 20; top: 0; height: var(--header-tall); pointer-events: none; }
.site-header { position: relative; background: var(--ink); color: var(--white); pointer-events: auto; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-tall); transition: min-height 0.18s ease; }
.header-slot.is-compact .header-inner { min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 72px; width: auto; transition: height 0.18s ease; }
.header-slot.is-compact .brand img { height: 50px; }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 36px); font-size: 16px; }
.site-nav a { white-space: nowrap; }
.site-nav a:not(.btn) { color: var(--text-on-dark); text-decoration: none; }
.site-nav a:not(.btn):hover { color: var(--white); text-decoration: underline; text-underline-offset: 5px; }
.menu-toggle { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--slate); border-radius: 4px; background: transparent; color: var(--white); cursor: pointer; }

/* Hero */
.hero { overflow: hidden; background: var(--ink); color: var(--white); }
.hero-copy { display: flex; flex-direction: column; gap: var(--space-3); padding-top: clamp(var(--space-3), 2.5vw, var(--space-4)); }
.hero h1 { font-size: clamp(40px, 6.4vw, 90px); line-height: 0.93; letter-spacing: -0.015em; }
.hero-row { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-3); }
.hero-intro { max-width: 610px; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.45; color: var(--text-on-dark); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3); }
/* Two credentials between the intro and the buttons. No padding of their own, so the row's 24px gap spaces them evenly. */
.hero-creds { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1) var(--space-4); line-height: 1.3; }
.hero-creds li { display: flex; align-items: center; gap: var(--space-1); font-size: 16px; font-weight: 600; color: var(--text-on-dark); }
.hero-creds .ico { width: 22px; height: 22px; stroke: var(--amber); }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-underline-offset: 5px; }
.text-link:hover { color: var(--amber-pale); }

.stage { position: relative; height: 246px; margin-top: clamp(var(--space-4), 3.3vw, var(--space-6)); overflow: hidden; }
.scene { position: absolute; left: 50%; top: 0; width: 2400px; height: 246px; margin-left: -1200px; }
/* A soft amber glow spreading out from the Highline gate over the "after" side; no hard edges. */
.scene-glow { position: absolute; left: 1200px; top: -40px; width: 900px; height: 316px; mix-blend-mode: screen; background: radial-gradient(ellipse 38% 48% at 0% 58%, rgba(255,190,90,0.26), rgba(246,165,59,0.08) 55%, rgba(246,165,59,0) 100%); }
.bx { position: absolute; left: 0; top: 70px; width: 170px; height: 150px; animation: ride 18s linear infinite; }
.sk { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; padding-bottom: 16px; border-radius: 8px; }
.sk-grey { background: #5d6d79; }
.sk-amber { background: var(--amber); animation: skin 18s linear infinite; }
.lid { position: absolute; left: 0; right: 0; top: 0; height: 20px; background: #74838e; }
.sk-amber .lid { background: var(--amber-pale); }
.tape { position: absolute; left: 73px; top: 0; width: 24px; height: 44px; background: #8c99a3; }
.sk-amber .tape { background: #fff1d4; }
.lb { display: flex; flex-direction: column; align-items: center; gap: 1px; width: 142px; padding: 9px 0 10px; border-radius: 5px; background: #dfe6ea; color: #22323d; line-height: 1.15; }
.sk-amber .lb { background: #fff8ea; color: var(--ink); }
.lb small { font-size: 14px; }
.lb b { font-size: 23px; font-weight: 700; }
.beam { position: absolute; left: 1199px; top: 34px; width: 3px; height: 202px; background: var(--amber-pale); box-shadow: 0 0 18px 4px rgba(246,165,59,0.55); }
.gate { position: absolute; left: 1125px; top: 0; display: flex; align-items: center; justify-content: center; width: 150px; height: 36px; border: 1px solid var(--amber); border-radius: 18px; background: var(--ink); color: var(--amber-pale); font-family: var(--display); font-stretch: 75%; font-weight: 800; font-size: 20px; letter-spacing: 0.01em; }
.belt { position: absolute; left: 0; right: 0; top: 220px; height: 16px; background: repeating-linear-gradient(90deg, #35566b 0 40px, #244257 40px 80px); animation: belt 0.55s linear infinite; }
.belt-edge { position: absolute; left: 0; right: 0; top: 236px; height: 5px; background: #081622; }
.stage::before, .stage::after { content: ""; position: absolute; z-index: 2; top: 0; bottom: 0; width: clamp(36px, 11vw, 170px); pointer-events: none; }
.stage::before { left: 0; background: linear-gradient(90deg, var(--ink), rgba(16,38,58,0)); }
.stage::after { right: 0; background: linear-gradient(270deg, var(--ink), rgba(16,38,58,0)); }
.scene-note { position: absolute; top: 5px; font-family: var(--display); font-stretch: 75%; font-weight: 800; font-size: 20px; line-height: 26px; letter-spacing: 0.01em; white-space: nowrap; color: var(--muted-on-dark); }
.scene-note-before { right: 1355px; text-align: right; }
.scene-note-after { left: 1355px; color: var(--amber); }
.rail { position: absolute; top: 17px; width: 70px; height: 2px; }
.rail-before { left: 1055px; background: var(--slate); }
.rail-after { left: 1275px; background: var(--amber); }
.hero { padding-bottom: var(--space-4); }
.stage-caption { display: none; flex-direction: column; gap: 4px; padding: 14px 0 0; font-size: 16px; color: var(--muted-on-dark); }
.stage-caption span + span { color: var(--amber-pale); }
/* A 170px carton travels 2610px; it crosses the gate at x=1200 between 46.74% and 53.26% of the trip. */
@keyframes ride { from { transform: translateX(-190px); } to { transform: translateX(2420px); } }
@keyframes skin { 0%, 46.74% { clip-path: inset(0 0 0 100%); } 53.26%, 100% { clip-path: inset(0); } }
@keyframes belt { to { background-position: 80px 0; } }

/* Proof */
.proof { background: var(--paper); }
.proof h2 { font-size: clamp(30px, 3.6vw, 49px); line-height: 1; }
/* Stays on one line when it fits; otherwise breaks only between the two sentences. */
.split-head span { white-space: nowrap; }
.card-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); margin-top: var(--space-3); }
.card { display: flex; flex-direction: column; gap: var(--space-1); padding: var(--pad-box); border-radius: 8px; background: var(--white); }
.card h3 { font-size: 24px; line-height: 1; }
.card p { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.45; color: #22323d; }
.card-dark { background: var(--ink); color: var(--white); }
.card-dark h3 { color: var(--amber); }
.card-dark p { color: #e1eaf0; }

/* Calculator */
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--space-2) var(--space-6); margin-bottom: var(--space-4); }
.section-head p { max-width: 470px; font-size: 18px; line-height: 1.45; color: var(--text); }
.on-dark .section-head p { color: var(--text-on-dark); }
/* Wide screens: the heading sits over the left box and the intro paragraph starts at the
   right box's left edge, using the same 5:7 columns and gap as the boxes below. */
@media (min-width: 1001px) {
  .section-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: end; column-gap: var(--space-4); }
  .ownership .section-head { column-gap: var(--space-3); }
  /* The paragraph fills its column, split into lines of even length. */
  .section-head p { max-width: none; text-wrap: balance; }
}
.calc-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-4); }
.calc-inputs { display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-2); padding: var(--pad-box); border-radius: 8px; background: var(--paper); }
.field { display: flex; flex-direction: column; gap: 4px; }
.field-top { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-2); }
.field-top label { font-weight: 600; }
.field-top output { font-weight: 700; font-variant-numeric: tabular-nums; }
.field small { font-size: 15px; color: #4a5f6c; }
/* Each slider sits in its own band: a hairline above every field after the first, and the hint tucked close under its slider. */
.calc-inputs .field + .field { padding-top: var(--space-2); border-top: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
/* On sharp (high-density) screens the divider drops to a true hairline. */
@media (min-resolution: 2dppx) { .calc-inputs .field + .field { border-top-width: 0.5px; } }
.calc-inputs .field small { margin-top: -2px; line-height: 1.35; }
/* Sliders: amber handle with an ink edge, track filled in amber up to the handle.
   script.js sets --p (0 to 1) on each slider; the fill stops at the handle's centre. */
input[type="range"] {
  --p: 0.5;
  --thumb: 24px;
  --fill: linear-gradient(to right, var(--amber) 0 calc(var(--thumb) / 2 + (100% - var(--thumb)) * var(--p)), var(--line) 0);
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 32px; margin: 0; background: transparent; cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track { height: 8px; border-radius: 4px; background: var(--fill); box-shadow: inset 0 0 0 1px rgba(16, 38, 58, 0.12); }
input[type="range"]::-moz-range-track { height: 8px; border-radius: 4px; background: var(--fill); box-shadow: inset 0 0 0 1px rgba(16, 38, 58, 0.12); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: var(--thumb); height: var(--thumb); margin-top: calc((8px - var(--thumb)) / 2);
  border: 3px solid var(--ink); border-radius: 50%; background: var(--amber);
  box-shadow: 0 1px 3px rgba(16, 38, 58, 0.3); transition: box-shadow 0.15s ease, transform 0.15s ease;
}
input[type="range"]::-moz-range-thumb {
  box-sizing: border-box; width: var(--thumb); height: var(--thumb);
  border: 3px solid var(--ink); border-radius: 50%; background: var(--amber);
  box-shadow: 0 1px 3px rgba(16, 38, 58, 0.3); transition: box-shadow 0.15s ease, transform 0.15s ease;
}
input[type="range"]:hover::-webkit-slider-thumb, input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.1); }
input[type="range"]:hover::-moz-range-thumb, input[type="range"]:active::-moz-range-thumb { transform: scale(1.1); }
/* Keyboard focus: a clear ring around the handle instead of a box around the whole slider. */
input[type="range"]:focus-visible { outline: none; }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px var(--paper), 0 0 0 6px var(--amber-deep); }
input[type="range"]:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 3px var(--paper), 0 0 0 6px var(--amber-deep); }
@media (forced-colors: active) {
  input[type="range"] { -webkit-appearance: auto; appearance: auto; }
}
.field small span { font-variant-numeric: tabular-nums; }
.calc-result { display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-4); padding: var(--pad-box); border-radius: 8px; background: var(--ink); color: var(--white); }
.calc-headline { display: flex; flex-direction: column; gap: var(--space-1); }
.calc-result { container-type: inline-size; }
.calc-headline .calc-lead { font-size: 18px; color: var(--text-on-dark); }
.calc-figure { font-family: var(--display); font-stretch: 75%; font-weight: 800; font-size: clamp(46px, 5.8vw, 86px); line-height: 1; letter-spacing: -0.01em; color: var(--amber); font-variant-numeric: tabular-nums; white-space: nowrap; }
/* Two equal figures side by side; script.js shrinks them together if a value is too wide. */
.calc-stats { display: grid; grid-template-columns: auto auto; justify-content: start; margin-top: 6px; }
.calc-stat { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.calc-stat + .calc-stat { margin-left: clamp(18px, 5cqi, 36px); padding-left: clamp(18px, 5cqi, 36px); border-left: 1px solid var(--slate); }
.calc-stat-label { font-size: 15px; line-height: 1.3; color: var(--text-on-dark); }
.calc-stats .calc-figure { font-size: var(--fig, clamp(36px, 11.5cqi, 68px)); }
.calc-stats + .calc-warning { margin-top: var(--space-1); }
.calc-warning { font-size: 17px; line-height: 1.4; color: var(--amber-pale); }
.bars { display: flex; flex-direction: column; gap: var(--space-2); }
.bar-row { display: flex; flex-direction: column; gap: var(--space-1); }
.bar-label { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px var(--space-2); color: var(--text-on-dark); }
.bar-label b { font-variant-numeric: tabular-nums; }
.bar-row.is-direct .bar-label { color: var(--white); font-weight: 700; }
.bar-track { display: flex; height: 22px; border-radius: 3px; overflow: hidden; background: var(--ink-2) repeating-linear-gradient(90deg, transparent 0 calc(25% - 1px), rgba(255,255,255,0.08) calc(25% - 1px) 25%); }
.bar-fill { flex: none; height: 22px; background: #7d8f9c; transition: width 0.25s ease; }
.is-direct .bar-fill { background: var(--amber); }
.bar-label b.is-loss { color: #ff9f8a; }
.bar-axis { display: flex; justify-content: space-between; margin-top: calc(var(--space-1) * -1); font-size: 14px; color: var(--text-on-dark); font-variant-numeric: tabular-nums; }
.calc-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2) var(--space-3); }
.calc-foot > span { max-width: 330px; font-size: 15px; line-height: 1.4; color: var(--muted-on-dark); }

/* Who does what */
.ownership { background: var(--ink); color: var(--white); }
.ownership h2 { font-size: clamp(34px, 4.6vw, 63px); line-height: 0.95; }
@media (max-width: 1000px) {
  .ownership .section-head p { max-width: 430px; }
}
.panels { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3); }
.panel { display: flex; flex-direction: column; gap: var(--space-1); padding: var(--pad-box); border-radius: 8px; background: var(--white); color: var(--ink); }
.panel h3 { font-size: 30px; line-height: 1; }
.panel > p { margin-bottom: var(--space-1); font-size: 17px; color: var(--text); }
.panel-amber { background: var(--white); }
.panel-amber h3 { color: var(--amber-deep); }
.panel-quiet { background: transparent; border: 1px solid var(--slate); color: var(--white); }
.panel-quiet > p, .panel-quiet .items span { color: var(--text-on-dark); }
.panel-quiet .items li { border-top-color: var(--slate); }
.panel-quiet .ico-check { stroke: var(--amber); }
.panel-amber > p { color: var(--text); }
.items { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 var(--space-4); }
.panel-amber .items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.items li { display: flex; flex-direction: column; gap: 2px; padding: var(--space-2) 0; border-top: 1px solid var(--line); }
.panel-amber .items li { border-top-color: var(--line); }
.items li.has-icon { flex-direction: row; align-items: flex-start; gap: var(--space-2); }
.items li.has-icon > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ico { flex: none; width: 28px; height: 28px; fill: none; stroke: var(--amber-deep); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ico-check { width: 22px; height: 22px; margin-top: 1px; stroke: var(--amber-deep); stroke-width: 2.6; }
.items strong { font-size: 18px; line-height: 1.25; }
.items span { font-size: 16px; line-height: 1.4; color: var(--text); }
.panel-amber .items span { color: var(--text); }
.process { display: flex; flex-direction: column; gap: var(--space-3); margin-top: var(--space-6); }
.process h3 { font-size: clamp(24px, 2.2vw, 28px); line-height: 1; }
.steps-wrap { position: relative; }
.steps-line { position: absolute; left: 23px; top: 22px; width: calc((100% - 48px) * 2 / 3 + 48px); height: 2px; background: var(--slate); }
.steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); }
.steps li { display: flex; flex-direction: column; gap: var(--space-1); }
.step-num { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin-bottom: var(--space-1); border-radius: 50%; background: var(--amber); color: var(--ink); font-family: var(--display); font-stretch: 75%; font-weight: 800; font-size: 20px; }
.steps strong { font-family: var(--display); font-stretch: 75%; font-weight: 800; font-size: 25px; line-height: 1; }
.steps span:last-child { max-width: 340px; font-size: 16px; line-height: 1.4; color: var(--text-on-dark); }

/* Founder */
.founder { background: var(--paper); }
.founder-grid { display: flex; align-items: flex-start; gap: clamp(var(--space-4), 5vw, var(--space-7)); }
.founder-id { flex: none; display: flex; flex-direction: column; gap: var(--space-2); width: 300px; margin-top: var(--space-1); }
.founder-id img { width: 300px; height: 300px; object-fit: cover; border-radius: 8px; }
.founder-id div { display: flex; flex-direction: column; gap: 2px; }
.founder-id strong { font-size: 20px; }
.founder-id > div > span { font-size: 17px; color: var(--text); }
.profile-link { display: inline-flex; align-items: center; gap: var(--space-1); align-self: flex-start; min-height: 44px; margin-top: var(--space-1); padding: 0 14px; border: 1px solid var(--ink); border-radius: 4px; color: var(--ink); font-size: 16px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.profile-link:hover { background: var(--ink); color: var(--white); }
.profile-link .ico { width: 20px; height: 20px; stroke: currentColor; }
.profile-link .ico-out { width: 16px; height: 16px; opacity: 0.75; }
.profile-link .li-bug { width: auto; height: 21px; }
.profile-link:hover { background: transparent; color: var(--ink); border-color: var(--slate); text-decoration: underline; text-underline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.founder-body { display: flex; flex-direction: column; gap: var(--space-3); min-width: 0; }
.founder h2 { font-size: clamp(30px, 3.7vw, 50px); line-height: 0.96; }
.founder-body > p { max-width: 760px; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.5; color: var(--text); }
.roles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--space-5); }
.roles li { display: flex; flex-direction: column; gap: 2px; padding: var(--space-2) 0; border-top: 2px solid var(--ink); }
.roles strong { font-size: 18px; }
.roles span { font-size: 16px; line-height: 1.4; color: var(--text); }
/* Location line under the founder's title: one line at 16px, pin aligned to the first line. */
.founder-id .founder-loc { display: flex; align-items: flex-start; gap: 6px; margin-top: var(--space-1); font-size: 16px; line-height: 1.4; color: var(--text); }
.founder-loc svg { flex: none; width: 18px; height: 18px; margin-top: 2px; fill: none; stroke: var(--amber-deep); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* The same two credentials as the hero, closing the founder section under the roles. */
.founder-creds { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1) var(--space-4); padding-top: var(--space-2); border-top: 2px solid var(--ink); line-height: 1.3; }
.founder-creds li { display: flex; align-items: center; gap: var(--space-1); font-size: 17px; font-weight: 600; color: var(--ink); }
.founder-creds .ico { width: 24px; height: 24px; }

/* Testimonials: compact section after the founder; two equal dark cards that stack below 820px.
   Quote text is 16px (owner's choice) with a small inline amber quote mark. */
.quotes.section { padding: clamp(var(--space-4), 3.4vw, var(--space-6)) 0; }
.quotes h2 { font-size: clamp(30px, 3.6vw, 49px); line-height: 1; }
.quote-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); margin-top: var(--space-3); }
.quote { display: flex; flex-direction: column; gap: var(--space-2); margin: 0; padding: var(--pad-box); border-radius: 8px; background: var(--ink); }
.quote blockquote { margin: 0; font-size: 16px; line-height: 1.5; color: var(--white); }
.quote-mark { margin-right: 4px; font-family: var(--display); font-stretch: 75%; font-weight: 800; font-size: 30px; line-height: 0; vertical-align: -7px; color: var(--amber); }
/* Name and title share a line when they fit; otherwise the whole title drops below the name, never breaking mid-title. */
.quote figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 0; margin-top: auto; font-size: 16px; color: var(--muted-on-dark); }
.quote figcaption strong { font-size: 17px; color: var(--white); }
.q-sep { margin: 0 0.4em; }
.q-title { white-space: nowrap; }
/* While cards sit side by side they are too narrow for name and title on one line, so every card stacks them, as on phones. */
@media (min-width: 821px) {
  .quote figcaption { flex-direction: column; line-height: 1.3; }
  .quote .q-sep { display: none; }
}

/* Common questions */
.faq-grid { display: flex; align-items: flex-start; gap: clamp(var(--space-4), 5vw, var(--space-7)); }
.faq-head { flex: none; display: flex; flex-direction: column; gap: var(--space-2); width: min(380px, 100%); }
/* Short heading: always one line. At full size it runs about 20px past its 380px column into the gap, never into the questions. */
.faq-head h2 { font-size: clamp(32px, 3.9vw, 52px); line-height: 0.96; white-space: nowrap; }
.faq-head p { font-size: 18px; line-height: 1.45; color: var(--text); }
.faq-list { flex: 1 1 0; min-width: 0; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); min-height: 56px; padding: var(--space-1) 0; list-style: none; cursor: pointer; font-size: 18px; font-weight: 600; line-height: 1.3; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list .pm { flex: none; font-size: 28px; line-height: 1; color: var(--amber-deep); transition: transform 0.15s ease; }
.faq-list details[open] .pm { transform: rotate(45deg); }
.faq-list details p { max-width: 760px; padding: 0 var(--space-5) var(--space-3) 0; line-height: 1.55; color: var(--text); }

/* Closing offer */
.contact { background: var(--amber); }
.contact-grid { display: flex; align-items: flex-start; gap: clamp(var(--space-4), 5vw, var(--space-7)); }
.contact-copy { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: var(--space-3); }
.contact h2 { font-size: clamp(38px, 5.4vw, 74px); line-height: 0.93; letter-spacing: -0.015em; }
.contact-copy p { max-width: 600px; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.45; color: #22323d; }
.contact-form { flex: none; display: flex; flex-direction: column; gap: var(--space-2); width: min(460px, 100%); padding: var(--pad-box); border-radius: 8px; background: var(--white); }
.contact-form h3 { font-size: 26px; line-height: 1; }
.contact-form .field { gap: var(--space-1); }
.contact-form label { font-size: 17px; font-weight: 700; }
.contact-form input, .contact-form textarea { display: block; width: 100%; min-height: 50px; padding: 10px 12px; border: 1px solid #6f8593; border-radius: 4px; background: var(--white); color: var(--ink); font-size: 17px; }
.contact-form textarea { min-height: 96px; resize: vertical; }
.contact-form .btn { min-height: 52px; font-size: 17px; }
.form-note, #status { font-size: 15px; line-height: 1.4; color: var(--text); overflow-wrap: anywhere; }
#status:empty { display: none; }
#status.is-ok { padding: 12px var(--space-2); border-left: 4px solid var(--amber); border-radius: 4px; background: var(--paper); color: var(--ink); font-weight: 600; }
#status.is-error, .field-error { color: var(--error); font-weight: 600; }
.field-error { font-size: 15px; line-height: 1.4; }
.contact-form [aria-invalid="true"] { border-color: var(--error); box-shadow: inset 0 0 0 1px var(--error); }
.contact-form .btn:disabled { opacity: 0.7; cursor: progress; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.contact :focus-visible { outline-color: var(--ink); }

/* Footer */
.site-footer { background: var(--ink); color: var(--text-on-dark); font-size: 15px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-1) var(--space-3); padding: var(--space-3) 0; }
.footer-inner strong { color: var(--white); }
.footer-inner > a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-inner p a { color: var(--white); text-underline-offset: 3px; }

/* Page not found */
.notfound { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-3); min-height: 60vh; justify-content: center; }
.notfound p { max-width: 520px; font-size: 19px; color: var(--text); }

/* Privacy page: one readable column of plain text. */
.legal > * { max-width: 720px; }
.legal h1 { font-size: clamp(38px, 5.4vw, 74px); line-height: 0.96; letter-spacing: -0.01em; }
.legal h2 { margin-top: var(--space-5); font-size: clamp(24px, 2.4vw, 30px); line-height: 1.1; }
.legal p { margin-top: var(--space-2); color: var(--text); }
.legal h2 + p { margin-top: var(--space-1); }
.legal .legal-date { margin-top: var(--space-1); color: var(--slate); font-size: 15px; }
.legal a { text-underline-offset: 3px; }
.legal a:hover { color: var(--amber-deep); }
.legal-back { margin-top: var(--space-4); }
.footer-inner small a { text-underline-offset: 3px; }
.footer-inner small a:hover { color: var(--white); }

@media (max-width: 1000px) {
  /* Two across on mid-size screens; an odd last card spans the full row. */
  .quote-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quote:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .calc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2); }
  .calc-figure { font-size: clamp(28px, 4.9vw, 56px); }
  .calc-foot .btn { min-height: 48px; padding: 10px 20px; }
  .panels { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: var(--space-2); }
  .card-pair { gap: var(--space-2); }
  .panel-amber .items { grid-template-columns: minmax(0, 1fr); }
  .faq-grid, .contact-grid { flex-direction: column; align-items: stretch; }
  .contact-form { width: 100%; }
}
/* The menu button takes over before the links run out of room beside the logo. */
/* Tighter link spacing keeps the full navigation on one row down to 881px. */
@media (max-width: 1000px) {
  .site-nav { gap: 18px; }
}
/* Below that, the links open from the Menu button as a dropdown card under it. */
@media (max-width: 880px) {
  .header-inner { position: relative; }
  .menu-toggle { display: inline-flex; }
  .site-nav { position: absolute; z-index: 20; top: calc(100% - 6px); right: 0; left: auto; width: min(320px, 100%); display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 10px 18px; border: 1px solid var(--slate); border-radius: 8px; background: var(--ink); box-shadow: 0 18px 44px rgba(4, 14, 24, 0.55); }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { display: flex; align-items: center; min-height: 48px; padding: 0 12px; border-radius: 4px; }
  .site-nav a:not(.btn):hover { background: var(--ink-2); text-decoration: none; }
  .site-nav .btn { align-self: stretch; justify-content: center; margin: 10px 12px 0; }
  .menu-toggle[aria-expanded="true"] { border-color: var(--amber); }
}
@media (max-width: 820px) {
  :root { --header-h: 62px; --header-tall: 62px; }
  body { font-size: 17px; }
  .brand img, .header-slot.is-compact .brand img { height: 46px; }
  .btn-lg, .contact-form .btn, .site-nav .btn, .calc-foot .btn { min-height: 50px; font-size: 20px; }
  .site-nav .btn { padding: 0 24px; }

  .founder-grid { flex-direction: column; }
  .founder-id { flex-direction: row; align-items: center; width: auto; margin-top: 0; }
  .founder-id img { width: 128px; height: 128px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: var(--space-3); }
  .quote-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-2); }
  .quote:last-child:nth-child(odd) { grid-column: auto; }
  .steps-line { top: 23px; left: 22px; width: 2px; height: calc(100% - 60px); }
  .steps li { padding-left: 64px; position: relative; min-height: 46px; }
  .step-num { position: absolute; left: 0; top: 0; margin: 0; }
  .steps span:last-child { max-width: none; }
  .hero h1 br { display: none; }
  .scene-note, .rail { display: none; }
  .stage-caption { display: flex; }
  .hero { padding-bottom: var(--space-3); }
  .stage { height: 178px; }
  .scene { transform: scale(0.72); transform-origin: 50% 0; }
}
@media (max-width: 600px) {
  .panels, .calc-grid, .card-pair { grid-template-columns: minmax(0, 1fr); gap: var(--space-3); }
  .card-pair { gap: var(--space-2); }
  .calc-figure { font-size: clamp(44px, 12vw, 64px); }
  .hero-creds, .founder-creds { flex-direction: column; align-items: flex-start; }
  /* On phones the testimonial name and title always stack, without the comma. */
  .quote figcaption { flex-direction: column; line-height: 1.3; }
  .q-sep { display: none; }
  .q-title { white-space: normal; }
}
@media (max-width: 620px) {
  .wrap { width: calc(100% - 36px); }
  .roles { grid-template-columns: minmax(0, 1fr); }
  .calc-foot .btn-wrap { width: min-content; padding: 10px 24px; }
  .profile-link { gap: 6px; padding: 0 10px; }
  .profile-link .ico-out { display: none; }
  .faq-list summary { font-size: 17px; }
  .faq-list details p { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bx, .sk-amber, .belt { animation-play-state: paused; }
  .bar-fill, .faq-list .pm, .header-inner, .brand img { transition: none; }
  input[type="range"]::-webkit-slider-thumb { transition: none; }
  input[type="range"]::-moz-range-thumb { transition: none; }
}

/* ---------------------------------------------------------------------------------------------
   Light and gradients (added in 6.9, reworked in 6.11). Two glow colors, --glow-blue and
   --glow-gold, are used only here; everything else comes from the base variables.
   --------------------------------------------------------------------------------------------- */
:root {
  /* Glow colors (6.11): stronger than --slate and --amber so the light reads clearly on navy. Glows only. */
  --glow-blue: #2a6db0;
  --glow-gold: #f08a24;
  /* Each glow is one slightly stretched field entering from the edge: a firm core that fades over a
     short band. "Strong" for the hero, "soft" for the services section. */
  --glow-blue-strong: color-mix(in srgb, var(--glow-blue) 81%, transparent) 0%, color-mix(in srgb, var(--glow-blue) 59%, transparent) 30%, color-mix(in srgb, var(--glow-blue) 16%, transparent) 60%, transparent 78%;
  --glow-blue-soft: color-mix(in srgb, var(--glow-blue) 72%, transparent) 0%, color-mix(in srgb, var(--glow-blue) 52%, transparent) 30%, color-mix(in srgb, var(--glow-blue) 14%, transparent) 60%, transparent 78%;
  --glow-gold-strong: color-mix(in srgb, var(--glow-gold) 56%, transparent) 0%, color-mix(in srgb, var(--glow-gold) 41%, transparent) 30%, color-mix(in srgb, var(--glow-gold) 11%, transparent) 60%, transparent 78%;
  --glow-gold-soft: color-mix(in srgb, var(--glow-gold) 50%, transparent) 0%, color-mix(in srgb, var(--glow-gold) 36%, transparent) 30%, color-mix(in srgb, var(--glow-gold) 9%, transparent) 60%, transparent 78%;
  /* Amber to pale amber to blue-grey: the accent line used on the steps, header hairline and outlined button. */
  --accent-line: linear-gradient(90deg, var(--amber), var(--amber-pale) 50%, var(--muted-on-dark));
}

/* Hero: one gold glow in the open space right of the headline (the owner removed the blue glow in 6.13).
   background-blend-mode: screen adds the light to the navy, so it brightens instead of turning muddy. */
.hero {
  background:
    radial-gradient(ellipse clamp(347px, 39.6vw, 644px) clamp(231px, 28.9vw, 462px) at 96% 34%, var(--glow-gold-strong)),
    var(--ink);
  background-blend-mode: screen, normal;
}
/* The conveyor fades out at its ends with a mask (instead of solid --ink overlays) so the light shows through without a seam. */
.stage::before, .stage::after { display: none; }
.stage {
  -webkit-mask-image: linear-gradient(90deg, transparent, black clamp(36px, 11vw, 170px), black calc(100% - clamp(36px, 11vw, 170px)), transparent);
  mask-image: linear-gradient(90deg, transparent, black clamp(36px, 11vw, 170px), black calc(100% - clamp(36px, 11vw, 170px)), transparent);
}
/* "Run the numbers yourself": outlined button. The gradient outline is a masked layer, so the inside stays see-through. */
.hero-actions .text-link { position: relative; min-height: 50px; padding: 0 var(--space-3); border-radius: 4px; text-decoration: none; }
.hero-actions .text-link::before { content: ""; position: absolute; inset: 0; padding: 1px; border-radius: inherit; background: var(--accent-line); -webkit-mask: linear-gradient(black 0 0) content-box, linear-gradient(black 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.hero-actions .text-link:hover { color: var(--amber-pale); background: color-mix(in srgb, var(--white) 6%, transparent); }

/* Thin accent line under the header (also on the privacy and 404 pages). */
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--amber) 25%, var(--amber-pale) 50%, var(--muted-on-dark) 75%, transparent); opacity: 0.7; }

/* Dark cards get a slight lift in the top-left corner. */
.quote, .card-dark, .calc-result { background: radial-gradient(circle at 0% 0%, var(--ink-2), var(--ink) 75%); }

/* "You own the channel": blue behind the lower part of "Yours", gold at the bottom-right edge, clear of the "Operate" text. */
.ownership {
  background:
    radial-gradient(ellipse clamp(400px, 44vw, 720px) clamp(280px, 31vw, 520px) at 10% 62%, var(--glow-blue-soft)),
    radial-gradient(ellipse clamp(380px, 42vw, 680px) clamp(240px, 27vw, 440px) at 102% 88%, var(--glow-gold-soft)),
    var(--ink);
  background-blend-mode: screen, screen, normal;
}
.steps-line { background: var(--accent-line); }

/* Contact: a horizon at the bottom edge. Glow blue rises from the bottom-left, glow gold from the
   bottom-right. Extra bottom padding (--space-6) gives the light room below the form. */
.contact {
  padding-bottom: calc(clamp(var(--space-5), 4.4vw, var(--space-7)) + var(--space-6));
  background:
    radial-gradient(ellipse 42% 50% at 0% 100%, color-mix(in srgb, var(--glow-blue) 62%, transparent), transparent 100%),
    radial-gradient(ellipse 24% 32% at 20% 100%, color-mix(in srgb, var(--glow-blue) 30%, transparent), transparent 100%),
    radial-gradient(ellipse 50% 54% at 100% 100%, color-mix(in srgb, var(--glow-gold) 75%, transparent), transparent 100%),
    radial-gradient(ellipse 26% 34% at 74% 100%, color-mix(in srgb, var(--glow-gold) 50%, transparent), transparent 100%),
    var(--amber);
}

@media (max-width: 820px) {
  /* The steps line runs down the page here, so its gradient does too. */
  .steps-line { background: linear-gradient(180deg, var(--amber), var(--amber-pale) 50%, var(--muted-on-dark)); }
  /* The services section is much taller on narrow screens: blue moves up behind "Yours", gold stays by the steps. */
  .ownership {
    background:
      radial-gradient(ellipse 400px 380px at 4% 22%, var(--glow-blue-soft)),
      radial-gradient(ellipse 260px 280px at 118% 96%, var(--glow-gold-soft)),
      var(--ink);
    background-blend-mode: screen, screen, normal;
  }
}
@media (max-width: 600px) {
  /* On phones the hero glow is smaller and pushed to the edge, so it never sits behind the text. */
  .hero {
    background:
      radial-gradient(ellipse 189px 198px at 111% 17%, var(--glow-gold-strong)),
      var(--ink);
    background-blend-mode: screen, normal;
  }
}
