/* Self-hosted fonts (SIL Open Font License; see assets/fonts). No third-party font requests. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/inter-400.woff') format('woff'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/inter-500.woff') format('woff'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/inter-600.woff') format('woff'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/inter-700.woff') format('woff'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/jetbrains-mono-400.woff') format('woff'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/jetbrains-mono-700.woff') format('woff'); }

/* Flo Studio Software — design system. Tokens first; light + dark. */
:root {
  --brand: #005c8f;          /* logo blue, sampled from supplied artwork */
  --brand-strong: #004a74;
  --brand-ink: #ffffff;
  --grey: #aaaaaa;           /* logo grey; decorative only, never body text */

  --bg: #ffffff;
  --bg-soft: #f5f7f8;
  --surface: #ffffff;
  --border: #e5e7eb;
  --border-strong: #cfd5dc;
  --text: #111827;
  --text-2: #4b5563;
  --accent: #005c8f;         /* link / emphasis text colour */
  --accent-soft: rgba(0, 92, 143, 0.08);
  --shadow: 0 1px 2px rgba(17, 24, 39, 0.04), 0 8px 24px rgba(17, 24, 39, 0.06);
  --header-bg: rgba(255, 255, 255, 0.82);
  --band: #003f63;           /* high-contrast CTA band */
  --band-text: #ffffff;

  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;
  --r-sm: 6px; --r-md: 12px; --r-lg: 16px;
  --max: 1200px;
  --nav-h: 92px;
  --announce-h: 0px;         /* set by JS to the banner's height while it is showing */
  --header-h: calc(var(--nav-h) + var(--announce-h));  /* total sticky chrome: banner + nav */
  color-scheme: light;
}

:root[data-theme='dark'] {
  --bg: #0a0d12;
  --bg-soft: #0f141b;
  --surface: #121821;
  --border: #232b36;
  --border-strong: #354050;
  --text: #f3f4f6;
  --text-2: #a9b2bf;
  --accent: #5db4e8;
  --accent-soft: rgba(93, 180, 232, 0.1);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.35);
  --header-bg: rgba(10, 13, 18, 0.82);
  --band: #08283d;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: clamp(16px, 0.35vw + 15px, 18px); line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--brand); color: #fff; }

h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -0.025em; margin: 0 0 var(--s4); font-weight: 650; color: var(--text); }
h1 { font-size: clamp(2.35rem, 4.6vw + 0.6rem, 4.25rem); letter-spacing: -0.035em; font-weight: 700; }
h2 { font-size: clamp(1.9rem, 2.6vw + 0.8rem, 3rem); }
h3 { font-size: clamp(1.25rem, 0.9vw + 1rem, 1.75rem); }
h4 { font-size: 1.25rem; }
p { margin: 0 0 var(--s4); }
.lead { font-size: clamp(1.1rem, 0.5vw + 1rem, 1.3rem); color: var(--text-2); max-width: 62ch; }
.small { font-size: 0.875rem; }
.muted { color: var(--text-2); }
.mono { font-family: var(--mono); }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: clamp(64px, 9vw, 112px); }
.section--soft { background: var(--bg-soft); border-block: 1px solid var(--border); }
.section-head { max-width: 760px; margin-bottom: var(--s7); }
.eyebrow { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: var(--s4); display: block; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--brand); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); z-index: 200; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer;
  font: 600 0.95rem/1 var(--font); padding: 14px 22px; border-radius: 8px; border: 1px solid transparent;
  text-decoration: none; transition: background .18s, border-color .18s, transform .18s, color .18s; white-space: nowrap;
}
.btn--primary { background: var(--brand); color: var(--brand-ink); }
.btn--primary:hover { background: var(--brand-strong); text-decoration: none; }
:root[data-theme='dark'] .btn--primary { background: #0a6ba8; }
:root[data-theme='dark'] .btn--primary:hover { background: #0e7cc1; }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.btn--sm { padding: 10px 16px; font-size: 0.875rem; }
.btn--on-band { background: #fff; color: #00334f; }
.btn--on-band:hover { background: #e8f3fa; text-decoration: none; }
.btn--ghost-band { color: #fff; border-color: rgba(255, 255, 255, .45); background: transparent; }
.btn--ghost-band:hover { border-color: #fff; text-decoration: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s5); }
.arrow-link { font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.arrow-link::after { content: '→'; transition: transform .18s; }
.arrow-link:hover::after { transform: translateX(3px); }

/* -------------------------------------------------------------- header */
.site-header { position: sticky; top: var(--announce-h); z-index: 100; height: var(--nav-h); background: var(--header-bg); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--border); }
.header-inner { height: 100%; display: flex; align-items: center; gap: var(--s5); }
.logo { display: inline-flex; align-items: center; flex: none; }
.logo img { height: 76px; width: auto; }
.site-footer .logo img { height: 60px; }
.logo-dark { display: none; }
:root[data-theme='dark'] .logo-light { display: none; }
:root[data-theme='dark'] .logo-dark { display: block; }
.primary-nav { margin-left: auto; }
.primary-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.primary-nav a { display: block; padding: 8px 12px; border-radius: var(--r-sm); color: var(--text-2); text-decoration: none; font-size: 0.94rem; font-weight: 500; }
.primary-nav a:hover { color: var(--text); background: var(--accent-soft); }
.primary-nav a { position: relative; }
.primary-nav a[aria-current='page'] { color: var(--text); }
.primary-nav a[aria-current='page']::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--accent); }
.mobile-nav a[aria-current='page'] { color: var(--accent); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.header-actions { display: flex; align-items: center; gap: var(--s3); }
.icon-btn { width: 40px; height: 40px; display: inline-grid; place-items: center; background: transparent; color: var(--text-2); border: 1px solid var(--border); border-radius: 8px; cursor: pointer; transition: color .18s, border-color .18s; }
.icon-btn:hover { color: var(--accent); border-color: var(--accent); }
.icon-btn svg { width: 18px; height: 18px; }
.theme-toggle .i-moon { display: none; }
:root[data-theme='dark'] .theme-toggle .i-sun { display: none; }
:root[data-theme='dark'] .theme-toggle .i-moon { display: block; }
.menu-btn { display: none; }
.mobile-nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--bg); z-index: 99; padding: 24px; overflow-y: auto; display: none; flex-direction: column; gap: var(--s5); }
.mobile-nav.is-open { display: flex; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav li a { display: block; padding: 16px 0; border-bottom: 1px solid var(--border); font-size: 1.35rem; font-weight: 600; color: var(--text); text-decoration: none; }
body.nav-open { overflow: hidden; }
@media (max-width: 65em) {
  .primary-nav, .header-actions .btn { display: none; }
  .menu-btn { display: inline-grid; }
  .header-actions { margin-left: auto; }
}

/* ----------------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 96px) clamp(56px, 8vw, 104px); }
.hero::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 56px 56px; opacity: .55;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 0%, transparent 72%); mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 0%, transparent 72%); }
.hero-grid { position: relative; display: grid; gap: var(--s6); grid-template-columns: 1fr 1fr; align-items: center; }
.hero h1 { max-width: 14ch; }
.hero .lead { margin-bottom: 0; }
.trust-checks { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); margin: var(--s5) 0 0; padding: 0; font-size: .95rem; font-weight: 500; color: var(--text); }
.trust-checks li { display: inline-flex; align-items: center; gap: 8px; }
.trust-checks svg { color: var(--accent); flex: none; }
.hero-line { font-family: var(--mono); font-size: 0.8rem; color: var(--text-2); margin-top: var(--s6); letter-spacing: .02em; }
.hero-visual { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 20px; }
.page-hero { padding-block: clamp(48px, 7vw, 88px) clamp(32px, 4vw, 56px); border-bottom: 1px solid var(--border); background: var(--bg-soft); }
.page-hero h1 { font-size: clamp(2.1rem, 3.8vw + 0.6rem, 3.5rem); max-width: 22ch; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; } .hero h1 { max-width: 18ch; } }

/* diagrams */
.dg-line { stroke: var(--border-strong); stroke-width: 1.5; fill: none; }
.dg-flow { stroke: var(--accent); stroke-width: 1.75; fill: none; stroke-dasharray: 4 6; animation: dash 2.4s linear infinite; }
.dg-node { fill: var(--bg); stroke: var(--border-strong); stroke-width: 1.25; }
.dg-node--hi { fill: var(--accent-soft); stroke: var(--accent); }
.dg-t { font: 600 15px var(--mono); fill: var(--text); }
.dg-s { font: 400 12px var(--mono); fill: var(--text-2); }
.dg-cap { font: 600 12px var(--mono); fill: var(--accent); letter-spacing: .12em; }
.dg-narrow { display: none; }
@media (max-width: 600px) { .dg-wide { display: none; } .dg-narrow { display: block; } .dg-t { font-size: 13.5px; } .dg-s { font-size: 11.5px; } .hero-visual { padding: 12px; } }
@keyframes dash { to { stroke-dashoffset: -20; } }

.flow { list-style: none; margin: var(--s7) 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; counter-reset: f; }
.flow li { position: relative; padding: 20px 16px; border: 1px solid var(--border); background: var(--surface); margin-left: -1px; counter-increment: f; }
.flow li:first-child { border-radius: var(--r-md) 0 0 var(--r-md); margin-left: 0; }
.flow li:last-child { border-radius: 0 var(--r-md) var(--r-md) 0; }
.flow li::before { content: '0' counter(f); font: 500 .72rem var(--mono); color: var(--accent); display: block; margin-bottom: 8px; }
.flow strong { display: block; font-size: 1.05rem; }
.flow span { font-size: .85rem; color: var(--text-2); line-height: 1.4; display: block; margin-top: 4px; }
@media (max-width: 860px) { .flow { grid-template-columns: 1fr 1fr; gap: 12px; } .flow li, .flow li:first-child, .flow li:last-child { border-radius: var(--r-md); margin: 0; } }
@media (max-width: 480px) { .flow { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- cards */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 28px; display: flex; flex-direction: column; transition: border-color .2s, transform .2s, box-shadow .2s; position: relative; }
a.card, .card.is-link { text-decoration: none; color: inherit; }
a.card:hover, .card.is-link:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-2px); }
.card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.card p { color: var(--text-2); font-size: .97rem; margin-bottom: 16px; }
.card .arrow-link { margin-top: auto; font-size: .92rem; color: var(--accent); }
.card-num { font: 500 .78rem var(--mono); color: var(--accent); margin-bottom: 18px; display: block; }
.card--dashed { border-style: dashed; background: transparent; }
.badge { display: inline-block; font: 500 .72rem var(--mono); letter-spacing: .06em; padding: 4px 10px; border-radius: 6px; border: 1px solid var(--border-strong); color: var(--text-2); background: var(--bg); }
.badge--accent { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.meta-row { display: flex; flex-wrap: wrap; gap: 6px 14px; font: 400 .74rem var(--mono); color: var(--text-2); margin: 4px 0 16px; }
.meta-row span::before { content: '— '; color: var(--border-strong); }

/* split sections */
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: var(--s8); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: var(--s6); } }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; }
.checklist li { padding: 12px 0 12px 28px; border-bottom: 1px solid var(--border); position: relative; font-size: .98rem; }
.checklist li::before { content: ''; position: absolute; left: 0; top: 1.15em; width: 14px; height: 8px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg) scale(.85); transform-origin: left top; }
@media (max-width: 640px) { .checklist { grid-template-columns: 1fr; } }
.stack-list { list-style: none; margin: 0; padding: 0; }
.stack-list li { padding: 14px 0; border-bottom: 1px solid var(--border); }
.stack-list strong { display: block; }
.stack-list span { color: var(--text-2); font-size: .95rem; }

/* process */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; background: var(--surface); counter-reset: p; }
.process li { padding: 28px; border: 0 solid var(--border); border-right-width: 1px; border-bottom-width: 1px; counter-increment: p; }
.process li:nth-child(3n) { border-right-width: 0; }
.process li:nth-last-child(-n+3) { border-bottom-width: 0; }
.process li::before { content: counter(p, decimal-leading-zero); font: 500 .8rem var(--mono); color: var(--accent); display: block; margin-bottom: 14px; }
.process h3 { font-size: 1.2rem; margin-bottom: 6px; }
.process p { color: var(--text-2); margin: 0; font-size: .95rem; }
@media (max-width: 900px) { .process { grid-template-columns: 1fr 1fr; } .process li { border-right-width: 1px !important; border-bottom-width: 1px !important; } .process li:nth-child(2n) { border-right-width: 0 !important; } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } .process li { border-right-width: 0 !important; } }

/* tech */
.tech-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1000px) { .tech-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tech-grid { grid-template-columns: 1fr; } }
.tech-group { padding: 22px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); }
.tech-group h3 { font: 500 .78rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); margin-bottom: 14px; }
.principle { font-family: var(--mono); font-size: .88rem; color: var(--text-2); border-left: 2px solid var(--accent); padding-left: 16px; margin-top: var(--s6); max-width: 70ch; }

/* callout + band */
.callout { border: 1px solid var(--accent); background: var(--accent-soft); border-radius: var(--r-md); padding: 32px; margin-block: var(--s7); }
.callout p:first-child { font-size: clamp(1.4rem, 1.5vw + 1rem, 2rem); font-weight: 650; letter-spacing: -.02em; color: var(--text); margin-bottom: 8px; }
.callout p:last-child { margin: 0; color: var(--text-2); }
.band { background: var(--band); color: var(--band-text); padding-block: clamp(64px, 8vw, 104px); position: relative; overflow: hidden; }
.band::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 60% 100% at 90% 0%, #000, transparent 70%); mask-image: radial-gradient(ellipse 60% 100% at 90% 0%, #000, transparent 70%); }
.band .container { position: relative; }
.band h2 { color: #fff; max-width: 20ch; }
.band p { color: rgba(255, 255, 255, .82); max-width: 58ch; font-size: 1.1rem; }

/* faq */
.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font-weight: 600; font-size: 1.08rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 400 1.5rem var(--mono); color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--text-2); padding-bottom: 22px; margin: 0; max-width: 72ch; }

/* breadcrumbs */
.breadcrumbs { margin-bottom: var(--s5); font-size: .85rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; color: var(--text-2); }
.breadcrumbs li + li::before { content: '/'; margin-right: 6px; color: var(--border-strong); }
.breadcrumbs a { color: var(--text-2); }
.breadcrumbs a:hover { color: var(--accent); }

/* industries / chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 8px 14px; border: 1px solid var(--border-strong); border-radius: 999px; font-size: .88rem; color: var(--text-2); text-decoration: none; }
a.chip:hover { color: var(--accent); border-color: var(--accent); }

/* forms */
.form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.req { color: var(--accent); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: var(--surface); border: 1px solid var(--border-strong); border-radius: 8px; padding: 12px 14px; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field [aria-invalid='true'] { border-color: #c2410c; }
:root[data-theme='dark'] .field [aria-invalid='true'] { border-color: #fb923c; }
.field .err { color: #b91c1c; font-size: .85rem; margin-top: 6px; display: none; }
:root[data-theme='dark'] .field .err { color: #fca5a5; }
.field .err.is-shown { display: block; }
.hint { color: var(--text-2); font-size: .85rem; margin-top: 4px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--text-2); }
.check input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--brand); flex: none; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.notice { border: 1px solid var(--border-strong); border-left: 3px solid var(--accent); padding: 16px 18px; border-radius: 8px; background: var(--bg-soft); font-size: .95rem; }
.notice--warn { border-left-color: #b45309; }
[hidden] { display: none !important; }

/* legal / prose */
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.5rem; margin-top: var(--s7); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 6px; color: var(--text-2); }
.prose p { color: var(--text-2); }

/* footer */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-soft); padding-block: 72px 32px; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.footer-top--3 { grid-template-columns: 1.4fr repeat(3, 1fr); }
@media (max-width: 1000px) { .footer-top, .footer-top--3 { grid-template-columns: 1fr 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr 1fr; } }
.footer-brand p { color: var(--text-2); font-size: .9rem; max-width: 40ch; margin-top: 16px; }
.site-footer h2 { font: 500 .75rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer li a { color: var(--text); text-decoration: none; font-size: .92rem; }
.site-footer li a:hover { color: var(--accent); text-decoration: underline; }
.soon { color: var(--text-2); font-size: .92rem; }
.soon small { font: 400 .68rem var(--mono); margin-left: 6px; opacity: .8; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--border); font-size: .85rem; color: var(--text-2); }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-bottom li { margin: 0; }
.footer-bottom a { font-size: .85rem; }

/* cookie banner + modal (inactive until enabled in config) */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 560px; z-index: 150; background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--r-md); box-shadow: var(--shadow); padding: 20px; }
.cookie p { font-size: .9rem; margin-bottom: 14px; color: var(--text-2); }
dialog.modal { border: 1px solid var(--border-strong); border-radius: var(--r-lg); background: var(--surface); color: var(--text); padding: 28px; max-width: 560px; width: calc(100% - 32px); }
dialog.modal::backdrop { background: rgba(0, 0, 0, .55); }
.testimonial { border-left: 2px solid var(--accent); padding-left: 20px; }

/* motion: only hide when JS is on and motion is allowed */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
  .js .reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dg-flow { animation: none; }
  * { transition-duration: .01ms !important; }
}
@media print { .site-header, .site-footer, .band, .cookie { display: none; } }

/* social + checkbox fixes */
.social, .site-footer .social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.social li, .site-footer .social li { margin: 0; }
.social a, .social .soon { display: inline-flex; gap: 8px; align-items: center; font-size: .92rem; }
.social a { color: var(--text); text-decoration: none; }
.social a:hover { color: var(--accent); }
.field label.check { display: flex; font-weight: 400; margin: 0; }
.card .arrow-link { align-self: flex-start; }

/* ===================== hero parallax shapes ===================== */
.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; background: radial-gradient(circle at 30% 30%, var(--accent-soft), transparent 70%); will-change: transform; }
.blob--1 { width: 520px; height: 520px; right: -140px; top: -120px; }
.blob--2 { width: 380px; height: 380px; left: -120px; bottom: -160px; }

/* ===================== parallax scene bands ===================== */
.scene-band { position: relative; overflow: hidden; background: var(--bg-soft); border-block: 1px solid var(--border); min-height: clamp(220px, 28vw, 340px); display: flex; align-items: center; }
.scene-band--tall { min-height: clamp(260px, 34vw, 420px); }
.scene { position: absolute; inset: -60px 0; }
.scene-layer { position: absolute; inset: 0; will-change: transform; }
.scene-layer svg { width: 100%; height: 100%; }
.sc-dot circle { fill: var(--border-strong); }
.sc-card { fill: var(--surface); stroke: var(--border-strong); stroke-width: 1.25; }
.sc-card--hi { fill: var(--accent-soft); stroke: var(--accent); }
.sc-bar { fill: var(--border-strong); opacity: .7; }
.sc-line { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 5 7; }
.sc-node circle { fill: var(--bg); stroke: var(--accent); stroke-width: 2.5; }
.scene-quote { position: relative; max-width: 26ch; margin: 0; font-size: clamp(1.5rem, 2.6vw + .5rem, 2.5rem); line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; color: var(--text); background: color-mix(in srgb, var(--bg) 86%, transparent); padding: 24px 28px; border-radius: var(--r-md); border: 1px solid var(--border); }

/* ===================== Our Approach (pinned scroll) ===================== */
.approach { background: var(--bg); border-top: 1px solid var(--border); }
.approach-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 20px; }
.approach-head h2 { margin: 0; max-width: 22ch; }
.approach-count { font: 500 2rem var(--mono); color: var(--accent); }
.approach-of { color: var(--text-2); font-size: 1rem; }
.approach-nav { display: none; margin-bottom: 20px; }
.approach-side { display: flex; align-items: center; gap: 24px; }
.approach-ctrl { display: none; gap: 10px; }
.approach-hint { display: none; margin: 0 0 12px; font: 400 .8rem var(--mono); color: var(--text-2); }
.approach.is-pinned .approach-ctrl { display: flex; }
.approach.is-pinned .approach-hint { display: block; }
.ctrl-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.ctrl-btn:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.ctrl-btn--next { background: var(--brand); border-color: var(--brand); color: #fff; }
.ctrl-btn--next:hover:not(:disabled) { background: var(--brand-strong); color: #fff; border-color: var(--brand-strong); }
.ctrl-btn:disabled { opacity: .35; cursor: default; }
.approach-nav ul { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.approach-nav button { font: 500 .85rem var(--mono); background: none; border: 0; padding: 6px 0; cursor: pointer; color: var(--text-2); border-bottom: 2px solid transparent; }
.approach-nav button span { color: var(--accent); }
.approach-nav button[aria-current='step'] { color: var(--text); border-bottom-color: var(--accent); }
.approach-nav button:hover { color: var(--text); }
.approach-progress { height: 3px; background: var(--border); border-radius: 2px; overflow: hidden; }
.approach-progress span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .35s ease; }

.approach-track { padding-block: clamp(56px, 8vw, 96px); }
.approach-stage { display: grid; gap: 20px; }
.approach-card { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 40px); box-shadow: var(--shadow); }
.ac-text h3 { font-size: clamp(1.7rem, 2vw + 1rem, 2.4rem); margin-bottom: 6px; }
.ac-lead { font-size: 1.15rem; font-weight: 600; color: var(--text); margin-bottom: 10px; }
.ac-text p { color: var(--text-2); }
.ac-text .badges { list-style: none; padding: 0; margin: 18px 0 0; }
.ac-text .badges li { margin: 0; }
.ac-art { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--r-md); padding: 16px; }
.il { width: 100%; height: auto; }
.il-line { stroke: var(--border-strong); stroke-width: 1.5; fill: none; }
.il-flow { stroke: var(--accent); stroke-width: 2; fill: none; stroke-dasharray: 5 7; animation: dash 2.4s linear infinite; }
.il-node { fill: var(--bg); stroke: var(--border-strong); stroke-width: 1.25; }
.il-hub { fill: var(--accent-soft); stroke: var(--accent); stroke-width: 1.5; }
.il-fill { fill: var(--accent-soft); stroke: var(--border-strong); stroke-width: 1; }
.il-ring { fill: none; stroke: var(--accent); stroke-width: 1; stroke-dasharray: 3 6; opacity: .6; }
.il-dash { fill: none; stroke: var(--accent); stroke-width: 1.25; stroke-dasharray: 6 6; }
.il-dot { fill: var(--border-strong); }
.il-bar { fill: var(--border-strong); opacity: .75; }
.il-bar-acc { fill: var(--accent); opacity: .8; }
.il-acc { fill: var(--accent); }
.il-ok { fill: var(--accent); }
.il-tick { fill: none; stroke: var(--bg); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.il-gauge-bg { fill: none; stroke: var(--border-strong); stroke-width: 14; stroke-linecap: round; }
.il-gauge { fill: none; stroke: var(--accent); stroke-width: 14; stroke-linecap: round; }
.il-t { font: 500 11px var(--mono); fill: var(--text); }

/* pinned mode: enabled by JS only on large screens with motion allowed */
.approach.is-pinned .approach-nav { display: block; }
.approach.is-pinned .approach-track { padding-block: 0; height: calc(var(--n) * 22vh + 100vh - var(--header-h)); }
.approach.is-pinned .approach-sticky { position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); display: flex; align-items: center; overflow: hidden; }
.approach.is-pinned .approach-sticky > .container { width: 100%; }
.approach.is-pinned .approach-stage { position: relative; display: block; height: min(420px, calc(100vh - var(--header-h) - 190px)); }
.approach.is-pinned .approach-card { position: absolute; inset: 0; opacity: 0; transform: translateX(48px); pointer-events: none; transition: opacity .45s ease, transform .45s ease; }
.approach.is-pinned .approach-card.is-past { transform: translateX(-48px); }
.approach.is-pinned .approach-card.is-active { opacity: 1; transform: none; pointer-events: auto; }
.approach.is-pinned .ac-art { height: 100%; display: flex; align-items: center; }

@media (max-width: 760px) { .approach-card { grid-template-columns: 1fr; } }

/* ===================== Our clients carousel ===================== */
.marquee { position: relative; }
.marquee-btn { position: absolute; right: 0; top: -52px; font: 500 .8rem var(--mono); background: var(--surface); color: var(--text-2); border: 1px solid var(--border-strong); border-radius: var(--r-sm); padding: 6px 12px; cursor: pointer; }
.marquee-btn:hover { color: var(--accent); border-color: var(--accent); }
.marquee-viewport { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { list-style: none; margin: 0; padding: 0; display: flex; flex-shrink: 0; gap: 20px; padding-right: 20px; min-width: 100%; justify-content: space-around; }
.client { flex: 0 0 auto; width: 200px; height: 96px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); }
.client img { max-height: 40px; width: auto; opacity: .85; }
.client--ph { border-style: dashed; color: var(--text-2); font: 500 .85rem var(--mono); }
.client--ph small { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
@media (prefers-reduced-motion: no-preference) {
  .js .marquee-track { animation: marquee 40s linear infinite; }
  .marquee.is-paused .marquee-track, .marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
}
@keyframes marquee { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .marquee-viewport { overflow-x: auto; } .marquee-btn { display: none; } .marquee-track[aria-hidden='true'] { display: none; } }

/* ===================== About: mission + vision ===================== */
.card--mv { padding: clamp(28px, 3vw, 44px); background: var(--surface); }
.card--mv .mv-h { font-size: clamp(1.6rem, 1.4vw + 1.2rem, 2.1rem); line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; color: var(--text); margin: 0 0 var(--s4); }
.card--mv .mv-text { font-size: clamp(1.15rem, 0.9vw + 0.95rem, 1.5rem); line-height: 1.55; font-weight: 500; letter-spacing: -0.005em; color: var(--text) !important; margin: 0 !important; }

/* ===================== Careers: journey ===================== */
.journey { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 28px; counter-reset: j; }
.journey li { position: relative; padding-top: 20px; border-top: 2px solid var(--border-strong); }
.journey li:hover { border-top-color: var(--accent); }
.journey-n { position: absolute; top: -17px; left: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; font: 600 .85rem var(--mono); display: flex; align-items: center; justify-content: center; }
.journey h3 { font-size: 1.15rem; margin-top: 10px; margin-bottom: 6px; }
.journey p { color: var(--text-2); margin: 0; font-size: .97rem; }
@media (max-width: 900px) { .journey { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .journey { grid-template-columns: 1fr; } }
.card > .badge { align-self: flex-start; }

/* ===================== scene art v2 + photo slot ===================== */
.sc-grid path { stroke: var(--border); stroke-width: 1; fill: none; opacity: .8; }
.sc-glow { fill: var(--accent-soft); }
.sc-orbit { fill: none; stroke: var(--accent); stroke-width: 1; stroke-dasharray: 4 8; opacity: .55; }
.sc-orbit--2 { opacity: .35; }
.sc-plane { fill: var(--surface); stroke: var(--border-strong); stroke-width: 1.5; }
.sc-plane--hi { fill: var(--accent-soft); stroke: var(--accent); }
.sc-plane-grid { stroke: var(--border-strong); stroke-width: 1; opacity: .6; fill: none; }
.sc-label { font: 500 13px var(--mono); letter-spacing: .14em; fill: var(--accent); }
.sc-drop { stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 3 7; fill: none; opacity: .7; }
.sc-spark { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.sc-node-fill { fill: var(--accent); opacity: .75; }
.sc-link { stroke: var(--accent); stroke-width: 1.5; opacity: .45; }
.sc-person { fill: var(--surface); stroke: var(--border-strong); stroke-width: 1.5; }
.sc-person--hi { fill: var(--accent-soft); stroke: var(--accent); }
.sc-head { fill: var(--accent); opacity: .85; }
.sc-body { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; opacity: .85; }
.scene-photo img { width: 100%; height: 100%; object-fit: cover; }
.scene-shade { position: absolute; inset: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--bg) 82%, transparent), color-mix(in srgb, var(--bg) 25%, transparent)); }
@media (prefers-reduced-motion: no-preference) { .sc-float { animation: floaty 7s ease-in-out infinite; } .sc-float:nth-of-type(2) { animation-delay: -3s; } }
@keyframes floaty { 50% { transform: translateY(-10px); } }

/* ===================== chosen band designs ===================== */
.scene--a { background: #06263d; }
.a-g { stroke: #fff; stroke-opacity: .06; stroke-width: 1; fill: none; } .a-g--major { stroke-opacity: .14; }
.a-box { fill: rgba(140, 200, 238, .05); stroke: #8cc8ee; stroke-width: 1.3; } .a-corner { fill: none; stroke: #cfe8f8; stroke-width: 2; }
.a-t { font: 500 13px var(--mono); fill: #e8f4fc; letter-spacing: .1em; } .a-s { font: 400 10.5px var(--mono); fill: #8cc8ee; letter-spacing: .08em; }
.a-wire { stroke: #8cc8ee; stroke-width: 1.5; stroke-dasharray: 5 6; fill: none; } .a-arrow path { fill: #8cc8ee; }
.a-node { fill: #06263d; stroke: #cfe8f8; stroke-width: 1.5; } .a-n { font: 600 11px var(--mono); fill: #e8f4fc; }
.a-dim { stroke: #cfe8f8; stroke-width: 1; fill: none; opacity: .75; } .a-dimbg { fill: #06263d; } .a-d { font: 500 10.5px var(--mono); fill: #cfe8f8; letter-spacing: .1em; }
.a-title { fill: none; stroke: #cfe8f8; stroke-width: 1.2; }

.scene--c { background: linear-gradient(120deg, #002f4a 0%, #005c8f 55%, #0a78b0 100%); }

.scene--d { --d-t: #e6f1f8; --d-l: #b9d6e8; --d-r: #8fb7d0; --d-line: rgba(0, 60, 99, .25); background: linear-gradient(180deg, var(--bg-soft), var(--bg)); }
:root[data-theme='dark'] .scene--d { --d-t: #27465c; --d-l: #16293a; --d-r: #0e1c29; --d-line: rgba(93, 180, 232, .25); }
.d-t { fill: var(--d-t); } .d-l { fill: var(--d-l); } .d-r { fill: var(--d-r); }
.d-t, .d-l, .d-r { stroke: var(--d-line); stroke-width: 1; } .d-fl { fill: none; stroke: var(--d-line); stroke-width: 1; }
.d-far { opacity: .55; } .d-hi .d-t { fill: var(--accent); } .d-hi .d-l { fill: #00507d; } .d-hi .d-r { fill: #003f63; }
.d-beam { stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 3 6; } .d-link { fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-dasharray: 5 7; }
.d-pt { fill: var(--bg); stroke: var(--accent); stroke-width: 3; } .d-ring { fill: none; stroke: var(--accent); stroke-width: 1.2; stroke-dasharray: 3 5; }

.scene--e { background: linear-gradient(110deg, #04182a, #073553); }
.e-star circle { fill: #fff; } .e-disc { fill: #0a2b45; stroke: none; } .e-dot circle { fill: #9dd2f2; }
.e-limb { fill: none; stroke: #5db4e8; stroke-width: 1.2; opacity: .6; }
.e-arc { fill: none; stroke: #cfe8f8; stroke-width: 1.6; opacity: .85; } .e-pt { fill: #e8f4fc; }
.e-pt--hi { fill: #5db4e8; stroke: #fff; stroke-width: 2; } .e-ring { fill: none; stroke: #5db4e8; stroke-width: 1.3; stroke-dasharray: 3 5; }
.scene--a ~ *, .scene--e ~ * { }

/* ===================== social icons (icon only, one line) ===================== */
.social, .site-footer .social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: nowrap; align-items: center; gap: 14px; }
.social li, .site-footer .social li { margin: 0; }
.social a, .social .soc-off { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border-strong); display: inline-flex; align-items: center; justify-content: center; color: var(--text); background: var(--surface); transition: border-color .2s, color .2s, background .2s; }
.social a:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); text-decoration: none; }
.social .soc-off { color: var(--text-2); opacity: .55; cursor: default; border-style: dashed; }

/* ===================== security check (Turnstile) + file input ===================== */
.captcha { min-height: 65px; }
.captcha--ph { display: flex; flex-direction: column; gap: 4px; justify-content: center; border: 1px dashed var(--border-strong); border-radius: var(--r-sm); padding: 14px 16px; font-size: .88rem; color: var(--text-2); background: var(--bg-soft); max-width: 420px; }
.captcha--ph strong { color: var(--text); }
input[type='file'] { width: 100%; padding: 10px; border: 1px dashed var(--border-strong); border-radius: var(--r-sm); background: var(--surface); color: var(--text); font: inherit; }
section[id], div[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

/* Homepage entity statement */
.entity-lead { margin: 0; max-width: 62ch; font-size: clamp(1.15rem, 0.9vw + 0.95rem, 1.5rem); line-height: 1.55; color: var(--text); letter-spacing: -0.005em; }
.entity-lead strong { font-weight: 600; }

/* Form layouts: side note + form; stack on tablet/phone */
.split--form { grid-template-columns: 0.7fr 1.3fr; }
.split > * { min-width: 0; }
.form input, .form select, .form textarea { max-width: 100%; min-width: 0; }
@media (max-width: 900px) { .split--form { grid-template-columns: 1fr; } }

@media (max-width: 480px) { :root { --nav-h: 80px; } .logo img { height: 58px; } }
/* Very small phones (<=360px): keep header inside the viewport */
@media (max-width: 360px) {
  .header-inner { gap: var(--s3); }
  .logo img { height: 46px; }
  .header-actions { gap: 8px; }
}
@media (max-width: 480px) { .btn { white-space: normal; text-align: center; max-width: 100%; } .btn-row .btn { flex: 1 1 100%; justify-content: center; } }

/* Homepage entity statement on the Horizon band (option J) */
.scene--j { background: linear-gradient(180deg, #031d33 0%, #0a4a73 48%, #7fbfe6 82%, #d6ecf8 100%); }
.j-halo { fill: rgba(255, 255, 255, .1); }
.scene-band--horizon { align-items: flex-start; min-height: clamp(380px, 38vw, 460px); padding-block: clamp(40px, 6vw, 72px) clamp(150px, 16vw, 200px); border-color: transparent; }
.scene-band--horizon .container { position: relative; z-index: 2; }
.scene-band--horizon .entity-lead { color: #fff; max-width: 52ch; text-shadow: 0 1px 24px rgba(3, 29, 51, .55); }
.scene-band--horizon .entity-lead strong { color: #fff; }

/* Careers band: isometric office (option S) */
/* S */
.scene--s{--s-top:#eaf2f8;--s-lf:#cddfec;--s-rt:#b3cde0;--s-line:rgba(0,60,99,.22);--s-floor:#e3edf5;--s-far:#f1f6fa;--s-wall-l:#d6e6f1;--s-wall-r:#c4d9e8;--s-win:#9ecdee;background:linear-gradient(180deg,var(--bg-soft),var(--bg))}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .scene--s{--s-top:#27465c;--s-lf:#16293a;--s-rt:#0e1c29;--s-line:rgba(93,180,232,.25);--s-floor:#12202e;--s-far:#0c1722;--s-wall-l:#16293a;--s-wall-r:#0e1c29;--s-win:#1f4d70}}
:root[data-theme="dark"] .scene--s{--s-top:#27465c;--s-lf:#16293a;--s-rt:#0e1c29;--s-line:rgba(93,180,232,.25);--s-floor:#12202e;--s-far:#0c1722;--s-wall-l:#16293a;--s-wall-r:#0e1c29;--s-win:#1f4d70}
.s-far{fill:var(--s-far)}.s-floor{fill:var(--s-floor);stroke:var(--s-line)}.s-grid{stroke:var(--s-line);stroke-width:1;fill:none;opacity:.7}
.s-wl{fill:var(--s-wall-l);stroke:var(--s-line)}.s-wr{fill:var(--s-wall-r);stroke:var(--s-line)}.s-win{fill:var(--s-win);opacity:.75;stroke:var(--s-line)}
.s-t{fill:var(--s-top);stroke:var(--s-line)}.s-l{fill:var(--s-lf);stroke:var(--s-line)}.s-r{fill:var(--s-rt);stroke:var(--s-line)}
.s-glow{fill:var(--accent);opacity:.1}.s-glow--2{opacity:.14}.s-sh{fill:rgba(0,40,70,.18)}.s-path{stroke:var(--accent);stroke-width:1.6;stroke-dasharray:3 7;fill:none;opacity:.7}
.s-card{fill:var(--surface);stroke:var(--border-strong);stroke-width:1.3}.s-card--hi{stroke:var(--accent);fill:var(--accent-soft);stroke-width:1.8}.s-cl{stroke:var(--border-strong);stroke-width:4;stroke-linecap:round;fill:none}.s-link{stroke:var(--accent);stroke-width:1.4;stroke-dasharray:3 6;fill:none}

/* ===================== cookie strip, Privacy Preference Center, back to top ===================== */
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.linklike:hover { color: var(--accent); }
.tm { font-size: .6em; vertical-align: super; line-height: 0; margin-left: 1px; }
body.has-cookie { padding-bottom: var(--cookie-h, 0px); }
.cookie-strip { position: fixed; left: 0; right: 0; bottom: 0; z-index: 150; background: var(--surface); border-top: 1px solid var(--border-strong); box-shadow: 0 -8px 30px rgba(0, 0, 0, .12); padding-block: 18px; }
.cookie-strip__in { display: flex; align-items: center; gap: 28px; justify-content: space-between; }
.cookie-strip p { margin: 0; font-size: .9rem; line-height: 1.55; color: var(--text); max-width: 108ch; }
.cookie-strip p a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cookie-strip__actions { display: flex; align-items: center; gap: 14px; flex: none; }
.cookie-strip .linklike { font-weight: 600; font-size: .9rem; color: var(--text); margin-right: 6px; }
@media (max-width: 900px) {
  .cookie-strip { padding-block: 14px; max-height: 70vh; overflow-y: auto; }
  .cookie-strip__in { flex-direction: column; align-items: stretch; gap: 14px; }
  .cookie-strip p { font-size: .85rem; }
  .cookie-strip__actions { flex-wrap: wrap; }
  .cookie-strip__actions .linklike { flex: 1 1 100%; text-align: left; margin: 0; }
  .cookie-strip__actions .btn { flex: 1 1 0; justify-content: center; }
}
dialog.cc { border: 1px solid var(--border-strong); border-radius: var(--r-lg); background: var(--surface); color: var(--text); padding: 0; width: min(780px, calc(100% - 24px)); max-height: min(90vh, 860px); box-shadow: var(--shadow); overflow: hidden; }
dialog.cc[open] { display: flex; flex-direction: column; }
dialog.cc::backdrop { background: rgba(3, 21, 36, .6); }
.cc__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 28px; border-bottom: 1px solid var(--border); }
.cc__head h2 { margin: 0; font-size: 1.35rem; }
.cc__x { background: none; border: 1px solid var(--border-strong); border-radius: 50%; width: 38px; height: 38px; font-size: 1.4rem; line-height: 1; color: var(--text); cursor: pointer; display: grid; place-items: center; }
.cc__x:hover { border-color: var(--accent); color: var(--accent); }
.cc__body { padding: 22px 28px; overflow-y: auto; flex: 1 1 auto; }
.cc__body p { font-size: .95rem; color: var(--text-2); max-width: none; }
.cc__body h3 { font-size: 1.15rem; margin: 26px 0 12px; }
.cc__list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--border-strong); border-radius: var(--r-md); overflow: hidden; }
.cc__item { margin: 0; border-bottom: 1px solid var(--border); }
.cc__item:last-child { border-bottom: 0; }
.cc__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 4px 16px 4px 4px; }
.cc__exp { display: flex; align-items: center; gap: 12px; background: none; border: 0; padding: 14px 12px; font: inherit; font-weight: 600; color: var(--text); text-align: left; cursor: pointer; flex: 1; }
.cc__plus { display: inline-grid; place-items: center; width: 22px; font-size: 1.3rem; color: var(--accent); }
.cc__always { color: var(--accent); font-weight: 600; font-size: .9rem; white-space: nowrap; }
.cc__panel { padding: 0 20px 18px 50px; }
.cc__panel p { margin: 0; font-size: .92rem; }
.cc__sw { flex: none; width: 48px; height: 28px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--border-strong); position: relative; cursor: pointer; padding: 0; transition: background .2s; }
.cc__sw span { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .35); transition: transform .2s; }
.cc__sw[aria-checked='true'] { background: var(--accent); border-color: var(--accent); }
.cc__sw[aria-checked='true'] span { transform: translateX(20px); }
.cc__foot { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 12px; padding: 16px 28px; border-top: 1px solid var(--border); background: var(--bg-soft); }
@media (max-width: 560px) { .cc__head, .cc__body, .cc__foot { padding-inline: 16px; } .cc__panel { padding-left: 20px; } .cc__foot .btn { flex: 1 1 0; justify-content: center; } }
.to-top { position: fixed; right: clamp(14px, 2.5vw, 28px); bottom: calc(var(--cookie-h, 0px) + 20px); z-index: 120; width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--accent); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 8px 22px rgba(0, 40, 70, .35); transition: transform .2s, background .2s; }
.to-top:hover { transform: translateY(-3px); background: var(--accent-hover, var(--accent)); }
.to-top:not([hidden]) { animation: toTopIn .25s ease-out; }
@keyframes toTopIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .to-top:not([hidden]) { animation: none; } }
@media print { .cookie-strip, .to-top, dialog.cc { display: none !important; } }
.site-footer .footer-bottom { padding-right: 72px; }
@media (max-width: 900px) { .cookie-strip p { font-size: .8rem; line-height: 1.45; } .cookie-strip { padding-block: 12px; } .site-footer .footer-bottom { padding-right: 0; padding-bottom: 56px; } }

/* Industries: coloured icon tiles + Ripples band (option K) */
.ind-card { --ic: var(--ic-l, var(--accent)); border-top: 3px solid var(--ic); gap: 0; }
.ind-card:hover { border-color: var(--ic); transform: translateY(-3px); box-shadow: var(--shadow); }
.ind-ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; margin-bottom: 18px; color: var(--ic); background: color-mix(in srgb, var(--ic) 12%, transparent); border: 1px solid color-mix(in srgb, var(--ic) 28%, transparent); }
.ind-ico .ind-f { fill: color-mix(in srgb, var(--ic) 22%, transparent); }
:root[data-theme='dark'] .ind-card { --ic: var(--icd, var(--accent)); }
.ind-card h3 { font-size: 1.15rem; margin: 0 0 8px; }
.ind-card p { margin: 0; font-size: .93rem; line-height: 1.6; }
.scene--k { background: linear-gradient(120deg, #04182a, #073553); }
.k-r { fill: none; stroke: #8cc8ee; stroke-width: 1.2; stroke-dasharray: 2 7; opacity: .5; }
.k-r--back { stroke-dasharray: none; opacity: .07; }
.k-d { fill: #8cc8ee; opacity: .8; }
.k-glow { fill: rgba(93, 180, 232, .22); } .k-core { fill: #e8f4fc; }
.k-hi { fill: none; stroke: #5db4e8; stroke-width: 1.6; opacity: .8; }
.k-link { stroke: #cfe8f8; stroke-width: 1.4; stroke-dasharray: 4 5; }
.k-sat { fill: #5db4e8; stroke: #fff; stroke-width: 2; }
.k-satr { fill: none; stroke: #5db4e8; stroke-width: 1.2; stroke-dasharray: 3 4; }

/* Industry skyline (scene U) */
.scene--u{--u-sky1:#cfe8f7;--u-sky2:#f3f9fd;--u-surf:#ffffff;--u-far:#c5d8e6;--u-ground:#cdd9e3;--u-cloud:#fff;--u-line:rgba(0,40,70,.35);background:linear-gradient(180deg,var(--u-sky1),var(--u-sky2))}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .scene--u{--u-sky1:#050d16;--u-sky2:#10273d;--u-surf:#0f1d2b;--u-far:#14293c;--u-ground:#0a1520;--u-cloud:#1b3550;--u-line:rgba(255,255,255,.28)}}
:root[data-theme="dark"] .scene--u{--u-sky1:#050d16;--u-sky2:#10273d;--u-surf:#0f1d2b;--u-far:#14293c;--u-ground:#0a1520;--u-cloud:#1b3550;--u-line:rgba(255,255,255,.28)}
.u-sun{fill:#fff}.u-halo{fill:rgba(255,255,255,.35)}.u-cloud{fill:var(--u-cloud);opacity:.85}.u-far{fill:var(--u-far)}.u-ground{fill:var(--u-ground)}.u-road{stroke:var(--u-line);stroke-width:2;stroke-dasharray:14 14;fill:none}
.u-body{fill:color-mix(in srgb,var(--c) 14%,var(--u-surf));stroke:var(--c);stroke-width:1.8}.u-solid{fill:var(--c)}.u-awn2{fill:color-mix(in srgb,var(--c) 30%,var(--u-surf))}
.u-win{fill:color-mix(in srgb,var(--c) 46%,var(--u-surf))}.u-door{fill:color-mix(in srgb,var(--c) 70%,#000)}.u-sign{fill:#fff;stroke:var(--c);stroke-width:2}.u-heart{fill:#fff}.u-flag{fill:var(--c);stroke:var(--c);stroke-width:2}.u-clock{fill:#fff;stroke:var(--c);stroke-width:2}
.u-ant{stroke:var(--c);stroke-width:2.4;fill:none}.u-slab{fill:var(--c);opacity:.9}.u-col{fill:color-mix(in srgb,var(--c) 40%,var(--u-surf));stroke:var(--c);stroke-width:1}.u-cable{stroke:var(--c);stroke-width:1.5;fill:none}.u-bal{fill:var(--c);opacity:.7}.u-wheel{fill:#1d2733;stroke:#fff;stroke-width:1.5}
.u-badge{fill:var(--u-surf);stroke:var(--c);stroke-width:2.4}.u-stem{stroke:var(--c);stroke-width:1.6;stroke-dasharray:3 4;fill:none}
.u-lamp{stroke:var(--u-line);stroke-width:3;fill:none}.u-lampb{fill:#cfe8f8}.u-blur svg{filter:blur(2px);opacity:.9}

.scene--u .u-g{--c:var(--cl)}
:root[data-theme="dark"] .scene--u .u-g{--c:var(--cd)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .scene--u .u-g{--c:var(--cd)}}
.scene--u .g-ic{fill:none;stroke:var(--c);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.scene--u .g-ic .ind-f{fill:color-mix(in srgb,var(--c) 24%,transparent)}
.u-blur svg{filter:blur(2px);opacity:.9}
@media (prefers-reduced-motion:reduce){.u-blur svg{filter:none}}

/* Architecture layers (scene Y) */
.scene--y{background:linear-gradient(120deg,#04182a,#073553)}
.scene-band--dark{background:#04182a;border-color:transparent}
.scene-quote--plain{color:#fff;background:none;border:0;padding:0;border-radius:0;text-shadow:0 1px 24px rgba(3,29,51,.5)}
.scene--y .y-g{stroke:rgba(140,200,238,.1);stroke-width:1}.scene--y .y-spine{stroke:#8cc8ee;stroke-width:1.4;stroke-dasharray:3 6;opacity:.6}.scene--y .y-dot{fill:#5db4e8}
.scene--y .y-t{fill:#0d3d63;stroke:#5db4e8;stroke-width:1.6}.scene--y .y-l{fill:#072b46;stroke:#2f7fb2;stroke-width:1.2}.scene--y .y-r{fill:#05233a;stroke:#2f7fb2;stroke-width:1.2}.scene--y .y-grid{stroke:rgba(140,200,238,.35);stroke-width:1}
.scene--y .y-s--hi .y-t{fill:#1b6aa5;stroke:#e8f4fc;stroke-width:2}.scene--y .y-s--hi .y-l{fill:#0d4a78}.scene--y .y-s--hi .y-r{fill:#0a3a60}
.scene--y .y-lead{stroke:#8cc8ee;stroke-width:1;opacity:.6}.scene--y .y-lab{font:600 11px var(--mono);letter-spacing:.12em;fill:#e8f4fc}.scene--y .y-n{fill:#5db4e8}

/* Entity statement band: dot-matrix Australia */
.scene--au { background: linear-gradient(180deg, #04182a 0%, #06263d 55%, #073553 100%); }
.scene-band--au { padding-block-end: clamp(110px, 13vw, 160px); background: #04182a; }
.au-star { fill: #cfe8f8; }
.au-d { fill: none; stroke: #5db4e8; stroke-width: 5.4; stroke-linecap: round; } .au-d0 { opacity: .45; } .au-d1 { opacity: .72; } .au-d2 { opacity: 1; }
.au-f { fill: none; stroke: #8cc8ee; stroke-width: 3; stroke-linecap: round; opacity: .18; }
.au-arc { fill: none; stroke: #cfe8f8; stroke-width: 1.4; stroke-dasharray: 4 7; opacity: .7; }
.au-pkt { fill: #e8f4fc; } .au-pr { fill: none; stroke: #5db4e8; stroke-width: 1.3; stroke-dasharray: 3 4; }
@media (max-width: 700px) {
  /* Narrow screens crop to the centre of the picture, which would hide the map. Shift the view onto it and soften it behind the text. */
  .scene--au .scene-layer svg { width: 260%; max-width: none; margin-left: -150%; }
}

/* ---------- Photography ---------- */
.photo { margin: 0; border-radius: var(--radius, 12px); overflow: hidden; background: #04182a; }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo--tall { aspect-ratio: 4 / 5; max-height: 560px; }
.photo--wide { aspect-ratio: 3 / 2; }
.photo--team { aspect-ratio: 8 / 5; }
.photo--contact { aspect-ratio: 4 / 3; margin-bottom: 28px; }
.split--media { align-items: center; }
.split--media > .photo { width: 100%; }
@media (max-width: 800px) { .photo--tall { aspect-ratio: 4 / 3; max-height: none; } .split--media-l > .photo { order: -1; } }
.scene--photo .scene-shade { background: linear-gradient(180deg, rgba(4,24,42,.10), rgba(4,24,42,.38)); }
.band--photo { background: #04182a; }
.band--photo::before { display: none; }
.band-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.band-panel { max-width: 720px; background: rgba(0, 0, 0, .55); padding: clamp(24px, 4vw, 44px); border-radius: 12px; }
.band--photo .band-panel h2, .band--photo .band-panel p { color: #fff; }
.scene--photo { inset: -130px 0; }
.scene-band:has(.scene--photo) { background: #04182a; border-color: transparent; }
.scene-band--full { min-height: clamp(240px, 40vw, 540px); }
.scene-band--full .scene--photo { inset: -90px 0; }
/* entity statement: dark panel at every width so the map never competes with the text */
.scene-band--horizon .entity-lead { background: rgba(0, 0, 0, .68); padding: clamp(18px, 2vw, 26px) clamp(20px, 2.4vw, 32px); border-radius: 12px; -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); text-shadow: none; max-width: 60ch; }
/* desktop: pull the statement up so it lands above the fold */
@media (min-width: 921px) {
  .hero { padding-block: clamp(24px, 2.6vw, 40px) clamp(24px, 2.4vw, 36px); }
  .hero h1 { font-size: clamp(2.3rem, 3.2vw, 3rem); line-height: 1.08; max-width: 16ch; }
  .hero .lead { max-width: 54ch; font-size: 1.1rem; }
  .hero-line { margin-top: 14px; }
  .hero-visual { max-width: 560px; justify-self: end; width: 100%; }
  .scene-band--horizon .entity-lead { font-size: clamp(1.02rem, .5vw + .9rem, 1.2rem); max-width: min(880px, 74%); line-height: 1.5; }
  .hero-line { margin-top: var(--s4); }
  .scene-band--horizon.entity-strip { padding-block-start: clamp(14px, 1.4vw, 22px); }
}

/* entity band: image-led, statement kept in the page for screen readers and search */
.scene-band--au.entity-strip { min-height: clamp(380px, 46vw, 900px); padding: 0; display: block; }
.scene--au .au-city { inset: auto 0 0 0; }
.scene--au .au-city img { display: block; position: relative; left: 50%; transform: translateX(-50%); width: 100%; min-width: 900px; height: auto; }

/* entity band: photo with the statement in a dark panel, centred on the image */
.entity-strip--photo { min-height: 0; align-items: center; padding-block: clamp(28px, 3.3vw, 52px); }
@media (min-width: 921px) { .scene-band--horizon.entity-strip.entity-strip--photo { padding-block: clamp(28px, 3.3vw, 52px); } }
@media (max-width: 920px) { .entity-strip--photo { padding-block: 40px; } }

/* Client logo tiles: logos supplied with their own background fill the tile edge to edge */
.client--logo { padding: 0; overflow: hidden; border-color: var(--border); }
.client--logo img { width: 100%; height: 100%; max-height: none; object-fit: contain; opacity: 1; }
.split--media-l { margin-bottom: var(--s6); }

/* ===================== homepage hero carousel ===================== */
.hero-carousel { --hs-h: max(500px, calc(100vh - var(--header-h) - 62px)); position: relative; overflow: hidden; border-bottom: 1px solid var(--border); background: var(--bg); }
.hc-stage { display: grid; }
.hs { grid-area: 1 / 1; position: relative; display: flex; align-items: center; min-height: var(--hs-h); padding-block: clamp(28px, 4.5vw, 56px) clamp(24px, 3vw, 40px); overflow: hidden; }
.js .hs { opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility 0s linear .5s; }
.js .hs.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }
html:not(.js) .hs:not(:first-child) { display: none; }
.hs-in { position: relative; z-index: 2; width: 100%; }
.hs-in--c { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hs-in--c .btn-row { justify-content: center; }
.hs-h { margin: 0 0 var(--s4); font-weight: 700; letter-spacing: -0.04em; line-height: 1.02; font-size: clamp(2.2rem, 4.2vw + .8rem, 4rem); color: var(--text); max-width: 20ch; }
.hs-h span { color: var(--accent); display: inline-block; }
.hs-h--lg { font-size: clamp(2.3rem, 4.6vw + .6rem, 4.4rem); max-width: 18ch; }
.hs-h--xl { font-size: clamp(2.4rem, 6vw + .5rem, 5.6rem); letter-spacing: -0.045em; max-width: 14ch; }
.hs-h--xxl { font-size: clamp(2.6rem, 6.2vw + .4rem, 5.8rem); letter-spacing: -0.05em; max-width: none; }
.hs-in--c .hs-h { max-width: 18ch; }
.hs-in--c .hs-h--xl { max-width: 16ch; }
.hs-sub { margin: 0 0 var(--s5); font-size: clamp(1.05rem, .4vw + 1rem, 1.3rem); color: var(--text-2); max-width: 46ch; }
.hs-in--c .hs-sub { margin-inline: auto; }
.hs-split { display: grid; grid-template-columns: 1.15fr .85fr; gap: var(--s7); align-items: center; }
@media (max-width: 920px) { .hs-split { grid-template-columns: 1fr; gap: var(--s6); } .hs { align-items: flex-start; } }
@keyframes hsUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hs.is-active .hs-anim, .hs.is-active .hs-h, .hs.is-active .eyebrow { animation: hsUp .6s cubic-bezier(.2, .7, .2, 1) both; }
.hs.is-active .hs-sub { animation-delay: .08s; } .hs.is-active .btn-row, .hs.is-active .calc, .hs.is-active .doors, .hs.is-active .pic, .hs.is-active .naps, .hs.is-active .brief { animation-delay: .16s; }

/* 1 weave */
.weave { position: relative; display: inline-block; margin-bottom: var(--s6); }
.weave-h { position: relative; z-index: 1; margin: 0; font-size: clamp(3.3rem, 13.2vw, 9.6rem); line-height: .95; letter-spacing: -0.05em; max-width: none; }
.weave-h span:not(.sr-only) { color: var(--accent); }
.weave svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.weave-bk { z-index: 0; } .weave-fr { z-index: 2; }
.weave-path { fill: none; stroke: #5db4e8; stroke-width: 22; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.hs.is-active .weave-path { animation: weaveDraw 1.8s cubic-bezier(.4, .1, .2, 1) both; }
@keyframes weaveDraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

/* 2 global */
.hs-map { position: absolute; inset: 0; z-index: 0; }
/* map + arcs share one 1440x530 box so Australia and the arcs always line up with the dots, at any hero height */
.map-box { position: absolute; left: 50%; top: 44%; transform: translate(-50%, -50%); width: min(1700px, max(100%, 1000px)); aspect-ratio: 1440 / 530; }
.map-dotpath { fill: none; stroke: color-mix(in srgb, var(--accent) 62%, var(--bg)); stroke-width: 5.6; stroke-linecap: round; opacity: .9; }
@media (max-width: 700px) { .map-box { left: auto; right: -40px; top: auto; bottom: 28px; transform: none; width: 780px; } .map-fade { display: none; } }
.hs-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-arc { fill: none; stroke: var(--accent); stroke-width: 2.6; stroke-dasharray: 1 6.5; stroke-linecap: round; }
.map-pin, .map-home { fill: var(--accent); } .map-ring { fill: none; stroke: var(--accent); stroke-width: 1.6; opacity: .5; }
.map-fade { position: absolute; left: 50%; top: 50%; width: min(100%, 1000px); height: min(90%, 560px); transform: translate(-50%, -50%); background: radial-gradient(ellipse closest-side, var(--bg) 62%, transparent 100%); }
.hs--global .hs-h { max-width: 16ch; }

/* 3 flo line */
.hs--flo-line { padding-bottom: 150px; }
.flo-line { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 190px; z-index: 1; }
.flo-line path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.fl-s0 { stop-color: var(--border-strong); } .fl-s1 { stop-color: var(--accent); }
.fl-thin { stroke: url(#flg); stroke-width: 1.2; opacity: .5; } .fl-thin--b { opacity: .65; }
.fl-main { stroke: url(#flg); stroke-width: 2.6; stroke-dasharray: 1; }
.hs.is-active .fl-main { animation: weaveDraw 2.2s ease both; }
.fl-gate { fill: var(--bg); stroke: var(--accent); stroke-width: 1.6; } .fl-gate-t { fill: var(--accent); font: 600 13.5px var(--font); }
.fl-node { fill: var(--bg); stroke: var(--accent); stroke-width: 2; } .fl-node--on { fill: var(--accent); }
.fl-lab { fill: var(--text-2); font: 500 11.5px var(--mono); }
@media (max-width: 700px) { .fl-lab { display: none; } .hs--flo-line { padding-bottom: 120px; } .flo-line { height: 150px; } }
/* wide and ultra-wide: keep the artwork at its designed proportions, centred, fading out at the sides (instead of scaling up and cropping) */
@media (min-width: 1441px) {
  .hs--flo-line { --flh: calc(min(100vw, 1900px) * 190 / 1440); padding-bottom: calc(var(--flh) - 40px); }
  .flo-line { left: 50%; right: auto; width: min(100%, 1900px); height: var(--flh); transform: translateX(-50%);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
}

/* 4 one in six */
.six-big { display: flex; align-items: baseline; gap: .05em; margin: 0 0 var(--s4); font-size: clamp(6rem, 19vw, 15rem); line-height: .85; letter-spacing: -0.06em; max-width: none; }
.six-n { color: var(--accent); } .six-in { color: var(--text); font-size: .4em; letter-spacing: -0.04em; margin-inline: .08em; }
.six-line { margin: 0 0 var(--s2); font-size: clamp(1.2rem, 1vw + 1rem, 1.7rem); font-weight: 600; max-width: 30ch; line-height: 1.3; }
.six-src { margin: 0 0 var(--s4); font: 500 .74rem var(--mono); color: var(--text-2); letter-spacing: .02em; }
.six-src cite { font-style: normal; }
.pic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 340px; justify-self: center; position: relative; padding-bottom: 28px; width: 100%; }
.pic-ok, .pic-bad { aspect-ratio: 1; border-radius: 16px; display: grid; place-items: center; }
.pic-ok { background: var(--surface); border: 1.6px solid var(--border-strong); color: var(--text-2); } .pic-bad { background: var(--brand); color: #fff; }
.pic-cap { position: absolute; left: 0; bottom: 0; font: 500 .7rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
:root[data-theme='dark'] .pic-bad { background: var(--accent); color: #0a0d12; }

/* 5 calculator */
.calc { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; box-shadow: var(--shadow); padding: clamp(20px, 3vw, 36px); display: grid; gap: 10px; }
.calc-row { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; margin-top: 6px; }
.calc-row label { font-size: .95rem; color: var(--text-2); } .calc-row output { font-weight: 700; font-size: 1.1rem; }
.calc input[type=range] { width: 100%; accent-color: var(--brand); height: 28px; margin: 0; }
.calc-out { border-top: 1px solid var(--border); margin-top: 10px; padding-top: 14px; }
.calc-k { font: 600 .72rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
.calc-big { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: .4em; line-height: 1; }
.calc-big strong { font-size: clamp(3.6rem, 7vw, 6rem); letter-spacing: -0.05em; color: var(--accent); } .calc-big span { font-weight: 600; font-size: 1.3rem; }
.calc-fte { margin: 6px 0 12px; font-size: 1.2rem; color: var(--text-2); }
.calc .btn { justify-self: start; } .calc-note { margin: 0; font-size: .82rem; color: var(--text-2); }

/* 6 overheard */
.chat { display: grid; gap: 14px; justify-items: start; margin: 16px 0 24px; }
.bub { margin: 0; padding: 14px 28px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--border); font-size: clamp(1.15rem, 1.8vw + .6rem, 2.1rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; max-width: 100%; }
.bub--typing { display: inline-flex; gap: 8px; padding: 18px 26px; } .bub--typing i { width: 10px; height: 10px; border-radius: 50%; background: var(--grey); }
.hs.is-active .bub--typing i { animation: typing 1.2s ease-in-out infinite; } .bub--typing i:nth-child(2) { animation-delay: .15s !important; } .bub--typing i:nth-child(3) { animation-delay: .3s !important; }
@keyframes typing { 0%, 60%, 100% { opacity: .35; transform: none; } 30% { opacity: 1; transform: translateY(-4px); } }
.reply { margin: 0 0 24px auto; width: min(100%, 640px); background: var(--brand); color: #fff; border-radius: 44px 44px 8px 44px; padding: clamp(18px, 2.4vw, 30px) clamp(24px, 3vw, 44px); }
:root[data-theme='dark'] .reply { background: var(--accent); color: #0a0d12; }
.reply .reply-h { margin: 0; font-size: clamp(2rem, 3.4vw + .6rem, 3.4rem); color: inherit; letter-spacing: -0.04em; max-width: none; line-height: 1.05; } .reply > p:not(.reply-h) { margin: 6px 0 0; font-size: 1.2rem; font-weight: 500; }
.hs-chat .btn-row { justify-content: flex-end; }
@media (max-width: 700px) { .hs-chat .btn-row { justify-content: flex-start; } .bub { padding: 12px 20px; } }

/* 7 iceberg */
.hs--iceberg { background: linear-gradient(to bottom, var(--bg) 0 46%, #0f5a8a 46%, #071d2f 100%); }
.ice-art { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.ice-wave { position: absolute; left: 0; right: 0; top: calc(46% - 10px); width: 100%; height: 20px; } .ice-wave path { fill: none; stroke: #5db4e8; stroke-width: 2; vector-effect: non-scaling-stroke; }
.ice-tip { position: absolute; right: max(6%, calc((100% - var(--max)) / 2 + 80px)); top: calc(46% - 150px); width: min(300px, 32%); height: 152px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px 14px 0 0; box-shadow: var(--shadow); }
.ice-tip i { position: absolute; top: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--border-strong); } .ice-tip i:nth-child(1) { left: 14px; } .ice-tip i:nth-child(2) { left: 28px; } .ice-tip i:nth-child(3) { left: 42px; }
.ice-tip b { position: absolute; top: 40px; height: 40px; width: 42%; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 8px; } .ice-tip b:nth-of-type(1) { left: 14px; } .ice-tip b:nth-of-type(2) { right: 14px; }
.ice-tip svg { position: absolute; left: 14px; right: 14px; bottom: 10px; width: calc(100% - 28px); height: 50px; } .ice-tip svg path { fill: none; stroke: var(--brand); stroke-width: 2.4; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
:root[data-theme='dark'] .ice-tip svg path { stroke: var(--accent); }
.ice-mass { position: absolute; right: max(3%, calc((100% - var(--max)) / 2 + 20px)); top: 46%; width: min(420px, 40%); height: 46%; } .ice-mass polygon { fill: rgba(93, 180, 232, .16); stroke: rgba(93, 180, 232, .6); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.ice-l { position: absolute; font: 600 .7rem var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.ice-l--see { right: max(1%, calc((100% - var(--max)) / 2 - 20px)); top: calc(46% - 30px); color: var(--text-2); transform: translateX(105%); display: none; }
.ice-l--dep { right: max(3%, calc((100% - var(--max)) / 2 + 20px)); top: calc(46% + 12px); color: #8fb3d0; transform: translateX(0); display: none; }
.ice-list { list-style: none; margin: 0; padding: 0; position: absolute; right: max(3%, calc((100% - var(--max)) / 2 + 20px)); top: 46%; width: min(420px, 40%); height: 46%; }
.ice-list li { position: absolute; left: var(--x); top: var(--y); color: #dce8f2; font: 600 .78rem var(--mono); letter-spacing: .12em; text-transform: uppercase; padding-left: 16px; }
.ice-list li::before { content: ''; position: absolute; left: 0; top: .35em; width: 7px; height: 7px; border-radius: 50%; background: #5db4e8; }
.hs-ice { display: grid; grid-template-rows: 46fr 54fr; align-self: stretch; min-height: var(--hs-h); margin-block: calc(-1 * clamp(28px, 4.5vw, 56px)) calc(-1 * clamp(24px, 3vw, 40px)); }
.ice-top { align-self: center; padding-top: 12px; max-width: 60%; } .ice-top .hs-h { margin: 0; max-width: none; font-size: clamp(2.2rem, 4vw + .5rem, 3.9rem); }
.ice-bot { padding-top: 32px; max-width: 56%; } .ice-bot .hs-sub { color: #dce8f2; } .ice-chips { display: none; list-style: none; padding: 0; margin: 16px 0 0; gap: 8px; flex-wrap: wrap; } .ice-chips li { font: 600 .72rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #dce8f2; border: 1px solid rgba(93, 180, 232, .5); border-radius: 999px; padding: 6px 12px; }
@media (max-width: 920px) { .ice-mass, .ice-list, .ice-tip { display: none; } .ice-top, .ice-bot { max-width: none; } .ice-chips { display: flex; } }

/* 8 three doors */
.hs-h--left { max-width: none; margin-bottom: var(--s6); }
.doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: var(--s6); }
.door { display: flex; flex-direction: column; gap: 6px; padding: clamp(22px, 2.4vw, 34px); background: var(--surface); border: 1.4px solid var(--border); border-radius: 20px; text-decoration: none; color: var(--text); box-shadow: var(--shadow); min-height: 260px; transition: border-color .2s, transform .2s; }
.door:hover, .door:focus-visible { border-color: var(--accent); transform: translateY(-3px); text-decoration: none; }
.door-ic { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: auto; }
.door-t { font-size: clamp(1.5rem, 1.4vw + 1rem, 2rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; margin-top: 28px; } .door-d { color: var(--text-2); font-size: 1.05rem; } .door .arrow-link { margin-top: 14px; }
.hs-alt { margin-left: 16px; align-self: center; color: var(--text-2); }
@media (max-width: 920px) { .doors { grid-template-columns: 1fr; gap: 12px; } .door { min-height: 0; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 16px; } .door-ic { margin: 0; width: 52px; height: 52px; } .door-t { margin: 0; } .door-d { flex-basis: 100%; } .door .arrow-link { margin: 4px 0 0; } }

/* 9 one line */
.brief { display: flex; gap: 12px; max-width: 820px; margin-bottom: 14px; }
.brief input { flex: 1; min-width: 0; font: inherit; font-size: 1.1rem; padding: 18px 22px; border-radius: 14px; border: 2px solid var(--accent); background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.brief input::placeholder { color: var(--text-2); opacity: .8; }
.brief-try { display: none; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0; } .js .brief-try { display: flex; }
.brief-try span { font: 500 .72rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); margin-right: 4px; }
.brief-try button { font: 500 .9rem var(--font); padding: 8px 16px; border-radius: 999px; border: 1.2px solid var(--border-strong); background: var(--bg); color: var(--text); cursor: pointer; } .brief-try button:hover { border-color: var(--accent); color: var(--accent); }
@media (max-width: 700px) { .brief { flex-direction: column; } }

/* 10 napkin */
.naps { position: relative; height: clamp(300px, 34vw, 440px); }
.nap { position: absolute; margin: 0; width: min(58%, 330px); aspect-ratio: 330 / 240; }
.nap figcaption { position: absolute; top: -22px; left: 0; font: 700 .72rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }
.nap--1 { left: 0; bottom: 0; transform: rotate(-3deg); } .nap--2 { left: 21%; bottom: 24%; } .nap--3 { right: 0; top: 0; }
.nap--3 figcaption { color: var(--accent); }
.nap svg { width: 100%; height: 100%; } .sk { fill: var(--bg); stroke: var(--border-strong); stroke-width: 2; stroke-dasharray: 7 6; } .sk-l { fill: none; stroke: var(--grey); stroke-width: 2; stroke-linecap: round; }
.nap-win { position: absolute; inset: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.nap-win i, .nap-win b { position: absolute; display: block; font-style: normal; }
.nw-h { left: 0; right: 0; top: 0; height: 14%; background: var(--bg-soft); border-bottom: 1px solid var(--border); }
.nw-b { left: 6%; top: 24%; width: 40%; height: 26%; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 8px; } .nw-b2 { left: 52%; width: 42%; }
.nw-l { left: 6%; top: 62%; width: 84%; height: 4%; background: var(--border); border-radius: 4px; } .nw-l2 { top: 74%; width: 62%; } .nw-l3 { top: 86%; width: 40%; }
.nap-win--live .nl-h { left: 0; right: 0; top: 0; height: 17%; background: var(--brand); color: #fff; font-size: .85rem; padding: 3.5% 6%; }
:root[data-theme='dark'] .nap-win--live .nl-h { background: var(--accent); color: #0a0d12; }
.nl-k { top: 24%; width: 42%; height: 26%; background: var(--accent-soft); border-radius: 10px; font-size: clamp(1.1rem, 2vw, 1.7rem); font-weight: 700; padding: 3% 6%; line-height: 1.5; } .nl-k:nth-of-type(1) { left: 6%; } .nl-k:nth-of-type(2) { left: 52%; }
.nl-k u { display: block; text-decoration: none; font: 600 .6rem var(--mono); letter-spacing: .1em; color: var(--accent); }
.nap-win--live svg { position: absolute; left: 6%; right: 6%; bottom: 8%; width: 88%; height: 34%; } .nap-win--live svg path { fill: none; stroke: var(--brand); stroke-width: 2.6; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
:root[data-theme='dark'] .nap-win--live svg path { stroke: var(--accent); }
@media (max-width: 920px) { .naps { height: 300px; margin-top: 12px; } }

/* controls */
.hc-bar { border-top: 1px solid var(--border); background: var(--bg-soft); }
.hc-bar-in { display: flex; align-items: center; gap: 14px; padding-block: 10px; }
.hc-dots { display: flex; gap: 2px; flex: 1; justify-content: center; flex-wrap: wrap; }
.hc-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); cursor: pointer; }
.hc-btn:hover { border-color: var(--accent); color: var(--accent); }
.hc-nav { display: flex; gap: 8px; }
.hc-pause .hc-ic--play { display: none; } .hc-pause.is-paused .hc-ic--pause { display: none; } .hc-pause.is-paused .hc-ic--play { display: inline-grid; }
.hc-dot { position: relative; width: 28px; height: 28px; border: 0; background: none; cursor: pointer; padding: 0; display: grid; place-items: center; }
.hc-dot span { position: relative; display: block; width: 28px; height: 6px; border-radius: 3px; background: var(--border-strong); overflow: hidden; }
.hc-dot[aria-current='true'] span { background: var(--border-strong); }
.hc-dot[aria-current='true'] span::after { content: ''; position: absolute; inset: 0; transform-origin: left; transform: scaleX(var(--p, 1)); background: var(--accent); }
.hc-dot:hover span { background: var(--text-2); }
@media (max-width: 640px) { .hc-dot, .hc-dot span { width: 18px; } .hc-bar-in { gap: 8px; } }
@media (prefers-reduced-motion: reduce) { .js .hs, .js .hs.is-active { transition: none; } .hs.is-active *, .hs *, .weave-path, .fl-main { animation: none !important; } }

@supports (height: 100svh) { .hero-carousel { --hs-h: max(500px, calc(100svh - var(--header-h) - 62px)); } }

/* content protection: no text selection or image dragging outside form fields */
html[data-protect] body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
html[data-protect] input, html[data-protect] textarea, html[data-protect] select, html[data-protect] [contenteditable="true"], html[data-protect] [data-allow-select] { -webkit-user-select: text; user-select: text; -webkit-touch-callout: default; }
html[data-protect] img, html[data-protect] svg { -webkit-user-drag: none; user-drag: none; }
.protect-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 12px); max-width: min(92vw, 460px); padding: 12px 18px; border-radius: 10px; background: var(--text); color: var(--bg); font-size: .9rem; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 400; }
.protect-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { .protect-toast { transition: none; } }


/* ---- file upload drop zone ---- */
.file-drop { position: relative; display: block; }
.file-drop__ui, .file-drop__chosen { display: none; }
.js .file-drop__ui, .js .file-drop__chosen { display: flex; }
.js .file-drop__ui[hidden], .js .file-drop__chosen[hidden] { display: none !important; }
.js .file-drop { border: 1.5px dashed var(--border-strong); border-radius: 10px; background: var(--bg-soft); transition: border-color .15s, background .15s, box-shadow .15s; }
.js .field .file-drop__input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; padding: 0; border: 0; z-index: 1; }
.file-drop__ui, .file-drop__chosen { align-items: center; gap: 14px; padding: 18px 20px; min-height: 76px; color: var(--text-2); }
.file-drop__icon { flex: none; width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); box-sizing: border-box; }
.file-drop__text strong, .file-drop__name strong { color: var(--accent); font-weight: 600; }
.file-drop__text, .file-drop__name { display: flex; flex-direction: column; font-size: .95rem; min-width: 0; line-height: 1.35; }
.file-drop__or { color: var(--text-2); font-size: .88rem; }
.file-drop__name strong { color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-drop__name span { font-size: .85rem; color: var(--text-2); }
.file-drop__remove { position: relative; z-index: 2; margin-left: auto; flex: none; font: inherit; font-size: .88rem; font-weight: 600; color: var(--accent); background: transparent; border: 1px solid var(--border-strong); border-radius: 999px; padding: 7px 16px; cursor: pointer; transition: border-color .15s, background .15s; }
.file-drop__remove:hover { border-color: var(--accent); background: var(--accent-soft); }
.file-drop__remove:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.js .file-drop:hover, .js .file-drop.is-drag { border-color: var(--accent); background: var(--accent-soft); }
.js .file-drop.is-drag { border-style: solid; }
.js .file-drop:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.js .file-drop.has-file { border-style: solid; border-color: var(--border-strong); background: var(--surface); }
.js .file-drop:has([aria-invalid='true']) { border-color: #c2410c; }
:root[data-theme='dark'] .js .file-drop:has([aria-invalid='true']), :root[data-theme='dark'].js .file-drop:has([aria-invalid='true']) { border-color: #fb923c; }
html:not(.js) .file-drop__input { padding: 10px; }

/* ---- client testimonials ---- */
.section--tight { padding-block: clamp(36px, 5vw, 60px); }
.btn--on-dark { color: #fff; border-color: rgba(255,255,255,.5); background: transparent; }
.btn--on-dark:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); text-decoration: none; }
.testi { position: relative; background: linear-gradient(180deg, #00263d 0%, #003f63 100%); color: #fff; padding-block: clamp(44px, 6vw, 72px); overflow: hidden; }
.testi::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 70% at 85% 0%, rgba(93,180,232,.22), transparent 70%); pointer-events: none; }
.testi .container { position: relative; }
.testi .eyebrow { color: #8fd0f5; }
.testi h2 { color: #fff; max-width: none; font-size: clamp(1.45rem, 2.6vw, 2rem); margin-bottom: 0; }
.testi-head { margin-bottom: clamp(20px, 3vw, 32px); }
.testi-lead { margin: 0 0 clamp(22px, 3vw, 32px); max-width: 860px; }
.testi-mark { width: 34px; height: 26px; fill: #5db4e8; opacity: .9; margin-bottom: 12px; }
.testi-lead blockquote { margin: 0; }
.testi-lead blockquote p { font-size: clamp(1.1rem, 1.9vw, 1.5rem); line-height: 1.4; font-weight: 600; letter-spacing: -.01em; color: #fff; margin: 0; text-wrap: balance; }
.testi-who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.testi-who--big { margin-top: 20px; }
.testi-av { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; }
.testi-av--ini { display: grid; place-items: center; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); color: #fff; font-weight: 700; font-size: .85rem; letter-spacing: .02em; }
.testi-id { display: flex; flex-direction: column; line-height: 1.35; font-size: .88rem; color: rgba(255,255,255,.78); }
.testi-id strong { color: #fff; font-size: .95rem; }
.testi-logo { margin-left: auto; max-height: 30px; width: auto; background: #fff; padding: 5px 9px; border-radius: 6px; }
.testi-story { display: inline-block; margin-top: 14px; color: #8fd0f5; }
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.testi-card { margin: 0; padding: 20px; border-radius: 12px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); display: flex; flex-direction: column; }
.testi-card blockquote { margin: 0; flex: 1; }
.testi-card blockquote p { margin: 0; font-size: .95rem; line-height: 1.5; color: #fff; }
.testi-card .testi-who { margin-top: 16px; }
.testi-card .testi-av { width: 38px; height: 38px; font-size: .78rem; }
.testi-more { margin-top: clamp(20px, 3vw, 28px); }
.testi-preview { background: #b45309; color: #fff; text-align: center; font-weight: 700; font-size: .8rem; letter-spacing: .06em; padding: 8px 16px; margin: 0 0 32px; position: relative; }
.testi-preview--sm { margin: 14px 0 0; border-radius: 6px; }
.testi-compact { margin: 0; padding: clamp(22px, 3vw, 32px); border-radius: var(--r-lg); background: var(--bg-soft); border: 1px solid var(--border); border-left: 4px solid var(--accent); }
.testi-compact .testi-mark { width: 30px; height: 22px; fill: var(--accent); margin-bottom: 12px; }
.testi-compact blockquote { margin: 0; }
.testi-compact blockquote p { margin: 0; font-size: 1.12rem; line-height: 1.5; font-weight: 500; color: var(--text); }
.testi-compact .testi-who { margin-top: 18px; }
.testi-compact .testi-av--ini { background: var(--accent-soft); border-color: var(--border-strong); color: var(--accent); }
.testi-compact .testi-id { color: var(--text-2); } .testi-compact .testi-id strong { color: var(--text); }
.split--form .testi-compact { margin-top: 28px; }
@media (max-width: 700px) { .testi-logo { display: none; } }

/* ---- announcement banner ---- */
.announce { position: sticky; top: 0; z-index: 101; color: #fff; font-size: .92rem; line-height: 1.45; }
.announce--notice { background: #003f63; }
.announce--alert { background: #92400e; }
.announce__in { display: flex; align-items: center; justify-content: center; gap: 14px; padding-block: 10px; }
.announce__msg { margin: 0; text-align: center; max-width: 110ch; }
.announce__tag { text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; background: rgba(255,255,255,.18); padding: 2px 8px; border-radius: 999px; margin-right: 8px; white-space: nowrap; }
.announce a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; margin-left: 6px; white-space: nowrap; }
.announce__x { flex: none; margin-left: auto; width: 32px; height: 32px; display: grid; place-items: center; color: #fff; background: transparent; border: 0; border-radius: 50%; cursor: pointer; }
.announce__x:hover { background: rgba(255,255,255,.18); }
.announce__x:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.announce[hidden] { display: none !important; }
@media (max-width: 700px) { .announce { font-size: .85rem; } .announce__msg { text-align: left; } }
@media print { .announce { display: none; } }
html:not(.js) .announce { position: static; }

/* ---- topic tabs (Insights) ---- */
.tabs__list { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 20px; margin-bottom: 28px; border-bottom: 1px solid var(--border); }
@media (max-width: 700px) { .tabs__list { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 14px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; } }
.tabs__tab { flex: none; padding: 9px 16px; border: 1px solid var(--border-strong); border-radius: 999px; font-size: .92rem; font-weight: 500; color: var(--text-2); text-decoration: none; white-space: nowrap; transition: color .15s, border-color .15s, background .15s; }
.tabs__tab:hover { color: var(--accent); border-color: var(--accent); text-decoration: none; }
.tabs__tab[aria-selected='true'] { background: var(--brand); border-color: var(--brand); color: #fff; }
:root[data-theme='dark'] .tabs__tab[aria-selected='true'] { background: #0a6ba8; border-color: #0a6ba8; }
.tabs__tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.tabs__title { font-size: 1.5rem; margin: 0 0 20px; }
.tabs__panel { scroll-margin-top: calc(var(--header-h) + 16px); margin-bottom: 40px; }
.tabs.is-enhanced .tabs__panel { margin-bottom: 0; min-height: 220px; }
.tabs.is-enhanced .tabs__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.tabs__panel[hidden] { display: none !important; }
.js .tabs__panel[data-inactive] { display: none; }

/* ---- work / case studies ---- */
.work-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.work-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; transition: border-color .2s, box-shadow .2s, transform .2s; }
.work-card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-2px); }
.work-card__img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #04182a; }
.work-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.work-card:hover .work-card__img img { transform: scale(1.03); }
.work-card__body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.work-card__meta { display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 0; }
.work-card__meta span { font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); }
.work-card__meta span + span::before { content: '/'; margin-right: 8px; opacity: .5; }
.work-card h3 { margin: 0; font-size: 1.2rem; line-height: 1.3; }
.work-card h3 a { color: var(--text); text-decoration: none; }
.work-card h3 a:hover { color: var(--accent); }
.work-card p { margin: 0; color: var(--text-2); font-size: .96rem; }
.work-card .arrow-link { margin-top: auto; padding-top: 4px; }
.cs { max-width: 860px; }
.cs-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; margin: 0 0 40px; padding: 22px 24px; background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--r-md); }
.cs-facts dt { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); margin-bottom: 4px; }
.cs-facts dd { margin: 0; font-weight: 600; }
.cs-block { margin-bottom: 36px; }
.cs-block h2 { font-size: 1.4rem; margin: 0 0 10px; }
.cs-block p { margin: 0; font-size: 1.05rem; line-height: 1.7; color: var(--text-2); }
.work-grid--one { grid-template-columns: 1fr; }
@media (min-width: 820px) {
  .work-grid--one .work-card { flex-direction: row; }
  .work-grid--one .work-card__img { flex: 0 0 48%; aspect-ratio: auto; min-height: 320px; }
  .work-grid--one .work-card__body { padding: 40px; justify-content: center; }
  .work-grid--one .work-card h3 { font-size: 1.6rem; }
  .work-grid--one .work-card p { font-size: 1.05rem; }
}

/* ---- optional detail disclosure (contact form) ---- */
.more { border: 1px solid var(--border); border-radius: 10px; background: var(--bg-soft); }
.more summary { cursor: pointer; list-style: none; padding: 14px 18px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.more summary::-webkit-details-marker { display: none; }
.more summary::before { content: '+'; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; line-height: 1; flex: none; }
.more[open] summary::before { content: '–'; }
.more summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 10px; }
.more summary .muted { font-weight: 400; font-size: .88rem; }
.more__in { display: grid; gap: 20px; padding: 6px 18px 20px; }

picture { display: contents; }

.testi-lead blockquote.is-long p { font-size: clamp(1rem, 1.35vw, 1.2rem); line-height: 1.6; font-weight: 500; }
.testi-lead blockquote p + p, .testi-card blockquote p + p, .testi-compact blockquote p + p { margin-top: .8em; }
.testi-lead { max-width: 980px; }
.js .testi-card blockquote.is-clamped { max-height: 10.5em; overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.testi-card .testi-readmore { align-self: flex-start; margin-top: 10px; background: none; border: 0; padding: 0; font: inherit; font-size: .88rem; font-weight: 600; color: #8fd0f5; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.testi-card .testi-readmore:focus-visible { outline: 2px solid #8fd0f5; outline-offset: 3px; border-radius: 3px; }

/* Decorative flowing dashes stop when the device asks for reduced motion */
@media (prefers-reduced-motion: reduce) { .il-flow { animation: none; } }

/* ---- Hero carousel on phones and tablets (<= 920px) --------------------------------------------------
   The banner fills exactly the first screen (same rule as desktop): header + banner + controls = one
   screen height, so the next section never peeks in and the controls are always visible. Each banner's
   content is centred, with equal space above and below. Dense banners are compacted so they fit, and on
   short screens the least important detail is dropped. */
@media (max-width: 920px) {
  .hero-carousel { --hs-h: max(480px, calc(100vh - var(--header-h) - 62px)); }
  .hc-bar { height: 61px; overflow: hidden; box-sizing: border-box; }
  .hc-bar-in { height: 100%; padding-block: 0; }
  .hc-dots { flex-wrap: nowrap; min-width: 0; }
  .hs { align-items: center; padding-block: 20px 18px; }
  .hs-split { gap: var(--s4); }
  .hs-h { margin-bottom: var(--s3); }
  .hs-sub { margin-bottom: var(--s4); }
  /* 1 in 6: the six squares become one slim row */
  .six-big { font-size: clamp(4.2rem, 21vw, 6rem); margin-bottom: var(--s3); }
  .pic { grid-template-columns: repeat(6, 1fr); gap: 8px; max-width: 100%; padding-bottom: 22px; }
  .pic-ok, .pic-bad { border-radius: 10px; } .pic svg { width: 46%; height: auto; }
  /* calculator */
  .hs--do-the-maths .hs-h { font-size: clamp(1.9rem, 8vw, 2.6rem); }
  .calc { padding: 16px 18px; gap: 6px; border-radius: 18px; }
  .calc-big strong { font-size: clamp(2.8rem, 12vw, 3.6rem); } .calc-big span { font-size: 1.1rem; }
  .calc-fte { margin: 4px 0 8px; font-size: 1.05rem; } .calc-note { font-size: .74rem; }
  /* three doors */
  .hs--three-doors .hs-h { margin-bottom: var(--s3); }
  .doors { gap: 8px; margin-bottom: var(--s4); }
  .door { padding: 12px 16px; border-radius: 16px; }
  .door-ic { width: 40px; height: 40px; border-radius: 12px; } .door-ic svg { width: 24px; height: 24px; }
  .door-t { margin-top: 0; font-size: 1.25rem; } .door-d { font-size: .95rem; }
  /* napkin illustration */
  .naps { height: 220px; margin-top: 26px; }
  /* chat */
  .hs--overheard .bub { padding-block: 10px; }
  /* map banner: copy above, map anchored below, copy centred in the space above the map */
  .hs--global { padding-bottom: 300px; }
  /* tangled line banner: copy centred above the line */
  .hs--flo-line { padding-bottom: 150px; }
}
@supports (height: 100svh) { @media (max-width: 920px) { .hero-carousel { --hs-h: max(480px, calc(100svh - var(--header-h) - 62px)); } } }
@media (max-width: 400px) {
  .hc-bar-in { gap: 6px; } .hc-dot, .hc-dot span { width: 14px; } .hc-dots { gap: 0; }
  .hc-btn { width: 36px; height: 36px; } .hc-nav { gap: 6px; }
}
/* Shorter screens (most phones in the browser, with address bar showing): tighten further */
@media (max-width: 920px) and (max-height: 800px) {
  .hs--do-the-maths .hs-sub, .hs--do-the-maths .eyebrow { display: none; }
  .calc-note { display: none; }
  .six-src { display: none; }
  .hs--three-doors .hs-alt { display: none; }
  .door-d { display: none; }
  .naps { height: 170px; }
  .hs--global { padding-bottom: 230px; } .hs--global .map-box { width: 600px; bottom: 20px; }
  .hs--flo-line { padding-bottom: 120px; }
  .hs--overheard .bub--typing { display: none; }
  .hs--one-line .hs-sub { display: none; }
}
@media (max-width: 920px) and (max-height: 700px) {
  .hs--flo-line .eyebrow { display: none; } .hs--flo-line { padding-bottom: 100px; }
}
@media (max-width: 920px) and (max-height: 700px) {
  .hs { padding-block: 10px 8px; }
  .hs-h { margin-bottom: var(--s2); } .hs-sub { margin-bottom: var(--s3); font-size: 1rem; }
  .hs--do-the-maths .hs-h { font-size: 1.7rem; }
  .calc { padding: 12px 16px; } .calc-row label { font-size: .85rem; } .calc-fte { font-size: .95rem; margin: 2px 0 6px; }
  .calc-big strong { font-size: 2.6rem; }
  .hs--overheard .bub { padding-block: 7px; font-size: 1rem; }
  .ice-chips { display: none; }
  .naps { height: 120px; margin-top: 38px; }
  .six-big { font-size: 3.8rem; }
  .hs--three-doors .door { padding: 8px 14px; } .hs--three-doors .door .arrow-link { display: none; }
}
@media (max-width: 920px) and (max-height: 660px) {
  .hs--overheard .eyebrow { display: none; }
  .hs--overheard .bub { padding-block: 5px; }
}

/* ------------------------------------------------- form submit button: hover, sending, submitted */
.form .btn--primary { position: relative; min-width: 190px; transition: background .18s, box-shadow .18s, transform .18s, color .18s; }
.form .btn--primary:hover:not(:disabled) { background: #003a5c; box-shadow: 0 8px 20px -8px rgba(0, 58, 92, .7); transform: translateY(-1px); }
.form .btn--primary:active:not(:disabled) { transform: translateY(0); box-shadow: none; }
:root[data-theme='dark'] .form .btn--primary:hover:not(:disabled) { background: #2677b0; box-shadow: 0 8px 20px -8px rgba(47, 134, 194, .8); }
.form .btn--primary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.form .btn--primary.is-sending, .form .btn--primary.is-sending:disabled { background: #4d5f70; color: #fff; cursor: progress; opacity: 1; }
.form .btn--primary.is-done, .form .btn--primary.is-done:disabled { background: #15803d; color: #fff; cursor: default; opacity: 1; }
.btn__spin { width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: btn-spin .8s linear infinite; flex: none; }
.btn__tick { width: 18px; height: 18px; flex: none; }
@keyframes btn-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .btn__spin { animation: none; border-top-color: rgba(255, 255, 255, .4); border-right-color: #fff; } .form .btn--primary { transition: none; } .form .btn--primary:hover:not(:disabled) { transform: none; } }

/* ---- rotating testimonials (service and contact pages). Without JS only the first quote shows. ---- */
.testi-slide { margin: 0; }
.testi-rot:not(.is-enhanced) .testi-slide:not(:first-child) { display: none; }
.testi-rot.is-enhanced .testi-rot__stage { display: grid; align-items: start; overflow: hidden; transition: height .4s ease; }
.testi-rot.is-init .testi-rot__stage { transition: none; }
.testi-rot.is-enhanced .testi-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility 0s linear .45s; }
.testi-rot.is-enhanced .testi-slide.is-active { opacity: 1; visibility: visible; transition: opacity .45s ease; }
.testi-rot.is-init .testi-slide { transition: none !important; }
.testi-rot__ctrl { display: flex; align-items: center; gap: 6px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border); }
.testi-rot__ctrl[hidden] { display: none; }
.testi-rot__pause { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border-strong); background: transparent; color: var(--text); display: grid; place-items: center; cursor: pointer; flex: none; margin-right: 6px; transition: border-color .18s, color .18s, background .18s; }
.testi-rot__pause:hover { border-color: var(--accent); color: var(--accent); }
.testi-rot__pause svg { width: 14px; height: 14px; fill: currentColor; }
.testi-rot__pause .i-play { display: none; }
.testi-rot__pause[aria-pressed='true'] .i-play { display: block; } .testi-rot__pause[aria-pressed='true'] .i-pause { display: none; }
.testi-rot__dot { width: 24px; height: 24px; border: 0; background: transparent; padding: 0; cursor: pointer; display: grid; place-items: center; border-radius: 50%; }
.testi-rot__dot::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--border-strong); transition: background .18s, transform .18s; }
.testi-rot__dot:hover::before { background: var(--accent); }
.testi-rot__dot[aria-current='true']::before { background: var(--accent); transform: scale(1.35); }
.testi-rot__pause:focus-visible, .testi-rot__dot:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.testi-rot__count { margin-left: auto; font-size: .8rem; color: var(--text-2); font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) { .testi-rot.is-enhanced .testi-rot__stage { transition: none; } .testi-rot.is-enhanced .testi-slide, .testi-rot.is-enhanced .testi-slide.is-active { transition: none; } .testi-rot__dot::before { transition: none; } }

/* ---- Contact page layout: form first on phones and tablets, testimonial secondary. Desktop keeps the side note on the left. ---- */
.split--contact { grid-template-areas: "intro form" "testi form" "follow form"; grid-template-rows: auto auto 1fr; row-gap: 0; }
.split--contact .sc-intro { grid-area: intro; } .split--contact .sc-form { grid-area: form; } .split--contact .sc-testi { grid-area: testi; margin-top: 28px; } .split--contact .sc-follow { grid-area: follow; margin-top: 32px; }
.split--contact .testi-compact { margin-top: 0; }
.split--contact .sc-intro > :last-child, .split--contact .sc-follow > :last-child { margin-bottom: 0; }
@media (max-width: 900px) {
  .split--contact { grid-template-areas: "intro" "form" "testi" "follow"; grid-template-rows: auto; row-gap: var(--s6); }
  .split--contact .sc-testi, .split--contact .sc-follow { margin-top: 0; }
}
