/* ============================================================================
   ADMIRAL TECH SERVICES: SITE STYLES  (assets/css/site.css)
   ----------------------------------------------------------------------------
   Layout and components. All colours / fonts / sizes come from tokens.css.
   You normally don't need to touch this file to change copy.

   CONTENTS (search for the ===== headings)
     01 Reset + base          08 Capability strip     15 Contact + form
     02 Typography            09 Services grid        16 Footer
     03 Layout helpers        10 How we work          17 Placeholders [CONFIRM]
     04 Buttons               11 Industries           18 Cursor glow
     05 Glass panels          12 Safety               19 Scroll reveals
     06 Header + nav          13 Why Admiral (light)  20 Reduced motion
     07 Hero                  14 CTA band
   ========================================================================== */


/* ===== 01 Reset + base ==================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h-condensed) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg-dark);
  color: var(--text-on-dark);
  font: 400 var(--step-0)/1.65 var(--font-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
ul[role="list"], ol[role="list"] { list-style: none; margin: 0; padding: 0; }
[hidden] { display: none !important; }

/* Visible focus in gold everywhere (keyboard users). On light sections an
   inner ink ring keeps it visible against white. */
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}
.section--light :focus-visible { box-shadow: 0 0 0 2px var(--ink); }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  padding: .75rem 1.25rem; border-radius: var(--radius-sm);
  background: var(--gold-2); color: var(--ink); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* Icon library + shared gradient: must stay "rendered" (not display:none)
   or browsers drop the gradient. */
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}


/* ===== 02 Typography ====================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.01em;
  margin: 0 0 var(--space-4);
  text-wrap: balance;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); font-weight: 800; }
p  { margin: 0 0 var(--space-4); max-width: 65ch; }

/* Section kicker: the small uppercase label above a heading */
.kicker {
  display: inline-flex; align-items: center; gap: .6rem;
  margin: 0 0 var(--space-4);
  font: italic 800 var(--step--1)/1 var(--font-display);
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent-on-dark);
}
.kicker::before {   /* tiny ringed node, same motif as the logo */
  content: ""; width: 9px; height: 9px; border-radius: 50%;
  border: 2px solid currentColor; box-shadow: 0 0 10px rgba(254,197,41,.6);
}
.section--light .kicker { color: var(--jacket-4); }
.section--light .kicker::before { box-shadow: none; }

.lede { font-size: var(--step-1); line-height: 1.5; color: var(--muted-on-dark); }
.section--light .lede { color: var(--muted-on-light); }
.muted { color: var(--muted-on-dark); }
.mono { font-family: var(--font-mono); font-weight: 500; }

/* Gradient-filled heading words (decorative; colour never carries meaning) */
.text-gold {
  background: var(--grad-gold); -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* Small mono "status chip" */
.chip {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .35rem .75rem; border-radius: 999px;
  font: 500 .75rem/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase;
  color: var(--mist);
  background: rgba(19,32,90,.55); border: 1px solid rgba(78,142,203,.35);
}
.chip__dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--gold-2);
  box-shadow: 0 0 8px var(--gold-2);
}


/* ===== 03 Layout helpers ================================================== */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { position: relative; padding-block: var(--section-pad); isolation: isolate; }
.section--alt   { background: var(--navy-900); }
.section--deep  { background: radial-gradient(120% 80% at 50% 0%, var(--navy-800), var(--navy-950) 70%); }
.section--light { background: var(--bg-light); color: var(--text-on-light); }
.section--white { background: var(--white); color: var(--text-on-light); }
.section__head { max-width: 760px; margin-bottom: var(--space-7); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center p { margin-inline: auto; }

/* Thin gold circuit-trace divider between sections (drawn by JS on reveal) */
.trace-divider {
  position: absolute; left: 0; right: 0; top: 0; height: 48px;
  transform: translateY(-50%); pointer-events: none; z-index: 2;
}
.trace-divider svg { width: 100%; height: 100%; overflow: visible; }

/* Shared trace styles (dividers, service bus) */
.trace      { fill: none; stroke: url(#ats-trace-grad); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; opacity: .85; }
.trace-pulse{ fill: none; stroke: var(--gold-1); stroke-width: 2.5; stroke-linecap: round; opacity: 0; filter: drop-shadow(0 0 4px var(--gold-2)); }
.trace-node circle.ring { fill: var(--navy-950); stroke: var(--gold-2); stroke-width: 1.5; }
.trace-node circle.dot  { fill: var(--gold-2); }
.trace-node.is-hit circle.ring { animation: node-hit 600ms var(--ease-out); }
@keyframes node-hit {
  0%   { stroke-width: 1.5; filter: drop-shadow(0 0 0 transparent); }
  40%  { stroke-width: 3;   filter: drop-shadow(0 0 6px var(--gold-1)); }
  100% { stroke-width: 1.5; filter: drop-shadow(0 0 0 transparent); }
}


/* ===== 04 Buttons ========================================================= */
.btn {
  --mx: 0px; --my: 0px;                 /* magnetic offset, set by JS */
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .8rem 1.5rem;
  border-radius: 999px; border: 0; cursor: pointer;
  font: 600 1rem/1 var(--font-body); letter-spacing: .01em; text-decoration: none;
  transform: translate(var(--mx), var(--my));
  transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out),
              background-color var(--dur-1), color var(--dur-1), border-color var(--dur-1);
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 18px; height: 18px; flex: none; }

/* Gold: the main call-to-action. Ink text on gold = 12.3:1 contrast. */
.btn--gold {
  background: var(--grad-gold); color: var(--ink);
  box-shadow: var(--shadow-gold), inset 0 1px 0 rgba(255,255,255,.5);
}
.btn--gold:hover { box-shadow: 0 14px 36px -10px rgba(246,153,30,.75), inset 0 1px 0 rgba(255,255,255,.6); }
.btn--gold:active { transform: translate(var(--mx), var(--my)) scale(.97); }

/* Outline: secondary action on dark backgrounds */
.btn--outline {
  background: rgba(11,22,64,.35); color: var(--white);
  border: 1.5px solid rgba(111,168,218,.6);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.btn--outline:hover { border-color: var(--gold-2); color: var(--gold-1); }

/* Outline variant for light sections */
.section--light .btn--outline, .section--white .btn--outline {
  background: transparent; color: var(--jacket-4); border-color: var(--jacket-4);
}

.btn--sm { min-height: 40px; padding: .55rem 1.1rem; font-size: .9rem; }

/* Text link with arrow */
.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 600; color: var(--gold-2); text-decoration: none;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform var(--dur-2) var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }


/* ===== 05 Glass panels ==================================================== */
/* Frosted card with a 1px blue→gold gradient border, inner glow, and a
   pointer-following light sweep (desktop only, via JS-set --px/--py). */
.glass {
  --rx: 0deg; --ry: 0deg; --px: 50%; --py: 50%;
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--glass-bg), var(--glass-bg-2));
  backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  box-shadow: var(--shadow-card), var(--glass-glow);
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
}
.glass::before {        /* gradient hairline border */
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: var(--grad-border);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.glass::after {         /* light sweep that follows the pointer */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--px) var(--py), rgba(111,168,218,.16), transparent 45%);
  opacity: 0; transition: opacity var(--dur-2);
}
@media (hover: hover) and (pointer: fine) {
  .glass[data-tilt]:hover::after { opacity: 1; }
  .glass[data-tilt]:hover { box-shadow: 0 30px 60px -24px rgba(0,0,0,.7), var(--glass-glow), 0 0 0 1px rgba(254,197,41,.12); }
}


/* ===== 06 Header + nav ==================================================== */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  transition: height var(--dur-2) var(--ease-out), background-color var(--dur-2), box-shadow var(--dur-2);
}
.site-header::before {  /* glass bar, fades in once the page scrolls */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(6,10,28,.72);
  backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid rgba(78,142,203,.22);
  opacity: 0; transition: opacity var(--dur-2);
}
.site-header.is-condensed { height: var(--header-h-condensed); }
.site-header.is-condensed::before { opacity: 1; }

.site-header__inner {
  height: 100%; display: flex; align-items: center; gap: var(--space-5);
}
.site-header__logo { display: block; flex: none; }
.site-header__logo img {
  height: 56px; width: auto;
  transition: height var(--dur-2) var(--ease-out);
}
.site-header.is-condensed .site-header__logo img { height: 44px; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: .25rem; }
.nav__link, .nav__toggle {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .55rem .8rem; border-radius: 999px;
  background: none; border: 0; cursor: pointer;
  font: 600 .95rem/1 var(--font-body); color: var(--white); text-decoration: none;
  transition: color var(--dur-1), background-color var(--dur-1);
}
.nav__link:hover, .nav__toggle:hover, .nav__toggle[aria-expanded="true"] { color: var(--gold-1); background: rgba(78,142,203,.12); }
.nav__toggle svg { width: 14px; height: 14px; transition: transform var(--dur-2) var(--ease-out); }
.nav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

/* Services dropdown */
.nav__item--dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 0;
  width: 300px; padding: .5rem;
  border-radius: var(--radius);
  background: rgba(8,16,42,.94);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(78,142,203,.3);
  box-shadow: var(--shadow-card);
}
.dropdown a {
  display: flex; align-items: center; gap: .75rem; padding: .7rem .8rem; border-radius: 10px;
  color: var(--white); text-decoration: none; font-weight: 600; font-size: .95rem;
}
.dropdown a:hover { background: rgba(78,142,203,.16); color: var(--gold-1); }
.dropdown svg { width: 22px; height: 22px; flex: none; color: var(--blue-300); }
.dropdown__all { border-top: 1px solid rgba(78,142,203,.2); margin-top: .35rem; padding-top: .35rem; }

.header-tools { display: flex; align-items: center; gap: .5rem; }

/* Admiral Bridge (client portal) link */
.bridge-link {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .5rem .8rem; border-radius: 999px;
  font: 500 .78rem/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase;
  color: var(--mist); text-decoration: none;
  border: 1px solid rgba(78,142,203,.35);
  transition: color var(--dur-1), border-color var(--dur-1);
}
.bridge-link svg { width: 15px; height: 15px; }
.bridge-link:hover { color: var(--gold-1); border-color: var(--gold-2); }

/* Sound toggle (speaker icon) */
.icon-btn {
  display: inline-grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(19,32,90,.5); border: 1px solid rgba(78,142,203,.35);
  color: var(--mist); cursor: pointer;
  transition: color var(--dur-1), border-color var(--dur-1);
}
.icon-btn:hover { color: var(--gold-1); border-color: var(--gold-2); }
.icon-btn svg { width: 20px; height: 20px; }
.sound-toggle .icon-on { display: none; }
.sound-toggle[aria-pressed="true"] { color: var(--gold-2); border-color: rgba(254,197,41,.6); }
.sound-toggle[aria-pressed="true"] .icon-on { display: block; }
.sound-toggle[aria-pressed="true"] .icon-off { display: none; }

.menu-toggle { display: none; }

/* Mobile slide-out menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 200;
  display: flex; justify-content: flex-end;
  overflow: hidden;                       /* stops the parked panel causing sideways scroll */
  background: rgba(3,6,16,.6);
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur-2), visibility 0s linear var(--dur-2);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transition: opacity var(--dur-2); }
.mobile-menu__panel {
  width: min(88vw, 380px); height: 100%; overflow-y: auto;
  padding: 1.25rem 1.5rem 2rem;
  background: linear-gradient(180deg, var(--navy-800), var(--navy-950));
  border-left: 1px solid rgba(78,142,203,.3);
  transform: translateX(100%); transition: transform var(--dur-3) var(--ease-out);
  display: flex; flex-direction: column; gap: 1.25rem;
}
.mobile-menu.is-open .mobile-menu__panel { transform: none; }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; }
.mobile-menu__list a {
  display: block; padding: .85rem 0; border-bottom: 1px solid rgba(78,142,203,.18);
  font: italic 800 1.15rem/1.2 var(--font-display); text-transform: uppercase; letter-spacing: .02em;
  color: var(--white); text-decoration: none;
}
.mobile-menu__list a:hover { color: var(--gold-1); }
.mobile-menu__sub a {
  font: 600 1rem/1.3 var(--font-body); text-transform: none; letter-spacing: 0;
  padding-left: 1rem; color: var(--mist);
}
.mobile-menu__label {
  margin: 1rem 0 0; font: 500 .75rem/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--blue-300);
}

@media (max-width: 1100px) {
  .nav, .header-tools .bridge-link, .header-tools .btn--gold { display: none; }
  .menu-toggle { display: inline-grid; }
  .header-tools { margin-left: auto; }
}
@media (max-width: 420px) {
  .site-header__logo img { height: 42px; }
  .site-header.is-condensed .site-header__logo img { height: 36px; }
}


/* ===== 07 Hero ============================================================ */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center;
  padding: calc(var(--header-h) + 1.5rem) 0 6rem;
  overflow: hidden; isolation: isolate;
  /* Static background: shown before the canvas starts, if JS is off,
     and (with the still frame) when reduced motion is on. */
  background:
    radial-gradient(70% 55% at 50% 38%, rgba(41,103,177,.35), transparent 70%),
    radial-gradient(120% 90% at 50% 0%, var(--navy-800) 0%, var(--navy-950) 70%);
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero__vignette {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(85% 70% at 50% 45%, transparent 40%, rgba(6,10,28,.85) 100%);
}
.hero__inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero__logo-wrap { position: relative; margin-bottom: var(--space-4); }
.hero__logo-wrap::before {   /* soft blue bloom BEHIND the logo (logo itself untouched) */
  content: ""; position: absolute; left: 50%; top: 45%; z-index: -1;
  width: 170%; aspect-ratio: 1; translate: -50% -50%;
  background: radial-gradient(closest-side, rgba(62,146,207,.42), rgba(41,103,177,.14) 55%, transparent 75%);
  animation: bloom 7s var(--ease-in-out) infinite alternate;
}
@keyframes bloom { from { opacity: .75; scale: .96; } to { opacity: 1; scale: 1.04; } }
.hero__logo {
  height: clamp(150px, 27vh, 300px); width: auto;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,.55));
}
.hero h1 { max-width: 18ch; margin-inline: auto; }
.hero__sub { margin: 0 auto var(--space-6); color: var(--mist); font-size: var(--step-1); line-height: 1.5; max-width: 52ch; }
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-4); }
.hero__chip { margin-bottom: var(--space-4); }
.hero__scroll {
  position: absolute; bottom: 1.5rem; left: 50%; translate: -50% 0;
  display: grid; justify-items: center; gap: .4rem;
  font: 500 .7rem/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mist);
  text-decoration: none;
}
.hero__scroll span.line {
  width: 1.5px; height: 34px;
  background: linear-gradient(var(--gold-2), transparent);
  transform-origin: top; animation: scroll-cue 2.4s var(--ease-in-out) infinite;
}
@keyframes scroll-cue { 0% { scale: 1 0; } 50% { scale: 1 1; } 100% { scale: 1 1; opacity: 0; } }
@media (max-height: 760px), (max-width: 600px) { .hero__scroll { display: none; } }
@media (max-width: 480px) { .hero__sub { font-size: var(--step-0); } }


/* ===== 08 Capability strip ================================================ */
.capabilities { padding-block: var(--space-7); background: var(--navy-900); border-block: 1px solid rgba(78,142,203,.14); }
.capabilities__list {
  display: grid; gap: var(--space-4);
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.capability { padding: var(--space-5); border-radius: var(--radius); }
.capability .capability__figure {        /* ".capability" prefix beats the generic ".capability p" rule */
  display: flex; flex-direction: column; align-items: flex-start; gap: .4rem; margin: 0 0 .9rem;
  font: 500 var(--step-3)/1 var(--font-mono); color: var(--gold-2);
}
.capability__figure small { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-300); }
.capability .capability__figure .tbc { font-size: .8rem; }
.capability .capability__title { font-size: 1.05rem; font-weight: 800; margin-bottom: .35rem; }
.capability p { margin: 0; color: var(--mist); font-size: .95rem; line-height: 1.5; }


/* ===== 09 Services grid =================================================== */
.services { background: var(--navy-950); }
.services__grid {
  position: relative;
  display: grid; gap: clamp(2rem, 1.5rem + 2vw, 3.25rem);
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .services__grid { grid-template-columns: 1fr 1fr; }
  .service-card--feature { grid-column: 1 / -1; }
}
@media (min-width: 1080px) {
  .services__grid { grid-template-columns: 1.15fr 1fr 1fr; }
  .service-card--feature { grid-column: 1; grid-row: 1 / span 2; }
}
.services__bus { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }

.service-card {
  z-index: 1;
  display: flex; flex-direction: column;
  padding: clamp(1.5rem, 1.2rem + 1vw, 2.25rem);
}
.service-card__icon {
  width: 56px; height: 56px; margin-bottom: var(--space-5);
  display: grid; place-items: center; border-radius: 14px;
  background: radial-gradient(circle at 30% 25%, rgba(78,142,203,.35), rgba(19,32,90,.4));
  border: 1px solid rgba(78,142,203,.4);
  color: var(--blue-300);
}
.service-card__icon svg { width: 30px; height: 30px; }
.service-card h3 { margin-bottom: .6rem; }
.service-card h3 a { text-decoration: none; }
.service-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1; } /* whole card clickable */
.service-card p { color: var(--mist); font-size: .98rem; line-height: 1.55; }
.service-card__subs { margin: 0 0 var(--space-5); display: grid; gap: .55rem; }
.service-card__subs li {
  display: flex; align-items: center; gap: .65rem;
  font: 500 .82rem/1.3 var(--font-mono); letter-spacing: .02em; color: var(--white);
}
.service-card__subs li::before {
  content: ""; width: 7px; height: 7px; flex: none; border-radius: 50%;
  border: 1.5px solid var(--gold-2);
}
.service-card .link-arrow { margin-top: auto; }
.service-card:hover .link-arrow svg { transform: translateX(4px); }
.service-card:hover .service-card__icon { color: var(--gold-1); border-color: rgba(254,197,41,.5); }
.service-card__icon { transition: color var(--dur-2), border-color var(--dur-2); }
.service-card--feature .service-card__icon { width: 64px; height: 64px; }
.service-card--feature .service-card__icon svg { width: 36px; height: 36px; }
/* Decorative circuit in the feature card (fills the tall card on desktop) */
.service-card__circuit { display: none; }
@media (min-width: 1080px) {
  .service-card__circuit { display: block; width: 100%; height: auto; margin: auto 0 var(--space-5); overflow: visible; }
}


/* ===== 10 How we work (scroll-lit timeline) ================================ */
.process { background: radial-gradient(100% 60% at 0% 50%, rgba(41,103,177,.18), transparent 60%), var(--navy-900); }
.timeline { position: relative; max-width: 860px; margin-inline: auto; padding-left: 3.25rem; }
.timeline__list { display: grid; gap: var(--space-6); }
.timeline__track, .timeline__fill {
  position: absolute; left: 1.05rem; top: .9rem; bottom: .9rem; width: 2px; border-radius: 2px;
}
.timeline__track { background: rgba(78,142,203,.22); }
.timeline__fill {
  background: linear-gradient(var(--gold-1), var(--gold-3));
  box-shadow: 0 0 12px rgba(254,197,41,.6);
  transform-origin: top; transform: scaleY(var(--progress, 0));
}
.step { position: relative; padding: var(--space-5) var(--space-6); border-radius: var(--radius); }
.step__node {
  position: absolute; left: -3.25rem; top: 1.5rem;
  width: 2.15rem; height: 2.15rem; border-radius: 50%;
  display: grid; place-items: center;
  font: 500 .8rem/1 var(--font-mono); color: var(--mist);
  background: var(--navy-950); border: 2px solid rgba(78,142,203,.45);
  transition: border-color var(--dur-3), color var(--dur-3), box-shadow var(--dur-3);
}
.step__label { font: 500 .75rem/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--blue-300); margin-bottom: .5rem; }
.step h3 { margin-bottom: .4rem; transition: color var(--dur-3); }
.step p { margin: 0; color: var(--mist); }
.step.is-lit .step__node { border-color: var(--gold-2); color: var(--gold-1); box-shadow: 0 0 0 5px rgba(254,197,41,.12), 0 0 18px rgba(254,197,41,.5); }
.step.is-lit h3 { color: var(--gold-1); }


/* ===== 11 Industries ====================================================== */
.industries { background: var(--navy-950); }
.industries__grid { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.industry {
  position: relative; overflow: hidden;
  min-height: 170px; padding: var(--space-5);
  display: flex; flex-direction: column; justify-content: flex-end;
}
.industry__icon { position: absolute; top: var(--space-5); left: var(--space-5); width: 40px; height: 40px; color: var(--blue-300); transition: color var(--dur-2), transform var(--dur-3) var(--ease-out); }
.industry h3 { margin: 0; transition: transform var(--dur-3) var(--ease-out); }
.industry__desc { color: var(--mist); font-size: .95rem; line-height: 1.5; margin: .5rem 0 0; }
.industry::before { transition: opacity var(--dur-2); }
/* Hover/focus reveal only where a real pointer exists; touch shows text always */
@media (hover: hover) and (pointer: fine) {
  .industry__desc {
    max-height: 0; opacity: 0; margin-top: 0;
    transition: max-height var(--dur-3) var(--ease-out), opacity var(--dur-2), margin-top var(--dur-3) var(--ease-out);
  }
  .industry:hover .industry__desc, .industry:focus-within .industry__desc, .industry:focus .industry__desc { max-height: 8em; opacity: 1; margin-top: .5rem; }
  .industry:hover .industry__icon, .industry:focus .industry__icon { color: var(--gold-1); transform: translateY(-4px); }
}
.industries__note { margin-top: var(--space-6); font-size: .9rem; color: var(--mist); }


/* ===== 12 Safety ========================================================== */
.safety { background: radial-gradient(90% 60% at 100% 0%, rgba(41,103,177,.2), transparent 60%), var(--navy-900); }
.safety__layout { display: grid; gap: var(--space-7); align-items: start; }
@media (min-width: 960px) { .safety__layout { grid-template-columns: .9fr 1.1fr; } }
.safety__steps { display: grid; gap: var(--space-4); counter-reset: swms; }
.safety__step { display: grid; grid-template-columns: auto 1fr; gap: var(--space-4); padding: var(--space-5); border-radius: var(--radius); }
.safety__num {
  counter-increment: swms;
  width: 2.5rem; height: 2.5rem; border-radius: 10px; display: grid; place-items: center;
  font: 500 .85rem/1 var(--font-mono); color: var(--ink); background: var(--grad-gold);
}
.safety__num::before { content: counter(swms, decimal-leading-zero); }
.safety__step h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.safety__step p { margin: 0; color: var(--mist); font-size: .95rem; }
.safety__commit { margin-top: var(--space-6); padding: var(--space-6); border-radius: var(--radius-lg); }
.safety__commit ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .75rem; }
.safety__commit li { display: flex; gap: .75rem; align-items: flex-start; color: var(--white); }
.safety__commit li svg { width: 20px; height: 20px; flex: none; color: var(--gold-2); margin-top: .2rem; }


/* ===== 13 Why Admiral (light) ============================================= */
/* Light background because the logo tagline is black script and would
   disappear on navy. */
.about__layout { display: grid; gap: var(--space-7); align-items: center; }
@media (min-width: 960px) { .about__layout { grid-template-columns: .8fr 1.2fr; } }
.about__logo-wrap { position: relative; display: grid; place-items: center; padding: var(--space-6); }
.about__logo-wrap::before {
  content: ""; position: absolute; inset: 8% 10%; z-index: 0; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(78,142,203,.22), transparent 75%);
}
.about__logo { position: relative; width: min(300px, 70vw); }
.about h2 { color: var(--ink); }
.about p { color: var(--slate); }
.about__pillars { display: grid; gap: var(--space-4); margin-top: var(--space-6); grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.pillar { padding: var(--space-5); border-radius: var(--radius); background: var(--white); border: 1px solid var(--light-100); box-shadow: 0 10px 30px -18px rgba(19,75,147,.35); }
.pillar h3 { font-size: 1rem; color: var(--jacket-4); margin-bottom: .3rem; }
.pillar p { margin: 0; font-size: .95rem; line-height: 1.5; }


/* ===== 14 CTA band ======================================================== */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  padding-block: clamp(3.5rem, 3rem + 4vw, 6rem);
  background:
    radial-gradient(60% 120% at 85% 50%, rgba(246,153,30,.18), transparent 60%),
    radial-gradient(70% 120% at 10% 50%, rgba(41,103,177,.35), transparent 60%),
    var(--navy-800);
  border-block: 1px solid rgba(254,197,41,.2);
}
.cta-band__inner { display: grid; gap: var(--space-5); align-items: center; }
@media (min-width: 880px) { .cta-band__inner { grid-template-columns: 1fr auto; } }
.cta-band h2 { margin-bottom: .5rem; }
.cta-band p { margin: 0; color: var(--mist); }


/* ===== 15 Contact + form (light) ========================================== */
.contact__layout { display: grid; gap: var(--space-7); }
@media (min-width: 960px) { .contact__layout { grid-template-columns: .8fr 1.2fr; } }
.contact h2 { color: var(--ink); }
.contact__points { margin: var(--space-6) 0 0; padding: 0; list-style: none; display: grid; gap: var(--space-4); }
.contact__points li { display: flex; gap: .85rem; align-items: flex-start; color: var(--slate); }
.contact__points svg { width: 22px; height: 22px; flex: none; color: var(--jacket-4); margin-top: .15rem; }
.contact__points strong { color: var(--ink); display: block; }

.form-card {
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--light-100);
  box-shadow: 0 30px 60px -30px rgba(19,75,147,.35);
}
.form-grid { display: grid; gap: 1.1rem 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field { display: grid; gap: .4rem; align-content: start; }
.field label, .field legend { font-weight: 600; font-size: .92rem; color: var(--ink); }
.field .req { color: var(--jacket-4); }
.field .hint { font-size: .82rem; color: var(--slate); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .7rem .9rem;
  border-radius: 10px; border: 1.5px solid #9AA9C2; background: var(--white); color: var(--ink);
  transition: border-color var(--dur-1), box-shadow var(--dur-1);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--jacket-2); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 3px solid var(--gold-2); outline-offset: 1px; border-color: var(--ink); box-shadow: none;
}
.field [aria-invalid="true"] { border-color: var(--signal); box-shadow: 0 0 0 1px var(--signal); }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23134B93' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .8rem center; background-size: 18px;
}
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.checks { display: grid; gap: .5rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: .2rem; }
.check {
  display: flex; align-items: center; gap: .65rem; padding: .65rem .8rem;
  border: 1.5px solid var(--light-100); border-radius: 10px; cursor: pointer; color: var(--ink); font-size: .95rem;
  transition: border-color var(--dur-1), background-color var(--dur-1);
}
.check:hover { border-color: var(--jacket-2); }
.check input { width: 20px; height: 20px; min-height: 0; accent-color: var(--jacket-4); flex: none; margin: 0; }
.check:has(input:checked) { border-color: var(--jacket-4); background: #EAF1FA; }
.consent { display: flex; gap: .75rem; align-items: flex-start; color: var(--slate); font-size: .92rem; }
.consent input { width: 20px; height: 20px; min-height: 0; margin-top: .15rem; accent-color: var(--jacket-4); flex: none; }
.consent a, .form-card a { color: var(--link-on-light); font-weight: 600; }

.field__error {
  display: flex; align-items: center; gap: .45rem;
  font-size: .85rem; font-weight: 600; color: var(--ink);
}
.field__error::before {   /* red-orange marker: colour + icon, text stays ink for contrast */
  content: "!"; display: grid; place-items: center; width: 18px; height: 18px; flex: none; border-radius: 50%;
  background: var(--signal); color: var(--white); font: 700 .75rem/1 var(--font-body);
}
.field__error:empty { display: none; }
.form-summary {
  grid-column: 1 / -1; padding: .9rem 1rem; border-radius: 10px;
  border: 1.5px solid var(--signal); background: #FFF5F4; color: var(--ink); font-size: .95rem;
}
.form-summary:empty { display: none; }
.form-summary ul { margin: .4rem 0 0; padding-left: 1.2rem; }
.form-summary a { color: var(--ink); }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4); margin-top: .5rem; }
.form-actions .note { font-size: .85rem; color: var(--slate); margin: 0; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-thanks { text-align: center; padding: var(--space-6) var(--space-4); }
.form-thanks__icon { width: 72px; height: 72px; margin: 0 auto var(--space-5); color: var(--jacket-4); }
.form-thanks h3 { font-size: var(--step-2); color: var(--ink); }
.form-thanks p { margin-inline: auto; color: var(--slate); }

.btn[aria-busy="true"] { opacity: .75; pointer-events: none; }


/* ===== 16 Footer ========================================================== */
.site-footer { background: var(--navy-950); padding: var(--space-8) 0 var(--space-6); border-top: 1px solid rgba(78,142,203,.18); position: relative; }
.footer__grid { display: grid; gap: var(--space-7); grid-template-columns: 1fr; }
@media (min-width: 800px) { .footer__grid { grid-template-columns: 1.1fr 1fr 1fr 1fr; } }
.footer__brand img { width: 150px; margin-bottom: var(--space-4); }
.footer__brand p { color: var(--mist); font-size: .92rem; }
.footer__heading { font: 500 .75rem/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--blue-300); margin: 0 0 var(--space-4); }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer__links a { color: var(--white); text-decoration: none; font-size: .95rem; }
.footer__links a:hover { color: var(--gold-1); text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom {
  margin-top: var(--space-7); padding-top: var(--space-5); border-top: 1px solid rgba(78,142,203,.15);
  display: flex; flex-wrap: wrap; gap: .75rem 2rem; justify-content: space-between;
  font-size: .85rem; color: var(--mist);
}
.footer__bottom a { color: var(--mist); }
.footer__bottom a:hover { color: var(--gold-1); }
.footer__legal { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }


/* ===== 17 Placeholders [CONFIRM: …] ======================================= */
/* Anything still waiting on a real fact is wrapped in <span class="tbc">.
   The dashed gold outline makes it obvious in the browser. Every one is
   listed in docs/content-todo.md. Remove the span once confirmed. */
.tbc {
  outline: 1.5px dashed var(--gold-2); outline-offset: 2px; border-radius: 3px;
  padding: 0 .2em; background: rgba(254,197,41,.1);
  font-family: var(--font-mono); font-size: .85em; font-weight: 500; font-style: normal;
}
.section--light .tbc, .section--white .tbc { outline-color: var(--gold-3); background: rgba(254,197,41,.22); color: var(--ink); }


/* ===== 18 Cursor glow (desktop only, created by JS) ======================= */
.cursor-glow {
  position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none;
  width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(62,146,207,.10), transparent);
  mix-blend-mode: screen; opacity: 0; transition: opacity var(--dur-3);
}
.cursor-glow.is-on { opacity: 1; }


/* ===== 19 Scroll reveals ================================================== */
/* Only hidden when JS is running (html.js). JS adds .is-in when visible.
   --i on an element staggers it (set automatically inside [data-stagger]). */
.js [data-reveal] {
  opacity: 0; transform: translateY(22px);
  transition: opacity var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-out);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.js [data-reveal="wipe"] {
  opacity: 1; transform: none; clip-path: inset(0 100% 0 0);
  transition: clip-path 900ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="wipe"].is-in { clip-path: inset(0 0 0 0); }
/* Glass cards keep their tilt transform once revealed */
.js .glass[data-reveal].is-in { transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); }


/* ===== 20 Reduced motion ================================================== */
/* People who ask their device for less motion get a calm, static site:
   no canvas animation, no reveals, no tilt, no looping effects. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js [data-reveal="wipe"] { opacity: 1; transform: none; clip-path: none; }
  .hero__scroll span.line { animation: none; }
  .cursor-glow { display: none; }
  .glass { transform: none !important; }
  .btn { transform: none !important; }
}


/* ===== 21 Page hero (inner pages: legal, service, 404) ==================== */
/* A short dark banner so the transparent header always sits on navy. */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: calc(var(--header-h) + clamp(2.5rem, 2rem + 3vw, 5rem)) 0 clamp(3rem, 2.5rem + 3vw, 5rem);
  background:
    radial-gradient(60% 90% at 85% 0%, rgba(41,103,177,.35), transparent 65%),
    radial-gradient(120% 90% at 50% 0%, var(--navy-800) 0%, var(--navy-950) 75%);
}
.page-hero h1 { font-size: var(--step-4); max-width: 22ch; }
.page-hero .lede { max-width: 60ch; }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: var(--space-5); }
.page-hero .trace-divider { top: auto; bottom: 0; transform: translateY(50%); }
.breadcrumbs { margin-bottom: var(--space-5); font: 500 .78rem/1 var(--font-mono); letter-spacing: .06em; color: var(--mist); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: .5rem; color: var(--blue-300); }
.breadcrumbs a { color: var(--mist); text-decoration: none; }
.breadcrumbs a:hover { color: var(--gold-1); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--white); }


/* ===== 22 Legal documents (Terms, Privacy) ================================ */
.legal__layout { display: grid; gap: var(--space-7); align-items: start; }
@media (min-width: 1000px) { .legal__layout { grid-template-columns: 260px 1fr; } }
.legal__toc {
  padding: var(--space-5); border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--light-100);
}
@media (min-width: 1000px) { .legal__toc { position: sticky; top: calc(var(--header-h-condensed) + 24px); max-height: calc(100vh - 120px); overflow: auto; } }
.legal__toc p { margin: 0 0 .75rem; font: 500 .75rem/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--jacket-4); }
.legal__toc ol { margin: 0; padding-left: 1.25rem; display: grid; gap: .45rem; font-size: .92rem; }
.legal__toc a { color: var(--slate); text-decoration: none; }
.legal__toc a:hover { color: var(--jacket-4); text-decoration: underline; }
.legal__body { max-width: 760px; color: var(--slate); }
.legal__body h2 {
  font-size: var(--step-2); color: var(--ink); margin: var(--space-7) 0 var(--space-4);
  padding-top: var(--space-5); border-top: 1px solid var(--light-100);
}
.legal__body h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.legal__body h3 { font-size: 1.05rem; color: var(--ink); margin: var(--space-5) 0 var(--space-3); }
.legal__body p, .legal__body li { line-height: 1.7; }
.legal__body ul, .legal__body ol { padding-left: 1.3rem; margin: 0 0 var(--space-4); display: grid; gap: .4rem; }
.legal__body a { color: var(--link-on-light); font-weight: 600; }
.legal__body strong { color: var(--ink); }
.legal__note {
  margin: 0 0 var(--space-6); padding: var(--space-4) var(--space-5); border-radius: var(--radius);
  background: #EAF1FA; border-left: 4px solid var(--jacket-4); color: var(--ink); font-size: .95rem;
}
.legal__table { width: 100%; border-collapse: collapse; margin: 0 0 var(--space-5); font-size: .95rem; }
.legal__table th, .legal__table td { text-align: left; vertical-align: top; padding: .7rem .8rem; border-bottom: 1px solid var(--light-100); }
.legal__table th { color: var(--ink); background: var(--white); font-weight: 600; }
@media (max-width: 600px) {
  .legal__table, .legal__table tbody, .legal__table tr, .legal__table td, .legal__table th { display: block; }
  .legal__table thead { display: none; }
  .legal__table td { border: 0; padding: .2rem 0; }
  .legal__table tr { padding: .75rem 0; border-bottom: 1px solid var(--light-100); }
  .legal__table td::before { content: attr(data-label); display: block; font-weight: 600; color: var(--ink); }
}


/* ===== 23 Service pages =================================================== */
.service-hero__grid { display: grid; gap: var(--space-6); align-items: center; }
@media (min-width: 960px) { .service-hero__grid { grid-template-columns: 1.2fr .8fr; } }
.service-hero__ctas { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-top: var(--space-6); }
.service-hero__art { position: relative; width: min(100%, 420px); margin-inline: auto; }
.service-hero__art svg { width: 100%; height: auto; overflow: visible; }
.service-hero__icon {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: 26%; height: 26%; border-radius: 50%;          /* the art box is square, so this is a circle */
  display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, rgba(78,142,203,.45), rgba(11,22,64,.9) 70%);
  border: 1.5px solid rgba(254,197,41,.6);
  box-shadow: 0 0 0 10px rgba(254,197,41,.06), 0 0 50px rgba(62,146,207,.45);
  color: var(--gold-1);
}
.service-hero__icon svg { width: 46%; height: 46%; }
@media (max-width: 959px) { .service-hero__art { width: min(70%, 300px); order: -1; } }

/* "What's included" cards on a light section */
.included__grid { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.included-card {
  position: relative; padding: var(--space-5) var(--space-5) var(--space-5) calc(var(--space-5) + 44px);
  border-radius: var(--radius); background: var(--white); border: 1px solid var(--light-100);
  box-shadow: 0 12px 30px -20px rgba(19,75,147,.35);
  scroll-margin-top: calc(var(--header-h-condensed) + 24px);
}
.included-card__icon {
  position: absolute; left: var(--space-5); top: var(--space-5);
  width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  background: var(--grad-gold); color: var(--ink);
}
.included-card__icon svg { width: 18px; height: 18px; }
.included-card h3 { font-size: 1.08rem; color: var(--ink); margin-bottom: .35rem; }
.included-card p { margin: 0; color: var(--slate); font-size: .97rem; line-height: 1.6; }
.included-card:target { border-color: var(--jacket-4); box-shadow: 0 0 0 3px rgba(19,75,147,.15); }

/* Typical engagements */
.engagements__grid { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.engagement { padding: var(--space-5); border-radius: var(--radius); }
.engagement__label { font: 500 .72rem/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--blue-300); margin-bottom: .75rem; }
.engagement h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.engagement p { margin: 0; color: var(--mist); font-size: .95rem; line-height: 1.55; }
.engagements__note { margin-top: var(--space-5); font-size: .88rem; color: var(--mist); }

/* FAQ accordion (light section). Without JS, every answer simply shows. */
.faq { max-width: 860px; margin-inline: auto; border-top: 1px solid var(--light-100); }
.faq__item { border-bottom: 1px solid var(--light-100); }
.faq__q { margin: 0; font-size: 1.05rem; }
.faq__q button {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  padding: 1.2rem .25rem; background: none; border: 0; cursor: pointer; text-align: left;
  font: italic 800 1.05rem/1.35 var(--font-display); color: var(--ink);
}
.faq__q button:hover { color: var(--jacket-4); }
.faq__icon {
  flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--jacket-4); color: var(--jacket-4);
  transition: transform var(--dur-2) var(--ease-out), background-color var(--dur-2), color var(--dur-2);
}
.faq__icon svg { width: 16px; height: 16px; }
.faq__q button[aria-expanded="true"] .faq__icon { transform: rotate(180deg); background: var(--jacket-4); color: var(--white); }
.faq__a { padding: 0 .25rem 1.25rem; color: var(--slate); }
.faq__a p { margin: 0 0 .6rem; }
.faq__a p:last-child { margin-bottom: 0; }

/* Related services */
.related__grid { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.related-card {
  position: relative; display: flex; align-items: center; gap: var(--space-4);
  padding: var(--space-5); border-radius: var(--radius); text-decoration: none; color: var(--white);
}
.related-card svg.ri { width: 28px; height: 28px; flex: none; color: var(--blue-300); transition: color var(--dur-2); }
.related-card span { font-weight: 600; line-height: 1.35; }
.related-card:hover svg.ri { color: var(--gold-1); }
.related-card:hover span { color: var(--gold-1); }


/* ===== 24 404 page ======================================================== */
.not-found { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
.not-found h1 { font-size: clamp(3rem, 2rem + 6vw, 6.5rem); }
.not-found__links { margin-top: var(--space-8); }
