/* ===========================================================
   Moagi Onkabetse: design system
   International Typographic (Swiss) Style, built on Helvetica Neue:
   a strict grid, oversized type, a single red, and precision motion.
   =========================================================== */

:root {
  --black: #0a0a0a;
  --ink: #141414;
  --white: #ffffff;
  --paper: #f6f5f2;
  --grey-900: #1c1c1c;
  --grey-600: #5c5c5c;
  --grey-400: #9a9a9a;
  --grey-200: #e4e2dd;
  --line: #d8d6d0;
  --accent: #d2361b;
  --accent-soft: #f3c9ba;
  --max: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --font: "Helvetica Neue", "Helvetica", -apple-system, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; overflow-x: hidden; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  font-weight: 400;
  line-height: 1.5;
  position: relative;
  overflow-x: hidden;
}

/* Custom cursor replaces the system pointer on fine-pointer devices only
   (see script.js, gated behind a pointer:fine check so touch is untouched). */
body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; }

.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 9999;
  border-radius: 50%; pointer-events: none;
  transform: translate(-50%, -50%);
  will-change: transform;
}
.cursor-dot { width: 6px; height: 6px; background: var(--accent); }
.cursor-ring {
  width: 34px; height: 34px; border: 1px solid rgba(255,255,255,0.7);
  mix-blend-mode: difference;
  transition: width 0.25s ease, height 0.25s ease, background-color 0.25s ease;
}
.cursor-ring.hover { width: 68px; height: 68px; background: rgba(255,255,255,0.1); }
@media (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

/* Fixed Swiss grid of column lines across the max-width container */
.grid-overlay {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  max-width: var(--max); margin: 0 auto;
  background-image: repeating-linear-gradient(
    to right, rgba(120,120,120,0.09) 0, rgba(120,120,120,0.09) 1px,
    transparent 1px, transparent calc(100% / 6)
  );
}

/* Fine film-grain texture for depth on flat colour fields */
.grain-overlay {
  position: fixed; inset: 0; z-index: 2; pointer-events: none;
  opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}

.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--accent); z-index: 300; pointer-events: none;
}

.page-transition {
  position: fixed; inset: 0; background: var(--black); z-index: 500;
  transform: scaleY(0); transform-origin: bottom; pointer-events: none;
}

/* ---------- Cookie notice ---------- */

.cookie-notice {
  position: fixed;
  left: var(--gutter); right: var(--gutter); bottom: 24px;
  z-index: 400;
  max-width: 640px;
  background: var(--ink);
  color: var(--white);
  padding: 26px 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  border-top: 2px solid var(--accent);
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  transform: translateY(140%);
  opacity: 0;
  transition: transform 0.6s cubic-bezier(.16,1,.3,1), opacity 0.4s ease;
  pointer-events: none;
}
.cookie-notice.visible { transform: translateY(0); opacity: 1; pointer-events: auto; }
.cookie-notice p { margin: 0; font-size: 14px; font-weight: 300; line-height: 1.6; color: var(--grey-200); flex: 1 1 320px; }
.cookie-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cookie-notice .btn, .cookie-notice .btn-outline {
  padding: 12px 20px; font-size: 12px;
}
.cookie-notice .btn { background: var(--white); border-color: var(--white); color: var(--black); }
.cookie-notice .btn:hover { background: transparent; color: var(--white); }
.cookie-notice .btn-outline { background: transparent; border-color: rgba(255,255,255,0.4); color: var(--white); }
.cookie-notice .btn-outline:hover { background: var(--white); color: var(--black); }

@media (max-width: 560px) {
  .cookie-notice { left: 16px; right: 16px; bottom: 16px; padding: 22px; }
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px var(--gutter);
  mix-blend-mode: difference;
}

.brand {
  font-size: 15px;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
}

.menu-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--white);
  font-family: var(--font);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0;
}

.menu-btn .bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.menu-btn .bars span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
}

/* ---------- Full-screen nav overlay ---------- */

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--black);
  color: var(--white);
  display: flex;
  flex-direction: column;
  transform: translateY(-100%);
  transition: transform 0.5s cubic-bezier(.76,0,.24,1);
}
.nav-overlay.open { transform: translateY(0); }

.nav-overlay-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px var(--gutter);
}

.nav-close {
  background: none;
  border: none;
  color: var(--white);
  font-family: var(--font);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
}

.nav-list {
  flex: 1;
  overflow-y: auto;
  padding: 10px var(--gutter) 40px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  column-gap: 48px;
}

.nav-list a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.14);
  font-size: clamp(22px, 3.4vw, 34px);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--white);
  transition: opacity 0.2s ease, padding-left 0.2s ease;
}
.nav-list a:hover { opacity: 1; color: var(--accent-soft); padding-left: 10px; }
.nav-list .num {
  font-size: 13px;
  color: var(--grey-400);
  margin-right: 14px;
  vertical-align: middle;
}
.nav-list a.current { color: var(--accent); }

@media (max-width: 720px) {
  .nav-list { grid-template-columns: 1fr; }
}

/* ---------- Hero (home, split layout) ---------- */

@keyframes heroZoom {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}

.hero {
  position: relative;
  background: var(--black);
  padding: 168px 0 72px;
  overflow: hidden;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; gap: 32px; }
}

.hero-frame {
  aspect-ratio: 2/3;
  overflow: hidden;
  background: var(--grey-900);
  border: 1px solid rgba(255,255,255,0.12);
  width: 100%;
  max-width: 380px;
  justify-self: end;
}
.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 14%;
  animation: heroZoom 10s ease-out forwards;
}
@media (max-width: 860px) {
  .hero-frame { max-width: 260px; justify-self: start; }
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-soft);
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero h1 {
  font-size: clamp(38px, 5.6vw, 76px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
  max-width: 14ch;
}

/* Line/word split for scroll/load reveal, applied at runtime by script.js */
.split-line { overflow: hidden; display: inline-block; }
.split-word { display: inline-block; will-change: transform; }

.hero p.lede {
  font-size: clamp(16px, 1.6vw, 20px);
  max-width: 54ch;
  color: var(--grey-200);
  margin: 0;
  font-weight: 300;
}

/* ---------- Sub-page header (replaces cropped photo banners) ---------- */

.subhead {
  padding: 168px 0 72px;
  background: var(--black);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.subhead .container {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 56px;
  align-items: end;
}
@media (max-width: 860px) {
  .subhead .container { grid-template-columns: 1fr; gap: 32px; }
}
.subhead h1 {
  font-size: clamp(34px, 5.6vw, 72px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0;
  max-width: 16ch;
}
.subhead .eyebrow { color: var(--accent-soft); }
.subhead .container { position: relative; z-index: 1; }

.subhead-dotmap {
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none; opacity: 0.85;
}
.subhead-dotmap svg { width: 100%; height: 100%; display: block; }
.dotmap-dot { fill: var(--grey-600); }
.dotmap-dot.accent { fill: var(--accent); }
.dotmap-ring {
  fill: none; stroke: var(--accent); stroke-width: 0.3; opacity: 0.7;
  animation: dotmapPing 3.6s ease-out infinite; transform-origin: center;
}
@keyframes dotmapPing {
  0% { r: 0.6; opacity: 0.7; }
  100% { r: 3.2; opacity: 0; }
}
@media (max-width: 760px) { .subhead-dotmap { opacity: 0.55; } }
@media (prefers-reduced-motion: reduce) { .dotmap-ring { animation: none; } }
.subhead[data-index]::before {
  content: attr(data-index);
  position: absolute;
  top: 50%; right: clamp(16px, 4vw, 48px);
  transform: translateY(-42%);
  font-size: clamp(140px, 22vw, 400px);
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.1);
  line-height: 1;
  letter-spacing: -0.04em;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}
.subhead-frame {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--grey-900);
  border: 1px solid rgba(255,255,255,0.12);
  justify-self: end;
  width: 100%;
  max-width: 320px;
}
.subhead-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transition: filter 0.6s ease, transform 0.6s ease;
}
.subhead-frame:hover img { filter: grayscale(0); transform: scale(1.03); }

@media (max-width: 860px) {
  .subhead-frame { max-width: 220px; justify-self: start; }
}

.subhead.text-only .container { grid-template-columns: 1fr; }

/* ---------- Sections ---------- */

section { padding: 96px 0; }
section.tight { padding: 56px 0; }
section.black { background: var(--black); color: var(--white); }
section.paper { background: var(--paper); }
section.white { background: var(--white); }

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 600;
  color: var(--grey-600);
  margin: 0 0 18px;
}
section.black .kicker { color: var(--grey-400); }

h2.section-title {
  font-size: clamp(30px, 4.6vw, 58px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.04;
  margin: 0 0 28px;
  max-width: 18ch;
}

.rule { border: none; border-top: 1px solid var(--line); margin: 0; }
section.black .rule { border-top: 1px solid rgba(255,255,255,0.16); }

.prose { max-width: 68ch; font-size: 18px; font-weight: 300; line-height: 1.75; }
.prose p { margin: 0 0 22px; }
.prose strong { font-weight: 600; }
.prose.lg { font-size: 21px; }

.two-col { display: grid; grid-template-columns: 1.1fr 1.4fr; gap: 64px; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 32px; } }

.list-plain { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 40px; }
.list-plain li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 16px; font-weight: 400; break-inside: avoid; }
section.black .list-plain li { border-bottom: 1px solid rgba(255,255,255,0.14); }
@media (max-width: 640px) { .list-plain { columns: 1; } }

.quote {
  font-size: clamp(24px, 3vw, 38px); font-weight: 500; letter-spacing: -0.01em; line-height: 1.3;
  max-width: 24ch; margin: 0; padding-left: 28px; border-left: 3px solid var(--accent);
}

.figure { margin: 0; }
.figure img { width: 100%; height: auto; }
.figure figcaption { font-size: 13px; color: var(--grey-600); margin-top: 12px; letter-spacing: 0.01em; }
section.black .figure figcaption { color: var(--grey-400); }

.photo-feature { aspect-ratio: 4/5; overflow: hidden; background: var(--grey-200); }
.photo-feature img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transition: filter 0.6s ease, transform 0.6s ease;
}
.photo-feature:hover img { filter: grayscale(0); transform: scale(1.03); }

.photo-wide { aspect-ratio: 16/9; overflow: hidden; background: var(--grey-200); }
.photo-wide img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transition: filter 0.6s ease, transform 0.6s ease;
}
.photo-wide:hover img { filter: grayscale(0); transform: scale(1.03); }

/* ---------- Grids ---------- */

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
section.black .grid-3 { background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.16); }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr; } }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 720px) { .grid-2 { grid-template-columns: 1fr; } }

.card { background: var(--paper); padding: 40px; transition: background 0.25s ease, transform 0.25s ease; }
section.white .card { background: var(--white); }
section.black .card { background: var(--black); }
a.card:hover { transform: translateY(-4px); background: var(--white); }

.card .card-num { font-size: 13px; color: var(--accent); letter-spacing: 0.1em; margin-bottom: 18px; display: block; font-weight: 600; }
.card h3 { font-size: 21px; font-weight: 600; margin: 0 0 12px; letter-spacing: -0.01em; }
.card p { font-size: 15px; font-weight: 300; color: var(--grey-600); margin: 0; line-height: 1.65; }
section.black .card p { color: var(--grey-400); }

/* ---------- Timeline rows ---------- */

.timeline-row { display: grid; grid-template-columns: 140px 1fr; gap: 40px; padding: 36px 0; border-top: 1px solid var(--line); }
.timeline-row:last-child { border-bottom: 1px solid var(--line); }
section.black .timeline-row, section.black .timeline-row:last-child { border-color: rgba(255,255,255,0.16); }

.timeline-row .year { font-size: 14px; letter-spacing: 0.08em; color: var(--accent); font-weight: 600; text-transform: uppercase; }
section.black .timeline-row .year { color: var(--grey-400); }
.timeline-row h4 { margin: 0 0 10px; font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.timeline-row p { margin: 0; font-size: 16px; font-weight: 300; color: var(--grey-600); max-width: 62ch; }
section.black .timeline-row p { color: var(--grey-400); }

@media (max-width: 640px) { .timeline-row { grid-template-columns: 1fr; gap: 10px; } }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 30px; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600;
  border: 1px solid var(--ink); background: var(--ink); color: var(--white); cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { background: transparent; color: var(--ink); }

.btn-outline { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }

section.black .btn { border-color: var(--white); background: var(--white); color: var(--black); }
section.black .btn:hover { background: transparent; color: var(--white); }
section.black .btn-outline { border-color: var(--white); color: var(--white); }
section.black .btn-outline:hover { background: var(--white); color: var(--black); }

.btn-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 8px; }

/* ---------- Book page ---------- */

.book-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 72px; align-items: start; }
@media (max-width: 860px) { .book-layout { grid-template-columns: 1fr; gap: 40px; } }

.book-cover {
  background: var(--grey-900); aspect-ratio: 2/3; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
}
.book-cover img { width: 100%; height: 100%; object-fit: cover; }

.theme-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0; }
.theme-tags span { border: 1px solid var(--line); padding: 8px 16px; font-size: 13px; letter-spacing: 0.04em; color: var(--grey-600); }

/* ---------- Contact form ---------- */

.form-grid { display: grid; gap: 24px; max-width: 640px; }
.field { display: flex; flex-direction: column; gap: 10px; }
.field label { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey-600); font-weight: 600; }
.field input, .field textarea, .field select {
  font-family: var(--font); font-size: 17px; padding: 14px 0; border: none; border-bottom: 1px solid var(--line);
  background: transparent; color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-bottom-color: var(--ink); }
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 13px; color: var(--grey-600); margin-top: 4px; }
.form-status { font-size: 14px; margin-top: 18px; display: none; }
.form-status.show { display: block; }

/* ---------- Footer ---------- */

.site-footer { background: var(--black); color: var(--white); padding: 72px 0 32px; }
.footer-top { display: grid; grid-template-columns: 1.2fr 0.8fr 0.8fr 0.8fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,0.14); }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr; gap: 32px; } }
.footer-top h5 { text-transform: uppercase; letter-spacing: 0.12em; font-size: 12px; color: var(--grey-400); margin: 0 0 20px; font-weight: 600; }
.footer-brand { font-size: 28px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 16px; }
.footer-top p { font-weight: 300; color: var(--grey-200); max-width: 42ch; margin: 0; }
.footer-links a, .footer-links div { display: block; padding: 8px 0; font-size: 15px; font-weight: 400; color: var(--grey-200); border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-links a { transition: color 0.2s ease, padding-left 0.2s ease; }
.footer-links a:hover { color: var(--accent-soft); padding-left: 6px; }
.footer-links button.footer-cookie-btn {
  display: block; width: 100%; text-align: left; background: none; border: none;
  border-bottom: 1px solid rgba(255,255,255,0.08); padding: 8px 0; margin: 0;
  font-family: inherit; font-size: 15px; font-weight: 400; color: var(--grey-200);
  cursor: pointer; transition: color 0.2s ease, padding-left 0.2s ease;
}
.footer-links button.footer-cookie-btn:hover { color: var(--accent-soft); padding-left: 6px; }

/* Legal / policy document pages */
.legal-doc { max-width: 74ch; }
.legal-doc .legal-updated { font-size: 15px; color: var(--grey-600); margin: 0 0 44px; }
.legal-doc h2 { font-size: 28px; font-weight: 600; margin: 52px 0 18px; letter-spacing: -0.01em; }
.legal-doc h2:first-of-type { margin-top: 0; }
.legal-doc h3 { font-size: 20px; font-weight: 600; margin: 32px 0 12px; }
.legal-doc p { font-weight: 300; line-height: 1.8; margin: 0 0 20px; font-size: 18px; }
.legal-doc ul, .legal-doc ol { font-weight: 300; line-height: 1.8; margin: 0 0 20px; padding-left: 24px; font-size: 18px; }
.legal-doc li { margin-bottom: 10px; }
@media (max-width: 640px) { .legal-doc h2 { font-size: 23px; } .legal-doc h3 { font-size: 18px; } .legal-doc p, .legal-doc ul, .legal-doc ol { font-size: 16.5px; } }
.legal-doc a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.legal-doc a:hover { text-decoration-color: var(--accent); }
.legal-doc strong { font-weight: 600; }

.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; font-size: 13px; color: var(--grey-400); flex-wrap: wrap; gap: 12px; }

/* ---------- Utility ---------- */

.mt-0 { margin-top: 0; }
.center { text-align: center; }
/* Content is visible by default. JS (GSAP, if it loads) opts elements
   into the hidden pre-reveal state so a failed script, slow connection
   or crawler never hides real content; see script.js. */
.reveal.pre { opacity: 0; transform: translateY(36px); clip-path: inset(0 0 100% 0); }

.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding: 56px 0; }
.cta-band h3 { font-size: clamp(24px, 3vw, 36px); font-weight: 600; letter-spacing: -0.01em; margin: 0; max-width: 20ch; }

.breadcrumb { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey-400); }
.breadcrumb a:hover { color: var(--white); }

/* ---------- Route map ---------- */

.map-wrap { position: relative; width: 100%; }
.map-wrap svg { width: 100%; height: auto; display: block; }
.map-land { fill: var(--grey-900); }
section.white .map-land, section.paper .map-land { fill: var(--grey-200); }

.map-route {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
  stroke-dasharray: 6 6;
  animation: dashFlow 2.4s linear infinite;
}
@keyframes dashFlow { to { stroke-dashoffset: -24; } }

.map-dot { fill: var(--accent); }
.map-dot-ring {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
  opacity: 0.6;
  animation: pingRing 2.4s ease-out infinite;
  transform-origin: center;
}
@keyframes pingRing {
  0% { r: 5; opacity: 0.7; }
  100% { r: 16; opacity: 0; }
}

.map-label {
  font-family: var(--font);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  fill: var(--white);
  font-weight: 600;
}
section.white .map-label, section.paper .map-label { fill: var(--ink); }
.map-label-sub { font-size: 9px; fill: var(--grey-400); text-transform: none; letter-spacing: 0.02em; }

/* ---------- Marquee ---------- */

.marquee {
  overflow: hidden;
  background: var(--black);
  color: var(--white);
  border-top: 1px solid rgba(255,255,255,0.15);
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding: 22px 0;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  animation: marqueeScroll 28s linear infinite;
  will-change: transform;
}
.marquee-track span {
  font-size: clamp(18px, 2.4vw, 34px);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  padding-right: 48px;
}
.marquee-track span::after { content: "\2022"; color: var(--accent); padding-left: 48px; }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- Press strip (logo marquee, flows opposite to the word marquee) ---------- */

.press { background: var(--black); padding: 44px 0 56px; overflow: hidden; }
.press-kicker {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--grey-400); margin: 0 0 28px;
}
.press-marquee { overflow: hidden; white-space: nowrap; }
.press-track {
  display: inline-flex;
  align-items: center;
  animation: marqueeScroll 36s linear infinite reverse;
  will-change: transform;
}
.press-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 88px;
  padding: 14px 34px;
  margin-right: 8px;
}
.press-chip img {
  max-height: 38px;
  max-width: 150px;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
  opacity: 0.85;
}
.press-chip-text {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--grey-200);
  white-space: nowrap;
}
@media (prefers-reduced-motion: reduce) { .press-track { animation: none; } }

/* ---------- Magnetic buttons ---------- */

[data-magnetic] { display: inline-flex; will-change: transform; }

/* ---------- Horizontal journey gallery (home) ----------
   A wheel-hijacked, scroll-snap horizontal rail. Deliberately NOT a
   pinned/fixed scrollytelling section: that pattern fought with fixed
   nav/cursor layers and produced blank regions during testing. This
   is the simpler, robust version of the same idea. */

.journey { background: var(--black); color: var(--white); padding: 100px 0 64px; }
.journey-track {
  display: flex;
  gap: 1px;
  overflow-x: auto;
  max-width: 100%;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 0 28px var(--gutter);
}
.journey-track::-webkit-scrollbar { display: none; }
.journey-slide {
  width: min(72vw, 420px);
  flex-shrink: 0;
  scroll-snap-align: start;
  min-height: 440px;
  padding: 40px clamp(24px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--grey-900);
  transition: background 0.25s ease;
}
a.journey-slide:hover { background: #262626; }
.journey-slide .card-num { color: var(--accent); font-size: 14px; letter-spacing: 0.1em; font-weight: 700; display: block; margin-bottom: 20px; }
.journey-slide h3 { font-size: clamp(24px, 2.6vw, 34px); font-weight: 700; letter-spacing: -0.02em; margin: 0 0 16px; }
.journey-slide p { font-size: 16px; font-weight: 300; color: var(--grey-400); line-height: 1.65; margin: 0 0 24px; }
.journey-slide .btn-outline { align-self: flex-start; border-color: rgba(255,255,255,0.4); color: var(--white); }
.journey-slide .btn-outline:hover { background: var(--white); color: var(--black); }
.journey-hint { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey-400); margin: 0 0 28px; padding: 0 var(--gutter); }

