/* Stellarsoft website. Tokens follow the Stellarsoft master brand (hivemind core/brand.md; see research/BRAND-STANDARD.md).
   v7: the pixel devices are gone (no dissolves, clusters, trails, grids, notches or corner marks). Sections take different
   treatments instead: a product hero, a slanted carousel band, a card grid, a teal figure band, an editorial split, a dark
   product band, a cyan closing band. Motion is transform/opacity only and is switched off under prefers-reduced-motion. */

@font-face { font-family: 'Geist'; src: url(/assets/geist.woff2?v=7481fc51) format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter Tight'; src: url(/assets/inter-tight-800i.woff2?v=bf96c269) format('woff2'); font-weight: 800; font-style: italic; font-display: swap; }
@font-face { font-family: 'Inter Tight'; src: url(/assets/inter-tight-700i.woff2?v=3e760051) format('woff2'); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url(/assets/jetbrains-mono-500.woff2?v=35c2a72b) format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  /* brand constants */
  --navy: #0b1424; --navy-raised: #111f38; --frame: #070e1b; --band: #32b3d2; --cyan: #7fe3f2;
  --teal: #1a98b6; --teal-deep: #0a6178; --orca: #2d66f1; --wait: #f5c451;
  /* light work surface, with two cool tints for alternating pale sections */
  --ground: #f3f6f9; --tint-a: #eaf3f6; --tint-b: #edf0f6; --surface: #e9eef4; --raised: #ffffff;
  --text: #0b1424; --body: #2c3d53; --label: #56697f; --dim: #7d8ea2; --accent: #07778c;
  --line: rgba(10, 97, 120, 0.18); --line-soft: rgba(10, 97, 120, 0.1); --rule: rgba(10, 97, 120, 0.45); --rule-strong: rgba(10, 97, 120, 0.7);
  --hover: rgba(10, 97, 120, 0.05);
  --btn-bg: #07778c; --btn-ink: #ffffff; --btn-hover: #0b1424; --tag-bg: #0a6178; --tag-ink: #ffffff; --gap: var(--ground);
  --display: 'Inter Tight', 'Arial Narrow', Arial, sans-serif;
  --sans: 'Geist', 'Segoe UI', Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --skew: -14deg;
  --gutter: max(32px, calc((100vw - 1280px) / 2 + 32px));
  --cut: clamp(40px, 6vw, 96px);
}
/* Navy ground */
.on-navy, footer.site, header.site {
  --text: #f4f8fb; --body: #c2cfdb; --label: #8fa6bd; --dim: #62788f; --accent: #7fe3f2; --raised: #111f38;
  --line: rgba(127, 227, 242, 0.16); --line-soft: rgba(127, 227, 242, 0.08); --rule: rgba(127, 227, 242, 0.35); --rule-strong: rgba(127, 227, 242, 0.55);
  --hover: rgba(127, 227, 242, 0.06);
  --btn-bg: #7fe3f2; --btn-ink: #0b1424; --btn-hover: #ffffff; --tag-bg: #7fe3f2; --tag-ink: #0b1424; --gap: #0b1424;
  background: var(--navy); color: var(--body);
}
/* Teal ground: the Stellarsoft colour (deep end, flat, so white and cyan text pass AA) */
.on-teal {
  --text: #ffffff; --body: #ddf1f6; --label: #a6dce8; --accent: #7fe3f2; --raised: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.2); --line-soft: rgba(255, 255, 255, 0.1); --rule: rgba(255, 255, 255, 0.45); --rule-strong: rgba(255, 255, 255, 0.75);
  --hover: rgba(255, 255, 255, 0.06);
  --btn-bg: #ffffff; --btn-ink: #0a6178; --btn-hover: #7fe3f2; --tag-bg: #ffffff; --tag-ink: #0a6178; --gap: #0a6178;
  background: var(--teal-deep); color: var(--body);
}
/* Cyan ground: the closing band. Navy type on #32B3D2 is 7.5:1. */
.on-cyan {
  --text: #0b1424; --body: #0b1424; --label: #10243a; --accent: #0b1424; --raised: rgba(255, 255, 255, 0.2);
  --line: rgba(11, 20, 36, 0.2); --line-soft: rgba(11, 20, 36, 0.1); --rule: rgba(11, 20, 36, 0.5); --rule-strong: rgba(11, 20, 36, 0.8);
  --hover: rgba(11, 20, 36, 0.08);
  --btn-bg: #0b1424; --btn-ink: #ffffff; --btn-hover: #1c2f4a; --tag-bg: #0b1424; --tag-ink: #ffffff; --gap: #32b3d2;
  background: var(--band); color: var(--body);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--body); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: var(--accent); text-underline-offset: 3px; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: rgba(127, 227, 242, 0.4); color: #0b1424; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 100; background: #fff; color: #0b1424; padding: 10px 14px; font-weight: 600; }
.skip:focus { left: 16px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- type primitives ---------- */
.label { font: 600 12.5px/1.45 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--label); margin: 0; }
.eyebrow { font: 600 13px/1.4 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin: 0; }
.display { font: 800 italic clamp(38px, 4.6vw, 64px)/1.03 var(--display); letter-spacing: -0.025em; color: var(--text); margin: 16px 0 0; max-width: 20ch; }
.display.xl { font-size: clamp(40px, 4.9vw, 70px); max-width: none; text-wrap: pretty; }
.display em, .title em, .mega-h em, .ft-h em { font-style: italic; color: var(--accent); }
.title { font: 800 italic clamp(30px, 3.2vw, 46px)/1.06 var(--display); letter-spacing: -0.022em; color: var(--text); margin: 12px 0 0; max-width: 28ch; }
.lead { font-size: clamp(18px, 1.45vw, 20px); line-height: 1.55; color: var(--body); max-width: 60ch; margin: 22px 0 0; }
.standfirst { max-width: 62ch; margin: 18px 0 0; font-size: 18px; color: var(--body); }
.statement { font: 400 clamp(22px, 2.2vw, 30px)/1.42 var(--sans); letter-spacing: -0.012em; color: var(--text); max-width: 46ch; margin: 0; }
.note { margin: 32px 0 0; font-size: 15px; color: var(--label); }
.measure { max-width: 64ch; margin-top: 40px; }
.sub-h { margin: 36px 0 14px; }

/* ---------- controls ---------- */
.arr { width: 14px; height: 14px; flex: none; transition: transform 160ms var(--ease); }
.btn, .seg { position: relative; z-index: 0; display: inline-flex; align-items: center; gap: 12px; padding: 16px 26px; font: 500 12.5px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; color: var(--btn-ink); border: 0; background: none; cursor: pointer; white-space: nowrap; }
.btn::before, .seg::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--btn-bg); transform: skewX(var(--skew)); transition: background-color 160ms var(--ease), box-shadow 160ms var(--ease); }
.btn:hover::before { background: var(--btn-hover); }
.btn:hover .arr, .seg:hover .arr { transform: translateX(3px); }
.btn:disabled { opacity: 0.6; cursor: default; }
.btn:focus-visible, .seg:focus-visible, .cta:focus-visible, .nav-b:focus-visible, .ix-b:focus-visible { outline: none; }
.btn:focus-visible::before, .seg:focus-visible::before, .cta:focus-visible::before { box-shadow: 0 0 0 2px var(--gap), 0 0 0 4px var(--accent); }
/* Joined control: a primary and a secondary action in one slanted shape */
.duo { position: relative; z-index: 0; display: inline-flex; isolation: isolate; }
.duo::before { content: ''; position: absolute; inset: 0; z-index: -2; transform: skewX(var(--skew)); box-shadow: inset 0 0 0 1px var(--rule); transition: box-shadow 160ms var(--ease); }
.duo:hover::before { box-shadow: inset 0 0 0 1px var(--accent); }
.seg.alt { color: var(--text); }
.seg.alt::before { background: transparent; }
.seg.alt:hover::before { background: var(--hover); }
.seg.pri:hover::before { background: var(--btn-hover); }
.seg.alt:focus-visible::before { box-shadow: inset 0 0 0 2px var(--accent); }
.more { position: relative; display: inline-flex; align-items: center; gap: 10px; font: 600 14.5px/1.4 var(--sans); color: var(--accent); text-decoration: none; }
.more::after { content: ''; position: absolute; left: 0; right: 24px; bottom: -4px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 260ms var(--ease); }
.more:hover::after, .more:focus-visible::after { transform: scaleX(1); }
.more:hover .arr { transform: translateX(3px); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 36px; }
.tag { display: inline-block; transform: skewX(var(--skew)); background: var(--tag-bg); padding: 2px 9px; margin-left: 5px; }
.tag > span { display: inline-block; transform: skewX(14deg); font: 500 11px/1.6 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--tag-ink); }
.tag.orca { background: var(--orca); }
.tag.orca > span { color: #fff; }

/* ---------- header: a plain frame, the real logo on the page gutter ---------- */
header.site { position: sticky; top: 0; z-index: 50; background: var(--frame); border-bottom: 1px solid rgba(127, 227, 242, 0.1); }
.bar { display: flex; align-items: center; height: 72px; padding: 0 var(--gutter); }
.logo { display: flex; align-items: center; flex: none; margin-right: clamp(24px, 3vw, 48px); padding: 6px 0; }
.logo img { height: 27px; width: auto; display: block; }
nav.main { flex: 1; display: flex; align-self: stretch; }
.nav-list { flex: 1; display: flex; align-items: stretch; list-style: none; margin: 0; padding: 0; }
.has-mega { display: flex; align-items: center; }
.top { display: flex; align-items: center; height: 100%; padding: 0 2px 0 14px; position: relative; color: var(--body); text-decoration: none; font: 500 15px/1 var(--sans); transition: color 160ms var(--ease); }
.top::after { content: ''; position: absolute; left: 14px; right: 0; bottom: 18px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 240ms var(--ease); }
.top:hover, .has-mega.open > .top, .top[aria-current] { color: var(--text); }
.top:hover::after, .has-mega.open > .top::after, .top:focus-visible::after, .top[aria-current]::after { transform: scaleX(1); }
.chev { display: grid; place-items: center; width: 24px; height: 34px; padding: 0; border: 0; background: none; color: var(--label); cursor: pointer; }
.chev svg { width: 10px; height: 10px; transition: transform 180ms var(--ease); }
.has-mega.open .chev svg { transform: rotate(180deg); }
.nav-cta { display: flex; align-items: center; margin-left: auto; padding-left: 20px; }
.cta { position: relative; z-index: 0; display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; text-decoration: none; font: 500 12.5px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--btn-ink); white-space: nowrap; }
.cta::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--btn-bg); transform: skewX(var(--skew)); transition: background-color 160ms var(--ease); }
.cta:hover::before { background: var(--btn-hover); }
.cta:hover .arr { transform: translateX(3px); }
.menu { display: none; margin-left: auto; align-items: center; gap: 10px; padding: 10px 0 10px 12px; border: 0; background: none; color: var(--text); font: 600 14px/1 var(--sans); letter-spacing: 0.02em; cursor: pointer; }
.burger { position: relative; display: inline-block; width: 18px; height: 12px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; }
.burger i { position: absolute; left: 0; right: 0; top: 3px; height: 2px; background: currentColor; }

/* mega menus */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--navy); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  visibility: hidden; opacity: 0; transform: translateY(-6px); transition: opacity 140ms var(--ease), transform 200ms var(--ease), visibility 0s linear 200ms; }
.has-mega.open > .mega { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.mega-in { position: relative; display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 3fr)); gap: 40px; padding-top: 40px; padding-bottom: 44px; }
.mega-h { font: 800 italic 26px/1.12 var(--display); letter-spacing: -0.02em; color: var(--text); margin: 12px 0 24px; max-width: 14ch; }
.mega-g .label { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.mega-g ul { list-style: none; margin: 4px 0 0; padding: 0; }
.mega-g.span2 { grid-column: span 2; }
.mega-g.span2 ul { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
.mega-g a { display: block; padding: 12px 12px; margin: 0 -12px; text-decoration: none; transition: background-color 160ms var(--ease); }
.mega-g a:hover, .mega-g a:focus-visible { background: var(--hover); }
.mega-g b { display: block; font: 600 15px/1.35 var(--sans); color: var(--text); transition: color 160ms var(--ease); }
.mega-g a:hover b { color: var(--accent); }
.mega-g .d { display: block; font-size: 13.5px; line-height: 1.45; color: var(--label); margin-top: 3px; }
.has-mega.open .mega-g li { animation: rise 320ms var(--ease) both; }
.has-mega.open .mega-g li:nth-child(2) { animation-delay: 40ms; } .has-mega.open .mega-g li:nth-child(3) { animation-delay: 80ms; } .has-mega.open .mega-g li:nth-child(4) { animation-delay: 120ms; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } }
@media (min-width: 1040px) {
  .has-mega:hover > .mega { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .has-mega:hover > .top { color: var(--text); }
  .has-mega:hover > .top::after { transform: scaleX(1); }
  .has-mega:hover .chev svg { transform: rotate(180deg); }
}

/* ---------- grounds and edges ---------- */
.hero, .page-hero, .band, .sec.on-navy, .sec.on-teal, .feature { position: relative; isolation: isolate; overflow: hidden; }
.sec.ta { background: var(--tint-a); }
.sec.tb { background: var(--tint-b); }
/* the only section edges: one slanted cut, used twice on the home page */
.cut { clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), 0 100%); padding-bottom: calc(clamp(56px, 7vw, 100px) + var(--cut)) !important; }
.cut-top { clip-path: polygon(0 var(--cut), 100% 0, 100% 100%, 0 100%); padding-top: calc(clamp(56px, 7vw, 100px) + var(--cut)) !important; }

/* ---------- home hero: copy on the left, the product on the right ---------- */
.hero { padding: clamp(32px, 4vw, 64px) 0 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 4vw, 64px); align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.hero-h { font-size: clamp(46px, 6vw, 88px); line-height: 0.98; letter-spacing: -0.03em; max-width: 12ch; margin-top: 18px; }
.hero .lead { max-width: 42ch; margin-top: 26px; }
.hero .actions { margin-top: 36px; }
.hero-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 0; margin: 30px 0 0; padding: 0; font: 500 14.5px/1.5 var(--sans); letter-spacing: 0; text-transform: none; color: var(--label); }
.hero-facts li + li::before { content: '\00b7'; margin: 0 12px; color: var(--accent); font-weight: 700; }
/* the product visual: two app windows at a slight angle, over two thin orbit lines */
.hero-vis { position: relative; margin-right: calc(-1 * var(--gutter) + 8px); padding: 36px 0 64px 8%; perspective: 1800px; }
.orbits { position: absolute; left: -14%; top: -12%; width: 128%; height: auto; z-index: -1; overflow: visible; pointer-events: none; }
.orbits ellipse { fill: none; stroke: rgba(127, 227, 242, 0.2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.orbits .o2 { stroke: rgba(127, 227, 242, 0.1); }
.orbits .star { fill: var(--cyan); }
.hv-win { margin: 0; background: #0d1729; box-shadow: 0 0 0 1px rgba(127, 227, 242, 0.2); overflow: hidden; }
.hv-win img { display: block; width: 100%; height: auto; }
.hv-bar { display: flex; align-items: center; gap: 14px; height: 30px; padding: 0 12px; background: #0a1322; border-bottom: 1px solid rgba(127, 227, 242, 0.12); }
.hv-dots { display: inline-flex; gap: 6px; }
.hv-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(194, 207, 219, 0.28); }
.hv-url { font: 500 12px/1 var(--sans); color: var(--label); letter-spacing: 0.01em; }
.hv-win.main { position: relative; transform: rotateY(-9deg) rotateX(3deg); transform-origin: 0 50%; animation: hv-main 1300ms var(--ease) 150ms both; }
.hv-win.sub { position: absolute; left: 0; bottom: 6px; width: 46%; z-index: 2; box-shadow: 0 0 0 1px rgba(127, 227, 242, 0.28), 0 0 0 8px var(--navy); animation: hv-sub 1100ms var(--ease) 650ms both; }
.hv-cap { position: absolute; right: 12%; bottom: 0; z-index: 3; display: flex; align-items: center; gap: 12px; margin: 0; padding: 12px 18px 12px 14px; background: var(--navy-raised); box-shadow: 0 0 0 1px rgba(127, 227, 242, 0.2); animation: hv-cap 900ms var(--ease) 1200ms both; }
.hv-cap img { width: 30px; height: auto; display: block; }
.hv-cap > span { display: flex; flex-direction: column; line-height: 1.3; }
.hv-cap b { font: 800 italic 17px/1.2 var(--display); color: var(--text); letter-spacing: -0.01em; }
.hv-cap b + span { font-size: 13.5px; color: var(--body); }
@keyframes hv-main { from { opacity: 0; transform: translateY(28px) rotateY(-18deg) rotateX(6deg); } }
@keyframes hv-sub { from { opacity: 0; transform: translate(-24px, 24px); } }
@keyframes hv-cap { from { opacity: 0; transform: translateY(12px); } }
/* hero strip: the clients in one continuous line, ending in a cue down to the client stories */
.strip { position: relative; display: flex; margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); background: rgba(7, 14, 27, 0.5); }
.strip-lead { flex: none; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 14px 28px 14px var(--gutter); }
.strip-h { margin: 0; font: 600 12.5px/1.3 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--label); }
.strip-pause { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 5px 10px 5px 8px; border: 0; background: none; box-shadow: inset 0 0 0 1px var(--line); color: var(--body); font: 500 12px/1 var(--sans); cursor: pointer; }
.strip-pause:hover { color: var(--text); box-shadow: inset 0 0 0 1px var(--rule); }
.strip-pause .pz { position: relative; width: 8px; height: 9px; border-left: 2.5px solid currentColor; border-right: 2.5px solid currentColor; }
.stopped .strip-pause .pz { border: 0; width: 0; height: 0; border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; border-left: 8px solid currentColor; }
.strip-run { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent); }
.strip-track { display: flex; width: max-content; animation: strip 80s linear infinite; }
.strip:hover .strip-track, .strip:focus-within .strip-track { animation-play-state: paused; }
.strip-set { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; }
.lg { flex: none; display: flex; align-items: center; gap: 12px; height: 88px; padding: 0 34px; }
.lg img { display: block; width: auto; opacity: 0.8; transition: opacity 160ms var(--ease); }
.lg:hover img { opacity: 1; }
.lg .nm { font: 600 13px/1.3 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--text); white-space: nowrap; }
.lg.txt .nm { font: 800 italic 17px/1.2 var(--display); letter-spacing: -0.01em; text-transform: none; }
@keyframes strip { to { transform: translateX(-50%); } }
.strip-cue { flex: none; display: grid; grid-template-columns: auto 18px; column-gap: 16px; align-content: center; padding: 14px var(--gutter) 14px 32px; border-left: 1px solid var(--line); text-decoration: none; transition: background-color 160ms var(--ease); }
.strip-cue .label { grid-column: 1; }
.strip-cue .v { grid-column: 1; margin-top: 4px; font: 800 italic clamp(18px, 1.6vw, 22px)/1.1 var(--display); letter-spacing: -0.015em; color: var(--text); }
.strip-cue .dn { grid-column: 2; grid-row: 1 / span 2; align-self: center; width: 18px; height: 18px; color: var(--accent); transition: transform 200ms var(--ease); }
.strip-cue:hover { background: var(--hover); }
.strip-cue:hover .dn { transform: translateY(3px); }
.hero-vis.paused *, .paused .strip-track, .stopped .strip-track, .shots.paused .prog, .stories.paused .prog { animation-play-state: paused !important; }

/* instruments: the few boxed things */
.instrument { background: var(--raised); box-shadow: inset 0 0 0 1px var(--line); }
.ins-h { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.ins-h .label { margin: 0; }

/* facts: values in italic display, split by hairlines */
.facts { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); margin: 0; border-top: 1px solid var(--line); }
.facts > div { padding: 20px 20px 24px; border-left: 1px solid var(--line); }
.facts > div:first-child { border-left: 0; padding-left: 0; }
.facts dt { font: 600 12.5px/1.4 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--label); }
.facts dd { margin: 8px 0 0; font: 800 italic clamp(22px, 2vw, 28px)/1.1 var(--display); letter-spacing: -0.015em; color: var(--text); }
.facts dd a { color: inherit; text-decoration-color: var(--accent); }

/* ---------- client feature and client stories ---------- */
.feature { padding: clamp(64px, 8vw, 116px) 0; }
.ft-panel { position: absolute; top: 0; bottom: 0; left: -12%; width: 52%; z-index: -1; background: var(--teal-deep); transform: skewX(var(--skew)); transform-origin: top left; }
.ft-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 104px); align-items: center; }
.ft-photo { position: relative; max-width: 440px; }
.ft-frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; clip-path: polygon(0 0, 100% 0, 100% 70%, 90.7% 100%, 0 100%); background: #1c2a3f; }
.ft-frame img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.ft-copy { margin: 0; }
.ft-copy .x { color: var(--text); padding: 0 2px; }
.ft-h { font: 800 italic clamp(30px, 3.3vw, 48px)/1.05 var(--display); letter-spacing: -0.022em; color: var(--text); margin: 14px 0 0; max-width: 20ch; }
.ft-copy blockquote { margin: 30px 0 0; padding: 0; }
.ft-copy blockquote p { font: 400 clamp(21px, 2vw, 27px)/1.45 var(--sans); letter-spacing: -0.012em; color: var(--text); margin: 0; max-width: 40ch; }
.ft-copy figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-top: 22px; }
.ft-copy .who { font-weight: 600; color: var(--text); font-size: 18px; }
.ft-meta { display: grid; grid-template-columns: repeat(3, minmax(0, auto)); justify-content: start; gap: 0; margin: 28px 0 0; border-top: 1px solid var(--line); }
.ft-meta > div { padding: 14px 28px 4px 0; margin-right: 28px; border-right: 1px solid var(--line); }
.ft-meta > div:last-child { border-right: 0; }
.ft-meta dt { font: 600 12px/1.4 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--label); }
.ft-meta dd { margin: 4px 0 0; color: var(--text); font-weight: 500; }
.ft-copy .actions { margin-top: 30px; }
.ft-st { font: 400 clamp(21px, 2vw, 27px)/1.45 var(--sans); letter-spacing: -0.012em; color: var(--text); margin: 30px 0 0; max-width: 40ch; }
.ft-frame.logos { display: grid; place-items: center; background: var(--navy-raised); box-shadow: inset 0 0 0 1px var(--line); }
.ft-logos { display: flex; flex-direction: column; align-items: center; gap: 40px; padding: 32px; }
.ft-logos img { display: block; width: auto; max-width: 100%; height: auto; }
.ft-logos.boards > img { height: 72px; }
.ft-logos .pair { display: flex; gap: 36px; padding-top: 34px; border-top: 1px solid var(--line); }
.ft-logos .pair > span { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.ft-logos .pair img { height: 100px; }
.ft-logos .nm { font: 600 12px/1.3 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--label); white-space: nowrap; }
/* carousel: slides stack in one grid cell; a change wipes along a -14deg edge (sizes set in site.js) */
.st-stage { position: relative; display: grid; touch-action: pan-y; --st-t: 900ms; --cutw: calc(var(--sw, 1200px) + 2 * var(--wipe, 160px)); }
.st-slide { grid-area: 1 / 1; visibility: hidden; }
.st-slide.on, .st-slide.out { visibility: visible; }
.st-slide.on { z-index: 1; }
.st-slide.out { z-index: 0; pointer-events: none; }
.st-stage.f { --a0: 0px; --a1: var(--cutw); }
.st-stage.b { --a0: var(--cutw); --a1: 0px; }
.st-stage.go.f .st-slide.on, .st-stage.go.b .st-slide.out { animation: st-left var(--st-t) var(--ease) both; }
.st-stage.go.f .st-slide.out, .st-stage.go.b .st-slide.on { animation: st-right var(--st-t) var(--ease) both; }
@keyframes st-left {
  from { clip-path: polygon(calc(-1 * var(--wipe)) -40px, var(--a0) -40px, calc(var(--a0) - var(--wipe)) calc(100% + 40px), calc(-1 * var(--wipe)) calc(100% + 40px)); }
  to { clip-path: polygon(calc(-1 * var(--wipe)) -40px, var(--a1) -40px, calc(var(--a1) - var(--wipe)) calc(100% + 40px), calc(-1 * var(--wipe)) calc(100% + 40px)); }
}
@keyframes st-right {
  from { clip-path: polygon(var(--a0) -40px, var(--cutw) -40px, var(--cutw) calc(100% + 40px), calc(var(--a0) - var(--wipe)) calc(100% + 40px)); }
  to { clip-path: polygon(var(--a1) -40px, var(--cutw) -40px, var(--cutw) calc(100% + 40px), calc(var(--a1) - var(--wipe)) calc(100% + 40px)); }
}
.st-edge { position: absolute; top: -40px; bottom: -40px; left: 0; z-index: 2; width: 2px; background: var(--cyan); opacity: 0; pointer-events: none; transform-origin: 0 0; }
.st-stage.go .st-edge { animation: st-edge var(--st-t) var(--ease) both; }
@keyframes st-edge { 0% { opacity: 1; transform: translateX(var(--a0)) skewX(var(--skew)); } 85% { opacity: 1; } 100% { opacity: 0; transform: translateX(var(--a1)) skewX(var(--skew)); } }
.st-bar { position: relative; display: flex; align-items: center; gap: 12px 24px; margin-top: clamp(44px, 5vw, 72px); padding-top: 12px; border-top: 1px solid var(--line); }
.st-bar .prog { top: -1px; bottom: auto; }
.stories.playing .prog { animation: prog var(--iv, 7000ms) linear forwards; }
.st-h { flex: none; margin: 0; font: 600 12.5px/1.3 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--label); }
.st-bar .idx { flex: 1; gap: 6px; }
.st-bar .ix-b { padding: 9px 10px; }
.ixn { font: 500 14px/1 var(--sans); letter-spacing: 0; }
.st-count { flex: none; font-family: var(--mono); }
.st-count b { font-weight: 500; color: var(--text); }
.st-nav { flex: none; display: flex; gap: 6px; }

/* ---------- page hero ---------- */
.page-hero { padding: clamp(40px, 5vw, 72px) 0 clamp(52px, 6vw, 88px); }
.page-hero.tall { padding: clamp(64px, 10vw, 140px) 0; }
.ph-orbit { position: absolute; right: -10vw; top: 50%; z-index: -1; width: 56vw; max-width: 900px; aspect-ratio: 2 / 1; border: 1px solid rgba(127, 227, 242, 0.16); border-radius: 50%; transform: translateY(-46%) rotate(-14deg); pointer-events: none; }
.ph-orbit::after { content: ''; position: absolute; inset: 14% 22%; border: 1px solid rgba(127, 227, 242, 0.09); border-radius: 50%; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; font: 500 13.5px/1.4 var(--sans); color: var(--label); }
.crumbs li + li::before { content: '/'; margin-right: 8px; color: var(--dim); }
.crumbs a { color: var(--label); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.crumbs [aria-current] { color: var(--accent); }
.page-hero .display { margin-top: 22px; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin: 28px 0 0; font: 500 14px/1.4 var(--sans); color: var(--label); }
.hero-meta .tag { margin-left: 4px; }

/* ---------- sections ---------- */
.sec { padding: clamp(60px, 7vw, 104px) 0; }
.sec.on-navy, .sec.on-teal { padding: clamp(60px, 7.5vw, 108px) 0; }
.sh { margin-bottom: clamp(32px, 4vw, 52px); }
.sh-top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.split.even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.split.orca { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: clamp(36px, 5vw, 80px); }
.split > div > p:not(.lead):not(.label) { color: var(--body); max-width: 58ch; }
.split .lead, .split > p { margin-top: 0; }
.split.even + .facts { margin-top: clamp(40px, 5vw, 64px); }
.facts + .split { margin-top: clamp(32px, 4vw, 48px); }

/* editorial split: the heading holds on the left while the text runs on the right */
.sec.side > .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 104px); align-items: start; }
.sec.side .sh { position: sticky; top: 120px; margin: 0; }
.sec.side .title { font-size: clamp(34px, 3.8vw, 54px); }
.notes.prose-notes { column-gap: clamp(32px, 4vw, 56px); }
.notes.prose-notes li { border-top: 0; padding: 0 0 40px; }
.notes.prose-notes h3 { font: 700 italic 25px/1.15 var(--display); letter-spacing: -0.015em; margin-bottom: 12px; }
.notes.prose-notes p { font-size: 17px; line-height: 1.6; }

/* card grids: services on the home page, industries */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cards > li { display: flex; }
.cards a { display: flex; flex-direction: column; width: 100%; min-height: 248px; padding: 28px 24px 24px; background: #fff; box-shadow: inset 0 0 0 1px rgba(10, 97, 120, 0.12); text-decoration: none; transition: box-shadow 200ms var(--ease), transform 200ms var(--ease); }
.cards a:hover, .cards a:focus-visible { box-shadow: inset 0 0 0 1px var(--accent); transform: translateY(-3px); }
.cards .grp { font: 600 12px/1.3 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.cards h3 { font: 600 20px/1.28 var(--sans); letter-spacing: -0.01em; color: var(--text); margin: 0 0 10px; }
.cards p { margin: 0 0 22px; font-size: 15.5px; line-height: 1.55; color: var(--body); }
.cards .go { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font: 600 14.5px/1 var(--sans); color: var(--accent); }
.cards a:hover .arr { transform: translateX(3px); }
.cards .cta-card a { background: var(--navy); box-shadow: none; }
.cards .cta-card h3 { font: 800 italic 26px/1.1 var(--display); letter-spacing: -0.015em; color: #f4f8fb; margin-top: 4px; }
.cards .cta-card p { color: #c2cfdb; }
.cards .cta-card .go { color: var(--cyan); }
.cards .cta-card a:hover { box-shadow: inset 0 0 0 1px var(--cyan); }
.sec.svc-home { padding-top: clamp(28px, 3vw, 48px); }
.ind-cards a { min-height: 220px; }

/* teal figure band: one large figure beside three short paragraphs */
.proof { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 104px); align-items: start; }
.proof .big { margin: 0; }
.proof .fig { display: block; font: 800 italic clamp(72px, 10vw, 148px)/0.9 var(--display); letter-spacing: -0.04em; color: #fff; }
.proof .fc { display: block; margin-top: 20px; max-width: 30ch; font-size: 19px; line-height: 1.5; color: var(--body); }
.proof-sec .sh { max-width: 760px; }

/* services page: plain rows */
.toc { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.toc li { border-top: 1px solid var(--line); }
.toc a { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) 16px; gap: 32px; align-items: center; padding: 26px 0; text-decoration: none; }
.toc h3 { font: 700 italic 24px/1.2 var(--display); letter-spacing: -0.015em; color: var(--text); margin: 0; transition: color 160ms var(--ease); }
.toc a:hover h3 { color: var(--accent); }
.toc p { margin: 0; font-size: 16.5px; color: var(--body); }
.toc .arr, .posts .arr { color: var(--accent); align-self: center; }
.toc a:hover .arr, .posts a:hover .arr, .links a:hover .arr { transform: translateX(5px); }

/* notes: short titled paragraphs in columns */
.notes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 5vw, 72px); }
.notes.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.notes.four { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 32px; }
.notes.stack { grid-template-columns: minmax(0, 1fr); }
.notes li { border-top: 1px solid var(--line); padding: 22px 0 30px; }
.notes h3 { font: 600 20px/1.3 var(--sans); letter-spacing: -0.01em; color: var(--text); margin: 0 0 8px; }
.notes p { margin: 0; font-size: 16px; color: var(--body); }
.notes p a { color: var(--text); text-decoration-color: var(--accent); }

.notes.boxed { gap: 16px; }
.notes.boxed li { border-top: 0; padding: 26px 26px 28px; background: #fff; box-shadow: inset 0 0 0 1px rgba(10, 97, 120, 0.12); }

/* step tracker: large italic numerals over a shared rule */
.track { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 32px; border-top: 1px solid var(--rule); }
.track li { position: relative; padding: 22px 0 6px; }
.track .tn { display: block; font: 800 italic 54px/1 var(--display); letter-spacing: -0.03em; color: var(--accent); margin-bottom: 18px; }
.track h3 { font: 600 19px/1.3 var(--sans); color: var(--text); margin: 0 0 8px; }
.track p { margin: 0; font-size: 15.5px; color: var(--body); }

/* insight rows */
.posts { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.posts li { border-top: 1px solid var(--line); }
.posts a { display: grid; grid-template-columns: 200px minmax(0, 1fr) 16px; gap: 28px; padding: 28px 0; text-decoration: none; }
.posts a:hover h3 { color: var(--accent); }
.pm { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; font: 400 14.5px/1.4 var(--sans); color: var(--label); padding-top: 3px; }
.ptag { font: 600 12.5px/1.3 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.pt h3 { font: 600 21px/1.3 var(--sans); letter-spacing: -0.01em; color: var(--text); margin: 0; transition: color 160ms var(--ease); }
.pt p { margin: 6px 0 0; font-size: 16px; color: var(--body); max-width: 70ch; }

/* plain link list */
.links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; }
.split .links { grid-template-columns: 1fr; }
.links li { border-top: 1px solid var(--line); }
.links a { display: grid; grid-template-columns: 1fr 16px; gap: 8px; align-items: baseline; padding: 16px 0; color: var(--text); text-decoration: none; font-weight: 500; }
.links a:hover { color: var(--accent); }
.links .arr { color: var(--accent); align-self: center; }

/* client grid (Work page, teal ground) */
.cgrid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin: 0; padding: 0; }
.cgrid li { display: flex; flex-direction: column; gap: 16px; min-height: 148px; padding: 22px 20px 18px; background: rgba(255, 255, 255, 0.06); }
.cg-logo { flex: 1; display: flex; align-items: center; }
.cg-logo img { display: block; max-width: 100%; height: auto; }
.cg-logo .nm { font: 800 italic 20px/1.2 var(--display); letter-spacing: -0.01em; color: var(--text); }
.cg-n { font: 500 13.5px/1.45 var(--sans); color: var(--label); }

/* ---------- Orcastrator slideshow, framed like an app window ---------- */
.sec.product { background: #081120; }
.shots { position: relative; margin: 0; background: var(--raised); box-shadow: inset 0 0 0 1px var(--line); }
.win-h { display: flex; align-items: center; gap: 14px; padding: 11px 16px; border-bottom: 1px solid var(--line); }
.win-dots { display: inline-flex; gap: 6px; }
.win-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(194, 207, 219, 0.28); }
.win-h .label { font-weight: 500; text-transform: none; letter-spacing: 0.01em; font-size: 13px; }
.win-h .count { margin-left: auto; font-family: var(--mono); }
.win-h .count b { font-weight: 500; color: var(--text); }
.stage { position: relative; aspect-ratio: 1260 / 1000; overflow: hidden; background: #080c14; touch-action: pan-y; user-select: none; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: translateX(3%); transition: opacity 500ms var(--ease), transform 650ms var(--ease), visibility 0s linear 650ms; }
.slide.on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.slide.out { transform: translateX(-3%); }
.slide img { display: block; width: 100%; height: 100%; object-fit: contain; }
.prog { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; z-index: 2; }
.shots.playing .prog { animation: prog var(--iv, 5000ms) linear forwards; }
@keyframes prog { to { transform: scaleX(1); } }
.cap { display: grid; border-top: 1px solid var(--line); }
.cap .c { grid-area: 1 / 1; display: flex; align-items: center; gap: 12px; padding: 13px 16px; opacity: 0; transition: opacity 300ms var(--ease); }
.cap .c.on { opacity: 1; }
.cap .tag { margin-left: 4px; flex: none; }
.cap .ct { color: var(--text); font-size: 15.5px; font-weight: 500; }
.ctrl { display: flex; align-items: center; gap: 4px; padding: 8px 12px; border-top: 1px solid var(--line); }
.idx { display: flex; flex-wrap: wrap; flex: 1; gap: 2px; }
.nav-b, .ix-b { position: relative; z-index: 0; border: 0; background: none; cursor: pointer; color: var(--text); }
.nav-b { display: grid; place-items: center; width: 40px; height: 34px; }
.nav-b::before { content: ''; position: absolute; inset: 0; z-index: -1; transform: skewX(var(--skew)); box-shadow: inset 0 0 0 1px var(--rule); transition: background-color 160ms var(--ease); }
.nav-b:hover::before { background: var(--hover); box-shadow: inset 0 0 0 1px var(--accent); }
.nav-b:focus-visible::before, .ix-b:focus-visible::before { box-shadow: inset 0 0 0 2px var(--accent); }
.prev .arr { transform: rotate(180deg); }
.prev:hover .arr { transform: rotate(180deg) translateX(3px); }
.next:hover .arr { transform: translateX(3px); }
.pz { display: block; width: 10px; height: 11px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.shots.paused .pz, .shots.still .pz, .stories.paused .pz, .stories.still .pz { width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent currentColor; }
.ix-b { padding: 8px 7px; font: 500 11.5px/1 var(--mono); letter-spacing: 0.06em; color: var(--label); }
.ix-b::before { content: ''; position: absolute; inset: 2px 0; z-index: -1; }
.ix-b::after { content: ''; position: absolute; left: 6px; right: 6px; bottom: 2px; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform 240ms var(--ease); }
.ix-b:hover, .ix-b.on { color: var(--text); }
.ix-b.on::after { transform: scaleX(1); }
.note-s { padding: 10px 16px; border-top: 1px solid var(--line); font-weight: 500; font-size: 12.5px; letter-spacing: 0.01em; text-transform: none; }
.orca-mark { display: block; width: 64px; height: auto; margin-bottom: 26px; }

/* ---------- closing band: cyan, with one large navy slant at the right ---------- */
.band { padding: clamp(64px, 8vw, 116px) 0; }
.band::after { content: ''; position: absolute; top: 0; bottom: 0; right: -6%; width: 30%; z-index: -1; background: rgba(11, 20, 36, 0.07); transform: skewX(var(--skew)); transform-origin: bottom right; }
.band-in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
.band .title { font-size: clamp(36px, 4.4vw, 62px); max-width: 15ch; }
.band-side p { margin: 0; font-size: 18px; max-width: 46ch; }
.band-side .actions { margin-top: 28px; }

/* ---------- article ---------- */
.article { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); padding: clamp(40px, 5vw, 72px) 0 clamp(24px, 3vw, 48px); }
.meta dl { margin: 0; position: sticky; top: 100px; }
.meta dl > div { border-top: 1px solid var(--line); padding: 12px 0 14px; }
.meta dt { font: 600 12px/1.4 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--label); }
.meta dd { margin: 4px 0 0; color: var(--text); font-size: 15px; }
.prose { max-width: 68ch; font-size: 18px; line-height: 1.7; color: var(--body); }
.prose > p:first-child { font-size: 21px; line-height: 1.55; color: var(--text); margin-top: 0; }
.prose h2 { font: 700 italic clamp(24px, 2.2vw, 29px)/1.15 var(--display); letter-spacing: -0.015em; color: var(--text); margin: 48px 0 10px; }
.prose ul { list-style: none; padding: 0; }
.prose li { position: relative; padding-left: 24px; margin: 10px 0; }
.prose li::before { content: ''; position: absolute; left: 2px; top: 0.8em; width: 10px; height: 2px; background: var(--accent); }
.endnote { margin-top: 52px; padding-top: 18px; border-top: 1px solid var(--rule); font-size: 16px; }
.endnote .label { display: block; margin-bottom: 6px; }
.endnote a { font-weight: 600; margin-right: 6px; }

/* ---------- people ---------- */
.people { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; }
.people li { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.people .mono { flex: none; width: 48px; height: 48px; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--rule); font: 800 italic 17px/1 var(--display); color: var(--text); }
.people.lead-team .mono { background: var(--accent); color: var(--navy); box-shadow: none; }
.people b { display: block; color: var(--text); font-weight: 600; line-height: 1.35; }
.people .r { display: block; font-size: 14.5px; color: var(--label); }
.on-teal .standfirst { margin: 0 0 8px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.enquiry label { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; font: 600 13.5px/1.4 var(--sans); color: var(--text); }
.enquiry label:focus-within { color: var(--accent); }
.enquiry .opt { font: 400 13px var(--sans); color: var(--label); }
.enquiry input, .enquiry select, .enquiry textarea { width: 100%; font: 400 16px/1.4 var(--sans); color: var(--text); background: #fff; border: 0; border-radius: 0; box-shadow: inset 0 0 0 1px var(--dim); padding: 13px 14px; transition: box-shadow 160ms var(--ease); }
.enquiry select { appearance: none; padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 3.5l3 3 3-3' fill='none' stroke='%2307778c' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 14px center / 12px 12px; }
.enquiry textarea { min-height: 170px; resize: vertical; }
.enquiry input:hover, .enquiry select:hover, .enquiry textarea:hover { box-shadow: inset 0 0 0 1px var(--text); }
.enquiry input:focus, .enquiry select:focus, .enquiry textarea:focus { box-shadow: inset 0 0 0 2px var(--accent); outline: none; }
.enquiry input:focus-visible, .enquiry select:focus-visible, .enquiry textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.hp { position: absolute !important; left: -9999px; }
.fine { font-size: 14px; color: var(--label); margin: 0 0 18px; }
.status { font-size: 15px; margin-bottom: 14px; }
.status:empty { display: none; }
.status.ok { color: #0c7a54; }
.status.err { color: #c12f3b; }
.enquiry .sh { margin-bottom: 36px; }
.direct { background: var(--navy); }
.direct dl { margin: 0; padding: 4px 20px 10px; }
.direct dl > div { padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.direct dl > div:last-child { border-bottom: 0; }
.direct dt { font: 600 12px/1.4 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--label); }
.direct dd { margin: 4px 0 0; color: var(--text); font-size: 16px; }
.direct a { color: var(--text); }
.direct a:hover { color: var(--accent); }

/* ---------- footer ---------- */
footer.site { background: var(--navy); padding: 0 0 28px; font-size: 15px; }
footer.site > .wrap { padding-top: 64px; }
.f-top { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2.4fr)); gap: 40px; }
.f-logo { display: inline-block; }
.f-logo img { display: block; height: 28px; width: auto; }
.f-brand p { max-width: 36ch; margin: 22px 0 0; }
footer.site h2.label { margin: 0 0 16px; color: var(--text); }
footer.site ul { list-style: none; margin: 0; padding: 0; }
footer.site li { margin: 0 0 9px; }
footer.site a { color: var(--body); text-decoration: none; transition: color 160ms var(--ease); }
footer.site a:hover { color: var(--accent); }
.f-line { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line); font: 400 13.5px/1.5 var(--sans); color: var(--label); }
.f-line a { color: var(--label); }

/* ---------- scroll reveals (only once JS is running; content is visible without it) ---------- */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); transition-delay: calc(var(--d, 0) * 70ms); }
.js .rv.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .notes.four { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 5vw, 72px); }
  .f-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .f-brand { grid-column: 1 / -1; }
  .top { padding-left: 11px; font-size: 14.5px; }
  .top::after { left: 11px; }
}
@media (max-width: 1039px) {
  .menu { display: inline-flex; }
  nav.main { display: none; position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100vh - 72px); overflow-y: auto; background: var(--navy); border-bottom: 1px solid var(--line); margin: 0; }
  nav.main.open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; padding: 8px 32px 28px; }
  .has-mega { flex-wrap: wrap; border-bottom: 1px solid var(--line-soft); }
  .top { flex: 1; height: auto; padding: 16px 0; font-size: 18px; }
  .top::after { left: 0; right: auto; width: 28px; bottom: 8px; }
  .chev { width: 48px; height: 48px; }
  .mega { position: static; display: none; width: 100%; visibility: visible; opacity: 1; transform: none; box-shadow: none; border: 0; background: none; transition: none; }
  .has-mega.open > .mega { display: block; }
  .mega-in { display: block; padding: 0 0 14px; }
  .mega-intro { display: none; }
  .mega-g .label { margin-top: 10px; padding-bottom: 8px; }
  .mega-g.span2 ul { grid-template-columns: 1fr; }
  .mega-g a { padding: 11px 8px; margin: 0 -8px; }
  .mega-g .d { display: none; }
  .nav-cta { margin: 24px 0 0 6px; padding: 0; }
}
@media (max-width: 880px) {
  .hero-grid, .split, .split.even, .split.orca, .band-in, .contact-grid, .ft-grid, .proof, .sec.side > .wrap { grid-template-columns: minmax(0, 1fr); }
  .sec.side .sh { position: static; margin-bottom: 32px; }
  .hero-grid { gap: 0; }
  .hero-vis { margin: 44px 0 0; padding: 0 0 56px; max-width: 640px; perspective: none; }
  .hv-win.main { transform: none; animation-name: hv-sub; }
  .hv-win.sub { display: none; }
  .hv-cap { right: auto; left: 16px; }
  .orbits { left: -30%; top: -24%; width: 160%; }
  .ft-panel { width: 100%; left: -30%; height: 46%; bottom: auto; }
  .ft-photo { max-width: 340px; }
  .notes, .notes.three { grid-template-columns: minmax(0, 1fr); }
  .track { grid-auto-flow: row; grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 0; }
  .track li { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 12px; border-top: 1px solid var(--line); padding: 20px 0; }
  .track .tn { grid-row: span 2; font-size: 40px; margin: 0; }
  .links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts > div { border-bottom: 1px solid var(--line-soft); }
  .facts > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .article { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .meta dl { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
  .strip { flex-wrap: wrap; }
  .strip-run { flex: 1 1 100%; }
  .strip-lead { flex: 1 1 100%; flex-direction: row; align-items: center; justify-content: space-between; padding: 12px 20px 0; }
  .strip-cue { flex: 1 1 100%; padding: 14px 20px; border-left: 0; border-top: 1px solid var(--line); }
  .toc a { grid-template-columns: minmax(0, 1fr) 16px; gap: 6px 16px; }
  .toc p { grid-column: 1; }
  .toc .arr { grid-column: 2; grid-row: 1 / span 2; }
  .ph-orbit { width: 90vw; right: -40vw; }
  .band::after { width: 50%; right: -30%; }
}
@media (max-width: 600px) {
  :root { --gutter: 20px; }
  body { font-size: 16.5px; }
  .wrap { padding: 0 20px; }
  .bar { height: 64px; }
  .logo img { height: 23px; }
  nav.main { max-height: calc(100vh - 64px); }
  .nav-list { padding: 4px 20px 24px; }
  .hero-h { font-size: clamp(40px, 11.4vw, 56px); }
  .hero .lead { margin-top: 18px; }
  .hero-facts { font-size: 14px; }
  .hv-cap { padding: 10px 14px 10px 12px; left: 12px; }
  .hv-cap b { font-size: 15px; }
  .hv-cap b + span { font-size: 12.5px; }
  .lg { height: 72px; padding: 0 22px; }
  .cards { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .cards a { min-height: 0; padding: 24px 20px 22px; }
  .cards .grp { margin-bottom: 12px; }
  .cgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .cgrid li { min-height: 124px; padding: 18px 14px 14px; }
  .posts a { grid-template-columns: minmax(0, 1fr) 16px; gap: 12px; padding: 22px 0; }
  .pm { flex-direction: row; align-items: baseline; gap: 12px; grid-column: 1; }
  .pt { grid-column: 1; }
  .posts .arr { grid-column: 2; grid-row: 1 / span 2; }
  .pt h3 { font-size: 19px; }
  .toc h3 { font-size: 21px; }
  .links, .people, .row2, .f-top, .notes.four, .notes.prose-notes { grid-template-columns: minmax(0, 1fr); }
  .notes.prose-notes li { padding-bottom: 28px; }
  .actions { gap: 14px 24px; }
  .duo.wide { display: flex; flex-direction: column; width: calc(100% - 20px); }
  .duo.wide .seg { justify-content: space-between; }
  .duo .seg { padding: 15px 18px; }
  .meta dl { grid-template-columns: minmax(0, 1fr); }
  .f-line { flex-direction: column; }
  .ft-meta { grid-template-columns: minmax(0, 1fr); }
  .ft-meta > div { border-right: 0; border-bottom: 1px solid var(--line-soft); margin: 0; padding: 12px 0; }
  .ctrl { flex-wrap: wrap; }
  .idx { order: 3; flex-basis: 100%; }
  .st-bar { flex-wrap: wrap; row-gap: 8px; column-gap: 12px; }
  .st-h { flex: 1 1 calc(100% - 96px); }
  .st-count { order: 2; }
  .st-bar .idx { order: 3; flex: 1 1 auto; flex-basis: auto; gap: 2px; }
  .st-nav { order: 4; }
  .ixn { font-size: 13px; }
  .stories .ft-photo { max-width: 280px; }
  .ft-logos { gap: 28px; padding: 24px; }
  .ft-logos.boards > img { height: 48px; }
  .ft-logos .pair { gap: 24px; padding-top: 26px; }
  .ft-logos .pair img { height: 68px; }
  .cap .c { flex-wrap: wrap; gap: 8px; }
  .proof .fc { font-size: 17.5px; }
}
@media (max-width: 600px) {
  .svc-cards p { display: none; }
  .svc-cards a { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 16px; padding: 20px; }
  .svc-cards .grp { grid-column: 1 / -1; }
  .svc-cards h3 { margin: 0; }
  .svc-cards .go { font-size: 0; gap: 0; margin: 0 0 4px; }
  .svc-cards .cta-card p { display: block; grid-column: 1 / -1; margin: 8px 0 14px; }
  .svc-cards .cta-card .go { font-size: 14.5px; gap: 8px; grid-column: 1 / -1; }
  .hero-facts { flex-direction: column; gap: 4px; }
  .hero-facts li::before, .hero-facts li + li::before { content: ""; display: inline-block; width: 10px; height: 2px; margin: 0 12px 0 0; vertical-align: middle; background: var(--accent); }
}
@media (max-width: 440px) {
  .duo { display: flex; flex-direction: column; width: calc(100% - 20px); }
  .duo .seg { justify-content: space-between; }
}
@media (max-width: 400px) {
  .st-bar .ix-b { padding: 9px 6px; }
  .ixn { font-size: 12.5px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0ms !important; animation: none !important; }
  .js .rv { opacity: 1; transform: none; }
  .orbits .star { display: none; }
  .strip-set.dup { display: none; }
  .strip-run { overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .strip-track { width: auto; }
  .strip-set { flex-wrap: wrap; }
  .strip-pause { display: none; }
  .st-edge { display: none; }
  .lg { height: 68px; padding: 0 22px; }
}
@media print {
  header.site, .band, footer.site nav, .hero-vis, .strip-run, .ph-orbit { display: none; }
  .cut, .cut-top { clip-path: none; }
}
