/* 4Cast homepage · night and day */
:root {
  --sea-0: #050b13;
  --sea-1: #08111c;
  --sea-2: #0b1724;
  --sea-3: #10202f;
  --land: #121a22;
  --ink: #e8eef4;
  --ink-2: #b3c1ce;
  --ink-3: #8295a8;
  --ink-4: #4a5d70;
  --rule: rgba(200, 218, 234, .13);
  --rule-2: rgba(200, 218, 234, .26);
  --violet: #693296;
  --violet-lt: #a46ad6;
  --blue: #226BC4;
  --sky: #47AEE3;
  --charcoal: #323232;
  --night: #08111c;
  --night-2: #0d1b2c;
  --day: #f2f5f8;
  --d-ink: #0b1a2b;
  --d-ink-2: #44566a;
  --grad: linear-gradient(118deg, #693296 0%, #3d4fb3 34%, #226BC4 64%, #3593d0 100%);
  --gut: clamp(16px, 6vw, 112px);
  --max: 1320px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: var(--ink-4) var(--sea-0); }
body {
  margin: 0;
  background: var(--sea-1);
  color: var(--ink);
  font: 400 1.0625rem/1.65 Poppins, system-ui, sans-serif;
  font-feature-settings: "tnum" 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
::selection { background: var(--sky); color: var(--sea-0); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--sea-0); }
::-webkit-scrollbar-thumb { background: var(--ink-4); border: 3px solid var(--sea-0); border-radius: 10px; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 4px; border-radius: 4px; }
h1, h2, h3, h4, p { margin: 0; }
.defs { position: absolute; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--ink); color: var(--sea-0); padding: .6rem 1rem; border-radius: 999px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 16px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  font: 600 1rem/1 Poppins, sans-serif; letter-spacing: .005em;
  padding: 1.05em 1.7em; border-radius: 999px; text-decoration: none;
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease, transform .16s var(--ease-out);
  -webkit-tap-highlight-color: transparent; user-select: none;
}
.btn:active { transform: scale(.97); }
.btn--light { background: var(--ink); color: var(--sea-1); }
.btn--ghost { color: var(--ink); box-shadow: inset 0 0 0 1px var(--rule-2); padding: .8em 1.3em; font-size: .9375rem; }
@media (hover: hover) and (pointer: fine) {
  .btn--light:hover { background: #fff; }
  .btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--sky); color: #fff; }
}

.link { display: inline-flex; align-items: center; gap: .55em; font-weight: 500; color: var(--sky); text-decoration: none; }
.link svg, .water__go svg { width: 16px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform .2s var(--ease-out); }
.link:hover { text-decoration: underline; }
@media (hover: hover) and (pointer: fine) { .link:hover svg { transform: translateX(4px); } }

/* ---------- nav ---------- */
.nav {
  position: fixed; z-index: 40; inset: 0 0 auto 0;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding: 1.1rem var(--gut);
  transition: background-color .3s ease, box-shadow .3s ease;
}
.nav.is-scrolled { background: rgba(5, 11, 19, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--rule); }
.nav__logo { width: 128px; height: auto; aspect-ratio: 480.33 / 138.35; }
.nav__menu { display: flex; align-items: center; gap: 2.25rem; }
.nav__list { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav__list > li { position: relative; }
.nav__list > li > a, .nav__list > li > button {
  display: inline-flex; align-items: center; gap: .4rem;
  font: 500 .9375rem/1 Poppins, sans-serif; color: var(--ink-2);
  background: none; border: 0; cursor: pointer; text-decoration: none;
  padding: .7rem .85rem; border-radius: 8px; transition: color .15s ease;
}
.nav__list > li > a:hover, .nav__list > li > button:hover, .nav__list > li > button[aria-expanded="true"] { color: var(--ink); }
.nav__list svg { width: 10px; height: 6px; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform .2s var(--ease-out); }
.nav__list button[aria-expanded="true"] svg { transform: rotate(180deg); }
.sub {
  position: absolute; top: calc(100% + .5rem); left: -.5rem; width: 22rem;
  padding: .6rem; border-radius: 14px; background: rgba(8, 17, 28, .97);
  box-shadow: 0 0 0 1px var(--rule), 0 24px 60px -20px rgba(0,0,0,.8);
  opacity: 0; visibility: hidden; transform: translateY(-4px) scale(.97); transform-origin: 1.5rem 0;
  transition: opacity .14s ease, transform .14s ease, visibility 0s .14s;
}
.has-sub button[aria-expanded="true"] + .sub { opacity: 1; visibility: visible; transform: none; transition: opacity .2s var(--ease-out), transform .2s var(--ease-out), visibility 0s; }
.sub a { display: block; padding: .8rem .9rem; border-radius: 10px; text-decoration: none; }
.sub a:hover, .sub a:focus-visible { background: var(--sea-3); }
.sub b { display: block; font-weight: 500; font-size: .9375rem; color: var(--ink); }
.sub span { display: block; font-size: .8125rem; line-height: 1.45; color: var(--ink-3); margin-top: .2rem; }
.nav__toggle { display: none; }

/* ---------- hero: looping lighthouse film ---------- */
.hero {
  position: relative; min-height: 100svh; min-height: max(100svh, 640px);
  display: flex; align-items: center; isolation: isolate; overflow: hidden;
  background: var(--sea-0) url("../assets/video/hero-poster.jpg") 30% 50% / cover no-repeat;
}
.hero__video {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%;
  object-fit: cover; object-position: 30% 50%;
  opacity: 0; transform: scale(1.06);
  transition: opacity 1.8s ease, transform 9s cubic-bezier(.2, .7, .2, 1);
}
.hero__video.is-playing { opacity: 1; transform: none; }
/* legibility scrim: deepens the sky behind the words, then hands over to the page below */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5,11,19,.78) 0%, rgba(5,11,19,.5) 34%, rgba(5,11,19,0) 62%),
    linear-gradient(180deg, rgba(5,11,19,.45) 0%, rgba(5,11,19,0) 22%, rgba(5,11,19,0) 76%, var(--sea-0) 100%);
}
.hero__copy { position: relative; padding: 7rem var(--gut) 5rem; width: 100%; max-width: calc(var(--max) + 2 * var(--gut)); }
.hero__title {
  font-size: clamp(2.35rem, 4.9vw, 5.5rem); line-height: 1.04;
  max-width: 15ch; text-wrap: balance;
}
.hero__title .hl { display: block; }
/* the goal is light and quiet; the decision carries the weight */
.hero__title .hl--goal { font-weight: 200; letter-spacing: -.02em; color: rgba(232, 238, 244, .78); }
.hero__title .hl--lead { font-weight: 800; letter-spacing: -.04em; word-spacing: .1em; margin-top: .14em; }
.hero__title .hw { display: inline-block; }
.hero__sub { margin-top: 2rem; max-width: 40ch; font-size: clamp(1.0625rem, 1.25vw, 1.25rem); color: var(--ink-2); line-height: 1.6; }
.hero__cta { margin-top: 2.5rem; }

/* Two acts. Act one: the goal drifts in as a single breath, its letters settling.
   A held pause. Act two: the decision lands word by word, out of a heavy blur.
   Then the line and the action. Whole entrance about five seconds. */
@media (prefers-reduced-motion: no-preference) {
  .js .hero__copy:not(.is-split) { opacity: 0; }
  .js .hero__title .hl--goal {
    opacity: 0; filter: blur(18px); letter-spacing: .14em;
    animation: goal-in 1.9s cubic-bezier(.22, .9, .25, 1) .4s forwards;
  }
  .js .hero__title .hl--lead .hw {
    opacity: 0; filter: blur(16px); transform: translateY(.12em) scale(1.1); transform-origin: 50% 80%;
    animation: lead-in .95s var(--ease-out) forwards; animation-delay: calc(2.55s + var(--i) * 150ms);
  }
  .js .hero__sub, .js .hero__cta { opacity: 0; filter: blur(10px); transform: translateY(14px); animation: fog-in 1.1s var(--ease-out) forwards; }
  .js .hero__sub { animation-delay: 3.75s; }
  .js .hero__cta { animation-delay: 4.1s; }
}
@keyframes goal-in {
  60% { opacity: 1; filter: blur(2px); }
  to { opacity: 1; filter: blur(0); letter-spacing: -.02em; }
}
@keyframes lead-in {
  55% { opacity: 1; filter: blur(3px); }
  to { opacity: 1; filter: blur(0); transform: none; }
}
/* section entrances: heading, then its content, once, as the section arrives */
@media (prefers-reduced-motion: no-preference) {
  .js .rv { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: calc(var(--rv, 0) * 70ms); }
  .js .rv.is-in { opacity: 1; transform: none; }
}
@keyframes rm-fade { from { opacity: 0; } }
@keyframes fog-in { to { opacity: 1; filter: blur(0); transform: none; } }

/* ---------- register (trust line) ---------- */
.register {
  position: relative; padding: clamp(2.5rem, 4.5vw, 3.5rem) var(--gut) calc(clamp(2.5rem, 4.5vw, 3.5rem) + clamp(24px, 3vw, 44px));
  background: var(--sea-0);
  display: grid; grid-template-columns: minmax(10rem, 15rem) minmax(0, 1fr); gap: 1.25rem 3rem; align-items: center;
}
.register__title { font-size: .9375rem; font-weight: 300; color: var(--ink-2); line-height: 1.45; max-width: 17ch; }
/* the logo rail: a slow drift that passes under a fixed beam at its centre */
.rail {
  --gap: clamp(2.5rem, 4vw, 3.75rem); --dur: 70s;
  position: relative; overflow: hidden; height: 4.5rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.rail::before, .rail::after {
  content: ""; position: absolute; left: 50%; width: 1px; height: 7px; background: var(--sky); opacity: .8; z-index: 2;
}
.rail::before { top: 0; } .rail::after { bottom: 0; }
.rail__belt { position: absolute; inset: 0 auto 0 0; display: flex; width: max-content; animation: rail var(--dur) linear infinite; }
.rail__lit {
  position: absolute; inset: 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 37%, #000 46%, #000 54%, transparent 63%);
          mask-image: linear-gradient(90deg, transparent 37%, #000 46%, #000 54%, transparent 63%);
}
.rail__set { list-style: none; margin: 0; padding: 0 var(--gap) 0 0; display: flex; align-items: center; gap: var(--gap); }
.rail__set li { flex: none; display: grid; place-items: center; height: 4.5rem; }
.rail__set img { width: calc(var(--lw) * .78); height: auto; opacity: .42; }
.rail__belt--lit img { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .rail:hover .rail__belt { animation-play-state: paused; } }
@keyframes rail { to { transform: translateX(-50%); } }

/* ==========================================================================
   Night and day: the page below the hero is a stack of sheets.
   Each sheet slides over the last with a rounded top edge, so every section
   reads as its own surface: night, day, a brand-gradient field, day, night.
   ========================================================================== */
.sheet {
  --lap: clamp(24px, 3vw, 44px);
  position: relative; isolation: isolate;
  margin-top: calc(var(--lap) * -1);
  padding: calc(clamp(5.5rem, 10vw, 9rem) + var(--lap) * .4) var(--gut) clamp(6rem, 11vw, 10rem);
  border-radius: var(--lap) var(--lap) 0 0;
  box-shadow: 0 -30px 60px -40px rgba(2, 6, 12, .6);
}
.wrap { max-width: var(--max); margin-inline: auto; }

.sheet--day { background: var(--day); color: var(--d-ink); color-scheme: light; }
.sheet--night { background: var(--night); color: var(--ink); }
.sheet--field { background: var(--grad); color: #fff; }

/* ---------- headings: a thin setup, a heavy payoff ---------- */
.h2 { font-size: clamp(2.2rem, 4.7vw, 4.75rem); line-height: 1.04; letter-spacing: -.03em; max-width: 19ch; text-wrap: balance; }
.h2--xl { font-size: clamp(2.4rem, 5.4vw, 5.5rem); max-width: 17ch; }
.t-thin { font-weight: 200; letter-spacing: -.02em; }
.t-heavy { font-weight: 800; letter-spacing: -.04em; }
#problem-title .t-thin, #problem-title .t-heavy, #serve-title .t-thin, #serve-title .t-heavy, #close-title .t-thin, #close-title .t-heavy { display: block; }
.sheet--day .h2 .t-thin { color: var(--d-ink-2); }
.sheet--night .h2 .t-thin, .close .h2 .t-thin { color: rgba(232, 238, 244, .72); }
.sheet--field .h2 .t-thin { color: rgba(255, 255, 255, .82); }

.lede { margin-top: 1.75rem; font-size: clamp(1.125rem, 1.5vw, 1.375rem); color: var(--ink-2); max-width: 48ch; line-height: 1.55; }
.lede strong { color: var(--sky); font-weight: 700; }

/* ---------- problem (day) ---------- */
.prose { margin-top: clamp(2.5rem, 4vw, 3.5rem); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 4rem); max-width: 68rem; font-size: 1.125rem; line-height: 1.65; color: var(--d-ink-2); }
.prose__lead { font-size: clamp(1.25rem, 1.7vw, 1.5rem); line-height: 1.45; font-weight: 500; color: var(--d-ink); letter-spacing: -.01em; }

/* the decision console: a night panel set into the day page */
.console {
  margin-top: clamp(4rem, 8vw, 6.5rem);
  padding: clamp(2rem, 4.5vw, 4.5rem);
  border-radius: clamp(24px, 2.6vw, 36px);
  background: radial-gradient(120% 90% at 18% 0%, #13253b 0%, var(--night) 55%);
  color: var(--ink); color-scheme: dark;
  box-shadow: 0 50px 90px -50px rgba(11, 26, 43, .55), 0 20px 40px -30px rgba(11, 26, 43, .35);
}
.console__title { font-size: clamp(1.6rem, 2.6vw, 2.5rem); line-height: 1.1; letter-spacing: -.02em; }
.console__title .t-thin { color: rgba(232, 238, 244, .72); }
.bearings__grid { display: grid; grid-template-columns: minmax(300px, 5fr) 7fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-top: clamp(2rem, 4vw, 3.5rem); }
.statement { margin-top: clamp(4rem, 8vw, 6.5rem); font-size: clamp(2rem, 4.2vw, 4rem); line-height: 1.08; letter-spacing: -.03em; font-weight: 200; color: var(--d-ink-2); max-width: 27ch; }
.statement .t-heavy { color: var(--d-ink); }

/* the decision index: five big words, thin at rest, heavy when chosen */
.bearings__grid--dx { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: start; }
.dx { position: relative; padding-left: clamp(1.25rem, 2vw, 1.75rem); }
.dx__bar {
  position: absolute; left: 0; top: 0; width: 4px; border-radius: 4px; background: var(--sky);
  transition: transform .5s var(--ease-in-out), height .5s var(--ease-in-out);
}
.dx__list { display: grid; }
.dx__list button {
  position: relative; display: block; width: 100%; text-align: left; cursor: pointer;
  background: none; border: 0; padding: .14em 0; margin: 0; color: inherit;
  font: 200 clamp(2.2rem, 3.5vw, 3.6rem)/1.08 Poppins, sans-serif; letter-spacing: -.035em;
  -webkit-tap-highlight-color: transparent;
}
.dx__list button:focus-visible { outline-offset: 2px; border-radius: 10px; }
.dx__thin { display: block; color: rgba(232, 238, 244, .38); transition: color .3s ease, opacity .35s ease; }
/* the heavy word is laid over the thin one and wiped in from the left, like the beam passing */
.dx__heavy {
  position: absolute; left: 0; top: .14em; white-space: nowrap;
  font-weight: 800; letter-spacing: -.045em; color: #fff;
  clip-path: inset(0 100% 0 0);
  transition: clip-path .5s var(--ease-out);
}
.dx__list button[aria-selected="true"] .dx__thin { opacity: 0; transition-delay: .08s; }
.dx__list button[aria-selected="true"] .dx__heavy { clip-path: inset(0 0 0 0); }
@media (hover: hover) and (pointer: fine) {
  .dx__list button:hover .dx__thin { color: rgba(232, 238, 244, .72); }
}
.bearings__grid--dx .decision { padding-top: .6rem; }

.decision { min-width: 0; }
.decision:focus-visible { outline-offset: 12px; }
.decision__q { font-size: clamp(1.5rem, 2.5vw, 2.25rem); font-weight: 700; line-height: 1.32; letter-spacing: -.025em; max-width: 24ch; text-wrap: balance; }
.decision__s { margin-top: 1rem; color: var(--ink-2); max-width: 56ch; }
.decision.is-swap .decision__q, .decision.is-swap .decision__s, .decision.is-swap .screen { opacity: 0; transform: translateY(6px); filter: blur(4px); }
.decision__q, .decision__s, .screen { transition: opacity .3s var(--ease-out), transform .3s var(--ease-out), filter .3s var(--ease-out); }
.decision__s { transition-delay: 40ms; } .screen { transition-delay: 80ms; }
.screen { margin: 2rem 0 0; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.screen__bar { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 1.1rem; font-size: .8125rem; color: var(--d-ink-2); background: #eef2f6; }
.screen__bar span { font-weight: 600; color: var(--d-ink); }
.screen__bar em { font-style: normal; }
.screen img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: 0 0; }
.screen figcaption { padding: 1rem 1.1rem; font-weight: 700; color: #fff; background: var(--blue); display: flex; align-items: center; gap: .7rem; }

/* ---------- solution (night) ---------- */
/* three steps: looking back, guessing ahead, acting. The past two stay quiet; 4Cast is the lit card. */
.steps { list-style: none; margin: clamp(3.5rem, 7vw, 5.5rem) 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1.5fr); gap: clamp(.5rem, 1vw, .9rem); align-items: stretch; }
.step { border-radius: 28px; padding: clamp(1.5rem, 2.6vw, 2.25rem); background: var(--night-2); display: flex; flex-direction: column; }
.step__label { font-size: .9375rem; font-weight: 500; color: var(--ink-3); }
.step__word { margin-top: 1.25rem; font-size: clamp(2.25rem, 3.6vw, 3.5rem); line-height: 1; letter-spacing: -.035em; font-weight: 200; color: var(--ink-2); }
.step__q { margin-top: auto; padding-top: 1.75rem; color: var(--ink-3); font-size: 1.0625rem; }
.step__arrow { display: grid; place-items: center; color: var(--ink-4); }
.step__arrow svg { width: 30px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.step__arrow--hot { color: var(--sky); }
.step--us { position: relative; background: radial-gradient(120% 120% at 0% 0%, #17304d 0%, #10223a 60%); }
.step--us::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: linear-gradient(120deg, #693296, #226BC4 50%, #47AEE3);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.step--us .step__label { color: var(--sky); font-weight: 700; }
.step--us .step__word { font-weight: 800; color: #fff; letter-spacing: -.045em; font-size: clamp(2.75rem, 4.6vw, 4.5rem); }
.step__list { list-style: none; margin: auto 0 0; padding: 1.75rem 0 0; display: grid; gap: .45rem; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); font-weight: 600; color: #fff; }
@media (max-width: 900px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step__arrow svg { transform: rotate(90deg); }
}

.motto { margin-top: clamp(4rem, 8vw, 6rem); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 2rem; }
.motto p { font-size: clamp(1.75rem, 3.4vw, 3.25rem); letter-spacing: -.03em; line-height: 1.12; max-width: 30ch; }
.motto .m1 { font-weight: 200; color: rgba(232, 238, 244, .6); }
.motto .m2 { font-weight: 400; color: rgba(232, 238, 244, .85); }
.motto .m3 { font-weight: 800; color: #fff; letter-spacing: -.04em; }
.link { display: inline-flex; align-items: center; gap: .55em; font-weight: 600; color: var(--sky); text-decoration: none; }

/* ---------- ROI (brand gradient field) ---------- */
.figures { margin: clamp(3.5rem, 7vw, 5.5rem) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.figure { padding: clamp(1.75rem, 3vw, 2.5rem); border-radius: 28px; background: rgba(6, 14, 26, .26); }
.figure dt { display: flex; flex-direction: column-reverse; align-items: flex-start; gap: 1.25rem; }
.figure__n { white-space: nowrap; font-weight: 200; font-size: clamp(3.25rem, 6.2vw, 6.25rem); line-height: .92; letter-spacing: -.055em; font-feature-settings: "tnum" 1, "lnum" 1; }
.figure dd { margin: 1.75rem 0 0; color: #fff; max-width: 26ch; }
.figure dd b { display: block; color: #fff; font-weight: 800; font-size: 1.25rem; letter-spacing: -.01em; margin-bottom: .2rem; }
.tag { white-space: nowrap; font-size: .6875rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: .4em .75em; border-radius: 999px; }
.tag--on-field { color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6); }
.tag--pending { display: inline-block; vertical-align: middle; margin-left: .6rem; color: var(--violet); box-shadow: inset 0 0 0 1px rgba(105, 50, 150, .45); }
.superiority { margin-top: clamp(3.5rem, 6vw, 5rem); max-width: 34ch; font-size: clamp(1.4rem, 2.4vw, 2.25rem); line-height: 1.36; font-weight: 300; letter-spacing: -.02em; color: rgba(255, 255, 255, .9); }
.superiority strong { font-weight: 800; color: #fff; }

/* ---------- trust (day) ---------- */
.pillars { margin: clamp(3rem, 6vw, 4.5rem) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 1.8vw, 1.5rem); }
.pillar { padding: clamp(1.75rem, 2.6vw, 2.5rem); border-radius: 28px; background: #fff; display: grid; align-content: start; gap: 1rem; }
.pillar--wide { grid-column: span 2; }
.pillar dt { font-size: clamp(1.375rem, 1.9vw, 1.75rem); font-weight: 800; letter-spacing: -.03em; color: var(--d-ink); }
.pillar dd { margin: 0; color: var(--d-ink-2); max-width: 52ch; }
.pillar--wide dd { font-size: clamp(1.0625rem, 1.4vw, 1.25rem); line-height: 1.55; }
.pillar--accent { background: var(--night); }
.pillar--accent dt { color: var(--sky); }
.pillar--accent dd { color: var(--ink-2); }

/* ---------- sectors (night) ---------- */
.arch { margin-top: 1.5rem; color: var(--sky); font-weight: 600; font-size: 1.0625rem; }
.waters { list-style: none; margin: clamp(3.5rem, 7vw, 5rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.75rem, 1.4vw, 1.25rem); }
.water { position: relative; display: flex; flex-direction: column; padding: 1.5rem 1.5rem 1.75rem; border-radius: 28px; background: var(--night-2); transition: background-color .3s ease, translate .4s var(--ease-out); }
.water__art { width: 100%; height: 150px; margin-bottom: 1.5rem; padding: 1rem; border-radius: 18px; background: rgba(71, 174, 227, .07); box-sizing: content-box; margin-inline: -1rem; }
.water__art .ln path, .water__art .ln rect { fill: none; stroke: rgba(200, 218, 234, .45); stroke-width: 1.2; }
.water__art .ln .hit { stroke: var(--sky); stroke-width: 2; stroke-dasharray: 4 4; }
.water__art .ln .dash { stroke-dasharray: 4 5; stroke: rgba(71, 174, 227, .6); }
.water__art .ln .coast { stroke: rgba(200, 218, 234, .5); }
.water__art .nd circle { fill: var(--night-2); stroke: var(--ink-2); stroke-width: 1.2; }
.water__art .flare path { fill: var(--sky); }
.water__art .flare circle { fill: #fff; }
.water__art .rank circle { fill: var(--sky); }
.water__art .rank text { font: 700 10px Poppins, sans-serif; fill: var(--night); text-anchor: middle; }
.water__art .lbl text { font: 400 11px Poppins, sans-serif; fill: var(--ink-3); text-anchor: middle; }
.water__art .lbl .sig { fill: var(--sky); }
.water__art .route path { fill: none; stroke-width: 1.5; }
.water__art .route .r1 { stroke: rgba(200, 218, 234, .35); stroke-dasharray: 3 5; }
.water__art .route .r2 { stroke: var(--sky); stroke-width: 2.4; }
.water__art .route .r3 { stroke: rgba(164, 106, 214, .7); stroke-dasharray: 3 5; }
.water h3 { font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; }
.water__q { margin-top: .6rem; font-size: 1.0625rem; font-weight: 300; color: var(--ink); line-height: 1.45; }
.water__more { list-style: none; margin: 1.25rem 0 0; padding: 0; color: var(--ink-3); font-size: .9375rem; line-height: 1.5; display: grid; gap: .55rem; }
.water__more li { display: flex; gap: .65rem; }
.water__more li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--sky); margin-top: .55em; }
.water__go { margin-top: auto; align-self: flex-start; translate: 0 .5rem; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: var(--night); background: var(--sky); transition: background-color .2s ease, scale .16s var(--ease-out); }
.water__go svg { width: 16px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.75; transition: transform .2s var(--ease-out); }
.water__more + .water__go { margin-top: 1.75rem; }
.water__go:active { scale: .94; }
@media (hover: hover) and (pointer: fine) {
  .water:hover { background: #10223a; translate: 0 -4px; }
  .water__go:hover { background: #fff; }
  .water__go:hover svg { transform: translateX(2px); }
}
.also { margin-top: 2.5rem; color: var(--ink-3); font-size: 1rem; }
.also b { color: #fff; font-weight: 700; }

/* ---------- close: the lighthouse again ---------- */
.close {
  position: relative; isolation: isolate; overflow: hidden;
  margin-top: calc(clamp(24px, 3vw, 44px) * -1); border-radius: clamp(24px, 3vw, 44px) clamp(24px, 3vw, 44px) 0 0;
  min-height: min(100svh, 980px); display: flex; align-items: center;
  padding: clamp(7rem, 12vw, 10rem) var(--gut);
  background: var(--sea-0) url("../assets/video/hero-poster.jpg") 30% 50% / cover no-repeat;
}
.close__video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; opacity: 0; transition: opacity 1.4s ease; }
.close__video.is-playing { opacity: 1; }
.close::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(5, 11, 19, .82) 0%, rgba(5, 11, 19, .55) 40%, rgba(5, 11, 19, .05) 70%); }
.close__copy { width: 100%; max-width: var(--max); margin-inline: auto; display: grid; gap: 1.75rem; justify-items: start; }
.close .lede { margin-top: 0; }
.close .btn { margin-top: .5rem; }
.storm { margin-top: clamp(2.5rem, 6vw, 4.5rem); font-size: clamp(1.25rem, 2vw, 1.75rem); font-weight: 200; letter-spacing: -.01em; color: rgba(232, 238, 244, .85); max-width: 30ch; }

/* ---------- footer ---------- */
.foot { background: var(--sea-0); padding: 4.5rem var(--gut) 2.5rem; display: grid; grid-template-columns: 1fr 3fr; gap: 3rem; }
.foot__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
.foot h4 { font-size: .9375rem; font-weight: 800; letter-spacing: -.01em; color: #fff; margin-bottom: 1rem; }
.foot__cols a { display: block; color: var(--ink-2); text-decoration: none; font-size: .9375rem; font-weight: 300; padding: .3rem 0; }
.foot__cols a:hover { color: #fff; }
.foot__legal { grid-column: 1 / -1; display: flex; gap: 2rem; padding-top: 2rem; margin-top: 1rem; font-size: .8125rem; color: var(--ink-3); box-shadow: 0 -1px 0 rgba(200, 218, 234, .1); }
.foot__legal a { text-decoration: none; }
.foot__legal a:hover { color: #fff; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav__list > li > a, .nav__list > li > button { padding-inline: .6rem; }
  .nav__menu { gap: 1.25rem; }
  .waters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillar--wide { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .nav__toggle {
    display: grid; gap: 6px; place-content: center; width: 44px; height: 44px; border: 0; border-radius: 50%;
    background: transparent; box-shadow: inset 0 0 0 1px var(--rule-2); cursor: pointer;
  }
  .nav__toggle i { display: block; width: 18px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease); }
  .nav__toggle[aria-expanded="true"] i:first-of-type { transform: translateY(3.75px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] i:last-of-type { transform: translateY(-3.75px) rotate(-45deg); }
  .nav__menu {
    position: fixed; inset: 0 0 0 0; z-index: -1; padding: 6rem var(--gut) 2rem;
    background: rgba(5, 11, 19, .98); flex-direction: column; align-items: stretch; gap: 2rem; overflow-y: auto;
    opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
  }
  .nav.is-open .nav__menu { opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; }
  .nav__list > li > a, .nav__list > li > button { font-size: 1.25rem; padding: 1rem 0; width: 100%; justify-content: space-between; color: var(--ink); border-bottom: 1px solid var(--rule); border-radius: 0; }
  .sub { position: static; width: auto; box-shadow: none; background: none; padding: 0 0 .5rem; display: none; opacity: 1; visibility: visible; transform: none; }
  .has-sub button[aria-expanded="true"] + .sub { display: block; }
  .sub a { padding-inline: 0; }
  .nav__cta { align-self: flex-start; }
  .register { grid-template-columns: 1fr; }
  .rail { --dur: 55s; height: 4rem; }
  .rail__set li { height: 4rem; }
  .prose { grid-template-columns: 1fr; gap: 1.25rem; }
  .bearings__grid { grid-template-columns: 1fr; }
  .figures { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr; }
  .foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .nav { padding: .9rem 16px; }
  .nav__logo { width: 112px; }
  .hero { align-items: flex-start; background-position: 72% 50%; }
  .hero__video { object-position: 72% 50%; }
  .hero::after { background: linear-gradient(180deg, rgba(5,11,19,.85) 0%, rgba(5,11,19,.7) 46%, rgba(5,11,19,0) 70%, rgba(5,11,19,0) 82%, var(--sea-0) 100%); }
  .hero__copy { padding: 7.5rem 16px 44vh; }
  .hero__title { font-size: clamp(2rem, 9.2vw, 2.75rem); }
  .sheet { padding-inline: 16px; }
  .console { padding: 1.5rem 1.25rem 1.75rem; margin-inline: -4px; }
  .waters, .pillars { grid-template-columns: 1fr; }
  .close { padding-inline: 16px; align-items: flex-start; background-position: 72% 50%; min-height: 0; padding-bottom: 60vw; }
  .close__video { object-position: 72% 50%; }
  .close::after { background: linear-gradient(180deg, rgba(5, 11, 19, .9) 0%, rgba(5, 11, 19, .82) 62%, rgba(5, 11, 19, .35) 88%, rgba(5, 11, 19, .15) 100%); }
  .screen__bar { font-size: .75rem; }
  .dx__list button { font-size: clamp(2rem, 9vw, 2.6rem); }
  .foot__legal { flex-wrap: wrap; gap: 1rem 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rail { height: auto; -webkit-mask-image: none; mask-image: none; }
  .rail::before, .rail::after, .rail__lit, .rail__set[aria-hidden] { display: none; }
  .rail__belt { position: static; width: auto; }
  .rail__set { flex-wrap: wrap; justify-content: flex-start; row-gap: .5rem; padding: 0; }
  .rail__set img { opacity: .75; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .hero__copy { animation: rm-fade .6s ease both !important; }
  .js .rv { animation: rm-fade .5s ease both !important; }
}



/* ---------- the decision console, turned up (option D) ----------
   A brand-gradient edge, a colour per decision on the brand ramp, the chosen word in gradient,
   a light that follows the choice, and the product screen floating on a coloured backlight. */
@property --hue { syntax: '<color>'; inherits: true; initial-value: #a46ad6; }
@property --hue-prev { syntax: '<color>'; inherits: true; initial-value: #a46ad6; }
@property --hue-deep { syntax: '<color>'; inherits: true; initial-value: #6b3399; }
.console {
  position: relative; isolation: isolate; overflow: hidden;
  transition: --hue .6s ease, --hue-prev .6s ease, --hue-deep .6s ease;
}
/* the brand-gradient edge, drawn as a masked ring so the panel itself stays night */
.console::before {
  content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: linear-gradient(120deg, #693296, #226BC4 50%, #47AEE3);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.dx__glow {
  position: absolute; z-index: -1; left: -14%; top: 0; width: 62%; height: 460px; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--hue) 55%, transparent), color-mix(in srgb, var(--hue) 16%, transparent) 60%, transparent);
  transition: transform .6s var(--ease-in-out);
}
.dx__bar { background: var(--hue); box-shadow: 0 0 18px 0 color-mix(in srgb, var(--hue) 70%, transparent); }
.screen-wrap { position: relative; margin-top: 2rem; perspective: 1100px; }
.screen-wrap__light {
  position: absolute; inset: 4% -5% -7% -3%; border-radius: 28px; pointer-events: none;
  background: linear-gradient(90deg, var(--hue-prev), var(--hue));
  filter: blur(40px); opacity: .9;
}
.screen-wrap .screen {
  position: relative; margin-top: 0;
  transform: rotateY(-7deg) rotateX(3deg); transform-origin: 0 50%;
  box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .75);
}
.screen figcaption { background: var(--hue-deep); }
@media (hover: hover) and (pointer: fine) {
  .screen-wrap .screen { transition: opacity .3s var(--ease-out), transform .6s var(--ease-out), filter .3s var(--ease-out); }
  .screen-wrap:hover .screen { transform: rotateY(-2deg) rotateX(1deg); }
}
@media (max-width: 900px) {
  .screen-wrap .screen { transform: none; }
  .dx__glow { width: 110%; left: -30%; height: 360px; }
}
/* keep the tilt while the panel crossfades between decisions */
.decision.is-swap .screen-wrap .screen { transform: rotateY(-7deg) rotateX(3deg) translateY(6px); }
@media (max-width: 900px) { .decision.is-swap .screen-wrap .screen { transform: translateY(6px); } }

/* autoplay timer: the coloured line starts as a short stub beside the chosen word
   and grows to its full height over the five seconds the decision is held */
.dx__bar { background: color-mix(in srgb, var(--hue) 16%, transparent); box-shadow: none; overflow: hidden; }
.dx__fill {
  position: absolute; inset: 0; border-radius: inherit; background: var(--hue);
  transform-origin: 50% 0; transform: scaleY(1);
}
.dx.is-playing .dx__fill { animation: dx-timer 3s linear forwards; }
.dx.is-paused .dx__fill { animation-play-state: paused; }
@keyframes dx-timer { from { transform: scaleY(.16); } to { transform: scaleY(1); } }

/* console title: one medium weight, smaller (client request, 2026-11-05) */
.console__title { font-size: clamp(1.0625rem, 1.4vw, 1.3125rem); font-weight: 500; letter-spacing: -.01em; line-height: 1.35; }
.console__title .t-thin, .console__title .t-heavy { font-weight: 500; letter-spacing: inherit; color: var(--ink); }


/* decision words: the chosen word simply grows heavier (client request, 2026-11-05).
   Animates font-weight 200 → 800 through Poppins' loaded weights, together with colour and tracking,
   replacing the earlier heavy-word wipe. */
.dx__heavy { display: none; }
.dx__thin {
  transition: font-weight .6s var(--ease-out), color .45s ease, letter-spacing .6s var(--ease-out);
}
.dx__list button[aria-selected="true"] .dx__thin {
  opacity: 1; font-weight: 800; color: #fff; letter-spacing: -.045em; transition-delay: 0s;
}

/* steps grow gently left to right: small, a little bigger, then 4Cast as is (client request, 2026-11-05) */
.steps { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.14fr) auto minmax(0, 1.6fr); align-items: end; }
.step--us { align-self: stretch; }
.steps > .step:nth-child(1) { height: 82%; }
.steps > .step:nth-child(3) { height: 91%; }
.step__arrow { align-self: center; }
@media (max-width: 900px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps > .step:nth-child(1), .steps > .step:nth-child(3) { height: auto; }
}

/* "4Cast answers what to do" in the brand gradient, lightened to read on night (client request, 2026-11-05) */
#platform .lede strong {
  background: linear-gradient(90deg, #a46ad6 0%, #4f93ec 55%, #47AEE3 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* step arrows: bolder, set in round chips; the arrow into 4Cast is lit (client request, 2026-11-05) */
.step__arrow span, .step__arrow svg { display: block; }
.step__arrow svg {
  width: 46px; height: 46px; padding: 12px; box-sizing: border-box; border-radius: 50%;
  background: var(--night-2); box-shadow: inset 0 0 0 1px rgba(200, 218, 234, .14);
  stroke: var(--ink-2); stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-linejoin: round;
}
.step__arrow--hot svg {
  background: var(--sky); stroke: var(--night); stroke-width: 2.6;
  box-shadow: 0 10px 22px -10px rgba(0, 0, 0, .7);
}

/* steps centred vertically on each other instead of sitting on a shared baseline (client request, 2026-11-05) */
.steps { align-items: center; }

/* 4Cast card: a soft brand-gradient glow, purple on the left fading to sky on the right (client request, 2026-11-05) */
.step--us {
  box-shadow:
    -34px 18px 80px -26px rgba(105, 50, 150, .6),
    0 34px 80px -34px rgba(34, 107, 196, .65),
    36px 22px 84px -26px rgba(71, 174, 227, .55);
}

/* rolling ROI figures: digit columns that spin up and land (client request, 2026-11-05) */
.figure__n { line-height: 1; display: inline-flex; align-items: flex-start; }
.fd { display: inline-block; height: 1em; overflow: hidden; }
.fd__strip { display: block; transform: translateY(0); transition: transform 1.3s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--j, 0) * 90ms); }
.fd__strip span { display: block; height: 1em; line-height: 1; text-align: center; }
.fx { display: inline-block; line-height: 1; }

/* ROI cards appear one at a time, each after the previous card's numbers have landed (client request, 2026-11-05) */
@media (prefers-reduced-motion: no-preference) {
  .figs-seq .figure { opacity: 0; transform: translateY(18px); filter: blur(6px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out), filter .6s var(--ease-out); }
  .figs-seq .figure.is-shown { opacity: 1; transform: none; filter: none; }
}

/* trust pillars: one big brand-gradient line icon per tile (client request, 2026-11-05) */
.pillar dt { display: block; }
.pillar__icon {
  display: block; width: clamp(52px, 4.4vw, 64px); height: auto; margin-bottom: 1.5rem;
  fill: none; stroke: url(#icon-grad); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
}
.pillar dt .tag { margin-left: .6rem; }

/* trust icons, bolder and current: duotone line icons set in a soft brand-tinted squircle (client request, 2026-11-05) */
.pillar__badge {
  display: grid; place-items: center; width: clamp(64px, 5.2vw, 76px); aspect-ratio: 1; margin-bottom: 1.6rem;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(105, 50, 150, .12), rgba(34, 107, 196, .10) 55%, rgba(71, 174, 227, .16));
  box-shadow: inset 0 0 0 1px rgba(34, 107, 196, .12);
}
.pillar__badge .pillar__icon { width: 58%; margin: 0; stroke-width: 2.9; }
.pillar__icon rect, .pillar__icon circle, .pillar__icon .fill { fill: url(#icon-grad); fill-opacity: .16; }
.pillar__badge { width: 80px; border-radius: 24px; background: linear-gradient(135deg, rgba(105, 50, 150, .16), rgba(34, 107, 196, .13) 55%, rgba(71, 174, 227, .2)); }
.pillar__badge .pillar__icon { width: 44px; height: 44px; stroke-width: 2.7; }
.pillar__badge { width: 84px; }
.pillar__badge .pillar__icon { width: 56px; height: 56px; stroke-width: 2.5; }
.pillar__badge .pillar__icon { stroke-width: 3.2; }

/* trust icons: simple line icons, one gradient sweeping across the whole icon (client request, 2026-11-05) */
.pillar__badge { display: none; }
.pillar__icon { width: 56px; height: 56px; margin-bottom: 1.5rem; stroke-width: 2.2; }
.pillar__icon rect, .pillar__icon circle, .pillar__icon path { fill: none; }

/* SAP tile: the SAP mark redrawn as a line icon in the shared gradient (client request, 2026-11-05) */
.pillar__icon .pillar__icon-type {
  fill: url(#icon-grad); stroke: none;
  font: 800 10.4px Poppins, sans-serif; letter-spacing: -.02em;
}
.pillar__icon--sap { width: 92px; height: 50px; stroke-width: 1.5; margin-top: 3px; margin-bottom: 1.5rem; }

/* trust icons: larger, finer lines (client request, 2026-11-05) */
.pillar__icon { width: 72px; height: 72px; stroke-width: 1.7; }
.pillar__icon--sap { width: 118px; height: 64px; stroke-width: 1.15; }

/* SAP mark traced from the supplied SAP logo: outline + real letterforms, thin line like the other icons */
.pillar__icon--sap { width: 118px; height: 61px; stroke: url(#sap-grad); stroke-width: 7; }
.pillar__icon--sap .sap-type { stroke-width: 4.5; }
.pillar__icon--sap { stroke-width: 9; } .pillar__icon--sap .sap-type { stroke-width: 5; }
.pillar__icon--sap, .pillar__icon--sap .sap-type { stroke-width: 7.5; }

/* trust tiles: a soft brand-gradient glow on hover (client request, 2026-11-05) */
.pillar { position: relative; isolation: isolate; transition: translate .35s var(--ease-out); }
.pillar::after {
  content: ""; position: absolute; inset: 10% 8% -6%; z-index: -1; border-radius: inherit; pointer-events: none;
  background: linear-gradient(120deg, #693296, #226BC4 55%, #47AEE3);
  filter: blur(34px); opacity: 0; transition: opacity .4s ease;
}
@media (hover: hover) and (pointer: fine) {
  .pillar:hover { translate: 0 -3px; }
  .pillar:hover::after { opacity: .45; }
}
/* glow sits behind the tile, as layered brand-colour shadows (replaces the inner pseudo-element) */
.pillar::after { display: none; }
.pillar { transition: translate .35s var(--ease-out), box-shadow .4s ease; }
@media (hover: hover) and (pointer: fine) {
  .pillar:hover {
    box-shadow:
      -26px 16px 60px -24px rgba(105, 50, 150, .45),
      0 26px 60px -30px rgba(34, 107, 196, .5),
      26px 18px 64px -24px rgba(71, 174, 227, .45);
  }
}
@media (hover: hover) and (pointer: fine) {
  .pillar:hover {
    box-shadow:
      -22px 14px 56px -14px rgba(105, 50, 150, .55),
      0 24px 56px -18px rgba(34, 107, 196, .6),
      22px 16px 60px -14px rgba(71, 174, 227, .6);
  }
}

/* hover glow: fade in/out smoothly and sit above the neighbouring tiles.
   The section-entrance rule (.js .rv) was overriding the tile's transition, so the glow snapped on. */
.js .pillar.rv {
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out), box-shadow .45s ease, translate .35s var(--ease-out);
  transition-delay: calc(var(--rv, 0) * 70ms), calc(var(--rv, 0) * 70ms), 0s, 0s;
}
.pillar { z-index: 0; }
.pillar:hover { z-index: 2; }
/* subtler hover glow (client request, 2026-11-05) */
@media (hover: hover) and (pointer: fine) {
  .pillar:hover {
    box-shadow:
      -18px 12px 48px -18px rgba(105, 50, 150, .28),
      0 20px 48px -22px rgba(34, 107, 196, .32),
      18px 14px 52px -18px rgba(71, 174, 227, .3);
  }
}

/* console: no gradient border (client request, 2026-11-05) */
.console::before { display: none; }

/* footer legal links + Hebrew privacy policy dialog (client request, 2026-11-05) */
.foot__legal { flex-wrap: wrap; row-gap: .75rem; }
.foot__legal a[lang="he"] { font-family: Poppins, "Arial Hebrew", Arial, sans-serif; }
.pdf-dialog {
  width: min(960px, calc(100vw - 32px)); height: min(88vh, 1100px); padding: 0; border: 0; border-radius: 20px;
  background: #fff; color: var(--d-ink); overflow: hidden; display: none; flex-direction: column;
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .6);
}
.pdf-dialog[open] { display: flex; animation: dlg-in .25s var(--ease-out); }
.pdf-dialog::backdrop { background: rgba(5, 11, 19, .72); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.pdf-dialog__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 1rem .85rem 1.5rem; background: var(--day); }
.pdf-dialog__bar h2 { font-size: 1.0625rem; font-weight: 700; }
.pdf-dialog__close {
  width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; cursor: pointer;
  background: #fff; color: var(--d-ink); box-shadow: inset 0 0 0 1px rgba(11, 26, 43, .12);
  transition: background-color .2s ease, scale .16s var(--ease-out);
}
.pdf-dialog__close:hover { background: #e6ebf1; }
.pdf-dialog__close:active { scale: .94; }
.pdf-dialog__close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.pdf-dialog__frame { flex: 1; width: 100%; border: 0; background: #fff; }
@keyframes dlg-in { from { opacity: 0; transform: translateY(10px) scale(.98); } }

/* footer without the link columns (client request, 2026-11-05) */
.foot { grid-template-columns: 1fr; }

/* solution steps enter left to right: each slides in from the left, clearly staggered (client request, 2026-11-05) */
@media (prefers-reduced-motion: no-preference) {
  .js .steps > li.rv { transform: translateX(-32px); transition-duration: .65s; transition-delay: calc(var(--rv, 0) * 160ms); }
  .js .steps > li.rv.is-in { transform: none; }
}

/* closing section: brand-gradient field, everything centred, storm line on one line (client request, 2026-11-05) */
.close { background: var(--grad); align-items: center; text-align: center; }
.close::after { display: none; }
.close__copy { justify-items: center; }
.close__copy .h2 { margin-inline: auto; }
.close .h2 .t-thin { color: rgba(255, 255, 255, .82); }
.close .lede { color: rgba(255, 255, 255, .9); margin-inline: auto; }
.storm { max-width: none; color: #fff; }
@media (min-width: 901px) { .storm { white-space: nowrap; } }
@media (max-width: 600px) { .close { background: var(--grad); padding-bottom: clamp(6rem, 12vw, 10rem); } }

/* close subline on one line on desktop (client request, 2026-11-05) */
@media (min-width: 901px) { .close .lede { max-width: none; white-space: nowrap; } }

/* closing section: living gradient, brand colours drifting and blending like light under water (client request, 2026-11-05) */
.close { background: #2b3c9c; }
.close__aurora { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.close__aurora span { position: absolute; border-radius: 50%; filter: blur(60px); will-change: transform; }
.close__aurora span:nth-child(1) { width: 75%; height: 120%; left: -18%; top: -35%; background: radial-gradient(closest-side, #7b3cb4, transparent); animation: au-a 18s ease-in-out infinite; }
.close__aurora span:nth-child(2) { width: 70%; height: 115%; right: -18%; bottom: -40%; background: radial-gradient(closest-side, #47AEE3, transparent); animation: au-b 22s ease-in-out infinite; }
.close__aurora span:nth-child(3) { width: 55%; height: 90%; left: 25%; top: 20%; background: radial-gradient(closest-side, #226BC4, transparent); opacity: .8; animation: au-c 26s ease-in-out infinite; }
@keyframes au-a { 50% { transform: translate(14%, 10%) scale(1.15); } }
@keyframes au-b { 50% { transform: translate(-16%, -12%) scale(1.1); } }
@keyframes au-c { 50% { transform: translate(-18%, 14%) scale(1.25); } }
@media (prefers-reduced-motion: reduce) { .close__aurora span { animation: none !important; } }

/* living gradient, more noticeable: faster, wider drift, stronger colour (client request, 2026-11-05) */
.close__aurora span { filter: blur(50px); }
.close__aurora span:nth-child(1) { width: 85%; height: 135%; background: radial-gradient(closest-side, #8a3fc6, transparent); animation-duration: 11s; }
.close__aurora span:nth-child(2) { width: 80%; height: 130%; background: radial-gradient(closest-side, #4fc0f0, transparent); animation-duration: 13s; }
.close__aurora span:nth-child(3) { opacity: 1; animation-duration: 15s; }
@keyframes au-a { 0%, 100% { transform: none; } 50% { transform: translate(28%, 18%) scale(1.25); } }
@keyframes au-b { 0%, 100% { transform: none; } 50% { transform: translate(-30%, -22%) scale(1.2); } }
@keyframes au-c { 0%, 100% { transform: none; } 33% { transform: translate(-30%, 18%) scale(1.35); } 66% { transform: translate(22%, -16%) scale(.9); } }

/* closing text entrance: thin line breathes in, heavy line lands word by word, then the rest */
@media (prefers-reduced-motion: no-preference) {
  .js .close.is-armed #close-title .t-thin { opacity: 0; filter: blur(16px); letter-spacing: .08em; }
  .js .close.is-armed #close-title .cw { display: inline-block; opacity: 0; filter: blur(14px); transform: translateY(.12em) scale(1.08); }
  .js .close.is-armed .close__copy > :not(h2) { opacity: 0; filter: blur(8px); transform: translateY(12px); }
  .js .close.is-play #close-title .t-thin { animation: c-thin 1.4s cubic-bezier(.22, .9, .25, 1) .1s forwards; }
  .js .close.is-play #close-title .cw { animation: lead-in .85s var(--ease-out) forwards; animation-delay: calc(.95s + var(--i) * 110ms); }
  .js .close.is-play .close__copy > :not(h2) { animation: fog-in .9s var(--ease-out) forwards; }
  .js .close.is-play .close__copy > .lede { animation-delay: 1.85s; }
  .js .close.is-play .close__copy > p:nth-child(3) { animation-delay: 2.05s; }
  .js .close.is-play .close__copy > .storm { animation-delay: 2.3s; }
}
@keyframes c-thin { 60% { opacity: 1; filter: blur(2px); } to { opacity: 1; filter: blur(0); letter-spacing: -.02em; } }

/* footer site map back, as plain text for now (no links yet) (client request, 2026-11-05) */
.foot { grid-template-columns: 1fr 3fr; }
.foot__cols span { display: block; color: var(--ink-2); font-size: .9375rem; font-weight: 300; padding: .3rem 0; }
@media (max-width: 900px) { .foot { grid-template-columns: 1fr; } }

/* Who We Serve: expanding photo panels. One panel opens wide (photo blurs and darkens, content rises in);
   the others fold to a narrow strip with a vertical label (client request, 2026-11-05) */
.panels { list-style: none; margin: clamp(3.5rem, 7vw, 5rem) 0 0; padding: 0; display: flex; gap: clamp(.6rem, 1vw, .9rem); height: clamp(440px, 40vw, 560px); }
.panel {
  position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: 28px; isolation: isolate;
  background: var(--night-2); cursor: pointer;
  transition: flex-grow .7s var(--ease-out);
}
.panel.is-open { flex-grow: 3.4; cursor: default; }
.panel__img {
  position: absolute; inset: -20px; width: calc(100% + 40px); height: calc(100% + 40px); object-fit: cover; z-index: -2;
  filter: blur(0) saturate(.85); transform: scale(1);
  transition: filter .7s var(--ease-out), transform 1.2s var(--ease-out);
}
.panel.is-open .panel__img { filter: blur(14px) saturate(.9) brightness(.85); transform: scale(1.06); }
/* tint every photo into the night palette so mismatched sources read as one set */
.panel::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(8, 17, 28, .15) 0%, rgba(8, 17, 28, .55) 55%, rgba(8, 17, 28, .92) 100%), rgba(16, 40, 80, .35);
  mix-blend-mode: normal; transition: background-color .6s ease;
}
.panel.is-open::before { background: linear-gradient(180deg, rgba(8, 17, 28, .45) 0%, rgba(8, 17, 28, .75) 50%, rgba(8, 17, 28, .94) 100%), rgba(30, 40, 110, .3); }
.panel__head {
  position: absolute; inset: 0; z-index: 1; display: block; width: 100%; padding: 0; margin: 0; border: 0; background: none; color: inherit;
  text-align: left; cursor: inherit; font: inherit;
}
.panel__head:focus-visible { outline: 2px solid var(--sky); outline-offset: -6px; border-radius: 28px; }
.panel__short {
  position: absolute; left: 50%; bottom: 1.75rem; translate: -50% 0;
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-size: 1.125rem; font-weight: 600; letter-spacing: .01em; color: #fff; white-space: nowrap;
  transition: opacity .35s ease;
}
.panel.is-open .panel__short { opacity: 0; }
.panel__title {
  position: absolute; left: clamp(1.75rem, 2.6vw, 2.5rem); right: clamp(1.75rem, 2.6vw, 2.5rem); top: clamp(1.75rem, 2.6vw, 2.5rem);
  font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; color: #fff;
  opacity: 0; translate: 0 10px; transition: opacity .4s ease, translate .5s var(--ease-out);
}
.panel__body {
  position: absolute; left: clamp(1.75rem, 2.6vw, 2.5rem); right: clamp(1.75rem, 2.6vw, 2.5rem); bottom: clamp(1.75rem, 2.6vw, 2.5rem);
  z-index: 1; max-width: 34rem; pointer-events: none;
  opacity: 0; translate: 0 14px; transition: opacity .4s ease, translate .5s var(--ease-out);
}
.panel.is-open .panel__title, .panel.is-open .panel__body { opacity: 1; translate: 0 0; transition-delay: .22s; }
.panel.is-open .panel__body { transition-delay: .32s; }
.panel__q { font-size: clamp(1.25rem, 1.8vw, 1.6rem); font-weight: 300; line-height: 1.35; color: #fff; letter-spacing: -.01em; }
.panel__more { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .6rem; color: rgba(232, 238, 244, .85); font-size: 1rem; line-height: 1.5; }
.panel__more li { display: flex; gap: .7rem; }
.panel__more li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--sky); margin-top: .6em; }
@media (hover: hover) and (pointer: fine) {
  .panel:not(.is-open):hover .panel__img { transform: scale(1.04); }
}
/* phones and tablets: stacked, every panel open */
@media (max-width: 900px) {
  .panels { flex-direction: column; height: auto; }
  .panel, .panel.is-open { flex: none; min-height: 360px; cursor: default; }
  .panel .panel__img { filter: blur(10px) saturate(.9) brightness(.85); transform: scale(1.06); }
  .panel::before { background: linear-gradient(180deg, rgba(8, 17, 28, .45), rgba(8, 17, 28, .9)), rgba(30, 40, 110, .3); }
  .panel__short { display: none; }
  .panel .panel__title, .panel .panel__body { opacity: 1; translate: 0 0; }
  .panel__body { position: relative; left: auto; right: auto; bottom: auto; padding: 5.75rem 1.5rem 1.75rem; }
  .panel__title { left: 1.5rem; right: 1.5rem; top: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .panel, .panel__img, .panel__title, .panel__body { transition: none !important; }
}
.panel__img { max-width: none; max-height: none; }
.panel.is-open .panel__img { filter: blur(7px) saturate(.95) brightness(.9); transform: scale(1.05); }
.panel.is-open::before { background: linear-gradient(180deg, rgba(8, 17, 28, .35) 0%, rgba(8, 17, 28, .6) 50%, rgba(8, 17, 28, .92) 100%), rgba(30, 40, 110, .22); }
@media (max-width: 900px) { .panel .panel__img { filter: blur(6px) saturate(.95) brightness(.85); } }

/* sector panels v2: smoother, fade-only text, brighter (client request, 2026-11-05)
   - photos are sized to the open width and centred, so resizing a panel only clips them (no re-scaling per frame)
   - the blur is a second, pre-blurred copy that crossfades by opacity, instead of animating filter: blur()
   - text has a fixed measure so it never re-wraps while the panel narrows; it just fades */
.panels { height: clamp(460px, 40vw, 580px); }
.panel { transition: flex-grow .6s cubic-bezier(.65, 0, .35, 1); will-change: flex-grow; }
.panel__img, .panel.is-open .panel__img {
  inset: 0 auto 0 50%; width: min(980px, 72vw); height: 100%; translate: -50% 0;
  filter: saturate(1.05) brightness(1.02); transform: none; transition: opacity .6s ease;
}
.panel__img--soft { filter: blur(10px) saturate(1.05) brightness(1) !important; transform: scale(1.06) !important; opacity: 0; }
.panel.is-open .panel__img--soft { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .panel:not(.is-open):hover .panel__img { transform: none; } }

/* lighter treatment: no navy wash over the whole photo, just a bottom scrim for legibility and a light brand tint */
.panel::before {
  background:
    linear-gradient(180deg, rgba(8, 17, 28, 0) 35%, rgba(8, 17, 28, .7) 100%),
    linear-gradient(135deg, rgba(105, 50, 150, .18), rgba(34, 107, 196, .14) 55%, rgba(71, 174, 227, .1));
}
.panel.is-open::before {
  background:
    linear-gradient(180deg, rgba(8, 17, 28, .1) 0%, rgba(8, 17, 28, .25) 40%, rgba(8, 17, 28, .78) 100%),
    linear-gradient(135deg, rgba(105, 50, 150, .22), rgba(34, 107, 196, .16) 55%, rgba(71, 174, 227, .12));
}
.panel__short { text-shadow: 0 1px 12px rgba(0, 0, 0, .45); }

/* text: fade only, fixed measure */
.panel__title, .panel__body { translate: none !important; transition: opacity .22s ease; }
.panel__title { right: auto; width: min(34rem, 60vw); text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.panel__body { right: auto; width: min(34rem, 60vw); }
.panel.is-open .panel__title, .panel.is-open .panel__body { transition: opacity .45s ease .3s; }
.panel.is-open .panel__body { transition-delay: .38s; }
.panel__q { text-shadow: 0 2px 16px rgba(0, 0, 0, .35); }

@media (max-width: 900px) {
  .panel__img, .panel.is-open .panel__img { width: 100%; inset: 0; translate: none; }
  .panel .panel__img--soft { opacity: 1; }
  .panel__title, .panel__body { width: auto; right: 1.5rem; }
  .panel::before { background: linear-gradient(180deg, rgba(8, 17, 28, .3), rgba(8, 17, 28, .8)), linear-gradient(135deg, rgba(105, 50, 150, .2), rgba(34, 107, 196, .15)); }
}
@media (max-width: 900px) {
  .panel__body { position: relative; left: 0; right: 0; width: auto; padding: 5.25rem 1.5rem 1.75rem; }
  .panel__title { left: 1.5rem; right: 1.5rem; width: auto; }
}

/* folded panel labels, larger (client request, 2026-11-05) */
.panel__short { font-size: clamp(1.5rem, 2vw, 1.875rem); font-weight: 700; letter-spacing: -.01em; bottom: 2rem; }

/* logo rail: no centre tick marks (client request, 2026-11-05) */
.rail::before, .rail::after { display: none; }

/* phones/tablets: the stacked panels size to their content (the desktop row height was leaking in) */
@media (max-width: 900px) { .panels { height: auto; } }


/* ==========================================================================
   Platform page (platform.html): night page, alternating capability rows,
   each screenshot floating forward on a light in its own brand-ramp colour.
   ========================================================================== */
.pf { background: var(--night); }
.pf-hero { position: relative; overflow: hidden; padding: clamp(9rem, 15vw, 12rem) var(--gut) 0; }
.pf-title { font-size: clamp(2.6rem, 6vw, 6rem); line-height: 1.02; letter-spacing: -.035em; max-width: 15ch; text-wrap: balance; }
.pf-title .t-thin { display: block; color: rgba(232, 238, 244, .72); }
.pf-title .t-heavy { display: block; }
.pf-sub { margin-top: 1.75rem; font-size: clamp(1.25rem, 2vw, 1.75rem); font-weight: 600; letter-spacing: -.015em;
  background: linear-gradient(90deg, #b48ae0, #6fa6f0 55%, #6cc3f0); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; width: fit-content; }
.pf-intro { margin-top: 1.5rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 4rem); max-width: 68rem; color: var(--ink-2); font-size: 1.125rem; line-height: 1.65; }
.pf-intro p:first-child { color: var(--ink); font-weight: 500; font-size: clamp(1.1875rem, 1.6vw, 1.375rem); line-height: 1.5; }

/* the graphic strip: a slow band of brand light with faint data lines drifting through it */
.pf-strip {
  position: relative; height: clamp(120px, 14vw, 190px); margin-top: clamp(4rem, 7vw, 6rem); overflow: hidden;
  background: var(--grad);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.pf-strip::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .14) 0 1px, transparent 1px 64px);
}
.pf-strip span { position: absolute; left: -10%; width: 120%; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .85) 50%, transparent); opacity: .55; }
.pf-strip span:nth-child(1) { top: 28%; animation: pf-line 9s linear infinite; }
.pf-strip span:nth-child(2) { top: 54%; animation: pf-line 12s linear infinite reverse; opacity: .4; }
.pf-strip span:nth-child(3) { top: 76%; animation: pf-line 15s linear infinite; opacity: .3; }
@keyframes pf-line { from { transform: translateX(-30%); } to { transform: translateX(30%); } }

/* capabilities */
.pf-caps { padding: clamp(6rem, 11vw, 9rem) var(--gut) clamp(7rem, 12vw, 10rem); }
.caps { list-style: none; margin: 0 auto; padding: 0; max-width: var(--max); display: grid; gap: clamp(6rem, 11vw, 9rem); }
.cap { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.cap--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); }
.cap--flip .cap__media { order: 2; }
.cap__media { position: relative; perspective: 1200px; }
.cap__light {
  position: absolute; inset: 8% 4% -6% 2%; border-radius: 28px; pointer-events: none;
  background: linear-gradient(90deg, var(--hue-prev), var(--hue)); filter: blur(46px); opacity: .7;
}
.cap__screen {
  position: relative; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; background: #eef2f6;
  display: grid; place-items: center;
  transform: rotateY(-6deg) rotateX(2deg); transform-origin: 0 50%;
  box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .75);
  transition: transform .7s var(--ease-out);
}
.cap--flip .cap__screen { transform: rotateY(6deg) rotateX(2deg); transform-origin: 100% 50%; }
.cap__ph { font-size: .875rem; font-weight: 500; color: var(--d-ink-2); padding: .5rem 1rem; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(11, 26, 43, .14); }
@media (hover: hover) and (pointer: fine) {
  .cap:hover .cap__screen { transform: rotateY(-2deg) rotateX(1deg); }
  .cap--flip:hover .cap__screen { transform: rotateY(2deg) rotateX(1deg); }
}
.cap__label { font-size: 1rem; font-weight: 700; color: var(--hue); letter-spacing: .005em; }
.cap__h { margin-top: .75rem; font-size: clamp(1.9rem, 3vw, 2.9rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.08; text-wrap: balance; }
.cap__p { margin-top: 1rem; font-size: 1.125rem; line-height: 1.6; color: var(--ink-2); max-width: 40ch; }
.cap__p + .cap__p { margin-top: .5rem; }
.cap__tags { margin-top: 1.25rem; font-size: .9375rem; font-weight: 600; color: var(--ink); letter-spacing: .01em; }

/* trust tiles + demo button */
.pf-trust { margin-top: 0; padding-top: clamp(5rem, 9vw, 7rem); }
.pillars--3 { margin-top: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pf-cta { margin-top: clamp(3.5rem, 6vw, 5rem); text-align: center; }
.btn--dark { background: var(--d-ink); color: #fff; }
@media (hover: hover) and (pointer: fine) { .btn--dark:hover { background: var(--blue); } }
.nav__list a[aria-current="page"] { color: #fff; }

@media (max-width: 900px) {
  .pf-intro { grid-template-columns: 1fr; gap: 1rem; }
  .cap, .cap--flip { grid-template-columns: 1fr; gap: 2rem; }
  .cap--flip .cap__media { order: 0; }
  .cap__screen, .cap--flip .cap__screen { transform: none; }
  .pillars--3 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .pf-hero { padding-inline: 16px; }
  .pf-caps { padding-inline: 16px; }
}
@media (prefers-reduced-motion: reduce) { .pf-strip span { animation: none; } }

/* capability videos (platform page): fill the floating screen at their own 16:9 shape */
.cap__screen--video { aspect-ratio: 16 / 9; background: #0d1b2c; }
.cap__video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* capability videos: never show browser playback controls or overlays */
.cap__video { pointer-events: none; }
.cap__video::-webkit-media-controls, .cap__video::-webkit-media-controls-start-playback-button, .cap__video::-webkit-media-controls-overlay-play-button { display: none !important; -webkit-appearance: none; }

/* "Play again" over a finished capability video */
.cap__replay {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 2;
  display: inline-flex; align-items: center; gap: .55rem; padding: .85rem 1.4rem; border: 0; border-radius: 999px; cursor: pointer;
  font: 600 1rem/1 Poppins, sans-serif; color: var(--night); background: rgba(255, 255, 255, .94);
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .55);
  opacity: 0; scale: .96; transition: opacity .35s ease, scale .35s var(--ease-out), background-color .2s ease;
}
.cap__replay.is-on { opacity: 1; scale: 1; }
.cap__replay:active { scale: .97; }
.cap__replay svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) and (pointer: fine) { .cap__replay:hover { background: #fff; } }
.cap__screen--video::after { content: ""; position: absolute; inset: 0; background: rgba(8, 17, 28, 0); transition: background-color .35s ease; pointer-events: none; }
.cap__screen--video:has(.cap__replay.is-on)::after { background: rgba(8, 17, 28, .35); }

/* more breathing room between the nine capabilities (client request, 2026-11-09) */
.caps { gap: clamp(8rem, 15vw, 13rem); }
@media (max-width: 900px) { .caps { gap: clamp(5rem, 14vw, 7rem); } }

/* even more room between the nine capabilities (client request, 2026-11-09) */
.caps { gap: clamp(10rem, 19vw, 16rem); }
@media (max-width: 900px) { .caps { gap: clamp(6rem, 18vw, 8.5rem); } }

/* unlinked buttons (no href yet) still look and feel like buttons */
a.btn:not([href]) { cursor: pointer; }

/* platform header: a clean brand-gradient field (client choice H2, no grid, 2026-11-09) */
.pf-hero { background: var(--grad); padding-bottom: clamp(5rem, 9vw, 7.5rem); border-radius: 0 0 clamp(24px, 3vw, 44px) clamp(24px, 3vw, 44px); }
.pf-title .t-thin { color: rgba(255, 255, 255, .82); }
.pf-title .t-heavy { color: #fff; }
.pf-sub { background: none; -webkit-text-fill-color: #fff; color: #fff; }
.pf-intro { color: rgba(255, 255, 255, .88); }
.pf-intro p:first-child { color: #fff; }

/* platform page: the nav sits on the gradient, so it starts in its solid dark state to keep the logo legible */
.page-platform .nav { background: rgba(5, 11, 19, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--rule); }

/* platform header: a living gradient. The brand gradient slowly flows across the header,
   and two soft clouds of purple and sky drift over it (client request, 2026-11-09) */
.pf-hero {
  isolation: isolate;
  background: linear-gradient(118deg, #693296 0%, #3d4fb3 22%, #226BC4 42%, #3593d0 58%, #3d4fb3 78%, #693296 100%);
  background-size: 260% 260%;
  animation: pf-flow 18s ease-in-out infinite alternate;
}
.pf-hero::before, .pf-hero::after {
  content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; filter: blur(60px);
}
.pf-hero::before { width: 60%; height: 120%; left: -12%; top: -30%; background: radial-gradient(closest-side, rgba(150, 70, 210, .65), transparent); animation: pf-cloud-a 13s ease-in-out infinite; }
.pf-hero::after { width: 55%; height: 110%; right: -10%; bottom: -35%; background: radial-gradient(closest-side, rgba(92, 192, 238, .6), transparent); animation: pf-cloud-b 16s ease-in-out infinite; }
@keyframes pf-flow { 0% { background-position: 0% 30%; } 100% { background-position: 100% 70%; } }
@keyframes pf-cloud-a { 0%, 100% { transform: none; } 50% { transform: translate(35%, 20%) scale(1.2); } }
@keyframes pf-cloud-b { 0%, 100% { transform: none; } 50% { transform: translate(-40%, -18%) scale(1.15); } }
@media (prefers-reduced-motion: reduce) { .pf-hero, .pf-hero::before, .pf-hero::after { animation: none; } }

/* platform subtitle as a white capsule (client request, 2026-11-09) */
.pf-sub { display: inline-block; width: auto; padding: .55em 1.1em; border-radius: 999px; background: #fff; -webkit-text-fill-color: var(--d-ink); color: var(--d-ink); font-size: clamp(1rem, 1.5vw, 1.25rem); box-shadow: 0 10px 28px -14px rgba(11, 26, 43, .55); }

/* platform header photo, blended into the living gradient: screen keeps the dark areas as pure gradient
   (text stays legible) and lets the glowing tablet light the brand colours from within */
.pf-hero__img {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: url("../assets/platform/hero-tablet.jpg") 78% 55% / cover no-repeat;
  mix-blend-mode: screen; opacity: .9;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 30%, #000 60%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 30%, #000 60%);
}
@media (max-width: 900px) { .pf-hero__img { background-position: 70% 100%; -webkit-mask-image: linear-gradient(180deg, transparent 35%, #000 85%); mask-image: linear-gradient(180deg, transparent 35%, #000 85%); opacity: .75; } }

/* "Platform features" title above the capabilities */
.pf-caps__title { max-width: var(--max); margin: 0 auto clamp(5rem, 9vw, 8rem); }
.pf-caps__title .t-thin { color: rgba(232, 238, 244, .72); }

/* header gradient at lower strength over the night base, so the photo reads more (client request, 2026-11-09) */
.pf-hero {
  background-color: var(--night);
  background-image: linear-gradient(118deg, rgba(105, 50, 150, .78) 0%, rgba(61, 79, 179, .78) 22%, rgba(34, 107, 196, .78) 42%, rgba(53, 147, 208, .78) 58%, rgba(61, 79, 179, .78) 78%, rgba(105, 50, 150, .78) 100%);
}

.pf-caps__title { font-size: clamp(1.75rem, 3vw, 2.75rem); }

/* Who We Serve on a light sheet (client request, 2026-11-09) */
#serve { background: #fff; }
#serve .arch { color: var(--blue); }
#serve .also { color: var(--d-ink-2); }
#serve .also b { color: var(--d-ink); }
#serve .panel { box-shadow: 0 30px 60px -36px rgba(11, 26, 43, .45); }

/* sector panels: dependable contrast for white text on bright photos (client request, 2026-11-09).
   A top scrim behind the title, a deeper bottom scrim behind the body and the vertical labels,
   and a light overall dim, while the middle of each photo stays bright. */
.panel::before {
  background:
    linear-gradient(180deg, rgba(8, 17, 28, .55) 0%, rgba(8, 17, 28, 0) 26%, rgba(8, 17, 28, 0) 42%, rgba(8, 17, 28, .82) 78%, rgba(8, 17, 28, .9) 100%),
    rgba(8, 17, 28, .18),
    linear-gradient(135deg, rgba(105, 50, 150, .2), rgba(34, 107, 196, .14) 55%, rgba(71, 174, 227, .1));
}
.panel.is-open::before {
  background:
    linear-gradient(180deg, rgba(8, 17, 28, .62) 0%, rgba(8, 17, 28, .2) 26%, rgba(8, 17, 28, .3) 45%, rgba(8, 17, 28, .86) 72%, rgba(8, 17, 28, .93) 100%),
    rgba(8, 17, 28, .2),
    linear-gradient(135deg, rgba(105, 50, 150, .22), rgba(34, 107, 196, .16) 55%, rgba(71, 174, 227, .12));
}
.panel__more { color: rgba(255, 255, 255, .92); }
.panel__short, .panel__title, .panel__q, .panel__more { text-shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 2px 18px rgba(0, 0, 0, .35); }
@media (max-width: 900px) {
  .panel::before { background: linear-gradient(180deg, rgba(8, 17, 28, .6), rgba(8, 17, 28, .88)), linear-gradient(135deg, rgba(105, 50, 150, .2), rgba(34, 107, 196, .15)); }
}

/* ==========================================================================
   DEFENSE PAGE (2026-11-09): platform header with the defense photo, one decision
   layer, four solution families in tabs, and the four-step readiness card
   ========================================================================== */
/* the convoy photo is grey and soft; luminosity keeps the brand hues and lets the
   wet road and lights carry the picture, faded off on the text side */
.df-hero .pf-hero__img {
  background-image: url("../assets/defense/defense-bg.jpg"); background-position: 62% 50%;
  mix-blend-mode: luminosity; opacity: .55;
}

/* --- decision layer --- */
.df-layer { padding: clamp(6rem, 11vw, 9rem) var(--gut) clamp(8rem, 13vw, 11rem); }
.df-layer__title { max-width: 22ch; font-size: clamp(2rem, 4vw, 3.75rem); }
.df-layer__title .t-thin { color: rgba(232, 238, 244, .72); }
/* option A (2026-11-09): Planning → Crisis → Conflict in a row, an Adapt loop arching back
   from Conflict to Planning above them, and every phase fed from below by the 4Cast core */
.df-sys { --gap: clamp(2.5rem, 5vw, 4rem); --c1: calc((100% - 2 * var(--gap)) / 6); position: relative; margin-top: clamp(3rem, 6vw, 4.5rem); }
.df-loop { position: relative; height: 64px; }
.df-loop__path { position: absolute; left: var(--c1); right: var(--c1); top: 12px; bottom: 6px; border: 2px dashed rgba(71, 174, 227, .5); border-bottom: 0; border-radius: 22px 22px 0 0; }
/* the loop lands on Planning */
.df-loop::after {
  content: ""; position: absolute; left: var(--c1); bottom: 2px; width: 12px; height: 12px; margin-left: -5px;
  border-right: 2px solid #47AEE3; border-bottom: 2px solid #47AEE3; transform: rotate(45deg);
}
.df-adapt {
  position: absolute; left: 50%; top: 13px; transform: translate(-50%, -50%); z-index: 1;
  display: flex; align-items: baseline; gap: .75rem; padding: .35rem 1.1rem; background: var(--night); white-space: nowrap;
  font-size: 1rem; color: var(--ink-2);
}
.df-nodes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.df-node { position: relative; padding: clamp(1.4rem, 2.6vw, 2rem); border-radius: 18px; background: var(--night-2); box-shadow: inset 0 0 0 1px var(--rule); }
.df-node:not(:last-child)::after {
  content: ""; position: absolute; top: 50%; right: calc(var(--gap) / -2); width: 36px; height: 36px; margin: -18px -18px 0 0; border-radius: 50%;
  background: var(--night-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2347AEE3' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h13M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 18px no-repeat;
  box-shadow: inset 0 0 0 1px var(--rule-2);
}
.df-node__k { font-size: .8125rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--sky); }
.df-node__t { margin-top: .85rem; font-size: clamp(1.125rem, 1.7vw, 1.4rem); font-weight: 500; line-height: 1.32; letter-spacing: -.012em; color: var(--ink); }

/* light rising from the core into each phase */
.df-beams { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); height: clamp(56px, 7vw, 84px); }
.df-beams span { position: relative; justify-self: center; width: 2px; height: 100%; overflow: hidden;
  background: linear-gradient(180deg, rgba(71, 174, 227, .15), rgba(71, 174, 227, .55)); }
.df-beams span::after {
  content: ""; position: absolute; left: -1px; width: 4px; height: 26px; border-radius: 4px; top: 100%;
  background: linear-gradient(180deg, transparent, #fff 55%, #9fdcff); box-shadow: 0 0 10px 2px rgba(71, 174, 227, .8);
  animation: df-rise 2.6s var(--ease-in-out) infinite;
}
.df-beams span:nth-child(2)::after { animation-delay: .45s; }
.df-beams span:nth-child(3)::after { animation-delay: .9s; }
@keyframes df-rise { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 80%, 100% { transform: translateY(calc(-100% - 90px)); opacity: 0; } }

/* the 4Cast core: a living brand field, the important part of the section */
.df-core {
  position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; justify-content: center; gap: clamp(.9rem, 2vw, 1.5rem); flex-wrap: wrap;
  padding: clamp(2.25rem, 5vw, 3.75rem) clamp(1.5rem, 4vw, 3rem); border-radius: 24px; color: #fff;
  background: linear-gradient(118deg, #693296 0%, #3d4fb3 22%, #226BC4 42%, #3593d0 58%, #3d4fb3 78%, #693296 100%);
  background-size: 260% 260%; animation: pf-flow 14s ease-in-out infinite alternate;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 30px 90px -30px rgba(53, 147, 208, .65), 0 0 0 1px rgba(71, 174, 227, .25);
}
.df-core::before, .df-core::after { content: ""; position: absolute; z-index: -1; pointer-events: none; }
.df-core::before { width: 55%; height: 220%; left: -10%; top: -60%; border-radius: 50%; filter: blur(50px); background: radial-gradient(closest-side, rgba(170, 90, 230, .7), transparent); animation: pf-cloud-a 11s ease-in-out infinite; }
/* a slow sheen passes across the core */
.df-core::after { inset: 0; width: 35%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .22), transparent); transform: translateX(-140%); animation: df-sweep 7s var(--ease-in-out) infinite; }
.df-core__logo { width: clamp(150px, 16vw, 220px); height: auto; filter: brightness(0) invert(1); }
.df-core__name { font-size: clamp(1.75rem, 3.4vw, 3rem); font-weight: 200; letter-spacing: -.03em; line-height: 1; }
@media (prefers-reduced-motion: reduce) { .df-core, .df-core::before, .df-core::after, .df-beams span::after { animation: none; } .df-core::after, .df-beams span::after { opacity: 0; } }

@media (max-width: 900px) {
  .df-sys { display: flex; flex-direction: column; --gap: 3rem; }
  .df-loop { display: none; }
  .df-nodes { grid-template-columns: 1fr; }
  .df-node:not(:last-child)::after { top: auto; right: 50%; bottom: calc(var(--gap) / -2); margin: 0 -18px -18px 0; transform: rotate(90deg); }
  .df-adapt { order: 2; position: static; transform: none; white-space: normal; flex-wrap: wrap; gap: .25rem .75rem; margin-top: 1rem; padding: 1rem 1.25rem; border: 2px dashed rgba(71, 174, 227, .5); border-radius: 16px; background: none; }
  .df-beams { order: 3; grid-template-columns: 1fr; height: 56px; }
  .df-beams span:not(:first-child) { display: none; }
  .df-core { order: 4; }
}

/* --- solution families --- */
.df-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.df-tab {
  display: grid; gap: .5rem; align-content: start; text-align: left; padding: 1.1rem 1.25rem 1.25rem;
  border: 0; border-radius: 14px; background: #fff; color: var(--d-ink-2); font: inherit; cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(11, 26, 43, .1);
  transition: background-color .25s var(--ease-out), color .25s var(--ease-out), box-shadow .25s var(--ease-out), transform .16s var(--ease-out);
}
.df-tab:active { transform: scale(.98); }
.df-tab__n { font-size: .8125rem; font-weight: 700; letter-spacing: .12em; color: var(--blue); }
.df-tab__l { font-size: 1rem; font-weight: 600; line-height: 1.3; }
@media (hover: hover) { .df-tab:hover { color: var(--d-ink); box-shadow: inset 0 0 0 1px rgba(11, 26, 43, .24); } }
.df-tab[aria-selected="true"] { background: var(--d-ink); color: #fff; box-shadow: 0 18px 36px -22px rgba(11, 26, 43, .7); }
.df-tab[aria-selected="true"] .df-tab__n { color: var(--sky); }
.df-tab:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.df-panel {
  margin-top: clamp(2.5rem, 5vw, 4rem); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem); align-items: start;
}
.df-panel[hidden] { display: none; }
.df-panel:not([hidden]) { animation: df-in .45s var(--ease-out); }
@keyframes df-in { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { .df-panel:not([hidden]) { animation: none; } }
.df-panel:focus-visible { outline: 2px solid var(--blue); outline-offset: 8px; border-radius: 8px; }
.df-panel__h { font-size: clamp(1.875rem, 3.4vw, 3rem); font-weight: 800; line-height: 1.08; letter-spacing: -.03em; color: var(--d-ink); text-wrap: balance; }
.df-panel__b { margin-top: 1.25rem; font-size: 1.125rem; line-height: 1.65; color: var(--d-ink-2); max-width: 58ch; }
.df-panel__punch { margin-top: 1.5rem; padding-left: 1rem; border-left: 3px solid var(--blue); font-weight: 600; font-size: 1.0625rem; line-height: 1.5; color: var(--d-ink); max-width: 46ch; }
.df-panel__q { list-style: none; margin: 0; padding: 0; display: grid; }
.df-panel__q li { position: relative; padding: 1.05rem 0 1.05rem 2rem; border-top: 1px solid rgba(11, 26, 43, .12); font-size: 1.125rem; font-weight: 500; line-height: 1.45; color: var(--d-ink); }
.df-panel__q li:last-child { border-bottom: 1px solid rgba(11, 26, 43, .12); }
.df-panel__q li::before { content: ""; position: absolute; left: 0; top: 1.7rem; width: 14px; height: 2px; border-radius: 2px; background: var(--grad); }
.df-panel__q b { font-weight: 700; }

/* --- four steps as a scroll timeline (option D, 2026-11-09): the line fills with the brand
   gradient as the reader scrolls, and each step lights up when the line reaches it --- */
.df-tl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: start; }
.df-tl__head { position: sticky; top: 28vh; }
.df-tl__title { font-size: clamp(1.875rem, 3.6vw, 3.25rem); font-weight: 800; line-height: 1.06; letter-spacing: -.03em; max-width: 16ch; text-wrap: balance; }
.df-tl__sub { margin-top: 1.25rem; font-size: 1.125rem; line-height: 1.55; color: var(--ink-2); max-width: 40ch; }
.df-tl__body { position: relative; padding-left: 76px; }
.df-tl__track { position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; border-radius: 2px; background: rgba(200, 218, 234, .14); overflow: hidden; }
.df-tl__fill { position: absolute; inset: 0; background: linear-gradient(180deg, #693296, #3d4fb3 40%, #226BC4 75%, #47AEE3); transform-origin: top; transform: scaleY(var(--p, 0)); }
.df-tl__list { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(4rem, 9vw, 7rem); }
.df-tl__step { position: relative; min-height: 44px; }
.df-tl__n {
  position: absolute; left: -76px; top: 0; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--night); color: var(--ink-3); font-weight: 700; font-size: 1.0625rem;
  box-shadow: inset 0 0 0 2px rgba(200, 218, 234, .22), 0 0 0 8px var(--night);
  transition: color .4s var(--ease-out), box-shadow .4s var(--ease-out), background-color .4s var(--ease-out);
}
.df-tl__step:nth-child(1) .df-tl__n { --c: #693296; }
.df-tl__step:nth-child(2) .df-tl__n { --c: #3d4fb3; }
.df-tl__step:nth-child(3) .df-tl__n { --c: #226BC4; }
.df-tl__step:nth-child(4) .df-tl__n { --c: #3593d0; }
.df-tl__h { padding-top: .45rem; font-size: clamp(1.25rem, 2vw, 1.625rem); font-weight: 700; line-height: 1.25; letter-spacing: -.015em; color: var(--ink); }
.df-tl__p { margin-top: .6rem; font-size: 1.0625rem; line-height: 1.55; color: var(--ink-2); max-width: 38ch; }
.df-tl__h, .df-tl__p { transition: opacity .5s var(--ease-out); }
.js .df-tl__step:not(.is-lit) .df-tl__h, .js .df-tl__step:not(.is-lit) .df-tl__p { opacity: .32; }
.df-tl__step.is-lit .df-tl__n { background-color: var(--c); color: #fff; box-shadow: inset 0 0 0 2px var(--c), 0 0 0 8px var(--night); }

@media (max-width: 900px) {
  .df-layer { padding-inline: 16px; }
  .df-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .df-panel { grid-template-columns: 1fr; }
  .df-tl { grid-template-columns: 1fr; }
  .df-tl__head { position: static; }
  .df-tl__body { padding-left: 64px; }
  .df-tl__n { left: -64px; }
  .df-tl__list { gap: 3rem; }
}

/* header logo in solid white on every page; the footer keeps the colour mark (client request, 2026-11-09) */
.nav .nav__logo { filter: brightness(0) invert(1); }

/* platform features on phones: the text comes first, then its screen (client request, 2026-11-09) */
@media (max-width: 900px) { .cap__text { order: -1; } }

/* mobile menu: the blurred nav bar becomes the containing block for its fixed menu, which squeezed the
   open menu into the bar height. With the menu open the bar drops the blur so the menu fills the screen. */
.nav.is-open, .page-platform .nav.is-open { backdrop-filter: none; -webkit-backdrop-filter: none; }
@media (max-width: 900px) { .nav__menu { background: #050b13; } }

/* current page in the desktop menu: white and bolder.
   "Industries" takes the same mark whenever one of its pages is the current page (client request, 2026-11-09) */
@media (min-width: 901px) {
  .nav__list > li > a[aria-current="page"],
  .nav__list > li.has-sub:has(.sub a[aria-current="page"]) > button { position: relative; color: #fff; font-weight: 700; }
  .sub a[aria-current="page"] { background: var(--sea-3); box-shadow: inset 2px 0 0 var(--sky); }
}

/* ==========================================================================
   CONTACT PAGE (2026-11-09): a simple title, email and social, then the two
   offices, each with a dark map and a brand pin
   ========================================================================== */
.ct-intro { padding: clamp(9rem, 15vw, 12rem) var(--gut) clamp(3.5rem, 6vw, 5rem); }
.ct-kicker { font-size: .8125rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--sky); }
.ct-title { margin-top: 1.25rem; font-size: clamp(2.4rem, 5.4vw, 5rem); line-height: 1.04; letter-spacing: -.035em; max-width: 18ch; text-wrap: balance; }
.ct-title .t-thin { color: rgba(232, 238, 244, .72); }
.ct-lede { margin-top: 1.5rem; font-size: clamp(1.125rem, 1.6vw, 1.375rem); line-height: 1.5; color: var(--ink-2); max-width: 44ch; }
.ct-reach { margin-top: clamp(2.5rem, 5vw, 3.5rem); display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2.5rem; }
.ct-mail {
  font-size: clamp(1.25rem, 2.4vw, 2rem); font-weight: 600; letter-spacing: -.02em; color: #fff; text-decoration: none;
  background: var(--grad) 0 100% / 100% 2px no-repeat; padding-bottom: .2em;
  transition: color .2s var(--ease-out);
}
@media (hover: hover) { .ct-mail:hover { color: var(--sky); } }
.ct-social { list-style: none; margin: 0; padding: 0; display: flex; gap: .6rem; }
.ct-social a, .ct-dir {
  display: inline-flex; align-items: center; gap: .45rem; padding: .6em 1.05em; border-radius: 999px;
  font-size: .9375rem; font-weight: 500; color: var(--ink); text-decoration: none; box-shadow: inset 0 0 0 1px var(--rule-2);
  transition: box-shadow .2s var(--ease-out), color .2s var(--ease-out), transform .16s var(--ease-out);
}
.ct-social svg, .ct-dir svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) { .ct-social a:hover, .ct-dir:hover { color: #fff; box-shadow: inset 0 0 0 1px var(--sky); } }
.ct-social a:active, .ct-dir:active { transform: scale(.97); }

.ct-offices { padding: 0 var(--gut) clamp(7rem, 12vw, 10rem); }
.ct-offices__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); }
.ct-office { border-radius: 22px; overflow: hidden; background: var(--night-2); box-shadow: inset 0 0 0 1px var(--rule); display: flex; flex-direction: column; }
.ct-map { aspect-ratio: 16 / 10; background: #0b1320; isolation: isolate; }
.ct-office__body { padding: clamp(1.5rem, 3vw, 2.25rem); display: grid; gap: .3rem; justify-items: start; flex: 1; align-content: start; }
.ct-office__place { font-size: .8125rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--sky); }
.ct-office__name { margin-top: .35rem; font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.1; }
.ct-office__addr { margin-top: .6rem; font-style: normal; font-size: 1.0625rem; line-height: 1.55; color: var(--ink-2); max-width: 32ch; }
.ct-office__phones { list-style: none; margin: .9rem 0 0; padding: 0; display: grid; gap: .25rem; }
.ct-office__phones a { font-size: 1.125rem; font-weight: 600; color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums; }
@media (hover: hover) { .ct-office__phones a:hover { color: var(--sky); } }
.ct-dir { margin-top: 1.5rem; }

/* the map: dark tiles pulled a little toward the brand blue, a glowing brand pin */
.ct-map .leaflet-tile-pane { filter: saturate(1.3) hue-rotate(-8deg) brightness(1.08); }
.ct-map .leaflet-control-attribution { background: rgba(5, 11, 19, .75); color: var(--ink-3); font-size: 10px; }
.ct-map .leaflet-control-attribution a { color: var(--ink-2); }
.ct-map .leaflet-bar a { background: var(--night-2); color: var(--ink); border-color: var(--rule); }
.ct-map .leaflet-bar a:hover { background: #16263b; }
.ct-pin span { position: relative; display: block; width: 28px; height: 28px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 4px rgba(255, 255, 255, .9), 0 6px 18px rgba(0, 0, 0, .5); }
.ct-pin span::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(71, 174, 227, .8); animation: ct-ping 2.4s var(--ease-out) infinite; }
@keyframes ct-ping { 0% { transform: scale(1); opacity: 1; } 80%, 100% { transform: scale(2.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ct-pin span::after { animation: none; opacity: 0; } }

@media (max-width: 900px) {
  .ct-intro, .ct-offices { padding-inline: 16px; }
  .ct-offices__grid { grid-template-columns: 1fr; }
  .ct-mail { font-size: 1.125rem; word-break: break-all; }
}

/* contact page, round two (2026-11-09): title on two lines, an email card, social icons,
   and Google Maps under each office's text, turned dark to match the site */

.ct-mail {
  display: inline-flex; align-items: center; gap: 1rem; padding: .75rem 1.1rem .75rem .75rem; border-radius: 20px;
  background: var(--night-2); box-shadow: inset 0 0 0 1px var(--rule-2); color: var(--ink); text-decoration: none;
  transition: box-shadow .25s var(--ease-out), transform .16s var(--ease-out);
}
.ct-mail__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--grad); flex: none; }
.ct-mail__icon svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ct-mail__text { display: grid; gap: .15rem; }
.ct-mail__label { font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--sky); }
.ct-mail__addr { font-size: clamp(1.0625rem, 1.8vw, 1.375rem); font-weight: 600; letter-spacing: -.01em; color: #fff; }
.ct-mail__go { display: grid; place-items: center; width: 36px; height: 36px; margin-left: .5rem; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--rule-2); color: var(--sky); transition: transform .25s var(--ease-out), background-color .25s var(--ease-out), color .25s var(--ease-out); }
.ct-mail__go svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) {
  .ct-mail:hover { box-shadow: inset 0 0 0 1px var(--sky), 0 18px 40px -24px rgba(71, 174, 227, .6); }
  .ct-mail:hover .ct-mail__go { transform: translateX(3px); background: var(--sky); color: var(--night); }
}
.ct-mail:active { transform: scale(.98); }

.ct-social a { padding: .7em 1.15em .7em .9em; gap: .55rem; }
.ct-social .ct-ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Google's map in black and white, as on the current 4cast-ai.com contact page */
.ct-map { aspect-ratio: 16 / 9; background: #0b1320; overflow: hidden; }
.ct-map iframe { display: block; width: 100%; height: 100%; border: 0;
  filter: saturate(0); }

@media (max-width: 900px) {
  .ct-mail { width: 100%; }
  .ct-mail__addr { font-size: 1rem; word-break: break-all; }
  .ct-mail__go { margin-left: auto; }
}
@media (max-width: 900px) { .ct-mail { gap: .8rem; } .ct-mail__icon { width: 44px; height: 44px; border-radius: 12px; } .ct-mail__go { display: none; } .ct-mail__addr { font-size: 1rem; word-break: normal; white-space: nowrap; } }

/* footer site map trimmed to three columns to match the menu (client request, 2026-11-09) */
@media (min-width: 901px) { .foot__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* header subtitle as a page label above the title, with a glowing sky dot (option B, client request, 2026-11-10).
   Shared by the Platform and Defense headers. */
.pf-sub { display: flex; align-items: center; gap: .75rem; margin: 0 0 1.5rem; padding: 0; border-radius: 0; background: none; box-shadow: none;
  -webkit-text-fill-color: #fff; color: #fff; font-size: clamp(1rem, 1.35vw, 1.1875rem); font-weight: 600; letter-spacing: -.005em; text-transform: none; }
.pf-sub::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #7fd3ff; box-shadow: 0 0 0 5px rgba(127, 211, 255, .25); flex: none; }
.pf-hero .pf-title + .pf-intro { margin-top: 1.75rem; }

/* subtitle under "Platform features" (client request, 2026-11-10): the title keeps its gap to the list */
.pf-caps__title { margin-bottom: 0; }
.pf-caps__sub { max-width: var(--max); margin: .75rem auto clamp(5rem, 9vw, 8rem); font-size: clamp(1.375rem, 2.2vw, 1.875rem); font-weight: 300; line-height: 1.3; letter-spacing: -.015em; color: var(--ink-2); }

/* "See 4Cast in action": breathes and glows together, a slight zoom in and out with a soft sky halo
   that swells at the peak, on a loop once the hero copy has arrived (client request, 2026-11-10) */
@media (prefers-reduced-motion: no-preference) {
  .hero__cta .btn { animation: cta-breathe 2.6s ease-in-out 5.4s infinite; }
  .hero__cta .btn:hover { animation-play-state: paused; }
}
@keyframes cta-breathe {
  0%, 100% { scale: 1; box-shadow: 0 0 0 0 rgba(71, 174, 227, 0), 0 0 0 0 rgba(71, 174, 227, 0); }
  50% { scale: 1.08; box-shadow: 0 0 0 2px rgba(71, 174, 227, .85), 0 0 48px 10px rgba(71, 174, 227, .75); }
}

/* platform: data integration, after the features (client request, 2026-11-10) */
.pf-int { padding: 0 var(--gut) clamp(8rem, 13vw, 11rem); }
.pf-int__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.pf-int__kicker { font-size: .8125rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--sky); }
.pf-int__title { margin-top: 1rem; font-size: clamp(2rem, 3.8vw, 3.5rem); max-width: 16ch; }
.pf-int__title .t-thin { display: block; color: rgba(232, 238, 244, .72); }
.pf-int__title .t-heavy { display: block; }
.pf-int__lede { margin-top: 1.5rem; font-size: clamp(1.1875rem, 1.6vw, 1.375rem); line-height: 1.5; color: var(--ink); max-width: 36ch; }
.pf-int__p { margin-top: 1rem; font-size: 1.0625rem; line-height: 1.65; color: var(--ink-2); max-width: 46ch; }
.pf-int__tags { list-style: none; margin: 1.75rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.pf-int__tags li { padding: .5em .95em; border-radius: 10px; font-size: .9375rem; font-weight: 500; color: var(--ink); background: var(--night-2); box-shadow: inset 0 0 0 1px var(--rule-2); }
/* the screenshot in an app window */
.pf-int__win { margin: 0; border-radius: 16px; overflow: hidden; background: var(--night-2);
  box-shadow: inset 0 0 0 1px var(--rule-2), 0 40px 90px -40px rgba(53, 147, 208, .55), 0 0 0 1px rgba(71, 174, 227, .12); }
.pf-int__bar { display: flex; align-items: center; gap: .45rem; padding: .8rem 1rem; font-size: .875rem; font-weight: 500; color: var(--ink-2); border-bottom: 1px solid var(--rule); }
.pf-int__bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(200, 218, 234, .25); }
.pf-int__bar span:last-of-type { margin-right: .6rem; }
.pf-int__win img { display: block; width: 100%; height: auto; }
@media (max-width: 900px) {
  .pf-int { padding-inline: 16px; }
  .pf-int__grid { grid-template-columns: 1fr; }
}
/* screenshot shown on its own, no window frame */
.pf-int__win { background: none; border-radius: 14px; box-shadow: 0 40px 90px -40px rgba(53, 147, 208, .55); }
/* data integration: the gateway video in the same tilted, lit screen as the feature videos,
   on the right so it leans like the flipped rows */
.pf-int .cap__screen { transform: rotateY(6deg) rotateX(2deg); transform-origin: 100% 50%; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .pf-int__media:hover .cap__screen { transform: rotateY(2deg) rotateX(1deg); } }
@media (max-width: 900px) { .pf-int .cap__screen { transform: none; } }

/* ==========================================================================
   GOVERNMENT PAGE (2026-11-10): header band, the challenge, the solution,
   agency value, why 4Cast, FAQ and a closing statement (no demo button)
   ========================================================================== */
.gv-hero .pf-title { max-width: 20ch; }
.gv-intro { grid-template-columns: minmax(0, 1fr); max-width: 52rem; }

.gv-kicker { font-size: .8125rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--sky); }
.sheet--day .gv-kicker { color: var(--blue); }
.gv-h2 { margin-top: 1rem; font-size: clamp(2rem, 4vw, 3.75rem); max-width: 20ch; }
.gv-h2 .t-thin { display: block; }
.gv-lead { margin-top: 1.5rem; font-size: clamp(1.125rem, 1.6vw, 1.375rem); line-height: 1.5; max-width: 46ch; }
.sheet--day .gv-lead { color: var(--d-ink-2); }
.gv-sec .gv-lead, .sheet--night .gv-lead { color: var(--ink-2); }

/* the challenge */
.gv-sec { padding: clamp(6rem, 11vw, 9rem) var(--gut) clamp(8rem, 13vw, 11rem); }
.gv-challenge .gv-h2 .t-thin { color: rgba(232, 238, 244, .72); }
.gv-imps { list-style: none; margin: clamp(2.5rem, 5vw, 3.5rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.gv-imp { position: relative; padding: clamp(1.75rem, 3.5vw, 2.75rem); border-radius: 22px; background: var(--night-2); box-shadow: inset 0 0 0 1px var(--rule); overflow: hidden; }
.gv-imp__n { display: block; font-size: clamp(3rem, 6vw, 5rem); font-weight: 200; line-height: .9; letter-spacing: -.04em; color: var(--sky); }
.gv-imp__h { margin-top: 1.25rem; font-size: clamp(1.375rem, 2.2vw, 1.875rem); font-weight: 800; line-height: 1.15; letter-spacing: -.025em; color: var(--ink); }
.gv-imp__p { margin-top: .85rem; font-size: 1.0625rem; line-height: 1.6; color: var(--ink-2); max-width: 44ch; }
.gv-intuition { margin-top: clamp(4.5rem, 9vw, 7rem); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.gv-intuition__h { font-size: clamp(1.75rem, 3.2vw, 2.75rem); line-height: 1.08; letter-spacing: -.03em; }
.gv-intuition__h .t-thin { display: block; font-weight: 200; color: rgba(232, 238, 244, .72); }
.gv-intuition__h .t-heavy { display: block; font-weight: 800; }
.gv-intuition__p { font-size: 1.125rem; line-height: 1.6; color: var(--ink-2); }
.gv-needs { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; }
.gv-needs li { position: relative; padding: 1rem 0 1rem 2.25rem; border-top: 1px solid var(--rule); font-size: 1.1875rem; font-weight: 600; line-height: 1.4; color: var(--ink); }
.gv-needs li:last-child { border-bottom: 1px solid var(--rule); }
.gv-needs li::before { content: ""; position: absolute; left: 0; top: 1.65rem; width: 16px; height: 2px; border-radius: 2px; background: var(--grad); }

/* the solution */
.gv-caps { list-style: none; margin: clamp(3rem, 6vw, 4.5rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.gv-cap { padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px rgba(11, 26, 43, .08), 0 24px 48px -36px rgba(11, 26, 43, .4); }
.gv-cap__n { font-size: .8125rem; font-weight: 700; letter-spacing: .12em; color: var(--blue); }
.gv-cap__h { margin-top: 1rem; font-size: clamp(1.25rem, 1.8vw, 1.5rem); font-weight: 800; line-height: 1.2; letter-spacing: -.02em; color: var(--d-ink); }
.gv-cap__p { margin-top: .7rem; font-size: 1.0625rem; line-height: 1.55; color: var(--d-ink-2); }

/* agency value */
.gv-agencies .gv-h2 .t-thin { color: rgba(232, 238, 244, .72); }
.gv-agency-list { list-style: none; margin: clamp(3rem, 6vw, 4.5rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.gv-agency { position: relative; padding: clamp(1.75rem, 3.5vw, 2.5rem); border-radius: 22px; background: var(--night-2); box-shadow: inset 0 0 0 1px var(--rule); }
.gv-agency::before { content: ""; position: absolute; left: clamp(1.75rem, 3.5vw, 2.5rem); top: 0; width: 48px; height: 3px; border-radius: 0 0 3px 3px; background: var(--grad); }
.gv-agency__h { font-size: clamp(1.375rem, 2.2vw, 1.75rem); font-weight: 800; line-height: 1.2; letter-spacing: -.025em; color: var(--ink); }
.gv-agency__scope { display: block; margin-top: .4rem; font-size: .9375rem; font-weight: 500; letter-spacing: .02em; color: var(--sky); }
.gv-agency__p { margin-top: 1rem; font-size: 1.0625rem; line-height: 1.65; color: var(--ink-2); }

/* why 4Cast */
.gv-why-list { list-style: none; margin: clamp(3rem, 6vw, 4.5rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.gv-why { padding-top: 1.5rem; border-top: 2px solid rgba(11, 26, 43, .12); }
.gv-why__i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--grad); }
.gv-why__i svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.gv-why__h { margin-top: 1.1rem; font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; color: var(--d-ink); }
.gv-why__p { margin-top: .5rem; font-size: 1rem; line-height: 1.55; color: var(--d-ink-2); }

/* FAQ */
.gv-faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.gv-faq__title { margin-top: 0; max-width: 12ch; }
.gv-faq__list { display: grid; }
.gv-faq__item { border-top: 1px solid var(--rule); }
.gv-faq__item:last-child { border-bottom: 1px solid var(--rule); }
.gv-faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.4rem 0; cursor: pointer; list-style: none;
  font-size: clamp(1.125rem, 1.6vw, 1.3125rem); font-weight: 600; line-height: 1.35; color: var(--ink); }
.gv-faq__item summary::-webkit-details-marker { display: none; }
.gv-faq__item summary:focus-visible { outline: 2px solid var(--sky); outline-offset: 4px; border-radius: 6px; }
.gv-faq__icon { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--rule-2); color: var(--sky); transition: transform .3s var(--ease-out), background-color .3s var(--ease-out), color .3s var(--ease-out); }
.gv-faq__icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.gv-faq__item[open] .gv-faq__icon { transform: rotate(45deg); background: var(--sky); color: var(--night); box-shadow: none; }
@media (hover: hover) { .gv-faq__item summary:hover .gv-faq__icon { box-shadow: inset 0 0 0 1px var(--sky); } }
.gv-faq__item p { padding: 0 3.5rem 1.5rem 0; font-size: 1.0625rem; line-height: 1.65; color: var(--ink-2); }
.gv-faq__item[open] p { animation: df-in .4s var(--ease-out); }

/* closing statement */
.gv-close {
  margin-top: clamp(6rem, 11vw, 9rem); position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1.75rem, 5vw, 4.5rem); border-radius: 28px; color: #fff; text-align: center;
  background: linear-gradient(118deg, #693296 0%, #3d4fb3 22%, #226BC4 42%, #3593d0 58%, #3d4fb3 78%, #693296 100%);
  background-size: 260% 260%; animation: pf-flow 16s ease-in-out infinite alternate;
}
.gv-close::before { content: ""; position: absolute; z-index: -1; width: 55%; height: 200%; left: -10%; top: -50%; border-radius: 50%; filter: blur(60px); background: radial-gradient(closest-side, rgba(170, 90, 230, .6), transparent); animation: pf-cloud-a 12s ease-in-out infinite; pointer-events: none; }
.gv-close__h { font-size: clamp(1.875rem, 3.8vw, 3.5rem); line-height: 1.08; letter-spacing: -.03em; max-width: 22ch; margin-inline: auto; text-wrap: balance; }
.gv-close__h .t-thin { font-weight: 200; color: rgba(255, 255, 255, .85); }
.gv-close__h .t-heavy { font-weight: 800; }
.gv-close__p { margin: 1.5rem auto 0; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.6; color: rgba(255, 255, 255, .9); max-width: 50ch; }
@media (prefers-reduced-motion: reduce) { .gv-close, .gv-close::before { animation: none; } }

@media (max-width: 1100px) { .gv-why-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .gv-sec { padding-inline: 16px; }
  .gv-imps, .gv-intuition, .gv-caps, .gv-agency-list, .gv-faq__grid { grid-template-columns: 1fr; }
  .gv-why-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gv-faq__item p { padding-right: 0; }
}
@media (max-width: 520px) { .gv-why-list { grid-template-columns: 1fr; } }

/* government header photo: the conference hall, blended like the defense convoy (client photo, 2026-11-10) */
.gv-hero .pf-hero__img { background-image: url("../assets/government/government-bg.jpg"); background-position: 70% 50%; mix-blend-mode: luminosity; opacity: .6; }
/* manual line break in the challenge lead, desktop only */
@media (max-width: 600px) { .gv-br { display: none; } }

/* two imperatives as calm vs. storm (option A, 2026-11-10): day-to-day is a quiet card with a flat line,
   crisis is the living brand gradient with a spiking line */
.gv-imp__k { font-size: .8125rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--sky); }
.gv-imp__line { display: block; width: 100%; height: 40px; margin: 1.5rem 0 .5rem; overflow: visible; }
.gv-imp__line path { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.gv-imp--calm .gv-imp__line path { stroke: var(--sky); opacity: .75; }
.gv-imp--storm {
  background: linear-gradient(140deg, #693296 0%, #3d4fb3 40%, #226BC4 75%, #3593d0 100%); background-size: 200% 200%;
  box-shadow: 0 30px 70px -36px rgba(105, 50, 150, .7); animation: pf-flow 12s ease-in-out infinite alternate;
}
.gv-imp--storm .gv-imp__k, .gv-imp--storm .gv-imp__h { color: #fff; }
.gv-imp--storm .gv-imp__p { color: rgba(255, 255, 255, .9); }
.gv-imp--storm .gv-imp__line path { stroke: #fff; }
@media (prefers-reduced-motion: reduce) { .gv-imp--storm { animation: none; } }
/* solution capabilities: line icons in place of the numbers (client request, 2026-11-10) */
.gv-cap__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(140deg, rgba(105, 50, 150, .1), rgba(34, 107, 196, .12)); color: var(--blue); }
.gv-cap__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
/* capability icons: the platform trust icon style (gradient line icons, no tile) */
.gv-cap .gv-cap__ico { margin-bottom: 1.1rem; }

/* solution cards: the same hover as the platform trust tiles, a small lift and a soft brand glow that fades in
   (client request, 2026-11-10) */
.gv-cap { position: relative; z-index: 0; transition: translate .35s var(--ease-out), box-shadow .45s ease; }
.js .gv-cap.rv {
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out), box-shadow .45s ease, translate .35s var(--ease-out);
  transition-delay: calc(var(--rv, 0) * 70ms), calc(var(--rv, 0) * 70ms), 0s, 0s;
}
@media (hover: hover) and (pointer: fine) {
  .gv-cap:hover {
    z-index: 2; translate: 0 -3px;
    box-shadow: inset 0 0 0 1px rgba(11, 26, 43, .08),
      -18px 12px 48px -18px rgba(105, 50, 150, .28),
      0 20px 48px -22px rgba(34, 107, 196, .32),
      18px 14px 52px -18px rgba(71, 174, 227, .3);
  }
}

/* agency cards: each washed with its own slice of the brand gradient, purple to sky across the four
   (option E, client request, 2026-11-10); the small gradient tab on top is no longer needed */
.gv-agency::before { display: none; }
.gv-agency:nth-child(1) { background: linear-gradient(150deg, rgba(105, 50, 150, .45), var(--night-2) 70%); box-shadow: inset 0 0 0 1px rgba(164, 106, 214, .3); }
.gv-agency:nth-child(2) { background: linear-gradient(150deg, rgba(61, 79, 179, .45), var(--night-2) 70%); box-shadow: inset 0 0 0 1px rgba(124, 127, 240, .3); }
.gv-agency:nth-child(3) { background: linear-gradient(150deg, rgba(34, 107, 196, .45), var(--night-2) 70%); box-shadow: inset 0 0 0 1px rgba(79, 147, 236, .3); }
.gv-agency:nth-child(4) { background: linear-gradient(150deg, rgba(53, 147, 208, .45), var(--night-2) 70%); box-shadow: inset 0 0 0 1px rgba(92, 192, 238, .3); }

/* FAQ: answers slide open and closed (height + fade, driven by government.js); the icon follows .is-open
   so it turns back as soon as an answer starts closing (client request, 2026-11-10) */
.gv-faq__a { overflow: hidden; }
.gv-faq__item[open] p { animation: none; }
.gv-faq__item[open] .gv-faq__icon { transform: none; background: none; color: var(--sky); box-shadow: inset 0 0 0 1px var(--rule-2); }
.gv-faq__item.is-open .gv-faq__icon { transform: rotate(45deg); background: var(--sky); color: var(--night); box-shadow: none; }

/* ==========================================================================
   UTILITIES PAGE (2026-11-10): built on the Government page's parts (kicker, h2,
   capability cards, FAQ, closing) and the Defense tabs, plus its own sections
   ========================================================================== */
.ut-hero .pf-hero__img { background-image: url("../assets/sectors/utilities.jpg"); background-position: 70% 40%; mix-blend-mode: luminosity; opacity: .5; }
.ut-hero .pf-title { max-width: 18ch; }
.ut-intro { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }

/* the six systems feeding one Decision Intelligence Layer */
.ut-stack { display: grid; gap: .6rem; }
.ut-sys { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .4rem; }
.ut-sys li { padding: .55rem 0; border-radius: 10px; text-align: center; font-size: .875rem; font-weight: 600; color: #fff;
  background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.ut-layer { padding: .8rem 1rem; border-radius: 12px; text-align: center; font-size: .8125rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--d-ink); background: #fff; box-shadow: 0 14px 30px -16px rgba(11, 26, 43, .6); }
.ut-stack__p { margin-top: .6rem; font-size: 1rem; line-height: 1.6; color: rgba(255, 255, 255, .88); font-weight: 400; }

/* the core challenges */
.ut-challenges .gv-h2 { max-width: 24ch; }
.ut-challenges .gv-h2 .t-thin, .ut-capabilities .gv-h2 .t-thin, .ut-storm .gv-h2 .t-thin { color: rgba(232, 238, 244, .72); }
.ut-ch-list { list-style: none; margin: clamp(3rem, 6vw, 4.5rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.25rem, 2.5vw, 2rem); }
.ut-ch { padding-top: 1.5rem; border-top: 2px solid var(--rule-2); }
.ut-ch__n { display: block; font-size: clamp(2.5rem, 4.5vw, 3.75rem); font-weight: 200; line-height: 1; letter-spacing: -.04em; color: var(--sky); }
.ut-ch__h { margin-top: 1.25rem; font-size: clamp(1.25rem, 1.8vw, 1.5rem); font-weight: 800; line-height: 1.2; letter-spacing: -.02em; color: var(--ink); }
.ut-ch__p { margin-top: .6rem; font-size: 1.0625rem; line-height: 1.55; color: var(--ink-2); }

/* decisions: the Defense tabs with a question and its answer */
.ut-tabs { margin-top: clamp(3rem, 6vw, 4.5rem); }
.ut-panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.ut-panel__q { font-size: clamp(1.875rem, 3.4vw, 3rem); font-weight: 800; line-height: 1.08; letter-spacing: -.03em; color: var(--d-ink); text-wrap: balance; }
.ut-panel__a { font-size: clamp(1.1875rem, 1.7vw, 1.4375rem); line-height: 1.5; color: var(--d-ink-2); max-width: 36ch; }
.ut-tags { list-style: none; margin: 1.25rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.ut-tags li { padding: .45em .95em; border-radius: 999px; font-size: .9375rem; font-weight: 600; color: var(--blue); background: rgba(34, 107, 196, .08); box-shadow: inset 0 0 0 1px rgba(34, 107, 196, .25); }

/* capabilities: the Government cards, white on dark */
.ut-capabilities .gv-caps { margin-top: clamp(3rem, 6vw, 4.5rem); }

/* quantifiable outcomes */
.ut-out-list { list-style: none; margin: clamp(3rem, 6vw, 4.5rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.ut-out { padding: clamp(1.5rem, 3vw, 2rem); border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px rgba(11, 26, 43, .08), 0 24px 48px -36px rgba(11, 26, 43, .4); display: flex; flex-direction: column; }
.ut-out__pre { font-size: 1rem; line-height: 1.45; color: var(--d-ink-2); }
.ut-out__v { margin: .5rem 0 .4rem; font-size: clamp(2.5rem, 4.4vw, 3.75rem); font-weight: 800; line-height: 1; letter-spacing: -.04em; color: var(--blue); }
.ut-out__post { font-size: 1rem; line-height: 1.45; color: var(--d-ink); font-weight: 600; }

/* why utilities choose 4Cast, on the brand gradient field */
.ut-why .gv-kicker { color: rgba(255, 255, 255, .85); }
.ut-why .gv-h2 { max-width: 22ch; }
.ut-why .gv-h2 .t-thin { color: rgba(255, 255, 255, .82); }
.ut-why__p { margin-top: 1.75rem; font-size: clamp(1.125rem, 1.7vw, 1.4375rem); line-height: 1.55; color: rgba(255, 255, 255, .92); max-width: 52ch; }

/* storm resilience scenario */
.ut-storm__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.ut-storm .gv-h2 { margin-top: 0; }
.ut-storm__p { font-size: 1.125rem; line-height: 1.65; color: var(--ink-2); }
.ut-storm__grid { margin-top: clamp(3.5rem, 7vw, 5rem); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.ut-storm__h { font-size: .8125rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--sky); margin-bottom: 1rem; }
.ut-storm__q li { font-size: 1.0625rem; font-weight: 500; }
.ut-flow { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; position: relative; }
.ut-flow__step { position: relative; display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; border-radius: 16px; background: var(--night-2); box-shadow: inset 0 0 0 1px var(--rule); font-size: 1.0625rem; font-weight: 600; color: var(--ink); }
.ut-flow__step:not(:last-child)::after { content: ""; position: absolute; left: calc(1.25rem + 17px); bottom: -.75rem; width: 2px; height: .75rem; background: var(--grad); }
.ut-flow__n { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; font-size: .9375rem; font-weight: 700; color: var(--sky); box-shadow: inset 0 0 0 1.5px var(--sky); }
.ut-flow__step--core { background: linear-gradient(140deg, #693296, #3d4fb3 45%, #226BC4); box-shadow: 0 24px 50px -28px rgba(105, 50, 150, .8); }
.ut-flow__step--core .ut-flow__n { color: #fff; box-shadow: inset 0 0 0 1.5px #fff; }

/* other critical infrastructure: light cards washed with a slice of the brand gradient */
.ut-inf-list { list-style: none; margin: clamp(3rem, 6vw, 4.5rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.ut-inf { padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px rgba(11, 26, 43, .08), 0 24px 48px -36px rgba(11, 26, 43, .4); }
.ut-inf:nth-child(1) { background: linear-gradient(160deg, rgba(105, 50, 150, .12), #fff 55%); }
.ut-inf:nth-child(2) { background: linear-gradient(160deg, rgba(34, 107, 196, .12), #fff 55%); }
.ut-inf:nth-child(3) { background: linear-gradient(160deg, rgba(53, 147, 208, .14), #fff 55%); }
.ut-inf__h { font-size: clamp(1.375rem, 2vw, 1.625rem); font-weight: 800; line-height: 1.2; letter-spacing: -.02em; color: var(--d-ink); }
.ut-inf__scope { display: block; margin-top: .4rem; font-size: .9375rem; font-weight: 500; color: var(--blue); letter-spacing: 0; }
.ut-inf__p { margin-top: 1rem; font-size: 1.0625rem; line-height: 1.65; color: var(--d-ink-2); }

@media (max-width: 1100px) {
  .ut-ch-list, .ut-out-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .ut-intro, .ut-panel, .ut-storm__top, .ut-storm__grid, .ut-inf-list { grid-template-columns: 1fr; }
  .ut-sys { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ut-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) { .ut-ch-list, .ut-out-list { grid-template-columns: 1fr; } }
.ut-decisions .gv-h2 { max-width: 30ch; }
/* utilities header: systems stack removed (client request, 2026-11-10), intro back to one column */
.ut-intro { grid-template-columns: minmax(0, 1fr); max-width: 52rem; }

/* crisis line: drawn in by a left-to-right reveal of the whole line (the dash method left a stray dot) */
@media (prefers-reduced-motion: no-preference) {
  .js .gv-imp--storm .gv-imp__line { clip-path: inset(-10px 100% -10px 0); transition: clip-path 1.4s var(--ease-out) .4s; }
  .js .gv-imp--storm.is-in .gv-imp__line { clip-path: inset(-10px 0 -10px 0); }
}

/* utilities rhythm, reworked around a white capabilities section (client request, 2026-11-10):
   decisions (soft grey) → capabilities (white) → outcomes (dark) → why (gradient) → storm (dark) → infra (grey) → FAQ (dark) */
.ut-capabilities { background: #fff; }
.ut-capabilities .gv-cap { background: var(--day); box-shadow: inset 0 0 0 1px rgba(11, 26, 43, .06); }
.ut-outcomes .gv-h2 { color: var(--ink); }
.ut-out { background: var(--night-2); box-shadow: inset 0 0 0 1px var(--rule); }
.ut-out__pre { color: var(--ink-2); }
.ut-out__v { color: var(--sky); }
.ut-out__post { color: var(--ink); }

/* utilities capabilities: the platform "Architecture and Trust" tile design (client request, 2026-11-10):
   white tiles with large rounded corners on the soft grey sheet, no outline, 72px gradient line icons,
   the same type sizes, and the same hover (3px lift + soft brand glow). Decisions above turns white
   so the two sections stay distinct. */
.ut-decisions { background: #fff; }
.ut-capabilities { background: var(--day); }
.ut-capabilities .gv-caps { gap: clamp(1rem, 1.8vw, 1.5rem); }
.ut-capabilities .gv-cap { padding: clamp(1.75rem, 2.6vw, 2.5rem); border-radius: 28px; background: #fff; box-shadow: none; display: grid; align-content: start; gap: 1rem; }
.ut-capabilities .gv-cap__ico { margin-bottom: .5rem; }
.ut-capabilities .gv-cap__h { margin-top: 0; font-size: clamp(1.375rem, 1.9vw, 1.75rem); letter-spacing: -.03em; }
.ut-capabilities .gv-cap__p { margin-top: 0; font-size: 1.0625rem; max-width: 52ch; }
@media (hover: hover) and (pointer: fine) {
  .ut-capabilities .gv-cap:hover {
    box-shadow:
      -18px 12px 48px -18px rgba(105, 50, 150, .28),
      0 20px 48px -22px rgba(34, 107, 196, .32),
      18px 14px 52px -18px rgba(71, 174, 227, .3);
  }
}
.ut-decisions .df-tab:not([aria-selected="true"]) { background: var(--day); }

/* utilities outcomes: the homepage ROI design (client request, 2026-11-10): brand-gradient field,
   translucent dark cards, thin rolling numbers that land one card at a time.
   Four cards, so the numbers are a step smaller; the lead-in sits above each number. */
.ut-outcomes .gv-h2 { color: #fff; }
.ut-figures { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ut-figures .figure__n { font-size: clamp(2.75rem, 4.4vw, 4.5rem); white-space: normal; flex-wrap: wrap; }
.ut-figures dt { gap: 1rem; }
.ut-fig__pre { font-size: 1rem; line-height: 1.45; color: rgba(255, 255, 255, .85); max-width: 24ch; }
.ut-figures .figure dd { margin-top: 1.25rem; }
.ut-figures .figure dd b { margin-bottom: 0; font-size: 1.125rem; }
@media (max-width: 1100px) { .ut-figures { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .ut-figures { grid-template-columns: 1fr; } }

/* why utilities choose 4Cast moves to a light sheet now that the outcomes carry the gradient */
.ut-why .gv-kicker { color: var(--blue); }
.ut-why .gv-h2 .t-thin { color: var(--d-ink-2); }
.ut-why .gv-h2 .t-heavy { color: var(--d-ink); }
.ut-why__p { color: var(--d-ink-2); }
/* keep the space before a word like "faster" inside a rolling figure */
.ut-figures .fx { white-space: pre; }
.ut-figures .fx--word { flex-basis: 100%; }

/* utilities: FAQ removed (client request, 2026-11-10); the closing panel stands on its own dark sheet */
.ut-closing .gv-close { margin-top: 0; }

/* decisions on the brand gradient (client request, 2026-11-10): sets it apart from the grey capabilities.
   Tabs become frosted glass, the selected tab is white; all text turns white */
.ut-decisions { background: var(--grad); }
.ut-decisions .gv-kicker { color: rgba(255, 255, 255, .85); }
.ut-decisions .gv-h2 .t-thin { color: rgba(255, 255, 255, .82); }
.ut-decisions .gv-h2 .t-heavy { color: #fff; }
.ut-decisions .df-tab, .ut-decisions .df-tab:not([aria-selected="true"]) { background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .85); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
.ut-decisions .df-tab__n { color: rgba(255, 255, 255, .7); }
@media (hover: hover) { .ut-decisions .df-tab:hover { color: #fff; background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5); } }
.ut-decisions .df-tab[aria-selected="true"] { background: #fff; color: var(--d-ink); box-shadow: 0 18px 36px -22px rgba(11, 26, 43, .6); }
.ut-decisions .df-tab[aria-selected="true"] .df-tab__n { color: var(--blue); }
.ut-decisions .df-tab:focus-visible { outline-color: #fff; }
.ut-decisions .ut-panel__q { color: #fff; }
.ut-decisions .ut-panel__a { color: rgba(255, 255, 255, .9); }
.ut-decisions .ut-tags li { color: #fff; background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4); }
.ut-decisions .df-panel:focus-visible { outline-color: #fff; }

/* outcome cards: balance the short lines so none ends with one or two lonely words (client request, 2026-11-10) */
.ut-fig__pre, .ut-figures .figure dd b { text-wrap: balance; }

/* why utilities choose 4Cast joins the closing on one dark sheet (client request, 2026-11-10) */
.ut-closing.ut-why .gv-kicker { color: var(--sky); }
.ut-closing.ut-why .gv-h2 .t-thin { color: rgba(232, 238, 244, .72); }
.ut-closing.ut-why .gv-h2 .t-heavy { color: #fff; }
.ut-closing.ut-why .ut-why__p { color: var(--ink-2); }
.ut-closing .gv-close { margin-top: clamp(5rem, 10vw, 8rem); }

/* footer logo links home */
.foot__home { display: block; width: fit-content; border-radius: 6px; transition: opacity .2s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .foot__home:hover { opacity: .8; } }
.foot__home:focus-visible { outline: 2px solid var(--sky); outline-offset: 6px; }

/* ==========================================================================
   ABOUT PAGE (2026-11-10): gradient header, the Defense scroll timeline for the
   journey, platform-style value tiles on the brand gradient, a team grid of
   large round portraits that open a bio dialog, and the Malam Team note
   ========================================================================== */
.ab-hero .pf-title { max-width: 16ch; }
.ab-intro p { max-width: 58ch; }

/* journey: dots instead of numbers, the year above each milestone */
.ab-journey .df-tl__title .t-thin, .ab-journey .df-tl__title .t-heavy { display: block; }
.ab-journey .df-tl__title .t-thin { color: rgba(232, 238, 244, .72); }
.ab-journey .df-tl__title { margin-top: 1rem; max-width: 14ch; }
.ab-journey .df-tl__head { top: 18vh; }
.ab-journey .df-tl__n::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.ab-journey .df-tl__list { gap: clamp(3.5rem, 7vw, 5.5rem); }
.ab-journey .df-tl__step:nth-child(1) .df-tl__n { --c: #693296; }
.ab-journey .df-tl__step:nth-child(2) .df-tl__n { --c: #52409f; }
.ab-journey .df-tl__step:nth-child(3) .df-tl__n { --c: #3d4fb3; }
.ab-journey .df-tl__step:nth-child(4) .df-tl__n { --c: #2c5dbd; }
.ab-journey .df-tl__step:nth-child(5) .df-tl__n { --c: #226BC4; }
.ab-journey .df-tl__step:nth-child(6) .df-tl__n { --c: #3593d0; }
.ab-yr { font-size: clamp(2.25rem, 3.6vw, 3rem); font-weight: 200; line-height: 1; letter-spacing: -.04em; color: var(--sky); transition: opacity .5s var(--ease-out); }
.ab-journey .df-tl__h { padding-top: .6rem; }
.ab-journey .df-tl__p { max-width: 52ch; }
.js .ab-journey .df-tl__step:not(.is-lit) .ab-yr { opacity: .32; }

/* values: white tiles with gradient line icons on the brand gradient, the platform trust hover */
.ab-values .gv-h2 { color: #fff; }
.ab-vals { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(.75rem, 1.4vw, 1.25rem); }
.ab-vals .gv-cap { padding: clamp(1.5rem, 2.2vw, 2rem); border-radius: 28px; background: #fff; box-shadow: none; display: grid; align-content: start; gap: 1rem; }
.ab-vals .gv-cap__ico { margin-bottom: .25rem; }
.ab-vals .gv-cap__h { margin-top: 0; font-size: clamp(1.25rem, 1.6vw, 1.5rem); letter-spacing: -.03em; }
.ab-vals .gv-cap__p { margin-top: 0; font-size: 1rem; }
@media (hover: hover) and (pointer: fine) {
  .ab-vals .gv-cap:hover { box-shadow: 0 26px 50px -24px rgba(11, 26, 43, .55), 0 0 0 1px rgba(255, 255, 255, .6); }
}

/* team: large round portraits, name and role below; the whole card opens the bio */
.ab-grid { list-style: none; margin: clamp(3rem, 6vw, 4.5rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(2.5rem, 5vw, 4rem) clamp(1rem, 2.5vw, 2rem); }
.ab-member { all: unset; box-sizing: border-box; width: 100%; display: grid; justify-items: center; text-align: center; cursor: pointer; border-radius: 24px; padding: .5rem; }
.ab-member__ph { position: relative; display: block; width: min(100%, 200px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #dfe5ec;
  box-shadow: 0 0 0 0 transparent; transition: box-shadow .45s var(--ease-out), translate .35s var(--ease-out); }
.ab-member__ph img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: scale .6s var(--ease-out); }
.ab-member__ph::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: linear-gradient(140deg, rgba(105, 50, 150, .45), rgba(34, 107, 196, .35) 55%, rgba(71, 174, 227, .3)); opacity: 0; transition: opacity .45s var(--ease-out); }
.ab-member__name { margin-top: 1.25rem; font-size: clamp(1.125rem, 1.5vw, 1.3125rem); font-weight: 700; letter-spacing: -.02em; color: var(--d-ink); }
.ab-member__role { margin-top: .3rem; font-size: .9375rem; line-height: 1.4; color: var(--d-ink-2); max-width: 22ch; }
@media (hover: hover) and (pointer: fine) {
  .ab-member:hover .ab-member__ph { translate: 0 -3px; box-shadow: -14px 12px 40px -16px rgba(105, 50, 150, .4), 0 18px 40px -18px rgba(34, 107, 196, .45), 14px 14px 44px -16px rgba(71, 174, 227, .4); }
  .ab-member:hover .ab-member__ph img { scale: 1.05; }
  .ab-member:hover .ab-member__ph::after { opacity: 1; }
}
.ab-member:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }

/* bio dialog */
.ab-bio { width: min(640px, calc(100vw - 32px)); max-height: min(86vh, 860px); padding: 0; border: 0; border-radius: 28px; background: #fff; color: var(--d-ink); box-shadow: 0 40px 100px -30px rgba(2, 6, 12, .7); overflow: auto; overscroll-behavior: contain; }
.ab-bio::backdrop { background: rgba(4, 10, 18, .62); backdrop-filter: blur(4px); }
.ab-bio[open] { animation: ab-in .38s var(--ease-out); }
.ab-bio[open]::backdrop { animation: ab-fade .38s ease; }
.ab-bio.is-closing { animation: ab-out .22s ease-in forwards; }
.ab-bio.is-closing::backdrop { animation: ab-fade .22s ease-in reverse forwards; }
@keyframes ab-in { from { opacity: 0; transform: translateY(14px) scale(.98); } }
@keyframes ab-out { to { opacity: 0; transform: translateY(8px) scale(.98); } }
@keyframes ab-fade { from { opacity: 0; } }
.ab-bio__body { padding: clamp(2rem, 5vw, 3rem); }
.ab-bio__ph { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; filter: grayscale(1); }
.ab-bio__name { margin-top: 1.25rem; font-size: clamp(1.625rem, 3vw, 2.125rem); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; }
.ab-bio__role { margin-top: .4rem; font-size: 1rem; font-weight: 600; color: var(--blue); }
.ab-bio__p { margin-top: 1.5rem; font-size: 1.0625rem; line-height: 1.7; color: var(--d-ink-2); }
.ab-bio__li { display: inline-flex; align-items: center; gap: .55rem; margin-top: 1.75rem; padding: .7em 1.2em; border-radius: 999px; font-weight: 600; font-size: .9375rem; color: var(--blue); text-decoration: none; box-shadow: inset 0 0 0 1px rgba(34, 107, 196, .3); transition: background-color .2s ease; }
.ab-bio__li svg { width: 18px; height: 18px; fill: currentColor; }
.ab-bio__li:hover { background: rgba(34, 107, 196, .08); }
.ab-bio__close { position: sticky; top: 14px; float: right; margin: 14px 14px 0 0; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--day); color: var(--d-ink); cursor: pointer; z-index: 1; transition: background-color .2s ease; }
.ab-bio__close:hover { background: #e3e8ee; }
.ab-bio__close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* malam team */
.ab-malam__p { font-size: clamp(1.375rem, 2.4vw, 2rem); font-weight: 300; line-height: 1.45; letter-spacing: -.01em; color: var(--ink); max-width: 46ch; }

@media (max-width: 1100px) { .ab-vals { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ab-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .ab-journey .df-tl__head { position: static; } }
@media (max-width: 700px) { .ab-vals, .ab-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .ab-vals { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .ab-bio[open], .ab-bio[open]::backdrop { animation: none; } }
/* values: the client's own gradient icons (2026-11-10) */
.ab-val__ico { display: block; width: auto; height: 64px; max-width: 80px; margin-bottom: .25rem; object-fit: contain; object-position: left center; }

/* about header photo: city reflected in glasses, same luminosity blend as the other page headers */
.ab-hero .pf-hero__img { background-image: url("../assets/about/about-bg.jpg"); background-position: 80% 45%; mix-blend-mode: luminosity; opacity: .6; }

/* contact header on the living brand gradient, like the other page headers (client request, 2026-11-10) */
.ct-intro { padding-bottom: clamp(5rem, 9vw, 7.5rem); }
.ct-intro .ct-kicker { color: rgba(255, 255, 255, .85); }
.ct-intro .ct-title .t-thin { color: rgba(255, 255, 255, .82); }
.ct-intro .ct-lede { color: rgba(255, 255, 255, .9); }
.ct-offices { padding-top: clamp(4rem, 8vw, 6.5rem); }
/* email and social links sit on the dark page just below the gradient header (client request, 2026-11-10) */
.ct-reach-sec { padding: clamp(3rem, 6vw, 4.5rem) var(--gut) 0; }
.ct-reach-sec .ct-reach { margin-top: 0; }
.ct-offices { padding-top: clamp(3rem, 6vw, 4.5rem); }
@media (max-width: 900px) { .ct-reach-sec { padding-inline: 16px; } }

/* storm line: thin setup, heavy payoff, on its own dark band after the gradient close (option A, client request, 2026-11-10) */
.storm-band { position: relative; margin-top: calc(clamp(24px, 3vw, 44px) * -1); border-radius: clamp(24px, 3vw, 44px) clamp(24px, 3vw, 44px) 0 0;
  background: var(--night); padding: clamp(5rem, 10vw, 8rem) var(--gut); text-align: center; box-shadow: 0 -30px 60px -40px rgba(2, 6, 12, .6);
  border-bottom: 1px solid var(--rule); }
.storm-band .storm { margin: 0 auto; max-width: none; white-space: normal; font-size: clamp(1.75rem, 3.6vw, 3.25rem); line-height: 1.12; letter-spacing: -.02em; color: var(--ink); }
.storm-band .t-thin, .storm-band .t-heavy { display: block; }
.storm-band .t-thin { color: rgba(232, 238, 244, .72); }
.storm-band .t-heavy { color: #fff; }
.js .storm-band .rv { display: block; }

/* ==========================================================================
   PAUSE / PLAY BUTTONS (WCAG 2.2.2, 2026-11-10): one small glass button on every
   video and every auto-moving strip or rotation; the icon shows what a click does
   ========================================================================== */
.mo-btn {
  display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; z-index: 3;
  color: #fff; background: rgba(8, 17, 28, .55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: background-color .2s ease, transform .2s var(--ease-out);
}
.mo-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.mo-btn .mo-btn__play { fill: currentColor; stroke-width: 1.6; display: none; }
.mo-btn.is-paused .mo-btn__pause { display: none; }
.mo-btn.is-paused .mo-btn__play { display: block; }
@media (hover: hover) and (pointer: fine) { .mo-btn:hover { background: rgba(8, 17, 28, .8); } }
.mo-btn:active { transform: scale(.94); }
.mo-btn:focus-visible { outline: 3px solid #ffbf00; outline-offset: 3px; }
.mo-btn[hidden] { display: none; }
/* on light sheets the button turns dark-on-light */
.sheet--day .mo-btn { color: var(--d-ink); background: rgba(255, 255, 255, .8); box-shadow: inset 0 0 0 1px rgba(11, 26, 43, .18); }
@media (hover: hover) and (pointer: fine) { .sheet--day .mo-btn:hover { background: #fff; } }

/* homepage hero video: bottom right of the hero; pausing also stills the button's breathing */
.hero__pause { position: absolute; left: var(--gut); bottom: clamp(1.25rem, 3vw, 2rem); }
.hero.is-still .hero__cta .btn { animation-play-state: paused; }
@media (max-width: 900px) { .hero__pause { left: 16px; } }

/* logo strip: the button sits at the end of the strip */
.rail-wrap { display: flex; align-items: center; gap: .75rem; min-width: 0; }
.rail-wrap .rail { flex: 1; min-width: 0; }
.rail-wrap .mo-btn { flex: none; width: 36px; height: 36px; }
.rail.is-paused .rail__belt { animation-play-state: paused; }

/* five decisions: top-right corner of the console (first in the DOM so it is reached before the tabs) */
.console > .dx__pause { position: absolute; z-index: 3; right: clamp(16px, 2vw, 28px); top: clamp(16px, 2vw, 28px); width: 36px; height: 36px; margin: 0; }
@media (max-width: 700px) { .console__title { padding-right: 44px; } }
.sheet--day .console .mo-btn { color: #fff; background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
@media (hover: hover) and (pointer: fine) { .sheet--day .console .mo-btn:hover { background: rgba(255, 255, 255, .22); } }

/* sector panels: above the panels, right; the rotation only runs on desktop */
.panels__pause { margin: clamp(2rem, 4vw, 3rem) 0 0 auto; }
.panels__pause + .panels { margin-top: 1rem; }
@media (max-width: 900px) { .panels__pause { display: none; } }

/* platform videos: bottom left of each screen */
.cap__pause { position: absolute; left: 12px; bottom: 12px; width: 36px; height: 36px; }
.cap__screen--video { position: relative; }

/* ---------- 404 page ---------- */
.nf-hero { min-height: 78svh; display: flex; align-items: center; padding-bottom: clamp(4rem, 8vw, 6rem); }
.nf-hero .wrap { width: 100%; }
.nf-lede { margin-top: 1.5rem; max-width: 40rem; font-size: 1.125rem; line-height: 1.65; color: rgba(255, 255, 255, .88); }
.nf-home { margin-top: 2rem; }
.nf-links { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.5rem 0 0; padding: 0; }
.nf-links .btn--ghost { color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45); }
@media (hover: hover) and (pointer: fine) { .nf-links .btn--ghost:hover { background: rgba(255, 255, 255, .12); } }

/* Government: the closing card now opens its section (the FAQ is parked in parked/government-faq.html) */
.gv-closing .gv-close { margin-top: 0; }

/* About bio popup: the LinkedIn button sits right under the role */
.ab-bio__role + .ab-bio__li { margin-top: 1rem; }

/* SAP tile: the official SAP Solution Extensions wordmark (supplied 2026-11-16), 12px tall, top-right corner,
   centred on the SAP logo (the logo's middle = card padding + 3px margin + half of its 61px height).
   On phones there is no room beside the logo, so it sits under the paragraph instead. */
.pillar__sap { display: block; width: auto; height: 12px; margin-top: 1.5rem; }
@media (min-width: 601px) {
  .pillar__sap { position: absolute; margin: 0; height: 12px;
    top: calc(clamp(1.75rem, 2.6vw, 2.5rem) + 33.5px); right: clamp(1.75rem, 2.6vw, 2.5rem); transform: translateY(-50%); }
}
