/* ============================================================
   Billionaire Pattern Lab — landing page
   1. Variables
   2. Reset & base
   3. Typography
   4. Cursor / progress / noise
   5. Navigation
   6. Sections
   7. Animation states
   8. prefers-reduced-motion
   9. Responsive
   ============================================================ */

/* ---------- 1. Variables ---------- */
:root {
  /* Near-black base, warm off-white ink, one blue accent.
     Amber is not decoration — it is the interpretation signal, used
     consistently for every inferred/structural thing on the page. */
  --color-bg:      #0a0b0d;
  --color-bg-lift: #101216;
  --color-fg:      #ecebe6;
  --color-accent:  #3d8bfd;  /* fact / learnable / cited */
  --color-warn:    #f0a63c;  /* interpretation / structural / inferred */
  --color-muted:   rgba(236, 235, 230, 0.44);
  --color-faint:   rgba(236, 235, 230, 0.26);
  --color-border:  rgba(236, 235, 230, 0.11);

  --font-display: 'DM Serif Display', 'Playfair Display', Georgia, serif;
  --font-body:    'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-mono:    'Space Mono', ui-monospace, monospace;

  --text-display:    clamp(2.6rem, 7.4vw, 7rem);
  --text-heading:    clamp(1.9rem, 5vw, 4.25rem);
  --text-subheading: clamp(1.15rem, 2.4vw, 1.9rem);
  --text-body:       clamp(0.95rem, 1.15vw, 1.0625rem);
  --text-label:      clamp(0.68rem, 0.85vw, 0.78rem);

  --space-section: clamp(6rem, 14vw, 13rem);
  --space-gutter:  clamp(1.25rem, 5vw, 5rem);

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --maxw: 1440px;
}

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: auto;         /* Lenis owns scrolling */
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--color-bg);
  color: var(--color-fg);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.68;
  overflow-x: hidden;
  cursor: none;                  /* replaced by custom cursor */
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }

::selection { background: var(--color-accent); color: #05070a; }

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
  border-radius: 2px;
}

/* ---------- 3. Typography ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-family: var(--font-mono);
  font-size: var(--text-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.eyebrow-rule {
  display: block;
  width: clamp(28px, 5vw, 64px);
  height: 1px;
  background: var(--color-accent);
  flex-shrink: 0;
}

.section-heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-heading);
  line-height: 0.94;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin-top: 1.25rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  font-family: var(--font-mono);
  font-size: var(--text-label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--color-border);
  border-radius: 2px;
  white-space: nowrap;
  transition: background-color 0.25s var(--ease-out-expo),
              color 0.25s var(--ease-out-expo),
              border-color 0.25s var(--ease-out-expo);
}

.btn--primary { background: var(--color-accent); border-color: var(--color-accent); color: #05070a; }
.btn--primary:hover { background: #6aa7ff; border-color: #6aa7ff; }
.btn--ghost { color: var(--color-muted); }
.btn--ghost:hover { color: var(--color-fg); border-color: var(--color-fg); }
.btn-arrow { transition: transform 0.25s var(--ease-out-expo); }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ---------- 4. Cursor / progress / noise ---------- */
.cursor {
  position: fixed; top: 0; left: 0;
  width: 8px; height: 8px;
  background: var(--color-fg);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  margin: -4px 0 0 -4px;
  mix-blend-mode: difference;
}

.cursor-follower {
  position: fixed; top: 0; left: 0;
  width: 40px; height: 40px;
  border: 1px solid var(--color-faint);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  margin: -20px 0 0 -20px;
}

.scroll-progress {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 1px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left center;
  z-index: 9000;
}

.page-overlay {
  position: fixed; inset: 0;
  background: var(--color-bg);
  z-index: 9990;
  transform-origin: top center;
}

.noise {
  position: fixed; inset: -50%;
  width: 200%; height: 200%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9997;
  opacity: 0.13;
  animation: noise-shift 0.5s steps(2) infinite;
}

@keyframes noise-shift {
  0%   { transform: translate(0, 0) scale(1.05); }
  50%  { transform: translate(-1%, -2%) scale(1.05); }
  100% { transform: translate(1%, 1%) scale(1.05); }
}

/* ---------- 5. Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.35rem var(--space-gutter);
  z-index: 100;
  mix-blend-mode: difference;    /* inverts against whatever is beneath */
}

.site-logo { display: flex; align-items: baseline; gap: 0.7rem; }

.logo-mark {
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
}

.logo-word {
  font-family: var(--font-mono);
  font-size: var(--text-label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.nav-links { display: flex; align-items: center; gap: clamp(0.75rem, 2vw, 2rem); }

.nav-item {
  font-family: var(--font-mono);
  font-size: var(--text-label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
  transition: color 0.25s var(--ease-out-expo);
}

.nav-item:hover { color: var(--color-fg); }

/* ---------- 6. Sections ---------- */

/* --- HERO --- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 var(--space-gutter) clamp(3rem, 8vh, 6rem);
  overflow: hidden;
}

/* Depth layer: oversized numerals, far back */
.hero-numerals {
  position: absolute;
  inset: -12% -5% auto -5%;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1rem, 4vw, 4rem);
  font-family: var(--font-mono);
  font-size: clamp(4rem, 13vw, 12rem);
  line-height: 0.92;
  color: var(--color-fg);
  opacity: 0.035;
  pointer-events: none;
  user-select: none;
  will-change: transform;
}

/* Depth layer: measurement grid, mid */
.hero-grid {
  position: absolute;
  inset: -10% 0 -10% 0;
  background-image:
    linear-gradient(rgba(236,235,230,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(236,235,230,0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
  will-change: transform;
  mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  width: 100%;
  margin: 0 auto;
}

.hero-eyebrow { margin-bottom: clamp(1.5rem, 4vh, 2.5rem); }

/* overflow:hidden clips the y:110% start state of each split line */
.hero-headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-display);
  line-height: 0.92;
  letter-spacing: -0.02em;
  max-width: 26ch;
}

.hero-sub {
  margin-top: clamp(1.75rem, 4vh, 2.75rem);
  max-width: 54ch;
  color: var(--color-muted);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
}

.hero-actions {
  margin-top: clamp(2rem, 5vh, 3rem);
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.scroll-hint {
  position: absolute;
  right: var(--space-gutter);
  bottom: clamp(3rem, 8vh, 6rem);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.scroll-hint-label {
  font-family: var(--font-mono);
  font-size: var(--text-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-faint);
  writing-mode: vertical-rl;
}

.scroll-hint-line { width: 1px; height: 56px; background: linear-gradient(var(--color-faint), transparent); }

/* --- RIBBON --- */
.ribbon {
  border-block: 1px solid var(--color-border);
  padding: clamp(1.1rem, 2.2vw, 1.6rem) 0 0.9rem;
  overflow: hidden;
  background: var(--color-bg-lift);
}

.ribbon-track { display: flex; width: max-content; will-change: transform; }
.ribbon-group { display: flex; }

.ribbon-item {
  display: inline-flex;
  align-items: baseline;
  gap: 0.55rem;
  padding-inline: clamp(1.25rem, 3vw, 2.75rem);
  font-family: var(--font-mono);
  font-size: clamp(0.8rem, 1.05vw, 0.95rem);
  color: var(--color-faint);
  white-space: nowrap;
  border-right: 1px solid var(--color-border);
}

.ribbon-item b { font-weight: 400; color: var(--color-fg); }

.ribbon-note {
  margin-top: 0.9rem;
  padding-inline: var(--space-gutter);
  font-family: var(--font-mono);
  font-size: var(--text-label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-faint);
}

/* --- SCALE (the breathing room section) --- */
.scale {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(5rem, 12vh, 9rem) var(--space-gutter);
}

.scale-grid {
  margin-top: clamp(3rem, 8vh, 5.5rem);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
}

.stat { display: flex; flex-direction: column; }

.stat-value {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.75rem, 6.5vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.stat-prefix, .stat-suffix { color: var(--color-accent); }

.stat-rule {
  display: block;
  height: 1px;
  width: 100%;
  background: var(--color-border);
  margin: 1.35rem 0 1rem;
  transform-origin: left center;
}

.stat-label { color: var(--color-muted); font-size: 0.95rem; line-height: 1.5; max-width: 26ch; }

.scale-caveat {
  margin-top: clamp(3.5rem, 9vh, 6rem);
  margin-left: auto;
  max-width: 58ch;
  padding-left: 1.5rem;
  border-left: 1px solid var(--color-warn);
  color: var(--color-muted);
}

/* --- SPLIT (signature) --- */
.split { position: relative; }

.split-stage {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(5rem, 12vh, 8rem) var(--space-gutter);
}

.split-eyebrow { margin-bottom: clamp(2rem, 5vh, 3.5rem); }

.split-seed {
  position: absolute;
  left: var(--space-gutter);
  right: var(--space-gutter);
  top: 50%;
  transform: translateY(-50%);
  margin: 0 auto;
  max-width: 30ch;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-subheading);
  line-height: 1.25;
  color: var(--color-muted);
  text-align: center;
}

.split-seed em { font-style: normal; color: var(--color-fg); }

/* The rule that draws down the middle as the halves separate */
.split-rule {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(var(--color-accent), var(--color-warn));
  transform-origin: top center;
  transform: scaleY(0);
}

.split-cols {
  position: relative;              /* anchors .split-rule to the columns */
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 8vw, 7rem);
}

.split-col { display: flex; flex-direction: column; gap: 1.1rem; }
.split-col--interp { padding-top: clamp(2rem, 7vh, 4.5rem); }  /* deliberate asymmetry */

.split-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: var(--text-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.split-tag .dot { width: 7px; height: 7px; border-radius: 50%; }
.split-tag--fact { color: var(--color-accent); }
.split-tag--fact .dot { background: var(--color-accent); }
.split-tag--interp { color: var(--color-warn); }
.split-tag--interp .dot { background: var(--color-warn); }

.split-claim {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.35rem, 2.7vw, 2.35rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.split-meta { color: var(--color-muted); max-width: 40ch; }

.split-source {
  font-family: var(--font-mono);
  font-size: var(--text-label);
  line-height: 1.7;
  color: var(--color-faint);
  padding-top: 0.9rem;
  border-top: 1px solid var(--color-border);
  max-width: 44ch;
}

.split-coda {
  margin: clamp(3rem, 8vh, 5rem) auto 0;
  max-width: 60ch;
  text-align: center;
  color: var(--color-muted);
}

/* --- PEOPLE --- */
.people { padding-top: clamp(3rem, 7vh, 5rem); }

.people-head {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--space-gutter) clamp(2.5rem, 6vh, 4rem);
}

.h-gallery-wrapper { overflow: hidden; height: 100svh; display: flex; align-items: center; }

.h-gallery-track {
  display: flex;
  gap: clamp(1rem, 2vw, 1.75rem);
  width: max-content;
  padding-inline: var(--space-gutter);
  will-change: transform;
}

.p-card {
  position: relative;
  width: clamp(260px, 24vw, 340px);
  height: clamp(400px, 58vh, 520px);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  padding: clamp(1.4rem, 2vw, 2rem);
  background: var(--color-bg-lift);
  border: 1px solid var(--color-border);
  border-radius: 3px;
  overflow: hidden;
  transition: border-color 0.35s var(--ease-out-expo),
              background-color 0.35s var(--ease-out-expo);
}

.p-card:hover { border-color: rgba(61, 139, 253, 0.5); background: #12151b; }

.p-rank {
  position: absolute;
  top: -0.35em;
  right: 0.1em;
  font-family: var(--font-mono);
  font-size: clamp(4.5rem, 8vw, 7rem);
  color: var(--color-fg);
  opacity: 0.05;
  line-height: 1;
  pointer-events: none;
  will-change: transform;
}

.p-value {
  font-family: var(--font-mono);
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  color: var(--color-accent);
  letter-spacing: -0.02em;
}

.p-name {
  margin-top: 0.4rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.p-meta { margin-top: auto; display: flex; flex-direction: column; gap: 0.85rem; }
.p-meta > div { display: flex; flex-direction: column; gap: 0.15rem; }

.p-meta dt {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-faint);
}

.p-meta dd { font-size: 0.9rem; line-height: 1.4; color: var(--color-muted); }

.p-card--end {
  justify-content: flex-end;
  gap: 1.5rem;
  background: transparent;
  border-style: dashed;
}

.p-end-note { color: var(--color-muted); font-size: 0.9rem; }

/* --- FINDINGS --- */
.findings { position: relative; }

.findings-stage {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(5rem, 12vh, 8rem) var(--space-gutter);
}

.findings-eyebrow { margin-bottom: clamp(2.5rem, 6vh, 4rem); }

.findings-rail {
  position: absolute;
  left: var(--space-gutter);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  font-family: var(--font-mono);
  font-size: var(--text-label);
  letter-spacing: 0.14em;
  color: var(--color-faint);
}

.findings-rail li { transition: color 0.3s var(--ease-out-expo); }
.findings-rail li.is-active { color: var(--color-accent); }

.findings-items { position: relative; min-height: clamp(380px, 46vh, 460px); }

.finding {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: clamp(2.5rem, 8vw, 7rem);   /* clears the 01/02/03 rail */
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 62ch;
}

.finding-stat {
  font-family: var(--font-mono);
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  color: var(--color-faint);
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}

.finding-stat span { color: var(--color-accent); }
.finding-stat .finding-vs { color: var(--color-faint); padding-inline: 0.5rem; font-size: 0.85em; }

.finding-claim {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.7rem, 4vw, 3.25rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.finding-body { margin-top: 1.5rem; color: var(--color-muted); max-width: 56ch; }

/* --- LEARNABLE / STRUCTURAL --- */
.learnable { padding-block: clamp(6rem, 14vh, 10rem) clamp(4rem, 10vh, 7rem); overflow: hidden; }

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 7vw, 6rem);
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--space-gutter);
}

.split-left, .split-right { will-change: transform; }
.split-right { padding-top: clamp(3rem, 10vh, 7rem); }  /* asymmetric on purpose */

.col-tag {
  font-family: var(--font-mono);
  font-size: var(--text-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid currentColor;
  display: inline-block;
}

.col-tag--learn { color: var(--color-accent); }
.col-tag--struct { color: var(--color-warn); }

.col-heading {
  margin-top: 1.75rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.6rem, 3.4vw, 2.75rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.col-list { margin-top: 2rem; display: flex; flex-direction: column; }

.col-list li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
}

.col-list li::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
}

.col-list--struct li::before { background: var(--color-warn); }

.col-note { margin-top: 1.75rem; color: var(--color-muted); font-size: 0.95rem; max-width: 44ch; }

/* --- CTA --- */
.cta { padding: clamp(2rem, 5vh, 3rem) var(--space-gutter) clamp(4rem, 10vh, 7rem); }

.cta-panel {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(3rem, 9vw, 7rem) clamp(1.75rem, 6vw, 6rem);
  background: var(--color-bg-lift);
  border: 1px solid var(--color-border);
  border-radius: 3px;
  background-image:
    linear-gradient(rgba(236,235,230,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(236,235,230,0.022) 1px, transparent 1px);
  background-size: 56px 56px;
}

.cta-heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.1rem, 6vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.035em;
}

.cta-body { margin-top: 1.75rem; max-width: 54ch; color: var(--color-muted); }
.cta-actions { margin-top: clamp(2rem, 5vh, 3rem); display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* --- FOOTER --- */
.footer { border-top: 1px solid var(--color-border); padding: clamp(3rem, 7vh, 5rem) var(--space-gutter); }

.footer-top { max-width: var(--maxw); margin: 0 auto; }

.footer-statement {
  max-width: 70ch;
  color: var(--color-muted);
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  padding-left: 1.5rem;
  border-left: 1px solid var(--color-warn);
}

.footer-bottom {
  max-width: var(--maxw);
  margin: clamp(2.5rem, 6vh, 4rem) auto 0;
  padding-top: 1.75rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: var(--text-label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-faint);
}

.footer-bottom a { transition: color 0.25s var(--ease-out-expo); }
.footer-bottom a:hover { color: var(--color-accent); }

/* ---------- 7. Animation states ----------
   Nothing that must remain readable is hidden here. GSAP sets every
   from-state in JS, so if JS never runs — or reduced motion is on —
   the page renders complete and legible with zero intervention. */
.split-rule { transform: scaleY(0); }
.scroll-progress { transform: scaleX(0); }

/* ---------- 8. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .cursor, .cursor-follower, .noise, .page-overlay, .scroll-hint { display: none; }
  body { cursor: auto; }

  .split-rule { transform: scaleY(1); }
  .split-seed { display: none; }          /* the seed only makes sense mid-animation */
  .split-col--interp, .split-right { padding-top: 0; }

  /* The pinned scenes become ordinary stacked sections */
  .findings-items { min-height: 0; padding-left: 0; }
  .finding { position: static; margin-bottom: 3.5rem; }
  .findings-rail { display: none; }

  /* Horizontal gallery becomes a native swipe strip */
  .h-gallery-wrapper { overflow-x: auto; height: auto; padding-block: 2rem; }
  .h-gallery-track { width: max-content; }

  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* Touch devices: no custom cursor, restore the system one */
@media (hover: none), (pointer: coarse) {
  .cursor, .cursor-follower { display: none; }
  body { cursor: auto; }
}

/* ---------- 9. Responsive ---------- */
@media (max-width: 1024px) {
  .scale-grid { grid-template-columns: repeat(2, 1fr); row-gap: clamp(2.5rem, 6vw, 3.5rem); }
  .logo-word { display: none; }
  .nav-item--quiet { display: none; }
}

@media (max-width: 820px) {
  .split-cols { grid-template-columns: 1fr; gap: 3rem; }
  .split-col--interp { padding-top: 0; }
  .split-rule { display: none; }          /* a centre rule is meaningless in one column */
  .split-seed { position: static; transform: none; text-align: left; margin-bottom: 2.5rem; }
  .split-stage { justify-content: flex-start; }

  .split-section { grid-template-columns: 1fr; gap: 4rem; }
  .split-right { padding-top: 0; }

  .findings-items { padding-left: 0; }
  .findings-rail { display: none; }

  .scroll-hint { display: none; }
  .footer-bottom { flex-direction: column; gap: 0.6rem; }
}

@media (max-width: 560px) {
  .scale-grid { grid-template-columns: 1fr; }
  .hero-headline { max-width: 100%; }
  .nav-links { gap: 0.85rem; }
  .nav { padding-inline: 1.25rem; }
  .p-card { width: 78vw; height: 440px; }
  .btn { padding: 0.85rem 1.2rem; }
  .cta-actions .btn, .hero-actions .btn { width: 100%; justify-content: center; }
}
