/* =========================================================
   KHULULEKA — Zyle Clothing
   Editorial museum landing.
   Palette: Bone, Ink, Liberation red, Ochre, Veld green.
   ========================================================= */

:root {
  --bone: #F1EADC;
  --bone-2: #E7DECB;
  --ink: #0B0B0B;
  --ink-2: #1A1815;
  --red: #C9241F;
  --red-deep: #8E1410;
  --ochre: #C99043;
  --veld: #1F3B2D;
  --line: rgba(11, 11, 11, 0.14);
  --line-strong: rgba(11, 11, 11, 0.6);
  --muted: rgba(11, 11, 11, 0.62);

  --maxw: 1440px;
  --gutter: clamp(20px, 4vw, 56px);

  --font-display: "Archivo", "Helvetica Neue", sans-serif;
  --font-serif: "Instrument Serif", "Times New Roman", serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

/* Dark variant ------------------------------------------- */
html[data-theme="ink"] {
  --bone: #0E0D0B;
  --bone-2: #181612;
  --ink: #F1EADC;
  --ink-2: #E7DECB;
  --line: rgba(241, 234, 220, 0.16);
  --line-strong: rgba(241, 234, 220, 0.55);
  --muted: rgba(241, 234, 220, 0.66);
}

/* Reset --------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bone);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }

/* Selection */
::selection { background: var(--red); color: var(--bone); }

/* Utility ------------------------------------------------- */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.mono {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
}

.serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

.hr-chain {
  height: 16px;
  width: 100%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 16' fill='none' stroke='%230b0b0b' stroke-width='1.4'><circle cx='8' cy='8' r='5' /><circle cx='22' cy='8' r='5' /><line x1='34' y1='8' x2='38' y2='8' stroke-dasharray='2 2'/><circle cx='46' cy='8' r='5' /></svg>");
  background-repeat: repeat-x;
  background-position: left center;
  opacity: 0.45;
}
html[data-theme="ink"] .hr-chain {
  filter: invert(1);
}

/* =========================================================
   NAVIGATION
========================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bone) 86%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 64px;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.01em;
  font-size: 18px;
}
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: #000;
  border: 1px solid color-mix(in srgb, var(--ink) 18%, transparent);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  transform: scale(1.15);
  display: block;
}
.brand:hover .brand-mark {
  transform: rotate(-6deg);
  border-color: var(--red);
}
.brand-mark svg { width: 14px; height: 14px; }

.chapter-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}
.chapter-pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--red) 25%, transparent);
}
.chapter-pill .chapter-name { font-weight: 600; }

.nav-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 18px;
}
.nav-links {
  display: flex;
  gap: 22px;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  position: relative;
}
.nav-links a:hover::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1.5px;
  background: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: -0.005em;
  transition: transform .2s ease, background .2s ease, color .2s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary { background: var(--ink); color: var(--bone); }
.btn-primary:hover { background: var(--red); transform: translateY(-1px); }
.btn-ghost { border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.btn-red { background: var(--red); color: var(--bone); }
.btn-red:hover { background: var(--ink); }

/* =========================================================
   HERO
========================================================= */
.hero {
  position: relative;
  padding: clamp(28px, 5vw, 56px) 0 clamp(60px, 8vw, 96px);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: stretch;
  min-height: min(78vh, 820px);
}
.hero-grid > div:first-child {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* Eyebrow row */
.hero-eyebrow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(28px, 4vw, 48px);
  flex-wrap: wrap;
  row-gap: 10px;
}
.hero-eyebrow .label { display: inline-flex; gap: 16px; align-items: center; flex-wrap: wrap; row-gap: 6px; }
.hero-eyebrow .sep { width: 24px; height: 1px; background: var(--line-strong); }

/* Big editorial wordmark */
.wordmark {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.86;
  font-size: clamp(56px, 13vw, 232px);
  font-stretch: 75%;
  color: var(--ink);
  margin: 0;
  text-transform: lowercase;
  /* belt-and-braces: if the longest word ("storytelling") still threatens to
     overflow at floor sizes, shrink to fit rather than blow the layout */
  overflow-wrap: break-word;
}
.wordmark .l-red { color: var(--red); }
.wordmark .dot { color: var(--red); }
.wordmark .stack {
  display: block;
}
.wordmark .row {
  display: flex;
  align-items: baseline;
  gap: 0.04em;
}

/* Strike-through breaking chain effect on first row */
.wordmark .chains {
  position: relative;
  display: inline-block;
}
.wordmark .chains::after {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  top: 52%;
  height: 6px;
  background:
    linear-gradient(90deg, var(--ink) 0 46%, transparent 46% 54%, var(--ink) 54% 100%);
  opacity: 0.0; /* hidden by default; toggled via .show-chain */
  transform: scaleX(0.0);
  transform-origin: center;
  transition: transform .9s cubic-bezier(.2,.7,.2,1), opacity .4s ease;
}
html.show-chain .wordmark .chains::after {
  opacity: 0.85;
  transform: scaleX(1);
}

/* Translation strap */
.translation {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  margin-top: 18px;
  margin-bottom: 28px;
}
.translation .free {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
}
.translation .rule {
  height: 1px;
  background: var(--line-strong);
}
.translation .meta { text-align: right; }

/* Body copy column */
.hero-copy {
  max-width: 460px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
}
.hero-copy strong { color: var(--ink); font-weight: 600; }

.hero-ctas { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }

/* Right column: portrait card */
.portrait {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--ink);
  border-radius: 4px;
  overflow: hidden;
  isolation: isolate;
}
.portrait image-slot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.portrait .ticket {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  color: var(--bone);
  z-index: 2;
  mix-blend-mode: difference;
}
.portrait .ticket-foot {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  color: var(--bone);
}
.portrait .ticket-foot .piece {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1;
}
.portrait .ticket-foot .piece small {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  font-weight: 500;
  margin-top: 8px;
  opacity: 0.8;
}
.portrait .ticket-foot .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 56px;
  letter-spacing: -0.04em;
  line-height: 0.8;
}

/* Triangle motif under portrait */
.apex-tag {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.apex-tag svg { width: 22px; height: 22px; }

/* Hero side rails */
.rail {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
}
.rail-l { left: var(--gutter); }
.rail-r { right: var(--gutter); }

/* =========================================================
   MARQUEE TICKER
========================================================= */
.ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink);
  color: var(--bone);
  overflow: hidden;
  position: relative;
}
.ticker-track {
  display: flex;
  gap: 48px;
  padding: 18px 0;
  width: max-content;
  animation: ticker 38s linear infinite;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 4vw, 56px);
  letter-spacing: -0.03em;
  text-transform: lowercase;
  white-space: nowrap;
}
.ticker-track .sep {
  display: inline-flex;
  align-items: center;
  color: var(--red);
}
.ticker-track span { display: inline-flex; align-items: center; gap: 48px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* =========================================================
   FOUNDER SECTION — portrait + voice
   (Section .lineage used to host three thinkers; lineage was
   removed and the class was repurposed for the founder section.
   Renamed to .founder-section for honesty.)
========================================================= */
.founder-section {
  position: relative;
  padding: clamp(80px, 10vw, 140px) 0;
}
.section-head {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: end;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 56px;
}
.section-head .num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 80%;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin: 6px 0 0;
  text-wrap: pretty;
  max-width: 18ch;
}
.section-head .lede {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(20px, 1.6vw, 26px);
  line-height: 1.25;
  color: var(--ink);
  text-wrap: pretty;
  max-width: 36ch;
  justify-self: end;
}

.triangle-stage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.thinker {
  position: relative;
  display: flex;
  flex-direction: column;
}
.thinker .photo {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--bone-2);
  overflow: hidden;
  border: 1px solid var(--line);
}
.thinker .photo image-slot { position: absolute; inset: 0; width:100%; height:100%; }
.thinker .photo .corner {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--bone);
  padding: 4px 8px;
}
.thinker .name {
  margin-top: 18px;
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 80%;
  font-size: clamp(24px, 2.4vw, 34px);
  letter-spacing: -0.025em;
  line-height: 1;
}
.thinker .years {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
}
.thinker .quote {
  margin-top: 16px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 19px;
  line-height: 1.3;
  color: var(--ink);
  border-left: 2px solid var(--red);
  padding-left: 14px;
  text-wrap: pretty;
}
.thinker .quote cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Apex thinker - middle, raised */
.thinker.apex { transform: translateY(-48px); }
.thinker.apex .photo { border-color: var(--ink); }
.thinker.apex .name::after {
  content: "▲ apex";
  display: inline-block;
  margin-left: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  vertical-align: middle;
  color: var(--red);
}

/* Triangle SVG decorative behind */
.triangle-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.5;
}

/* =========================================================
   MANIFESTO
========================================================= */
.manifesto {
  background: var(--ink);
  color: var(--bone);
  padding: clamp(80px, 10vw, 140px) 0;
  position: relative;
}
.manifesto-h {
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 75%;
  font-size: clamp(40px, 7vw, 120px);
  letter-spacing: -0.04em;
  line-height: 0.92;
  margin: 0;
  text-transform: lowercase;
  text-wrap: balance;
  max-width: 14ch;
}
.manifesto-h em {
  font-style: normal;
  color: var(--ochre);
}
.manifesto-h .ru { color: var(--red); }
.manifesto-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.manifesto-side {
  border-top: 1px solid rgba(241, 234, 220, 0.2);
  padding-top: 24px;
}
.manifesto-side p {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(241, 234, 220, 0.78);
  margin: 0 0 16px;
}
.manifesto-side .signed {
  margin-top: 32px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  color: var(--bone);
}

/* Apex symbol */
.apex-mark {
  position: absolute;
  top: 50%;
  right: var(--gutter);
  transform: translateY(-50%);
  opacity: 0.07;
  pointer-events: none;
}
.apex-mark svg { width: clamp(280px, 30vw, 460px); height: auto; }

/* =========================================================
   COLLECTION — red-lit gallery atmosphere
========================================================= */
.collection {
  position: relative;
  padding: clamp(80px, 10vw, 140px) 0;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(800px 540px at 84% 10%, color-mix(in srgb, var(--red) 14%, transparent), transparent 60%),
    radial-gradient(720px 600px at 12% 48%, color-mix(in srgb, var(--red) 8%, transparent), transparent 60%),
    radial-gradient(880px 600px at 76% 90%, color-mix(in srgb, var(--red) 12%, transparent), transparent 60%);
}
.collection > .wrap { position: relative; z-index: 2; }

/* gallery entry mark — thin red rule at the top centre */
.collection-mark {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 1px;
  background: var(--red);
  z-index: 1;
  opacity: 0.7;
  box-shadow: 0 0 24px color-mix(in srgb, var(--red) 50%, transparent);
}

/* Apex triangles — top-left peak rising in, bottom-right peak descending out */
.collection-apex {
  position: absolute;
  width: clamp(280px, 26vw, 460px);
  height: auto;
  color: var(--red);
  opacity: 0.14;
  pointer-events: none;
  z-index: 1;
  filter: drop-shadow(0 0 60px color-mix(in srgb, var(--red) 22%, transparent));
}
.collection-apex-tl {
  top: 32px;
  left: -3%;
}
.collection-apex-br {
  bottom: 32px;
  right: -3%;
}
.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 2.6vw, 40px) clamp(20px, 2vw, 28px);
}
.piece {
  position: relative;
  background: transparent;
  overflow: visible;
  display: flex;
  flex-direction: column;
}
.piece .swatch {
  position: relative;
  background: var(--bone-2);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.piece:hover .swatch { transform: translateY(-4px); }
.piece .swatch img,
.piece .swatch image-slot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.piece:hover .swatch img { transform: scale(1.04); }

/* uniform — flatten the editorial offset rules */
.piece-1, .piece-2, .piece-3, .piece-4, .piece-5, .piece-6 {
  grid-column: auto;
  margin-top: 0;
}
.piece-1 .swatch,
.piece-2 .swatch,
.piece-3 .swatch,
.piece-4 .swatch,
.piece-5 .swatch,
.piece-6 .swatch {
  aspect-ratio: 4 / 5;
}

.piece-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 14px 4px 0;
  gap: 16px;
}
.piece-meta .name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.piece-meta .name small {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 4px;
}
.piece-meta .price {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.piece-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bone);
  color: var(--ink);
  padding: 6px 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
}
.piece-tag .d { width: 5px; height: 5px; border-radius: 50%; background: var(--red); }

/* =========================================================
   NOW SHOWING
========================================================= */
.showing {
  position: relative;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(720px 500px at 82% 22%, color-mix(in srgb, var(--red) 22%, transparent), transparent 62%),
    radial-gradient(560px 420px at 18% 88%, color-mix(in srgb, var(--red) 12%, transparent), transparent 62%),
    radial-gradient(900px 700px at 50% 50%, color-mix(in srgb, var(--red) 5%, transparent), transparent 70%),
    var(--bone);
  padding: clamp(80px, 10vw, 140px) 0;
  overflow: hidden;
  isolation: isolate;
}
.showing > .wrap { position: relative; z-index: 2; }

/* Apex triangle — three concentric peaks, ghosting through the right side */
.showing-apex {
  position: absolute;
  top: 50%;
  right: -4%;
  transform: translateY(-50%);
  width: clamp(420px, 48vw, 720px);
  height: auto;
  color: var(--red);
  opacity: 0.22;
  pointer-events: none;
  z-index: 1;
  filter: drop-shadow(0 0 80px color-mix(in srgb, var(--red) 18%, transparent));
}

/* A thin red architectural rule running vertically — like a museum tracking light */
.showing-bar {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 38%;
  width: 1px;
  background: linear-gradient(to bottom,
    transparent 0%,
    color-mix(in srgb, var(--red) 60%, transparent) 30%,
    color-mix(in srgb, var(--red) 60%, transparent) 70%,
    transparent 100%);
  z-index: 1;
  pointer-events: none;
  opacity: 0.4;
}

/* Live indicator — pulsing red dot */
@keyframes showing-pulse {
  0%, 100% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--red) 22%, transparent); }
  50%      { box-shadow: 0 0 0 9px color-mix(in srgb, var(--red) 8%, transparent); }
}
.live-dot {
  animation: showing-pulse 2.4s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .live-dot {
    animation: none;
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--red) 22%, transparent);
  }
}
.show-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.showing-h {
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 75%;
  font-size: clamp(48px, 8vw, 132px);
  letter-spacing: -0.04em;
  line-height: 0.88;
  margin: 0;
  text-transform: lowercase;
}
.showing-h em {
  font-style: normal;
  color: var(--red);
}
.show-info {
  display: grid;
  gap: 22px;
}
.show-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  align-items: baseline;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.show-row dt { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.show-row dd { margin: 0; font-size: 19px; font-weight: 500; line-height: 1.2; }
.show-row dd small { display: block; margin-top: 4px; color: var(--muted); font-weight: 400; font-size: 14px; }

/* =========================================================
   FOOTER
========================================================= */
.foot {
  background: var(--ink);
  color: var(--bone);
  padding: clamp(60px, 8vw, 96px) 0 32px;
}
.foot-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(241, 234, 220, 0.18);
}
.foot-h {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(241, 234, 220, 0.55);
  margin: 0 0 16px;
  font-weight: 500;
}
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot ul a { font-size: 15px; }
.foot ul a:hover { color: var(--red); }
.foot-brand {
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 75%;
  font-size: clamp(64px, 10vw, 160px);
  letter-spacing: -0.04em;
  line-height: 0.85;
  text-transform: lowercase;
  margin: 0;
}
.foot-brand em {
  font-style: normal;
  color: var(--ochre);
}
.foot-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(241, 234, 220, 0.55);
}

/* =========================================================
   FLOATING CONTACT
========================================================= */
.float-contact {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--bone);
  border-radius: 999px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.18);
  font-weight: 600;
  font-size: 14px;
  transition: transform .2s ease, background .2s ease;
}
.float-contact:hover { transform: translateY(-2px); background: var(--red); }
.float-contact .d { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74,222,128,0.25); }

/* =========================================================
   RESPONSIVE — standardised breakpoints
   1100 / 980 / 720 / 480
========================================================= */
@media (max-width: 980px) {
  .nav-inner { grid-template-columns: 1fr auto; gap: 12px; }
  .nav-right .nav-links { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .portrait { max-width: 460px; }
  .section-head { grid-template-columns: 1fr; gap: 16px; }
  .section-head .lede { justify-self: start; }
  .triangle-stage { grid-template-columns: 1fr; }
  .thinker.apex { transform: none; }
  .manifesto-grid { grid-template-columns: 1fr; }
  .show-grid { grid-template-columns: 1fr; }
  .collection-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .collection-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   FOUNDER VOICE — additional section
========================================================= */
.founder-voice {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.45;
  letter-spacing: -0.005em;
  color: var(--ink);
  max-width: 38ch;
  margin: 0;
}
.founder-voice em {
  font-style: italic;
  display: block;
}
.founder-voice .copper-accent {
  color: var(--red);
}
.founder-attr {
  margin-top: 36px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 10px 18px 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}
.founder-attr .sep-line {
  width: 1px;
  height: 14px;
  background: var(--line);
}
.founder-attr .muted {
  color: var(--muted);
  font-weight: 400;
}

/* =========================================================
   PHOTO PLACEHOLDERS — for thinker photos pending sourcing
========================================================= */
.photo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--bone-2);
  color: var(--muted);
}
.photo-placeholder .ini {
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 75%;
  font-size: clamp(56px, 8vw, 96px);
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1;
  opacity: 0.32;
}
.photo-placeholder .mono {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.6;
}
html[data-theme="ink"] .photo-placeholder { background: rgba(241, 234, 220, 0.04); }

/* Tweak: smaller brand chapter list copy */
.foot ul a small {
  display: inline-block;
  margin-left: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
}

/* =========================================================
   DARK SITE — full dark mode
   Overrides for elements that hardcoded their own cream/dark
   inversion. Under ink theme the whole page stays dark.
========================================================= */
html[data-theme="ink"] {
  --bone-deep: #050402;
}

/* selection */
html[data-theme="ink"] ::selection {
  background: var(--red);
  color: var(--ink);
}

/* the three inversion sections — keep them dark (use a deeper shade for rhythm) */
html[data-theme="ink"] .ticker {
  background: var(--bone-deep);
  color: var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
html[data-theme="ink"] .manifesto {
  background: var(--bone-deep);
  color: var(--ink);
}
html[data-theme="ink"] .foot {
  background: var(--bone-deep);
  color: var(--ink);
}

/* manifesto inner — signed line needs cream */
html[data-theme="ink"] .manifesto-side .signed {
  color: var(--ink);
}
html[data-theme="ink"] .manifesto-side {
  border-top: 1px solid rgba(241, 234, 220, 0.2);
}
html[data-theme="ink"] .manifesto-side p {
  color: rgba(241, 234, 220, 0.78);
}

/* footer — brand needs cream, h4 already cream-rgba */
html[data-theme="ink"] .foot-brand {
  color: var(--ink);
}
html[data-theme="ink"] .foot h4 {
  color: rgba(241, 234, 220, 0.55);
}
html[data-theme="ink"] .foot-top {
  border-bottom: 1px solid rgba(241, 234, 220, 0.18);
}
html[data-theme="ink"] .foot-bottom {
  color: rgba(241, 234, 220, 0.55);
}

/* hero portrait — bg dark; ticket text cream */
html[data-theme="ink"] .portrait {
  background: var(--bone-2);
}
html[data-theme="ink"] .portrait .ticket,
html[data-theme="ink"] .portrait .ticket-foot {
  color: var(--ink);
}

/* buttons */
html[data-theme="ink"] .btn-primary {
  background: var(--ink);
  color: var(--bone);
}
html[data-theme="ink"] .btn-primary:hover {
  background: var(--red);
  color: var(--ink);
}
html[data-theme="ink"] .btn-ghost {
  border-color: var(--line-strong);
  color: var(--ink);
}
html[data-theme="ink"] .btn-ghost:hover {
  background: var(--ink);
  color: var(--bone);
  border-color: var(--ink);
}
html[data-theme="ink"] .btn-red {
  background: var(--red);
  color: var(--ink);
}
html[data-theme="ink"] .btn-red:hover {
  background: var(--ink);
  color: var(--bone);
}

/* thinker photo corner tag — dark bg, cream text */
html[data-theme="ink"] .thinker .photo .corner {
  background: var(--bone-deep);
  color: var(--ink);
  border: 1px solid var(--line);
}

/* collection swatch — keep dark behind images so they don't flash cream */
html[data-theme="ink"] .piece .swatch {
  background: var(--bone-2);
}

/* float contact pill — dark with cream text; red on hover */
html[data-theme="ink"] .float-contact {
  background: var(--bone-2);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}
html[data-theme="ink"] .float-contact:hover {
  background: var(--red);
  color: var(--ink);
  border-color: var(--red);
}

/* nav — backdrop blur over dark */
html[data-theme="ink"] .nav {
  background: color-mix(in srgb, var(--bone) 78%, transparent);
}

/* now-showing — red layered atmosphere amplified on dark */
html[data-theme="ink"] .showing {
  background:
    radial-gradient(720px 500px at 82% 22%, color-mix(in srgb, var(--red) 32%, transparent), transparent 62%),
    radial-gradient(560px 420px at 18% 88%, color-mix(in srgb, var(--red) 16%, transparent), transparent 62%),
    radial-gradient(900px 700px at 50% 50%, color-mix(in srgb, var(--red) 7%, transparent), transparent 70%),
    var(--bone);
}
html[data-theme="ink"] .showing-apex {
  opacity: 0.32;
  filter: drop-shadow(0 0 100px color-mix(in srgb, var(--red) 35%, transparent));
}
html[data-theme="ink"] .showing-bar {
  opacity: 0.55;
}

/* Collection — red-lit gallery atmosphere amplified on dark */
html[data-theme="ink"] .collection {
  background:
    radial-gradient(800px 540px at 84% 10%, color-mix(in srgb, var(--red) 22%, transparent), transparent 60%),
    radial-gradient(720px 600px at 12% 48%, color-mix(in srgb, var(--red) 12%, transparent), transparent 60%),
    radial-gradient(880px 600px at 76% 90%, color-mix(in srgb, var(--red) 18%, transparent), transparent 60%),
    var(--bone);
}
html[data-theme="ink"] .collection-apex {
  opacity: 0.20;
  filter: drop-shadow(0 0 80px color-mix(in srgb, var(--red) 32%, transparent));
}
html[data-theme="ink"] .collection-mark {
  opacity: 0.85;
  box-shadow: 0 0 32px color-mix(in srgb, var(--red) 70%, transparent);
}

/* founder voice — paragraph spacing for stanza breaks */
.founder-voice p {
  margin: 0 0 1.1em;
}
.founder-voice p:last-child {
  margin-bottom: 0;
}

/* =========================================================
   FOUNDER LAYOUT — portrait + voice, two-column editorial
========================================================= */
.founder-layout {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}

.founder-figure {
  margin: 0;
  position: relative;
}

.founder-portrait-frame {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--bone-2);
  overflow: hidden;
  border: 1px solid var(--line);
}
html[data-theme="ink"] .founder-portrait-frame {
  background: var(--bone-2);
  border-color: var(--line);
}
.founder-portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
}
.founder-corner-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
}
html[data-theme="ink"] .founder-corner-tag {
  background: var(--bone-deep, #050402);
  color: var(--ink);
  border: 1px solid var(--line-strong);
}

.founder-portrait-caption {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.founder-portrait-caption .fname {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 80%;
  font-size: clamp(24px, 2.4vw, 34px);
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--ink);
}
.founder-portrait-caption .frole {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.founder-portrait-caption .floc {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
  opacity: 0.75;
}

/* the voice column reset — let the stanzas flow */
.founder-layout .founder-voice {
  max-width: 44ch;
  margin: 0;
  padding-top: 8px;
}

/* (Founder layout collapse handled at 980px below, aligned with the rest of the page) */

/* =========================================================
   FOOTER LOGO — paired with the typographic foot-brand
========================================================= */
.foot-brand-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.foot-logo {
  width: clamp(72px, 8vw, 104px);
  height: auto;
  border-radius: 8px;
  background: transparent;
  filter: drop-shadow(0 4px 20px rgba(201, 36, 31, 0.18));
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.4s ease;
}
.foot-logo:hover {
  transform: rotate(-4deg) scale(1.04);
  filter: drop-shadow(0 6px 28px rgba(201, 36, 31, 0.32));
}

/* on dark: lift logo with a faint red glow ambient */
html[data-theme="ink"] .foot-logo {
  filter: drop-shadow(0 4px 24px rgba(201, 36, 31, 0.28));
}

@media (max-width: 980px) {
  .foot-brand-block { grid-column: 1 / -1; }
}

/* =========================================================
   ACCESSIBILITY — focus states (WCAG 2.1 AA 2.4.7)
========================================================= */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 2px;
}
.btn:focus-visible,
.pill:focus-visible,
.float-contact:focus-visible {
  outline-offset: 4px;
  border-radius: 999px;
}
.piece a:focus-visible,
.piece:focus-within { outline: none; }
.piece:focus-within .swatch {
  outline: 2px solid var(--red);
  outline-offset: 4px;
}

/* Smooth-scroll for anchor jumps */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Footer chapter list — refactored from inline opacity styles */
.foot ul a .chapter-meta {
  display: inline-block;
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0.55;
}
.foot ul a.chapter-current {
  color: var(--red);
  font-weight: 600;
}
.foot ul a.chapter-current .chapter-meta {
  opacity: 0.75;
  color: var(--red);
}

/* hide the dark-theme override for the old h4 selector — already handled via .foot-h */
html[data-theme="ink"] .foot-h {
  color: rgba(241, 234, 220, 0.55);
}

/* =========================================================
   PASS 1 RESPONSIVE TIGHTENING
========================================================= */

/* The vertical red tracking bar in Now Showing slices through the
   collapsed headline at tablet widths — hide under 980px */
@media (max-width: 980px) {
  .showing-bar { display: none; }
}

/* Founder layout breakpoint was 920px — out of sync with the 980px
   the rest of the page collapses at. Align them. */
@media (max-width: 980px) {
  .founder-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .founder-figure {
    max-width: 460px;
  }
  .founder-layout .founder-voice {
    max-width: none;
  }
}

/* Collection mark shouldn't read as a banner on narrow viewports */
@media (max-width: 720px) {
  .collection-mark { display: none; }
}

/* Add a tablet breakpoint for the collection grid — current behaviour
   collapses 3→2 at 980px then 2→1 at 560px. Keep 2 columns across
   the tablet range and only collapse to 1 at very small viewports */
@media (max-width: 480px) {
  .collection-grid { grid-template-columns: 1fr; }
}

/* Foot-bottom should wrap cleanly on narrow viewports rather than
   crowding the two mono strings against each other */
.foot-bottom {
  flex-wrap: wrap;
  row-gap: 12px;
}

/* =========================================================
   § 03 — REFERENCES · five cultural anchors
========================================================= */
.references {
  position: relative;
  padding: clamp(80px, 10vw, 140px) 0;
  overflow: hidden;
}
.references-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(16px, 1.6vw, 24px);
  margin-bottom: clamp(40px, 5vw, 64px);
}
.reference-card {
  position: relative;
  background: var(--bone-2);
  border: 1px solid var(--line);
  border-top: 2px solid var(--ochre);
  padding: clamp(20px, 1.8vw, 28px) clamp(18px, 1.6vw, 24px);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s;
}
.reference-card:hover {
  transform: translateY(-4px);
  border-top-color: var(--red);
}
.reference-card .ref-eyebrow {
  color: var(--ochre);
  margin-bottom: 14px;
  font-size: 10px;
  letter-spacing: 0.22em;
}
.reference-card .ref-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 75%;
  font-size: clamp(24px, 2.4vw, 32px);
  letter-spacing: -0.025em;
  line-height: 1.04;
  margin: 0 0 18px;
  color: var(--ink);
  text-transform: lowercase;
}
.reference-card .ref-body {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 18px;
  flex: 1;
}
.reference-card .ref-when {
  margin-top: auto;
  font-size: 9.5px;
  letter-spacing: 0.18em;
  color: var(--muted);
  opacity: 0.7;
}

.ref-promise {
  text-align: center;
  padding: clamp(24px, 3vw, 36px) clamp(20px, 4vw, 56px);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.3;
  color: var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.ref-promise strong {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 800;
  font-stretch: 75%;
  color: var(--red);
}
.ref-promise-mark {
  display: inline-block;
  margin-right: 12px;
  color: var(--ochre);
  font-style: normal;
  transform: rotate(45deg) translateY(-2px);
  font-size: 0.7em;
  vertical-align: middle;
}

/* =========================================================
   § 05 — CHAPTERS · documented body of work
========================================================= */
.chapters {
  position: relative;
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--bone-deep, #050402);
  overflow: hidden;
}
html[data-theme="ink"] .chapters {
  background: var(--bone-deep, #050402);
}
.chapters .section-head .num,
.chapters .section-head h2,
.chapters .section-head .lede {
  color: var(--ink);
}
html[data-theme="ink"] .chapters .section-head .lede {
  color: var(--ink);
  opacity: 0.85;
}
.chapters-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 2.4vw, 36px);
}
.chapter-block {
  position: relative;
  padding: clamp(28px, 3vw, 44px) clamp(24px, 2.6vw, 36px);
  border: 1px solid var(--line);
  background: rgba(241, 234, 220, 0.02);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.3s, transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.chapter-block:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
}
.chapter-block .chapter-num {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ochre);
  font-size: 11px;
  letter-spacing: 0.22em;
}
.chapter-block.chapter-current .chapter-num {
  color: var(--red);
}
.chapter-block .chapter-num .live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--red);
  display: inline-block;
  vertical-align: middle;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--red) 22%, transparent);
  animation: showing-pulse 2.4s ease-in-out infinite;
}
.chapter-block .chapter-dates {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.18em;
}
.chapter-block .chapter-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 75%;
  font-size: clamp(32px, 3.6vw, 52px);
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 8px 0;
  color: var(--ink);
  text-transform: lowercase;
}
.chapter-block.chapter-current .chapter-name {
  color: var(--red);
}
.chapter-block .chapter-descriptor {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}
.chapter-block .chapter-count {
  margin-top: 16px;
  color: var(--ochre);
  font-size: 10px;
  letter-spacing: 0.22em;
  opacity: 0.85;
}

/* =========================================================
   § 06 — KHULULEKA · the current chapter card
   Inherits the red atmosphere from old .showing patterns,
   but at a lower intensity (chapter card, not climax).
========================================================= */
.khululeka-section {
  position: relative;
  padding: clamp(80px, 10vw, 140px) 0;
  background:
    radial-gradient(640px 480px at 84% 14%, color-mix(in srgb, var(--red) 20%, transparent), transparent 62%),
    radial-gradient(500px 400px at 18% 86%, color-mix(in srgb, var(--red) 10%, transparent), transparent 62%),
    var(--bone);
  overflow: hidden;
  isolation: isolate;
}
.khululeka-section > .wrap { position: relative; z-index: 2; }
html[data-theme="ink"] .khululeka-section {
  background:
    radial-gradient(680px 500px at 84% 14%, color-mix(in srgb, var(--red) 26%, transparent), transparent 62%),
    radial-gradient(520px 400px at 18% 86%, color-mix(in srgb, var(--red) 14%, transparent), transparent 62%),
    var(--bone);
}
.khululeka-section .showing-apex {
  opacity: 0.18;
}
html[data-theme="ink"] .khululeka-section .showing-apex {
  opacity: 0.24;
}

.khululeka-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(40px, 4.5vw, 80px);
  align-items: start;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.khululeka-text p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 22px;
  max-width: 56ch;
}
.khululeka-text p:last-of-type { margin-bottom: 0; }

.philosophy-chips {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.phil-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(241, 234, 220, 0.04);
}

.khululeka-figure {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bone-2);
}
.khululeka-figure img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.khululeka-figcap {
  position: absolute;
  bottom: 16px; left: 16px; right: 16px;
  background: rgba(10, 9, 8, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(241, 234, 220, 0.10);
  padding: 14px 18px;
}
.khululeka-figcap strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 75%;
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
  text-transform: lowercase;
  margin-bottom: 6px;
}
.khululeka-figcap span {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(241, 234, 220, 0.6);
}

/* APEX callout — embedded inside the Khululeka chapter, not a standalone section */
.apex-callout {
  padding: clamp(28px, 3.2vw, 48px) clamp(28px, 3vw, 44px);
  background: var(--bone-deep, #050402);
  border: 1px solid var(--line);
  position: relative;
}
.apex-callout .callout-header {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--red);
}
.apex-callout .callout-header .mono {
  color: var(--red);
  font-size: 10px;
  letter-spacing: 0.24em;
}
.apex-callout .callout-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(24px, 3vw, 48px);
  align-items: end;
}
.apex-callout .callout-h {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 75%;
  font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--ink);
  margin: 0 0 12px;
  text-transform: lowercase;
}
.apex-callout .callout-sub {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
  max-width: 60ch;
}
.apex-callout .callout-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

/* =========================================================
   § 07 — STUDIO · where to find the work
========================================================= */
.studio-section {
  position: relative;
  padding: clamp(80px, 10vw, 140px) 0;
  overflow: hidden;
}
.venues-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 2.4vw, 36px);
}
.venue-card {
  padding: clamp(32px, 3.6vw, 52px) clamp(28px, 3vw, 40px);
  border: 1px solid var(--line);
  background: rgba(241, 234, 220, 0.02);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.3s, transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.venue-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
}
.venue-card.venue-current {
  border-color: color-mix(in srgb, var(--red) 40%, var(--line));
}
.venue-card.venue-current:hover {
  border-color: var(--red);
}
.venue-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ochre);
  font-size: 11px;
  letter-spacing: 0.22em;
}
.venue-current .venue-eyebrow {
  color: var(--red);
}
.venue-eyebrow .live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--red);
  display: inline-block;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--red) 22%, transparent);
  animation: showing-pulse 2.4s ease-in-out infinite;
}
.venue-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 75%;
  font-size: clamp(40px, 4.6vw, 72px);
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin: 0;
  color: var(--ink);
  text-transform: lowercase;
}
.venue-current .venue-name {
  color: var(--red);
}
.venue-detail {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}
.venue-cta {
  margin-top: 12px;
  align-self: flex-start;
}

/* =========================================================
   RESPONSIVE OVERRIDES FOR NEW SECTIONS
========================================================= */
@media (max-width: 1100px) {
  .references-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .reference-card:nth-child(4),
  .reference-card:nth-child(5) {
    grid-column: span 1;
  }
  .khululeka-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .apex-callout .callout-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .chapters-grid,
  .venues-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .references-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .references-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   HERO IMAGE — full-height editorial portrait
   Replaces the constrained .portrait frame for the hero only.
========================================================= */
.hero-image {
  position: relative;
  margin: 0;
  height: 100%;
  min-height: 70vh;
  overflow: hidden;
  background: var(--bone-2);
  align-self: stretch;
}
.hero-image img,
.hero-image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  display: block;
}
/* Video specific — matches the image's behaviour, no chrome */
.hero-image video {
  pointer-events: none;
  background: var(--bone-2);
}
@media (prefers-reduced-motion: reduce) {
  /* Honour user motion preferences — pause the loop, hold the poster */
  .hero-image video {
    animation: none !important;
  }
  .hero-image video:not([data-allow-motion]) {
    display: none;
  }
}

/* Single museum-style label — bottom-left, restrained, no chrome stack */
.hero-image-label {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: calc(100% - 40px);
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 18px;
  background: rgba(10, 9, 8, 0.62);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(241, 234, 220, 0.12);
  color: var(--ink);
}
.hero-image-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 75%;
  font-size: 40px;
  letter-spacing: -0.04em;
  line-height: 0.85;
  color: var(--red);
  flex-shrink: 0;
}
.hero-image-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.hero-image-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.015em;
  line-height: 1.1;
  color: var(--ink);
  text-transform: lowercase;
}
.hero-image-sub {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(241, 234, 220, 0.65);
  text-transform: uppercase;
}

/* Responsive — stack image below text on tablet and below */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 40px;
  }
  .hero-image {
    height: auto;
    aspect-ratio: 4 / 5;
    max-width: 560px;
    width: 100%;
    margin: 0 auto;
    min-height: 0;
  }
}
@media (max-width: 480px) {
  .hero-image-label {
    bottom: 12px;
    left: 12px;
    right: 12px;
    padding: 10px 12px;
    gap: 12px;
    max-width: calc(100% - 24px);
  }
  .hero-image-num {
    font-size: 28px;
  }
  .hero-image-name {
    font-size: 13px;
  }
  .hero-image-sub {
    font-size: 9px;
    letter-spacing: 0.16em;
  }
}

/* =========================================================
   § 07 — MOMENT · the 2022 Wakanda Forever premiere
   Quieter than Khululeka. Archival, museum-grid feel.
   No new red atmosphere. Hairline borders. Ochre eyebrow.
========================================================= */
.moment-section {
  position: relative;
  padding: clamp(80px, 10vw, 140px) 0;
  border-top: 1px solid var(--line);
}

.moment-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: clamp(16px, 1.8vw, 28px);
  align-items: stretch;
}

/* Lead image spans two rows on the left */
.moment-card-lead {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}

.moment-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--bone-2);
  border: 1px solid var(--line);
  aspect-ratio: 4 / 5;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s;
}
.moment-card:hover {
  transform: translateY(-4px);
  border-color: var(--ochre);
}
.moment-card-lead {
  aspect-ratio: auto;
}
.moment-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.moment-card:hover img {
  transform: scale(1.03);
}

/* per-image crop tuning */
.moment-card:nth-child(1) img { object-position: center 18%; }
.moment-card:nth-child(2) img { object-position: center 25%; }
.moment-card:nth-child(3) img { object-position: center 30%; }
.moment-card:nth-child(4) img { object-position: center 22%; }

/* Museum-style caption — bottom-left of each frame */
.moment-cap {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  background: rgba(10, 9, 8, 0.62);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(241, 234, 220, 0.10);
}
.moment-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 75%;
  font-size: 28px;
  letter-spacing: -0.03em;
  line-height: 0.85;
  color: var(--ochre);
  flex-shrink: 0;
}
.moment-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.moment-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--ink);
}
.moment-sub {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(241, 234, 220, 0.6);
}

/* Lead card gets a slightly bigger caption */
.moment-card-lead .moment-cap {
  bottom: 18px;
  left: 18px;
  right: 18px;
  padding: 14px 18px;
}
.moment-card-lead .moment-num {
  font-size: 40px;
}
.moment-card-lead .moment-name {
  font-size: 16px;
}
.moment-card-lead .moment-sub {
  font-size: 10px;
}

.moment-coda {
  margin-top: clamp(28px, 3vw, 40px);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
  max-width: 56ch;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive */
@media (max-width: 980px) {
  .moment-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .moment-card-lead {
    grid-column: 1 / -1;
    grid-row: auto;
    aspect-ratio: 16 / 10;
  }
  .moment-card-lead img {
    object-position: center 22%;
  }
}
@media (max-width: 480px) {
  .moment-grid {
    grid-template-columns: 1fr;
  }
  .moment-card-lead {
    aspect-ratio: 4 / 5;
  }
}

/* =========================================================
   PASS 2 — MOBILE & TABLET RESPONSIVE AUDIT
   Standardised breakpoints: 1100 / 980 / 720 / 480.
   Targets: 360 / 375 / 390 / 414 / 768 / 1024 px viewports.
   No HTML changes; CSS-only resize and restack.
========================================================= */

/* --- Tighten the gutter and section padding on phones --- */
@media (max-width: 720px) {
  :root {
    --gutter: clamp(16px, 5vw, 28px);
  }
  .founder-section,
  .manifesto,
  .references,
  .collection,
  .chapters,
  .khululeka-section,
  .moment-section,
  .studio-section {
    padding: clamp(56px, 12vw, 96px) 0;
  }
  .section-head {
    padding-bottom: 24px;
    margin-bottom: 36px;
  }
}

/* --- Nav: priority is the Talk to us pill. Hide the chapter pill
   at large-phone widths so the brand + CTA both fit comfortably. --- */
@media (max-width: 720px) {
  .nav-inner { height: 60px; gap: 10px; }
  .chapter-pill { display: none; }
  .nav-right { gap: 10px; }
  .btn { padding: 11px 14px; font-size: 13px; min-height: 44px; }
  .btn svg { flex-shrink: 0; }
  .brand { font-size: 17px; }
  .brand-mark { width: 36px; height: 36px; }
}
@media (max-width: 480px) {
  .nav-inner { height: 56px; }
  /* Slim the Talk-to-us label down — keep the icon + word, drop padding */
  .nav-right .btn-ghost { padding: 10px 14px; font-size: 12.5px; }
  .brand-mark { width: 32px; height: 32px; }
}

/* --- Hero: stop the image from eating an entire phone screen,
   and stop the wordmark from overflowing at 360px --- */
@media (max-width: 720px) {
  .hero {
    padding: clamp(20px, 5vw, 40px) 0 clamp(40px, 8vw, 72px);
  }
  .hero-grid {
    gap: 28px;
    min-height: 0;
  }
  .hero-eyebrow {
    font-size: 11px;
    padding-bottom: 16px;
  }
  .hero-eyebrow .label { gap: 10px; }
  .hero-eyebrow .sep { width: 16px; }
  .wordmark {
    line-height: 0.88;
    letter-spacing: -0.04em;
  }
  .hero-image {
    aspect-ratio: 4 / 5;
    max-width: 100%;
    min-height: 0;
  }
  .hero-copy { font-size: 15.5px; }
  .hero-ctas { gap: 10px; margin-top: 18px; }
  .hero-ctas .btn { min-height: 44px; }
}
@media (max-width: 480px) {
  .wordmark {
    font-size: clamp(54px, 14.5vw, 92px);
    letter-spacing: -0.035em;
  }
  .hero-eyebrow {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .hero-image {
    aspect-ratio: 3 / 4;
  }
}

/* --- Translation strap: the 3-col grid (italic + rule + meta)
   pinches at narrow widths. Stack and hide the rule. --- */
@media (max-width: 720px) {
  .translation {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 14px;
    margin-bottom: 22px;
  }
  .translation .rule { display: none; }
  .translation .meta { text-align: left; }
  .translation .free { font-size: clamp(22px, 5vw, 30px); line-height: 1.1; }
}

/* --- Buttons: ensure ≥44px tap height across the page on touch widths --- */
@media (max-width: 980px) {
  .btn { min-height: 44px; padding: 11px 18px; }
  .phil-chip { min-height: 36px; padding: 9px 16px; }
}

/* --- Manifesto: at 720 and below, tighten the headline so it doesn't
   crowd the body copy block. --- */
@media (max-width: 720px) {
  .manifesto-h {
    font-size: clamp(36px, 9vw, 64px);
    letter-spacing: -0.035em;
  }
  .manifesto-side p { font-size: 15px; line-height: 1.6; }
  .apex-mark { opacity: 0.05; }
  .apex-mark svg { width: clamp(220px, 50vw, 320px); }
}

/* --- References: 5→3 at 1100, 3→2 at 720, 2→1 at 480 is the existing
   ladder. Just tighten the card padding and the ref-promise on phone. --- */
@media (max-width: 720px) {
  .reference-card { padding: 22px 20px; }
  .reference-card .ref-name { font-size: clamp(22px, 6vw, 28px); }
  .reference-card .ref-body { font-size: 14px; }
  .ref-promise {
    font-size: clamp(18px, 4.5vw, 24px);
    padding: 24px 16px;
    line-height: 1.35;
  }
}

/* --- Collection: 3→2 at 980, 2→1 at 480 (already set). Ensure the
   piece-tag stays readable and the meta row doesn't wrap awkwardly. --- */
@media (max-width: 720px) {
  .piece-tag { padding: 5px 9px; font-size: 9.5px; letter-spacing: 0.16em; }
  .piece-meta .name { font-size: 16px; }
  .piece-meta .name small { font-size: 9.5px; letter-spacing: 0.18em; }
  .piece-meta .price { font-size: 11.5px; }
  .collection-apex { width: clamp(220px, 40vw, 340px); opacity: 0.10; }
}
@media (max-width: 480px) {
  .collection-grid { gap: 28px; }
  .piece .swatch { aspect-ratio: 4 / 5; }
}

/* --- Chapters: stacks at 1100. Tighten the chapter-name at 480
   so the lowercase headline doesn't blow past the card edge. --- */
@media (max-width: 480px) {
  .chapter-block { padding: 24px 22px; }
  .chapter-block .chapter-name { font-size: clamp(28px, 8vw, 40px); }
  .chapter-block .chapter-descriptor { font-size: 14.5px; }
}

/* --- Khululeka: the grid stacks at 1100. The apex-callout grid
   (1fr/auto) stacks at 1100 too. Tighten the callout-h and the chips
   so the section reads naturally on phone. --- */
@media (max-width: 720px) {
  .khululeka-text p { font-size: 15.5px; line-height: 1.6; }
  .philosophy-chips { gap: 8px; margin-top: 22px; }
  .phil-chip { font-size: 10px; padding: 8px 14px; letter-spacing: 0.14em; }
  .apex-callout { padding: 24px 22px; }
  .apex-callout .callout-h { font-size: clamp(24px, 6vw, 34px); }
  .apex-callout .callout-sub { font-size: 13.5px; }
  .apex-callout .callout-actions { width: 100%; }
  .apex-callout .callout-actions .btn { flex: 1; justify-content: center; }
  .khululeka-figcap strong { font-size: 18px; }
  .showing-apex { width: clamp(320px, 70vw, 480px); opacity: 0.14; }
}

/* --- Moment grid: 1.4/1/1 at desktop → 1/1 at 980 → 1 at 480. Tune
   the captions and the lead aspect on phone. --- */
@media (max-width: 720px) {
  .moment-grid { gap: 14px; }
  .moment-card-lead { aspect-ratio: 4 / 3; }
  .moment-card-lead .moment-num { font-size: 32px; }
  .moment-card-lead .moment-name { font-size: 14px; }
  .moment-num { font-size: 24px; }
  .moment-name { font-size: 12px; }
  .moment-cap { padding: 8px 12px; gap: 10px; }
}

/* --- Studio venue cards: stack at 1100. Tighten internals at 480. --- */
@media (max-width: 480px) {
  .venue-card { padding: 28px 24px; }
  .venue-name { font-size: clamp(36px, 11vw, 56px); }
  .venue-detail { font-size: 14.5px; }
}

/* --- Founder voice — narrower copy on phone, smaller serif --- */
@media (max-width: 720px) {
  .founder-voice {
    font-size: clamp(19px, 4.6vw, 24px);
    line-height: 1.4;
  }
  .founder-portrait-caption .fname { font-size: clamp(22px, 5.5vw, 30px); }
  .founder-portrait-caption .frole,
  .founder-portrait-caption .floc { font-size: 10px; letter-spacing: 0.18em; }
}

/* --- Ticker: tame the size on phone so it doesn't dwarf the page --- */
@media (max-width: 720px) {
  .ticker-track {
    font-size: clamp(22px, 7vw, 34px);
    gap: 32px;
    padding: 14px 0;
  }
  .ticker-track span { gap: 32px; }
}

/* --- Footer: at 480 the 2-col grid still feels crowded with the
   logo block dominating. Stack everything cleanly. --- */
@media (max-width: 720px) {
  .foot-top { gap: 32px; padding-bottom: 40px; }
  .foot-brand-block { gap: 16px; }
  .foot-brand { font-size: clamp(48px, 14vw, 88px); line-height: 0.9; }
  .foot-logo { width: clamp(56px, 14vw, 84px); }
  .foot ul a { font-size: 14.5px; min-height: 32px; display: inline-flex; align-items: center; }
}
@media (max-width: 480px) {
  .foot-top { grid-template-columns: 1fr; gap: 28px; padding-bottom: 32px; }
  .foot-brand-block { grid-column: auto; }
  .foot-bottom { font-size: 10px; letter-spacing: 0.16em; }
}

/* --- Float contact pill: at 360–414 the desktop pill is wide enough to
   overlap real content and stack with the WhatsApp tab. Slim it. --- */
@media (max-width: 720px) {
  .float-contact {
    bottom: 16px;
    right: 16px;
    padding: 10px 14px;
    font-size: 13px;
    min-height: 44px;
  }
}
@media (max-width: 480px) {
  .float-contact {
    bottom: 14px;
    right: 14px;
    padding: 10px 14px;
    font-size: 12.5px;
    /* keep above the OS bottom bar but tucked into the corner */
  }
  /* Add breathing room at the foot of the page so the floating pill
     never sits on top of the final copyright line. */
  .foot-bottom { padding-bottom: 56px; }
}

/* --- Landscape phone safety: keep the hero from forcing 80vh of image
   when the viewport is short (568×320, 667×375, 736×414). --- */
@media (max-height: 480px) and (orientation: landscape) {
  .hero-grid { min-height: 0; }
  .hero-image { aspect-ratio: 16 / 9; }
}

/* --- Final safety: no horizontal overflow from rogue children.
   The body already has overflow-x: hidden, but tame common culprits. --- */
.collection,
.khululeka-section,
.moment-section,
.references,
.hero {
  max-width: 100vw;
}
.wordmark { max-width: 100%; }
.collection-apex,
.showing-apex,
.apex-mark svg {
  max-width: 50vw;
}
