/* ==========================================================================
   Commerce Securities Corporation
   Design system + motion layer
   --------------------------------------------------------------------------
   Palette is derived directly from the corporate mark:
     #041834  ink      (wordmark)
     #2F84FF  signal   (outer arc)
     #496B6A  slate    (inner arc)
     #B8BEB2  sage     (secondary arc)
   ========================================================================== */

/* --------------------------------------------------------------- 1. Tokens */

:root {
  /* Brand */
  --ink:        #041834;
  --ink-2:      #0A2247;
  --ink-3:      #14345F;
  --signal:     #2F84FF;
  --signal-dim: #1E63CC;
  --slate:      #496B6A;
  --sage:       #B8BEB2;

  /* Surfaces — warm paper, never a sterile #fff */
  --paper:      #F8F7F4;
  --paper-2:    #F1EFEA;
  --white:      #FFFFFF;

  /* Type colour */
  --tx-1: #041834;
  --tx-2: #41506A;
  --tx-3: #77839A;
  --tx-inv-1: #FFFFFF;
  --tx-inv-2: rgba(255, 255, 255, 0.68);
  --tx-inv-3: rgba(255, 255, 255, 0.42);

  /* Hairlines */
  --rule:     rgba(4, 24, 52, 0.12);
  --rule-2:   rgba(4, 24, 52, 0.07);
  --rule-inv: rgba(255, 255, 255, 0.16);

  /* Type */
  --sans: "Instrument Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont,
          "Segoe UI", Helvetica, Arial, sans-serif;
  --serif: "Instrument Serif", ui-serif, Georgia, "Times New Roman", serif;
  --mono: ui-monospace, "SF Mono", "Roboto Mono", Menlo, monospace;

  /* Fluid scale */
  --t-display: clamp(3.25rem, 1.4rem + 8.2vw, 9rem);
  --t-h1:      clamp(2.6rem, 1.5rem + 4.6vw, 5.25rem);
  --t-h2:      clamp(2.1rem, 1.4rem + 2.9vw, 3.75rem);
  --t-h3:      clamp(1.45rem, 1.15rem + 1.2vw, 2.05rem);
  --t-h4:      clamp(1.12rem, 1.02rem + 0.4vw, 1.32rem);
  --t-lead:    clamp(1.06rem, 0.98rem + 0.42vw, 1.32rem);
  --t-body:    1.0125rem;
  --t-small:   0.9rem;
  --t-eyebrow: 0.72rem;

  /* Rhythm */
  --gutter: clamp(1.25rem, 0.6rem + 2.6vw, 3.5rem);
  --measure: 1400px;
  --sect-y: clamp(5rem, 3rem + 8vw, 10.5rem);

  /* Motion */
  --e-out:  cubic-bezier(0.22, 1, 0.36, 1);
  --e-io:   cubic-bezier(0.65, 0, 0.35, 1);
  --e-soft: cubic-bezier(0.4, 0, 0.2, 1);

  /* Chrome */
  --nav-h: 84px;
}

/* ------------------------------------------------------------ 2. Foundation */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--tx-1);
  font-family: var(--sans);
  font-size: var(--t-body);
  line-height: 1.62;
  font-feature-settings: "kern" 1, "liga" 1, "cv05" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--signal); color: #fff; }

:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 999;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 4px;
  transition: top 0.2s var(--e-out);
}
.skip:focus { top: 12px; }

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

/* Film grain — the single biggest cue that a page was art-directed. */
body::after {
  content: "";
  position: fixed; inset: -120px;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.34;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='0.42'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

/* ---------------------------------------------------------- 3. Layout rails */

.wrap {
  width: 100%;
  max-width: var(--measure);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap--narrow { max-width: 940px; }
.wrap--mid    { max-width: 1140px; }

section { position: relative; }
.sect { padding-block: var(--sect-y); }
.sect--tight { padding-block: clamp(3.5rem, 2rem + 5vw, 7rem); }

.grid { display: grid; gap: clamp(1.5rem, 1rem + 2.4vw, 4rem); }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }

.hr { height: 1px; background: var(--rule-2); border: 0; margin: 0; }

/* -------------------------------------------------------------- 4. Typography */

.display {
  font-family: var(--serif);
  font-size: var(--t-display);
  line-height: 0.9;
  letter-spacing: -0.028em;
  font-weight: 400;
}

.h1 {
  font-family: var(--serif);
  font-size: var(--t-h1);
  line-height: 0.98;
  letter-spacing: -0.024em;
}

.h2 {
  font-family: var(--serif);
  font-size: var(--t-h2);
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.h3 {
  font-family: var(--serif);
  font-size: var(--t-h3);
  line-height: 1.16;
  letter-spacing: -0.012em;
}

.h4 {
  font-family: var(--sans);
  font-size: var(--t-h4);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.011em;
}

.lead {
  font-size: var(--t-lead);
  line-height: 1.5;
  color: var(--tx-2);
  letter-spacing: -0.005em;
}

.small { font-size: var(--t-small); line-height: 1.6; }
.muted { color: var(--tx-2); }
.faint { color: var(--tx-3); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65em;
  padding: 0.55em 0.85em;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: var(--t-eyebrow);
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--tx-3);
  font-feature-settings: "tnum" 1;
}
.eyebrow::before {
  content: "";
  width: 0.45em; height: 0.45em;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.65;
}
.eyebrow--plain::before { display: none; }
.eyebrow--inv { color: var(--tx-inv-3); }

@keyframes rule-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Serif italic accent used sparingly for emphasis inside headings */
.accent { font-style: italic; color: var(--signal); }
.accent--sage { font-style: italic; color: var(--sage); }

/* Numeric label, e.g. "01" */
.idx {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  color: var(--tx-3);
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------- 5. Buttons */

.btn {
  --bg: var(--ink);
  --fg: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.85em;
  padding: 1.05em 1.85em;
  background: var(--bg);
  color: var(--fg);
  font-size: 0.855rem;
  font-weight: 600;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  border: 1px solid var(--bg);
  border-radius: 999px;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.4s var(--e-out), border-color 0.4s var(--e-out),
              transform 0.4s var(--e-out);
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--signal);
  transform: translateY(101%);
  transition: transform 0.52s var(--e-out);
}

.btn:hover { transform: translateY(-2px); border-color: var(--signal); }
.btn:hover::before { transform: translateY(0); }
.btn:active { transform: translateY(0); }

.btn .arw {
  width: 1.05em; height: 1.05em;
  flex: none;
  transition: transform 0.45s var(--e-out);
}
.btn:hover .arw { transform: translateX(4px); }

.btn--ghost {
  --bg: transparent;
  --fg: var(--ink);
  border-color: var(--rule);
}
.btn--ghost:hover { --fg: #fff; }

.btn--inv { --bg: #fff; --fg: var(--ink); }
.btn--inv:hover { --fg: #fff; }

.btn--ghost-inv {
  --bg: transparent;
  --fg: #fff;
  border-color: var(--rule-inv);
}

/* Inline text link with a rule that wipes on hover */
.tlink {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.035em;
  padding-bottom: 4px;
}
.tlink::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(1);
  transform-origin: right;
  transition: transform 0.42s var(--e-out);
}
.tlink:hover::after { transform: scaleX(0); }
.tlink .arw { width: 0.95em; transition: transform 0.42s var(--e-out); }
.tlink:hover .arw { transform: translateX(5px); }

/* -------------------------------------------------------- 6. Navigation bar */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: height 0.5s var(--e-out), background-color 0.5s var(--e-out),
              box-shadow 0.5s var(--e-out), border-color 0.5s var(--e-out);
  border-bottom: 1px solid transparent;
}

.nav__in {
  width: 100%;
  max-width: var(--measure);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav__logo { display: block; flex: none; }
.nav__logo img {
  height: clamp(26px, 2.3vw, 32px);
  width: auto;
  transition: height 0.5s var(--e-out), opacity 0.4s var(--e-out);
}
.nav__logo .lg-light { display: block; }
.nav__logo .lg-dark  { display: none; }

.nav__menu { display: flex; align-items: center; gap: clamp(1.5rem, 2.4vw, 2.75rem); }

.nav__item { position: relative; }

.nav__link {
  position: relative;
  display: inline-block;
  padding: 0.5rem 0;
  font-size: 0.855rem;
  font-weight: 500;
  letter-spacing: 0.028em;
  color: var(--tx-inv-2);
  transition: color 0.35s var(--e-out);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--e-out);
}
.nav__link:hover { color: #fff; }
.nav__link:hover::after,
.nav__item.is-current .nav__link::after { transform: scaleX(1); }
.nav__item.is-current .nav__link { color: #fff; }

.nav__cta {
  padding: 0.78em 1.4em;
  font-size: 0.78rem;
}

/* Solid state, applied after scroll or on interior pages */
.nav.is-solid {
  height: 68px;
  background: rgba(248, 247, 244, 0.82);
  backdrop-filter: saturate(1.5) blur(18px);
  -webkit-backdrop-filter: saturate(1.5) blur(18px);
  border-bottom-color: var(--rule-2);
}
.nav.is-solid .nav__logo .lg-light { display: none; }
.nav.is-solid .nav__logo .lg-dark  { display: block; }
.nav.is-solid .nav__link { color: var(--tx-2); }
.nav.is-solid .nav__link:hover,
.nav.is-solid .nav__item.is-current .nav__link { color: var(--ink); }
.nav.is-solid .btn--ghost-inv { --fg: var(--ink); border-color: var(--rule); }
.nav.is-solid .btn--ghost-inv:hover { --fg: #fff; }

/* Auto-hide on downward scroll */
.nav.is-tucked { transform: translateY(-100%); }
.nav { transition-property: height, background-color, box-shadow, border-color, transform; }

/* Burger */
.burger {
  display: none;
  width: 44px; height: 44px;
  margin-right: -8px;
  background: none;
  border: 0;
  cursor: pointer;
  position: relative;
}
.burger span {
  position: absolute;
  left: 10px;
  width: 24px; height: 1.5px;
  background: #fff;
  transition: transform 0.45s var(--e-out), opacity 0.25s var(--e-out),
              background-color 0.4s var(--e-out);
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 23px; }
.burger span:nth-child(3) { top: 29px; }
.nav.is-solid .burger span { background: var(--ink); }

body.menu-open .burger span { background: #fff; }
body.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: var(--ink);
  padding: calc(var(--nav-h) + 2rem) var(--gutter) 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.72s var(--e-out);
  overflow-y: auto;
}
body.menu-open .drawer { clip-path: inset(0 0 0 0); }

.drawer__nav { display: flex; flex-direction: column; gap: 0.35rem; margin-top: 1rem; }
.drawer__link {
  font-family: var(--serif);
  font-size: clamp(2rem, 8vw, 3rem);
  line-height: 1.16;
  color: #fff;
  letter-spacing: -0.02em;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--e-out), transform 0.6s var(--e-out);
}
body.menu-open .drawer__link { opacity: 1; transform: none; }
.drawer__link:nth-child(1) { transition-delay: 0.14s; }
.drawer__link:nth-child(2) { transition-delay: 0.20s; }
.drawer__link:nth-child(3) { transition-delay: 0.26s; }
.drawer__link:nth-child(4) { transition-delay: 0.32s; }
.drawer__link:nth-child(5) { transition-delay: 0.38s; }

.drawer__foot {
  color: var(--tx-inv-2);
  font-size: 0.9rem;
  border-top: 1px solid var(--rule-inv);
  padding-top: 1.5rem;
  margin-top: 2.5rem;
  opacity: 0;
  transition: opacity 0.5s var(--e-out) 0.42s;
}
body.menu-open .drawer__foot { opacity: 1; }

body.menu-open { overflow: hidden; }

/* ------------------------------------------------------------------ 7. Hero */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  padding-bottom: clamp(2.5rem, 5vh, 5rem);
}

/* Layered field: gradient wash + hairline grid + arc system */
.hero__field { position: absolute; inset: 0; overflow: hidden; }

.hero__wash {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(58% 62% at 74% 26%, rgba(47, 132, 255, 0.42) 0%, transparent 62%),
    radial-gradient(52% 55% at 18% 84%, rgba(73, 107, 106, 0.5) 0%, transparent 66%),
    radial-gradient(90% 90% at 50% 0%, rgba(20, 52, 95, 0.85) 0%, transparent 70%),
    linear-gradient(168deg, #051C3E 0%, #041834 46%, #030F22 100%);
  animation: wash 26s var(--e-soft) infinite alternate;
}

@keyframes wash {
  0%   { transform: scale(1) translate3d(0, 0, 0); }
  100% { transform: scale(1.09) translate3d(-2.2%, -1.6%, 0); }
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.038) 1px, transparent 1px);
  background-size: clamp(70px, 8vw, 132px) clamp(70px, 8vw, 132px);
  mask-image: radial-gradient(78% 78% at 50% 42%, #000 12%, transparent 88%);
  -webkit-mask-image: radial-gradient(78% 78% at 50% 42%, #000 12%, transparent 88%);
  animation: grid-drift 40s linear infinite;
}

@keyframes grid-drift {
  to { background-position: clamp(70px, 8vw, 132px) clamp(70px, 8vw, 132px); }
}

/* The arc motif is lifted straight from the corporate mark: four nested
   quarter-arcs. They breathe and rotate very slowly behind the type. */
.hero__arcs {
  position: absolute;
  right: -10vw;
  top: 50%;
  width: min(112vh, 1000px);
  aspect-ratio: 1;
  translate: 0 -50%;
  opacity: 0.9;
  will-change: transform;
}

.hero__arcs svg { width: 100%; height: 100%; overflow: visible; }

.hero__arcs circle {
  fill: none;
  stroke-linecap: round;
  transform-origin: 50% 50%;
  stroke-dasharray: var(--len) var(--gap);
  stroke-dashoffset: var(--len);
  animation:
    arc-draw 2.2s var(--e-out) forwards var(--in, 0s),
    arc-spin var(--spin, 60s) linear infinite;
}

/* Counter-rotating ring — alternate these so the system never reads as a
   single spinning object. */
.hero__arcs circle.ccw {
  animation:
    arc-draw 2.2s var(--e-out) forwards var(--in, 0s),
    arc-spin-r var(--spin, 60s) linear infinite;
}

@keyframes arc-draw { to { stroke-dashoffset: 0; } }
@keyframes arc-spin { to { rotate: 360deg; } }
@keyframes arc-spin-r { to { rotate: -360deg; } }

/* Decorative arc set inside .panel — static, no draw-in */
.panel__arcs circle { transform-origin: 50% 50%; }
.panel__arcs { animation: arc-spin 150s linear infinite; }

.hero__glow {
  position: absolute;
  right: 4vw; top: 46%;
  width: min(46vh, 420px); aspect-ratio: 1;
  translate: 0 -50%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47,132,255,0.5) 0%, transparent 68%);
  filter: blur(46px);
  animation: pulse 9s var(--e-soft) infinite alternate;
}

@keyframes pulse {
  0%   { opacity: 0.5; transform: scale(0.94); }
  100% { opacity: 0.95; transform: scale(1.1); }
}

/* Vignette so type always clears the field */
.hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(3, 15, 34, 0.94) 0%, rgba(3, 15, 34, 0.32) 44%, transparent 72%),
    linear-gradient(to right, rgba(3, 15, 34, 0.7) 0%, transparent 58%);
}

.hero__in {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--measure);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Slides */
.hero__deck { position: relative; }

.hero__slide {
  grid-area: 1 / 1;
  max-width: 74rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.7s var(--e-out), visibility 0s linear 0.75s;
}
.hero__deck { display: grid; }
.hero__slide.is-live {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.7s var(--e-out), visibility 0s;
}

.hero__slide .ln { transition-delay: 0s; }

.hero__kicker { margin-bottom: clamp(1rem, 2vh, 1.6rem); }

.hero__title {
  font-family: var(--serif);
  font-size: var(--t-display);
  line-height: 0.88;
  letter-spacing: -0.03em;
  margin-bottom: clamp(1rem, 2.2vh, 1.75rem);
}
.hero__title em { font-style: italic; color: var(--sage); }

.hero__sub {
  max-width: 46ch;
  font-size: var(--t-lead);
  line-height: 1.52;
  color: var(--tx-inv-2);
  margin-bottom: clamp(1.6rem, 3vh, 2.5rem);
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* Line-mask reveal used across the whole site */
.ln { display: block; overflow: hidden; }
.ln > i {
  display: block;
  font-style: inherit;
  transform: translateY(105%);
  transition: transform 0.95s var(--e-out) var(--d, 0s);
}
.is-in .ln > i, .hero__slide.is-live .ln > i { transform: translateY(0); }

/* Hero controls */
.hero__bar {
  position: relative;
  z-index: 3;
  margin-top: clamp(2.5rem, 6vh, 4.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule-inv);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.hero__dots { display: flex; gap: 0.75rem; align-items: center; }

.hero__dot {
  position: relative;
  width: 54px; height: 2px;
  padding: 14px 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.hero__dot::before {
  content: "";
  position: absolute; inset: 14px 0;
  background: rgba(255,255,255,0.24);
}
.hero__dot::after {
  content: "";
  position: absolute; inset: 14px auto 14px 0;
  width: 100%;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
}
.hero__dot.is-live::after {
  animation: dot-fill var(--dur, 7s) linear forwards;
}
@keyframes dot-fill { to { transform: scaleX(1); } }

.hero__meta {
  display: flex;
  gap: clamp(1.25rem, 3vw, 2.75rem);
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--tx-inv-3);
  font-variant-numeric: tabular-nums;
}
.hero__meta b { color: rgba(255,255,255,0.85); font-weight: 600; }

.scrollcue {
  position: absolute;
  left: 50%; bottom: 1.1rem;
  translate: -50% 0;
  z-index: 4;
  width: 1px; height: 46px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.5));
  overflow: hidden;
}
.scrollcue::after {
  content: "";
  position: absolute; inset: 0;
  background: #fff;
  animation: cue 2.4s var(--e-io) infinite;
}
@keyframes cue {
  0%   { transform: translateY(-100%); }
  55%  { transform: translateY(100%); }
  100% { transform: translateY(100%); }
}

/* Interior page header */
.phead {
  position: relative;
  background: var(--ink);
  color: #fff;
  padding-top: calc(var(--nav-h) + clamp(4rem, 9vw, 8rem));
  padding-bottom: clamp(3.5rem, 7vw, 6.5rem);
  overflow: hidden;
}
.phead .hero__wash { animation-duration: 34s; }
.phead__in { position: relative; z-index: 3; }
.phead__title { margin: 0.9rem 0 0; }
.phead__sub { max-width: 54ch; margin-top: 1.5rem; color: var(--tx-inv-2); }

.crumb {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  font-size: 0.76rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--tx-inv-3);
  margin-top: clamp(2rem, 4vw, 3.25rem);
}
.crumb a { transition: color 0.3s var(--e-out); }
.crumb a:hover { color: #fff; }

/* ------------------------------------------------------- 8. Marquee / ticker */

.ticker {
  background: var(--ink);
  color: var(--tx-inv-2);
  border-block: 1px solid var(--rule-inv);
  overflow: hidden;
  padding-block: 1.05rem;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: slide-x 46s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__row { display: flex; align-items: center; }
.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding-inline: clamp(1.5rem, 3vw, 2.75rem);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.ticker__item span { color: rgba(255,255,255,0.9); font-weight: 600; }
.ticker__item::after {
  content: "";
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--signal);
  margin-left: clamp(1.5rem, 3vw, 2.75rem);
}
@keyframes slide-x { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------ 9. Components */

/* Section header block */
.shead { display: grid; gap: clamp(1.25rem, 2.5vw, 2.5rem); align-items: end; }
@media (min-width: 900px) {
  .shead { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
}
.shead__title { max-width: 18ch; }
.shead__body { max-width: 52ch; }

/* Pillar mosaic — five discrete business cards */
.pillars {
  display: grid;
  gap: clamp(1rem, 1.8vw, 1.5rem);
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
}

.pillar {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-height: 18rem;
  padding: clamp(1.6rem, 2.7vw, 2.5rem);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 0.5s var(--e-out), border-color 0.5s var(--e-out);
}
@media (min-width: 860px) {
  .pillars { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .pillar { grid-column: span 2; }
  .pillar:nth-child(4) { grid-column: 2 / span 2; }
}
.pillar::before {
  content: "";
  position: absolute;
  right: -3.5rem;
  bottom: -4.5rem;
  width: 10rem;
  aspect-ratio: 1;
  border: 1px solid var(--rule);
  border-radius: 50%;
  transition: transform 0.7s var(--e-out), border-color 0.5s var(--e-out);
}
.pillar:hover { transform: translateY(-5px); border-color: var(--signal); }
.pillar:hover::before { transform: scale(1.18); border-color: var(--signal); }
.pillar .idx {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid var(--rule);
  border-radius: 50%;
}
.pillar__t { transition: color 0.45s var(--e-out); }
.pillar:hover .pillar__t { color: var(--signal-dim); }
.pillar__b { color: var(--tx-2); margin-top: auto; }

/* Cards */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.6rem, 2.6vw, 2.4rem);
  background: var(--white);
  border: 1px solid var(--rule-2);
  border-radius: 3px;
  overflow: hidden;
  transition: transform 0.55s var(--e-out), box-shadow 0.55s var(--e-out),
              border-color 0.55s var(--e-out);
}
.card::after {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 2px;
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--e-out);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 48px -26px rgba(4, 24, 52, 0.35);
  border-color: var(--rule);
}
.card:hover::after { transform: scaleX(1); }

.card__ico {
  width: 44px; height: 44px;
  margin-bottom: 0.4rem;
  color: var(--signal);
}
.card__ico svg { width: 100%; height: 100%; }
.card__b { color: var(--tx-2); font-size: 0.985rem; }
.card__list {
  margin: 0.35rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rule-2);
}
.card__list li {
  padding: 0.62rem 0 0.62rem 1.25rem;
  border-bottom: 1px solid var(--rule-2);
  font-size: 0.9rem;
  color: var(--tx-2);
  position: relative;
}
.card__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 1.05em;
  width: 5px; height: 1px;
  background: var(--signal);
}
.card__list li:last-child { border-bottom: 0; }

.card--dark {
  background: var(--ink);
  color: #fff;
  border-color: transparent;
}
.card--dark .card__b { color: var(--tx-inv-2); }

/* Stat block with animated counters */
.stats {
  display: grid;
  gap: clamp(1rem, 1.8vw, 1.5rem);
}
@media (min-width: 640px) { .stats { grid-template-columns: repeat(2, 1fr); } }

.stat {
  display: grid;
  grid-template-columns: clamp(5.5rem, 8vw, 7.5rem) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: clamp(1.25rem, 2.5vw, 2rem);
  align-items: center;
  min-height: 12rem;
  padding: clamp(1.4rem, 2.5vw, 2rem);
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: 1rem;
  transition: transform 0.5s var(--e-out), border-color 0.5s var(--e-out);
}
.stat:hover { transform: translateY(-4px); border-color: var(--signal); }
.stat__n {
  grid-row: 1 / 3;
  font-family: var(--serif);
  font-size: clamp(2rem, 1.4rem + 2vw, 3.2rem);
  line-height: 0.94;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 0.06em;
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid var(--rule);
  border-radius: 50%;
}
.stat__n sup {
  font-family: var(--sans);
  font-size: 0.26em;
  font-weight: 600;
  top: -1.4em;
  letter-spacing: 0.04em;
}
.stat__l {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tx-3);
}
.stat__d { margin-top: 0.5rem; font-size: 0.9rem; color: var(--tx-2); }

/* Homepage contact feature: dark text-led band with a circular mark panel. */
.cadence {
  background: var(--ink);
  color: var(--tx-inv-1);
}
.cadence__layout > :first-child { order: 2; }
.cadence__layout > :last-child { order: 1; }
.cadence .panel {
  aspect-ratio: 1;
  border-radius: 50%;
}
.cadence .panel__tag {
  left: 10%;
  right: 10%;
  bottom: 9%;
  padding: 0;
  text-align: center;
}
.cadence .lead,
.cadence .muted { color: var(--tx-inv-2); }
.cadence .eyebrow,
.cadence .idx { color: var(--tx-inv-3); }
.cadence .tlink { color: var(--tx-inv-1); }

/* Split media / feature panel */
.split { display: grid; gap: clamp(2rem, 4vw, 5rem); align-items: center; }
@media (min-width: 940px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .split--wide-l { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
}

/* Abstract brand panel used where a photograph would otherwise sit.
   Drop a real image inside .panel to replace it. */
.panel {
  position: relative;
  aspect-ratio: 4 / 3.1;
  border-radius: 3px;
  overflow: hidden;
  background: linear-gradient(160deg, #0A2247 0%, #041834 58%, #030F22 100%);
  isolation: isolate;
}
.panel img { width: 100%; height: 100%; object-fit: cover; }
.panel__arcs {
  position: absolute;
  inset: -12% -12% auto auto;
  width: 118%;
  aspect-ratio: 1;
  opacity: 0.85;
}
.panel__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 70% at 40% 60%, #000, transparent);
  -webkit-mask-image: radial-gradient(70% 70% at 40% 60%, #000, transparent);
}
.panel__tag {
  position: absolute;
  left: 0; bottom: 0;
  padding: 1.4rem 1.6rem;
  color: #fff;
}
.panel__tag .v {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.02em;
}
.panel__tag .k {
  margin-top: 0.5rem;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tx-inv-3);
}

/* Quiet quote / statement band */
.band {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.band .hero__wash { opacity: 0.9; animation-duration: 30s; }
.band__in { position: relative; z-index: 2; }
.band__q {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 1.1rem + 2.4vw, 3.1rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
  max-width: 22ch;
}
.band__q em { font-style: italic; color: var(--sage); }

/* Leadership — text only, no portraits */
.people { border-top: 1px solid var(--rule); }

.person {
  display: grid;
  gap: 0.5rem 2.5rem;
  padding-block: clamp(1.9rem, 3.4vw, 3rem);
  border-bottom: 1px solid var(--rule-2);
  position: relative;
}
@media (min-width: 860px) {
  .person { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: start; }
}
.person__name {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.35rem);
  line-height: 1.08;
  letter-spacing: -0.018em;
}
.person__role {
  margin-top: 0.55rem;
  font-size: 0.8rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--signal);
  font-weight: 600;
}
.person__crd {
  margin-top: 0.4rem;
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  color: var(--tx-3);
}
.person__b { color: var(--tx-2); }
.person__b p + p { margin-top: 0.8em; }

/* Definition rows — used for firm record, registrations, disclosures */
.rows { border-top: 1px solid var(--rule); }
.row {
  display: grid;
  gap: 0.25rem 2.5rem;
  padding-block: 1.15rem;
  border-bottom: 1px solid var(--rule-2);
  align-items: baseline;
}
@media (min-width: 700px) {
  .row { grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr); }
}
.row__k {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tx-3);
}
.row__v { font-size: 1rem; }
.row__v .mono { font-family: var(--mono); font-size: 0.94em; letter-spacing: 0.02em; }

/* Pill / chip */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.42em 0.95em;
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--tx-2);
  background: var(--white);
}
.chip::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--signal);
}
.chip--inv { border-color: var(--rule-inv); background: transparent; color: var(--tx-inv-2); }

/* Prose block for long legal copy */
.prose { max-width: 74ch; }
.prose h3 { margin: 2.6rem 0 0.85rem; }
.prose h3:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--tx-2); }
.prose ul { margin: 0 0 1.15em; padding-left: 1.1rem; }
.prose li { margin-bottom: 0.45em; }
.prose a { color: var(--signal-dim); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { color: var(--ink); }

/* Accordion */
.acc { border-top: 1px solid var(--rule); }
.acc__item { border-bottom: 1px solid var(--rule-2); }
.acc__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.25rem, 2.2vw, 1.75rem) 0;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.5rem);
  letter-spacing: -0.012em;
  color: var(--ink);
}
.acc__sign {
  flex: none;
  position: relative;
  width: 16px; height: 16px;
}
.acc__sign::before, .acc__sign::after {
  content: "";
  position: absolute;
  background: var(--ink);
  transition: transform 0.45s var(--e-out), opacity 0.3s var(--e-out);
}
.acc__sign::before { inset: 7.5px 0 auto 0; height: 1px; }
.acc__sign::after  { inset: 0 auto 0 7.5px; width: 1px; }
.acc__item.is-open .acc__sign::after { transform: scaleY(0); opacity: 0; }

.acc__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.6s var(--e-out);
}
.acc__item.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__panel > div { overflow: hidden; }
.acc__panel p { padding-bottom: 1.5rem; color: var(--tx-2); max-width: 68ch; }

/* Contact cards */
.info { display: grid; gap: 1px; background: var(--rule-2); border-block: 1px solid var(--rule-2); }
@media (min-width: 780px) { .info { grid-template-columns: repeat(3, 1fr); } }
.info__c { background: var(--paper); padding: clamp(1.6rem, 2.6vw, 2.4rem); }
.info__k {
  font-size: 0.76rem; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--tx-3); margin-bottom: 1rem;
}
.info__v { font-size: 1.02rem; line-height: 1.55; }
.info__v a { transition: color 0.3s var(--e-out); }
.info__v a:hover { color: var(--signal-dim); }

/* Form */
.form { display: grid; gap: 1.5rem; }
@media (min-width: 700px) { .form__2 { grid-template-columns: 1fr 1fr; display: grid; gap: 1.5rem; } }

.field { position: relative; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 1.5rem 0 0.75rem;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
  font-size: 1rem;
  transition: border-color 0.4s var(--e-out);
  appearance: none;
}
.field textarea { min-height: 128px; resize: vertical; }
.field label {
  position: absolute;
  left: 0; top: 1.35rem;
  font-size: 1rem;
  color: var(--tx-3);
  pointer-events: none;
  transform-origin: left top;
  transition: transform 0.34s var(--e-out), color 0.34s var(--e-out);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-bottom-color: var(--signal);
}
.field input:focus + label,
.field textarea:focus + label,
.field select:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:not(:placeholder-shown) + label,
.field select:valid + label {
  transform: translateY(-1.35rem) scale(0.72);
  color: var(--tx-3);
}
.field input::placeholder, .field textarea::placeholder { color: transparent; }
.field .err {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.8rem;
  color: #B0261F;
  min-height: 1.1em;
}
.field.is-bad input, .field.is-bad textarea { border-bottom-color: #B0261F; }

.consent {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--tx-2);
  line-height: 1.55;
}
.consent input { margin-top: 0.28rem; accent-color: var(--signal); flex: none; }

.formnote {
  margin-top: 1rem;
  padding: 1rem 1.2rem;
  border-left: 2px solid var(--signal);
  background: rgba(47, 132, 255, 0.06);
  font-size: 0.86rem;
  color: var(--tx-2);
}
.formnote[hidden] { display: none; }

/* -------------------------------------------------------------- 10. Footer */

.foot {
  background: var(--ink);
  color: var(--tx-inv-2);
  position: relative;
  overflow: hidden;
}
.foot .hero__wash { opacity: 0.55; }
.foot__in { position: relative; z-index: 2; }

.foot__top {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  padding-block: clamp(3.5rem, 6vw, 6rem);
}
@media (min-width: 940px) {
  .foot__top { grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.8fr) minmax(0, 0.85fr); }
}

.foot__logo { height: 34px; width: auto; margin-bottom: 1.75rem; }

.foot__cta {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3.1rem);
  line-height: 1.06;
  letter-spacing: -0.022em;
  color: #fff;
  max-width: 14ch;
}

.foot__k {
  font-size: 0.74rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--tx-inv-3);
  margin-bottom: 1.25rem;
}

.foot__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.foot__list a {
  font-size: 0.95rem;
  transition: color 0.3s var(--e-out), padding-left 0.35s var(--e-out);
}
.foot__list a:hover { color: #fff; padding-left: 6px; }

.foot__addr { font-style: normal; font-size: 0.95rem; line-height: 1.7; }
.foot__addr a:hover { color: #fff; }

.bcheck {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.75rem;
  padding: 0.9rem 1.15rem;
  border: 1px solid var(--rule-inv);
  border-radius: 3px;
  transition: border-color 0.4s var(--e-out), background-color 0.4s var(--e-out);
}
.bcheck:hover { border-color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.04); }
.bcheck__m {
  flex: none;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--signal);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.bcheck__t { font-size: 0.78rem; line-height: 1.4; }
.bcheck__t b { display: block; color: #fff; font-weight: 600; }

.foot__legal {
  border-top: 1px solid var(--rule-inv);
  padding-block: clamp(2rem, 3.5vw, 3rem);
  font-size: 0.82rem;
  line-height: 1.72;
  color: var(--tx-inv-3);
  max-width: 96ch;
}
.foot__legal p + p { margin-top: 0.9em; }
.foot__legal a { color: var(--tx-inv-2); text-decoration: underline; text-underline-offset: 2px; }
.foot__legal a:hover { color: #fff; }

.foot__bar {
  border-top: 1px solid var(--rule-inv);
  padding-block: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--tx-inv-3);
}
.foot__bar nav { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.foot__bar a:hover { color: #fff; }

/* ------------------------------------------------- 11. Scroll reveal system */

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.9s var(--e-out) var(--d, 0s),
    transform 1s var(--e-out) var(--d, 0s);
  will-change: opacity, transform;
}
[data-reveal="fade"] { transform: none; }
[data-reveal="left"] { transform: translateX(-30px); }
[data-reveal="right"] { transform: translateX(30px); }
[data-reveal="scale"] { transform: scale(0.965); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* Headings that use the .ln mask do not need opacity fade */
[data-reveal="lines"] { opacity: 1; transform: none; }

/* Stagger children */
[data-stagger] > * { --d: calc(var(--i, 0) * 90ms); }

/* Page transition curtain */
.curtain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--ink);
  pointer-events: none;
  transform: translateY(0);
  transition: transform 0.85s var(--e-out);
}
.curtain.is-up { transform: translateY(-100%); }
.curtain.is-down { transform: translateY(0); transition-duration: 0.6s; }

/* ------------------------------------------------------- 12. Responsive tune */

/* Desktop hero is centered; interior headers keep an editorial counterweight. */
@media (min-width: 1081px) {
  body[data-hero] .hero {
    align-items: center;
    padding-top: var(--nav-h);
    padding-bottom: 0;
  }

  body[data-hero] .hero__arcs {
    right: auto;
    left: 50%;
    translate: -50% -50%;
    opacity: 0.52;
  }

  body[data-hero] .hero__glow {
    right: auto;
    left: 50%;
    translate: -50% -50%;
  }

  body[data-hero] .hero__veil {
    background:
      linear-gradient(to top, rgba(3, 15, 34, 0.94) 0%, rgba(3, 15, 34, 0.32) 44%, transparent 72%),
      radial-gradient(circle at 50% 48%, rgba(3, 15, 34, 0.22) 0%, transparent 66%);
  }

  body[data-hero] .hero__slide {
    margin-inline: auto;
    text-align: center;
  }

  body[data-hero] .hero__kicker {
    display: flex;
    justify-content: center;
  }

  body[data-hero] .hero__sub {
    margin-inline: auto;
  }

  body[data-hero] .hero__actions {
    justify-content: center;
  }

  .phead .hero__arcs {
    right: auto;
    left: -10vw;
  }

  .phead .hero__glow {
    right: auto;
    left: 4vw;
  }

  .phead .hero__veil {
    background:
      linear-gradient(to top, rgba(3, 15, 34, 0.94) 0%, rgba(3, 15, 34, 0.32) 44%, transparent 72%),
      linear-gradient(to left, rgba(3, 15, 34, 0.7) 0%, transparent 58%);
  }

  .phead__in { text-align: right; }
  .phead__in > .eyebrow { display: flex; justify-content: flex-end; }
  .phead__sub { margin-left: auto; }
  .crumb { justify-content: flex-end; }
}

@media (max-width: 1080px) {
  .nav__menu { display: none; }
  .burger { display: block; }

  body[data-hero] .hero {
    align-items: center;
    padding-top: var(--nav-h);
    padding-bottom: 0;
  }

  body[data-hero] .hero__slide,
  .phead__in {
    text-align: center;
  }

  body[data-hero] .hero__sub,
  .phead__sub {
    margin-inline: auto;
  }

  body[data-hero] .hero__actions,
  .crumb {
    justify-content: center;
  }

  .phead__in > .eyebrow {
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 940px) {
  .g-3, .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  :root { --nav-h: 72px; }
  .g-2, .g-3, .g-4 { grid-template-columns: minmax(0, 1fr); }
  .hero { min-height: 92svh; }
  .hero__slide { max-width: none; }
  body[data-hero] .hero__arcs {
    right: auto;
    left: 50%;
    translate: -50% -50%;
    opacity: 0.55;
  }
  body[data-hero] .hero__glow {
    right: auto;
    left: 50%;
    translate: -50% -50%;
  }
  .hero__bar { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .hero__meta { flex-wrap: wrap; gap: 0.5rem 1.5rem; }
  .scrollcue { display: none; }
  .ticker__item { font-size: 0.72rem; }
}

@media (max-width: 480px) {
  .btn { padding: 0.95em 1.5em; font-size: 0.8rem; }
}

/* ------------------------------------------------- 13. Reduced motion + print */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .ln > i { transform: none !important; }
  .curtain { display: none; }
  .hero__dot.is-live::after { transform: scaleX(1); }
}

@media print {
  .nav, .drawer, .curtain, .scrollcue, .ticker, body::after { display: none !important; }
  body { background: #fff; color: #000; }
  .hero, .phead, .band, .foot { background: #fff !important; color: #000 !important; }
  .hero__field, .foot .hero__wash { display: none !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.8em; }
}
