/* ============================================================
   PITOT GROUP · Design tokens — single source of truth.
   Redesign Revision A (2026-06).

   Layering: primitives → semantic tokens → component tokens.
   Loaded AFTER each page's inline <style>, so the :root
   declarations here win the cascade and re-skin the legacy
   component CSS, which references the same custom properties.

   Section identity:  [data-section="brand|measure|advise|build|action"]
   on <body> (whole page) or per <section> (homepage).
   Everything downstream reads var(--section) / var(--section-rgb).
   ============================================================ */

/* ---------- Self-hosted faces (no runtime font CDN) -------- */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/assets/fonts/poppins-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/poppins-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Hind';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/hind-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Hind';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/hind-500.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('/assets/fonts/jetbrains-mono.woff2') format('woff2');
}

/* ============================================================
   1 · PRIMITIVES + SEMANTIC TOKENS
   RGB channel triplets so every legacy rgba() glow, scrim and
   hairline recolours itself per theme and per section.
   ============================================================ */
:root {
  /* --- night (default) ------------------------------------ */
  --bg-rgb:      10, 13, 20;        /* near-black, blue-leaning  */
  --surface-rgb: 17, 22, 33;
  --fg-rgb:      226, 231, 240;
  --line-rgb:    180, 205, 235;     /* hairline tint source      */
  --hi-rgb:      197, 219, 245;     /* neutral luminous highlight */
  --hi-hot-rgb:  240, 247, 253;     /* hot core of glows — stays near-white */
  --acc-rgb:     139, 174, 240;     /* structural instrument blue */
  --red-rgb:     255, 49, 38;       /* Signal Red, lifted for dark ground */
  --red-fill:    #E10600;           /* brand-book red for fills   */
  --lapis-rgb:   38, 97, 156;       /* lapis lazuli — conversation CTAs */
  --lapis:       #26619C;
  --lapis-hi-rgb: 127, 168, 217;    /* lapis edge/filament light  */

  --tert-alpha: 0.56;               /* tertiary text — AA-calibrated per theme */
  --bg:        rgb(var(--bg-rgb));
  --bg-soft:   #10141E;
  --bg-elev:   #161B28;
  --surface:   rgb(var(--surface-rgb));
  --surface-glass: rgba(var(--hi-rgb), 0.05);
  --fg:        rgb(var(--fg-rgb));
  --text:      rgb(var(--fg-rgb));
  --text-mute: rgba(var(--fg-rgb), 0.72);
  --text-faint:rgba(var(--fg-rgb), var(--tert-alpha));
  --line:      rgba(var(--line-rgb), 0.08);
  --line-strong: rgba(var(--line-rgb), 0.16);
  --line-glow: rgba(var(--hi-rgb), 0.28);
  --accent-red: rgb(var(--red-rgb));

  /* --- section hue registry (night values) ----------------- */
  --hue-brand-rgb:   197, 219, 245;  /* neutral platinum          */
  --hue-brand:       #C5DBF5;
  --hue-brand-deep:  #8FB4DD;
  --hue-measure-rgb: 105, 178, 194;  /* cool instrument cyan      */
  --hue-measure:     #69B2C2;
  --hue-measure-deep:#43808E;
  --hue-advise-rgb:  130, 150, 182;  /* steel blue-grey           */
  --hue-advise:      #8296B6;
  --hue-advise-deep: #57698C;
  --hue-build-rgb:   190, 160, 112;  /* warm bronze               */
  --hue-build:       #BEA070;
  --hue-build-deep:  #8F7344;
  --hue-action-rgb:  255, 78, 66;    /* Signal Red, action        */
  --hue-action:      #FF4E42;
  --hue-action-deep: #C42018;

  /* default section = brand neutral */
  --section:      var(--hue-brand);
  --section-deep: var(--hue-brand-deep);
  --section-rgb:  var(--hue-brand-rgb);

  /* --- typography ------------------------------------------ */
  --font-display: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
  --font-sans:    'Hind', 'Helvetica Neue', Arial, sans-serif;
  --font-brand:   var(--font-display);
  --font-serif:   var(--font-display);   /* legacy alias — serif retired */
  --font-mono:    'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;

  /* Major-third scale, base 16. h1–h3 drop one step on mobile. */
  --text-h1: clamp(49px, 4.6vw, 61px);
  --text-h2: clamp(39px, 3.7vw, 49px);
  --text-h3: clamp(31px, 2.9vw, 39px);
  --text-h4: 31px;
  --text-h5: 25px;
  --text-h6: 20px;
  --text-body: 16px;
  --text-small: 13px;
  --track-h1: -0.02em;
  --track-h2: -0.0175em;
  --track-h3: -0.015em;
  --track-h4: -0.01em;
  --track-h5: -0.0075em;
  --track-h6: -0.005em;
  --leading-h1: 1.0;
  --leading-h2: 1.1;
  --leading-h3: 1.2;
  --leading-h4: 1.3;
  --leading-h5: 1.4;
  --leading-h6: 1.45;
  --leading-body: 1.5;

  /* --- 8-pt spacing ----------------------------------------- */
  --space-1: 8px;   --space-2: 16px;  --space-3: 24px;
  --space-4: 32px;  --space-5: 40px;  --space-6: 48px;
  --space-8: 64px;  --space-10: 80px; --space-12: 96px;
  --space-section: clamp(96px, 12vh, 128px);
  --pad: clamp(24px, 5vw, 64px);

  /* --- state layers (opacity over base, never a new hex) ---- */
  --state-hover: 0.08;
  --state-pressed: 0.12;
  --state-focus: 0.4;

  /* --- glass physics ----------------------------------------- */
  --glass-blur: 20px;
  --glass-fill: rgba(var(--hi-rgb), 0.05);
  --glass-edge: rgba(var(--fg-rgb), 0.16);
  --glass-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.55);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  /* Highlight treatment — ONE canonical metallic gradient for every
     emphasis word and the figure numerals: a near-white crown resolving
     through the measure-cyan instrument hue (the "perception"/"published"
     look), held uniform across every section rather than section-tinted. */
  --hl-grad: linear-gradient(176deg,
      rgb(var(--hi-hot-rgb)) 0%,
      var(--hue-measure) 64%,
      var(--hue-measure-deep) 112%);
  --hl-glow:
      drop-shadow(0 0 14px rgba(var(--hue-measure-rgb), 0.42))
      drop-shadow(0 0 34px rgba(var(--hue-measure-rgb), 0.18));

  /* legacy aliases that must keep resolving */
  --accent:      #8BAEF0;
  --accent-deep: #4D8DFF;
  --radar:       var(--section);
  --papaya:      var(--section);
  --papaya-deep: var(--section-deep);
  --green-rgb:   110, 231, 183;
  --green:       rgb(var(--green-rgb));
  --brand-red:   var(--red-fill);
}


/* ---------- section identity -------------------------------
   Re-bind --section inside each scope, then re-bind the legacy
   signal aliases against it so 3,000 lines of component CSS
   inherit the hue without being rewritten.                     */
[data-section="brand"]   { --section: var(--hue-brand);   --section-deep: var(--hue-brand-deep);   --section-rgb: var(--hue-brand-rgb); }
[data-section="measure"] { --section: var(--hue-measure); --section-deep: var(--hue-measure-deep); --section-rgb: var(--hue-measure-rgb); }
[data-section="advise"]  { --section: var(--hue-advise);  --section-deep: var(--hue-advise-deep);  --section-rgb: var(--hue-advise-rgb); }
[data-section="build"]   { --section: var(--hue-build);   --section-deep: var(--hue-build-deep);   --section-rgb: var(--hue-build-rgb); }
[data-section="action"]  { --section: var(--hue-action);  --section-deep: var(--hue-action-deep);  --section-rgb: var(--hue-action-rgb); }

[data-section] {
  --box-tint-rgb: var(--section-rgb);
  --papaya: var(--section);
  --papaya-deep: var(--section-deep);
  --hi-rgb: var(--section-rgb);
  --radar: var(--section);
  --line-glow: rgba(var(--section-rgb), 0.28);
  --glass-fill: rgba(var(--box-tint-rgb, var(--section-rgb)), 0.05);
}
/* Signal Red is an accent on neutral — action boxes stay neutral. */
[data-section="action"] { --box-tint-rgb: var(--hue-brand-rgb); }

/* ============================================================
   2 · TYPOGRAPHY ASSIGNMENT
   Headings, nav, buttons → Poppins 600.
   Body, captions, labels → Hind 400/500.
   Data readouts only → JetBrains Mono.
   Hierarchy inside type = size + opacity, not weight or colour.
   ============================================================ */
html, body {
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  letter-spacing: 0;
}

h1, h2, h3, h4, h5, h6,
button, .nav-links a, .nav-enquire,
.hero-statement, .section-title, .figures-lead, .pillar-title,
.index-name, .thesis-text, .modal-title, .contact-side h2,
.alt-name, .dim-name, .philo-text, .fw-seq-label,
.fw-title, .fw-sub, .dim-headline, .dim-tagline, .dim-quote,
.prin-headline, .prin-tagline, .prin-quote,
.phase-headline, .phase-tagline, .phase-quote,
.en-card-name, .en-continue-title, .qu-panel-name,
.fw-close-title, .int-sub {
  font-family: var(--font-display);
  font-weight: 600;
}

h1 { font-size: var(--text-h1); letter-spacing: var(--track-h1); line-height: var(--leading-h1); }
h2 { font-size: var(--text-h2); letter-spacing: var(--track-h2); line-height: var(--leading-h2); }
h3 { font-size: var(--text-h3); letter-spacing: var(--track-h3); line-height: var(--leading-h3); }
h4 { font-size: var(--text-h4); letter-spacing: var(--track-h4); line-height: var(--leading-h4); }
h5 { font-size: var(--text-h5); letter-spacing: var(--track-h5); line-height: var(--leading-h5); }
h6 { font-size: var(--text-h6); letter-spacing: var(--track-h6); line-height: var(--leading-h6); }

.hero-statement {
  font-size: var(--text-h1);
  letter-spacing: var(--track-h1);
  line-height: var(--leading-h1);
  font-weight: 300;
}
.section-title, .figures-lead, .contact-side h2 { font-size: var(--text-h2); letter-spacing: var(--track-h2); line-height: var(--leading-h2); }
.pillar-title, .index-name, .modal-title { font-size: var(--text-h3); letter-spacing: var(--track-h3); line-height: var(--leading-h3); }
.thesis-text { font-size: var(--text-h3); letter-spacing: var(--track-h3); line-height: var(--leading-h3); }
.philo-text { font-size: var(--text-h5); letter-spacing: var(--track-h5); line-height: 1.4; font-weight: 600; }
.fw-title { font-size: var(--text-h1); letter-spacing: var(--track-h1); line-height: var(--leading-h1); }
.dim-headline, .prin-headline, .phase-headline { font-size: var(--text-h2); letter-spacing: var(--track-h2); line-height: var(--leading-h2); }
.dim-quote, .prin-quote, .phase-quote { font-size: var(--text-h5); letter-spacing: var(--track-h5); line-height: var(--leading-h5); }
.fw-sub, .dim-tagline, .prin-tagline, .phase-tagline { font-size: var(--text-h6); letter-spacing: var(--track-h6); line-height: var(--leading-h6); }

/* Standard foreground opacity steps */
b, strong { font-weight: 500; }

/* Emphasis — the serif-italic signature is retired. <em> now
   switches to the display face inside body copy; in display
   type it takes the section hue. Hierarchy stays size/opacity. */
em {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 600;
  font-size: 0.97em;
}
h1 em, h2 em, h3 em,
.hero-statement em, .section-title em, .figures-lead em,
.index-name em, .thesis-text em, .contact-side h2 em,
.philo-text em, .modal-title em, .alt-name em, .figures-turn em,
.fw-title em, .fw-sub em, .dim-headline em, .dim-tagline em,
.dim-quote em, .prin-headline em, .prin-tagline em, .prin-quote em,
.phase-headline em, .phase-tagline em, .phase-quote em,
.fw-close-title em, .int-sub em {
  color: var(--hue-measure);
  text-shadow: none;
}
/* Highlighted copy — the one canonical metallic highlight (--hl-grad):
   a near-white crown resolving through the measure-cyan instrument hue,
   identical for every emphasis word regardless of section. The flat-hue
   rule above is the graceful fallback; engines that can clip a gradient
   to the glyphs get this. */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  h1 em, h2 em, h3 em,
  .hero-statement em, .section-title em, .figures-lead em,
  .index-name em, .thesis-text em, .contact-side h2 em,
  .philo-text em, .modal-title em, .alt-name em, .figures-turn em,
  .fw-title em, .fw-sub em, .dim-headline em, .dim-tagline em,
  .dim-quote em, .prin-headline em, .prin-tagline em, .prin-quote em,
  .phase-headline em, .phase-tagline em, .phase-quote em,
  .fw-close-title em, .int-sub em {
    background-image: var(--hl-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    filter: var(--hl-glow);
  }
}
p em, li em, .hero-sub em, .figure-body em, .modal-body em,
.intel-copy p em, .about-prose em {
  color: var(--text);
  text-shadow: 0 0 18px rgba(var(--section-rgb), 0.35);
  font-size: 0.97em;
}

/* Mono readouts: tight Bloomberg tracking */
.figure-src, .index-eyebrow, .ticker-strip,
.scope-readout, .pillar-proof, .mm-meta, .engage-block-label {
  font-family: var(--font-mono);
}

/* ============================================================
   2b · BRAND LOCKUP — the logo letterforms.
   Extended geometric caps; the pitot-tube mark carries the
   brand and its spear tip is the one Signal Red moment.
   ============================================================ */
/* The supplied logo artwork (assets/logo.png — alpha mask extracted
   from the brand file, untouched letterforms). Rendered as a CSS
   mask filled with the theme foreground, so the single asset serves
   both registers exactly as drawn: white on night, ink on day. */
.pg-logo {
  display: block;
  flex-shrink: 0;
  aspect-ratio: 825 / 176;
  background-color: var(--text);
  -webkit-mask: url('/assets/logo.png') no-repeat center / contain;
  mask: url('/assets/logo.png') no-repeat center / contain;
}
.pg-logo--nav { width: 124px; }
.foot-brand .pg-logo--nav { width: 150px; }
/* Hero logo — metallic finish: chrome banding (lit top, horizon
   kink, shadowed base) plus a soft diagonal sheen, painted through
   the logo mask. Nav/footer lockups stay flat foreground. */
.pg-logo--hero {
  width: min(633px, 88vw);
  margin-bottom: 8px;
  background-color: transparent;
  background-image:
    linear-gradient(115deg,
      rgba(255, 255, 255, 0) 40%,
      rgba(255, 255, 255, 0.45) 50%,
      rgba(255, 255, 255, 0) 60%),
    linear-gradient(180deg,
      #F4F8FC 0%,
      #D3DEEC 26%,
      #9FB2C9 46%,
      #ECF2F8 54%,
      #B8C6D8 70%,
      #7C8DA4 90%,
      #C2CFDF 100%);
}
@media (max-width: 520px) {
  .pg-logo--nav { width: 104px; }
}

/* Word lockups that remain textual (e.g. PitotIndex sub-brand). */
.pg-wm {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3em;
}
.pg-wm .pg-pitot, .pg-wm .pg-group, .pg-wm .pg-index { font-weight: 600; }
.pg-wm .pg-group, .pg-wm .pg-index { color: var(--text-mute); margin-left: 0.55em; }
.pg-wm .freq-dash { display: none; }
.wordmark .pg-wm { font-size: 12.5px; }
.wordmark .mark { display: none; }

/* Motion responds, never performs: tighter global reveal. */
.reveal { transform: translateY(12px); transition-duration: 0.6s; }
.reveal.revealed { transform: none; }

/* ============================================================
   3 · SURFACES, GLASS, CONTROLS
   ============================================================ */
.glass {
  background: var(--glass-fill);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.12);
  backdrop-filter: blur(var(--glass-blur)) saturate(1.12);
  box-shadow:
    inset 0 1px 0 0 var(--glass-edge),
    inset 0 0 0 1px rgba(var(--fg-rgb), 0.06),
    var(--glass-shadow);
  border-radius: 12px;
}

/* ---- Universal glass-box format ----------------------------
   Every card surface on the site wears the three-pillar format:
   12px radius, section-tinted glass fill, blur, inner edge
   highlight, hover lift with deepened shadow and edge glow.
   (The homepage .pillar carries the same recipe in its own CSS.) */
.about-card, .stat, .engage-block, .index-block,
.en-card, .qu-panel {
  border: 0;
  border-radius: 12px;
  background:
    linear-gradient(160deg, rgba(var(--box-tint-rgb, var(--section-rgb)), 0.07), rgba(var(--box-tint-rgb, var(--section-rgb)), 0.03) 55%),
    var(--glass-fill);
  -webkit-backdrop-filter: blur(20px) saturate(1.12);
  backdrop-filter: blur(20px) saturate(1.12);
  box-shadow:
    inset 0 1px 0 0 rgba(var(--box-tint-rgb, var(--section-rgb)), 0.18),
    inset 0 0 0 1px rgba(var(--fg-rgb), 0.06),
    var(--glass-shadow);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.about-card:hover, .stat:hover, .engage-block:hover,
.index-block:hover, .en-card:hover, .qu-panel:hover,
.about-card:focus-within, .stat:focus-within, .engage-block:focus-within,
.index-block:focus-within, .en-card:focus-within, .qu-panel:focus-within {
  background:
    linear-gradient(160deg, rgba(var(--box-tint-rgb, var(--section-rgb)), 0.07), rgba(var(--box-tint-rgb, var(--section-rgb)), 0.03) 55%),
    var(--glass-fill);
  transform: translateY(-4px) scale(1.01);
  box-shadow:
    inset 0 1px 0 0 rgba(var(--box-tint-rgb, var(--section-rgb)), 0.34),
    inset 0 0 0 1px rgba(var(--box-tint-rgb, var(--section-rgb)), 0.16),
    0 32px 64px -24px rgba(0, 0, 0, 0.65),
    0 0 48px -12px rgba(var(--section-rgb), 0.22);
}
/* The modal shares the glass format but keeps its own open/close
   transition, so only the surface is restated here. */
.modal-panel {
  border: 0;
  border-radius: 12px;
  background:
    linear-gradient(160deg, rgba(var(--box-tint-rgb, var(--section-rgb)), 0.07), rgba(var(--box-tint-rgb, var(--section-rgb)), 0.03) 55%),
    rgba(var(--surface-rgb), 0.78);
  -webkit-backdrop-filter: blur(20px) saturate(1.12);
  backdrop-filter: blur(20px) saturate(1.12);
}

/* Hairline-grid containers open up so the boxes read as boxes. */
.stat-grid { gap: 16px; background: none; border: 0; }
.qu-index-grid { gap: 16px; background: none; border: 0; overflow: visible; }
.engage-grid { gap: 24px; border-top: 0; }
.engage-block { padding: 32px; }
.engage-block + .engage-block { border-left: 0; padding-left: 32px; }
@media (max-width: 900px) {
  .engage-block { border-top: 0; padding: 32px; }
}

/* Specular sweep — a diagonal band of light that traverses a
   glass surface when the surface MOVES (hover-lift or scroll
   into view). Never loops idly. */
.specular { position: relative; overflow: hidden; }
.specular::after {
  content: "";
  position: absolute;
  top: -40%; bottom: -40%;
  left: -70%;
  width: 55%;
  transform: translateX(-120%) rotate(18deg);
  background: linear-gradient(100deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.10) 50%,
    rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
  opacity: 0;
}
.specular.is-swept::after {
  animation: specSweep 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}
@keyframes specSweep {
  0%   { transform: translateX(-120%) rotate(18deg); opacity: 0; }
  12%  { opacity: 1; }
  100% { transform: translateX(420%) rotate(18deg);  opacity: 0; }
}

/* Primary control — the one red moment per view. */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--red-fill);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 0;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.btn-primary:hover {
  box-shadow: 0 8px 24px -8px rgba(var(--red-rgb), 0.55);
  transform: translateY(-1px);
}
.btn-primary:hover::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(255, 255, 255, var(--state-hover));
}
.btn-primary:active::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, var(--state-pressed));
}

/* Primary controls — Signal Red fill, Poppins 600 (§6.3). */
.link-arrow.primary {
  background: var(--red-fill);
  border: 1px solid transparent;
  color: #FFFFFF;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  box-shadow: none;
  text-shadow: none;
}
.link-arrow.primary:hover {
  background: var(--red-fill);
  border-color: transparent;
  color: #FFFFFF;
  text-shadow: none;
  box-shadow:
    inset 0 0 0 999px rgba(255, 255, 255, var(--state-hover)),
    0 8px 24px -8px rgba(var(--red-rgb), 0.55);
}

/* Conversation CTAs — every control that opens the contact channel
   ("Speak with us", "Start a conversation", "Register interest"…)
   wears lapis-lazuli glass. Hover emulates the pillar light: lift,
   edge-glow intensifies, specular band fires. The travelling
   filament (neuralink.css ::before) is allowed to loop idly here. */
.nav-enquire,
.mobile-menu-foot .mm-enquire,
.cf-submit,
.contact-form .submit,
.link-arrow.primary[href="/contact/"],
.link-arrow.primary[href="/#contact"] {
  --nl-glow: rgb(var(--lapis-hi-rgb));
  background:
    linear-gradient(160deg, rgba(var(--lapis-rgb), 0.62), rgba(var(--lapis-rgb), 0.40) 60%);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  backdrop-filter: blur(14px) saturate(1.15);
  border: 1px solid transparent;
  color: #FFFFFF;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.22),
    inset 0 0 0 1px rgba(var(--lapis-hi-rgb), 0.30),
    0 8px 24px -10px rgba(var(--lapis-rgb), 0.55);
  text-shadow: none;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.nav-enquire:hover, .nav-enquire:focus-visible,
.mobile-menu-foot .mm-enquire:hover, .mobile-menu-foot .mm-enquire:active,
.cf-submit:hover, .cf-submit:focus-visible,
.contact-form .submit:hover, .contact-form .submit:focus-visible,
.link-arrow.primary[href="/contact/"]:hover, .link-arrow.primary[href="/contact/"]:focus-visible,
.link-arrow.primary[href="/#contact"]:hover {
  background:
    linear-gradient(160deg, rgba(var(--lapis-rgb), 0.72), rgba(var(--lapis-rgb), 0.50) 60%);
  border-color: transparent;
  color: #FFFFFF;
  text-shadow: none;
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.34),
    inset 0 0 0 1px rgba(var(--lapis-hi-rgb), 0.50),
    0 14px 32px -12px rgba(var(--lapis-rgb), 0.70),
    0 0 36px -8px rgba(var(--lapis-rgb), 0.50);
}
/* The filament ring may loop on conversation CTAs (drawn just inside
   the edge so the specular overflow clip cannot crop it). */
.nav-enquire::before,
.cf-submit::before,
.contact-form .submit::before,
.link-arrow.primary[href="/contact/"]::before,
.link-arrow.primary[href="/#contact"]::before {
  inset: 0;
  opacity: 1;
  animation: nl-ring 4.5s linear infinite;
}
/* Re-enable the specular band that .link-arrow.primary normally hides. */
.link-arrow.primary[href="/contact/"].specular::after,
.link-arrow.primary[href="/#contact"].specular::after {
  display: block !important;
}
@media (prefers-reduced-motion: reduce) {
  .nav-enquire::before,
  .cf-submit::before,
  .contact-form .submit::before,
  .link-arrow.primary[href="/contact/"]::before,
  .link-arrow.primary[href="/#contact"]::before { animation: none; }
}

/* Keyboard focus — visible everywhere, section-tinted. */
:focus-visible {
  outline: 2px solid rgba(var(--section-rgb), var(--state-focus));
  outline-offset: 3px;
  border-radius: 2px;
}



      /* film grain */



/* Reduced motion: specular sweeps collapse to a fade */
@media (prefers-reduced-motion: reduce) {
  .specular.is-swept::after { animation: none; opacity: 0; }
}
