/* ==========================================================================
   Digital Raskals — "A calm ocean at blue hour"
   Plain CSS. Motion uses transform/opacity, respects prefers-reduced-motion.
   ========================================================================== */

@view-transition { navigation: auto; }

/* Self-hosted variable fonts (SIL Open Font License, see assets/fonts/LICENSES.txt) */
@font-face {
  font-family: "Sora"; font-style: normal; font-weight: 200 600; font-display: swap;
  src: url("../fonts/sora-latin-var.woff2") format("woff2");
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("../fonts/inter-latin-var.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
  /* Blue-hour palette: midnight navy → deep ocean → slate → steel → blue-grey → silver → pearl */
  --abyss: #050b14;
  --navy-950: #08121f;
  --navy-900: #0b1726;
  --navy-850: #0f1e31;
  --navy-800: #15263c;
  --slate-700: #2a3e56;
  --slate-600: #3a5270;
  --slate-500: #4a6584;
  --mist-400: #7d93ab;
  --mist-300: #a3b4c6;
  --mist-200: #c6d2de;
  --mist-100: #e2e9f0;
  --mist-50: #eef2f6;
  --pearl: #eef2f6;
  --sun: #dfe7ef; /* the old warm accent, now a cool pearl highlight */
  --warm: rgba(236, 214, 190, .5); /* rare, faint natural reflection only */

  --font-display: "Sora", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-flow: cubic-bezier(.45, .05, .25, 1);

  --container: 1240px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section-y: clamp(5rem, 10vw, 9rem);
  --header-h: 76px;

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .55 0 0 0 0 .6 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='9' fill='none' stroke='%23000' stroke-width='1.3'/%3E%3Cpath d='M6.2 10.3l2.5 2.5 5.1-5.3' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

:root,
.theme-deep {
  --heading: #f2f6fa;
  --text: #dbe4ed;
  --text-soft: #a7b7c8;
  --text-faint: #8195aa;
  --accent-text: #aac4dc;
  --line: rgba(196, 214, 232, .12);
  --line-strong: rgba(196, 214, 232, .24);
  --surface: rgba(196, 214, 232, .03);
  --surface-2: rgba(196, 214, 232, .07);
  --glow: rgba(200, 222, 244, .12);
  --focus: #d3e3f1;
  --check: #aac4dc;
  --shadow: 0 34px 70px -34px rgba(0, 0, 0, .75);
}

.theme-mist {
  --heading: #0a1828;
  --text: #22344a;
  --text-soft: #44586f;
  --text-faint: #56697f;
  --accent-text: #3a6187;
  --line: rgba(18, 40, 66, .12);
  --line-strong: rgba(18, 40, 66, .22);
  --surface: rgba(255, 255, 255, .4);
  --surface-2: rgba(255, 255, 255, .72);
  --glow: rgba(255, 255, 255, .9);
  --focus: #24486e;
  --check: #3a6187;
  --shadow: 0 30px 60px -32px rgba(16, 36, 62, .38);
  color: var(--text);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--navy-950);
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, .97rem + .15vw, 1.0625rem);
  line-height: 1.65;
  color: var(--text);
  background: var(--navy-950);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
main { display: block; outline: none; }
[id] { scroll-margin-top: calc(var(--header-h) + 1.25rem); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
::selection { background: #b9cde0; color: #0a1526; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 300;
  padding: .75rem 1.1rem; border-radius: 999px;
  background: var(--mist-50); color: var(--navy-950);
  font-weight: 600; text-decoration: none;
  transform: translateY(-160%);
  transition: transform .4s var(--ease-out);
}
.skip-link:focus { transform: none; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { margin: 0 0 .5em; font-family: var(--font-display); color: var(--heading); text-wrap: balance; }
h1, .h-display {
  font-size: clamp(2.55rem, 1.5rem + 4.3vw, 5.3rem);
  font-weight: 300;
  line-height: 1.03;
  letter-spacing: -.038em;
}
h2, .h2 {
  font-size: clamp(2rem, 1.35rem + 2.6vw, 3.6rem);
  font-weight: 300;
  line-height: 1.07;
  letter-spacing: -.032em;
}
h3, .h3 {
  font-size: clamp(1.18rem, 1.08rem + .4vw, 1.42rem);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: -.015em;
}
.accent { color: var(--accent-text); }
.lead {
  max-width: 38rem;
  font-size: clamp(1.07rem, 1rem + .35vw, 1.24rem);
  line-height: 1.6;
  color: var(--text-soft);
  text-wrap: pretty;
}
.lead a { color: var(--heading); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .8rem;
  margin: 0 0 1.5rem;
  font-size: .76rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  color: #b7c6d4;
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; flex: none;
  background: var(--pearl);
  box-shadow: 0 0 0 4px rgba(214, 228, 242, .1), 0 0 14px rgba(214, 228, 242, .45);
}

/* Section index label: "02 — Services ———" */
.label {
  display: flex; align-items: center; gap: .9rem;
  margin: 0 0 1.6rem;
  font-size: .78rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  color: var(--text-faint);
}
.label b { font-weight: 500; color: var(--heading); letter-spacing: .12em; }
.label::after { content: ""; flex: 0 1 110px; height: 1px; background: var(--line-strong); }

.statement {
  margin: 0;
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(1.55rem, 1.05rem + 2vw, 2.7rem);
  line-height: 1.26; letter-spacing: -.026em;
  color: var(--heading); text-wrap: balance;
}
.statement .muted { color: var(--text-faint); }

/* ---------- Buttons & links ---------- */
.actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.25rem; }

.btn {
  --mx: 50%; --my: 50%;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3.3rem; padding: .85rem 1.6rem;
  border: 1px solid transparent; border-radius: 999px;
  font-size: .98rem; font-weight: 500; line-height: 1.2; letter-spacing: .005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  isolation: isolate; overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out), background-color .3s, border-color .3s, color .3s;
}
.btn > * { position: relative; z-index: 1; }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(140px circle at var(--mx) var(--my), rgba(255, 255, 255, .3), transparent 70%);
  opacity: 0; transition: opacity .45s;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .22) 50%, transparent 70%);
  transform: translateX(-130%); transition: transform 1.1s var(--ease-out);
}
.btn:hover::before { opacity: 1; }
.btn:hover::after { transform: translateX(130%); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); transition-duration: .15s; }
.btn__icon { width: 1.15em; height: 1.15em; flex: none; transition: transform .6s var(--ease-out); }
.btn:hover .btn__icon { transform: translateX(4px); }

.btn--primary {
  background: linear-gradient(180deg, #f7fafc 0%, #d6e3ee 100%);
  color: #08131f;
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(30, 60, 90, .12), 0 12px 28px -14px rgba(150, 186, 222, .45);
}
.btn--primary:hover { box-shadow: inset 0 1px 0 #fff, 0 18px 38px -16px rgba(160, 196, 232, .55); }
.btn--glass {
  background: rgba(196, 214, 232, .07);
  border-color: rgba(214, 228, 242, .24);
  color: var(--heading);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.btn--glass::before { background: radial-gradient(140px circle at var(--mx) var(--my), rgba(214, 232, 248, .2), transparent 70%); }
.btn--glass::after { background: linear-gradient(105deg, transparent 30%, rgba(220, 236, 250, .16) 50%, transparent 70%); }
.btn--glass:hover { border-color: rgba(214, 232, 248, .48); background: rgba(196, 214, 232, .11); }

.theme-mist .btn--primary {
  background: linear-gradient(180deg, #1b3352 0%, #0b1a2d 100%);
  color: #eef4f9;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 14px 30px -12px rgba(11, 26, 45, .6);
}
.theme-mist .btn--primary::before { background: radial-gradient(140px circle at var(--mx) var(--my), rgba(170, 205, 240, .3), transparent 70%); }
.theme-mist .btn--primary::after { background: linear-gradient(105deg, transparent 30%, rgba(200, 225, 250, .2) 50%, transparent 70%); }
.theme-mist .btn--glass { background: rgba(255, 255, 255, .55); border-color: rgba(18, 40, 66, .16); }
.theme-mist .btn--glass:hover { background: rgba(255, 255, 255, .85); border-color: rgba(18, 40, 66, .3); }
.btn--sm { min-height: 2.65rem; padding: .55rem 1.15rem; font-size: .9rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 500; color: var(--heading); text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  padding-bottom: 2px;
  transition: background-size .6s var(--ease-out);
}
.link-arrow .btn__icon { width: 1.05em; height: 1.05em; }
.link-arrow:hover { background-size: 100% 1px; }
.link-arrow:hover .btn__icon { transform: translateX(4px); }

.micro {
  display: flex; flex-wrap: wrap; gap: .5rem 1.4rem;
  margin: 1.4rem 0 0; list-style: none;
  font-size: .88rem; color: #b7c6d4;
}
.micro li { display: inline-flex; align-items: center; gap: .5rem; }
.micro li::before {
  content: ""; width: 15px; height: 15px; flex: none;
  background: var(--check);
  -webkit-mask: var(--tick) center / contain no-repeat; mask: var(--tick) center / contain no-repeat;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  padding-top: env(safe-area-inset-top);
  transition: transform .7s var(--ease-out);
  view-transition-name: site-header;
}
.site-header::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6, 14, 26, .82), rgba(6, 14, 26, .66));
  -webkit-backdrop-filter: blur(14px) saturate(130%); backdrop-filter: blur(14px) saturate(130%);
  border-bottom: 1px solid rgba(196, 214, 232, .1);
  opacity: 0; transition: opacity .5s;
}
.site-header.is-scrolled::before { opacity: 1; }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header:focus-within { transform: none; }
.menu-open .site-header::before { opacity: 0; }
.header-inner { position: relative; display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: .75rem; color: var(--heading); text-decoration: none; border-radius: 10px; }
.brand__mark {
  width: 36px; height: 36px; flex: none;
  filter: drop-shadow(0 6px 14px rgba(120, 160, 200, .25));
  transition: transform .9s var(--ease-out);
}
.brand:hover .brand__mark { transform: translateY(-2px); }
.brand__word { font-family: var(--font-display); font-size: 1.1rem; font-weight: 500; letter-spacing: -.02em; white-space: nowrap; }
.brand__word span { font-weight: 300; color: var(--text-soft); }

.primary-nav { position: relative; margin-left: auto; }
.primary-nav ul { position: relative; display: flex; gap: .15rem; list-style: none; }
.primary-nav a {
  position: relative; z-index: 1; display: block;
  padding: .55rem 1rem; border-radius: 999px;
  font-size: .92rem; color: var(--text-soft); text-decoration: none;
  transition: color .35s;
}
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--heading); }
.primary-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: .22rem;
  width: 4px; height: 4px; margin-left: -2px; border-radius: 50%;
  background: var(--pearl); box-shadow: 0 0 8px rgba(214, 228, 242, .7);
}
.nav-indicator {
  position: absolute; top: 0; left: 0; height: 100%; width: 0;
  border-radius: 999px;
  background: rgba(196, 214, 232, .08); border: 1px solid rgba(196, 214, 232, .13);
  opacity: 0; pointer-events: none;
  transition: transform .55s var(--ease-out), width .55s var(--ease-out), opacity .35s;
}
.nav-indicator.no-anim { transition: none; }
.header-cta { margin-left: .5rem; }

.menu-toggle {
  display: none; position: relative; width: 46px; height: 46px; margin-left: auto;
  border: 1px solid rgba(196, 214, 232, .22); border-radius: 50%;
  background: rgba(196, 214, 232, .06); cursor: pointer;
  -webkit-tap-highlight-color: transparent; transition: background .3s;
}
.menu-toggle:hover { background: rgba(196, 214, 232, .12); }
.menu-toggle__lines, .menu-toggle__lines::before, .menu-toggle__lines::after {
  position: absolute; left: 50%; width: 18px; height: 1.5px; margin-left: -9px;
  border-radius: 2px; background: var(--heading);
  transition: transform .55s var(--ease-out);
}
.menu-toggle__lines { top: 50%; margin-top: -.75px; background: transparent; }
.menu-toggle__lines::before { content: ""; top: -3.5px; }
.menu-toggle__lines::after { content: ""; top: 3.5px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__lines::before { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__lines::after { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
  padding: calc(var(--header-h) + env(safe-area-inset-top) + 2rem) var(--gutter) calc(2rem + env(safe-area-inset-bottom));
  overflow-y: auto;
  background:
    linear-gradient(180deg, rgba(6, 14, 26, 0) 55%, rgba(80, 110, 142, .2) 78%, rgba(6, 14, 26, .9) 100%),
    linear-gradient(180deg, #050c17 0%, #0b1829 100%);
  visibility: hidden;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .8s var(--ease-out), visibility 0s linear .8s;
}
.mobile-menu::after { /* a quiet horizon line */
  content: ""; position: absolute; left: 0; right: 0; top: 78%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(220, 232, 244, .3) 50%, transparent);
  pointer-events: none;
}
.mobile-menu.is-open { visibility: visible; clip-path: inset(0 0 0 0); transition: clip-path .8s var(--ease-out), visibility 0s; }
.mobile-menu ul { list-style: none; }
.mobile-menu__nav a {
  display: flex; align-items: baseline; gap: 1rem; padding: .5rem 0;
  font-family: var(--font-display); font-size: clamp(2rem, 1.4rem + 4vw, 3.2rem);
  font-weight: 300; letter-spacing: -.03em; color: var(--heading); text-decoration: none;
}
.mobile-menu__nav a[aria-current="page"] { color: var(--accent-text); }
.mobile-menu__num { font-family: var(--font-body); font-size: .75rem; letter-spacing: .1em; color: var(--text-faint); }
.mobile-menu li, .mobile-menu__foot { opacity: 0; transform: translate3d(0, 24px, 0); transition: opacity .5s, transform .8s var(--ease-out); }
.mobile-menu.is-open li, .mobile-menu.is-open .mobile-menu__foot { opacity: 1; transform: none; transition-delay: calc(120ms + var(--i) * 55ms); }
.mobile-menu__foot { position: relative; z-index: 1; display: grid; gap: 1rem; justify-items: start; }
.mobile-menu__note { margin: 0; font-size: .85rem; color: var(--text-soft); }
.menu-open { overflow: hidden; }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: var(--section-y); isolation: isolate; }
.section--tight { padding-block: clamp(3.5rem, 7vw, 6rem); }
.theme-deep.section { background: var(--navy-950); }
.theme-deep.section--abyss { background: var(--abyss); }
.theme-deep.section::before { /* defined top edge: a faint lit hairline */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(214, 230, 246, .16) 30%, rgba(214, 230, 246, .16) 70%, transparent);
}
.theme-mist.section {
  background: var(--grain), linear-gradient(180deg, #e8eff5 0%, #dde6ee 100%);
  background-size: 180px 180px, auto;
}
.theme-mist.section::before { /* the "waterline": a crisp horizon at the section top */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(18, 40, 66, .18) 25%, rgba(18, 40, 66, .18) 75%, transparent);
}

.section-head { display: grid; gap: 1.25rem 4rem; margin-bottom: clamp(2.75rem, 6vw, 4.5rem); }
.section-head h2, .section-head .lead { margin: 0; }
@media (min-width: 900px) { .section-head--split { grid-template-columns: 1.1fr .9fr; align-items: end; } }

/* ---------- Glass ---------- */
.glass {
  position: relative;
  isolation: isolate;
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, rgba(214, 228, 242, .1) 0%, rgba(214, 228, 242, .035) 48%, rgba(214, 228, 242, .065) 100%), rgba(11, 23, 38, .55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 40px 80px -42px rgba(0, 0, 0, .75);
}
.glass::before { /* refracted hairline edge */
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgba(236, 244, 252, .5), rgba(236, 244, 252, .07) 32%, rgba(236, 244, 252, .04) 66%, rgba(236, 244, 252, .26));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.glass::after { /* reflection that slides across on hover */
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .07) 50%, transparent 62%) no-repeat;
  background-size: 260% 100%; background-position: 130% 0;
  transition: background-position 1.8s var(--ease-out);
}
.glass:hover::after { background-position: -30% 0; }
.theme-mist .glass {
  background: linear-gradient(155deg, rgba(255, 255, 255, .85), rgba(255, 255, 255, .5) 55%, rgba(255, 255, 255, .7));
  box-shadow: inset 0 1px 0 #fff, 0 30px 60px -36px rgba(16, 36, 62, .45);
}
.theme-mist .glass::before { background: linear-gradient(140deg, #fff, rgba(255, 255, 255, .3) 40%, rgba(18, 40, 66, .08) 70%, rgba(255, 255, 255, .9)); }
.theme-mist .glass::after { background-image: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .7) 50%, transparent 62%); }

/* ---------- Ocean hero ---------- */
.hero {
  position: relative; isolation: isolate;
  display: grid; grid-template-rows: 1fr auto;
  min-height: 100vh; min-height: 100svh;
  padding-top: var(--header-h);
  overflow: hidden;
  background: #07101d;
}
.hero--page { min-height: max(560px, 78svh); }
.hero--short { min-height: max(480px, 64svh); }
.hero--center { text-align: center; }

.ocean {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  opacity: 0; transition: opacity 1.8s ease;
}
.ocean.is-ready { opacity: 1; }
.hero > .scene { z-index: -3; }
.ocean-ready .hero > .scene * { animation-play-state: paused !important; }

.hero__scrim {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(4, 10, 19, .66) 0%, rgba(4, 10, 19, .38) 36%, rgba(4, 10, 19, 0) 64%),
    linear-gradient(180deg, rgba(4, 10, 19, .6) 0%, rgba(4, 10, 19, 0) 26%, rgba(4, 10, 19, 0) 72%, rgba(4, 10, 19, .62) 100%);
}
.hero--center .hero__scrim {
  background:
    radial-gradient(70% 60% at 50% 45%, rgba(4, 10, 19, .5), rgba(4, 10, 19, 0) 70%),
    linear-gradient(180deg, rgba(4, 10, 19, .55) 0%, rgba(4, 10, 19, 0) 30%, rgba(4, 10, 19, 0) 70%, rgba(4, 10, 19, .6) 100%);
}

.hero__body {
  display: grid; align-content: center; gap: 3rem;
  padding-block: clamp(2.5rem, 7vh, 5.5rem) clamp(2.5rem, 6vh, 4.5rem);
}
@media (min-width: 1100px) {
  .hero__body--pane { grid-template-columns: minmax(0, 1fr) 360px; align-items: end; gap: 4rem; }
}
.hero__content {
  max-width: 46rem;
  opacity: calc(1 - var(--p, 0) * 1.3);
  transform: translate3d(0, calc(var(--p, 0) * 60px), 0);
}
.hero--center .hero__content { margin-inline: auto; }
.hero--center .lead { margin-inline: auto; }
.hero--center .actions, .hero--center .micro { justify-content: center; }
.hero__content h1 { margin-bottom: .42em; text-shadow: 0 2px 40px rgba(4, 10, 19, .35); }
.hero__content .lead { margin-bottom: 0; color: #bccad8; }

/* Glass pane: drawn by the shader when WebGL runs; CSS glass otherwise */
.hero-pane { padding: 1.7rem 1.7rem 1.5rem; border-radius: 26px; }
.ocean-ready .hero-pane {
  -webkit-backdrop-filter: none; backdrop-filter: none;
  background: linear-gradient(165deg, rgba(6, 14, 26, .46), rgba(6, 14, 26, .28));
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .65);
}
.ocean-ready .hero-pane::before { opacity: .5; }
.hero-pane__title {
  display: flex; justify-content: space-between; align-items: center;
  margin: 0 0 1.2rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(220, 234, 246, .14);
  font-size: .78rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: #c3d1de;
}
.hero-pane ul { list-style: none; display: grid; gap: 1.05rem; }
.hero-pane li { display: grid; grid-template-columns: auto 1fr; gap: .85rem; align-items: start; }
.hero-pane li strong { display: block; font-weight: 500; color: var(--heading); font-size: .98rem; }
.hero-pane li span { display: block; font-size: .87rem; line-height: 1.45; color: #b3c1cf; }
.hero-pane .tick {
  width: 22px; height: 22px; margin-top: .1rem; flex: none; border-radius: 50%;
  border: 1px solid rgba(220, 234, 246, .32);
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .25), transparent 60%);
  display: grid; place-items: center;
}
.hero-pane .tick::after { content: ""; width: 9px; height: 5px; border: solid #e3eef7; border-width: 0 0 1.5px 1.5px; transform: translateY(-1px) rotate(-45deg); }
.hero-pane__foot {
  display: flex; justify-content: space-between; gap: 1rem;
  margin-top: 1.3rem; padding-top: 1rem; border-top: 1px solid rgba(220, 234, 246, .14);
  font-size: .85rem; color: #b3c1cf;
}
.hero-pane__foot strong { color: var(--heading); font-weight: 500; }

.hero__meta { border-top: 1px solid rgba(220, 234, 246, .12); }
.hero__meta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  min-height: 64px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #aebdcc;
}
.hero__meta ul { display: flex; flex-wrap: wrap; gap: .4rem 2rem; list-style: none; }
.hero__meta li { display: inline-flex; align-items: center; }
.hero__meta li + li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: rgba(214, 230, 246, .45); margin: 0 1rem 0 -1rem; }
.scroll-cue { display: inline-flex; align-items: center; gap: .8rem; color: #aebdcc; text-decoration: none; }
.scroll-cue span { position: relative; width: 1px; height: 28px; overflow: hidden; background: rgba(214, 230, 246, .2); }
.scroll-cue span::after {
  content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 100%;
  background: #e3eef7; transform: translateY(-100%); animation: cue 2.6s var(--ease-flow) infinite;
}
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* ---------- Calm fallback ocean (no WebGL, low-power, or before the shader is ready) ---------- */
.scene { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.scene__sky {
  position: absolute; inset: 0;
  background:
    radial-gradient(90% 40% at 62% 52%, rgba(125, 147, 171, .22), transparent 65%),
    linear-gradient(180deg, #060c16 0%, #0d1a2b 38%, #33475f 53%, #1b2c42 57%, #0d1a2a 72%, #070f1b 100%);
}
.scene__horizon {
  position: absolute; left: 0; right: 0; top: 54%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(214, 228, 242, .32) 30%, rgba(214, 228, 242, .32) 70%, transparent);
}
.scene__sheen { /* faint cool reflection column below the horizon */
  position: absolute; left: 62%; top: 55%; width: clamp(120px, 16vw, 260px); height: 40%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(200, 216, 232, .16), transparent 80%);
  -webkit-mask-image: repeating-linear-gradient(180deg, #000 0 1px, transparent 1px 7px);
  mask-image: repeating-linear-gradient(180deg, #000 0 1px, transparent 1px 7px);
}
.mist {
  position: absolute; left: -15%; right: -15%; top: 46%; height: 18%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(170, 188, 208, .16), transparent 70%);
  animation: mistdrift 46s var(--ease-flow) infinite alternate;
  will-change: transform;
}
.mist--2 { top: 56%; height: 12%; opacity: .7; animation-duration: 62s; animation-delay: -20s; }
@keyframes mistdrift { from { transform: translate3d(-4%, 0, 0); } to { transform: translate3d(4%, -6%, 0); } }

[data-anim-scope].is-offscreen *, [data-anim-scope].is-offscreen { animation-play-state: paused !important; }

/* ---------- Promise strip ---------- */
.promises {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.promise { display: grid; grid-template-columns: auto 1fr; gap: .35rem 1rem; padding: 1.8rem 1.5rem; }
.promise:first-child { padding-left: 0; }
.promise + .promise { border-left: 1px solid var(--line); }
.promise .icon-tile { grid-row: span 2; width: 42px; height: 42px; border-radius: 12px; }
.promise strong { font-family: var(--font-display); font-weight: 500; color: var(--heading); font-size: 1.02rem; letter-spacing: -.01em; line-height: 1.3; }
.promise span { font-size: .9rem; line-height: 1.5; color: var(--text-soft); }
@media (max-width: 1099px) {
  .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; border-bottom: 0; }
  .promise, .promise:first-child { padding: 1.6rem 0; border-left: 0 !important; border-bottom: 1px solid var(--line); }
}
@media (max-width: 599px) { .promises { grid-template-columns: 1fr; } }

.icon-tile {
  display: grid; place-items: center; width: 48px; height: 48px; flex: none;
  border-radius: 14px;
  background: linear-gradient(150deg, rgba(214, 230, 246, .16), rgba(214, 230, 246, .03));
  box-shadow: inset 0 0 0 1px rgba(214, 230, 246, .18), inset 0 1px 0 rgba(255, 255, 255, .14);
  color: var(--mist-200);
  transition: transform .8s var(--ease-out);
}
.icon-tile svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.theme-mist .icon-tile { background: linear-gradient(150deg, #fff, rgba(255, 255, 255, .55)); box-shadow: inset 0 0 0 1px rgba(18, 40, 66, .1); color: var(--slate-600); }

/* ---------- Service detail columns ---------- */
.svc__cols { display: grid; gap: 1.6rem 2.5rem; margin: 1.8rem 0; }
@media (min-width: 640px) { .svc__cols { grid-template-columns: 1fr 1fr; } }
.svc__cols h4 { margin: 0 0 .9rem; font-family: var(--font-body); font-size: .78rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--text-faint); }
.checklist { list-style: none; display: grid; gap: .65rem; }
.checklist li { display: flex; gap: .7rem; color: var(--text); line-height: 1.5; font-size: .97rem; }
.checklist li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: .15em;
  background: var(--check); -webkit-mask: var(--tick) center / contain no-repeat; mask: var(--tick) center / contain no-repeat;
}
.dashlist { list-style: none; display: grid; gap: .6rem; }
.dashlist li { display: flex; gap: .7rem; color: var(--text-soft); line-height: 1.5; font-size: .97rem; }
.dashlist li::before { content: ""; flex: none; width: 12px; height: 1px; margin-top: .78em; background: var(--line-strong); }

/* ---------- Process (horizon line) ---------- */
.horizon-steps { position: relative; display: grid; gap: 2.5rem; list-style: none; padding-left: 2rem; }
.horizon-steps::before, .horizon-steps::after {
  content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 1px; background: var(--line-strong);
}
.horizon-steps::after {
  background: linear-gradient(180deg, var(--accent-text), transparent);
  transform-origin: top; transform: scaleY(0); transition: transform 2s var(--ease-out) .2s;
}
.horizon-steps.is-in::after { transform: none; }
.h-step { position: relative; }
.h-step__dot {
  position: absolute; left: -2rem; top: .3rem; width: 13px; height: 13px; border-radius: 50%;
  background: var(--heading); box-shadow: 0 0 0 5px rgba(58, 97, 135, .12);
}
.theme-deep .h-step__dot { background: #e6eff7; box-shadow: 0 0 0 5px rgba(214, 230, 246, .08), 0 0 18px rgba(214, 230, 246, .45); }
.h-step__when { display: block; margin-bottom: .7rem; font-size: .78rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--text-faint); }
.h-step h3 { font-size: clamp(1.4rem, 1.15rem + .9vw, 1.9rem); font-weight: 300; letter-spacing: -.025em; margin-bottom: .5rem; }
.h-step p { color: var(--text-soft); margin-bottom: 1rem; }
.h-step__get {
  display: inline-flex; flex-wrap: wrap; gap: .25rem .5rem; align-items: baseline;
  padding: .55rem .9rem; border-radius: 12px;
  background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line);
  font-size: .86rem; color: var(--text);
}
.h-step__get b { font-weight: 500; color: var(--text-faint); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
@media (min-width: 960px) {
  .horizon-steps { grid-template-columns: repeat(4, 1fr); gap: 2.5rem; padding-left: 0; padding-top: 3rem; }
  .horizon-steps::before, .horizon-steps::after { left: 0; right: 0; top: 6px; bottom: auto; width: auto; height: 1px; }
  .horizon-steps::after { background: linear-gradient(90deg, var(--accent-text), transparent); transform-origin: left; transform: scaleX(0); }
  .h-step__dot { left: 0; top: -3rem; }
}
.assurance {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2rem;
  margin-top: clamp(3rem, 6vw, 4.5rem); padding: clamp(1.4rem, 3vw, 2rem) clamp(1.4rem, 3vw, 2.2rem);
}
.assurance p { margin: 0; font-family: var(--font-display); font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); font-weight: 300; letter-spacing: -.02em; color: var(--heading); }
.assurance p span { color: var(--text-soft); }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: clamp(1rem, 2vw, 1.4rem); grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.card {
  --mx: 50%; --my: 50%;
  position: relative; display: flex; flex-direction: column;
  padding: clamp(1.6rem, 3vw, 2.2rem);
  border-radius: var(--radius);
  background: linear-gradient(165deg, var(--surface-2), var(--surface));
  box-shadow: inset 0 0 0 1px var(--line);
  color: inherit; text-decoration: none; isolation: isolate; overflow: hidden;
  transition: transform .8s var(--ease-out), box-shadow .8s var(--ease-out);
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(420px circle at var(--mx) var(--my), var(--glow), transparent 62%);
  opacity: 0; transition: opacity .6s;
}
.card:hover::before { opacity: 1; }
.card--lift:hover { transform: translateY(-5px); box-shadow: inset 0 0 0 1px var(--line-strong), var(--shadow); }
.card h3 { margin-bottom: .55rem; }
.card p { color: var(--text-soft); }
.card p:last-child { margin-bottom: 0; }
.card .icon-tile { margin-bottom: 1.6rem; }

/* Split layouts & outcome lists */
.split-layout { display: grid; gap: clamp(2.5rem, 6vw, 6rem); }
@media (min-width: 960px) {
  .split-layout { grid-template-columns: .95fr 1.05fr; align-items: start; }
  .split-layout__sticky { position: sticky; top: calc(var(--header-h) + 2rem); }
}
.outcomes { list-style: none; display: grid; }
.outcome { display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; padding-block: 1.6rem; border-bottom: 1px solid var(--line); }
.outcome:first-child { border-top: 1px solid var(--line); }
.outcome__num { font-family: var(--font-display); font-size: .85rem; color: var(--text-faint); padding-top: .25rem; }
.outcome h3 { margin-bottom: .3rem; }
.outcome p { margin: 0; color: var(--text-soft); }

/* ---------- Services page detail ---------- */
.svc-detail { display: grid; gap: 2rem; padding-block: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--line); }
.svc-detail:first-child { border-top: 0; padding-top: 0; }
.svc-detail__intro h2 { font-size: clamp(1.9rem, 1.35rem + 2.1vw, 3.1rem); }
.svc-detail__num {
  display: block; margin-bottom: 1rem;
  font-family: var(--font-display); font-weight: 200; font-size: clamp(3.5rem, 2.5rem + 4vw, 6rem);
  line-height: 1; letter-spacing: -.05em;
  color: transparent; -webkit-text-stroke: 1px rgba(214, 230, 246, .4);
}
.svc-detail__name { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.25rem; font-size: .76rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--text-soft); }
.svc-detail__name .icon-tile { width: 40px; height: 40px; border-radius: 12px; }
.svc-detail__panel { padding: clamp(1.6rem, 3.5vw, 2.6rem); }
.svc-detail__panel .svc__cols { margin-top: 0; }
@media (min-width: 960px) {
  .svc-detail { grid-template-columns: .9fr 1.1fr; gap: 5rem; }
  .svc-detail__intro { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
}
.jump-links { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 2.2rem; list-style: none; }
.hero--center .jump-links { justify-content: center; }
.jump-links a {
  display: inline-block; padding: .5rem 1rem; border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(214, 230, 246, .26);
  background: rgba(196, 214, 232, .06);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: .88rem; color: #c6d3df; text-decoration: none;
  transition: color .3s, box-shadow .3s, transform .5s var(--ease-out);
}
.jump-links a:hover { color: var(--heading); box-shadow: inset 0 0 0 1px rgba(214, 230, 246, .5); transform: translateY(-2px); }

/* ---------- About ---------- */
.values { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.tags { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; }
.tags li { padding: .6rem 1.1rem; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-strong); background: var(--surface-2); font-size: .95rem; color: var(--text); }
.prose p { color: var(--text-soft); }
.prose p:first-child { color: var(--text); }
.quote-card { padding: clamp(2rem, 4vw, 3rem); margin: 0; }
.quote-card blockquote { margin: 0; }
.quote-card p { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); line-height: 1.35; letter-spacing: -.02em; color: var(--heading); }
.quote-card figcaption { font-size: .9rem; color: var(--text-faint); }

/* ---------- Process page timeline ---------- */
.timeline {
  --tl-pad: clamp(2.25rem, 6vw, 4.5rem); --progress: 0;
  position: relative; display: grid; gap: clamp(3rem, 7vw, 5.5rem);
  padding-left: var(--tl-pad); list-style: none;
}
.timeline::before, .timeline::after { content: ""; position: absolute; left: 5px; top: .6rem; bottom: .6rem; width: 1px; background: var(--line); }
.timeline::after { background: linear-gradient(180deg, #e6eff7, #7fa0c2); transform-origin: top; transform: scaleY(var(--progress)); }
.tl-step { position: relative; display: grid; gap: 1.25rem 4rem; }
@media (min-width: 900px) { .tl-step { grid-template-columns: .85fr 1.15fr; } }
.tl-step__dot {
  position: absolute; left: calc(-1 * var(--tl-pad)); top: .65rem; width: 11px; height: 11px; border-radius: 50%;
  background: var(--navy-950); border: 1px solid rgba(214, 230, 246, .45);
  transition: background .6s, box-shadow .6s, border-color .6s;
}
.tl-step.is-active .tl-step__dot { background: #e6eff7; border-color: #e6eff7; box-shadow: 0 0 0 6px rgba(214, 230, 246, .1), 0 0 26px rgba(214, 230, 246, .55); }
.tl-step__when { display: block; margin-bottom: .75rem; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-faint); }
.tl-step h2 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.8rem); margin-bottom: .4em; }
.tl-step__body p { color: var(--text-soft); }
.tl-step__get { margin-top: 1.4rem; padding: 1.2rem 1.4rem; border-radius: var(--radius-sm); }
.tl-step__get strong { display: block; margin-bottom: .25rem; font-size: .78rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--text-faint); }
.tl-step__get p { margin: 0; color: var(--text); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { margin: 0; font-size: inherit; }
.faq__q button {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  width: 100%; padding: 1.45rem 0; border: 0; background: none; text-align: left;
  font-family: var(--font-display); font-size: clamp(1.05rem, 1rem + .35vw, 1.22rem); font-weight: 400; letter-spacing: -.01em;
  color: var(--heading); cursor: pointer;
}
.faq__icon { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-strong); transition: transform .6s var(--ease-out), background .3s; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: currentColor; transition: transform .6s var(--ease-out); }
.faq__icon::after { transform: rotate(90deg); }
.faq__q button:hover .faq__icon { background: var(--surface-2); }
.faq__item.is-open .faq__icon { transform: rotate(180deg); }
.faq__item.is-open .faq__icon::after { transform: rotate(0deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease-out); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a-inner { overflow: hidden; visibility: hidden; transition: visibility 0s linear .6s; }
.faq__item.is-open .faq__a-inner { visibility: visible; transition-delay: 0s; }
.faq__a p { max-width: 46rem; margin: 0; padding-bottom: 1.5rem; color: var(--text-soft); }
.no-js .faq__a { grid-template-rows: 1fr; }
.no-js .faq__a-inner { visibility: visible; }

/* ---------- Contact ---------- */
.contact-wrap { position: relative; z-index: 2; margin-top: clamp(-6rem, -8vw, -2.5rem); }
.contact-grid { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 1.4fr .6fr; gap: 2rem; } }
.form-panel { padding: clamp(1.5rem, 4vw, 3rem); background: linear-gradient(160deg, rgba(16, 32, 52, .94), rgba(9, 19, 33, .96)); }
.form-panel__head { margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.form-panel__head h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); margin-bottom: .35em; }
.form-panel__head p { margin: 0; color: var(--text-soft); }
.form { display: grid; gap: 1.5rem; }
.form-row { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .5rem; align-content: start; min-width: 0; }
.field label, .field legend { padding: 0; font-size: .92rem; font-weight: 500; color: var(--heading); }
.field .optional { font-weight: 400; color: var(--text-faint); }
.field__hint { margin: -.15rem 0 .25rem; font-size: .85rem; color: var(--text-faint); }
fieldset.field { margin: 0; padding: 0; border: 0; }
.input {
  width: 100%; min-height: 3.15rem; padding: .8rem 1rem;
  border: 1px solid rgba(214, 230, 246, .18); border-radius: 14px;
  background: rgba(196, 214, 232, .05);
  font-size: 1rem; color: var(--heading);
  transition: border-color .3s, background-color .3s, box-shadow .4s var(--ease-out);
}
.input::placeholder { color: rgba(167, 183, 200, .6); }
.input:hover { border-color: rgba(214, 230, 246, .32); }
.input:focus, .input:focus-visible { outline: none; border-color: rgba(224, 236, 248, .78); background: rgba(196, 214, 232, .09); box-shadow: 0 0 0 4px rgba(150, 190, 230, .16); }
textarea.input { min-height: 9.5rem; resize: vertical; line-height: 1.55; }
select.input {
  appearance: none; -webkit-appearance: none; padding-right: 2.75rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 7.8 10 12.3l4.5-4.5' fill='none' stroke='%23a9b9c9' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 18px;
}
select.input option { background: #0d1b2f; color: #e9eff5; }
.field.has-error .input { border-color: #eaa9a9; box-shadow: 0 0 0 4px rgba(234, 169, 169, .12); }
.field__error { font-size: .86rem; color: #f2bcbc; }
.field__error:empty { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: .55rem; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 2.6rem; padding: .5rem 1rem;
  border: 1px solid rgba(214, 230, 246, .2); border-radius: 999px; background: rgba(196, 214, 232, .04);
  font-size: .92rem; color: var(--text);
  transition: background .35s, color .35s, border-color .35s;
}
.chip span::before {
  content: ""; width: 0; height: 12px; margin-right: -.45rem; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 12'%3E%3Cpath d='M1.5 6.2 5 9.5 12.5 2' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") left center / 14px 12px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 12'%3E%3Cpath d='M1.5 6.2 5 9.5 12.5 2' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") left center / 14px 12px no-repeat;
  transition: width .4s var(--ease-out), margin .4s var(--ease-out);
}
.chip:hover span { border-color: rgba(214, 230, 246, .42); }
.chip input:checked + span { background: #e1ebf4; border-color: #e1ebf4; color: #08131f; }
.chip input:checked + span::before { width: 14px; margin-right: 0; }
.chip input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 3px; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; padding-top: .5rem; }
.form__note { margin: 0; max-width: 26rem; font-size: .85rem; color: var(--text-faint); }
.form__status { margin: 0; font-size: .92rem; }
.form__status:empty { display: none; }
.form__status[data-tone="error"] { color: #f2bcbc; }
.form__status a { color: var(--heading); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn__spinner { display: none; width: 16px; height: 16px; border: 1.5px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
.btn.is-busy { pointer-events: none; opacity: .85; }
.btn.is-busy .btn__spinner { display: inline-block; }
.btn.is-busy .btn__icon { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-success[hidden] { display: none; }
.form-success__icon {
  display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 1.75rem; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #f2f7fb, #a9c3db); color: #0a1626;
  box-shadow: 0 0 0 10px rgba(200, 225, 245, .07), 0 0 50px rgba(200, 225, 245, .35);
  animation: pop 1s var(--ease-out) both;
}
.form-success__icon svg { width: 26px; height: 26px; }
.form-success h2 { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); outline: none; }
.form-success p { color: var(--text-soft); max-width: 34rem; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }

.contact-aside { display: grid; gap: 1rem; }
.contact-aside .card { padding: clamp(1.5rem, 3vw, 1.9rem); background: linear-gradient(165deg, rgba(16, 32, 52, .92), rgba(9, 19, 33, .95)); }
.contact-aside h2 { font-size: .78rem; font-family: var(--font-body); font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 1rem; }
.mini-steps { list-style: none; display: grid; gap: 1.05rem; counter-reset: mini; }
.mini-steps li { display: grid; grid-template-columns: auto 1fr; gap: .9rem; color: var(--text-soft); font-size: .95rem; line-height: 1.5; }
.mini-steps li::before {
  counter-increment: mini; content: counter(mini);
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--line-strong); font-size: .78rem; color: var(--heading);
}
.mini-steps strong { color: var(--heading); font-weight: 500; }

/* ---------- Closing CTA over the ocean ---------- */
.cta-ocean { position: relative; isolation: isolate; overflow: hidden; padding: clamp(6rem, 12vw, 10rem) 0; background: #07101d; }
.cta-ocean__bg { position: absolute; inset: 0; z-index: -1; }
.cta-ocean__still {
  position: absolute; inset: -4%;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.6s ease;
  animation: drift-still 38s var(--ease-flow) infinite alternate;
}
.cta-ocean__still.is-ready { opacity: 1; }
@keyframes drift-still { from { transform: translate3d(-1.5%, 0, 0) scale(1.02); } to { transform: translate3d(1.5%, -1%, 0) scale(1.06); } }
.cta-ocean__mist {
  position: absolute; left: -20%; right: -20%; top: 38%; height: 26%;
  background: linear-gradient(180deg, transparent, rgba(160, 182, 204, .12) 50%, transparent);
  animation: mistdrift 40s var(--ease-flow) infinite alternate;
}
.cta-ocean__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 10, 19, .8) 0%, rgba(4, 10, 19, .45) 50%, rgba(4, 10, 19, .25) 100%),
    linear-gradient(180deg, rgba(4, 10, 19, .7) 0%, rgba(4, 10, 19, 0) 30%, rgba(4, 10, 19, 0) 70%, rgba(4, 10, 19, .75) 100%);
}
.cta-ocean__inner { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1000px) { .cta-ocean__inner { grid-template-columns: 1.15fr .85fr; gap: 5rem; } }
.cta-ocean h2 { font-size: clamp(2.2rem, 1.4rem + 3.2vw, 4.2rem); }
.cta-ocean .lead { color: #bccad8; }

.quick-form { padding: clamp(1.6rem, 3.5vw, 2.4rem); }
.quick-form h3 { margin-bottom: .35rem; }
.quick-form > p { color: var(--text-soft); font-size: .95rem; }
.quick-form__row { display: grid; gap: .7rem; margin-top: 1.3rem; }
@media (min-width: 480px) { .quick-form__row { grid-template-columns: 1fr auto; } }
.quick-form__alt { margin: 1.2rem 0 0; font-size: .9rem; color: var(--text-faint); }
.quick-form__alt a { color: var(--heading); }

/* ---------- Footer ---------- */
.site-footer { position: relative; padding: clamp(4rem, 8vw, 6rem) 0 calc(2rem + env(safe-area-inset-bottom)); background: var(--abyss); }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(214, 230, 246, .16), transparent); }
.footer-sign { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem 3rem; padding-bottom: clamp(2.5rem, 5vw, 4rem); margin-bottom: clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--line); }
.footer-sign__line { margin: 0; max-width: 14ch; font-family: var(--font-display); font-weight: 300; font-size: clamp(2.2rem, 1.4rem + 3.4vw, 4.4rem); line-height: 1.04; letter-spacing: -.04em; color: var(--heading); }
.footer-sign__line span { color: var(--accent-text); }
.footer-sign__email {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--font-display); font-size: clamp(1.15rem, 1rem + .8vw, 1.6rem); color: var(--heading); text-decoration: none;
  padding-bottom: .35rem; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .6s var(--ease-out);
}
.footer-sign__email:hover { background-size: 0 1px; background-position: 100% 100%; }
.footer-sign__email:hover .btn__icon { transform: translateX(4px); }
.footer-top { display: grid; gap: 2.5rem; }
@media (min-width: 860px) { .footer-top { grid-template-columns: 1.3fr 1.3fr 1fr; gap: 4rem; } }
.footer-brand p { max-width: 24rem; margin: 1.1rem 0 0; color: var(--text-soft); font-size: .95rem; }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.footer-title { margin: 0 0 1.1rem; font-family: var(--font-body); font-size: .78rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--text-faint); }
.footer-nav ul { list-style: none; display: grid; gap: .6rem; }
.footer-nav a { color: var(--text-soft); text-decoration: none; font-size: .95rem; transition: color .3s; }
.footer-nav a:hover { color: var(--heading); }
.footer-cta p { color: var(--text-soft); font-size: .95rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .85rem; color: var(--text-faint); }
.footer-bottom p { margin: 0; }
.back-top { display: inline-flex; align-items: center; min-height: 44px; color: var(--text-soft); text-decoration: none; }
.back-top:hover { color: var(--heading); }

/* ---------- Mobile CTA dock ---------- */
.dock {
  position: fixed; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 80;
  display: none; align-items: center; gap: .7rem;
  padding: .45rem .45rem .45rem 1.25rem; border-radius: 999px;
  background: rgba(8, 18, 32, .8); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  box-shadow: inset 0 0 0 1px rgba(214, 230, 246, .2), 0 18px 40px -12px rgba(0, 0, 0, .7);
  color: var(--heading); text-decoration: none; font-size: .95rem; font-weight: 500; white-space: nowrap;
  transform: translate(-50%, 180%); transition: transform .7s var(--ease-out);
}
.dock__go { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(180deg, #f7fafc, #d6e3ee); color: #08131f; }
.dock__go svg { width: 16px; height: 16px; }
.dock.is-visible { transform: translate(-50%, 0); }
.menu-open .dock { transform: translate(-50%, 180%); }
@media (max-width: 760px) { .dock { display: inline-flex; } .page-contact .dock { display: none; } }

/* ---------- Brand sheet ---------- */
.brand-board { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.brand-tile { display: grid; place-items: center; min-height: 240px; padding: 2rem; margin: 0; border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line); text-align: center; }
.brand-tile--dark { background: var(--navy-950); }
.brand-tile--deep { background: linear-gradient(160deg, #142740, #0a1526); }
.brand-tile--light { background: #eef3f8; }
.brand-tile--white { background: #fff; }
.brand-tile img { max-height: 120px; width: auto; margin-inline: auto; }
.brand-tile figcaption { font-size: .8rem; color: var(--text-faint); margin-top: 1rem; }
.brand-tile--light figcaption, .brand-tile--white figcaption { color: #56697f; }
.swatches { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); list-style: none; }
.swatch { border-radius: var(--radius-sm); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); font-size: .85rem; }
.swatch span { display: block; height: 90px; }
.swatch p { margin: 0; padding: .75rem 1rem; color: var(--text-soft); }
.swatch strong { display: block; color: var(--heading); font-weight: 500; }

/* ---------- Reveal motion ---------- */
.js .reveal:not(.is-in) { opacity: 0; }
.js .reveal.is-in { animation: rise 1.25s var(--ease-out) backwards; animation-delay: calc(var(--d, 0) * 1ms); }
@keyframes rise { from { opacity: 0; transform: translate3d(0, 28px, 0); } to { opacity: 1; transform: none; } }
.js [data-split]:not(.split) { opacity: 0; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.split .w__i { display: inline-block; transform: translate3d(0, 108%, 0); transition: transform 1.25s var(--ease-out); transition-delay: calc(var(--i) * 42ms + var(--d, 0) * 1ms); }
.split.is-in .w__i { transform: none; }
.reveal-all .reveal, .reveal-all [data-split] { opacity: 1 !important; animation: none !important; }
.reveal-all .split .w__i { transform: none !important; }

@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) { animation: vt-out .35s var(--ease-flow) both; }
  ::view-transition-new(root) { animation: vt-in .6s var(--ease-out) both; }
}
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }

/* ---------- Responsive ---------- */
@media (max-width: 959px) {
  :root { --header-h: 66px; }
  .primary-nav { display: none; }
  .menu-toggle { display: block; margin-left: 0; }
  .header-cta { margin-left: auto; }
}
@media (max-width: 1099px) { .hero-pane { max-width: 30rem; } }
@media (max-width: 699px) {
  .hero-pane { display: none; }
  .hero__scrim {
    background: linear-gradient(180deg, rgba(4, 10, 19, .72) 0%, rgba(4, 10, 19, .4) 45%, rgba(4, 10, 19, .25) 70%, rgba(4, 10, 19, .7) 100%);
  }
  .hero__meta ul { display: none; }
  .hero__meta-inner { justify-content: center; }
}
@media (max-width: 560px) {
  .header-cta { display: none; }
  .menu-toggle { margin-left: auto; }
  .actions .btn { flex: 1 1 100%; }
  .assurance .btn { width: 100%; }
}
@media (max-width: 380px) {
  .brand__word { font-size: 1rem; }
  .brand__mark { width: 32px; height: 32px; }
}
@media (hover: none) {
  .btn--glass, .jump-links a { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .btn--glass { background: rgba(196, 214, 232, .1); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; transition-delay: 0s !important;
  }
  .mist, .scroll-cue span::after, .cta-ocean__still, .cta-ocean__mist, .currents { animation: none !important; }
  .sheet { transform: none !important; }
  .js .reveal:not(.is-in), .js [data-split]:not(.split) { opacity: 1; }
  .split .w__i { transform: none; }
  .hero__content { opacity: 1; transform: none; }
}

/* ---------- Small layout helpers ---------- */
.svc-detail__intro .lead { margin-bottom: 1.75rem; }
.prose .statement { margin-bottom: 0; }

/* ==========================================================================
   Business repositioning components
   ========================================================================== */

/* ---------- Feathered section transitions (fog rising off the water) ---------- */
/* Opaque colour stops (navy → slate → steel → pearl) avoid the grey cast of translucent navy over a pale surface. */
.theme-mist.section::before {
  height: clamp(56px, 7vw, 96px);
  background: linear-gradient(180deg, #08121f 0%, #1c2d43 18%, #4a6584 45%, #9fb2c5 72%, rgba(217, 226, 235, 0) 100%);
  z-index: -1;
}
.theme-mist.section::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; z-index: -1; pointer-events: none;
  height: clamp(56px, 7vw, 96px);
  background: linear-gradient(0deg, #08121f 0%, #1c2d43 18%, #4a6584 45%, #9fb2c5 72%, rgba(212, 222, 232, 0) 100%);
}
.theme-mist.section { background: var(--grain), linear-gradient(180deg, #d9e2eb 0%, #e6ecf2 30%, #e3e9f0 75%, #d4dee8 100%); background-size: 180px 180px, auto; }
.theme-mist.section::before, .theme-mist.section::after { opacity: .92; }
.section--abyss.theme-deep { background: linear-gradient(180deg, var(--navy-950), var(--abyss) 30%, var(--abyss) 70%, var(--navy-950)); }
.section--flush-top { padding-top: 0; }

/* Hero: arrival of the headline, then a soft handover into the page */
.hero__title { font-size: clamp(2.5rem, 1.3rem + 4.6vw, 5.6rem); font-weight: 200; letter-spacing: -.045em; }
.page-home .hero__content { max-width: 54rem; }
.hero__title .accent { display: block; font-weight: 300; }
.hero::after { /* water surface easing into the next section */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 18, 31, 0), var(--navy-950));
}
.hero__body--contact { padding-bottom: clamp(5rem, 11vw, 9rem); }
.hero-pane__minor { opacity: .72; }
.hero-pane__link {
  display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.3rem; padding-top: 1rem;
  width: 100%; border-top: 1px solid rgba(220, 234, 246, .14);
  font-size: .88rem; color: #c3d1de; text-decoration: none; transition: color .3s;
}
.hero-pane__link:hover { color: var(--heading); }
.hero-pane__link .btn__icon { width: 1em; height: 1em; }
.hero-pane__link:hover .btn__icon { transform: translateX(4px); }
html:not(.ocean-ready) .hero-pane { -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }

/* ---------- Proposition: two equal pillars over a horizon ---------- */
.proposition__head { max-width: 58rem; margin-bottom: clamp(3rem, 6vw, 5rem); }
.pillars { position: relative; display: grid; gap: 1rem; }
@media (min-width: 860px) { .pillars { grid-template-columns: 1fr 1fr; gap: 0; } }
.pillars__horizon { display: none; }
@media (min-width: 860px) {
  .pillars__horizon {
    display: block; position: absolute; left: 50%; top: 8%; bottom: 8%; width: 1px;
    background: linear-gradient(180deg, transparent, rgba(214, 228, 242, .3), transparent);
  }
}
.pillar {
  position: relative; display: grid; align-content: start; gap: .2rem;
  padding: clamp(1.8rem, 4vw, 3.4rem);
  border-radius: var(--radius-lg);
  color: inherit; text-decoration: none; isolation: isolate;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow .8s var(--ease-out), transform .8s var(--ease-out);
}
@media (min-width: 860px) { .pillar { box-shadow: none; } }
.pillar::before { /* light moving across the water when you approach */
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; opacity: 0;
  background: radial-gradient(80% 70% at 50% 100%, rgba(125, 147, 171, .16), transparent 70%);
  transition: opacity .8s var(--ease-out);
}
.pillar:hover::before, .pillar:focus-visible::before { opacity: 1; }
.pillar__num {
  position: absolute; right: clamp(1.5rem, 3vw, 3rem); top: clamp(1rem, 2vw, 2rem);
  font-family: var(--font-display); font-weight: 200; font-size: clamp(4rem, 3rem + 4vw, 7.5rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(214, 230, 246, .22);
  transition: transform 1.2s var(--ease-out);
}
.pillar:hover .pillar__num { transform: translate3d(0, -6px, 0); }
.pillar .icon-tile { margin-bottom: 1.6rem; }
.pillar h3 { font-size: clamp(1.5rem, 1.15rem + 1.2vw, 2.2rem); font-weight: 300; letter-spacing: -.028em; max-width: 14ch; }
.pillar p { color: var(--text-soft); max-width: 30rem; margin-bottom: 1.6rem; }
.pillar:hover .link-arrow { background-size: 100% 1px; }
.pillar:hover .link-arrow .btn__icon { transform: translateX(4px); }
.pillars__also { margin: 2rem 0 0; text-align: center; font-size: .95rem; color: var(--text-faint); }
.pillars__also a { color: var(--text-soft); }

/* Shared section footer: a note on the left, one clear action on the right */
.section-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem;
  margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.75rem; border-top: 1px solid var(--line);
}
.section-foot p { margin: 0; max-width: 40rem; font-size: .95rem; color: var(--text-soft); }

/* ---------- Consulting: a navigational chart ---------- */
.chart { display: grid; gap: 1.5rem; }
@media (min-width: 960px) { .chart { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; } }
.chart__list { display: grid; border-top: 1px solid var(--line); }
@media (min-width: 560px) and (max-width: 959px) { .chart__list { grid-template-columns: 1fr 1fr; column-gap: 1.5rem; } }
.chart__item {
  position: relative; display: flex; align-items: baseline; gap: 1rem;
  min-height: 3.4rem; padding: .95rem 0 .95rem 1.1rem;
  border: 0; border-bottom: 1px solid var(--line); background: none; cursor: pointer; text-align: left;
  font-family: var(--font-display); font-size: clamp(1.02rem, .95rem + .35vw, 1.22rem); font-weight: 300; letter-spacing: -.012em;
  color: var(--text-faint);
  transition: color .45s, padding .7s var(--ease-out);
}
.chart__item span { font-family: var(--font-body); font-size: .74rem; letter-spacing: .12em; color: var(--text-faint); }
.chart__item::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%;
  background: var(--pearl); opacity: 0; transform: scale(.4); transition: opacity .4s, transform .6s var(--ease-out);
}
.chart__item:hover { color: var(--text-soft); }
.chart__item[aria-pressed="true"] { color: var(--heading); padding-left: 1.5rem; }
.chart__item[aria-pressed="true"]::before { opacity: 1; transform: none; box-shadow: 0 0 10px rgba(214, 228, 242, .7); }
.chart__item:focus-visible { outline-offset: -2px; }
.chart__stage { position: relative; overflow: hidden; padding: 0; aspect-ratio: 3 / 2; min-height: 300px; }
.chart__map { position: absolute; inset: 0; width: 100%; height: 100%; }
.chart__grid path { fill: none; stroke: rgba(214, 228, 242, .05); stroke-width: 1; }
.chart__contours path { fill: none; stroke: rgba(160, 184, 208, .16); stroke-width: 1; }
.chart__contours path:nth-child(even) { stroke: rgba(160, 184, 208, .09); }
.chart__route-bg { fill: none; stroke: rgba(214, 228, 242, .18); stroke-width: 1.2; stroke-dasharray: 3 6; }
.chart__route {
  fill: none; stroke: var(--pearl); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  transition: stroke-dashoffset 1.3s var(--ease-out);
}
.no-js .chart__route { display: none; }
.chart__wps circle { fill: var(--navy-900); stroke: rgba(214, 228, 242, .55); stroke-width: 1.2; transition: fill .6s; }
.chart__wps circle.is-past { fill: var(--pearl); }
.chart__marker { transition: transform 1.3s var(--ease-out); transform: translate(70px, 330px); }
.chart__marker circle { fill: var(--pearl); }
.chart__marker .chart__ring { fill: rgba(214, 228, 242, .08); stroke: rgba(214, 228, 242, .5); stroke-width: 1; }
.chart__rose circle { fill: none; stroke: rgba(214, 228, 242, .2); }
.chart__rose path { fill: none; stroke: rgba(214, 228, 242, .2); }
.chart__rose .chart__n { fill: rgba(214, 228, 242, .45); stroke: none; }
.chart__note {
  position: absolute; left: clamp(.75rem, 2vw, 1.5rem); right: clamp(.75rem, 2vw, 1.5rem); bottom: clamp(.75rem, 2vw, 1.5rem);
  max-width: 26rem; margin-left: auto; padding: 1rem 1.2rem; border-radius: 16px;
  background: rgba(8, 18, 31, .8); box-shadow: inset 0 0 0 1px rgba(214, 228, 242, .14);
}
.chart__note p { margin: 0; font-size: .95rem; line-height: 1.5; color: var(--text); }
.chart__note .chart__note-k { margin-bottom: .35rem; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-faint); }
.chart__note.is-swap p { animation: noteIn .8s var(--ease-out) both; }
@keyframes noteIn { from { opacity: 0; transform: translate3d(0, 6px, 0); } }
@media (max-width: 559px) { .chart__stage { aspect-ratio: auto; height: 340px; } .chart__map { height: 72%; } .chart__note { max-width: none; } }

/* ---------- Bookkeeping: loose sheets settling into order ---------- */
.books__grid { display: grid; gap: clamp(3rem, 6vw, 6rem); align-items: center; }
@media (min-width: 960px) { .books__grid { grid-template-columns: 1.05fr .95fr; } }
.books__list { list-style: none; display: grid; margin: 2.2rem 0 0; border-top: 1px solid var(--line); }
.books__list li { display: grid; gap: .15rem; padding: 1rem 0 1rem 1.6rem; border-bottom: 1px solid var(--line); position: relative; }
.books__list li::before {
  content: ""; position: absolute; left: 0; top: 1.35rem; width: 14px; height: 14px;
  background: var(--check); -webkit-mask: var(--tick) center / contain no-repeat; mask: var(--tick) center / contain no-repeat;
}
.books__list strong { font-weight: 500; color: var(--heading); }
.books__list span { font-size: .93rem; color: var(--text-soft); }
.books__note { margin: 1.5rem 0 0; max-width: 34rem; font-size: .88rem; color: var(--text-faint); }

.sheets { position: relative; width: min(100%, 480px); aspect-ratio: 1; margin-inline: auto; }
.sheet {
  position: absolute; width: 72%; height: 46%; padding: 1.4rem 1.4rem 1.2rem;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .96), rgba(244, 247, 250, .9));
  box-shadow: inset 0 0 0 1px rgba(18, 40, 66, .08), 0 24px 50px -30px rgba(16, 36, 62, .5);
  transition: transform 1.6s var(--ease-out), translate .7s var(--ease-out), box-shadow .7s var(--ease-out);
  transition-delay: calc(var(--n) * 90ms), 0s, 0s;
}
.sheet--1 { --n: 3; left: 0;   top: 0;   z-index: 1; }
.sheet--2 { --n: 2; left: 9%;  top: 18%; z-index: 2; }
.sheet--3 { --n: 1; left: 18%; top: 36%; z-index: 3; }
.sheet--4 { --n: 0; left: 27%; top: 54%; z-index: 4; }
.js .sheets:not(.is-in) .sheet--1 { transform: translate3d(-6%, 14%, 0) rotate(-8deg); }
.js .sheets:not(.is-in) .sheet--2 { transform: translate3d(16%, -6%, 0) rotate(6deg); }
.js .sheets:not(.is-in) .sheet--3 { transform: translate3d(-14%, -2%, 0) rotate(-4deg); }
.js .sheets:not(.is-in) .sheet--4 { transform: translate3d(8%, 12%, 0) rotate(9deg); }
.sheet__tab {
  display: inline-block; margin-bottom: 1.1rem; padding: .25rem .65rem; border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(18, 40, 66, .14);
  font-size: .7rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #3a5270;
}
.sheet i { display: block; height: 7px; margin-bottom: .75rem; border-radius: 4px; background: rgba(42, 62, 86, .1); }
.sheet i:nth-of-type(1) { width: 86%; } .sheet i:nth-of-type(2) { width: 64%; } .sheet i:nth-of-type(3) { width: 78%; }
.sheet i:nth-of-type(4) { width: 52%; } .sheet i:nth-of-type(5) { width: 70%; }
.sheets__line { /* a clean rule drawn beneath the settled stack */
  position: absolute; left: 0; right: 0; bottom: -2%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(42, 62, 86, .35), transparent);
  transform: scaleX(0); transition: transform 1.8s var(--ease-out) .6s;
}
.sheets.is-in .sheets__line, .no-js .sheets__line { transform: none; }
.books:has([data-sheet="1"]:hover) .sheet--1,
.books:has([data-sheet="2"]:hover) .sheet--2,
.books:has([data-sheet="3"]:hover) .sheet--3,
.books:has([data-sheet="4"]:hover) .sheet--4 { translate: 0 -14px; box-shadow: inset 0 0 0 1px rgba(58, 82, 112, .3), 0 34px 60px -30px rgba(16, 36, 62, .6); }

/* ---------- Digital solutions: slow currents ---------- */
.digital { overflow: hidden; }
.currents {
  position: absolute; left: -5%; top: 0; z-index: -1; width: 110%; height: 100%; max-width: none;
  animation: currents 40s var(--ease-flow) infinite alternate; will-change: transform;
}
.currents path { fill: none; stroke: rgba(160, 184, 208, .1); stroke-width: 1; vector-effect: non-scaling-stroke; }
.currents path:nth-child(2) { stroke: rgba(160, 184, 208, .06); }
@keyframes currents { from { transform: translate3d(-2%, 0, 0); } to { transform: translate3d(2%, -3%, 0); } }
.drift { display: grid; gap: 1rem; }
@media (min-width: 860px) {
  .drift { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
  .drift__item:nth-child(2) { margin-top: 2.5rem; }
  .drift__item:nth-child(3) { margin-top: 5rem; }
}
.drift__item {
  padding: clamp(1.5rem, 3vw, 2rem); border-radius: var(--radius);
  background: linear-gradient(170deg, rgba(214, 228, 242, .06), rgba(214, 228, 242, .015));
  box-shadow: inset 0 1px 0 rgba(214, 228, 242, .16), inset 0 0 0 1px var(--line);
  transition: transform .9s var(--ease-out), box-shadow .9s var(--ease-out);
}
.drift__item:hover { transform: translate3d(0, -4px, 0); box-shadow: inset 0 1px 0 rgba(214, 228, 242, .24), inset 0 0 0 1px var(--line-strong); }
.drift__item h3 { margin: 1.2rem 0 .5rem; }
.drift__item p { margin: 0; color: var(--text-soft); font-size: .97rem; }
.status {
  display: inline-flex; align-items: center; gap: .45rem; padding: .28rem .7rem; border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  font-size: .7rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--text-soft);
}
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; border: 1px solid currentColor; }
.status--now::before { background: currentColor; }

/* ---------- Website referral band (deliberately small) ---------- */
.referral { padding-block: clamp(2.5rem, 5vw, 4rem); }
.referral__card { display: grid; gap: 1.25rem 1.75rem; align-items: center; padding: clamp(1.4rem, 3vw, 2rem) clamp(1.4rem, 3vw, 2.2rem); }
@media (min-width: 760px) { .referral__card { grid-template-columns: auto 1fr auto; } }
.referral__k { margin: 0 0 .35rem; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-faint); }
.referral__k b { font-weight: 500; color: var(--heading); margin-right: .5rem; }
.referral__copy h2 { margin-bottom: .3rem; }
.referral__copy p:last-child { margin: 0; color: var(--text-soft); font-size: .95rem; max-width: 40rem; }

/* ---------- Services page ---------- */
.svc__h { margin: 0 0 .9rem; font-family: var(--font-body); font-size: .78rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--text-faint); }
.svc__fine { margin: 1.6rem 0 0; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: .9rem; color: var(--text-soft); }
.svc__fine strong { color: var(--heading); font-weight: 500; }
.minor-svcs { display: grid; gap: 1rem; }
@media (min-width: 860px) { .minor-svcs { grid-template-columns: 1fr 1fr; gap: 1.4rem; } }
.minor-svc { display: flex; flex-direction: column; padding: clamp(1.6rem, 3vw, 2.2rem); }
.minor-svc__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.minor-svc p { color: var(--text-soft); }
.minor-svc__links { display: flex; flex-wrap: wrap; gap: .75rem 1.75rem; margin-top: auto; }
.minor-svc > .link-arrow { margin-top: auto; align-self: start; }

/* ---------- Form additions ---------- */
.field__warn { margin: 0; font-size: .85rem; color: var(--text-soft); padding-left: 1.5rem; position: relative; }
.field__warn::before { content: "!"; position: absolute; left: 0; top: .1rem; display: grid; place-items: center; width: 1rem; height: 1rem; border-radius: 50%; box-shadow: inset 0 0 0 1px currentColor; font-size: .65rem; font-weight: 600; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: .8rem; align-items: start; font-weight: 400 !important; font-size: .92rem; color: var(--text-soft) !important; cursor: pointer; }
.consent input { width: 1.5rem; height: 1.5rem; margin: .12rem 0 0; accent-color: #d6e3ee; cursor: pointer; }
.consent a { color: var(--heading); }
.field--consent.has-error .consent input { outline: 2px solid #eaa9a9; outline-offset: 2px; }
fieldset.field.has-error .chip span { border-color: rgba(234, 169, 169, .6); }
.form__status { padding: .9rem 1.1rem; border-radius: 14px; background: rgba(214, 228, 242, .06); box-shadow: inset 0 0 0 1px var(--line); color: var(--text); }
.form__status[data-tone="error"] { background: rgba(234, 169, 169, .08); box-shadow: inset 0 0 0 1px rgba(234, 169, 169, .3); }
.form__status p { margin: 0 0 .4rem; }
.form__status p:last-child { margin: 0; }
.contact-aside .card p { color: var(--text-soft); font-size: .95rem; }

/* ---------- Privacy / legal ---------- */
.legal { max-width: 46rem; }
.legal h2 { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.55rem); font-weight: 400; margin: 2.2rem 0 .6rem; }
.legal h2:first-child { margin-top: 0; }
.legal p { color: var(--text-soft); }
.legal a { color: var(--heading); }

/* ---------- Footer additions & approved logo slot ---------- */
.footer-bottom__ref a { color: var(--text-soft); }
.footer-bottom__ref a:hover { color: var(--heading); }
/* Approved logo: a transparent cut-out of the original artwork, so it sits directly on the navy
   with no badge. The header grows slightly (only when the logo is present) to give it room. */
:root:has(.site-header .brand--logo) { --header-h: 92px; }
.brand--logo { display: inline-flex; align-items: center; border-radius: 10px; }
.brand--logo picture { display: block; }
.brand__logo {
  display: block; width: auto; height: 72px; max-width: none;
  transition: transform .9s var(--ease-out);
}
.brand--logo:hover .brand__logo { transform: translate3d(0, -1px, 0); }
.site-footer .brand__logo { height: 92px; }
@media (max-width: 959px) {
  :root:has(.site-header .brand--logo) { --header-h: 78px; }
  .brand__logo { height: 60px; }
}
@media (max-width: 560px) { .brand__logo { height: 54px; } .site-footer .brand__logo { height: 80px; } }
@media (max-width: 380px) { .brand__logo { height: 50px; } }
code { font-size: .9em; padding: .1em .35em; border-radius: 6px; background: var(--surface-2); }

/* Hero copy is never hidden: it is the page's main content (and its LCP element), so it only drifts up. */
.js .hero .lead.reveal:not(.is-in), .js .hero .actions.reveal:not(.is-in), .js .hero .eyebrow.reveal:not(.is-in) { opacity: 1; transform: translate3d(0, 14px, 0); }
.js .hero .lead.reveal.is-in, .js .hero .actions.reveal.is-in, .js .hero .eyebrow.reveal.is-in { animation-name: drift-up; }
@keyframes drift-up { from { transform: translate3d(0, 14px, 0); } to { transform: none; } }
@media (max-width: 959px) { .chart__stage { order: -1; } }

/* Public business email (Contact page only) */
.contact-email {
  display: inline-block; max-width: 100%;
  font-family: var(--font-display); font-weight: 400; font-size: clamp(1.05rem, .92rem + .9vw, 1.45rem); letter-spacing: -.01em;
  color: var(--heading); text-decoration: none; overflow-wrap: anywhere;
  padding-bottom: 2px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .6s var(--ease-out), color .3s;
}
.contact-email:hover { background-size: 0 1px; background-position: 100% 100%; }
.contact-direct { display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem 1rem; margin: 1.6rem 0 0; }
.contact-direct__k { font-size: .76rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: #b7c6d4; }
.contact-aside__note { margin: .9rem 0 0; font-size: .85rem !important; color: var(--text-faint) !important; }
.contact-aside .contact-email { font-size: clamp(1.02rem, .98rem + .25vw, 1.14rem); overflow-wrap: normal; }
@media (prefers-reduced-motion: reduce) { .js .hero .reveal:not(.is-in) { transform: none; } }
