/* ============================================================
   tracee shared site styles.
   Tracee Brand Guidelines v1.0 tokens
   ============================================================ */

:root {
  --ice-white:  #F5F6FC;
  --purple:     #5D17EA;
  --purple-hi:  #7437F2;
  --purple-lo:  #4A0FCC;
  --midnight:   #14141A;
  --lime:       #CEFF1C;
  --lime-hi:    #DFFF4D;
  --black:      #000000;
  --cloud:      #EDEFF7;
  --smoke:      #D3D6E0;
  --steel:      #BCBFCC;
  --space:      #9DA2B3;
  --graphite:   #6E7180;
  --arsenic:    #40424D;
  --phantom:    #1E1E24;
  --signal-blue:#7C9BFF;
  --signal-amber:#FFB454;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--midnight);
  color: var(--ice-white);
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: 880px; margin: 0 auto; padding: 0 32px; }

/* ============== Lockup logo ============== */

.lockup {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--ice-white);
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.025em;
  line-height: 1;
}
.lockup .glyph {
  height: 1em;
  width: auto;
  flex-shrink: 0;
  transform: translateY(0.05em);
}
.lockup .period-dot {
  width: 0.22em;
  height: 0.22em;
  border-radius: 50%;
  background: var(--purple);
  display: inline-block;
  align-self: flex-end;
  margin-bottom: 0.05em;
  margin-left: 0.02em;
}

/* When the lockup is rendered as a single SVG asset (img tag) instead of
   inline mark + text, scale by height. Header gets a slightly larger size,
   footer brand keeps the same sizing for consistency. */
.lockup-img {
  height: 72px;
  width: auto;
  display: block;
}
.footer-brand .lockup-img { height: 60px; }
@media (max-width: 600px) {
  .lockup-img { height: 48px; }
}

/* Photo holder enhancements: when a real <img> is dropped inside, hide the
   placeholder icon and label, and let the image cover the holder. */
.photo-holder:has(img) {
  border: none;
  background: transparent;
}
.photo-holder:has(img) > svg.photo-icon,
.photo-holder:has(img) > span {
  display: none;
}
.photo-holder img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

/* ============== Skip-to-main link (a11y) ============== */
.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--lime);
  color: var(--midnight);
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 8px;
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}
.skip-link:focus { transform: translateY(0); outline: 2px solid var(--midnight); outline-offset: 2px; }

/* ============== Header ============== */

/* Mobile menu toggle button (hamburger) — only shown on small viewports */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--phantom);
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 110;
  transition: border-color 200ms var(--ease-out-expo), background 200ms var(--ease-out-expo);
}
.nav-toggle:hover { border-color: var(--arsenic); background: rgba(255, 255, 255, 0.03); }
.nav-toggle:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--ice-white);
  margin: 4px auto;
  border-radius: 2px;
  transition: transform 280ms var(--ease-out-expo), opacity 200ms var(--ease-out-expo);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* Body lock while mobile nav is open */
body.nav-open { overflow: hidden; }

.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(20, 20, 26, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 250ms var(--ease-out-expo), background 250ms var(--ease-out-expo);
}
.header.scrolled {
  border-bottom-color: var(--phantom);
  background: rgba(20, 20, 26, 0.92);
}
.header-inner {
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav { display: flex; align-items: center; gap: 36px; }
.nav-link {
  color: var(--steel);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  transition: color 200ms var(--ease-out-expo);
}
.nav-link:hover, .nav-link.active { color: var(--ice-white); }

.cta-pill {
  display: inline-flex;
  align-items: center;
  padding: 11px 22px;
  background: var(--lime);
  color: var(--midnight);
  border: none;
  border-radius: 999px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: background 200ms var(--ease-out-expo), transform 200ms var(--ease-out-expo);
  will-change: transform;
}
.cta-pill:hover { background: var(--lime-hi); }

/* Language switcher */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--graphite);
  margin-right: 8px;
}
.lang-switch a {
  color: var(--space);
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 999px;
  transition: color 200ms var(--ease-out-expo), background 200ms var(--ease-out-expo);
}
.lang-switch a.active { color: var(--ice-white); background: rgba(245,246,252,0.06); }
.lang-switch a:hover:not(.active) { color: var(--ice-white); }
.lang-switch .sep { color: var(--arsenic); margin: 0 2px; }
@media (max-width: 980px) { .lang-switch { font-size: 11px; margin-right: 4px; } }

/* ============== Type ============== */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--space);
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--graphite);
}

.display-headline {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(44px, 6.4vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(40px, 5.4vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.2;
  letter-spacing: -0.015em;
}
/* Use rgba on color (not the opacity property) so Motion One reveal animations
   that set opacity:1 cannot flatten the two-tone effect. */
.dim   { color: rgba(245, 246, 252, 0.42); display: block; }
.bright{ color: rgb(245, 246, 252); display: block; }

.lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--steel);
  font-weight: 400;
}
.body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--steel);
}
.body p + p { margin-top: 1.4em; }
.caption {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--space);
}
.caption.lime { color: var(--lime); }
.caption.purple { color: var(--purple); }

/* ============== CTA elements ============== */

.cta-primary {
  display: inline-flex; align-items: center;
  padding: 18px 32px;
  background: var(--lime);
  color: var(--midnight);
  border: none; border-radius: 999px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600; font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: background 200ms var(--ease-out-expo);
  will-change: transform;
}
.cta-primary:hover { background: var(--lime-hi); }

.cta-ghost {
  color: var(--ice-white);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 4px 0;
  border-bottom: 1px solid rgba(245, 246, 252, 0.22);
  transition: border-color 200ms var(--ease-out-expo);
}
.cta-ghost:hover { border-bottom-color: var(--ice-white); }
.cta-ghost::after { content: ' →'; color: var(--space); transition: color 200ms var(--ease-out-expo); }
.cta-ghost:hover::after { color: var(--ice-white); }

/* ============== Sections ============== */

section { padding: 160px 0; position: relative; }
section.hero { padding: 200px 0 120px; }
section.page-hero { padding: 180px 0 80px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 96px;
  align-items: center;
}
.hero-copy { max-width: 720px; }
.hero-eyebrow { margin-bottom: 40px; }
.hero-headline { margin-bottom: 36px; max-width: 14ch; }
.hero-lede { max-width: 56ch; margin-bottom: 56px; }
.hero-cta-row { display: flex; align-items: center; gap: 32px; }

.page-hero-eyebrow { margin-bottom: 32px; }
.page-hero-h1 { margin-bottom: 28px; max-width: 22ch; }
.page-hero-lede { max-width: 60ch; }

.hero-tile {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 220px;
  justify-self: center;
  border-radius: 24%;
  /* Even softer Purple field, more transparent. Reads as an atmospheric glow
     rather than a solid card. */
  background:
    radial-gradient(circle at 28% 22%, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0) 60%),
    linear-gradient(160deg, rgba(116, 55, 242, 0.30) 0%, rgba(93, 23, 234, 0.30) 50%, rgba(74, 15, 204, 0.30) 100%);
  box-shadow:
    0 20px 60px -10px rgba(93, 23, 234, 0.28),
    0 8px 18px -4px rgba(0, 0, 0, 0.20);
  overflow: visible;
}
.hero-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 35%);
  pointer-events: none;
}
/* Floating mark inside the tile: real Tracee logo SVG, transparent bg. */
.hero-tile-mark {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 22%;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.5));
}
/* Faster float with a subtle ±2° rotation for life. Applied to mark, not tile,
   so it doesn't fight Motion One's reveal entry. */
.hero-tile svg, .hero-tile .hero-tile-mark {
  animation: tile-float-rich 4s ease-in-out infinite;
  animation-delay: 1.2s;
}
@keyframes tile-float-rich {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25%      { transform: translateY(-4px) rotate(2deg); }
  50%      { transform: translateY(-7px) rotate(0deg); }
  75%      { transform: translateY(-4px) rotate(-2deg); }
}

/* ===== Hero section ambient light =====
   Soft Purple glow on the left, blue glow on the right, faint Lime kiss
   along the bottom. The whole layer drifts and breathes very slowly for
   atmosphere. Plus a wide, slow diagonal sweep that crosses the hero every
   14 seconds (long pause, quick pass). All sit behind the content layer. */
.hero::before {
  content: '';
  position: absolute;
  inset: -10% -5%;
  background:
    radial-gradient(55% 75% at 0% 45%,   rgba(93, 23, 234, 0.22) 0%, rgba(93, 23, 234, 0) 60%),
    radial-gradient(50% 65% at 100% 55%, rgba(124, 155, 255, 0.13) 0%, rgba(124, 155, 255, 0) 60%),
    radial-gradient(60% 40% at 50% 100%, rgba(206, 255, 28, 0.05) 0%, rgba(206, 255, 28, 0) 60%);
  pointer-events: none;
  z-index: 0;
  filter: blur(8px);
  animation: hero-ambient-drift 18s ease-in-out infinite;
}
@keyframes hero-ambient-drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1);    opacity: 0.85; }
  50%      { transform: translate3d(24px, -16px, 0) scale(1.04); opacity: 1; }
}

.hero::after {
  content: '';
  position: absolute;
  top: -20%; bottom: -20%;
  left: 0; right: 0;
  background: linear-gradient(
    102deg,
    transparent 36%,
    rgba(255, 255, 255, 0.035) 47%,
    rgba(255, 255, 255, 0.065) 50%,
    rgba(255, 255, 255, 0.035) 53%,
    transparent 64%
  );
  transform: translateX(-100%);
  pointer-events: none;
  z-index: 0;
  animation: hero-section-sweep 14s ease-in-out infinite;
  animation-delay: 4s;
}
@keyframes hero-section-sweep {
  0%, 80%, 100% { transform: translateX(-100%); }
  93%           { transform: translateX(100%); }
}

/* Tile shine removed per request — the section-level ambient handles the light */

/* ===== Hero diagram (replaces .hero-tile in current markup) =====
   A live architectural diagram: central t mark + 4 orbital practice nodes,
   purple radial connections, lime tracer dots traveling along them. */
.hero-diagram {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 600px;
  justify-self: center;
  animation: hero-diagram-breathe 8s ease-in-out infinite;
  transform-origin: center center;
}
@keyframes hero-diagram-breathe {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.012); }
}
.hero-diagram-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center,
    rgba(93, 23, 234, 0.32) 0%,
    rgba(93, 23, 234, 0.16) 30%,
    rgba(93, 23, 234, 0) 60%);
  pointer-events: none;
  z-index: 0;
}
.hero-diagram-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(188, 191, 204, 0.18) 1px, transparent 1.5px);
  background-size: 32px 32px;
  background-position: center center;
  opacity: 0.34;
  -webkit-mask-image: radial-gradient(circle at center, black 35%, transparent 80%);
          mask-image: radial-gradient(circle at center, black 35%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}
.hero-diagram-svg {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
  overflow: visible;
}

/* Orbital rotation: the four nodes + radial lines + dashed loop rotate
   around the canvas center as a rigid system. Glyphs inside each node
   counter-rotate so they stay upright (the $ doesn't end up sideways). */
.hero-diagram-orbit {
  transform-box: fill-box;
  transform-origin: center center;
  animation: hero-orbit-rotate 30s linear infinite;
}
@keyframes hero-orbit-rotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.hero-diagram-counter {
  transform-origin: 0 0;
  animation: hero-orbit-counter 30s linear infinite;
}
@keyframes hero-orbit-counter {
  from { transform: rotate(0deg); }
  to   { transform: rotate(-360deg); }
}

/* Tracer dots: travel from inner end (near t mark) outward to node edge */
.tracer { opacity: 0; }
.tracer-nw { animation: tracer-travel-nw 5.6s ease-in-out infinite; }
.tracer-ne { animation: tracer-travel-ne 5.6s ease-in-out infinite; animation-delay: 1.4s; }
.tracer-se { animation: tracer-travel-se 5.6s ease-in-out infinite; animation-delay: 2.8s; }
.tracer-sw { animation: tracer-travel-sw 5.6s ease-in-out infinite; animation-delay: 4.2s; }
@keyframes tracer-travel-nw {
  0%   { transform: translate(0, 0);          opacity: 0; }
  10%  {                                      opacity: 1; }
  90%  {                                      opacity: 1; }
  100% { transform: translate(-48px, -48px);  opacity: 0; }
}
@keyframes tracer-travel-ne {
  0%   { transform: translate(0, 0);          opacity: 0; }
  10%  {                                      opacity: 1; }
  90%  {                                      opacity: 1; }
  100% { transform: translate(48px, -48px);   opacity: 0; }
}
@keyframes tracer-travel-se {
  0%   { transform: translate(0, 0);          opacity: 0; }
  10%  {                                      opacity: 1; }
  90%  {                                      opacity: 1; }
  100% { transform: translate(48px, 48px);    opacity: 0; }
}
@keyframes tracer-travel-sw {
  0%   { transform: translate(0, 0);          opacity: 0; }
  10%  {                                      opacity: 1; }
  90%  {                                      opacity: 1; }
  100% { transform: translate(-48px, 48px);   opacity: 0; }
}

/* Lime detached dot on the central t mark: gentle opacity pulse */
.hero-diagram-dot {
  animation: hero-diagram-dot-pulse 3.8s ease-in-out infinite;
  transform-origin: center;
}
@keyframes hero-diagram-dot-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.55; }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero::after,
  .hero-tile svg, .hero-tile .hero-tile-mark,
  .hero-diagram, .hero-diagram-dot,
  .hero-diagram-orbit, .hero-diagram-counter,
  .tracer-nw, .tracer-ne, .tracer-se, .tracer-sw { animation: none !important; }
  .hero::after { display: none; }
  /* Pause tracers at first frame (invisible by default) */
  .tracer { opacity: 0; }
}

/* ============== Scroll experience: snap + section flash + progress + dot nav ============== */

/* Soft scroll-snap: sections gently align when scrolling stops nearby.
   Proximity (not mandatory) so it never fights momentum scrolls. */
html {
  scroll-snap-type: y proximity;
  scroll-padding-top: 88px;
}
main > section {
  scroll-snap-align: start;
  scroll-snap-stop: normal;
  position: relative;
}

/* Scroll progress: gradient line fixed at top of viewport */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg,
    rgba(93, 23, 234, 0.90) 0%,
    rgba(124, 56, 247, 0.95) 50%,
    rgba(206, 255, 28, 1) 100%);
  transform: scaleX(0);
  transform-origin: 0 50%;
  z-index: 200;
  pointer-events: none;
  border-bottom-right-radius: 3px;
  box-shadow: 0 0 8px rgba(206, 255, 28, 0.30);
  will-change: transform;
}

/* Section dot nav: vertical column fixed on the right edge */
.section-nav {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: opacity 500ms cubic-bezier(0.16, 1, 0.3, 1);
}
.section-nav.visible {
  opacity: 1;
  pointer-events: auto;
}
.section-nav-dot {
  position: relative;
  display: block;
  width: 9px;
  height: 9px;
  background: rgba(245, 246, 252, 0.22);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  text-decoration: none;
  transition: all 300ms cubic-bezier(0.16, 1, 0.3, 1);
}
.section-nav-dot:hover {
  background: rgba(245, 246, 252, 0.55);
  transform: scale(1.3);
}
.section-nav-dot.active {
  background: var(--lime);
  width: 11px;
  height: 11px;
  box-shadow: 0 0 14px rgba(206, 255, 28, 0.55);
}
.section-nav-dot::after {
  content: attr(data-label);
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 250ms ease, transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.section-nav-dot:hover::after,
.section-nav-dot.active::after {
  opacity: 0.9;
  transform: translateY(-50%) translateX(0);
}
.section-nav-dot.active::after {
  color: var(--lime);
  opacity: 1;
}

@media (max-width: 980px) {
  .section-nav { display: none; }
  .scroll-progress { height: 2px; }
  /* Disable scroll-snap on small screens — long sections + small viewport
     make snap feel claustrophobic on mobile */
  html { scroll-snap-type: none; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-progress { transition: none !important; }
  html { scroll-snap-type: none !important; }
}
.hero-tile svg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.35));
}

.section-head { margin-bottom: 80px; }
.section-head .eyebrow { margin-bottom: 28px; }
.section-head.center { text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head .h2 { margin-bottom: 24px; max-width: 22ch; }
.section-head.center .h2 { margin-left: auto; margin-right: auto; }
.section-head .lede { max-width: 54ch; }
.section-head.center .lede { margin-left: auto; margin-right: auto; }

/* ============== Tiles ============== */

.tile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.tile-grid.three { grid-template-columns: repeat(3, 1fr); }
.tile {
  position: relative;
  background: var(--phantom);
  border-radius: 24px;
  padding: 32px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.tile-mark {
  width: 18px; height: 22px;
  color: var(--graphite);
  margin-bottom: 16px;
}
.tile.purple .tile-mark { color: rgba(255,255,255,0.85); }
.tile-caption {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--space);
  margin-bottom: 18px;
}
.tile.purple .tile-caption { color: var(--lime); }
.tile-title {
  font-size: 22px; font-weight: 600; line-height: 1.2;
  color: var(--ice-white);
  letter-spacing: -0.015em;
  margin-bottom: 14px;
}
.tile-body {
  font-size: 14px; line-height: 1.55;
  color: var(--steel);
}
.tile.purple {
  background: linear-gradient(160deg, var(--purple-hi) 0%, var(--purple) 60%, var(--purple-lo) 100%);
  box-shadow: 0 24px 48px -8px rgba(93, 23, 234, 0.4);
}
.tile.purple .tile-body { color: rgba(245, 246, 252, 0.82); }
.tile.purple .tile-title { color: var(--ice-white); }
.counter-num {
  font-size: 56px; font-weight: 700; line-height: 1;
  letter-spacing: -0.04em;
  font-feature-settings: 'tnum';
  color: var(--lime);
}

/* ============== Offer columns ============== */

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.offer-col {
  padding: 8px 40px 8px 40px;
  border-left: 1px solid var(--phantom);
  display: flex;
  flex-direction: column;
  min-height: 360px;
}
.offer-col:first-child { padding-left: 0; border-left: none; }
.offer-col:last-child { padding-right: 0; }
.offer-num {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--space);
  margin-bottom: 28px;
}
.offer-title {
  font-size: 26px; font-weight: 600;
  color: var(--ice-white);
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  line-height: 1.15;
}
.offer-body {
  font-size: 15px; line-height: 1.6;
  color: var(--steel);
  margin-bottom: 28px;
  flex: 1;
}
.offer-price {
  font-size: 13px; font-weight: 500;
  color: var(--lime);
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}
.offer-link {
  color: var(--ice-white);
  font-size: 14px; font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(245,246,252,0.18);
  padding-bottom: 2px;
  align-self: flex-start;
  transition: border-color 200ms var(--ease-out-expo);
}
.offer-link:hover { border-bottom-color: var(--ice-white); }
.offer-link::after { content: ' →'; color: var(--space); transition: color 200ms var(--ease-out-expo); }
.offer-link:hover::after { color: var(--ice-white); }

/* ============== Process strip ============== */

.process { margin-top: 32px; position: relative; }
.process-track { position: relative; padding: 60px 0 24px; }
.process-line {
  position: absolute;
  top: 84px;
  left: 0; right: 0;
  height: 1px;
  background: var(--phantom);
  transform-origin: left center;
  transform: scaleX(0);
  z-index: 0;
}
.process-nodes {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
  z-index: 1;
}
.process-node { display: flex; flex-direction: column; align-items: flex-start; padding-right: 20px; opacity: 0; }
.process-num {
  font-family: 'Poppins', sans-serif;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--space);
  margin-bottom: 18px;
  height: 48px;
  display: flex; align-items: center;
  position: relative;
}
.process-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--midnight);
  border: 2px solid var(--phantom);
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}
.process-node:first-child .process-dot { background: var(--lime); border-color: var(--lime); }
.process-title {
  font-size: 17px; font-weight: 600;
  color: var(--ice-white);
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}
.process-desc { font-size: 13px; color: var(--steel); line-height: 1.5; }

/* ============== Closing CTA ============== */

.closing { text-align: center; padding: 200px 0; }
.closing .h2 { margin: 0 auto 24px; max-width: 18ch; }
.closing .lede { margin: 0 auto 48px; max-width: 56ch; }

/* ============== Advisory page: format blocks ============== */

.format-block {
  padding: 64px 0;
  border-bottom: 1px solid var(--phantom);
  scroll-margin-top: 100px;
}
.format-block:last-child { border-bottom: none; }
.format-num {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--space);
  margin-bottom: 20px;
}
.format-title { margin-bottom: 28px; }
.format-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-bottom: 40px;
}
.format-grid h4 {
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--space);
  margin-bottom: 20px;
}
.format-list { list-style: none; }
.format-list li {
  position: relative;
  padding-left: 22px;
  font-size: 16px; line-height: 1.55;
  color: var(--ice-white);
  margin-bottom: 14px;
}
.format-list li::before {
  content: '';
  position: absolute;
  top: 10px; left: 0;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--lime);
}
.format-meta {
  font-size: 13px;
  color: var(--lime);
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* ============== About page ============== */

.about-body { max-width: 720px; margin: 0 auto; padding: 0 32px; }
.about-body p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--steel);
  margin-bottom: 28px;
}
.about-body p:last-child { margin-bottom: 0; }
.about-body strong { color: var(--ice-white); font-weight: 500; }

/* ============== Reports page ============== */

.report-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.report-card {
  position: relative;
  background: var(--phantom);
  border-radius: 24px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform 300ms var(--ease-out-expo), background 300ms var(--ease-out-expo);
}
.report-card:hover { transform: translateY(-3px); background: #25252D; }
.report-card.featured {
  background: linear-gradient(160deg, var(--purple-hi) 0%, var(--purple) 60%, var(--purple-lo) 100%);
  grid-column: span 2;
  min-height: 360px;
  box-shadow: 0 24px 48px -8px rgba(93, 23, 234, 0.4);
}
.report-card.featured:hover { transform: translateY(-3px); }
.report-card .tile-mark { color: var(--graphite); }
.report-card.featured .tile-mark { color: rgba(255,255,255,0.9); }
.report-meta {
  display: flex; align-items: center; gap: 16px;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--space);
  margin-bottom: 24px;
}
.report-card.featured .report-meta { color: var(--lime); }
.report-meta .sep { color: var(--arsenic); }
.report-card.featured .report-meta .sep { color: rgba(206,255,28,0.3); }
.report-title {
  font-size: 24px; font-weight: 600; line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ice-white);
  margin-bottom: 16px;
  flex: 1;
}
.report-card.featured .report-title { font-size: 32px; }
.report-summary {
  font-size: 14px; line-height: 1.55;
  color: var(--steel);
  margin-bottom: 28px;
}
.report-card.featured .report-summary { color: rgba(245,246,252,0.85); font-size: 16px; }
.report-cta {
  font-size: 14px; font-weight: 500;
  color: var(--ice-white);
  display: inline-flex; align-items: center;
  gap: 6px;
}
.report-cta::after { content: '→'; color: var(--space); transition: transform 200ms var(--ease-out-expo); }
.report-card:hover .report-cta::after { transform: translateX(3px); color: var(--ice-white); }
.report-card.featured .report-cta::after { color: var(--lime); }

/* ============== Long-form report — multi-chapter reading experience ==============
   Used by /reports/stablecoins-2026/ and successors. Provides a sticky chapter
   ribbon, prev/next nav, subscription gate, and a 50-tone teaser fade. */

/* Sticky chapter ribbon sitting just below the main header */
.chapter-ribbon {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 20, 26, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--phantom);
  margin-top: 104px;
  padding: 14px 0;
}
.chapter-ribbon-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}
.chapter-ribbon-home {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.chapter-ribbon-eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--graphite);
}
.chapter-ribbon-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--ice-white);
  margin-top: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chapter-ribbon-progress {
  flex: 0 0 160px;
  height: 3px;
  background: var(--phantom);
  border-radius: 999px;
  overflow: hidden;
}
.chapter-ribbon-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--lime), var(--lime-hi));
  border-radius: 999px;
  transition: width 600ms var(--ease-out-expo);
}
.chapter-ribbon-toc {
  flex: 0 0 auto;
  position: relative;
}
.chapter-ribbon-toc summary {
  list-style: none;
  cursor: pointer;
  padding: 8px 14px;
  background: rgba(245, 246, 252, 0.04);
  border: 1px solid var(--phantom);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ice-white);
  user-select: none;
}
.chapter-ribbon-toc summary::-webkit-details-marker { display: none; }
.chapter-ribbon-toc[open] summary { border-color: rgba(206, 255, 28, 0.40); color: var(--lime); }
.chapter-toc-list {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: min(420px, 90vw);
  background: linear-gradient(180deg, #1a1a22 0%, #14141A 100%);
  border: 1px solid var(--phantom);
  border-radius: 16px;
  padding: 12px;
  margin: 0;
  list-style: none;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.chapter-toc-list li { counter-reset: none; }
.chapter-toc-list a {
  display: block;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--steel);
  text-decoration: none;
  border-radius: 10px;
  transition: background 180ms var(--ease-out-expo), color 180ms var(--ease-out-expo);
}
.chapter-toc-list a:hover { background: rgba(245, 246, 252, 0.04); color: var(--ice-white); }
.chapter-toc-list a.active { color: var(--lime); background: rgba(206, 255, 28, 0.06); }

/* Subscription gate — the "subscribe to read more" section */
.r-gate {
  position: relative;
  padding: 96px 0 120px;
  background:
    radial-gradient(ellipse at top, rgba(93, 23, 234, 0.18) 0%, transparent 55%),
    linear-gradient(180deg, #1a1a22 0%, #14141A 80%);
  margin: -64px 0 0;
}
.r-gate-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.r-gate-head { margin-bottom: 48px; }
.r-gate-head .h2 { margin-bottom: 0; }
.r-gate-head .h2 .dim,
.r-gate-head .h2 .bright { display: inline; }
.r-gate-head .lede { margin-left: auto; margin-right: auto; color: var(--steel); }
.r-gate-form { text-align: left; }
.r-gate-error {
  margin-top: 18px;
  padding: 12px 16px;
  background: rgba(255, 180, 84, 0.08);
  border: 1px solid rgba(255, 180, 84, 0.30);
  border-radius: 10px;
  color: var(--signal-amber);
  font-size: 13.5px;
}

/* Teaser fade — last paragraph of public preview softens to midnight */
.r-teaser-fade {
  position: relative;
  -webkit-mask-image: linear-gradient(180deg, black 0%, black 30%, transparent 100%);
  mask-image: linear-gradient(180deg, black 0%, black 30%, transparent 100%);
}

/* Table of contents on the landing page */
.r-toc { display: grid; gap: 14px; margin-top: 32px; }
.r-toc-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 24px 28px;
  background: rgba(245, 246, 252, 0.025);
  border: 1px solid var(--phantom);
  border-radius: 18px;
  transition: border-color 250ms var(--ease-out-expo), background 250ms var(--ease-out-expo);
}
.r-toc-item:hover { border-color: rgba(206, 255, 28, 0.24); background: rgba(245, 246, 252, 0.04); }
.r-toc-num {
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--lime);
  letter-spacing: -0.02em;
  font-feature-settings: "tnum";
}
.r-toc-title {
  font-size: 19px;
  font-weight: 600;
  color: var(--ice-white);
  letter-spacing: -0.015em;
  margin-bottom: 8px;
  line-height: 1.25;
}
.r-toc-desc {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--steel);
  margin: 0;
}

/* Chapter prev/next nav bar at the bottom of each chapter */
.chapter-nav {
  padding: 32px 0 96px;
  border-top: 1px solid var(--phantom);
  margin-top: 64px;
}
.chapter-nav-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.chapter-nav-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 28px;
  background: rgba(245, 246, 252, 0.025);
  border: 1px solid var(--phantom);
  border-radius: 16px;
  text-decoration: none;
  transition: border-color 250ms var(--ease-out-expo), background 250ms var(--ease-out-expo), transform 250ms var(--ease-out-expo);
}
.chapter-nav-link:hover {
  border-color: rgba(206, 255, 28, 0.30);
  background: rgba(245, 246, 252, 0.04);
  transform: translateY(-2px);
}
.chapter-nav-link.next { text-align: right; }
.chapter-nav-direction {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lime);
}
.chapter-nav-title {
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ice-white);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

/* Mobile adjustments for the reading experience */
@media (max-width: 760px) {
  .chapter-ribbon { padding: 10px 0; margin-top: 80px; }
  .chapter-ribbon-inner { flex-wrap: wrap; gap: 12px; }
  .chapter-ribbon-progress { order: 3; flex-basis: 100%; }
  .chapter-ribbon-title { font-size: 13px; }
  .chapter-ribbon-toc summary { font-size: 11px; padding: 6px 12px; }
  .chapter-toc-list { width: 100vw; right: -20px; }

  .r-gate { padding: 64px 0 80px; }
  .r-gate-form .form-grid { grid-template-columns: 1fr; gap: 16px; }

  .r-toc-item { grid-template-columns: 44px 1fr; gap: 16px; padding: 18px 20px; }
  .r-toc-num { font-size: 20px; }
  .r-toc-title { font-size: 17px; }
  .r-toc-desc { font-size: 13.5px; }

  .chapter-nav-row { grid-template-columns: 1fr; gap: 12px; }
  .chapter-nav-link.next { text-align: left; }
}

/* ============== Request form ============== */

.request-form {
  background: var(--phantom);
  border-radius: 24px;
  padding: 56px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.form-row { display: flex; flex-direction: column; }
.form-row.full { grid-column: 1 / -1; }
.form-row label {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--space);
  margin-bottom: 10px;
}
.form-row input,
.form-row textarea,
.form-row select {
  background: var(--midnight);
  border: 1px solid var(--arsenic);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--ice-white);
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  transition: border-color 200ms var(--ease-out-expo);
}
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--lime);
}
.form-row textarea { resize: vertical; min-height: 120px; }
.radio-group {
  display: flex; flex-direction: column; gap: 10px;
}
.radio-row {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--midnight);
  border: 1px solid var(--arsenic);
  border-radius: 12px;
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color 200ms var(--ease-out-expo);
}
.radio-row:hover { border-color: var(--graphite); }
.radio-row input[type="radio"] { accent-color: var(--lime); margin-top: 4px; }
.radio-row .r-title { font-size: 14px; font-weight: 500; color: var(--ice-white); }
.radio-row .r-desc { font-size: 12px; color: var(--space); margin-top: 2px; }
.form-actions {
  display: flex; align-items: center; gap: 24px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--arsenic);
}
.form-disclaimer {
  font-size: 12px; color: var(--graphite); line-height: 1.5;
}
.form-success {
  background: var(--phantom);
  border: 1px solid var(--lime);
  border-radius: 24px;
  padding: 56px;
  text-align: center;
  display: none;
}
.form-success.show { display: block; }
.form-success .h3 { color: var(--lime); margin-bottom: 16px; }

/* ============== Sample report preview ============== */

.report-cover {
  background: linear-gradient(160deg, var(--purple-hi) 0%, var(--purple) 60%, var(--purple-lo) 100%);
  padding: 200px 32px 120px;
  position: relative;
  overflow: hidden;
}
.report-cover::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 50%);
  pointer-events: none;
}
.report-cover-inner {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
}
.report-cover .caption { color: var(--lime); margin-bottom: 32px; }
.report-cover .h1 {
  color: var(--ice-white);
  max-width: 18ch;
  margin-bottom: 56px;
}
.report-cover-meta {
  display: flex;
  gap: 56px;
  font-size: 13px;
  color: rgba(245, 246, 252, 0.85);
  letter-spacing: 0.06em;
}
.report-cover-meta strong {
  color: var(--ice-white);
  font-weight: 600;
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.report-toc {
  padding: 96px 0;
  border-bottom: 1px solid var(--phantom);
}
.report-toc-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 64px;
}
.report-toc-list li {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--phantom);
  font-size: 16px;
  color: var(--ice-white);
}
.report-toc-list .toc-num {
  font-family: 'Poppins', sans-serif;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--space);
  min-width: 32px;
}
.report-toc-list .toc-page {
  margin-left: auto;
  font-size: 13px;
  color: var(--graphite);
}

.report-section {
  padding: 96px 0;
  border-bottom: 1px solid var(--phantom);
}
.report-section .container-narrow > .caption { margin-bottom: 24px; }
.report-section h2.h2 { margin-bottom: 48px; max-width: 22ch; }
.report-prose p {
  font-size: 18px;
  line-height: 1.75;
  color: var(--steel);
  margin-bottom: 28px;
}
.report-prose p strong { color: var(--ice-white); font-weight: 500; }
.report-prose ul {
  list-style: none;
  margin: 28px 0;
}
.report-prose li {
  position: relative;
  padding-left: 22px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--steel);
  margin-bottom: 14px;
}
.report-prose li::before {
  content: '';
  position: absolute;
  top: 12px; left: 0;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--lime);
}

.report-cta-block {
  background: var(--phantom);
  border-radius: 32px;
  padding: 80px 56px;
  text-align: center;
  margin: 64px 0;
}
.report-cta-block .h2 { margin: 0 auto 24px; max-width: 18ch; }
.report-cta-block .lede { margin: 0 auto 40px; max-width: 56ch; }

/* ============== Contact page ============== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-meta {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--phantom);
}
.contact-meta .label {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--space);
  margin-bottom: 8px;
}
.contact-meta .value {
  font-size: 16px;
  color: var(--ice-white);
  margin-bottom: 24px;
}
.contact-meta a { color: var(--ice-white); text-decoration: none; border-bottom: 1px solid var(--arsenic); padding-bottom: 1px; }
.contact-meta a:hover { border-bottom-color: var(--ice-white); }
/* Calendly card: clickable hero artwork that opens the booking popup */
.calendly-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 700px;
  padding: 32px;
  background: linear-gradient(180deg, #1c1c24 0%, #161620 100%);
  border-radius: 24px;
  border: 1px solid var(--phantom);
  color: var(--ice-white);
  text-decoration: none;
  overflow: hidden;
  cursor: pointer;
  transition: transform 400ms var(--ease-out-expo),
              border-color 400ms var(--ease-out-expo),
              background 400ms var(--ease-out-expo);
}
.calendly-card::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(93, 23, 234, 0.22) 0%, transparent 65%);
  pointer-events: none;
  opacity: 0.7;
  transition: opacity 400ms var(--ease-out-expo);
}
.calendly-card:hover {
  transform: translateY(-4px);
  border-color: rgba(206, 255, 28, 0.22);
  background: linear-gradient(180deg, #1f1f29 0%, #18181f 100%);
}
.calendly-card:hover::before { opacity: 1; }

.calendly-card-art {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 380px;
  height: auto;
  display: block;
  margin: 0 auto;
  color: var(--ice-white);
  flex: 1;
  transition: transform 500ms var(--ease-out-expo);
}
.calendly-card:hover .calendly-card-art {
  transform: scale(1.02);
}

.calendly-card-cta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding: 14px 26px;
  background: transparent;
  border: 1px solid rgba(206, 255, 28, 0.35);
  border-radius: 999px;
  color: var(--lime);
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 350ms var(--ease-out-expo),
              border-color 350ms var(--ease-out-expo),
              color 350ms var(--ease-out-expo);
}
.calendly-card:hover .calendly-card-cta {
  background: rgba(206, 255, 28, 0.10);
  border-color: rgba(206, 255, 28, 0.65);
}
.calendly-card-arrow {
  display: inline-block;
  font-size: 16px;
  transition: transform 350ms var(--ease-out-expo);
}
.calendly-card:hover .calendly-card-arrow {
  transform: translate(3px, -3px);
}

@media (prefers-reduced-motion: reduce) {
  .calendly-card-art animate,
  .calendly-card-art animateTransform,
  .calendly-card-art animateMotion { display: none !important; }
}

/* ============== Footer ============== */

footer {
  background: var(--midnight);
  border-top: 1px solid var(--phantom);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}
.footer-brand .lockup { margin-bottom: 20px; }
.footer-brand p { color: var(--space); font-size: 14px; line-height: 1.55; max-width: 36ch; }
.footer-col-title {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--graphite);
  margin-bottom: 18px;
}
.footer-list { list-style: none; }
.footer-list li { margin-bottom: 10px; }
.footer-list a {
  color: var(--steel); text-decoration: none;
  font-size: 14px;
  transition: color 200ms var(--ease-out-expo);
}
.footer-list a:hover { color: var(--ice-white); }
.footer-crumb {
  display: flex; align-items: center; gap: 8px;
  padding-top: 28px;
  border-top: 1px solid var(--phantom);
  font-size: 11px; color: var(--graphite);
  letter-spacing: 0.02em;
}
.footer-crumb .glyph { height: 14px; width: auto; color: var(--graphite); }
.footer-crumb .sep { color: var(--arsenic); margin: 0 4px; }
.footer-crumb .right { margin-left: auto; }

/* ============== Reveal initial state ============== */

.reveal { opacity: 0; transform: translateY(16px); }

/* ============== Reduced motion ============== */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0ms !important;
  }
  .reveal, .process-node { opacity: 1 !important; transform: none !important; }
  .process-line { transform: scaleX(1) !important; }
}

/* ============== Mobile ============== */

@media (max-width: 1080px) {
  .tile-grid { grid-template-columns: repeat(2, 1fr); }
  .tile-grid.three { grid-template-columns: 1fr; }
  .offer-grid { grid-template-columns: 1fr; }
  .offer-col { border-left: none; border-top: 1px solid var(--phantom); padding: 40px 0; min-height: auto; }
  .offer-col:first-child { border-top: none; padding-top: 0; }
  .process-nodes { grid-template-columns: 1fr; gap: 32px; }
  .process-line { display: none; }
  .process-dot { margin-bottom: 14px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .report-grid { grid-template-columns: 1fr; }
  .report-card.featured { grid-column: span 1; }
  .format-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; gap: 56px; }
  .report-toc-list { grid-template-columns: 1fr; gap: 0; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-tile { max-width: 380px; order: -1; }
  .hero-diagram { max-width: 460px; width: 78%; margin: 0 auto; order: -1; }
  .hero-copy { order: 0; }
  .nav .nav-link { display: none; }
  .header-inner { height: 64px; }
  section { padding: 96px 0; }
  section.hero { padding: 140px 0 80px; }
  section.page-hero { padding: 120px 0 64px; }
  .closing { padding: 120px 0; }
  .section-head { margin-bottom: 56px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-crumb { flex-wrap: wrap; gap: 6px; }
  .footer-crumb .right { margin-left: 0; flex-basis: 100%; padding-top: 8px; }
  .request-form, .form-success { padding: 32px; }
  .report-cover { padding: 140px 24px 80px; }
  .report-cover-meta { gap: 32px; flex-wrap: wrap; }
  .report-cta-block { padding: 56px 32px; }
}
@media (max-width: 600px) {
  .container, .container-narrow { padding: 0 24px; }
  .display-headline { font-size: 40px; }
  .hero-cta-row { flex-direction: column; align-items: flex-start; gap: 20px; }
  .tile-grid { grid-template-columns: 1fr; }
  /* Hero diagram: shrink to 320px square, drop dashed loop, keep only NW tracer */
  .hero-diagram { max-width: 320px; width: 92%; }
  .hero-diagram-internode { display: none; }
  .tracer-ne, .tracer-se, .tracer-sw { display: none; }
}

/* ============== Awards & Recognition ============== */

.awards-section { padding: 120px 0; }

.awards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.awards-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.award-card {
  background: var(--phantom);
  border-radius: 32px;
  padding: 48px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.award-card.featured {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: center;
  padding: 56px;
}
.award-card .award-mark {
  width: 18px; height: 22px;
  color: var(--graphite);
  margin-bottom: 18px;
}
.award-card .award-eyebrow {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 16px;
}
.award-card .award-title {
  font-size: 26px; font-weight: 600;
  color: var(--ice-white);
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin-bottom: 18px;
}
.award-card.featured .award-title { font-size: 34px; }
.award-card .award-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--steel);
  margin-bottom: 32px;
}
.award-card.regular .award-photo-area { margin-top: auto; }

/* ============== Photo holder placeholder ============== */

.photo-holder {
  position: relative;
  background: rgba(245, 246, 252, 0.04);
  border: 1px dashed var(--arsenic);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  color: var(--graphite);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  overflow: hidden;
  transition: border-color 200ms var(--ease-out-expo);
}
.photo-holder:hover { border-color: var(--graphite); }
.photo-holder svg.photo-icon {
  width: 28px; height: 28px;
  opacity: 0.6;
}
.photo-holder.tall { aspect-ratio: 3/4; }
.photo-holder.wide { aspect-ratio: 16/10; }
.photo-holder.square { aspect-ratio: 1/1; }
.photo-holder.portrait { aspect-ratio: 4/5; }
.photo-holder img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

/* Featured award: stacked, slightly tilted photo placeholders */
.photo-stack {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  position: relative;
}
.photo-stack .photo-holder {
  aspect-ratio: 4/5;
}
.photo-stack .photo-holder:nth-child(1) { transform: translateY(8px) rotate(-2deg); }
.photo-stack .photo-holder:nth-child(3) { transform: translateY(8px) rotate(2deg); }

/* Regular award: smaller stacked or single photo holder */
.photo-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.photo-pair .photo-holder { aspect-ratio: 4/5; }
.photo-pair .photo-holder:nth-child(1) { transform: rotate(-3deg); }
.photo-pair .photo-holder:nth-child(2) { transform: rotate(3deg); }

.photo-doc {
  background: var(--midnight);
  border: 1px solid var(--arsenic);
  border-radius: 14px;
  padding: 24px;
  font-family: 'Poppins', sans-serif;
}
.photo-doc-line {
  height: 6px;
  background: var(--arsenic);
  border-radius: 3px;
  margin-bottom: 8px;
}
.photo-doc-line.short { width: 40%; }
.photo-doc-line.med { width: 70%; }
.photo-doc-line.spacer { background: transparent; height: 12px; }

/* ============== Trusted-by marquee ============== */

.trusted-section {
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.trusted-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 900px; height: 900px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at center, rgba(93, 23, 234, 0.10) 0%, rgba(93, 23, 234, 0) 60%);
  pointer-events: none;
  z-index: 0;
}
.trusted-eyebrow {
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--space);
  margin-bottom: 56px;
  position: relative;
  z-index: 1;
}
.marquee {
  position: relative;
  z-index: 1;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0, black 96px, black calc(100% - 96px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, black 96px, black calc(100% - 96px), transparent 100%);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 50s linear infinite;
  gap: 20px;
  align-items: center;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Pill treatment: each logo lives in its own dark rounded card with a
   subtle purple-tinted border. All pills are the same height so the
   row reads as a uniform system. */
.marquee-logo {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  height: 72px;
  min-width: 168px;
  padding: 0 30px;
  background: linear-gradient(180deg, rgba(30, 30, 38, 0.92) 0%, rgba(22, 22, 30, 0.92) 100%);
  border: 1px solid rgba(93, 23, 234, 0.32);
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 28px;
  letter-spacing: -0.02em;
  color: var(--steel);
  white-space: nowrap;
  text-decoration: none;
  transition:
    border-color 280ms var(--ease-out-expo),
    background 280ms var(--ease-out-expo),
    transform 280ms var(--ease-out-expo);
}
.marquee-logo:hover {
  color: var(--ice-white);
  border-color: rgba(93, 23, 234, 0.65);
  background: linear-gradient(180deg, rgba(36, 36, 46, 0.95) 0%, rgba(26, 26, 36, 0.95) 100%);
  transform: translateY(-1px);
}
.marquee-logo .glyph-bullet {
  display: inline-block;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--steel);
  opacity: 0.45;
  transition: opacity 250ms var(--ease-out-expo);
}
.marquee-logo:hover .glyph-bullet { opacity: 0.85; }

/* Marquee logo images: monochrome white silhouette inside the pill. */
.marquee-logo img {
  height: 36px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.72;
  transition: opacity 280ms var(--ease-out-expo);
}
.marquee-logo:hover img { opacity: 1; }
/* Logos that ship with their own brand colors (no monochrome treatment) */
.marquee-logo--asis img {
  filter: none;
  opacity: 0.92;
}
.marquee-logo--asis:hover img { opacity: 1; }
/* Larger image inside the same pill, for marks where the content sits
   small inside its canvas (e.g. UNDP). Pill stays uniform. */
.marquee-logo--xl img {
  height: 54px;
  max-width: 220px;
}

@media (max-width: 700px) {
  .marquee-track { gap: 14px; }
  .marquee-logo { height: 56px; min-width: 120px; padding: 0 20px; border-radius: 14px; }
  .marquee-logo img { height: 26px; max-width: 120px; }
  .marquee-logo--xl img { height: 40px; max-width: 150px; }
}
/* ============== Founder section ============== */

.founder-section { padding: 120px 0 160px; }

.founder-section-head { margin-bottom: 64px; }

.founder-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 96px;
  align-items: start;
}

.founder-block-label {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--space);
  margin-bottom: 18px;
  margin-top: 40px;
}
.founder-block-label:first-child { margin-top: 0; }

.founder-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 8px;
}
.founder-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--phantom);
  border-radius: 14px;
  text-decoration: none;
  color: var(--ice-white);
  transition: background 250ms var(--ease-out-expo);
}
.founder-card:hover { background: #25252D; }
.founder-card .card-logo {
  width: 44px; height: 44px;
  flex-shrink: 0;
  background: rgba(245,246,252,0.06);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  color: var(--steel);
  letter-spacing: 0.04em;
}
.founder-card .card-text { min-width: 0; }
.founder-card .card-name {
  font-size: 14px; font-weight: 500; color: var(--ice-white);
  margin-bottom: 3px;
  line-height: 1.25;
}
.founder-card .card-role {
  font-size: 12px; color: var(--space);
  line-height: 1.35;
}

.founder-stats {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 32px;
}
.founder-stat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: transparent;
  border: 1px solid var(--arsenic);
  border-radius: 999px;
  color: var(--ice-white);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: border-color 250ms var(--ease-out-expo), color 250ms var(--ease-out-expo);
}
.founder-stat:hover { border-color: var(--lime); color: var(--lime); }
.founder-stat svg { width: 13px; height: 13px; }
.founder-stat:hover svg { color: var(--lime); }

/* ============== Research record (patents and publications) ============== */
.record-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.record-col {
  background: var(--phantom);
  border-radius: 24px;
  padding: 36px 32px;
}
.record-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
}
.record-figure {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 16px 0 24px;
}
.record-figure .num {
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ice-white);
}
.record-figure .unit {
  font-size: 14px;
  font-weight: 500;
  color: var(--space);
}
.record-list {
  display: flex;
  flex-direction: column;
}
.record-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-top: 1px solid rgba(245, 246, 252, 0.08);
  font-size: 15px;
  font-weight: 500;
  color: var(--ice-white);
}
.record-item:first-child { border-top: none; }
.record-item-meta {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--space);
}
.record-meta {
  margin: 0 0 20px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--space);
}
.record-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.record-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid var(--arsenic);
  border-radius: 999px;
  color: var(--ice-white);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: border-color 220ms var(--ease-out-expo), color 220ms var(--ease-out-expo);
}
.record-chip:hover {
  border-color: var(--lime);
  color: var(--lime);
}
.record-note {
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(245, 246, 252, 0.08);
  font-size: 13px;
  line-height: 1.55;
  color: var(--space);
}
@media (max-width: 760px) {
  .record-grid { grid-template-columns: 1fr; }
  .record-figure .num { font-size: 52px; }
}

/* ============== Career timeline ============== */
.timeline {
  position: relative;
  margin-top: 4px;
}
.timeline-item {
  position: relative;
  padding: 0 0 36px 36px;
  border-left: 1px solid var(--arsenic);
}
.timeline-item:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}
.timeline-marker {
  position: absolute;
  left: -6px;
  top: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px var(--midnight);
}
.timeline-year {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--lime);
}
.timeline-org {
  margin-top: 5px;
  font-size: 19px;
  font-weight: 600;
  color: var(--ice-white);
}
.timeline-role {
  margin-top: 3px;
  font-size: 13px;
  font-weight: 500;
  color: var(--space);
}
.timeline-desc {
  margin: 11px 0 0;
  font-size: 14.5px;
  line-height: 1.62;
  color: var(--steel);
  max-width: 56ch;
}

.founder-photo-wrap {
  position: relative;
}
.founder-photo {
  aspect-ratio: 4/5;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
}
/* Founder portrait — strictly black-and-white with a soft midnight overlay
   gradient at the bottom so the lime decorative ring reads cleanly against
   the photo edge. */
.founder-photo img {
  filter: grayscale(100%) contrast(1.04);
  transition: filter 600ms var(--ease-out-expo), transform 1200ms var(--ease-out-expo);
}
.founder-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(20, 20, 26, 0) 60%,
    rgba(20, 20, 26, 0.35) 100%);
  pointer-events: none;
  z-index: 1;
}
.founder-photo-deco {
  position: absolute;
  width: 36px; height: 36px;
  border: 2px solid var(--lime);
}
.founder-photo-deco.tl { top: -10px; left: -10px; border-right: none; border-bottom: none; }
.founder-photo-deco.br { bottom: -10px; right: -10px; border-left: none; border-top: none; }
.founder-photo-dot {
  position: absolute;
  bottom: 18px; right: -10px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--purple);
  z-index: 2;
}
.founder-name {
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-top: 32px;
}
.founder-name strong { font-weight: 700; }
.founder-quote {
  font-size: 17px;
  font-style: italic;
  color: var(--steel);
  margin-top: 28px;
  line-height: 1.55;
  text-align: right;
  max-width: 38ch;
  margin-left: auto;
}
.founder-social {
  display: flex; justify-content: flex-end;
  gap: 12px;
  margin-top: 28px;
}
.founder-social a {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--phantom);
  color: var(--steel);
  transition: background 250ms var(--ease-out-expo), color 250ms var(--ease-out-expo);
}
.founder-social a:hover { background: var(--lime); color: var(--midnight); }
.founder-social svg { width: 18px; height: 18px; }

@media (max-width: 1080px) {
  .award-card.featured { grid-template-columns: 1fr; gap: 32px; padding: 40px; }
  .awards-row { grid-template-columns: 1fr; }
  .founder-grid { grid-template-columns: 1fr; gap: 64px; }
  .founder-photo-wrap { max-width: 480px; margin: 0 auto; }
  .founder-quote { text-align: left; margin-left: 0; max-width: none; }
  .founder-social { justify-content: flex-start; }
}
@media (max-width: 700px) {
  .awards-section, .founder-section { padding: 72px 0 96px; }
  .award-card { padding: 32px; border-radius: 24px; }
  .award-card.featured { padding: 32px; }
  .award-card .award-title { font-size: 22px; }
  .award-card.featured .award-title { font-size: 26px; }
  .founder-card-grid { grid-template-columns: 1fr; }
}

/* ============== Practice cards (What we work on) ============== */

.practice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.practice-card {
  background: var(--phantom);
  border-radius: 24px;
  padding: 40px;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 350ms var(--ease-out-expo), background 350ms var(--ease-out-expo);
}
.practice-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, rgba(93, 23, 234, 0.08) 0%, rgba(93, 23, 234, 0) 50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 350ms var(--ease-out-expo);
}
.practice-card:hover {
  transform: translateY(-4px);
  background: #25252D;
}
.practice-card:hover::before { opacity: 1; }
.practice-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.20) 0%, rgba(255, 255, 255, 0) 48%),
    linear-gradient(160deg, var(--purple-hi) 0%, var(--purple) 55%, var(--purple-lo) 100%);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 32px;
  color: var(--ice-white);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18),
    0 8px 18px -6px rgba(93, 23, 234, 0.55),
    0 18px 36px -12px rgba(93, 23, 234, 0.32);
  transition: transform 350ms var(--ease-out-expo), box-shadow 350ms var(--ease-out-expo);
}
.practice-card:hover .practice-icon {
  transform: rotate(-4deg) scale(1.04);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.30),
    inset 0 -1px 0 rgba(0, 0, 0, 0.22),
    0 12px 24px -6px rgba(93, 23, 234, 0.65),
    0 24px 48px -16px rgba(93, 23, 234, 0.42);
}
.practice-icon svg { width: 26px; height: 26px; }
.practice-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--ice-white);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 24px;
}
.practice-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}
.practice-list li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--steel);
}
.practice-list li::before {
  content: '';
  position: absolute;
  top: 8px; left: 0;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--lime);
  opacity: 0.55;
  transition: opacity 250ms var(--ease-out-expo), transform 250ms var(--ease-out-expo);
}
.practice-card:hover .practice-list li::before { opacity: 1; }

@media (max-width: 980px) {
  .practice-grid { grid-template-columns: 1fr; }
  .practice-card { padding: 32px; }
}

/* ============== Practice cards v2 (magazine-spread revamp) ============== */
/* Overrides .practice-card base styles. Drops the icon+bullet pattern in
   favor of a hero topic visual + claim + chip-row composition. */

.practice-card {
  background: linear-gradient(180deg, #1c1c24 0%, #161620 100%);
  border-radius: 24px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--phantom);
  transition: transform 450ms var(--ease-out-expo),
              border-color 450ms var(--ease-out-expo),
              background 450ms var(--ease-out-expo);
}
.practice-card::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(93, 23, 234, 0.22) 0%, transparent 65%);
  pointer-events: none;
  opacity: 0.7;
  transition: opacity 450ms var(--ease-out-expo);
}
.practice-card:hover {
  transform: translateY(-6px);
  border-color: rgba(206, 255, 28, 0.22);
  background: linear-gradient(180deg, #1f1f29 0%, #18181f 100%);
}
.practice-card:hover::before { opacity: 1; }

.practice-visual {
  position: absolute;
  top: 78px;
  right: 28px;
  width: 168px;
  height: 168px;
  pointer-events: none;
  opacity: 0.85;
  color: var(--ice-white);
  transition: opacity 500ms var(--ease-out-expo),
              transform 500ms var(--ease-out-expo);
}
.practice-visual svg { width: 100%; height: 100%; display: block; overflow: visible; }
.practice-card:hover .practice-visual {
  opacity: 1;
  transform: scale(1.05);
}

.practice-meta-row {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}
.practice-number {
  font-size: 11px;
  letter-spacing: 0.20em;
  font-weight: 700;
  color: var(--graphite);
  font-feature-settings: "tnum";
  text-transform: uppercase;
}
.practice-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(206, 255, 28, 0.10);
  border: 1px solid rgba(206, 255, 28, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lime);
  font-size: 14px;
  transition: transform 350ms var(--ease-out-expo),
              background 350ms var(--ease-out-expo);
}
.practice-card:hover .practice-arrow {
  transform: translate(4px, -4px);
  background: rgba(206, 255, 28, 0.22);
}

.practice-title {
  position: relative;
  z-index: 2;
  font-size: 30px;
  font-weight: 600;
  color: var(--ice-white);
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin-bottom: 16px;
  max-width: 62%;
}
.practice-claim {
  position: relative;
  z-index: 2;
  font-size: 15.5px;
  color: var(--steel);
  line-height: 1.55;
  max-width: 64%;
  margin-bottom: 28px;
  letter-spacing: -0.005em;
}
.practice-bullets {
  position: relative;
  z-index: 2;
  list-style: none;
  counter-reset: practice-bullets;
  margin: auto 0 0;
  padding: 0;
}
.practice-bullets li {
  counter-increment: practice-bullets;
  position: relative;
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 14px;
  align-items: baseline;
  padding: 13px 0;
  border-top: 1px solid rgba(245, 246, 252, 0.06);
  font-size: 14px;
  color: var(--steel);
  line-height: 1.5;
  letter-spacing: -0.005em;
  transition: color 350ms var(--ease-out-expo),
              border-color 350ms var(--ease-out-expo);
}
.practice-bullets li:first-child {
  border-top: none;
  padding-top: 0;
}
.practice-bullets li:last-child {
  padding-bottom: 0;
}
.practice-bullets li::before {
  content: counter(practice-bullets, decimal-leading-zero);
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--graphite);
  font-feature-settings: "tnum";
  transition: color 350ms var(--ease-out-expo);
}
.practice-card:hover .practice-bullets li {
  color: rgba(245, 246, 252, 0.85);
  border-top-color: rgba(245, 246, 252, 0.10);
}
.practice-card:hover .practice-bullets li:first-child {
  border-top-color: transparent;
}
.practice-card:hover .practice-bullets li::before {
  color: var(--lime);
}
.practice-bullets li strong { color: var(--ice-white); font-weight: 600; }

@media (max-width: 980px) {
  .practice-card { min-height: 480px; padding: 32px; }
  .practice-title { font-size: 26px; max-width: 65%; }
  .practice-claim { max-width: 68%; }
  .practice-visual { width: 140px; height: 140px; top: 70px; right: 24px; }
}
@media (max-width: 600px) {
  .practice-card { padding: 28px; min-height: auto; }
  .practice-title { font-size: 22px; max-width: 100%; }
  .practice-claim { max-width: 100%; font-size: 14.5px; }
  .practice-visual { position: static; width: 120px; height: 120px; margin: 0 0 20px auto; opacity: 1; }
  .practice-bullets li { font-size: 13.5px; grid-template-columns: 26px 1fr; }
}

/* ============== Light ambient animations ============== */

/* Hero tile: float animation kept for legacy (hero1.html) */
@keyframes tile-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
.hero-tile svg {
  animation: tile-float 7s ease-in-out infinite;
  animation-delay: 1.4s;
}

/* ============== Hero portals (clickable buttons) ============== */

.hero-portals {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  width: 100%;
  max-width: 380px;
  justify-self: center;
  align-self: center;
}

.portal {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 16px 22px 16px 16px;
  border-radius: 22px;
  background: rgba(245, 246, 252, 0.025);
  border: 1px solid var(--phantom);
  text-decoration: none;
  color: var(--ice-white);
  cursor: pointer;
  overflow: hidden;
  transition:
    transform 320ms var(--ease-out-expo),
    border-color 320ms var(--ease-out-expo),
    background 320ms var(--ease-out-expo),
    box-shadow 320ms var(--ease-out-expo);
}
.portal::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, rgba(93, 23, 234, 0.12) 0%, rgba(93, 23, 234, 0) 60%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 320ms var(--ease-out-expo);
}
.portal:hover {
  transform: translateY(-3px);
  border-color: rgba(93, 23, 234, 0.55);
  background: rgba(93, 23, 234, 0.06);
  box-shadow: 0 12px 28px -10px rgba(93, 23, 234, 0.5);
}
.portal:hover::before { opacity: 1; }
.portal:active {
  transform: translateY(-1px) scale(0.985);
  transition-duration: 120ms;
}
.portal:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 4px;
}

/* Tile inside the portal: small Purple App Icon */
.portal-tile {
  position: relative;
  width: 84px;
  height: 84px;
  border-radius: 22%;
  background:
    radial-gradient(circle at 28% 22%, rgba(255,255,255,0.28) 0%, rgba(255,255,255,0) 60%),
    linear-gradient(160deg, var(--purple-hi) 0%, var(--purple) 50%, var(--purple-lo) 100%);
  box-shadow:
    0 10px 24px -6px rgba(93, 23, 234, 0.55),
    0 4px 10px -2px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255,255,255,0.18);
  flex-shrink: 0;
  overflow: hidden;
  transition: transform 320ms var(--ease-out-expo), box-shadow 320ms var(--ease-out-expo);
}
.portal:hover .portal-tile {
  transform: scale(1.04) rotate(-2deg);
  box-shadow:
    0 16px 36px -6px rgba(93, 23, 234, 0.7),
    0 6px 14px -2px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255,255,255,0.22);
}

/* Sweeping shine highlight that crosses the tile every 4s */
.portal-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 32%,
    rgba(255, 255, 255, 0.32) 50%,
    transparent 68%
  );
  transform: translateX(-120%);
  pointer-events: none;
  z-index: 2;
  animation: portal-shine 4s ease-in-out infinite;
  animation-delay: 1s;
}
.portal:nth-child(2) .portal-tile::before { animation-delay: 2.5s; }
@keyframes portal-shine {
  0%, 60%, 100% { transform: translateX(-120%); }
  70% { transform: translateX(-120%); }
  90% { transform: translateX(120%); }
  100% { transform: translateX(120%); }
}

/* Mark inside the tile: real Tracee SVG, faster float with subtle rotation */
.portal-mark {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 22%;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.35));
  animation: portal-mark-float 3.6s ease-in-out infinite;
  animation-delay: 0.6s;
  z-index: 3;
}
.portal:nth-child(2) .portal-mark { animation-delay: 1.4s; }
@keyframes portal-mark-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25%      { transform: translateY(-3px) rotate(2deg); }
  50%      { transform: translateY(-5px) rotate(0deg); }
  75%      { transform: translateY(-3px) rotate(-2deg); }
}

.portal-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.portal-sub {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--space);
}
.portal:hover .portal-sub { color: var(--lime); }
.portal-title {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: var(--ice-white);
}
.portal-arrow {
  flex-shrink: 0;
  width: 32px; height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(245, 246, 252, 0.06);
  color: var(--steel);
  font-size: 16px;
  font-weight: 400;
  transition:
    transform 280ms var(--ease-out-expo),
    background 280ms var(--ease-out-expo),
    color 280ms var(--ease-out-expo);
}
.portal:hover .portal-arrow {
  background: var(--lime);
  color: var(--midnight);
  transform: translateX(4px) rotate(-30deg);
}

@media (prefers-reduced-motion: reduce) {
  .portal-mark, .portal-tile::before { animation: none !important; }
}
@media (max-width: 980px) {
  .hero-portals { max-width: 100%; }
  .portal-tile { width: 72px; height: 72px; }
}

/* Lime primary CTA: idle glow pulse. Disabled on hover. */
@keyframes cta-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(206, 255, 28, 0); }
  50%      { box-shadow: 0 0 28px 4px rgba(206, 255, 28, 0.20); }
}
.cta-primary { animation: cta-glow 5s ease-in-out infinite; }
.cta-primary:hover { animation: none; }

/* Trusted-by purple halo: slow breathing */
@keyframes halo-breathe {
  0%, 100% { opacity: 0.65; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: 1.0;  transform: translate(-50%, -50%) scale(1.06); }
}
.trusted-section::before {
  animation: halo-breathe 9s ease-in-out infinite;
}

/* Award cards: subtle hover lift */
.award-card {
  transition: transform 350ms var(--ease-out-expo), background 350ms var(--ease-out-expo);
}
.award-card.regular:hover {
  transform: translateY(-3px);
  background: #25252D;
}
.award-card.featured:hover {
  transform: translateY(-3px);
}

/* Founder cards: subtle hover lift */
.founder-card { transition: background 250ms var(--ease-out-expo), transform 250ms var(--ease-out-expo); }
.founder-card:hover { transform: translateY(-2px); }

@media (prefers-reduced-motion: reduce) {
  .marquee-track,
  .hero-tile svg,
  .cta-primary,
  .trusted-section::before { animation: none; }
}

/* ============== Hero ambient layers (lifted from v2) ============== */

.hero-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero .container { position: relative; z-index: 10; }

/* Drifting mesh dot grid */
.mesh-bg {
  position: absolute;
  inset: -40px;
  background-image: radial-gradient(circle at 1px 1px, rgba(245, 246, 252, 0.05) 1px, transparent 0);
  background-size: 32px 32px;
  animation: mesh-drift 28s linear infinite;
  z-index: 1;
  mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 80%);
}
@keyframes mesh-drift {
  to { transform: translate(-32px, -32px); }
}

/* Drifting Purple gradient orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  z-index: 2;
  opacity: 0;
  animation-fill-mode: forwards;
}
.orb-1 {
  width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(93, 23, 234, 0.55), rgba(93, 23, 234, 0) 70%);
  top: -240px; left: -180px;
  animation:
    orb-fade 2200ms cubic-bezier(0.16, 1, 0.3, 1) 200ms forwards,
    orb-drift-1 22s ease-in-out infinite 1500ms;
}
.orb-2 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(124, 155, 255, 0.30), rgba(124, 155, 255, 0) 70%);
  bottom: -180px; right: -100px;
  animation:
    orb-fade 2200ms cubic-bezier(0.16, 1, 0.3, 1) 600ms forwards,
    orb-drift-2 28s ease-in-out infinite 1500ms;
}
.orb-3 {
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(206, 255, 28, 0.07), rgba(206, 255, 28, 0) 70%);
  top: 40%; left: 45%;
  animation:
    orb-fade 2400ms cubic-bezier(0.16, 1, 0.3, 1) 1000ms forwards,
    orb-drift-3 36s ease-in-out infinite 2000ms;
}
@keyframes orb-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes orb-drift-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(120px, 60px) scale(1.08); }
}
@keyframes orb-drift-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-80px, -50px) scale(1.05); }
}
@keyframes orb-drift-3 {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50%      { transform: translate(calc(-50% + 60px), calc(-50% + 80px)) scale(1.1); }
}

/* Faint vertical grid lines */
.grid-lines {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image: linear-gradient(to right, rgba(245, 246, 252, 0.025) 1px, transparent 1px);
  background-size: 12.5% 100%;
  opacity: 0;
  animation: grid-fade 1800ms cubic-bezier(0.16, 1, 0.3, 1) 600ms forwards;
}
@keyframes grid-fade { to { opacity: 1; } }

/* Floating particles */
.particles {
  position: absolute;
  inset: 0;
  z-index: 3;
}
.particle {
  position: absolute;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--steel);
  opacity: 0;
  will-change: transform, opacity;
  animation:
    particle-fade 1500ms ease-out forwards,
    particle-drift var(--d, 18s) ease-in-out infinite;
}
.particle.lime { background: var(--lime); }
.particle.purple { background: var(--purple); }
@keyframes particle-fade { from { opacity: 0; } to { opacity: var(--o, 0.45); } }
@keyframes particle-drift {
  0%, 100% { transform: translate(0, 0); }
  25%      { transform: translate(40px, -30px); }
  50%      { transform: translate(-20px, -60px); }
  75%      { transform: translate(-50px, -20px); }
}

/* Cursor spotlight (scoped to viewport, fixed-position) */
.spotlight {
  position: fixed;
  pointer-events: none;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(93, 23, 234, 0.15), rgba(93, 23, 234, 0) 60%);
  filter: blur(40px);
  transform: translate(-50%, -50%);
  z-index: 4;
  transition: opacity 600ms ease;
  opacity: 0;
  will-change: left, top;
}
.spotlight.on { opacity: 1; }

/* Ticker pill with pulsing Lime dot (replaces the simple eyebrow on hero) */
.ticker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--space);
  padding: 10px 18px;
  background: rgba(245, 246, 252, 0.04);
  border: 1px solid rgba(245, 246, 252, 0.08);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.ticker .live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(206, 255, 28, 0.6);
  animation: live-pulse 2s ease-in-out infinite;
}
@keyframes live-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(206, 255, 28, 0); }
  50%      { box-shadow: 0 0 0 8px rgba(206, 255, 28, 0); transform: scale(1.2); }
}

@media (prefers-reduced-motion: reduce) {
  .mesh-bg, .orb, .grid-lines, .particle, .live-dot { animation: none !important; }
  .orb, .grid-lines { opacity: 1 !important; }
  .particle { opacity: var(--o, 0.45) !important; }
}

/* ============== FAQ section ============== */

.faq-section { padding: 120px 0; }
.faq-grid {
  max-width: 880px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--phantom);
  padding: 0;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-family: 'Poppins', sans-serif;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ice-white);
  transition: color 200ms var(--ease-out-expo);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--lime); }
.faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  width: 32px; height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--arsenic);
  border-radius: 50%;
  font-size: 16px;
  font-weight: 400;
  color: var(--steel);
  transition: transform 250ms var(--ease-out-expo), background 200ms var(--ease-out-expo), color 200ms var(--ease-out-expo), border-color 200ms var(--ease-out-expo);
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
  background: var(--lime);
  color: var(--midnight);
  border-color: var(--lime);
}
.faq-item .faq-answer {
  padding: 0 0 32px 0;
  max-width: 64ch;
  color: var(--steel);
  font-size: 16px;
  line-height: 1.65;
}
.faq-item[open] summary { color: var(--ice-white); }

/* ============== Briefings page ============== */

.pattern-section { padding: 96px 0 120px; }

.pattern-intro {
  max-width: 720px;
  margin: 0 auto 80px;
  text-align: center;
}
.pattern-intro p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--steel);
}
.pattern-intro p + p { margin-top: 18px; }

.pattern-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.move-card {
  background: var(--phantom);
  border-radius: 22px;
  padding: 36px 32px 32px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 240px;
  transition: transform 320ms var(--ease-out-expo), background 320ms var(--ease-out-expo);
}
.move-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--purple) 0%, var(--purple) 30%, transparent 100%);
  opacity: 0.6;
}
.move-card:hover {
  transform: translateY(-3px);
  background: #25252D;
}
.move-num {
  font-family: 'Poppins', sans-serif;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--space);
  margin-bottom: 24px;
}
.move-title {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: var(--ice-white);
  margin-bottom: 14px;
}
.move-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--steel);
  flex: 1;
}

/* Briefings grid (cards) */
.briefings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.briefing-card {
  background: var(--phantom);
  border-radius: 24px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: transform 300ms var(--ease-out-expo), background 300ms var(--ease-out-expo);
}
.briefing-card.featured {
  grid-column: span 2;
  background: linear-gradient(160deg, rgba(116, 55, 242, 0.18) 0%, rgba(93, 23, 234, 0.12) 60%, rgba(74, 15, 204, 0.08) 100%);
  border: 1px solid rgba(93, 23, 234, 0.25);
}
.briefing-card:hover {
  transform: translateY(-3px);
  background: #25252D;
}
.briefing-card.featured:hover { background: linear-gradient(160deg, rgba(116, 55, 242, 0.22) 0%, rgba(93, 23, 234, 0.16) 60%, rgba(74, 15, 204, 0.10) 100%); }
.briefing-meta {
  display: flex; align-items: center; gap: 14px;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--space);
  margin-bottom: 24px;
}
.briefing-meta .sep { color: var(--arsenic); }
.briefing-meta .category { color: var(--lime); }
.briefing-title {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--ice-white);
  margin-bottom: 16px;
}
.briefing-card.featured .briefing-title { font-size: 30px; }
.briefing-source {
  font-size: 12px;
  color: var(--graphite);
  margin-bottom: 20px;
  font-style: italic;
}
.briefing-source strong { color: var(--steel); font-style: normal; font-weight: 500; }
.briefing-summary {
  font-size: 15px;
  line-height: 1.6;
  color: var(--steel);
  margin-bottom: 28px;
  flex: 1;
}
.briefing-cta {
  font-size: 14px; font-weight: 500;
  color: var(--ice-white);
  display: inline-flex; align-items: center;
  gap: 6px;
}
.briefing-cta::after { content: '→'; color: var(--space); transition: transform 220ms var(--ease-out-expo), color 220ms var(--ease-out-expo); }
.briefing-card:hover .briefing-cta::after { transform: translateX(4px); color: var(--lime); }

@media (max-width: 1080px) {
  .pattern-grid { grid-template-columns: repeat(2, 1fr); }
  .briefings-grid { grid-template-columns: 1fr; }
  .briefing-card.featured { grid-column: span 1; }
}
@media (max-width: 700px) {
  .pattern-grid { grid-template-columns: 1fr; }
  .move-card { padding: 28px 24px; min-height: auto; }
  .briefing-card { padding: 32px; }
}

/* ============== Home "Latest briefings / Latest reports" sections ==============
   On desktop: standard 3-column grid.
   On mobile (≤980px): horizontal scroll with snap, each card ~84% viewport
   width with peek of the next. Lets users swipe left/right through cards. */
.latest-section {
  padding: 88px 0;
}
.section-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 48px;
}
.section-head-row .eyebrow { margin-bottom: 18px; }
.section-head-row .h2 { margin: 0; }
.latest-explore { margin-bottom: 8px; flex: 0 0 auto; }

.h-scroll-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.h-scroll-row > .h-scroll-item {
  min-height: 320px;
  padding: 32px;
  min-width: 0;  /* prevent grid blowout when text is long */
}
.h-scroll-row .briefing-card.h-scroll-item .briefing-title {
  font-size: 21px;
  line-height: 1.25;
}
.h-scroll-row .briefing-card.h-scroll-item .briefing-summary {
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 22px;
}
.h-scroll-row .briefing-card.h-scroll-item .briefing-meta {
  font-size: 10.5px;
  margin-bottom: 18px;
}
.h-scroll-row .report-card.h-scroll-item .report-title {
  font-size: 22px;
  line-height: 1.25;
}
.h-scroll-row .report-card.h-scroll-item .report-summary {
  font-size: 14px;
  line-height: 1.55;
}

@media (max-width: 980px) {
  .latest-section { padding: 64px 0; }
  .section-head-row {
    align-items: flex-start;
    margin-bottom: 32px;
  }
  .section-head-row > div { width: 100%; }
  .latest-explore { margin-bottom: 0; font-size: 14px; }

  /* The signature mobile pattern: horizontal scroll with snap */
  .h-scroll-row {
    display: flex;
    grid-template-columns: none;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Negative inline margin so cards bleed to the viewport edge while
       the title above stays inside .container's padding. The right-side
       fade hints at scrollability. */
    margin: 0 -20px;
    padding: 4px 20px 20px;
    mask-image: linear-gradient(90deg, black 0, black calc(100% - 32px), transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, black 0, black calc(100% - 32px), transparent 100%);
  }
  .h-scroll-row::-webkit-scrollbar { display: none; }
  .h-scroll-row > .h-scroll-item {
    flex: 0 0 84%;
    max-width: 84%;
    scroll-snap-align: start;
    padding: 26px;
    min-height: 320px;
  }
}
@media (max-width: 480px) {
  .h-scroll-row > .h-scroll-item {
    flex: 0 0 88%;
    max-width: 88%;
    padding: 22px;
  }
}

/* ============== Briefing inline graphics ============== */

/* Status callouts — tinted card + status chip (no left-border) */
.b-callouts { display: grid; gap: 14px; margin: 28px 0; }
.b-callout {
  position: relative;
  padding: 18px 22px 18px 22px;
  background: rgba(206, 255, 28, 0.045);
  border: 1px solid rgba(206, 255, 28, 0.22);
  border-radius: 12px;
  color: var(--ice-white);
  font-size: 15px;
  line-height: 1.6;
}
.b-callout .b-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--midnight);
  background: var(--lime);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.b-callout .b-tag::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--midnight);
}
.b-callout strong { color: var(--ice-white); font-weight: 600; }
.b-callout.exploring {
  background: rgba(255, 180, 84, 0.05);
  border-color: rgba(255, 180, 84, 0.28);
}
.b-callout.exploring .b-tag { background: #FFB454; color: var(--midnight); }
.b-callout.pending {
  background: rgba(124, 155, 255, 0.05);
  border-color: rgba(124, 155, 255, 0.28);
}
.b-callout.pending .b-tag { background: var(--signal-blue); color: var(--midnight); }
.b-callout.purple {
  background: rgba(93, 23, 234, 0.10);
  border-color: rgba(124, 155, 255, 0.30);
}
.b-callout.purple .b-tag { background: var(--purple); color: var(--ice-white); }

/* Layered stack diagram — for "the architecture" sections */
.b-stack {
  margin: 32px 0;
  padding: 28px 24px;
  background: rgba(245, 246, 252, 0.03);
  border: 1px solid var(--phantom);
  border-radius: 16px;
}
.b-stack-label {
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--space);
  font-weight: 500;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.b-stack-row {
  display: flex;
  justify-content: center;
  margin-bottom: 4px;
}
.b-stack-card {
  background: rgba(93, 23, 234, 0.14);
  border: 1px solid rgba(93, 23, 234, 0.4);
  border-radius: 10px;
  padding: 14px 22px;
  text-align: center;
  min-width: 280px;
  max-width: 100%;
}
.b-stack-card.solid {
  background: linear-gradient(160deg, var(--purple-hi) 0%, var(--purple) 100%);
  border-color: var(--purple);
  box-shadow: 0 8px 20px -4px rgba(93, 23, 234, 0.35);
}
.b-stack-card.lime {
  background: rgba(206, 255, 28, 0.06);
  border-color: rgba(206, 255, 28, 0.28);
}
.b-stack-card.muted {
  background: rgba(245, 246, 252, 0.025);
  border: 1px dashed var(--arsenic);
}
.b-stack-card .name {
  font-weight: 600;
  color: var(--ice-white);
  font-size: 14px;
}
.b-stack-card.solid .name { color: var(--ice-white); font-size: 15px; }
.b-stack-card.lime .name { color: var(--lime); }
.b-stack-card .role {
  font-size: 12px;
  color: var(--steel);
  margin-top: 4px;
  line-height: 1.4;
}
.b-stack-card.solid .role { color: rgba(245, 246, 252, 0.85); }
.b-stack-card.lime .role { color: rgba(245, 246, 252, 0.7); }
.b-stack-arrow {
  text-align: center;
  color: var(--graphite);
  margin: 6px 0;
  font-size: 12px;
  letter-spacing: 0.06em;
}
.b-stack-grid-2,
.b-stack-grid-3 {
  display: grid;
  gap: 10px;
  margin-bottom: 4px;
}
.b-stack-grid-2 { grid-template-columns: 1fr 1fr; }
.b-stack-grid-3 { grid-template-columns: 1fr 1fr 1fr; }
.b-stack-grid-2 .b-stack-card,
.b-stack-grid-3 .b-stack-card {
  min-width: 0;
  padding: 12px;
}
.b-stack-divider {
  border-top: 1px dashed var(--arsenic);
  padding-top: 16px;
  margin-top: 12px;
}

/* Arrow bullet list — for honest limits, takeaways */
.b-arrow-list {
  list-style: none;
  margin: 24px 0;
  padding: 0;
}
.b-arrow-list li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 18px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--steel);
}
.b-arrow-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--lime);
  font-weight: 600;
}
.b-arrow-list li strong { color: var(--ice-white); font-weight: 600; }

/* Comparison table — for "new vs incremental" */
.b-table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 14.5px;
}
.b-table th {
  text-align: left;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--space);
  font-weight: 600;
  padding: 12px 16px 12px 0;
  border-bottom: 1px solid var(--phantom);
}
.b-table td {
  padding: 16px 16px 16px 0;
  border-bottom: 1px solid var(--phantom);
  color: var(--steel);
  vertical-align: top;
  line-height: 1.55;
}
.b-table td:first-child {
  color: var(--ice-white);
  font-weight: 500;
  width: 35%;
}
.b-table td strong { color: var(--ice-white); font-weight: 600; }
.b-table .status {
  display: inline-block;
  padding: 3px 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  border-radius: 999px;
  white-space: nowrap;
}
.b-table .status.shipped {
  background: rgba(206, 255, 28, 0.14);
  color: var(--lime);
  border: 1px solid rgba(206, 255, 28, 0.3);
}
.b-table .status.exploring {
  background: rgba(255, 180, 84, 0.12);
  color: #FFB454;
  border: 1px solid rgba(255, 180, 84, 0.3);
}
.b-table .status.pending {
  background: rgba(124, 155, 255, 0.12);
  color: var(--signal-blue);
  border: 1px solid rgba(124, 155, 255, 0.3);
}

/* Pull quote — hairline top + bottom, centered, oversized opening quote glyph */
.b-pull {
  position: relative;
  margin: 56px auto;
  padding: 44px 8% 32px;
  border-top: 1px solid var(--phantom);
  border-bottom: 1px solid var(--phantom);
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  line-height: 1.45;
  color: var(--ice-white);
  letter-spacing: -0.015em;
  font-weight: 500;
  font-style: italic;
}
.b-pull::before {
  content: '\201C';
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 56px;
  background: var(--midnight);
  color: var(--lime);
  font-family: 'Poppins', serif;
  font-size: 64px;
  font-weight: 700;
  line-height: 64px;
  font-style: normal;
  text-align: center;
  letter-spacing: 0;
}
.b-pull::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 8px;
  background: var(--midnight);
  border-bottom: 2px solid var(--lime);
}

/* Raw item — quote tile (no left-border), asymmetric clipping feel */
.b-rawitem {
  position: relative;
  margin: 28px 0 16px;
  padding: 32px 36px 28px;
  background: rgba(245, 246, 252, 0.025);
  border: 1px solid var(--phantom);
  border-radius: 4px 18px 18px 18px;
  color: var(--steel);
  font-size: 16.5px;
  line-height: 1.7;
  font-style: italic;
}
.b-rawitem::before {
  content: '\201C';
  position: absolute;
  top: 8px;
  left: 14px;
  font-family: 'Poppins', serif;
  font-size: 42px;
  line-height: 1;
  color: var(--lime);
  font-style: normal;
  font-weight: 700;
  opacity: 0.7;
}
.b-rawitem .b-rawitem-source {
  display: block;
  margin-top: 18px;
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--graphite);
  font-weight: 500;
}

/* ============== Perimeter compare block ==============
   Two-column side-by-side with axis labels in the center.
   Lime side = inside the regulatory perimeter (regulated / preferred).
   Amber side = outside the regulatory perimeter (unregulated / market). */
.b-perimeter {
  margin: 36px 0 28px;
  padding: 24px;
  background: rgba(245, 246, 252, 0.02);
  border: 1px solid var(--phantom);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.b-perimeter-headers,
.b-perimeter-row,
.b-perimeter-footer {
  display: grid;
  grid-template-columns: 1fr 120px 1fr;
  gap: 10px;
  align-items: stretch;
}
.b-perimeter-card,
.b-perimeter-cell,
.b-perimeter-footer-cell {
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: -0.005em;
}
.b-perimeter-card {
  flex-direction: column;
  gap: 4px;
  padding: 18px 16px;
}
.b-perimeter-card .name {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.015em;
}
.b-perimeter-card .role {
  font-size: 11.5px;
  letter-spacing: 0.04em;
  opacity: 0.85;
}
.b-perimeter-card.lime-side,
.b-perimeter-cell.lime-side,
.b-perimeter-footer-cell.lime-side {
  background: rgba(206, 255, 28, 0.06);
  border: 1px solid rgba(206, 255, 28, 0.30);
  color: var(--lime);
}
.b-perimeter-card.lime-side .name { color: var(--lime-hi); }
.b-perimeter-card.lime-side .role { color: rgba(223, 255, 77, 0.78); }
.b-perimeter-cell.lime-side { color: var(--ice-white); background: rgba(206, 255, 28, 0.04); border-color: rgba(206, 255, 28, 0.20); }
.b-perimeter-card.amber-side,
.b-perimeter-cell.amber-side,
.b-perimeter-footer-cell.amber-side {
  background: rgba(255, 180, 84, 0.07);
  border: 1px solid rgba(255, 180, 84, 0.30);
  color: var(--signal-amber);
}
.b-perimeter-card.amber-side .name { color: var(--signal-amber); }
.b-perimeter-card.amber-side .role { color: rgba(255, 180, 84, 0.78); }
.b-perimeter-cell.amber-side { color: var(--ice-white); background: rgba(255, 180, 84, 0.04); border-color: rgba(255, 180, 84, 0.20); }
.b-perimeter-axis,
.b-perimeter-axis-empty {
  display: flex;
  align-items: center;
  justify-content: center;
}
.b-perimeter-axis {
  font-family: 'Poppins', sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--graphite);
  border: 1px solid var(--phantom);
  border-radius: 999px;
  padding: 4px 10px;
  background: rgba(245, 246, 252, 0.02);
}
.b-perimeter-footer {
  margin-top: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--phantom);
}
.b-perimeter-footer-cell {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 12px 14px;
  background: transparent !important;
  border: none !important;
}
.b-perimeter-footer-cell.lime-side { color: var(--lime); }
.b-perimeter-footer-cell.amber-side { color: var(--signal-amber); }

/* Perimeter compare on tablet + mobile: stack each axis vertically with
   axis pill on top and the two values below. Still scannable, no horizontal
   scroll needed. */
@media (max-width: 760px) {
  .b-perimeter { padding: 16px; gap: 14px; }
  .b-perimeter-headers,
  .b-perimeter-row,
  .b-perimeter-footer {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .b-perimeter-axis-empty { display: none; }
  .b-perimeter-axis {
    order: -1;
    width: max-content;
    margin: 0 auto;
    font-size: 9.5px;
    letter-spacing: 0.16em;
  }
  .b-perimeter-cell,
  .b-perimeter-card,
  .b-perimeter-footer-cell {
    padding: 12px 14px;
    font-size: 13.5px;
  }
  .b-perimeter-card { padding: 14px; }
  .b-perimeter-card .name { font-size: 15px; }
  .b-perimeter-footer { margin-top: 6px; }
  .b-perimeter-footer-cell { padding: 8px; font-size: 11px; }
}

/* ============== Matrix compare block ==============
   LinkedIn-poster style: 10 rows × 4 cols (#, attribute, col A, col B).
   Cells can be plain text, a lime tick (✓ = yes), or a graphite "no" tag.
   The single best component for binary-leaning side-by-side comparisons. */
.b-matrix {
  margin: 36px 0 28px;
  padding: 28px;
  background: rgba(245, 246, 252, 0.02);
  border: 1px solid var(--phantom);
  border-radius: 18px;
}
.b-matrix-header,
.b-matrix-row {
  display: grid;
  grid-template-columns: 32px 1fr 200px 200px;
  gap: 14px;
  align-items: center;
}
.b-matrix-header {
  align-items: end;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--arsenic);
  margin-bottom: 4px;
}
.b-matrix-head-num,
.b-matrix-head-attr {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--graphite);
}
.b-matrix-head-col { text-align: center; }
.b-matrix-head-col .name {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--ice-white);
  letter-spacing: -0.015em;
  line-height: 1.1;
}
.b-matrix-head-col .sub {
  font-size: 10px;
  font-weight: 500;
  color: var(--graphite);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-top: 5px;
}
.b-matrix-row {
  padding: 14px 0;
  border-bottom: 1px solid rgba(245, 246, 252, 0.04);
  min-height: 56px;
}
.b-matrix-row:last-child { border-bottom: none; }
.b-matrix-num {
  font-size: 13px;
  font-weight: 500;
  color: var(--arsenic);
  font-feature-settings: "tnum";
}
.b-matrix-attr {
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ice-white);
  line-height: 1.3;
  letter-spacing: -0.005em;
}
.b-matrix-cell {
  text-align: center;
  line-height: 1.3;
}
.b-matrix-cell.text {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ice-white);
  letter-spacing: -0.005em;
}
.b-matrix-cell.tick {
  font-size: 26px;
  font-weight: 700;
  color: var(--lime);
  line-height: 1;
}
.b-matrix-cell.no {
  font-size: 13px;
  font-weight: 500;
  color: var(--graphite);
  letter-spacing: 0.02em;
}

/* Matrix on tablet + mobile: each row becomes a single-column card.
   Attribute name across the top, then two value cells side-by-side underneath. */
@media (max-width: 760px) {
  .b-matrix { padding: 14px; }
  .b-matrix-header {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding-bottom: 12px;
  }
  .b-matrix-head-num,
  .b-matrix-head-attr { display: none; }
  .b-matrix-head-col .name { font-size: 14px; }
  .b-matrix-head-col .sub { font-size: 9px; letter-spacing: 0.14em; }

  .b-matrix-row {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "attr attr"
      "left right";
    gap: 6px 12px;
    padding: 16px 4px;
    align-items: start;
  }
  .b-matrix-num { display: none; }
  .b-matrix-attr {
    grid-area: attr;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--graphite);
    margin-bottom: 6px;
  }
  .b-matrix-cell {
    align-self: center;
    text-align: left;
    padding: 6px 10px;
    background: rgba(245, 246, 252, 0.025);
    border: 1px solid rgba(245, 246, 252, 0.05);
    border-radius: 8px;
    min-height: 40px;
    display: flex;
    align-items: center;
  }
  .b-matrix-cell.text { font-size: 12.5px; line-height: 1.35; }
  .b-matrix-cell.tick {
    font-size: 22px;
    justify-content: center;
    text-align: center;
  }
  .b-matrix-cell.no {
    font-size: 12px;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 700px) {
  .b-stack { padding: 20px 16px; }
  .b-stack-card { min-width: 0; width: 100%; padding: 12px; }
  .b-table td:first-child { width: auto; }
  .b-table { font-size: 13.5px; }
  .b-pull { padding: 36px 6% 26px; font-size: 17.5px; margin: 44px auto; }
  .b-pull::before { width: 44px; height: 44px; font-size: 50px; line-height: 50px; top: -18px; }
  .b-rawitem { padding: 28px 22px 22px; font-size: 15.5px; }
  .b-rawitem::before { font-size: 36px; top: 6px; left: 10px; }
}

/* ============================================================
   COMPREHENSIVE MOBILE RESPONSIVE OVERRIDES
   Three breakpoints: tablet (≤980px), mobile (≤760px), small phone (≤480px)
   Loaded last so they win the cascade against earlier rules.
   ============================================================ */

/* ---- Tablet (≤980px) — hamburger menu drawer ---- */
@media (max-width: 980px) {
  /* Header: single-row, wordmark left, hamburger right */
  .header-inner {
    height: 64px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    gap: 0;
  }
  .lockup-img { height: 28px; }

  /* Hamburger button shows on mobile */
  .nav-toggle {
    display: block;
    width: 44px;
    height: 44px;
  }

  /* Lock page scroll when the drawer is open */
  body.nav-open { overflow: hidden; }

  /* Backdrop: dim the page when the drawer is open */
  body.nav-open::after {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(20, 20, 26, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 90;
    animation: nav-backdrop-in 280ms var(--ease-out-expo);
  }
  @keyframes nav-backdrop-in {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  /* Nav drawer: full-height panel sliding in from the right */
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(86vw, 380px);
    background: linear-gradient(180deg, #1a1a22 0%, #14141A 100%);
    border-left: 1px solid var(--phantom);
    box-shadow: -24px 0 60px rgba(0, 0, 0, 0.45);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 88px 32px 40px;
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1),
                opacity 240ms cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav.open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }

  /* Drawer links: big, comfortable taps, hairline divider between rows */
  .nav .nav-link {
    display: block;
    font-size: 22px;
    font-weight: 500;
    color: var(--ice-white);
    padding: 20px 0;
    border-bottom: 1px solid var(--phantom);
    letter-spacing: -0.015em;
    text-decoration: none;
    transition: color 200ms var(--ease-out-expo), padding-left 280ms var(--ease-out-expo);
  }
  .nav .nav-link:hover,
  .nav .nav-link.active {
    color: var(--lime);
    padding-left: 6px;
  }
  .nav .nav-link.active::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--lime);
    border-radius: 50%;
    margin-right: 12px;
    vertical-align: middle;
    transform: translateY(-2px);
  }

  /* Language switcher sits between links and CTA */
  .nav .lang-switch {
    margin: 28px 0 16px;
    font-size: 12px;
    text-align: left;
    justify-content: flex-start;
  }
  .nav .lang-switch a { padding: 4px 8px; }

  /* Lime CTA at the bottom of the drawer */
  .nav .cta-pill {
    align-self: flex-start;
    margin-top: 12px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 0 0 0 rgba(206, 255, 28, 0.35);
    animation: cta-pulse 2.4s ease-out infinite;
  }
}
@keyframes cta-pulse {
  0% { box-shadow: 0 0 0 0 rgba(206, 255, 28, 0.30); }
  60% { box-shadow: 0 0 0 10px rgba(206, 255, 28, 0); }
  100% { box-shadow: 0 0 0 0 rgba(206, 255, 28, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .nav .cta-pill { animation: none; }
  .nav { transition: none; }
  body.nav-open::after { animation: none; }
}

/* ---- Mobile (≤760px) ---- */
@media (max-width: 760px) {
  /* Container padding tighter */
  .container, .container-narrow { padding: 0 20px; }

  /* Sections breathe less */
  section.hero, section.page-hero { padding-top: 120px; padding-bottom: 56px; }
  .awards-section, .trusted-section, .what, .how, .faq-section, .closing { padding: 64px 0; }
  .briefings-section, .report-section { padding: 48px 0; }

  /* Typography scaling */
  .h1, .display-headline, .page-hero-h1, .hero-headline { font-size: 36px; line-height: 1.08; }
  .h2 { font-size: 28px; line-height: 1.12; }
  .h3 { font-size: 20px; }
  .lede, .hero-lede, .page-hero-lede { font-size: 16px; line-height: 1.55; }
  .eyebrow, .caption { font-size: 11px; letter-spacing: 0.14em; }

  /* Hero CTA: stack vertically with touch-friendly buttons */
  .hero-cta-row { flex-direction: column; align-items: stretch; gap: 12px; width: 100%; }
  .cta-primary { width: 100%; justify-content: center; padding: 16px 24px; font-size: 15px; }
  .cta-ghost { width: 100%; text-align: center; }

  /* Hero grid stacks (already does at 1080) — make sure diagram sized down */
  .hero-grid { gap: 40px; }

  /* Practice card grid: single column with smaller padding.
     Each practice's animated SVG sits inline ABOVE the title at full opacity —
     so all four signature animations are visible on every mobile screen. */
  .practice-grid { gap: 16px; }
  .practice-card { padding: 28px; min-height: auto; }
  .practice-title { font-size: 22px; max-width: 100%; }
  .practice-claim { font-size: 14.5px; max-width: 100%; }
  .practice-visual {
    position: static !important;
    width: 112px;
    height: 112px;
    top: auto; right: auto;
    margin: 4px 0 18px;
    opacity: 1;
    display: block;
  }
  .practice-meta-row { margin-bottom: 16px; }
  .practice-bullets li { font-size: 13.5px; padding: 11px 0; }

  /* How an engagement runs: vertical timeline.
     Replaces the horizontal track with a left-edge line + dots aligned to it. */
  .process { margin-top: 16px; }
  .process-track {
    padding: 12px 0 8px 0;
    position: relative;
  }
  .process-track::before {
    content: '';
    position: absolute;
    top: 14px;
    bottom: 14px;
    left: 7px;
    width: 1px;
    background: linear-gradient(180deg,
      var(--lime) 0%,
      rgba(206, 255, 28, 0.45) 8%,
      var(--phantom) 22%,
      var(--phantom) 100%);
  }
  .process-line { display: none !important; }
  .process-nodes {
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
    gap: 28px;
    padding-left: 32px;
  }
  .process-node {
    position: relative;
    padding-right: 0;
    flex-direction: column;
    align-items: flex-start;
    opacity: 1 !important;
  }
  .process-node::before {
    content: '';
    position: absolute;
    top: 6px;
    left: -32px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--midnight);
    border: 2px solid var(--phantom);
    z-index: 2;
    box-sizing: border-box;
    transition: background 380ms var(--ease-out-expo),
                border-color 380ms var(--ease-out-expo),
                box-shadow 380ms var(--ease-out-expo),
                transform 380ms var(--ease-out-expo);
  }
  /* Dots a user has already scrolled past: solid lime, no glow */
  .process-node.passed::before {
    background: var(--lime);
    border-color: var(--lime);
  }
  /* The cursor — the node currently aligned with the user's read position.
     Pulsing lime ring + slight scale. JS sets .is-active. */
  .process-node.is-active::before {
    background: var(--lime);
    border-color: var(--lime);
    box-shadow: 0 0 0 5px rgba(206, 255, 28, 0.22);
    transform: scale(1.05);
    animation: timeline-cursor-pulse 2.6s ease-out infinite;
  }
  .process-node.is-active .process-title,
  .process-node.passed .process-title { color: var(--ice-white); }
  /* Override the static :first-child styling — JS handles initial state */
  .process-node:first-child::before {
    background: var(--midnight);
    border-color: var(--phantom);
    box-shadow: none;
  }
  /* But when first-child IS the active one (initial load), restore lime */
  .process-node:first-child.is-active::before {
    background: var(--lime);
    border-color: var(--lime);
  }
  .process-num {
    height: auto;
    margin-bottom: 6px;
    font-size: 11px;
    letter-spacing: 0.16em;
  }
  .process-dot { display: none; }  /* desktop dot is replaced by ::before pseudo */
  .process-title {
    font-size: 16px;
    margin-bottom: 4px;
    transition: color 380ms var(--ease-out-expo);
  }
  .process-desc { font-size: 13px; }
}
@keyframes timeline-cursor-pulse {
  0%   { box-shadow: 0 0 0 5px rgba(206, 255, 28, 0.22); }
  60%  { box-shadow: 0 0 0 11px rgba(206, 255, 28, 0); }
  100% { box-shadow: 0 0 0 5px rgba(206, 255, 28, 0); }
}
@media (max-width: 760px) {
  /* Resumption of the ≤760px mobile-overrides block (the keyframes above
     had to live at top level, which broke the @media wrapper). */

  /* Briefings grid */
  .briefings-grid { grid-template-columns: 1fr; gap: 16px; }
  .briefing-card { padding: 28px; }
  .briefing-card.featured { padding: 32px; }
  .briefing-title { font-size: 20px; line-height: 1.3; }
  .briefing-source { font-size: 13px; }
  .briefing-summary { font-size: 14px; line-height: 1.6; }

  /* Awards section */
  .awards-row { grid-template-columns: 1fr; gap: 16px; }
  .award-card { padding: 28px; }
  .award-card.featured { grid-column: span 1; }
  .award-title { font-size: 22px; }
  .award-desc { font-size: 14px; }
  .photo-stack, .photo-pair { gap: 12px; }

  /* FAQ */
  .faq-grid { grid-template-columns: 1fr; gap: 16px; }
  .faq-item { padding: 20px 24px; }
  .faq-question { font-size: 16px; }
  .faq-answer { font-size: 14px; }

  /* About page founder grid */
  .founder-grid { grid-template-columns: 1fr !important; gap: 40px; }
  .founder-card-grid { grid-template-columns: 1fr; gap: 12px; }
  .founder-card { padding: 16px; }
  .founder-stats { flex-direction: column; gap: 12px; }
  .founder-photo-wrap { max-width: 340px; margin: 0 auto; }

  /* Contact grid stacks */
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-meta { font-size: 14px; }
  .calendly-card { min-height: 540px; padding: 24px; }
  .calendly-card-art { max-width: 320px; }

  /* Forms: touch-friendly */
  .request-form input,
  .request-form textarea,
  .request-form select {
    font-size: 16px; /* iOS Safari won't zoom if ≥16px */
    padding: 14px 16px;
    border-radius: 10px;
    min-height: 48px;
  }
  .request-form textarea { min-height: 120px; }
  .request-form label { font-size: 13px; }
  .request-form .form-row { grid-template-columns: 1fr; gap: 16px; }
  .request-form button[type="submit"] { width: 100%; padding: 16px 24px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-brand p { max-width: 100%; }
  .footer-crumb { flex-wrap: wrap; gap: 6px 12px; font-size: 11px; }

  /* Trusted marquee — softer mask edges for narrow viewports */
  .marquee { mask-image: linear-gradient(to right, transparent 0, black 32px, black calc(100% - 32px), transparent 100%);
             -webkit-mask-image: linear-gradient(to right, transparent 0, black 32px, black calc(100% - 32px), transparent 100%); }

  /* Briefing component tweaks */
  .b-callout { padding: 14px 18px; font-size: 14px; }
  .b-callout .b-tag { font-size: 9px; padding: 3px 8px; }
  .b-stack { padding: 20px 16px; margin: 24px 0; }
  .b-stack-card { padding: 10px 14px; }
  .b-stack-card .name { font-size: 13px; }
  .b-stack-card .role { font-size: 11px; }
  .b-stack-arrow { font-size: 11px; }
  .b-arrow-list li { padding-left: 22px; font-size: 14.5px; }
  .b-pull { padding: 32px 18px 22px; font-size: 16px; margin: 36px auto; }
  .b-rawitem { padding: 24px 20px 20px; font-size: 14.5px; }
  .b-table { font-size: 13px; }
  .b-table th, .b-table td { padding: 10px 8px 10px 0; }
  .b-table .status { font-size: 9px; padding: 2px 8px; }

  /* Report-cover meta */
  .report-cover-meta { grid-template-columns: 1fr; gap: 8px; }

  /* Hide the section-nav dot column entirely on mobile (no room) */
  .section-nav { display: none !important; }

  /* Scroll progress thinner on mobile */
  .scroll-progress { height: 2px; }
}

/* ---- Small phone (≤480px) ---- */
@media (max-width: 480px) {
  .container, .container-narrow { padding: 0 16px; }
  .h1, .display-headline, .page-hero-h1, .hero-headline { font-size: 30px; }
  .h2 { font-size: 24px; }
  .lede, .hero-lede, .page-hero-lede { font-size: 15px; }

  section.hero, section.page-hero { padding-top: 116px; padding-bottom: 40px; }
  .awards-section, .trusted-section, .what, .how, .faq-section, .closing { padding: 48px 0; }

  .practice-card { padding: 24px; }
  .practice-title { font-size: 20px; }
  /* Miniature signature animations stay visible even on small phones */
  .practice-visual {
    display: block;
    width: 92px;
    height: 92px;
    margin: 2px 0 14px;
  }

  .briefing-card, .briefing-card.featured { padding: 22px; }
  .briefing-title { font-size: 18px; }

  .calendly-card { padding: 18px; min-height: 460px; }
  .calendly-card-art { max-width: 260px; }

  /* Footer crumb wraps cleanly */
  .footer-crumb { font-size: 10px; }

  .award-card { padding: 22px; }
  .award-title { font-size: 18px; }

  .faq-item { padding: 16px 18px; }
  .faq-question { font-size: 15px; }
}

/* ---- Universal mobile: no horizontal overflow ---- */
html, body { overflow-x: hidden; }
img, svg, video { max-width: 100%; height: auto; }
