/* BlueHarbor — shared styles */

:root {
  color-scheme: dark;

  /* BlueHarbor palette */
  --night: #0B1E3A;
  --night-2: #16305A;
  --night-line: #243F6B;
  --mist: #F2F4F8;
  --steel: #DCE5F5;
  --harbor: #A8BEEA;
  --ink-3: #8DA0BC;
  --brand: #245BFF;
  --navy: #091827;
  --brand-soft: #DCE6FF;
  --signal: #FF6B3D;

  /* Logo gradients (from the BlueHarbor logo mock-up) */
  --bh-white: #F7F7F9;
  --bh-silver: #CDD4DF;
  --bh-steel: #6480AA;
  --bh-deep: #1C3A90;
  --bh-mid: #6785AF;
  --bh-pale: #ACBED3;
  --grad-steel: linear-gradient(180deg, var(--bh-white) 0%, var(--bh-silver) 50%, var(--bh-steel) 100%);
  --grad-harbor: linear-gradient(160deg, var(--bh-pale) 0%, var(--bh-mid) 40%, var(--bh-deep) 100%);
  --grad-harbor-x: linear-gradient(90deg, var(--bh-deep) 0%, var(--bh-mid) 70%, var(--bh-pale) 100%);

  /* Roles */
  --canvas: var(--navy);
  --surface: var(--night);
  --raised: color-mix(in oklab, var(--night) 55%, var(--night-2));
  --line: var(--night-line);
  --line-soft: color-mix(in oklab, var(--night-line) 55%, var(--night));
  --text-strong: var(--mist);
  --text: var(--steel);
  --text-2: var(--harbor);
  --text-3: var(--ink-3);
  --pod-off: color-mix(in oklab, var(--night-line) 70%, var(--night));
  --pod-prev: color-mix(in oklab, var(--brand) 40%, var(--night));

  --display: "Familjen Grotesk", "Neue Haas Unica", "Helvetica Neue", Helvetica, sans-serif;
  --sans: "IBM Plex Sans", "Helvetica Neue", Helvetica, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --max: 1200px;
  --gutter: 40px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--mist);
  color: var(--text);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; color: var(--text-strong); text-wrap: balance; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 1px solid var(--brand-soft); outline-offset: 3px; }

.wrap { max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* Type */
.display { font-size: clamp(44px, 6.4vw, 92px); line-height: 1.02; letter-spacing: -0.035em; padding-bottom: .06em; }
.steel { background: linear-gradient(180deg, var(--bh-white) 25%, var(--bh-silver) 65%, color-mix(in oklab, var(--bh-steel) 70%, var(--bh-silver)) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h1 { font-size: clamp(34px, 4.2vw, 56px); line-height: 1.05; letter-spacing: -0.025em; }
.h2 { font-size: clamp(28px, 3.2vw, 44px); line-height: 1.1; letter-spacing: -0.02em; max-width: 24ch; }
.h3 { font-size: 21px; line-height: 1.25; letter-spacing: -0.01em; }
.statement { font-family: var(--display); font-size: clamp(26px, 2.7vw, 38px); line-height: 1.2; letter-spacing: -0.015em; color: var(--text-3); max-width: 34ch; }
.statement b { font-weight: 400; color: var(--text-strong); }
.lede { font-size: 19px; line-height: 1.55; color: var(--text); max-width: 52ch; }
.body { font-size: 16px; line-height: 1.6; color: var(--text-2); max-width: 56ch; }
.small { font-size: 14px; line-height: 1.55; color: var(--text-3); }
.num { font-family: var(--mono); font-feature-settings: "tnum"; }
.tag { font-family: var(--mono); font-size: 11px; line-height: 1.4; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-3); }

/* Nav */
html { scroll-padding-top: 80px; }
.nav { position: sticky; top: 0; z-index: 20; background: var(--canvas); border-bottom: 1px solid var(--line-soft); }
.nav .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; height: 64px; max-width: none; padding-inline: clamp(16px, 5vw, 96px); }
.logo { justify-self: start; display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 19px; letter-spacing: -0.01em; color: var(--text-strong); }
.logo svg { width: 24px; height: 24px; flex: none; }
.nav-links { display: flex; gap: 4px; font-size: 15px; }
.nav-links a { position: relative; padding: 8px 12px; color: var(--text-2); transition: color .15s; }
.nav-links a:hover { color: var(--text-strong); }
.nav-links a[aria-current="true"] { color: var(--text-strong); }
.nav-links a[aria-current="true"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -13px; height: 1px; background: linear-gradient(90deg, var(--bh-white), var(--bh-steel)); }
.nav-actions { justify-self: end; display: flex; align-items: center; gap: 20px; font-size: 15px; }
.nav-actions .text-link { color: var(--text-2); transition: color .15s; }
.nav-actions .text-link:hover { color: var(--text-strong); }
.nav-actions .btn { padding: 8px 14px; font-size: 14px; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 1px; color: var(--text); font: 500 14px var(--sans); padding: 7px 12px; cursor: pointer; }
.menu-panel { display: none; }

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 16px;
  background: linear-gradient(180deg, var(--brand) 0%, var(--bh-deep) 100%); color: #fff;
  border: 1px solid var(--brand); border-radius: 1px;
  font-size: 15px; font-weight: 500;
  transition: background .15s, border-color .15s;
}
.btn:hover { background: linear-gradient(180deg, color-mix(in oklab, var(--brand) 85%, #fff) 0%, var(--brand) 100%); }
.btn-quiet { background: transparent; border-color: var(--line); color: var(--text); }
.btn-quiet:hover { background: transparent; border-color: var(--text-2); color: var(--text-strong); }
.link { color: var(--text); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; transition: text-decoration-color .15s, color .15s; }
.link:hover { color: var(--text-strong); text-decoration-color: var(--text-2); }

/* Sections */
.section { padding-block: 128px; }
.section.ruled { border-top: 1px solid var(--line-soft); }
.caption { margin-top: 12px; font-size: 13px; color: var(--text-3); }

/* ---------- Hero (full screen, wide) ---------- */
.hero-full {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: calc(100vh - 64px);
  min-height: calc(100svh - 64px);
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); grid-template-rows: 1fr auto;
  padding-inline: clamp(16px, 5vw, 96px);
  border-bottom: 1px solid var(--line-soft);
}
/* Texture: fine dot screen behind the rack, fading to the left, plus a soft light from the lower right */
.hero-full::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(circle at center, color-mix(in oklab, var(--harbor) 30%, transparent) 0.7px, transparent 1.1px);
  background-size: 5px 5px;
  -webkit-mask-image: linear-gradient(to left, #000 0%, rgba(0,0,0,.55) 38%, transparent 68%);
          mask-image: linear-gradient(to left, #000 0%, rgba(0,0,0,.55) 38%, transparent 68%);
}
.hero-full::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(200deg, transparent 40%, color-mix(in oklab, var(--bh-steel) 22%, transparent) 100%),
    linear-gradient(200deg, transparent 20%, color-mix(in oklab, var(--night-2) 70%, transparent) 100%);
}
.hero-copy { grid-column: 1; grid-row: 1; align-self: end; padding-block: clamp(24px, 6svh, 72px) clamp(20px, 4.5svh, 48px); position: relative; z-index: 1; }
.hero-copy h1 { max-width: 12ch; font-size: clamp(40px, min(6.4vw, 10.5svh), 112px); }
.hero-copy .lede { margin-top: clamp(14px, 2.6svh, 28px); max-width: 44ch; }
.hero-actions { margin-top: clamp(18px, 3.4svh, 36px); display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions .btn { padding: 13px 20px; font-size: 16px; }
.hero-art { grid-column: 2; grid-row: 1 / 3; position: relative; display: flex; align-items: flex-end; justify-content: center; }
.hero-art img { height: min(calc(100svh - 64px - 48px), 1240px); width: auto; max-width: 100%; object-fit: contain; object-position: bottom; margin-bottom: -2px; }
.hero-art.cover { margin-right: calc(clamp(16px, 5vw, 96px) * -1); align-items: stretch; }
.hero-art.cover img { height: 100%; width: 100%; max-width: none; object-fit: cover; object-position: center; margin: 0; }
.hero-art .tag { position: absolute; top: 28px; right: 0; }
.hero-art.cover .tag { top: auto; bottom: 16px; right: 16px; padding: 4px 8px; background: color-mix(in oklab, var(--canvas) 80%, transparent); color: var(--text-2); }
.hero-strip { grid-column: 1; grid-row: 2; display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 0; border-top: 1px solid var(--line); position: relative; z-index: 1; }
.hero-strip > div { padding: clamp(10px, 2svh, 18px) 32px clamp(14px, 3svh, 28px) 0; margin-right: 32px; border-right: 1px solid var(--line-soft); }
.hero-strip > div:last-child { border-right: 0; margin-right: 0; }
.hero-strip b { display: block; font-family: var(--mono); font-weight: 400; font-size: 20px; color: var(--text-strong); }
.hero-strip span { font-size: 13px; color: var(--text-3); }

/* ---------- Statement + image pair ---------- */
.duo { display: grid; grid-template-columns: 4fr 8fr; gap: 16px; margin-top: 56px; }
.duo figure { position: relative; overflow: hidden; background: var(--surface); }
.duo img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; min-height: 440px; }
.duo figcaption { position: absolute; left: 16px; bottom: 14px; padding: 4px 8px; background: color-mix(in oklab, var(--canvas) 80%, transparent); font-size: 12px; color: var(--text-2); }

/* ---------- Comparison ---------- */
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-top: 72px; }
.versus > div { border-left: 1px dashed var(--line); padding-left: 24px; }
.versus h3 { font-size: 20px; }
.versus h3 span { display: block; color: var(--text-3); }
.versus svg { display: block; width: 100%; max-width: 420px; height: auto; margin: 40px 0; }
.versus li { padding: 6px 0; font-size: 15px; color: var(--text-3); }
.versus li b { font-weight: 400; color: var(--text-strong); }
.line-art { fill: none; stroke: var(--line); stroke-width: 1; }
.line-art .dash { stroke-dasharray: 3 4; }
.line-art .hot { stroke: var(--signal); }
.line-art .pod { fill: url(#pod-grad); stroke: none; }
.line-art .pod-next { fill: none; stroke: var(--bh-steel); stroke-dasharray: 3 3; }
.line-art text { font-family: var(--mono); font-size: 10px; letter-spacing: 0.04em; fill: var(--text-3); stroke: none; }
.line-art text.hot { fill: var(--signal); }
.line-art text.cool { fill: var(--brand-soft); }

/* ---------- Figure + numbered list ---------- */
.fig-split { display: grid; grid-template-columns: 7fr 5fr; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); margin-top: 56px; }
.fig-split figure { position: relative; padding: 56px 32px 56px 0; border-right: 1px solid var(--line-soft); display: grid; align-items: center; }
.fig-split figure .tag { position: absolute; left: 0; bottom: 16px; }
.numbered li { display: grid; grid-template-columns: 28px 1fr; gap: 8px; padding: 24px 0 24px 32px; border-bottom: 1px solid var(--line-soft); }
.numbered li:last-child { border-bottom: 0; }
.numbered .n { font-family: var(--mono); font-size: 13px; color: var(--text-3); padding-top: 3px; }
.numbered h3 { font-size: 18px; }
.numbered p { margin-top: 6px; font-size: 15px; color: var(--text-2); }

/* ---------- 2x2 panels ---------- */
.panels { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; }
.panel { background: var(--surface); border: 1px solid var(--line-soft); padding: 28px; display: flex; flex-direction: column; min-height: 340px; }
.panel h3 { font-size: 20px; }
.panel h3 + p { margin-top: 6px; color: var(--text-3); font-size: 15px; max-width: 44ch; }
.panel .viz { margin-top: auto; padding-top: 40px; }

/* Timeline */
.timeline-bar { display: flex; height: 40px; gap: 3px; }
.timeline-bar span { background: var(--pod-prev); }
.timeline-bar span:first-child { background: var(--pod-off); }
.timeline-bar span:last-child { background: var(--grad-steel); }
.timeline-bar span:nth-child(2) { background: var(--grad-harbor); }
.timeline-keys { display: grid; grid-template-columns: 1fr auto auto; gap: 24px; margin-top: 14px; }
.timeline-keys div:not(:first-child) { text-align: right; }
.timeline-keys b { display: block; font-weight: 400; color: var(--text-strong); font-family: var(--mono); font-size: 14px; }
.timeline-keys span { font-size: 13px; color: var(--text-3); }

/* Pods */
.pods { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; }
.pods i { aspect-ratio: 2.4 / 1; background: var(--pod-off); }
.pods i.prev { background: color-mix(in oklab, var(--bh-deep) 75%, var(--night)); }
.pods i.on { background: var(--grad-harbor); }
.phases .phase { display: grid; grid-template-columns: 76px 1fr 56px; gap: 16px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line-soft); }
.phases .phase:last-child { border-bottom: 1px solid var(--line-soft); }
.phases .phase > span:first-child { font-size: 14px; color: var(--text-2); }
.phases .mw { text-align: right; font-family: var(--mono); font-size: 14px; color: var(--text-strong); }
@keyframes pod-on { from { opacity: .15; } to { opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
  .js .phases .pods i.on { background: var(--pod-off); }
  .js .phases.in .pods i.on { animation: pod-on .45s ease-out both; }
  .js .phases.in .pods i.on { background: var(--grad-harbor); }
  .js .phases.in .phase:nth-child(2) .pods i.on { animation-delay: .25s; }
  .js .phases.in .phase:nth-child(3) .pods i.on { animation-delay: .5s; }
}

/* PUE bars */
.bars { display: grid; gap: 12px; }
.bars .row { display: grid; grid-template-columns: 96px 1fr 40px; gap: 12px; align-items: center; font-size: 14px; color: var(--text-2); }
.bars .track { height: 28px; background: var(--pod-off); position: relative; }
.bars .fill { position: absolute; inset: 0 auto 0 0; background: var(--line); }
.bars .fill.ours { background: var(--grad-harbor-x); }
.bars .row span:last-child { text-align: right; font-family: var(--mono); color: var(--text-strong); }

/* Sites */
.sites > div { display: grid; grid-template-columns: 90px 1fr 140px; gap: 16px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line-soft); font-size: 14px; }
.sites > div:last-child { border-bottom: 1px solid var(--line-soft); }
.sites b { font-weight: 400; color: var(--text-strong); font-size: 15px; }
.sites span { color: var(--text-2); }
.sites .pods i { background: transparent; outline: 1px solid var(--line); outline-offset: -1px; }
.sites .pods.built i { background: var(--grad-harbor); outline: 0; }

/* ---------- Cards (audiences) ---------- */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; }
.card { background: var(--surface); border: 1px solid var(--line-soft); padding: 32px; display: flex; flex-direction: column; min-height: 300px; }
.card h3 { font-size: 24px; }
.card p { margin-top: 10px; color: var(--text-2); max-width: 44ch; }
.card .actions { margin-top: auto; padding-top: 32px; }

/* ---------- Tables ---------- */
.rows { border-top: 1px solid var(--line); }
.rows > div { display: grid; grid-template-columns: 2fr 3fr; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.rows dt { color: var(--text-3); font-size: 15px; }
.rows dd { color: var(--text-strong); font-size: 16px; }
.rows dd .small { display: block; margin-top: 2px; }

/* Team */
.team { margin-top: 56px; border-top: 1px solid var(--line); }
.team > div { display: grid; grid-template-columns: 4fr 8fr; gap: 32px; padding: 28px 0; border-bottom: 1px solid var(--line-soft); }
.team h3 { font-size: 20px; }
.team p { color: var(--text-2); max-width: 60ch; }
.team p + p { margin-top: 10px; }

/* Contact */
.contact { border-top: 1px solid var(--line-soft); padding-block: 128px; }
.contact .lede { margin-top: 24px; }
.contact .actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; }

/* Sources */
.sources { margin-top: 64px; }
.sources h3 { font-size: 17px; }
.sources ul { margin-top: 16px; border-top: 1px solid var(--line-soft); }
.sources li { display: grid; grid-template-columns: 2fr 6fr 2fr; gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; }
.sources li b { font-weight: 500; color: var(--text); }
.sources li span { color: var(--text-2); }
.sources li em { font-style: normal; color: var(--text-3); text-align: right; }

/* Footer */
.footer { border-top: 1px solid var(--line-soft); padding-block: 72px 40px; }
.footer-grid { display: grid; grid-template-columns: 6fr 3fr 3fr; gap: 40px; }
.footer .big { font-family: var(--display); font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; letter-spacing: -0.015em; color: var(--text-3); max-width: 20ch; }
.footer nav { display: grid; gap: 8px; align-content: start; font-size: 15px; }
.footer nav a { color: var(--text-2); }
.footer nav a:hover { color: var(--text-strong); }
.footer .legal { margin-top: 72px; padding-top: 20px; border-top: 1px solid var(--line-soft); display: grid; gap: 6px; }

/* Campus page helpers */
.why { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: start; }
.split { display: grid; grid-template-columns: 6fr 5fr; gap: 64px; margin-top: 56px; align-items: start; }

/* Responsive */
@media (max-width: 960px) {
  :root { --gutter: 24px; }
  .hero-full { min-height: auto; display: flex; flex-direction: column; padding-inline: var(--gutter); }
  .hero-full::before { -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 60%); mask-image: linear-gradient(to top, #000 0%, transparent 60%); }
  .hero-copy { padding-block: 48px 32px; }
  .hero-art { min-height: 0; }
  .hero-art img { height: auto; width: min(100%, 440px); }
  .hero-art.cover { margin-right: calc(var(--gutter) * -1); margin-left: calc(var(--gutter) * -1); height: 320px; }
  .hero-strip { grid-template-columns: 1fr 1fr; }
  .hero-strip > div { margin-right: 0; padding: 16px 16px 20px 0; border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .duo, .versus, .fig-split, .panels, .cards, .why, .split { grid-template-columns: 1fr; }
  .duo img { min-height: 320px; }
  .fig-split figure { border-right: 0; border-bottom: 1px solid var(--line-soft); padding-right: 0; }
  .numbered li { padding-left: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  :root { --gutter: 16px; }
  .nav .wrap { grid-template-columns: 1fr auto; }
  .nav-links, .nav-actions { display: none; }
  .menu-btn { display: inline-flex; justify-self: end; }
  .menu-panel { border-top: 1px solid var(--line-soft); padding: 8px var(--gutter) 20px; }
  .nav.open .menu-panel { display: grid; }
  .menu-panel a { padding: 12px 0; border-bottom: 1px solid var(--line-soft); color: var(--text); font-size: 17px; }
  .menu-panel .btn { margin-top: 16px; border-bottom: 0; font-size: 16px; padding: 12px; }
  .section, .contact { padding-block: 80px; }
  .lede { font-size: 17px; }
  .panel, .card { padding: 22px; min-height: 0; }
  .rows > div, .team > div { grid-template-columns: 1fr; gap: 4px; }
  .timeline-keys { grid-template-columns: 1fr; gap: 10px; }
  .timeline-keys div:not(:first-child) { text-align: left; }
  .sites > div { grid-template-columns: 1fr 1fr; }
  .sites .pods { grid-column: 1 / -1; }
  .sources li { grid-template-columns: 1fr; gap: 2px; }
  .sources li em { text-align: left; }
  .footer-grid { grid-template-columns: 1fr; }
}



/* Short desktop screens (laptops): keep the whole hero above the fold */
@media (min-width: 961px) and (max-height: 820px) {
  .hero-copy h1 { font-size: clamp(40px, min(6vw, 9svh), 96px); }
  .hero-copy .lede { font-size: 17px; }
  .hero-strip b { font-size: 17px; }
  .hero-strip span { font-size: 12px; }
}


/* =========================================================
   Blend: light page, navy sections and navy cards
   ========================================================= */
.hero-full, .dark { background: var(--navy); }

/* Light role tokens */
.light {
  background: var(--mist);
  color: #0A1F3C;
  --canvas: var(--mist);
  --surface: #FFFFFF;
  --text-strong: #0A1F3C;
  --text: #0A1F3C;
  --text-2: #4E6384;
  --text-3: #576B8A;
  --line: #C3CEDF;
  --line-soft: #DCE3EE;
  --pod-off: #DCE3EE;
}
.light .line-art .hot { stroke: #D2490F; }
.light .line-art text.hot { fill: #C4420C; }
.light .line-art text.cool { fill: var(--bh-deep); }
.light .btn-quiet { border-color: #B5C2D6; color: #0A1F3C; }
.light .btn-quiet:hover { border-color: #0A1F3C; color: #0A1F3C; }
.light .link { text-decoration-color: #B5C2D6; }

/* Navy role tokens, for navy blocks inside light sections */
.ink {
  background: linear-gradient(160deg, #10284F 0%, var(--navy) 70%);
  color: var(--steel);
  --canvas: var(--night);
  --surface: var(--night);
  --text-strong: var(--mist);
  --text: var(--steel);
  --text-2: var(--harbor);
  --text-3: #8DA0BC;
  --line: var(--night-line);
  --line-soft: color-mix(in oklab, var(--night-line) 55%, var(--night));
  --pod-off: color-mix(in oklab, var(--night-line) 70%, var(--night));
}
.ink .line-art .hot { stroke: var(--signal); }
.ink .line-art text.hot { fill: var(--signal); }
.ink .line-art text.cool { fill: var(--brand-soft); }
.ink .btn-quiet { border-color: var(--night-line); color: var(--steel); }
.ink .btn-quiet:hover { border-color: var(--harbor); color: var(--mist); }

/* Pale blue card (light logo blue) */
.soft {
  background: linear-gradient(160deg, #E4ECFF 0%, #CFDCF7 100%);
  --text-strong: #0A1F3C; --text: #0A1F3C; --text-2: #34507A; --text-3: #4E6384;
  --line: #A9BBDA; --line-soft: #BCCBE6;
}

/* Sheets and panels on light sections */
.sheet { padding: clamp(28px, 5vw, 72px); border-radius: 1px; }
.sheet .statement { max-width: 32ch; }
.light .sheet:not(.ink) { background: #FFFFFF; border: 1px solid var(--line-soft); }
.light .panel, .light .card { border-color: var(--line-soft); }

/* Blue gradient band (from the original site) */
.band {
  display: grid; grid-template-columns: 6fr 5fr; gap: 32px; align-items: center;
  margin-top: 16px; padding: clamp(24px, 3.5vw, 40px);
  background: linear-gradient(100deg, var(--bh-deep) 0%, var(--brand) 62%, #5E86E8 100%);
  color: #fff;
}
.band p:first-child { font-family: var(--display); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.2; letter-spacing: -0.01em; }
.band p + p { color: #DCE6FF; font-size: 16px; max-width: 46ch; }

/* Closing CTA block */
.cta-block { position: relative; isolation: isolate; overflow: hidden; padding: clamp(40px, 7vw, 96px); }
.cta-block::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(circle at center, color-mix(in oklab, var(--harbor) 28%, transparent) 0.7px, transparent 1.1px);
  background-size: 5px 5px;
  -webkit-mask-image: linear-gradient(to left, #000, transparent 70%); mask-image: linear-gradient(to left, #000, transparent 70%);
}
.cta-block .lede { margin-top: 24px; }
.cta-block .actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; }
.contact.light { border-top: 0; padding-block: 24px 112px; }

/* Footer columns */
.footer.light { border-top: 1px solid var(--line-soft); }
.footer h4 { margin: 0 0 12px; font-family: var(--sans); font-weight: 500; font-size: 13px; color: var(--text-3); }
.footer nav { gap: 6px; }

@media (max-width: 720px) {
  .band { grid-template-columns: 1fr; gap: 12px; }
}

/* Detail renders */
.details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.details.two { grid-template-columns: 1fr 1fr; margin-top: 48px; margin-bottom: 16px; }
.details figure { position: relative; }
.details img { width: 100%; aspect-ratio: 6 / 5; object-fit: cover; }
.details.two img { aspect-ratio: 16 / 11; }
.details figcaption { margin-top: 12px; font-size: 14px; color: var(--text-2); }
.details figcaption b { display: block; font-weight: 500; color: var(--text-strong); }
@media (max-width: 720px) { .details, .details.two { grid-template-columns: 1fr; } }

/* Section line (see spine.js) */
main { position: relative; }
.spine { position: absolute; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; }
.spine svg { position: absolute; top: 0; left: 0; overflow: visible; }
.spine path { fill: none; stroke-width: 1; stroke-linejoin: miter; }
.spine .track { stroke: color-mix(in oklab, var(--bh-steel) 60%, transparent); stroke-dasharray: 4 5; }
.spine .fill { stroke: url(#spine-grad); stroke-width: 1.5; }
.spine .node { position: absolute; width: 9px; height: 9px; transform: translate(-50%, -50%); background: var(--bh-steel); outline: 3px solid color-mix(in oklab, var(--bh-steel) 18%, transparent); transition: background .25s, outline-color .25s; }
.spine .node.on { background: var(--brand); outline-color: color-mix(in oklab, var(--brand) 25%, transparent); }
.spine .node::after { content: ""; position: absolute; left: 9px; top: 4px; width: 36px; height: 1px; background: repeating-linear-gradient(to right, color-mix(in oklab, var(--bh-steel) 60%, transparent) 0 4px, transparent 4px 8px); }
.spine .node.right::after { left: auto; right: 9px; }
.spine .node.on::after { background: linear-gradient(to right, var(--brand), transparent); }
.spine .node.right.on::after { background: linear-gradient(to left, var(--brand), transparent); }
@media (prefers-reduced-motion: reduce) { .spine .node { transition: none; } }
@media (max-width: 1239px) { .spine { display: none; } }

/* Logo (from the BlueHarbor logo guide: flat colours, no effects) */
.logo svg.logo-full { display: block; height: 26px; width: 156px; --logo-mark: #FFFFFF; --logo-word: #FFFFFF; }
.logo-full .logo-mark { fill: var(--logo-mark); }
.logo-full .logo-word { fill: var(--logo-word); }
.light .logo svg.logo-full { --logo-mark: #245BFF; --logo-word: #091827; }
.footer .logo { margin-bottom: 20px; }

/* Audience cards: data visuals and filled buttons */
.card .card-rows { margin-top: 28px; }
.card .card-rows > div { padding: 12px 0; }
.card .card-rows dt { font-size: 14px; }
.card .card-rows dd { font-size: 15px; }
.card-phases { margin-top: 28px; }
.card-phases .phase { display: grid; grid-template-columns: 84px 1fr 52px; gap: 16px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line-soft); }
.card-phases .phase:last-child { border-bottom: 1px solid var(--line-soft); }
.card-phases .phase > span:first-child { font-size: 14px; color: var(--text-2); }
.card-phases .mw { text-align: right; font-family: var(--mono); font-size: 14px; color: var(--text-strong); }
.card .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.card .actions .btn { padding: 13px 20px; font-size: 16px; }
.btn-white { background: #FFFFFF; border-color: #FFFFFF; color: var(--navy); }
.btn-white:hover { background: var(--brand-soft); border-color: var(--brand-soft); color: var(--navy); }
.ink .link { color: var(--mist); text-decoration-color: var(--harbor); }

/* Time chart (comparison section) */
.timechart { margin-top: 56px; }
.timechart-scroll { overflow-x: auto; }
.timechart svg { display: block; width: 100%; min-width: 640px; height: auto; }
.timechart text { font-size: 11px; }
.timechart .row-label { font-family: var(--display); font-size: 18px; letter-spacing: -0.01em; fill: var(--text-strong); }
.timechart .cap { fill: url(#cap-grad); }
.timechart .cool-line { stroke: var(--brand); }
.timechart .hot-fill { stroke: var(--signal); stroke-width: 1; }
.compare-table { margin-top: 40px; border-top: 1px solid var(--line); }
.ct-row { display: grid; grid-template-columns: 2fr 5fr 5fr; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; }
.ct-row > span:first-child { color: var(--text-3); }
.ct-row > span:nth-child(2) { color: var(--text-2); }
.ct-row > span:nth-child(3) { color: var(--text-strong); }
.ct-head { font-family: var(--display); font-size: 17px; }
.ct-head > span:nth-child(2) { color: var(--text-3); }
@media (max-width: 720px) {
  .ct-row { grid-template-columns: 1fr 1fr; gap: 4px 16px; }
  .ct-row > span:first-child { grid-column: 1 / -1; }
  .ct-head > span:first-child { display: none; }
}
.timechart-mobile { display: none; margin-top: 40px; }
.tm-row { display: grid; grid-template-columns: 76px 1fr 64px; gap: 12px; align-items: center; padding: 10px 0; font-size: 14px; }
.tm-row b { font-weight: 400; font-family: var(--mono); font-size: 13px; color: var(--text-strong); text-align: right; }
.tm-track { display: flex; height: 18px; background: var(--pod-off); }
.tm-wait { background: repeating-linear-gradient(90deg, var(--line) 0 4px, transparent 4px 8px); height: 1px; align-self: center; }
.tm-queue { background: repeating-linear-gradient(45deg, var(--signal) 0 1px, transparent 1px 5px); outline: 1px solid var(--signal); outline-offset: -1px; }
.tm-cap { background: linear-gradient(180deg, #ACBED3, #245BFF); }
.timechart-mobile .small { margin-top: 8px; }
@media (max-width: 720px) {
  .timechart { display: none; }
  .timechart-mobile { display: block; }
}

/* Top bar: solid navy, above the hero */
html { background: var(--navy); }
.nav { background: var(--navy); border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.nav-links a { border-radius: 1px; transition: color .15s, background-color .15s; }
.nav-links a:hover { background: rgba(255, 255, 255, 0.06); }

.nav.open { background: var(--navy); }

/* Team: three capability columns */
.team3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.tcard { position: relative; background: #FFFFFF; border: 1px solid var(--line-soft); padding: 28px 28px 32px; display: flex; flex-direction: column; }
.tcard::before { content: ""; position: absolute; top: -1px; left: -1px; width: 56px; height: 2px; background: linear-gradient(90deg, var(--brand), var(--bh-pale)); }
.tplace { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--brand); }
.tcard h3 { margin-top: 20px; font-size: 26px; line-height: 1.15; letter-spacing: -0.015em; }
.tcard p { margin-top: 12px; font-size: 15px; line-height: 1.55; color: var(--text-2); }
.tags { margin-top: auto; padding-top: 28px; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { padding: 5px 9px; border: 1px solid var(--line); border-radius: 1px; font-size: 13px; line-height: 1.3; color: var(--text); background: color-mix(in oklab, var(--mist) 60%, #fff); }
@media (max-width: 960px) { .team3 { grid-template-columns: 1fr; } }

/* Market stats with small charts (Campus I) */
.stats { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 16px; margin-top: 56px; }
.stat { background: #FFFFFF; border: 1px solid var(--line-soft); padding: 28px; display: flex; flex-direction: column; min-height: 360px; }
.stat-v { font-family: var(--display); font-size: clamp(30px, 3vw, 44px); line-height: 1; letter-spacing: -0.03em; color: var(--text-strong); }
.stat h3 { margin-top: 12px; font-family: var(--sans); font-weight: 400; font-size: 15px; line-height: 1.45; color: var(--text-2); max-width: 30ch; }
.stat .src { margin-top: 14px; font-size: 13px; color: var(--text-3); }
.stat [role="img"] { margin-top: auto; padding-top: 32px; }
.gap-bar { display: flex; height: 36px; gap: 2px; outline: 1px dashed #A9BBDA; outline-offset: 3px; }
.gap-bar .built { background: linear-gradient(180deg, #ACBED3, #245BFF); }
.gap-bar .gap { background: repeating-linear-gradient(45deg, #D2490F 0 1px, transparent 1px 6px); outline: 1px solid #D2490F; outline-offset: -1px; }
.gap-keys { display: flex; justify-content: space-between; margin-top: 12px; font-size: 13px; color: var(--text-2); }
.gap-keys .hot { color: #C4420C; }
.gap-target { margin-top: 6px; font-size: 13px; color: var(--text-3); text-align: right; }
.viz-growth { display: flex; gap: 16px; align-items: flex-end; }
.viz-growth .col { flex: 1; display: flex; flex-direction: column; }
.viz-growth .bar { height: 130px; display: flex; align-items: flex-end; }
.viz-growth .bar i { display: block; width: 100%; background: #DCE3EE; }
.viz-growth .bar i.on { background: linear-gradient(180deg, #ACBED3, #245BFF); }
.viz-growth .col span { margin-top: 10px; font-size: 13px; color: var(--text-3); line-height: 1.35; }
.viz-growth .col b { font-weight: 400; color: var(--text-strong); }
.viz-share .cells { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; }
.viz-share .cells i { aspect-ratio: 1; background: #DCE3EE; }
.viz-share .cells i.on { background: linear-gradient(180deg, #ACBED3, #245BFF); }
.viz-share span { display: block; margin-top: 12px; font-size: 13px; color: var(--text-3); }
.refs { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line-soft); display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; list-style: none; }
.refs li { font-size: 13px; line-height: 1.5; color: var(--text-3); }
.refs b { display: block; font-weight: 500; color: var(--text-2); }
@media (max-width: 960px) { .stats { grid-template-columns: 1fr; } .stat { min-height: 0; } .refs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .refs { grid-template-columns: 1fr; } }

/* Footer: white, with the logo stamped into the surface */
.footer.light { background: #FFFFFF; --canvas: #FFFFFF; padding-bottom: 0; }
.footer-mark { margin-top: 72px; padding: clamp(32px, 5vw, 80px) clamp(16px, 5vw, 96px) clamp(24px, 3.5vw, 56px); background: #FFFFFF; }
.fm-logo { display: block; width: 100%; height: auto; aspect-ratio: 734 / 122; filter: url(#deboss); --logo-mark: #E6EAF1; --logo-word: #E6EAF1; }
.footer .legal { margin-top: 56px; }
