/* ========== Clockchain 2026 — Design System ========== */

:root {
  /* Surface — DARK (default) */
  --bg: oklch(0.12 0.012 150);
  --bg-deep: oklch(0.07 0.01 150);
  --bg-elev: oklch(0.16 0.012 150);
  --panel: oklch(0.22 0.014 150 / 0.55);
  --panel-2: oklch(0.28 0.014 150 / 0.45);
  --line: oklch(1 0 0 / 0.08);
  --line-strong: oklch(1 0 0 / 0.18);

  /* Text */
  --fg: oklch(0.97 0.005 145);
  --fg-2: oklch(0.78 0.008 145);
  --fg-3: oklch(0.58 0.012 145);
  --fg-4: oklch(0.42 0.014 145);

  /* Neutral structural accent (was steel blue) — used for rims, glows, illustration line work. Green --state is the sole brand accent. */
  --acc: oklch(0.66 0 0);
  --acc-2: oklch(0.66 0 0);
  --acc-dim: oklch(0.5 0 0);
  --acc-glow: oklch(0.66 0 0 / 0.45);

  /* State / brand accent — bright green #00cc00. Logo, Clockchain wordmark, LIVE, primary CTA */
  --state: oklch(0.72 0.255 142);
  --state-2: oklch(0.72 0.255 142);
  --state-dim: oklch(0.5 0.25 142);
  --state-glow: oklch(0.72 0.255 142 / 0.45);

  /* Deep teal #2c8769 — used for deep tints, secondary fills, hover layers */
  --acc-deep: oklch(0.52 0.10 165);
  --acc-deep-glow: oklch(0.52 0.10 165 / 0.45);

  /* Pale blue #bddbe8 — soft ambient tone, faint glows, light-theme accent */
  --acc-pale: oklch(0.87 0.029 220);
  --acc-pale-glow: oklch(0.87 0.029 220 / 0.35);

  /* Type */
  --f-display: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --f-sans: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Metrics */
  --maxw: 1440px;
  --gut: clamp(20px, 4vw, 56px);
}

/* Typeface toggle — Manrope is the default; toggle for comparison */
:root[data-typeface="space-grotesk"] {
  --f-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --f-sans: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
}
:root[data-typeface="manrope"] {
  --f-display: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --f-sans: "Manrope", ui-sans-serif, system-ui, sans-serif;
}
:root[data-typeface="hanken"] {
  --f-display: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  --f-sans: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--fg); }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f-sans);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  background:
    radial-gradient(1200px 700px at 80% -10%, oklch(0.4 0.16 142 / 0.18), transparent 60%),
    radial-gradient(900px 600px at -10% 30%, oklch(0.4 0.16 142 / 0.10), transparent 60%),
    var(--bg);
  background-attachment: fixed;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

/* Selection */
::selection { background: var(--acc); color: var(--bg-deep); }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: oklch(0.3 0.02 145); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--acc-dim); }

/* ========== Utility ========== */
.shell { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
.eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--acc);
  box-shadow: 0 0 12px var(--acc-glow);
}

/* ---- Liquid glass: subtle base + gradient inner border via ::before ---- */
.glass, .glass-2, .liquid-glass {
  position: relative;
  overflow: hidden;
  background: oklch(1 0 0 / 0.02);
  background-blend-mode: luminosity;
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  box-shadow:
    inset 0 1px 1px oklch(1 0 0 / 0.10),
    0 24px 60px -40px oklch(0 0 0 / 0.6);
  border: none;
  border-radius: 22px;
}
.glass-2 { border-radius: 26px; }
.glass::before, .glass-2::before, .liquid-glass::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1.4px;
  background: linear-gradient(
    180deg,
    oklch(1 0 0 / 0.45) 0%,
    oklch(1 0 0 / 0.15) 20%,
    oklch(1 0 0 / 0) 40%,
    oklch(1 0 0 / 0) 60%,
    oklch(1 0 0 / 0.12) 80%,
    oklch(1 0 0 / 0.4) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
}
.glass-2 {
  background:
    linear-gradient(180deg, oklch(1 0 0 / 0.035), oklch(1 0 0 / 0.005)),
    oklch(1 0 0 / 0.02);
}
/* Make sure card contents sit above the ::before border */
.glass > *, .glass-2 > *, .liquid-glass > * { position: relative; z-index: 2; }
[data-theme="light"] .glass,
[data-theme="light"] .glass-2,
[data-theme="light"] .liquid-glass {
  background: oklch(1 0 0 / 0.5);
  /* On pure white, define cards with a hairline ring + soft lift so edges read */
  box-shadow:
    inset 0 0 0 1px oklch(0 0 0 / 0.07),
    inset 0 1px 1px oklch(1 0 0 / 0.8),
    0 16px 40px -26px oklch(0 0 0 / 0.16);
}
[data-theme="light"] .glass::before,
[data-theme="light"] .glass-2::before,
[data-theme="light"] .liquid-glass::before {
  background: linear-gradient(
    180deg,
    oklch(0 0 0 / 0.22) 0%,
    oklch(0 0 0 / 0.10) 20%,
    oklch(0 0 0 / 0) 40%,
    oklch(0 0 0 / 0) 60%,
    oklch(0 0 0 / 0.06) 80%,
    oklch(0 0 0 / 0.18) 100%
  );
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 1.6s cubic-bezier(.16,1,.3,1),
    transform 2s cubic-bezier(.16,1,.3,1);
  transition-delay: var(--d, 0ms);
}
.reveal.in { opacity: 1; transform: none; }

/* Directional reveals — slide in from edges */
.reveal[data-reveal="left"]  { transform: translateX(-44vw); }
.reveal[data-reveal="right"] { transform: translateX(44vw); }
.reveal[data-reveal="left"].in,
.reveal[data-reveal="right"].in { transform: none; }

/* Swipe reveals — like data-reveal but triggered on scroll-into-view (not at load).
   Use for content below the fold that should swipe in from off-canvas. */
.reveal[data-swipe="left"]  { transform: translate3d(-55vw, 0, 0); opacity: 0; }
.reveal[data-swipe="right"] { transform: translate3d(55vw, 0, 0); opacity: 0; }
.reveal[data-swipe="left"],
.reveal[data-swipe="right"] {
  transition:
    opacity 1.6s cubic-bezier(.16,1,.3,1),
    transform 2s cubic-bezier(.16,1,.3,1);
  transition-delay: var(--d, 0ms);
}
.reveal[data-swipe="left"].in,
.reveal[data-swipe="right"].in {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

/* ========== Background grid layer ========== */
.bg-grid {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(to right, oklch(1 0 0 / 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, oklch(1 0 0 / 0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 80%);
}
.bg-orb {
  position: fixed;
  width: 720px; height: 720px; border-radius: 999px;
  background: radial-gradient(circle, oklch(0.8 0.25 142 / 0.18), transparent 65%);
  pointer-events: none; z-index: 0;
  filter: blur(20px);
  animation: orbDrift 24s ease-in-out infinite;
}
.bg-orb.a { top: -200px; right: -180px; }
.bg-orb.b { bottom: -300px; left: -200px; animation-delay: -12s; background: radial-gradient(circle, oklch(0.65 0.12 200 / 0.10), transparent 65%); }
@keyframes orbDrift {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.06); }
}

/* ========== Header / Nav ========== */
.nav {
  position: fixed; top: 16px; left: 0; right: 0; z-index: 50;
  display: flex; justify-content: center; pointer-events: none;
}
.nav-inner {
  pointer-events: auto;
  width: min(1320px, calc(100vw - 32px));
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px 12px 22px;
  background: oklch(1 0 0 / 0.02);
  background-blend-mode: luminosity;
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: inset 0 1px 1px oklch(1 0 0 / 0.10);
  border: none;
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  transition: background .3s ease, box-shadow .3s ease;
}
.nav-inner::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1.4px;
  background: linear-gradient(
    180deg,
    oklch(1 0 0 / 0.45) 0%,
    oklch(1 0 0 / 0.15) 20%,
    oklch(1 0 0 / 0) 40%,
    oklch(1 0 0 / 0) 60%,
    oklch(1 0 0 / 0.12) 80%,
    oklch(1 0 0 / 0.4) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
}
.nav-inner > * { position: relative; z-index: 2; }
.nav.scrolled .nav-inner {
  background: oklch(0.08 0.01 150 / 0.55);
  box-shadow:
    inset 0 1px 1px oklch(1 0 0 / 0.12),
    0 12px 40px -10px oklch(0 0 0 / 0.5);
}
[data-theme="light"] .nav-inner {
  background: oklch(1 0 0 / 0.6);
  box-shadow:
    inset 0 0 0 1px oklch(0 0 0 / 0.06),
    inset 0 1px 1px oklch(1 0 0 / 0.8),
    0 8px 28px -18px oklch(0 0 0 / 0.18);
}
[data-theme="light"] .nav-inner::before {
  background: linear-gradient(
    180deg,
    oklch(0 0 0 / 0.22) 0%,
    oklch(0 0 0 / 0.1) 20%,
    oklch(0 0 0 / 0) 40%,
    oklch(0 0 0 / 0) 60%,
    oklch(0 0 0 / 0.06) 80%,
    oklch(0 0 0 / 0.18) 100%
  );
}
[data-theme="light"] .nav.scrolled .nav-inner {
  background: oklch(1 0 0 / 0.78);
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--f-display); font-weight: 800; font-size: 45px;
  letter-spacing: -0.01em;
  color: var(--state);
}
.nav-logo .mark {
  width: auto; height: 56px; display: block;
}
.nav-links {
  display: flex; gap: 4px; align-items: center;
}
.nav-links a {
  font-family: var(--f-sans); font-size: 14px; font-weight: 700;
  color: var(--fg); padding: 8px 14px; border-radius: 999px;
  letter-spacing: -0.005em;
  transition: background .2s ease, color .2s ease;
}
.nav-links a:hover { background: oklch(1 0 0 / 0.06); color: var(--fg); }

.nav-right {
  display: flex; align-items: center; gap: 10px;
}
.nav-socials {
  display: inline-flex; align-items: center; gap: 2px;
}
.nav-socials a {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 999px;
  color: var(--fg-2);
  transition: background .2s ease, color .2s ease;
}
.nav-socials a:hover {
  background: oklch(1 0 0 / 0.06);
  color: var(--state);
}
.nav-socials svg {
  width: 16px; height: 16px;
  fill: currentColor;
}
.nav-sep {
  width: 1px; height: 22px;
  background: var(--line-strong);
  margin: 0 4px;
}
.nav-cta {
  font-family: var(--f-sans); font-size: 14px; font-weight: 700;
  /* Glassmorphism green pill — matches .hero-live-pill */
  --acc: var(--state);
  --acc-glow: var(--state-glow);
  background: oklch(0.72 0.255 142 / 0.08);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  color: var(--acc);
  padding: 10px 18px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 8px;
  letter-spacing: -0.005em;
  box-shadow:
    inset 0 0 0 1px var(--acc),
    inset 0 1px 0 oklch(1 0 0 / 0.12),
    0 6px 18px -8px var(--acc-glow);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.nav-cta:hover {
  transform: translateY(-1px);
  background: oklch(0.72 0.255 142 / 0.12);
  box-shadow:
    inset 0 0 0 1px var(--acc),
    inset 0 1px 0 oklch(1 0 0 / 0.16),
    0 14px 30px -10px var(--acc-glow);
}
.nav-cta .arrow {
  width: 14px; height: 14px; transition: transform .2s ease;
}
.nav-cta:hover .arrow { transform: translate(2px, -2px); }

/* ========== Theme toggle (light/dark) ========== */
.theme-toggle {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 999px;
  border: 1px solid oklch(1 0 0 / 0.08);
  background: oklch(1 0 0 / 0.03);
  color: var(--fg-2);
  cursor: pointer;
  padding: 0;
  margin-right: 4px;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}
.theme-toggle:hover {
  color: var(--state);
  border-color: oklch(1 0 0 / 0.18);
  background: oklch(1 0 0 / 0.06);
  transform: translateY(-1px);
}
.theme-toggle:focus-visible {
  outline: 2px solid var(--acc);
  outline-offset: 2px;
}
.theme-icon { width: 16px; height: 16px; display: block; }
/* Dark mode → show moon (action: go to dark? no — show what user will switch TO).
   Convention: sun shown in dark mode means "switch to light"; moon in light means "switch to dark". */
.theme-toggle .theme-icon-sun { display: block; }
.theme-toggle .theme-icon-moon { display: none; }
[data-theme="light"] .theme-toggle .theme-icon-sun { display: none; }
[data-theme="light"] .theme-toggle .theme-icon-moon { display: block; }
[data-theme="light"] .theme-toggle {
  border-color: oklch(0 0 0 / 0.08);
  background: oklch(0 0 0 / 0.02);
  color: var(--fg-2);
}
[data-theme="light"] .theme-toggle:hover {
  border-color: oklch(0 0 0 / 0.18);
  background: oklch(0 0 0 / 0.05);
}

/* ========== Hero ========== */
.hero {
  position: relative; z-index: 1;
  padding: 160px 0 100px;
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
  isolation: isolate;
}

/* Background video layer */
.hero-video-wrap {
  position: absolute; inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  will-change: opacity, transform, translate;
  /* Tint toward warm gold + soften */
  filter: hue-rotate(-40deg) saturate(0.55) contrast(1.06) brightness(0.95) sepia(0.15);
  animation: heroVidBreath 24s ease-in-out infinite alternate;
}
@keyframes heroVidBreath {
  0%   { transform: scale(1.03); }
  100% { transform: scale(1.12); }
}
.hero-video-tint {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 50%, transparent 0%, oklch(0.08 0.012 150 / 0.35) 70%, oklch(0.08 0.012 150 / 0.85) 100%),
    linear-gradient(180deg, oklch(0.08 0.012 150 / 0.2) 0%, oklch(0.08 0.012 150 / 0.35) 55%, var(--bg) 100%);
}
.hero-video-vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 18% 80%, oklch(0.66 0 0 / 0.16), transparent 60%),
    radial-gradient(ellipse 50% 40% at 82% 15%, oklch(0.66 0 0 / 0.10), transparent 60%);
  mix-blend-mode: plus-lighter;
}
.hero-video-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, oklch(1 0 0 / 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, oklch(1 0 0 / 0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 90%);
  opacity: 0.6;
}

/* Theme: light luxe — soften the video, invert tint */
[data-theme="light"] .hero-video {
  filter: hue-rotate(8deg) saturate(0.45) contrast(0.9) brightness(1.1);
  opacity: 0;
}
[data-theme="light"] .hero-video-tint {
  background: var(--bg);
}

/* Ensure hero contents sit above video */
.hero > .shell { position: relative; z-index: 2; }
.hero .hero-eyebrow-row,
.hero .kinetic-title,
.hero .hero-row,
.hero .cta-row,
.hero .subscribe { position: relative; z-index: 2; }

@media (prefers-reduced-motion: reduce) {
  .hero-video { animation: none; }
}
.hero-eyebrow-row {
  display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
  margin-bottom: 36px;
}
/* ----- Pills: outlined, bold accent text (no fill) ----- */
.hero-live-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 12px;
  border-radius: 999px;
  /* Glassmorphism backdrop with green text + outline */
  background: oklch(0.72 0.255 142 / 0.08);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  /* LIVE pills carry the operational STATE accent (green) */
  --acc: var(--state);
  --acc-glow: var(--state-glow);
  box-shadow:
    inset 0 0 0 1px var(--acc),
    inset 0 1px 0 oklch(1 0 0 / 0.12),
    0 6px 18px -8px var(--acc-glow);
  font-family: var(--f-mono);
  font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--fg);
  font-weight: 700;
}
.hero-live-pill .live-dot { width: 6px; height: 6px; }
.hero-live-meta {
  font-family: var(--f-mono);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg-2);
  white-space: nowrap;
}

/* Trusted by builders */
.trusted {
  display: flex; flex-direction: column; gap: 12px;
  margin-top: 6px;
}
.trusted-label {
  font-family: var(--f-mono);
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--fg-3);
}
.trusted-row {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.trusted-chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  background: oklch(1 0 0 / 0.04);
  box-shadow: inset 0 0 0 1px oklch(1 0 0 / 0.08);
  font-family: var(--f-sans);
  font-size: 13px; font-weight: 500;
  color: var(--fg);
  transition: background .2s ease, box-shadow .2s ease;
}
.trusted-chip:hover {
  background: oklch(1 0 0 / 0.07);
  box-shadow: inset 0 0 0 1px oklch(1 0 0 / 0.16);
}
.tc-mark {
  width: 14px; height: 14px; border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, color-mix(in oklch, var(--c) 80%, white 20%), var(--c) 70%);
  box-shadow: 0 0 0 1px oklch(0 0 0 / 0.4);
  flex-shrink: 0;
}
.tc-meta { color: var(--fg-3); font-weight: 400; }

/* Bottom horizontal stat strip */
.hero-stat-strip {
  margin-top: 56px;
  padding: 22px clamp(20px, 2.5vw, 32px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-radius: 22px;
  position: relative;
}
.hss-cell {
  display: flex; align-items: center; gap: 18px;
  padding: 4px 26px;
  border-right: 1px solid var(--line);
}
.hss-cell:last-child { border-right: 0; }
.hss-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: oklch(0.66 0 0 / 0.10);
  box-shadow: inset 0 0 0 1px oklch(0.66 0 0 / 0.3);
  display: grid; place-items: center;
  color: var(--fg);
  flex-shrink: 0;
}
.hss-icon svg { width: 22px; height: 22px; }
.hss-body { display: flex; flex-direction: column; gap: 2px; }
.hss-label {
  font-family: var(--f-mono);
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--fg-3);
  white-space: nowrap;
}
.hss-val {
  font-family: var(--f-display);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 600;
  color: var(--fg);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1.05;
}
.hss-sub {
  font-family: var(--f-mono);
  font-size: 10px; letter-spacing: 0.06em;
  color: var(--fg-4);
}

@media (max-width: 1080px) {
  .hero-stat-strip { grid-template-columns: 1fr 1fr; }
  .hss-cell { border-right: 0; padding: 12px 20px; }
  .hss-cell:nth-child(odd) { border-right: 1px solid var(--line); }
  .hss-cell:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 620px) {
  .hero-stat-strip { grid-template-columns: 1fr; }
  .hss-cell, .hss-cell:nth-child(odd), .hss-cell:nth-child(-n+2) {
    border-right: 0; border-bottom: 1px solid var(--line);
  }
  .hss-cell:last-child { border-bottom: 0; }
}
.live-dot {
  width: 8px; height: 8px; border-radius: 999px; background: var(--acc);
  box-shadow: 0 0 0 0 var(--acc-glow);
  animation: livePulse 1.8s ease-out infinite;
}
@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 var(--state-glow); }
  70% { box-shadow: 0 0 0 14px oklch(0.72 0.255 142 / 0); }
  100% { box-shadow: 0 0 0 0 oklch(0.72 0.255 142 / 0); }
}

.kinetic-title {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(24px, 3.2vw, 54px);
  line-height: 0.94;
  letter-spacing: -0.035em;
  margin-bottom: 32px;
}
.kinetic-title .line {
  display: block;
  overflow: visible;
}
.kinetic-title .word {
  display: inline-block;
  transition: font-weight .35s ease, letter-spacing .35s ease, color .35s ease;
}
.kinetic-title .word:hover {
  font-weight: 700;
  letter-spacing: -0.05em;
}
.kinetic-title .italic {
  font-family: var(--f-display);
  font-weight: 400;
  color: var(--acc);
  letter-spacing: -0.02em;
}
.kinetic-title .italic.huge {
  font-size: 1.32em;
  line-height: 0.82;
  display: inline-block;
  transform: translateY(0.06em);
  margin: 0 0.04em;
  text-shadow: 0 0 80px oklch(0.66 0 0 / 0.18);
}

/* ========== Subscribe ========== */
.subscribe {
  margin-top: 26px;
  display: flex; align-items: center; gap: 10px;
  padding: 6px 6px 6px 20px;
  border-radius: 999px;
  max-width: 560px;
}
.subscribe .sub-prefix {
  font-family: var(--f-mono);
  font-size: 13px; color: var(--fg);
}
.subscribe input {
  flex: 1;
  background: transparent;
  border: 0; outline: 0;
  color: var(--fg);
  font-family: var(--f-sans); font-size: 14px;
  padding: 12px 4px;
}
.subscribe input::placeholder { color: var(--fg-3); }
.subscribe .sub-btn {
  width: 40px; height: 40px; border-radius: 999px;
  background: var(--acc); color: var(--bg-deep);
  border: 0; cursor: pointer;
  display: grid; place-items: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.subscribe .sub-btn:hover { transform: translateY(-1px); box-shadow: 0 12px 28px -10px var(--acc-glow); }
.subscribe .sub-btn svg { width: 16px; height: 16px; }

/* ========== Featured live visual ========== */
.featured-section { padding: 60px 0 120px; }
.featured-card {
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 9;
  max-width: 1320px;
  margin: 0 auto;
}
.featured-card.glass-2 { border-radius: 32px; }
.featured-vid {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, oklch(0.2 0.04 145), oklch(0.08 0.012 145) 70%);
  overflow: hidden;
}
.fv-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, oklch(1 0 0 / 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, oklch(1 0 0 / 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 50%, black 30%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 50%, black 30%, transparent 90%);
  animation: fvDrift 20s linear infinite;
}
@keyframes fvDrift {
  to { background-position: 56px 56px; }
}
.fv-scan {
  position: absolute; left: 0; right: 0; height: 1px;
  background: linear-gradient(to right, transparent, var(--acc), transparent);
  box-shadow: 0 0 14px var(--acc-glow);
  animation: fvScan 6s linear infinite;
  opacity: 0.7;
}
@keyframes fvScan {
  0% { top: -2%; }
  100% { top: 102%; }
}
.fv-rings { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.fv-ring {
  position: absolute;
  border: 1px solid oklch(1 0 0 / 0.18);
  border-radius: 999px;
  animation: fvPulse 5s ease-in-out infinite;
}
.fv-ring.r1 { width: 180px; height: 180px; }
.fv-ring.r2 { width: 320px; height: 320px; animation-delay: -1.6s; border-style: dashed; }
.fv-ring.r3 { width: 480px; height: 480px; animation-delay: -3.2s; opacity: 0.6; }
@keyframes fvPulse {
  0%, 100% { transform: scale(1); opacity: var(--o, 1); }
  50% { transform: scale(1.06); opacity: 0.4; }
}
.fv-core {
  position: relative;
  width: 92px; height: 92px; border-radius: 999px;
  background:
    radial-gradient(circle at 30% 30%, oklch(0.88 0.255 142), oklch(0.5 0.255 142) 70%);
  box-shadow: 0 0 80px oklch(0.72 0.255 142 / 0.5), 0 0 0 1px oklch(0.72 0.255 142 / 0.4) inset;
  display: grid; place-items: center;
  font-family: var(--f-mono); font-weight: 500; font-size: 12px;
  color: var(--bg-deep); letter-spacing: 0.16em;
  animation: fvCorePulse 2.4s ease-in-out infinite;
}
.fv-core::after { content: "CCTT"; }
@keyframes fvCorePulse {
  0%, 100% { box-shadow: 0 0 80px oklch(0.72 0.255 142 / 0.5), 0 0 0 1px oklch(0.72 0.255 142 / 0.4) inset; }
  50% { box-shadow: 0 0 120px oklch(0.72 0.255 142 / 0.7), 0 0 0 1px oklch(0.72 0.255 142 / 0.55) inset; }
}
.fv-blocks {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0.85;
}
.fv-overlay-grad {
  position: absolute; inset: 0;
  background: linear-gradient(to top, oklch(0 0 0 / 0.7), transparent 50%);
  pointer-events: none;
}

.featured-overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 32px clamp(20px, 3vw, 40px);
  display: flex; align-items: end; justify-content: space-between; gap: 32px;
  z-index: 4;
}
.featured-card-inner {
  max-width: 460px;
  padding: 26px;
  border-radius: 20px;
}
.featured-card-inner .eyebrow { margin-bottom: 12px; }
.featured-card-inner p {
  font-size: 14.5px; line-height: 1.55; color: var(--fg);
}
.featured-cta { background: oklch(1 0 0 / 0.04); }

@media (max-width: 820px) {
  .featured-card { aspect-ratio: 4/5; }
  .featured-overlay { flex-direction: column; align-items: stretch; gap: 18px; }
  .featured-card-inner { max-width: none; }
}

.hero-row {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: start;
  margin-top: 48px;
}
.hero-left {
  display: flex; flex-direction: column;
  align-self: stretch;
}
.hero-left .kinetic-title { margin-bottom: 28px; }
.hero-sub {
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.5;
  color: var(--fg-2);
  max-width: 560px;
  margin-bottom: 36px;
}
.hero-sub strong { color: var(--fg); font-weight: 600; }
.hero-left .cta-row { margin-top: 0; margin-bottom: 22px; }
.hero-left .subscribe { margin-top: 0; }

@media (max-width: 1080px) {
  .hero-row { grid-template-columns: 1fr; gap: 36px; }
  .hero-left .subscribe { max-width: none; }
}

/* ===== 3D Live Readout Card ===== */
.readout-3d-wrap {
  perspective: 1600px;
  perspective-origin: 50% 40%;
  /* Card uses neutral structural accent; LIVE pill / glow stays bright green */
  --acc: oklch(0.66 0 0);
  --acc-2: oklch(0.66 0 0);
  --acc-dim: oklch(0.5 0 0);
  --acc-glow: oklch(0.66 0 0 / 0.45);
}
.readout.readout-3d {
  padding: 24px 26px 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  transform: rotateY(-7deg) rotateX(3deg);
  transform-style: preserve-3d;
  transition: transform .9s cubic-bezier(.2,.7,.2,1);
  box-shadow:
    inset 0 1px 1px oklch(1 0 0 / 0.10),
    0 50px 90px -30px oklch(0 0 0 / 0.55),
    0 0 0 1px oklch(0.72 0.255 142 / 0.06),
    0 0 80px -20px oklch(0.72 0.255 142 / 0.25);
}
.readout.readout-3d::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 100% 0%, oklch(0.72 0.255 142 / 0.20), transparent 60%),
    radial-gradient(ellipse 60% 50% at 0% 100%, oklch(0.72 0.255 142 / 0.08), transparent 60%);
  pointer-events: none; z-index: 1;
}
.readout.readout-3d > * { position: relative; z-index: 2; }
.readout-3d-wrap:hover .readout.readout-3d {
  transform: rotateY(-4deg) rotateX(2deg);
}

/* Subtle moving glow rim along the bottom edge */
.readout.readout-3d::before {
  /* ::before already used by .glass for inner border gradient — leave it alone */
}

/* Head */
.rd-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px;
}
.rd-head-left {
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  min-width: 0; flex: 1 1 auto;
}
.rd-tagline {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: -0.005em;
  font-weight: 600;
  color: var(--fg-2);
  max-width: 62ch;
  text-wrap: pretty;
}
.rd-tagline em {
  font-family: var(--f-display);
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  color: var(--fg);
  letter-spacing: 0;
}
.rd-live {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 10px;
  border-radius: 999px;
  /* Glassmorphism backdrop with green text + outline — matches .hero-live-pill */
  background: oklch(0.72 0.255 142 / 0.08);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  --acc: var(--state);
  --acc-glow: var(--state-glow);
  box-shadow:
    inset 0 0 0 1px var(--acc),
    inset 0 1px 0 oklch(1 0 0 / 0.12),
    0 6px 18px -8px var(--acc-glow);
  font-family: var(--f-mono);
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg);
  font-weight: 700;
}
.rd-live .live-dot { width: 7px; height: 7px; }

/* Clock viz orbit / face */
.rd-clockviz {
  width: 100px; height: 100px;
  position: relative;
  flex-shrink: 0;
  transform: translateZ(40px);
}
.rd-clockviz-orbit {
  position: absolute; inset: 0;
  border: 1px solid oklch(0.72 0.255 142 / 0.25);
  border-radius: 999px;
}
.rd-clockviz-orbit.a {
  inset: -8px;
  border-color: oklch(0.72 0.255 142 / 0.35);
  animation: rdOrbitSpin 18s linear infinite;
}
.rd-clockviz-orbit.a::before {
  content: ""; position: absolute; top: -3px; left: 50%;
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--acc);
  box-shadow: 0 0 12px var(--acc-glow);
  transform: translateX(-50%);
}
.rd-clockviz-orbit.b {
  transform: rotateZ(60deg);
  border-style: dashed;
  border-color: oklch(0.72 0.255 142 / 0.20);
  animation: rdOrbitSpin 30s linear infinite reverse;
}
.rd-clockviz-orbit.c {
  inset: 8px;
  border-color: oklch(0.72 0.255 142 / 0.15);
  animation: rdOrbitSpin 26s linear infinite;
}
@keyframes rdOrbitSpin {
  to { transform: rotateZ(360deg); }
}
.rd-clockviz-face {
  position: absolute; inset: 18px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 30%, oklch(0.3 0.08 142 / 0.7), oklch(0.12 0.012 150 / 0.85));
  box-shadow:
    inset 0 0 0 1px oklch(0.72 0.255 142 / 0.4),
    inset 0 2px 8px oklch(0.72 0.255 142 / 0.2);
}
.rd-clockviz-tick {
  position: absolute; inset: 0;
  display: grid; place-items: start center;
  transform: rotate(var(--a));
}
.rd-clockviz-tick::before {
  content: "";
  width: 1.5px; height: 4px;
  background: oklch(0.72 0.255 142 / 0.5);
  margin-top: 3px;
}
.rd-clockviz-hand {
  position: absolute;
  left: 50%; top: 50%;
  background: var(--acc);
  border-radius: 2px;
  transform-origin: 50% 100%;
  box-shadow: 0 0 6px var(--acc-glow);
}
.rd-clockviz-hand.h { width: 1.5px; height: 18px; margin-left: -0.75px; margin-top: -18px; }
.rd-clockviz-hand.m { width: 1.5px; height: 24px; margin-left: -0.75px; margin-top: -24px; opacity: 0.85; }
.rd-clockviz-hand.s { width: 1px;   height: 26px; margin-left: -0.5px;  margin-top: -26px; opacity: 0.6; background: oklch(0.97 0.005 145); }
.rd-clockviz-pin {
  position: absolute; left: 50%; top: 50%;
  width: 4px; height: 4px; border-radius: 999px;
  background: var(--acc);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 8px var(--acc-glow);
}

/* Time block */
.rd-time-block {
  display: flex; flex-direction: column; gap: 8px;
  transform: translateZ(30px);
}
.rd-time-label {
  font-family: var(--f-mono);
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--fg-3);
}
.rd-time {
  font-family: var(--f-mono);
  font-size: clamp(38px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--fg);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  display: inline-flex; align-items: baseline;
}
.rd-time .sep {
  display: inline-block;
  color: var(--fg-3);
  animation: rdSepBlink 1s steps(2) infinite;
  margin: 0 0.04em;
}
@keyframes rdSepBlink { 50% { opacity: 0.3; } }
.rd-time .ms {
  font-size: 0.42em;
  color: var(--fg-3);
  letter-spacing: -0.02em;
  margin-left: 0.18em;
  font-variant-numeric: tabular-nums;
}
.rd-time-meta {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--f-mono);
  font-size: 11px; letter-spacing: 0.06em;
  color: var(--fg-3);
  white-space: nowrap;
}
.rd-time-meta #rd-date { white-space: nowrap; }
.rd-time-meta .dot { color: var(--fg-4); }
.rd-progress {
  flex: 1;
  height: 2px;
  border-radius: 999px;
  background: oklch(1 0 0 / 0.06);
  overflow: hidden;
  margin-left: 8px;
}
#rd-progress-bar {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(to right, transparent, var(--acc));
  box-shadow: 0 0 12px var(--acc-glow);
}

/* Stats grid */
.rd-stats {
  display: grid; grid-template-columns: 1.1fr 1.1fr 0.85fr; gap: 10px;
  transform: translateZ(20px);
}
.rd-stat {
  padding: 12px 14px;
  border-radius: 12px;
  background: oklch(1 0 0 / 0.025);
  box-shadow: inset 0 0 0 1px oklch(1 0 0 / 0.06);
}
.rd-stat-label {
  font-family: var(--f-mono);
  font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg-3); margin-bottom: 6px;
  display: flex; align-items: center; gap: 6px;
}
.rd-stat-ind {
  width: 5px; height: 5px; border-radius: 999px;
  background: var(--acc);
  box-shadow: 0 0 6px var(--acc-glow);
  animation: blink 1.4s steps(2) infinite;
}
.rd-stat-val {
  font-family: var(--f-mono);
  font-size: 18px; font-weight: 500;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.005em;
  white-space: nowrap;
}
.rd-stat-validators {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.rd-shield {
  width: 16px; height: 16px;
  color: var(--fg);
  filter: drop-shadow(0 0 6px var(--acc-glow));
}

/* Block table */
.rd-blocks {
  display: flex; flex-direction: column; gap: 8px;
  transform: translateZ(15px);
}
.rd-table-head {
  display: grid;
  grid-template-columns: 0.9fr 1fr 1fr 0.75fr;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg-3);
  padding: 0 12px;
}
.rd-block-list {
  display: flex; flex-direction: column; gap: 4px;
  position: relative;
  height: 168px;
  overflow: hidden;
  mask-image: linear-gradient(to bottom, black 0%, black 86%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 86%, transparent 100%);
}
.rd-block {
  display: grid;
  grid-template-columns: 0.9fr 1fr 1fr 0.75fr;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  background: oklch(1 0 0 / 0.02);
  box-shadow: inset 0 0 0 1px oklch(1 0 0 / 0.04);
  font-family: var(--f-mono);
  font-size: 11.5px;
  color: var(--fg-2);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
  position: relative;
  transition: transform .55s cubic-bezier(.2,.7,.2,1);
  white-space: nowrap;
}
.rd-block.new { animation: rdBlockIn .55s cubic-bezier(.2,.7,.2,1); }
.rd-block.new::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 8px;
  background: oklch(0.72 0.255 142 / 0.18);
  pointer-events: none;
  animation: rdBlockFlash .9s ease-out forwards;
}
@keyframes rdBlockIn {
  0% { opacity: 0; transform: translateY(-18px) scale(0.98); }
  60% { opacity: 1; }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes rdBlockFlash {
  0% { opacity: 1; }
  100% { opacity: 0; }
}
.rd-block .b-height { color: var(--fg); font-weight: 500; }
.rd-block .b-time { color: var(--fg-2); }
.rd-block .b-validator { color: var(--fg); overflow: hidden; text-overflow: ellipsis; }
.rd-block .b-drift { color: var(--fg-3); text-align: right; }

/* Footer */
.rd-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 8px;
  margin-top: 2px;
  border-top: 1px solid oklch(1 0 0 / 0.06);
  font-family: var(--f-mono);
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--fg-3);
}
.rd-foot-l { display: inline-flex; align-items: center; gap: 8px; }
.rd-foot-r { display: inline-flex; align-items: center; gap: 8px; }
.rd-foot-l .live-dot { width: 6px; height: 6px; }
.rd-foot-dot {
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--acc);
  box-shadow: 0 0 6px var(--acc-glow);
}

@keyframes blink { 50% { opacity: 0.25; } }

@media (max-width: 1080px) {
  .readout-3d-wrap { perspective: none; }
  .readout.readout-3d { transform: none; }
  .readout.readout-3d > * { transform: none !important; }
}

/* CTAs */
.cta-row {
  display: flex; gap: 14px; flex-wrap: wrap; margin-top: 40px;
}
.btn {
  font-family: var(--f-sans); font-size: 14.5px; font-weight: 600;
  padding: 14px 22px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 10px;
  white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  cursor: pointer; border: 1px solid transparent;
}
.btn-primary {
  /* Glassmorphism green pill — matches .hero-live-pill */
  --acc: var(--state);
  --acc-glow: var(--state-glow);
  background: oklch(0.72 0.255 142 / 0.08);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  color: var(--acc);
  box-shadow:
    inset 0 0 0 1px var(--acc),
    inset 0 1px 0 oklch(1 0 0 / 0.12),
    0 6px 18px -8px var(--acc-glow);
  font-weight: 700;
}
.btn-primary:hover {
  transform: translateY(-1px);
  background: oklch(0.72 0.255 142 / 0.12);
  box-shadow:
    inset 0 0 0 1px var(--acc),
    inset 0 1px 0 oklch(1 0 0 / 0.16),
    0 14px 30px -10px var(--acc-glow);
}
.btn-ghost {
  background: oklch(1 0 0 / 0.04); color: var(--fg);
  border-color: var(--line);
}
.btn-ghost:hover { background: oklch(1 0 0 / 0.08); border-color: var(--line-strong); }
.btn .arrow { width: 16px; height: 16px; transition: transform .2s ease; }
.btn:hover .arrow { transform: translate(2px, -2px); }

/* ========== Marquee ========== */
.marquee {
  margin: 60px 0;
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding: 22px 0;
  background: oklch(0.1 0.01 150 / 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.marquee-track {
  display: flex; gap: 64px;
  white-space: nowrap;
  animation: scrollX 38s linear infinite;
  width: max-content;
}
.marquee-item {
  font-family: var(--f-display);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--fg-3);
  display: inline-flex; align-items: center; gap: 64px;
  transition: color .2s ease;
}
.marquee-item .dot { width: 8px; height: 8px; border-radius: 999px; background: var(--acc); }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item:hover { color: var(--fg); }
@keyframes scrollX {
  to { transform: translateX(-50%); }
}

/* ========== Sections ========== */
.section {
  position: relative; z-index: 1;
  padding: 120px 0;
}
.section-head {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px;
  align-items: end; margin-bottom: 44px;
}
.section-head h2 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(24px, 3.2vw, 54px);
  line-height: 0.96;
  letter-spacing: -0.03em;
}
.section-head h2 em {
  font-style: normal;
  font-family: var(--f-display);
  font-weight: 500;
  color: var(--fg);
}
.section-head .lede {
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.55;
  color: var(--fg-2);
  max-width: 520px;
}

/* ========== Issue + What is Clockchain ========== */
.issue-wrap {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 30px;
}
.issue-card {
  padding: 38px;
}
.issue-card .num {
  font-family: var(--f-mono);
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg); margin-bottom: 26px;
}
.issue-card h3 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(26px, 2.4vw, 38px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.issue-card p {
  color: var(--fg-2); font-size: 15.5px; line-height: 1.6;
}
.issue-card.feature {
  background:
    linear-gradient(180deg, oklch(0.66 0 0 / 0.06), transparent 50%),
    var(--panel);
}
.vm-stack { display: grid; gap: 22px; }

/* ---- Section-level video background for the Issues section ---- */
.issues-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.issues-section > .shell { position: relative; z-index: 2; }
.issues-video-wrap {
  position: absolute; inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.issues-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.55;
  filter: hue-rotate(-30deg) saturate(0.7) contrast(1.05) brightness(0.85);
  animation: issuesVidBreath 26s ease-in-out infinite alternate;
  will-change: transform, opacity;
}
@keyframes issuesVidBreath {
  0%   { transform: scale(1.04); }
  100% { transform: scale(1.12); }
}
.issues-video-tint {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, transparent 0%, oklch(0.08 0.012 150 / 0.55) 70%, var(--bg) 100%),
    linear-gradient(180deg, var(--bg) 0%, oklch(0.08 0.012 150 / 0.55) 35%, oklch(0.08 0.012 150 / 0.55) 65%, var(--bg) 100%);
}
.issues-video-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, oklch(1 0 0 / 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, oklch(1 0 0 / 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 80%);
  opacity: 0.7;
}
[data-theme="light"] .issues-video {
  opacity: 0;
}
[data-theme="light"] .issues-video-tint {
  background: var(--bg);
}
[data-theme="light"] .issues-video-grid { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .issues-video { animation: none; }
}

/* ---- Tri-card variant: 3 equal columns, arched, gold accent, gently floating ---- */
.issue-wrap.issue-wrap-tri {
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
  padding-bottom: 36px;
  position: relative;
  /* Override the card accent to deep teal #2c8769 while inside this group */
  --acc: oklch(0.52 0.10 165);
  --acc-2: oklch(0.52 0.10 165);
  --acc-dim: oklch(0.4 0.08 165);
  --acc-glow: oklch(0.52 0.10 165 / 0.45);
}
.issue-wrap.issue-wrap-tri .issue-card .num,
.issue-wrap.issue-wrap-tri .issue-card.feature {
  /* Re-tint the feature card's wash to deep teal */
}
.issue-wrap.issue-wrap-tri .issue-card.feature {
  /* Match sibling cards — no special wash */
  background: var(--panel);
}
.issue-wrap.issue-wrap-tri .issue-card {
  padding: 34px 32px;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  --step-y: 0px;
  --float-amp: 8px;
  transform: translate3d(0, var(--step-y), 0);
  transition:
    transform 600ms cubic-bezier(.2,.7,.2,1),
    box-shadow 500ms ease,
    background 500ms ease,
    border-color 500ms ease,
    opacity 500ms ease;
  will-change: transform;
}
/* Reconcile with .reveal intro slide */
.issue-wrap.issue-wrap-tri .issue-card.reveal {
  opacity: 0;
  transform: translate3d(0, calc(var(--step-y) + 36px), 0);
}
.issue-wrap.issue-wrap-tri .issue-card.reveal.in {
  opacity: 1;
  transform: translate3d(0, var(--step-y), 0);
}
/* Arched stagger — flattened: all cards line up on the same baseline */
.issue-wrap.issue-wrap-tri .issue-card[data-step="1"] { --step-y: 0px; }
.issue-wrap.issue-wrap-tri .issue-card[data-step="2"] { --step-y: 0px; }
.issue-wrap.issue-wrap-tri .issue-card[data-step="3"] { --step-y: 0px; }

/* Wrap the inner content in a floating layer so we don't fight reveal's transform */
.issue-wrap.issue-wrap-tri .issue-card > * {
  animation: issueFloat 7.5s ease-in-out infinite;
}
.issue-wrap.issue-wrap-tri .issue-card[data-step="1"] > * { animation-delay: -0.0s; }
.issue-wrap.issue-wrap-tri .issue-card[data-step="2"] > * { animation-delay: -2.5s; }
.issue-wrap.issue-wrap-tri .issue-card[data-step="3"] > * { animation-delay: -5.0s; }

@keyframes issueFloat {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(0, -6px, 0); }
}

/* Hover: lift entire card, dim siblings slightly */
.issue-wrap.issue-wrap-tri .issue-card:hover,
.issue-wrap.issue-wrap-tri .issue-card.reveal.in:hover {
  transform: translate3d(0, calc(var(--step-y) - 12px), 0);
  border-color: oklch(0.52 0.10 165 / 0.5);
  box-shadow:
    0 30px 80px -30px oklch(0 0 0 / 0.55),
    0 0 0 1px oklch(0.52 0.10 165 / 0.28) inset;
}
.issue-wrap.issue-wrap-tri:hover .issue-card:not(:hover) {
  opacity: 0.62;
  filter: saturate(0.85);
}

/* Number badge with pulsing dot */
.issue-wrap.issue-wrap-tri .issue-card .num {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}
.issue-wrap.issue-wrap-tri .num-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--acc);
  box-shadow: 0 0 0 0 var(--acc-glow);
  animation: issueDotGold 2.2s ease-out infinite;
  flex: none;
}
.issue-wrap.issue-wrap-tri .issue-card[data-step="2"] .num-dot { animation-delay: -0.7s; }
.issue-wrap.issue-wrap-tri .issue-card[data-step="3"] .num-dot { animation-delay: -1.4s; }
@keyframes issueDotGold {
  0%   { box-shadow: 0 0 0 0   oklch(0.52 0.10 165 / 0.75); }
  70%  { box-shadow: 0 0 0 10px oklch(0.52 0.10 165 / 0); }
  100% { box-shadow: 0 0 0 0   oklch(0.52 0.10 165 / 0); }
}

/* Larger, hero-gold-tinted title with an animated rule */
.issue-wrap.issue-wrap-tri .issue-card h3 {
  position: relative;
  padding-bottom: 16px;
  margin-bottom: 18px;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--fg);
  font-weight: 500;
}
.issue-wrap.issue-wrap-tri .issue-card .num {
  color: var(--fg);
  font-size: clamp(18px, 1.55vw, 22px);
  letter-spacing: 0.16em;
  margin-bottom: 24px;
  transition: color .35s ease, text-shadow .35s ease, letter-spacing .35s ease;
}
.issue-wrap.issue-wrap-tri .issue-card:hover .num {
  color: var(--state);
  text-shadow: 0 0 14px oklch(0.66 0 0 / 0.55);
  letter-spacing: 0.2em;
}
.issue-wrap.issue-wrap-tri .issue-card:hover .num-dot {
  background: oklch(0.66 0 0);
  box-shadow: 0 0 0 0 oklch(0.66 0 0 / 0.75);
  animation-name: issueDotBlue;
}
@keyframes issueDotBlue {
  0%   { box-shadow: 0 0 0 0   oklch(0.66 0 0 / 0.75); }
  70%  { box-shadow: 0 0 0 10px oklch(0.66 0 0 / 0); }
  100% { box-shadow: 0 0 0 0   oklch(0.66 0 0 / 0); }
}
.issue-wrap.issue-wrap-tri .num-dot {
  transition: background .35s ease;
}
.issue-wrap.issue-wrap-tri .issue-card p {
  font-size: 14.5px;
  line-height: 1.6;
}
.issue-wrap.issue-wrap-tri .issue-card h3::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  height: 1px; width: 32px;
  background: linear-gradient(90deg, var(--acc), transparent);
  transition: width 600ms cubic-bezier(.2,.7,.2,1), opacity 400ms;
  opacity: 0.7;
}
.issue-wrap.issue-wrap-tri .issue-card:hover h3::after {
  width: 100%;
  opacity: 1;
}

/* Responsive */
@media (max-width: 1080px) {
  .issue-wrap.issue-wrap-tri {
    grid-template-columns: 1fr;
    padding-bottom: 0;
  }
  .issue-wrap.issue-wrap-tri .issue-card[data-step] { --step-y: 0px; }
  .issue-wrap.issue-wrap-tri .issue-card { min-height: 0; }
}

/* ========== Solution — split numbered ========== */
.solution-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.sol-card {
  padding: 36px 30px 30px;
  position: relative;
  transition: transform .35s ease, border-color .35s ease;
  overflow: hidden;
}
.sol-card:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.sol-card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), oklch(0.66 0 0 / 0.12), transparent 50%);
  opacity: 0; transition: opacity .3s ease;
  pointer-events: none;
}
.sol-card:hover::before { opacity: 1; }
.sol-card .big-num {
  font-family: var(--f-display);
  font-size: clamp(72px, 8vw, 120px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  color: oklch(1 0 0 / 0.06);
  margin-bottom: 14px;
  transition: color .35s ease;
}
.sol-card:hover .big-num { color: var(--state); }
.sol-card h4 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.sol-card p {
  color: var(--fg-2); font-size: 14.5px; line-height: 1.6;
}
.sol-card .tag {
  font-family: var(--f-mono);
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--fg-3); margin-top: 22px;
  padding-top: 18px; border-top: 1px solid var(--line);
}
/* Issue cards reuse sol-card styling — flex so footer tags align across the row */
.issue-solgrid .sol-card { display: flex; flex-direction: column; }
.issue-solgrid .sol-card .tag { margin-top: auto; }

/* ========== Services — alternating layout ========== */
.services-list { display: grid; gap: 18px; }
.service {
  padding: 20px 26px;
  display: grid;
  grid-template-columns: 0.85fr 1.5fr 0.5fr;
  gap: 30px;
  align-items: center;
  transition: transform .35s ease;
  position: relative;
  overflow: hidden;
}
.service:hover { transform: translateY(-4px); }

/* ---- Hover: glyph spotlight bloom ---- */
.service .glyph::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at 50% 50%,
    oklch(0.66 0 0 / 0.34) 0%,
    oklch(0.66 0 0 / 0.14) 38%,
    transparent 72%);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity .5s ease, transform .6s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  filter: blur(8px);
}
.service:hover .glyph::before {
  opacity: 1;
  transform: scale(1);
}
.service .glyph svg {
  position: relative;
  z-index: 1;
  transition: transform .6s cubic-bezier(.4,0,.2,1), filter .6s ease;
}
.service:hover .glyph svg {
  transform: scale(1.05);
  filter: drop-shadow(0 0 18px oklch(0.66 0 0 / 0.38));
}

/* ---- Hover: border-trace (two L-shapes meeting at opposite corners) ---- */
.service-trace {
  position: absolute;
  pointer-events: none;
  box-sizing: border-box;
  width: 0; height: 0;
  border: 0 solid oklch(0.66 0 0);
  opacity: 0;
  z-index: 3;
  filter: drop-shadow(0 0 6px oklch(0.66 0 0 / 0.55));
}
.service-trace.t-tl {
  top: 0; left: 0;
  border-top-left-radius: 22px;
  border-top-width: 1.5px;
  border-left-width: 1.5px;
  transition:
    opacity .12s linear .55s,
    width .35s cubic-bezier(.4,0,.2,1),
    height .35s cubic-bezier(.4,0,.2,1) .35s;
}
.service-trace.t-br {
  bottom: 0; right: 0;
  border-bottom-right-radius: 22px;
  border-bottom-width: 1.5px;
  border-right-width: 1.5px;
  transition:
    opacity .12s linear .55s,
    width .35s cubic-bezier(.4,0,.2,1),
    height .35s cubic-bezier(.4,0,.2,1) .35s;
}
.service:hover .service-trace {
  opacity: 1;
  width: 100%;
  height: 100%;
  transition:
    opacity .12s linear,
    width .35s cubic-bezier(.4,0,.2,1),
    height .35s cubic-bezier(.4,0,.2,1) .35s;
}
.service .q {
  font-family: var(--f-display);
  font-style: normal;
  font-weight: 500;
  font-size: clamp(18px, 1.5vw, 23px);
  line-height: 1.22;
  color: var(--fg);
  letter-spacing: -0.01em;
}
.service .body h4 {
  font-family: var(--f-display);
  font-weight: 600; font-size: 19px;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}
.service .body p {
  color: var(--fg-2); font-size: 14px; line-height: 1.5;
}
.service .glyph {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 112px;
  margin: 0 auto;
  display: grid; place-items: center;
}
.service .glyph svg { width: 100%; height: 100%; }

/* ========== Auth illustration glyph (Logging, Authentication & Timestamps) ========== */
.auth-illu .ts {
  font-family: var(--f-mono);
  font-size: 5.5px;
  fill: oklch(0.97 0.005 90);
  text-anchor: middle;
  letter-spacing: 0.02em;
  font-weight: 600;
  filter: drop-shadow(0 0 1.5px oklch(0.72 0.255 142 / 0.45));
}
.auth-illu .auth-needle {
  transform-origin: 40px 40px;
  animation: authNeedleSpin 9s linear infinite;
}
@keyframes authNeedleSpin {
  to { transform: rotate(360deg); }
}
.auth-illu .auth-beam {
  animation: authBeamPulse 2.4s ease-in-out infinite;
  transform-origin: center bottom;
}
.auth-illu .auth-beam.b2 { animation-delay: -0.8s; }
.auth-illu .auth-beam.b3 { animation-delay: -1.6s; }
@keyframes authBeamPulse {
  0%, 100% { opacity: 0.55; transform: scaleY(0.94); }
  50%      { opacity: 1.0;  transform: scaleY(1.08); }
}
.auth-illu .auth-trace {
  animation: authTraceFlow 1.5s linear infinite;
}
.auth-illu .auth-trace.t2 {
  animation-duration: 1.7s;
  animation-direction: reverse;
}
@keyframes authTraceFlow {
  to { stroke-dashoffset: -7; }
}
.auth-illu .auth-padlock {
  animation: authPadPulse 2.8s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}
@keyframes authPadPulse {
  0%, 100% { opacity: 0.9; filter: drop-shadow(0 0 0 transparent); }
  50%      { opacity: 1; filter: drop-shadow(0 0 5px oklch(0.66 0 0 / 0.55)); }
}
/* LED row pulses — staggered to feel "live" */
.auth-illu .led-row rect {
  animation: authLedFlicker 3.8s ease-in-out infinite;
}
.auth-illu .srv-1 .led-row:nth-child(2) rect { animation-delay: -0.0s; }
.auth-illu .srv-1 .led-row:nth-child(3) rect { animation-delay: -0.6s; }
.auth-illu .srv-1 .led-row:nth-child(4) rect { animation-delay: -1.2s; }
.auth-illu .srv-1 .led-row:nth-child(5) rect { animation-delay: -1.8s; }
.auth-illu .srv-1 .led-row:nth-child(6) rect { animation-delay: -2.4s; }
.auth-illu .srv-1 .led-row:nth-child(7) rect { animation-delay: -3.0s; }
.auth-illu .srv-1 .led-row:nth-child(8) rect { animation-delay: -3.4s; }
.auth-illu .srv-2 .led-row:nth-child(2) rect { animation-delay: -0.4s; }
.auth-illu .srv-2 .led-row:nth-child(3) rect { animation-delay: -1.0s; }
.auth-illu .srv-2 .led-row:nth-child(4) rect { animation-delay: -1.6s; }
.auth-illu .srv-2 .led-row:nth-child(5) rect { animation-delay: -2.2s; }
.auth-illu .srv-2 .led-row:nth-child(6) rect { animation-delay: -2.8s; }
.auth-illu .srv-2 .led-row:nth-child(7) rect { animation-delay: -3.2s; }
.auth-illu .srv-2 .led-row:nth-child(8) rect { animation-delay: -3.6s; }
.auth-illu .srv-3 .led-row:nth-child(2) rect { animation-delay: -0.8s; }
.auth-illu .srv-3 .led-row:nth-child(3) rect { animation-delay: -1.4s; }
.auth-illu .srv-3 .led-row:nth-child(4) rect { animation-delay: -2.0s; }
.auth-illu .srv-3 .led-row:nth-child(5) rect { animation-delay: -2.6s; }
.auth-illu .srv-3 .led-row:nth-child(6) rect { animation-delay: -3.2s; }
.auth-illu .srv-3 .led-row:nth-child(7) rect { animation-delay: -3.6s; }
@keyframes authLedFlicker {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.45; }
}
@media (prefers-reduced-motion: reduce) {
  .auth-illu .auth-needle,
  .auth-illu .auth-beam,
  .auth-illu .auth-trace,
  .auth-illu .auth-padlock,
  .auth-illu .led-row rect { animation: none; }
}

/* ========== Smart Contract Scheduling glyph ========== */
/* Clock hand rotations & bell shake are handled by inline SMIL <animateTransform>. */
.sched-illu .sched-card {
  animation: schedCardPulse 4.4s ease-in-out infinite;
  transform-box: fill-box;
}
.sched-illu .sc-1 { animation-delay: 0s; }
.sched-illu .sc-2 { animation-delay: -1.1s; }
.sched-illu .sc-3 { animation-delay: -2.2s; }
.sched-illu .sc-4 { animation-delay: -3.3s; }
@keyframes schedCardPulse {
  0%, 100% { opacity: 0.65; }
  50%      { opacity: 1; }
}
.sched-illu .sched-dot {
  animation: schedDot 1.6s ease-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}
@keyframes schedDot {
  0%   { transform: scale(1); filter: drop-shadow(0 0 0 transparent); }
  50%  { transform: scale(1.3); filter: drop-shadow(0 0 4px var(--state-glow)); }
  100% { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .sched-illu .sched-card,
  .sched-illu .sched-dot { animation: none; }
}

/* ========== Timestamp API glyph ========== */
/* Hand rotations, check-badge pulses, and stamp bob handled by inline SMIL. */
.api-illu .api-mesh line {
  animation: apiMeshFlow 1.8s linear infinite;
}
.api-illu .api-mesh line:nth-child(2) { animation-delay: -0.6s; }
.api-illu .api-mesh line:nth-child(3) { animation-delay: -1.2s; }
@keyframes apiMeshFlow {
  to { stroke-dashoffset: -5; }
}
@media (prefers-reduced-motion: reduce) {
  .api-illu .api-mesh line { animation: none; }
}

/* ========== Ecosystem ========== */
.eco-section, .news-section { isolation: isolate; overflow: hidden; }
.eco-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.eco-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: saturate(0.9) contrast(1.05) hue-rotate(-12deg);
  transform: scale(1.02); /* hide any letterbox edges */
}
.eco-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at center, transparent 0%, oklch(0.07 0.01 150 / 0.55) 70%, oklch(0.07 0.01 150 / 0.85) 100%),
    linear-gradient(180deg, var(--bg) 0%, transparent 18%, transparent 82%, var(--bg) 100%);
}
.eco-section .shell,
.news-section .shell {
  position: relative;
  z-index: 2;
}
[data-theme="light"] .eco-bg-video { opacity: 0.22; }
[data-theme="light"] .eco-bg-overlay {
  background:
    radial-gradient(ellipse 70% 60% at center, transparent 0%, oklch(0.96 0.006 75 / 0.45) 70%, oklch(0.96 0.006 75 / 0.8) 100%),
    linear-gradient(180deg, var(--bg) 0%, transparent 18%, transparent 82%, var(--bg) 100%);
}
@media (prefers-reduced-motion: reduce) {
  .eco-bg-video { display: none; }
}

.eco-wrap {
  display: grid; grid-template-columns: 1fr; gap: 30px; align-items: stretch;
  max-width: 720px; margin: 0 auto;
}
.eco-visual {
  position: relative;
  min-height: 460px;
  padding: 0;
  overflow: hidden;
}
.eco-visual .earth-illu {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.eco-visual .eco-label {
  position: absolute;
  font-family: var(--f-mono);
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--fg-2);
  background: oklch(0.1 0.01 150 / 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 4px 8px; border-radius: 4px;
  transform: translate(-50%, -50%);
  border: 1px solid var(--line);
  pointer-events: none;
  white-space: nowrap;
}
@media (prefers-reduced-motion: reduce) {
  .eco-visual .satellite,
  .eco-visual .earth-body,
  .eco-visual .ground-stations circle,
  .eco-visual .earth-stars circle { animation: none; }
}
.eco-text { padding: 44px; display: flex; flex-direction: column; justify-content: space-between; gap: 30px; }
.eco-text h3 {
  font-family: var(--f-display);
  font-weight: 600; font-size: clamp(28px, 2.8vw, 42px);
  letter-spacing: -0.02em; line-height: 1.05;
  margin-bottom: 22px;
}
.eco-text p { color: var(--fg-2); font-size: 15.5px; line-height: 1.6; }
.eco-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 30px; }
.eco-stats .stat .v {
  font-family: var(--f-display); font-weight: 600; font-size: 32px;
  color: var(--fg); letter-spacing: -0.02em;
}
.eco-stats .stat .l {
  font-family: var(--f-mono);
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg-3); margin-top: 6px;
}

/* ========== Roadmap ========== */
.roadmap {
  display: grid; grid-template-columns: 0.4fr 1fr; gap: 60px;
}
.year-marker {
  position: sticky; top: 120px; align-self: start;
}
.year-marker .year {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(80px, 12vw, 200px);
  letter-spacing: -0.05em; line-height: 0.9;
  background: linear-gradient(180deg, var(--fg), oklch(0.45 0.1 145));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.year-marker .yr-sub {
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg-3); margin-top: 16px;
}
.quarters { display: grid; gap: 20px; }
.quarter {
  padding: 32px 34px;
  display: grid; grid-template-columns: 80px 1fr; gap: 28px;
  align-items: start;
  position: relative;
  transition: transform .3s ease, border-color .3s ease;
}
.quarter:hover { transform: translateX(6px); border-color: var(--line-strong); }

/* ---- Hover: spotlight bloom over the Q tag ---- */
.quarter::after {
  content: "";
  position: absolute;
  top: 10px; left: 12px;
  width: 130px; height: 130px;
  background: radial-gradient(circle at 50% 50%,
    oklch(0.72 0 0 / 0.65) 0%,
    oklch(0.66 0 0 / 0.28) 38%,
    transparent 72%);
  opacity: 0;
  transform: scale(0.55);
  transition: opacity .5s ease, transform .6s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
  border-radius: 50%;
  filter: blur(12px);
  z-index: 0;
}
.quarter:hover::after {
  opacity: 1;
  transform: scale(1.5);
}
.quarter .q-tag {
  transition: text-shadow .4s ease, color .4s ease;
}
.quarter:hover .q-tag {
  color: var(--state);
  text-shadow: 0 0 22px oklch(0.72 0 0 / 0.75);
}

/* ---- Hover: border-trace (two L-shapes meeting at opposite corners) ---- */
.quarter-trace {
  position: absolute;
  pointer-events: none;
  box-sizing: border-box;
  width: 0; height: 0;
  border: 0 solid oklch(0.78 0 0);
  opacity: 0;
  z-index: 3;
  filter: drop-shadow(0 0 8px oklch(0.66 0 0 / 0.85));
}
.quarter-trace.t-tl {
  top: 0; left: 0;
  border-top-left-radius: 22px;
  border-top-width: 2px;
  border-left-width: 2px;
  transition:
    opacity .12s linear .55s,
    width .35s cubic-bezier(.4,0,.2,1),
    height .35s cubic-bezier(.4,0,.2,1) .35s;
}
.quarter-trace.t-br {
  bottom: 0; right: 0;
  border-bottom-right-radius: 22px;
  border-bottom-width: 2px;
  border-right-width: 2px;
  transition:
    opacity .12s linear .55s,
    width .35s cubic-bezier(.4,0,.2,1),
    height .35s cubic-bezier(.4,0,.2,1) .35s;
}
.quarter:hover .quarter-trace {
  opacity: 1;
  width: 100%;
  height: 100%;
  transition:
    opacity .12s linear,
    width .35s cubic-bezier(.4,0,.2,1),
    height .35s cubic-bezier(.4,0,.2,1) .35s;
}
.quarter .q-tag {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 32px; letter-spacing: -0.02em;
  color: var(--fg);
}
.quarter .q-tag .qsub {
  display: block;
  font-family: var(--f-mono);
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg-3); font-weight: 400; margin-top: 4px;
}
.quarter ul { list-style: none; display: grid; gap: 10px; }
.quarter li {
  font-size: 15px; line-height: 1.5; color: var(--fg-2);
  padding-left: 22px; position: relative;
}
.quarter li::before {
  content: "";
  position: absolute; left: 0; top: 9px;
  width: 8px; height: 8px;
  background: var(--acc);
  border-radius: 999px;
  box-shadow: 0 0 8px var(--acc-glow);
}

/* ========== News ========== */
.news-subhead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.news-subhead--second { margin-top: 72px; }
.news-subhead h3 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(28px, 2.6vw, 38px);
  letter-spacing: -0.025em;
  color: var(--fg);
}
.news-subhead .news-sub-meta {
  font-family: var(--f-mono);
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--fg-3);
}
.news-grid--news {
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px;
  margin-bottom: 0;
}
.news-grid--media {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 22px;
}
.news-grid--media .news-card.featured {
  grid-row: auto;
  min-height: 280px;
}
.news-grid--media .news-card.featured h4 { font-size: 22px; }
.news-grid--media .news-card.featured .preview { min-height: 140px; }
.news-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 22px;
}
.news-card {
  padding: 28px;
  display: flex; flex-direction: column;
  position: relative;
  transition: transform .35s ease, border-color .35s ease;
  cursor: pointer;
  min-height: 280px;
}
.news-card:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.news-card.featured { min-height: 440px; grid-row: span 2; }
.news-card .source {
  font-family: var(--f-mono);
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg-3); margin-bottom: 14px;
  display: flex; justify-content: space-between;
}
.news-card .source .src-name { color: var(--fg); }
.news-card .preview {
  flex: 1;
  border-radius: 14px;
  background:
    repeating-linear-gradient(45deg, oklch(0.66 0 0 / 0.06), oklch(0.66 0 0 / 0.06) 8px, transparent 8px, transparent 16px),
    oklch(0.18 0.012 150);
  border: 1px solid var(--line);
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  display: grid; place-items: center;
  min-height: 140px;
}
.news-card.featured .preview { min-height: 240px; }
.news-card .preview .glyph {
  font-family: var(--f-mono);
  font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--fg); padding: 6px 12px; background: oklch(0.1 0.01 150 / 0.6);
  border: 1px solid var(--line); border-radius: 6px;
  backdrop-filter: blur(6px);
}
.news-card h4 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.news-card.featured h4 { font-size: 26px; }
.news-card .read {
  font-family: var(--f-mono);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg-3);
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: auto;
}
.news-card:hover .read { color: var(--state); }

/* ========== CTA banner ========== */
.cta-banner {
  position: relative; z-index: 1;
  padding: 100px 0;
}
.cta-card {
  padding: 80px 60px;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: center;
  position: relative; overflow: hidden;
}
.cta-card::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(700px 300px at 100% 0%, oklch(0.66 0 0 / 0.18), transparent 60%),
    radial-gradient(500px 240px at 0% 100%, oklch(0.5 0 0 / 0.10), transparent 60%);
  pointer-events: none;
}
.cta-card > * { position: relative; z-index: 1; }
.cta-card h2 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(24px, 3.2vw, 54px);
  line-height: 0.98;
  letter-spacing: -0.03em;
}
.cta-card h2 em {
  font-family: var(--f-display); font-style: normal; font-weight: 500; color: var(--fg);
}
.cta-card .sub {
  color: var(--fg-2); font-size: 16px; line-height: 1.55;
  margin-bottom: 28px;
}

/* ========== Footer ========== */
.footer {
  position: relative; z-index: 1;
  padding: 80px 0 32px;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px;
  margin-bottom: 60px;
}
.footer h5 {
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg-3); margin-bottom: 18px;
}
.footer-grid ul { list-style: none; display: grid; gap: 10px; }
.footer-grid a { color: var(--fg-2); font-size: 14.5px; }
.footer-grid a:hover { color: var(--state); }
.footer-brand .logo-row { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.footer-brand .logo-row .mark { width: auto; height: 56px; display: block; }
.footer-brand .logo-row span { font-family: var(--f-display); font-weight: 600; font-size: 22px; letter-spacing: -0.01em; }
.footer-brand p { color: var(--fg-3); font-size: 14px; line-height: 1.55; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid var(--line);
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--fg-4);
}
.footer-bottom .socials { display: flex; gap: 12px; }
.footer-bottom .socials a {
  width: 36px; height: 36px; border-radius: 999px;
  display: grid; place-items: center;
  background: oklch(1 0 0 / 0.04);
  border: 1px solid var(--line);
  transition: background .2s ease, border-color .2s ease;
}
.footer-bottom .socials a:hover { background: oklch(1 0 0 / 0.08); border-color: var(--line-strong); }
.footer-bottom .socials svg { width: 16px; height: 16px; fill: var(--fg-2); }

/* Back-to-top — centered divider lockup */
.btt-divider {
  display: flex; align-items: center; justify-content: center;
  margin: 0 0 32px;
  position: relative;
}
.btt-divider::before,
.btt-divider::after {
  content: ""; flex: 1;
  height: 1px; background: var(--line);
}
.btt-divider a {
  display: inline-flex; align-items: center; gap: 14px;
  margin: 0 28px;
  padding: 12px 22px;
  border-radius: 999px;
  /* Match the top-nav Contact pill — green glassmorphism */
  --acc: var(--state);
  --acc-glow: var(--state-glow);
  background: oklch(0.72 0.255 142 / 0.08);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  color: var(--acc);
  box-shadow:
    inset 0 0 0 1px var(--acc),
    inset 0 1px 0 oklch(1 0 0 / 0.12),
    0 6px 18px -8px var(--acc-glow);
  text-decoration: none;
  font-family: var(--f-mono);
  font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase;
  transition: color .2s ease, transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btt-divider a:hover {
  transform: translateY(-1px);
  background: oklch(0.72 0.255 142 / 0.12);
  box-shadow:
    inset 0 0 0 1px var(--acc),
    inset 0 1px 0 oklch(1 0 0 / 0.16),
    0 14px 30px -10px var(--acc-glow);
}
.btt-divider .mini-mark {
  height: 18px; width: 18px; opacity: 0.9; display: block;
  background: transparent;
  object-fit: contain;
}
.btt-divider .arrow-circle {
  width: 22px; height: 22px; border-radius: 999px;
  display: grid; place-items: center;
  border: 1px solid currentColor;
  transition: transform .2s ease;
}
.btt-divider a:hover .arrow-circle { transform: translateY(-3px); }
.btt-divider .arrow-circle svg { width: 9px; height: 9px; }

/* When the divider lockup is present, tighten the gap above and remove the
   redundant top border on the legal row */
.footer-grid:has(+ .btt-divider) { margin-bottom: 40px; }
.btt-divider + .footer-bottom { border-top: 0; padding-top: 0; }

/* On narrow screens, drop the side rules so the pill sits on its own */
@media (max-width: 720px) {
  .btt-divider::before, .btt-divider::after { display: none; }
  .btt-divider a { margin: 0; }
}

/* ========== Responsive ========== */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .hero-row { grid-template-columns: 1fr; gap: 32px; }
  .section-head { grid-template-columns: 1fr; gap: 28px; }
  .issue-wrap { grid-template-columns: 1fr; }
  .solution-grid { grid-template-columns: 1fr; }
  .service { grid-template-columns: 1fr; gap: 18px; padding: 24px; }
  .service .glyph { max-width: 104px; }
  .eco-wrap { grid-template-columns: 1fr; }
  .roadmap { grid-template-columns: 1fr; gap: 24px; }
  .year-marker { position: relative; top: 0; }
  .news-grid { grid-template-columns: 1fr; }
  .news-grid--news { grid-template-columns: 1fr; }
  .news-grid--media { grid-template-columns: 1fr; }
  .news-card.featured { grid-row: auto; min-height: 320px; }
  .cta-card { grid-template-columns: 1fr; padding: 50px 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ========== Tweaks: Accent palettes ========== */
[data-accent="duo"] {
  --acc: oklch(0.72 0.255 142);
  --acc-2: oklch(0.78 0.16 235);
  --acc-dim: oklch(0.5 0.25 142);
  --acc-glow: oklch(0.72 0.255 142 / 0.4);
}
[data-accent="duo"] .kinetic-title .italic,
[data-accent="duo"] .section-head h2 em,
[data-accent="duo"] .cta-card h2 em {
  color: var(--fg);
}
[data-accent="duo"] .bg-orb.a {
  background: radial-gradient(circle, oklch(0.78 0.16 235 / 0.18), transparent 65%);
}

[data-accent="luxe"] {
  --acc: oklch(0.82 0.16 78);
  --acc-2: oklch(0.82 0.16 78);
  --acc-dim: oklch(0.5 0.12 78);
  --acc-glow: oklch(0.82 0.16 78 / 0.4);
}
[data-accent="luxe"] .bg-orb.a {
  background: radial-gradient(circle, oklch(0.8 0.15 78 / 0.18), transparent 65%);
}
[data-accent="luxe"] .bg-orb.b {
  background: radial-gradient(circle, oklch(0.6 0.1 50 / 0.10), transparent 65%);
}

/* ========== Tweaks: Light "premium luxe" theme ========== */
[data-theme="light"] {
  /* Pure white, true-neutral light theme — clean & modern */
  --bg: oklch(1 0 0);
  --bg-deep: oklch(0.965 0 0);
  --bg-elev: oklch(1 0 0);
  --panel: oklch(1 0 0 / 0.6);
  --panel-2: oklch(1 0 0 / 0.45);
  --line: oklch(0 0 0 / 0.08);
  --line-strong: oklch(0 0 0 / 0.14);

  --fg: oklch(0.2 0 0);
  --fg-2: oklch(0.4 0 0);
  --fg-3: oklch(0.55 0 0);
  --fg-4: oklch(0.68 0 0);
}
[data-theme="light"] body {
  background: var(--bg);
}
/* Kill the colored ambient orbs in light mode — keeps the background pure white */
[data-theme="light"] .bg-orb { display: none; }
/* No background grid in light mode — keep it clean */
[data-theme="light"] .bg-grid { display: none; }
[data-theme="light"] .bg-grid {
  background-image:
    linear-gradient(to right, oklch(0 0 0 / 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, oklch(0 0 0 / 0.04) 1px, transparent 1px);
}
[data-theme="light"] .nav-cta { color: oklch(0.48 0.16 142); }
/* Back-to-top pill matches the nav Contact pill in light mode: green glass + darkened text */
[data-theme="light"] .btt-divider a { color: oklch(0.48 0.16 142); }
[data-theme="light"] .btn-primary { color: oklch(0.15 0.01 75); }
[data-theme="light"] ::-webkit-scrollbar-track { background: var(--bg-deep); }
[data-theme="light"] ::-webkit-scrollbar-thumb { background: oklch(0.8 0.01 75); }
[data-theme="light"] .sol-card .big-num { color: oklch(0 0 0 / 0.08); }
[data-theme="light"] .sol-card:hover .big-num { color: oklch(0.55 0.2 142 / 0.7); }
/* Eco-graphic labels sit over the always-dark globe — keep light text + a defined chip in light mode */
[data-theme="light"] .eco-visual .eco-label {
  color: oklch(0.96 0.01 150);
  background: oklch(0.12 0.015 150 / 0.78);
  border-color: oklch(1 0 0 / 0.22);
}
[data-theme="light"] .news-card .preview {
  background:
    repeating-linear-gradient(45deg, oklch(0 0 0 / 0.04), oklch(0 0 0 / 0.04) 8px, transparent 8px, transparent 16px),
    oklch(0.92 0.006 75);
}
[data-theme="light"] .news-card .preview .glyph { background: oklch(1 0 0 / 0.6); }
[data-theme="light"] .marquee { background: oklch(1 0 0 / 0.4); }
[data-theme="light"] .year-marker .year {
  background: linear-gradient(180deg, var(--fg), oklch(0.55 0.05 75));
  -webkit-background-clip: text; background-clip: text;
}

/* ========== Tweaks: Aggressive kinetic hero ========== */
[data-kinetic="aggressive"] .kinetic-title {
  animation: titleMorph 6s ease-in-out infinite;
}
[data-kinetic="aggressive"] .kinetic-title .word {
  animation: wordBreathe 4.2s ease-in-out infinite;
  animation-delay: calc(var(--wi, 0) * 220ms);
}
@keyframes titleMorph {
  0%, 100% { letter-spacing: -0.035em; }
  50% { letter-spacing: -0.055em; }
}
@keyframes wordBreathe {
  0%, 100% { font-weight: 500; font-variation-settings: "wght" 500; }
  50% { font-weight: 700; font-variation-settings: "wght" 700; }
}
[data-kinetic="aggressive"] .kinetic-title .italic {
  animation: italicGlow 3.6s ease-in-out infinite;
}
@keyframes italicGlow {
  0%, 100% { text-shadow: 0 0 0 transparent; opacity: 1; }
  50% { text-shadow: 0 0 36px var(--acc-glow); opacity: 0.92; }
}

/* ========== Tweaks: Horizontal roadmap ========== */
[data-roadmap="horizontal"] .roadmap {
  grid-template-columns: 1fr;
  gap: 40px;
}
[data-roadmap="horizontal"] .year-marker {
  position: relative; top: 0;
  display: flex; align-items: baseline; gap: 24px;
}
[data-roadmap="horizontal"] .year-marker .year {
  font-size: clamp(56px, 8vw, 120px);
}
[data-roadmap="horizontal"] .year-marker .yr-sub { margin-top: 0; }
[data-roadmap="horizontal"] .quarters {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  position: relative;
}
[data-roadmap="horizontal"] .quarters::before {
  content: "";
  position: absolute;
  top: 56px; left: 0; right: 0; height: 1px;
  background: linear-gradient(to right, transparent, var(--line-strong) 8%, var(--line-strong) 92%, transparent);
  z-index: 0;
}
[data-roadmap="horizontal"] .quarter {
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 26px 24px;
  position: relative; z-index: 1;
}
[data-roadmap="horizontal"] .quarter::before {
  content: "";
  position: absolute;
  top: -10px; left: 30px;
  width: 16px; height: 16px; border-radius: 999px;
  background: var(--acc);
  box-shadow: 0 0 0 4px var(--bg), 0 0 18px var(--acc-glow);
}
[data-roadmap="horizontal"] .quarter:hover { transform: translateY(-4px); }
[data-roadmap="horizontal"] .quarter .q-tag { font-size: 24px; }
[data-roadmap="horizontal"] .quarter li { font-size: 13.5px; }

@media (max-width: 1080px) {
  [data-roadmap="horizontal"] .quarters { grid-template-columns: 1fr; }
  [data-roadmap="horizontal"] .quarters::before { display: none; }
  [data-roadmap="horizontal"] .quarter::before { display: none; }
}

/* ========== Tweaks Panel ========== */
.tweaks-toggle-hidden { display: none !important; }
.tweaks-panel {
  position: fixed;
  bottom: 20px; right: 20px;
  z-index: 100;
  width: 296px;
  padding: 18px;
  background: oklch(0.08 0.01 150 / 0.85);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  box-shadow: 0 30px 80px -20px oklch(0 0 0 / 0.6);
  font-family: var(--f-sans);
  color: var(--fg);
  display: none;
}
[data-theme="light"] .tweaks-panel {
  background: oklch(1 0 0 / 0.9);
  color: var(--fg);
}
.tweaks-panel.open { display: block; }
.tweaks-panel .tw-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.tweaks-panel .tw-title {
  font-family: var(--f-display);
  font-weight: 600; font-size: 14px;
  letter-spacing: -0.01em;
  display: flex; align-items: center; gap: 8px;
}
.tweaks-panel .tw-title::before {
  content: ""; width: 8px; height: 8px; border-radius: 999px;
  background: var(--acc); box-shadow: 0 0 10px var(--acc-glow);
}
.tweaks-panel .tw-close {
  width: 24px; height: 24px; border-radius: 6px;
  background: transparent; border: 1px solid var(--line);
  display: grid; place-items: center; cursor: pointer;
  color: var(--fg-2);
}
.tweaks-panel .tw-close:hover { color: var(--fg); border-color: var(--line-strong); }
.tweaks-panel .tw-section { margin-bottom: 14px; }
.tweaks-panel .tw-label {
  font-family: var(--f-mono);
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 6px;
}
.tweaks-panel .tw-seg {
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  background: oklch(1 0 0 / 0.04);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 3px;
  gap: 2px;
}
[data-theme="light"] .tweaks-panel .tw-seg { background: oklch(0 0 0 / 0.04); }
.tweaks-panel .tw-seg button {
  background: transparent; border: 0; cursor: pointer;
  color: var(--fg-2);
  font-family: var(--f-sans); font-size: 12.5px; font-weight: 500;
  padding: 8px 6px;
  border-radius: 7px;
  transition: background .15s ease, color .15s ease;
}
.tweaks-panel .tw-seg button:hover { color: var(--fg); }
.tweaks-panel .tw-seg button.active {
  background: var(--acc); color: var(--bg-deep);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ================================================================
   NEWS & MEDIA — Editorial Redesign
   ================================================================ */

/* Section head ticker */
.press-ticker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-3);
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: oklch(1 0 0 / 0.02);
  margin-bottom: 22px;
}
.press-ticker .tick-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--state);
  box-shadow: 0 0 0 4px oklch(0.72 0.255 142 / 0.16);
  animation: tickPulse 1.6s ease-in-out infinite;
}
.press-ticker .tick-sep { color: var(--fg-4); }
@keyframes tickPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}

/* Subheads — numbered editorial dividers */
.press-subhead {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 56px 0 22px;
  padding-bottom: 0;
  border-bottom: 0;
}
.press-subhead--second { margin-top: 96px; }
.press-subhead-l {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-shrink: 0;
}
.press-num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--fg-4);
  font-weight: 400;
}
.press-subhead h3 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 34px;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin: 0;
  line-height: 1;
}
.press-pill {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--fg-3);
  background: oklch(1 0 0 / 0.02);
}
.press-pill--internal {
  color: var(--state);
  border-color: oklch(0.72 0.255 142 / 0.35);
  background: oklch(0.72 0.255 142 / 0.08);
}
.press-pill--press {
  color: var(--fg);
  border-color: oklch(0.66 0 0 / 0.35);
  background: oklch(0.66 0 0 / 0.08);
}
.press-rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line-strong), transparent);
}
.press-count {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-4);
  flex-shrink: 0;
}

/* Editorial asymmetric grids */
.press-grid {
  display: grid;
  gap: 22px;
}
.press-grid--news {
  grid-template-columns: 1.55fr 1fr;
  align-items: stretch;
}
.press-grid--media {
  grid-template-columns: 1.55fr 1fr;
  grid-template-rows: auto auto;
  align-items: stretch;
}
.press-grid--media .press-card--featured {
  grid-row: span 2;
}

/* Card chrome */
.press-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  border-radius: 18px;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1),
              border-color 0.3s ease,
              box-shadow 0.35s ease;
  min-height: 280px;
}
.press-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 24px 60px -28px oklch(0 0 0 / 0.5);
}
.press-card:focus-visible {
  outline: 2px solid var(--acc);
  outline-offset: 3px;
}
.press-card--lead { min-height: 380px; }
.press-card--featured { min-height: 520px; }

.press-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-3);
  border-bottom: 1px solid var(--line);
  background: oklch(1 0 0 / 0.015);
}
.press-source {
  color: var(--fg-2);
  font-weight: 500;
}

/* Monogram visual block — replaces the old "PAPER/UPDATE" glyph placeholder */
.press-mono {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 36px 36px 30px;
  min-height: 180px;
  overflow: hidden;
  isolation: isolate;
}
.press-card--lead .press-mono { min-height: 220px; padding: 44px 44px 36px; }
.press-card--featured .press-mono { min-height: 320px; padding: 56px 48px 44px; }
.press-mono.compact { min-height: 120px; padding: 24px 22px 22px; }
.press-mono .mono-mark {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 96px;
  line-height: 0.85;
  letter-spacing: -0.04em;
  position: relative;
  z-index: 2;
}
.press-card--lead .press-mono .mono-mark { font-size: 128px; }
.press-card--featured .press-mono .mono-mark { font-size: 176px; }
.press-mono.compact .mono-mark { font-size: 64px; }

.press-mono .mono-label {
  position: relative;
  z-index: 2;
  margin-top: 12px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.press-mono .mono-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(to right, oklch(1 0 0 / 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, oklch(1 0 0 / 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at top right, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at top right, black 0%, transparent 75%);
  opacity: 0.7;
}

/* Per-publication monogram tints */
.press-mono--cc {
  background:
    radial-gradient(ellipse at top right, oklch(0.72 0.255 142 / 0.14), transparent 60%),
    linear-gradient(135deg, oklch(0.18 0.014 150) 0%, oklch(0.14 0.012 150) 100%);
}
.press-mono--cc .mono-mark {
  color: var(--state);
  text-shadow: 0 0 32px oklch(0.72 0.255 142 / 0.5);
}
.press-mono--bz {
  background:
    radial-gradient(ellipse at top right, oklch(0.66 0 0 / 0.22), transparent 60%),
    linear-gradient(135deg, oklch(0.2 0 0) 0%, oklch(0.13 0 0) 100%);
}
.press-mono--bz .mono-mark {
  color: var(--fg);
  text-shadow: 0 0 36px oklch(0.66 0 0 / 0.55);
}
.press-mono--mx {
  background:
    radial-gradient(ellipse at top right, oklch(0.87 0.029 220 / 0.16), transparent 65%),
    linear-gradient(135deg, oklch(0.18 0.014 220) 0%, oklch(0.13 0.012 220) 100%);
}
.press-mono--mx .mono-mark {
  color: var(--acc-pale);
  text-shadow: 0 0 28px oklch(0.87 0.029 220 / 0.35);
}
.press-mono--bw {
  background:
    radial-gradient(ellipse at top right, oklch(0.52 0.10 165 / 0.22), transparent 60%),
    linear-gradient(135deg, oklch(0.18 0.018 165) 0%, oklch(0.13 0.014 165) 100%);
}
.press-mono--bw .mono-mark {
  color: oklch(0.78 0.10 165);
  text-shadow: 0 0 28px oklch(0.52 0.10 165 / 0.45);
}

/* Body */
.press-body {
  padding: 24px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--line);
}
.press-card--lead .press-body { padding: 30px 32px 32px; gap: 12px; }
.press-card--featured .press-body { padding: 36px 38px 38px; gap: 14px; }

.press-tag {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-3);
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  margin-bottom: 2px;
}
.press-tag--featured {
  color: var(--state);
  border-color: oklch(0.72 0.255 142 / 0.4);
  background: oklch(0.72 0.255 142 / 0.06);
}
.press-card h4 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.28;
  letter-spacing: -0.005em;
  color: var(--fg);
  margin: 0;
  text-wrap: balance;
}
.press-card--lead h4 { font-size: 26px; line-height: 1.2; }
.press-card--featured h4 { font-size: 34px; line-height: 1.12; letter-spacing: -0.015em; }
.press-dek {
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-3);
  margin: 0;
  text-wrap: pretty;
}
.press-card--featured .press-dek { font-size: 15.5px; }

.press-read {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-2);
  transition: color 0.25s ease, gap 0.25s ease;
}
.press-read svg {
  width: 14px; height: 14px;
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.press-card:hover .press-read { color: var(--state); gap: 12px; }
.press-card:hover .press-read svg { transform: translateX(3px); }
.press-card--featured:hover .press-read { color: var(--state); }

/* Article modal */
.article-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 60px 24px;
  overflow-y: auto;
}
.article-modal.open {
  display: flex;
  animation: modalFadeIn 0.25s ease;
}
.article-modal-backdrop {
  position: fixed;
  inset: 0;
  background: oklch(0.05 0.008 150 / 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.article-modal-card {
  position: relative;
  width: min(820px, 100%);
  border-radius: 22px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(180deg, oklch(0.16 0.014 150 / 0.92), oklch(0.12 0.012 150 / 0.95));
  box-shadow: 0 40px 100px -30px oklch(0 0 0 / 0.7);
  animation: modalSlideIn 0.32s cubic-bezier(0.2, 0.7, 0.2, 1);
  margin-bottom: 60px;
}
@keyframes modalFadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes modalSlideIn {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to   { opacity: 1; transform: none; }
}
.article-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  background: oklch(1 0 0 / 0.02);
}
.article-modal-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-3);
  flex-wrap: wrap;
}
.amm-source { color: var(--fg); font-weight: 500; }
.amm-tag { color: var(--state); }
.amm-sep { color: var(--fg-4); }
.article-modal-close {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: oklch(1 0 0 / 0.04);
  color: var(--fg-2);
  display: grid; place-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.article-modal-close svg { width: 16px; height: 16px; }
.article-modal-close:hover {
  background: oklch(1 0 0 / 0.1);
  color: var(--fg);
  border-color: var(--line-strong);
  transform: rotate(90deg);
}
.article-modal-body {
  padding: 38px 56px 32px;
}
.article-modal-body h2 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 36px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--fg);
  margin: 0 0 24px;
  text-wrap: balance;
}
.article-modal-content {
  font-size: 16px;
  line-height: 1.7;
  color: var(--fg-2);
  max-width: 64ch;
}
.article-modal-content p { margin: 0 0 1.1em; text-wrap: pretty; }
.article-modal-content p:last-child { margin-bottom: 0; }
.article-modal-content blockquote {
  margin: 1.4em 0;
  padding: 0 0 0 22px;
  border-left: 2px solid var(--acc);
  font-style: italic;
  color: var(--fg);
  font-family: var(--f-serif), Georgia, serif;
  font-size: 19px;
  line-height: 1.5;
}
.article-modal-content blockquote cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.article-modal-content ul {
  margin: 1em 0 1.2em;
  padding-left: 0;
  list-style: none;
}
.article-modal-content ul li {
  padding: 8px 0 8px 22px;
  position: relative;
  border-bottom: 1px solid var(--line);
}
.article-modal-content ul li:last-child { border-bottom: 0; }
.article-modal-content ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 18px;
  width: 8px; height: 1px;
  background: var(--acc);
}
.article-modal-content ul li strong {
  color: var(--fg);
  font-weight: 600;
}
.article-modal-content h3 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin: 1.8em 0 0.6em;
}
.article-modal-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  border-top: 1px solid var(--line);
  background: oklch(1 0 0 / 0.02);
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.amf-hint { color: var(--fg-4); }
.amf-hint kbd {
  font-family: var(--f-mono);
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: oklch(1 0 0 / 0.04);
  color: var(--fg-3);
  margin-right: 4px;
}
.amf-link { color: var(--state); text-decoration: none; }
.amf-link:hover { color: var(--state); }

body.modal-open { overflow: hidden; }

/* Light theme overrides */
[data-theme="light"] .press-ticker { background: oklch(0 0 0 / 0.02); }
[data-theme="light"] .press-meta { background: oklch(0 0 0 / 0.015); }
[data-theme="light"] .press-mono--cc {
  background:
    radial-gradient(ellipse at top right, oklch(0.72 0.255 142 / 0.10), transparent 60%),
    linear-gradient(135deg, oklch(0.96 0.008 150) 0%, oklch(0.92 0.006 150) 100%);
}
[data-theme="light"] .press-mono--cc .mono-mark { text-shadow: 0 0 24px oklch(0.72 0.255 142 / 0.25); }
[data-theme="light"] .press-mono--bz {
  background:
    radial-gradient(ellipse at top right, oklch(0.66 0 0 / 0.16), transparent 60%),
    linear-gradient(135deg, oklch(0.95 0 0) 0%, oklch(0.91 0 0) 100%);
}
[data-theme="light"] .press-mono--bz .mono-mark { text-shadow: 0 0 24px oklch(0.66 0 0 / 0.3); }
[data-theme="light"] .press-mono--mx {
  background:
    radial-gradient(ellipse at top right, oklch(0.87 0.029 220 / 0.22), transparent 65%),
    linear-gradient(135deg, oklch(0.96 0.008 220) 0%, oklch(0.93 0.008 220) 100%);
}
[data-theme="light"] .press-mono--bw {
  background:
    radial-gradient(ellipse at top right, oklch(0.52 0.10 165 / 0.18), transparent 60%),
    linear-gradient(135deg, oklch(0.95 0.014 165) 0%, oklch(0.91 0.012 165) 100%);
}
[data-theme="light"] .press-mono .mono-grid {
  background-image:
    linear-gradient(to right, oklch(0 0 0 / 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, oklch(0 0 0 / 0.04) 1px, transparent 1px);
}
[data-theme="light"] .article-modal-backdrop { background: oklch(0.92 0.008 150 / 0.75); }
[data-theme="light"] .article-modal-card {
  background: linear-gradient(180deg, oklch(0.98 0.006 150 / 0.96), oklch(0.96 0.006 150 / 0.98));
}

/* Mobile */
@media (max-width: 900px) {
  .press-grid--news,
  .press-grid--media { grid-template-columns: 1fr; }
  .press-grid--media .press-card--featured { grid-row: auto; }
  .press-card--lead { min-height: 320px; }
  .press-card--featured { min-height: 360px; }
  .press-card--lead .press-mono .mono-mark { font-size: 96px; }
  .press-card--featured .press-mono .mono-mark { font-size: 120px; }
  .press-card--featured h4 { font-size: 24px; }
  .press-card--lead h4 { font-size: 21px; }
  .press-subhead h3 { font-size: 26px; }
  .article-modal-body { padding: 28px 24px 24px; }
  .article-modal-body h2 { font-size: 26px; }
  .article-modal-content { font-size: 15px; }
}

/* Make pr-lead anchor variant inherit clean link styling */
a.press-card.pr-lead { text-decoration: none; color: inherit; display: grid; }

/* Image-less variant — body fills full width */
.press-card.pr-lead.pr-no-image { grid-template-columns: 1fr; min-height: 0; }
.press-card.pr-lead.pr-no-image .pr-lead-body { padding: 32px 40px; }

/* Blog "More coming" tile */
.blog-more {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 26px;
  border: 1px dashed var(--line-strong);
  border-radius: 16px;
  background: color-mix(in oklab, var(--bg-elev), transparent 30%);
}
.blog-more-label {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg);
}
.blog-more-text {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--fg-2);
}

/* =============================================================
   News — Press Releases (chronological list with lead image)
   ============================================================= */
.press-news-stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* ---------- Lead (featured / most recent) ---------- */
.press-card.pr-lead {
  display: grid;
  grid-template-columns: 0.85fr 1.6fr;
  gap: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 22px;
  cursor: pointer;
  min-height: 306px;
}
.pr-lead-img {
  position: relative;
  overflow: hidden;
  background: oklch(0.18 0.02 240);
  min-height: 272px;
}
.pr-lead-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.press-card.pr-lead:hover .pr-lead-img img { transform: scale(1.03); }
.pr-lead-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 60%,
    color-mix(in oklab, var(--surface), transparent 30%) 100%
  );
  pointer-events: none;
}
.pr-lead-body {
  padding: 36px 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
}
.pr-lead-body .press-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  font-family: var(--f-mono, monospace);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.pr-lead-body .press-meta .press-date::before {
  content: "·";
  margin-right: 12px;
  color: var(--fg-3);
}
.pr-lead-body h4 {
  font-family: var(--f-display);
  font-size: 30px;
  line-height: 1.18;
  letter-spacing: -0.012em;
  font-weight: 700;
  margin: 0;
  text-wrap: balance;
  color: var(--fg);
}
.pr-lead-body .press-dek {
  font-size: 16px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0;
}
.pr-lead-body .press-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: color-mix(in oklab, var(--acc), transparent 88%);
  color: var(--fg);
  font-family: var(--f-mono, monospace);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pr-lead-body .press-read {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-family: var(--f-mono, monospace);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--fg);
  text-transform: uppercase;
}
.pr-lead-body .press-read svg {
  width: 16px;
  height: 16px;
  transition: transform 240ms ease;
}
.press-card.pr-lead:hover .pr-lead-body .press-read svg { transform: translateX(4px); }

/* ---------- Text-only press release list ---------- */
.pr-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.pr-list-item {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  gap: 28px;
  align-items: baseline;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background 200ms ease, padding 200ms ease;
  position: relative;
}
.pr-list-item:hover {
  background: color-mix(in oklab, var(--acc), transparent 96%);
  padding-left: 12px;
  padding-right: 12px;
}
.pr-list-item:focus-visible {
  outline: 2px solid var(--acc);
  outline-offset: 2px;
  border-radius: 4px;
}
.pr-list-item .pr-date {
  font-family: var(--f-mono, monospace);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-2);
  white-space: nowrap;
}
.pr-list-item .pr-title {
  font-family: var(--f-display);
  font-size: 19px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--fg);
  text-wrap: balance;
}
.pr-list-item::after {
  content: "→";
  font-family: var(--f-mono, monospace);
  font-size: 18px;
  color: var(--fg-3);
  align-self: center;
  transition: transform 220ms ease, color 220ms ease;
}
.pr-list-item:hover::after {
  color: var(--state);
  transform: translateX(4px);
}

/* Mobile */
@media (max-width: 900px) {
  .press-card.pr-lead {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .pr-lead-img { min-height: 220px; }
  .pr-lead-img::after { display: none; }
  .pr-lead-body { padding: 26px 24px 28px; }
  .pr-lead-body h4 { font-size: 22px; }
  .pr-lead-body .press-dek { font-size: 14.5px; }

  .pr-list-item {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 4px 14px;
    padding: 18px 4px;
  }
  .pr-list-item .pr-date {
    grid-column: 1 / -1;
    font-size: 11.5px;
  }
  .pr-list-item .pr-title {
    grid-column: 1;
    font-size: 16.5px;
  }
  .pr-list-item::after {
    grid-column: 2;
    grid-row: 2;
  }
}
