/* ==========================================================================
   Roar Initiative Africa: The Preview Issue
   Flat colour only. Square corners. Hairlines, numerals and type do the work.
   ========================================================================== */

:root {
  /* Palette (sampled from the logo) */
  --night: #1A1513;          /* Lion Night */
  --espresso: #271D1A;       /* Espresso */
  --paper: #F3ECE2;          /* Kampala Paper */
  --bark: #E9DFD1;           /* Bark Paper */
  --bronze: #C49069;         /* Bronze: rules, numerals, display only on paper */
  --light-gold: #F8D0A0;     /* Light Gold: highlights on dark */
  --gold: #D8B48D;           /* Gold: secondary metal */
  --deep-bronze: #8A6447;    /* Deep Bronze: accent on paper */
  --deep-bronze-text: #7D5A3F; /* Deep Bronze, a shade darker so small text passes AA on Bark Paper */
  --ink: #1F1A17;            /* Ink */
  --ivory: #F6F0E7;          /* Ivory */

  /* Flat tints, written as solid values (never opacity) */
  --ivory-60: #9E9892;       /* Ivory at 60% on Lion Night */
  --ivory-78: #C8C1B9;       /* Ivory at 78% on Lion Night */
  --ink-70: #5B504A;         /* Ink at 70% on Paper */
  --rule-paper: #D9CFC2;     /* Ink at 15% on Kampala Paper */
  --rule-bark: #CDC1B1;      /* Ink at 15% on Bark Paper */
  --rule-dark: #3A2E28;      /* quiet hairline on dark grounds */

  /* Type */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-narrow: "Archivo Narrow", "Archivo", "Arial Narrow", sans-serif;

  /* Layout */
  --max: 1320px;
  --gutter: clamp(20px, 4.4vw, 64px);
  --gap: clamp(14px, 1.9vw, 28px);
  --section-y: clamp(96px, 11vw, 176px);
  --nav-h: 64px;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Base ---------- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--nav-h);
  background: var(--night);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: clamp(16px, 0.35vw + 14.6px, 18px);
  line-height: 1.6;
  font-feature-settings: "liga", "kern", "onum";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, ol, ul, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ol, ul { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
em { font-style: italic; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; border-radius: 0; }
input, textarea { font: inherit; color: inherit; border-radius: 0; }

h1, h2, h3 { text-wrap: balance; font-weight: inherit; }
p { text-wrap: pretty; }

::selection { background: var(--light-gold); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--bronze);
  outline-offset: 3px;
}

a {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
  transition: color 220ms ease, text-decoration-color 220ms ease;
}
a:hover { color: var(--bronze); }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  background: var(--light-gold); color: var(--ink);
  padding: 10px 14px;
  font: 600 12px/1 var(--font-sans);
  letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none;
}
.skip:focus { top: 12px; }

.nb { white-space: nowrap; }

/* Desktop scrollbar: thin bronze on Lion Night */
@media (pointer: fine) {
  html { scrollbar-width: thin; scrollbar-color: var(--bronze) var(--night); }
  ::-webkit-scrollbar { width: 10px; }
  ::-webkit-scrollbar-track { background: var(--night); }
  ::-webkit-scrollbar-thumb { background: var(--bronze); border: 3px solid var(--night); }
}

/* ---------- Grounds ---------- */

.paper    { background: var(--paper); color: var(--ink); }
.bark     { background: var(--bark); color: var(--ink); }
.night    { background: var(--night); color: var(--ivory); }
.espresso { background: var(--espresso); color: var(--ivory); }

.wrap {
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
}

section { padding-block: var(--section-y); }

/* ---------- Shared pieces ---------- */

/* Section label: ROMAN — TITLE, sitting on a hairline, folio at the far end */
.label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule-paper);
  margin-bottom: clamp(56px, 7vw, 104px);
}
.bark .label { border-bottom-color: var(--rule-bark); }
.label h2,
.label__text,
.label__folio {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.label__num { color: var(--deep-bronze-text); }
.label__dash { margin: 0 0.9em; color: var(--deep-bronze-text); letter-spacing: 0; }
.label__folio {
  font-family: var(--font-narrow);
  font-weight: 500;
  color: var(--deep-bronze-text);
  font-feature-settings: "lnum", "tnum";
}
.label--dark { border-bottom-color: var(--bronze); }
.label--dark h2,
.label--dark .label__text { color: var(--ivory-78); }
.label--dark .label__num,
.label--dark .label__dash,
.label--dark .label__folio { color: var(--bronze); }

/* Seal: circular crop with a bronze ring 6px outside, like a stamp */
.seal {
  position: relative;
  display: inline-block;
  border-radius: 50%;
  line-height: 0;
  flex: none;
}
.seal img { border-radius: 50%; object-fit: cover; aspect-ratio: 1; }
.seal::after {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1px solid var(--bronze);
  border-radius: 50%;
  pointer-events: none;
}

/* Buttons: flat blocks, square corners, no shadow */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 240ms ease, color 240ms ease;
}
.btn--gold { background: var(--light-gold); color: var(--ink); }
.btn--gold:hover { background: var(--ivory); color: var(--ink); }
.btn--night { background: var(--night); color: var(--ivory); }
.btn--night:hover { background: var(--espresso); color: var(--light-gold); }

/* Text link with a 1px underline that grows */
.link-grow {
  position: relative;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  padding-bottom: 6px;
  white-space: nowrap;
  color: var(--ivory);
}
.link-grow::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 1px; width: 38%;
  background: var(--bronze);
  transition: width 280ms var(--ease);
}
.link-grow:hover { color: var(--light-gold); }
.link-grow:hover::after { width: 100%; }

/* Arrow link: "Order on WhatsApp →" */
.link-arrow {
  display: inline-flex;
  gap: 0.6em;
  align-items: baseline;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration-line: underline;
  text-decoration-color: var(--bronze);
  color: var(--ink);
}
.link-arrow:hover { color: var(--deep-bronze-text); text-decoration-color: var(--ink); }
.link-arrow--dark { color: var(--ivory); }
.link-arrow--dark:hover { color: var(--light-gold); text-decoration-color: var(--light-gold); }

/* Fraunces display defaults */
.display,
.hero__title,
.creed p,
.index__title,
.index__num,
.founder__name,
.pull p,
.book__title,
.book__lede,
.cover__title,
.insights__intro,
.focus__intro,
.col__title,
.figure__num,
.community__welcome,
.join__title,
.path__title,
.newsletter__lede,
.colophon__mark,
.hero__roar,
.mission__text::first-letter,
.menu__links a {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 1;
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: var(--night);
  color: var(--ivory);
  border-bottom: 1px solid var(--night);
  transition: border-color 300ms ease;
}
.nav.is-scrolled { border-bottom-color: var(--bronze); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}
.nav__brand:hover { color: var(--ivory); }
.seal--nav::after { inset: -4px; }
.seal--nav img { width: 28px; height: 28px; }
.nav__name {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.nav__links {
  display: flex;
  gap: clamp(18px, 2.4vw, 36px);
}
.nav__links a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration-color: transparent;
  color: var(--ivory-78);
}
.nav__links a:hover { color: var(--light-gold); }
.nav__links a[aria-current="true"] { color: var(--ivory); text-decoration-color: var(--bronze); }

.nav__menu {
  display: none;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 12px 0 12px 12px;
  text-decoration: underline;
  text-decoration-color: var(--bronze);
  text-underline-offset: 0.5em;
}

@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__menu { display: block; }
}

/* Full-screen menu overlay */
.menu {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: var(--night);
  color: var(--ivory);
  display: flex;
  flex-direction: column;
  padding: 0 var(--gutter) 32px;
  opacity: 0;
  transition: opacity 300ms ease;
  overflow-y: auto;
}
.menu[hidden] { display: none; }
.menu.is-open { opacity: 1; }
.menu__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--nav-h);
  border-bottom: 1px solid var(--bronze);
  flex: none;
}
.menu__issue,
.menu__close,
.menu__foot {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.menu__issue, .menu__foot { color: var(--ivory-60); }
.menu__close { padding: 12px 0 12px 12px; text-decoration: underline; text-decoration-color: var(--bronze); text-underline-offset: 0.5em; }
.menu__links {
  margin: auto 0;
  padding-block: 40px;
}
.menu__links li { border-bottom: 1px solid var(--rule-dark); }
.menu__links a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 12px 0;
  font-size: clamp(40px, 11vw, 64px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.menu__links a:hover { color: var(--light-gold); }
.menu__links span {
  width: 3.2em;
  flex: none;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--bronze);
}

/* ==========================================================================
   I. Masthead / hero
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  padding: 0;
  min-height: calc(100vh - var(--nav-h));
  min-height: calc(100svh - var(--nav-h));
  display: flex;
  background: var(--night);
  color: var(--ivory);
}

.hero__roar {
  position: absolute;
  right: -0.06em;
  bottom: -0.2em;
  z-index: 0;
  font-size: 40vw;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--espresso);
  user-select: none;
  pointer-events: none;
}

.hero__wrap {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding-block: clamp(18px, 2.4vw, 30px) clamp(48px, 6vw, 80px);
}

.hero__dateline {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--bronze);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ivory-60);
}
.hero__dateline .dot { padding: 0 1.4em; }

.hero__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  align-items: start;
  margin-block: auto;
  padding-block: clamp(40px, 6vh, 80px) clamp(32px, 4vh, 56px);
}

.hero__seal {
  grid-column: 1 / 3;
  padding: 6px;
  margin-top: 0.6vw;
}
.seal--hero img { width: clamp(112px, 12.5vw, 180px); height: auto; }

.hero__title {
  grid-column: 3 / 13;
  margin-left: -0.055em; /* optical alignment of the big serif */
  font-size: clamp(44px, 7.6vw, 136px);
  font-weight: 340;
  line-height: 0.95;
  letter-spacing: -0.02em;
  font-feature-settings: "liga", "kern", "lnum";
}
.hero__title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;    /* room for descenders inside the mask */
  margin-bottom: -0.08em;
}
.hero__title .line > span { display: block; }
.hero__title .line:nth-child(2) > span { padding-left: 0.9em; }
.hero__title .line:nth-child(4) > span { padding-left: 1.8em; }
.hero__title em {
  font-weight: 300;
  color: var(--light-gold);
  white-space: nowrap;
  font-variation-settings: "opsz" 144, "SOFT" 60, "WONK" 1;
}
.hero__title strong {
  font-weight: 520;
  color: var(--light-gold);
}

.hero__foot {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  align-items: end;
  padding-top: 28px;
  border-top: 1px solid var(--rule-dark);
}
.hero__lede {
  grid-column: 3 / 7;
  max-width: 36ch;
  color: var(--ivory-78);
  font-size: clamp(16px, 0.4vw + 14px, 19px);
  line-height: 1.5;
}
.hero__actions {
  grid-column: 8 / 13;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(24px, 3vw, 44px);
}

.hero__vertical {
  position: absolute;
  left: max(10px, calc(var(--gutter) / 2 - 6px));
  bottom: clamp(48px, 6vw, 80px);
  z-index: 1;
  writing-mode: vertical-rl;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ivory-60);
}
.hero__vertical .arrow {
  display: inline-block;
  text-orientation: upright;
  margin-top: 0.6em;
  color: var(--bronze);
  letter-spacing: 0;
}

/* Headline mask reveal on load */
.js .hero__title .line > span {
  transform: translateY(108%);
}
.js.is-loaded .hero__title .line > span {
  transform: none;
  transition: transform 900ms var(--ease);
}
.js.is-loaded .hero__title .line:nth-child(1) > span { transition-delay: 100ms; }
.js.is-loaded .hero__title .line:nth-child(2) > span { transition-delay: 230ms; }
.js.is-loaded .hero__title .line:nth-child(3) > span { transition-delay: 360ms; }
.js.is-loaded .hero__title .line:nth-child(4) > span { transition-delay: 490ms; }

@media (max-width: 1100px) {
  .hero__seal { grid-column: 1 / 13; margin-bottom: 40px; }
  .hero__title { grid-column: 1 / 13; font-size: clamp(44px, 9vw, 100px); }
  .hero__lede { grid-column: 1 / 8; }
  .hero__actions { grid-column: 8 / 13; flex-direction: column; align-items: flex-end; gap: 20px; }
}

@media (max-width: 720px) {
  .hero__wrap { padding-bottom: 40px; }
  .hero__dateline { font-size: 10px; letter-spacing: 0.16em; }
  .hero__dateline .dot { padding: 0 0.9em; }
  .hero__dateline span:nth-of-type(4),
  .hero__dateline span:nth-of-type(5) { display: none; }
  .hero__grid { padding-block: 40px 32px; }
  .hero__seal { margin-bottom: 36px; }
  .hero__title { font-size: clamp(44px, 12.4vw, 72px); line-height: 0.98; }
  .hero__title .line:nth-child(2) > span,
  .hero__title .line:nth-child(4) > span { padding-left: 0; }
  .hero__title .line:nth-child(4) > span { padding-left: 0.6em; }
  .hero__foot { display: block; padding-top: 24px; }
  .hero__lede { margin-bottom: 28px; padding-left: 22%; }
  .hero__actions { flex-direction: row; align-items: center; justify-content: flex-start; flex-wrap: wrap; gap: 20px 28px; }
  .hero__roar { font-size: 64vw; bottom: -0.16em; right: -0.1em; }
  .hero__vertical { display: none; }
}

/* ==========================================================================
   II. Manifesto
   ========================================================================== */

.creed {
  display: grid;
  gap: clamp(28px, 4vw, 56px);
  margin-bottom: clamp(88px, 11vw, 168px);
}
.creed__line {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  align-items: start;
}
.creed__num {
  grid-column: 1 / 2;
  grid-row: 1;
  padding-top: 0.9em;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--deep-bronze-text);
  font-feature-settings: "lnum", "tnum";
  border-top: 1px solid var(--rule-paper);
  justify-self: start;
  padding-right: 2em;
  margin-top: 0.45em;
}
.creed p {
  grid-row: 1;
  font-size: clamp(42px, 8.2vw, 148px);
  font-weight: 320;
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin-left: -0.05em;
}
.creed em { color: var(--deep-bronze); font-weight: 300; }

.creed__line--1 p { grid-column: 2 / 13; }
.creed__line--2 p { grid-column: 3 / 13; text-align: right; font-style: italic; }
.creed__line--2 p em { font-style: normal; font-weight: 500; }
.creed__line--3 p { grid-column: 4 / 13; font-size: clamp(36px, 6.2vw, 112px); }
.creed__line--3 p .nb { color: var(--ink); }

/* Mission paragraph: two narrow columns and a Fraunces drop cap */
.mission {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  padding-top: 28px;
  border-top: 1px solid var(--ink);
}
.mission__kicker {
  grid-column: 1 / 4;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--deep-bronze-text);
  max-width: 16ch;
  line-height: 1.5;
}
.mission__text {
  grid-column: 5 / 13;
  columns: 2;
  column-gap: clamp(28px, 3.4vw, 56px);
  hyphens: manual;
  line-height: 1.65;
}
.mission__text::first-letter {
  float: left;
  font-size: 6.15em;
  line-height: 0.8;
  font-weight: 400;
  color: var(--bronze);
  margin: 0.06em 0.1em -0.05em -0.04em;
}
@supports (initial-letter: 4) or (-webkit-initial-letter: 4) {
  .mission__text::first-letter {
    float: none;
    font-size: inherit;
    line-height: inherit;
    margin: 0 0.12em 0 0;
    -webkit-initial-letter: 4;
    initial-letter: 4;
  }
}

@media (max-width: 900px) {
  .mission__kicker { grid-column: 1 / 13; margin-bottom: 24px; max-width: none; }
  .mission__text { grid-column: 1 / 13; }
}
@media (max-width: 720px) {
  .creed { gap: 36px; }
  .creed__line { grid-template-columns: 44px minmax(0, 1fr); column-gap: 12px; }
  .creed__num { grid-column: 1; padding-right: 0; width: 100%; }
  .creed__line--1 p,
  .creed__line--2 p,
  .creed__line--3 p { grid-column: 2; }
  .creed__line--2 p { text-align: right; }
  .creed__line--3 p { padding-left: 8%; }
  .mission__text { columns: 1; }
}

/* ==========================================================================
   III. Focus: an index, not cards
   ========================================================================== */

.focus { padding-bottom: calc(var(--section-y) - 24px); }

.focus__intro {
  font-size: clamp(28px, 3.4vw, 52px);
  font-weight: 320;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 clamp(48px, 6vw, 88px) calc((100% + var(--gap)) / 12 * 4);
  max-width: 24ch;
}
.focus__intro em { color: var(--deep-bronze); }

.index { border-top: 1px solid var(--ink); }
.index__row {
  border-bottom: 1px solid var(--rule-bark);
  transition: background-color 250ms ease, color 250ms ease;
}
.index__inner {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  align-items: baseline;
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
  padding-block: clamp(22px, 2.6vw, 40px);
}
.index__num {
  grid-column: 1 / 4;
  font-size: clamp(56px, 8vw, 132px);
  font-weight: 300;
  line-height: 0.8;
  letter-spacing: -0.02em;
  color: var(--bronze);
  font-feature-settings: "lnum";
  transition: color 250ms ease;
}
.index__title {
  grid-column: 4 / 9;
  font-size: clamp(30px, 3.3vw, 54px);
  font-weight: 360;
  line-height: 1;
  letter-spacing: -0.02em;
}
.index__title em { font-weight: 300; color: var(--deep-bronze); transition: color 250ms ease; }
.index__text {
  grid-column: 9 / 13;
  max-width: 34ch;
  color: var(--ink-70);
  transition: color 250ms ease;
}

@media (hover: hover) and (min-width: 721px) {
  .index__row:hover { background: var(--night); color: var(--ivory); }
  .index__row:hover .index__num { color: var(--light-gold); }
  .index__row:hover .index__title em { color: var(--gold); }
  .index__row:hover .index__text { color: var(--ivory-78); }
}

@media (max-width: 720px) {
  .focus__intro { margin-left: 0; }
  .index__inner {
    grid-template-columns: 72px minmax(0, 1fr);
    column-gap: 12px;
    row-gap: 10px;
    padding-block: 28px;
  }
  .index__num { grid-column: 1; grid-row: 1 / 3; font-size: 52px; align-self: start; }
  .index__title { grid-column: 2; font-size: 30px; }
  .index__text { grid-column: 2; font-size: 16px; }
}

/* ==========================================================================
   IV. The Founder
   ========================================================================== */

.founder__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  align-items: start;
}

.portrait {
  grid-column: 1 / 6;
  margin-top: 80px;
}
.portrait__frame {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--night);
  outline: 1px solid var(--bronze);
  outline-offset: -14px;
}
.portrait__plate,
.portrait__caption {
  position: absolute;
  left: 30px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.portrait__plate { top: 30px; color: var(--bronze); }
.portrait__caption { bottom: 30px; right: 30px; color: var(--ivory-60); }

.founder__text {
  grid-column: 7 / 13;
  margin-top: -16px;
}
.founder__name {
  font-size: clamp(56px, 8.4vw, 150px);
  font-weight: 330;
  line-height: 0.9;
  letter-spacing: -0.03em;
  margin-left: -0.06em;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.founder__name span {
  display: block;
  font-style: italic;
  font-weight: 300;
  color: var(--gold);
  margin-left: 0.5em;
}
.founder__bio {
  max-width: 44ch;
  color: var(--ivory-78);
  padding-top: 24px;
  border-top: 1px solid var(--bronze);
  margin-bottom: clamp(56px, 7vw, 104px);
}

.pull { position: relative; }
.pull p {
  position: relative;
  font-size: clamp(28px, 2.9vw, 46px);
  font-style: italic;
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ivory);
  max-width: 22ch;
}
.pull__mark {
  position: absolute;
  right: 100%;
  top: -0.16em;
  font-size: 2.6em;
  line-height: 1;
  padding-right: 0.04em;
  color: var(--bronze);
  font-style: normal;
}
.pull__cite {
  margin-top: 24px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze);
}

@media (max-width: 900px) {
  .portrait { grid-column: 1 / 13; width: min(72%, 380px); margin-top: 0; margin-bottom: 56px; }
  .founder__text { grid-column: 1 / 13; margin-top: 0; }
  .pull { padding-left: 1.3em; }
}
@media (max-width: 720px) {
  .portrait { width: 86%; margin-left: auto; }
  .portrait__plate, .portrait__caption { left: 26px; letter-spacing: 0.16em; font-size: 9px; }
  .portrait__caption { right: 26px; bottom: 26px; }
  .portrait__plate { top: 26px; }
  .founder__name span { margin-left: 0.3em; }
}

/* ==========================================================================
   V. The Book
   ========================================================================== */

.book__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  align-items: center;
}

.book__stage {
  grid-column: 2 / 6;
  padding: 24px 24px 36px 0;
}

.cover {
  position: relative;
  width: min(100%, 340px);
  aspect-ratio: 2 / 3;
  background: var(--night);
  color: var(--ivory);
  box-shadow: 12px 12px 0 0 var(--bronze); /* flat offset block, no blur */
  transform: rotate(-2deg);
  transition: transform 450ms var(--ease);
  display: flex;
  flex-direction: column;
  padding: 11% 11% 11% 16%;
}
.cover:hover { transform: rotate(0deg); }
.cover::before { /* spine */
  content: "";
  position: absolute;
  left: 10px; top: 0; bottom: 0;
  width: 1px;
  background: #3D302A;
}
.cover__author {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ivory-60);
}
.cover__title {
  margin-top: auto;
  font-size: clamp(36px, 3.6vw, 52px);
  font-weight: 340;
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: var(--light-gold);
}
.cover__title em {
  display: block;
  font-weight: 300;
  font-size: 0.62em;
  padding: 0.12em 0 0.06em 0.1em;
}
.cover__rule {
  display: block;
  width: 42%;
  height: 1px;
  background: var(--bronze);
  margin-top: 24px;
}

.book__text {
  grid-column: 7 / 13;
}
.book__title {
  font-size: clamp(48px, 6.4vw, 112px);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -0.025em;
  margin-left: -0.05em;
  max-width: 9ch;
}
.book__by {
  margin-top: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--deep-bronze-text);
}
.book__lede {
  margin-top: clamp(36px, 4vw, 56px);
  font-size: clamp(22px, 1.8vw, 30px);
  font-weight: 340;
  line-height: 1.2;
  max-width: 24ch;
}

/* Price tag, like a card in a fine bookshop */
.tag {
  margin: 36px 0 40px;
  max-width: 440px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  font-family: var(--font-narrow);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-feature-settings: "lnum", "tnum";
}
.tag__row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}
.tag__row + .tag__row { border-top: 1px solid var(--rule-paper); }
.tag dt { color: var(--deep-bronze-text); }
.tag dd { text-align: right; }
.tag__slash { color: var(--deep-bronze-text); padding: 0 0.3em; }

@media (max-width: 900px) {
  .book__stage { grid-column: 1 / 13; padding: 0 0 72px 12%; }
  .cover { width: min(64%, 300px); }
  .book__text { grid-column: 1 / 13; }
}

/* ==========================================================================
   VI. Insights: three newspaper columns
   ========================================================================== */

.insights {
  border-top: 1px solid var(--ink);
  padding-top: calc(var(--section-y) * 0.7);
}

.insights__intro {
  font-size: clamp(28px, 3.4vw, 52px);
  font-weight: 320;
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 20ch;
  margin-bottom: clamp(48px, 6vw, 88px);
}
.insights__intro em { color: var(--deep-bronze); }

.columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 3px double var(--ink);
  border-bottom: 1px solid var(--ink);
}
.col {
  display: flex;
  flex-direction: column;
  padding: 28px clamp(20px, 2.4vw, 40px) 36px;
}
.col:first-child { padding-left: 0; }
.col:last-child { padding-right: 0; }
.col + .col { border-left: 1px solid var(--rule-paper); }

.col__kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--deep-bronze-text);
}
.col__date {
  margin-top: 6px;
  font-family: var(--font-narrow);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink-70);
  font-feature-settings: "lnum";
}
.col__title {
  margin-top: clamp(28px, 3vw, 44px);
  font-size: clamp(28px, 2.5vw, 40px);
  font-weight: 360;
  line-height: 1.04;
  letter-spacing: -0.015em;
}
.col:first-child .col__title { font-style: italic; font-weight: 320; }
.col__text {
  margin-top: 16px;
  color: var(--ink-70);
  max-width: 34ch;
}
.col__link {
  margin-top: auto;
  padding-top: 28px;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration-color: var(--bronze);
}
.col__link:hover { color: var(--deep-bronze-text); }

@media (max-width: 900px) {
  .columns { grid-template-columns: minmax(0, 1fr); }
  .col, .col:first-child, .col:last-child { padding: 28px 0 32px; }
  .col + .col { border-left: 0; border-top: 1px solid var(--rule-paper); }
  .col__title { margin-top: 20px; }
}
@media (min-width: 600px) and (max-width: 900px) {
  .col { display: grid; grid-template-columns: 1fr 2fr; column-gap: 24px; }
  .col > * { grid-column: 2; }
  .col__kicker, .col__date { grid-column: 1; }
  .col__kicker { grid-row: 1; }
  .col__date { grid-row: 2; }
  .col__title { grid-row: 1 / 3; margin-top: 0; }
}

/* ==========================================================================
   VII. Community: one giant figure
   ========================================================================== */

.community__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  align-items: end;
}
.figure { grid-column: 1 / 10; }
.figure__num {
  font-size: clamp(112px, 23vw, 380px);
  font-weight: 300;
  line-height: 0.78;
  letter-spacing: -0.045em;
  color: var(--light-gold);
  margin-left: -0.07em;
  font-feature-settings: "lnum", "kern";
  font-variation-settings: "opsz" 144, "SOFT" 0, "WONK" 0;
}
.figure__label {
  margin-top: clamp(44px, 5vw, 80px);
  padding-top: 18px;
  border-top: 1px solid var(--bronze);
  max-width: 46ch;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--ivory-78);
}
.community__aside {
  grid-column: 10 / 13;
  padding-bottom: 6px;
}
.community__welcome {
  font-size: clamp(28px, 2.8vw, 44px);
  font-style: italic;
  font-weight: 300;
  line-height: 1.05;
  margin-bottom: 32px;
  text-indent: -0.4em;
}

@media (max-width: 900px) {
  .figure, .community__aside { grid-column: 1 / 13; }
  .community__aside { margin-top: 56px; padding-left: 30%; }
}
@media (max-width: 720px) {
  .figure__num { font-size: 30vw; }
  .community__aside { padding-left: 16%; }
}

/* ==========================================================================
   VIII. Join the Pride
   ========================================================================== */

.join__title {
  font-size: clamp(48px, 7vw, 124px);
  font-weight: 320;
  line-height: 0.94;
  letter-spacing: -0.025em;
  margin: 0 0 clamp(64px, 8vw, 120px) -0.05em;
  max-width: 12ch;
}
.join__title em { color: var(--deep-bronze); font-weight: 300; }

.paths { border-top: 1px solid var(--ink); }
.path { border-bottom: 1px solid var(--rule-bark); }

.path__head { margin: 0; }
.path__toggle {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  align-items: baseline;
  padding: clamp(26px, 3vw, 44px) 0;
  text-align: left;
}
.path__toggle::after { /* bronze underline that draws across the row */
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  height: 1px; width: 0;
  background: var(--bronze);
  transition: width 420ms var(--ease);
}
.path__toggle:hover::after,
.path__toggle[aria-expanded="true"]::after { width: 100%; }

.path__num {
  grid-column: 1 / 2;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--deep-bronze-text);
  font-feature-settings: "lnum", "tnum";
}
.path__title {
  grid-column: 2 / 7;
  font-size: clamp(32px, 4vw, 64px);
  font-weight: 340;
  line-height: 1;
  letter-spacing: -0.02em;
  transition: color 250ms ease;
}
.path__title em { font-weight: 300; color: var(--deep-bronze); }
.path__line {
  grid-column: 7 / 12;
  color: var(--ink-70);
  max-width: 34ch;
}
.path__arrow {
  grid-column: 12 / 13;
  justify-self: end;
  font-size: 28px;
  line-height: 1;
  transition: transform 280ms var(--ease), color 250ms ease;
}
.path__arrow::before { content: "→"; }
.path__toggle[aria-expanded="true"] .path__arrow::before { content: "×"; }
.path__toggle:hover .path__arrow { transform: translateX(8px); color: var(--deep-bronze); }
.path__toggle[aria-expanded="true"] .path__arrow { transform: none; }
.path__toggle:hover .path__title { color: var(--deep-bronze-text); }

/* Accordion: smooth height via grid rows */
.path__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 520ms var(--ease);
}
.path.is-open .path__panel { grid-template-rows: 1fr; }
.path__inner { overflow: hidden; min-height: 0; }

.form {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 32px;
  padding: 16px 0 56px;
}
.field { grid-column: span 4; display: flex; flex-direction: column; }
.field:first-child { grid-column: 2 / 6; }
.field--wide { grid-column: 2 / 13; }
.field label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--deep-bronze-text);
  margin-bottom: 6px;
}
.field input,
.field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ink);
  padding: 8px 0 10px;
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.4;
  color: var(--ink);
  resize: vertical;
  transition: border-color 220ms ease;
}
.field input::placeholder,
.field textarea::placeholder {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 20px;
  color: var(--ink-70);
  opacity: 1;
}
.field input:focus,
.field textarea:focus { outline: none; border-bottom-color: var(--bronze); box-shadow: 0 1px 0 0 var(--bronze); }
.field.is-invalid input { border-bottom-color: #9A3B24; }

.form__foot {
  grid-column: 2 / 13;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.form__error {
  font-size: 14px;
  color: #8A3520;
  font-style: normal;
}

.thanks {
  padding: 16px 0 56px calc((100% + var(--gap)) / 12);
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 1;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(26px, 2.6vw, 40px);
  line-height: 1.15;
  max-width: 34ch;
}
.thanks span { color: var(--deep-bronze); }

@media (max-width: 900px) {
  .path__toggle { grid-template-columns: 40px minmax(0, 1fr) 32px; column-gap: 14px; row-gap: 10px; }
  .path__num { grid-column: 1; grid-row: 1; }
  .path__title { grid-column: 2; grid-row: 1; }
  .path__line { grid-column: 2; grid-row: 2; font-size: 16px; }
  .path__arrow { grid-column: 3; grid-row: 1; }
  .form { grid-template-columns: minmax(0, 1fr); padding-left: 54px; }
  .field, .field:first-child, .field--wide, .form__foot { grid-column: 1; }
  .form__foot { flex-direction: column-reverse; align-items: flex-start; }
  .thanks { padding-left: 54px; }
}

/* ==========================================================================
   IX. Colophon
   ========================================================================== */

.colophon {
  padding-top: var(--section-y);
  overflow: hidden;
}

.colophon__top {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  align-items: center;
  margin-bottom: clamp(72px, 8vw, 120px);
}
.seal--footer { grid-column: 1 / 3; justify-self: start; margin-left: 6px; }
.seal--footer img { width: 96px; height: 96px; }

.newsletter { grid-column: 4 / 13; }
.newsletter__lede {
  font-size: clamp(32px, 3.8vw, 60px);
  font-style: italic;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.015em;
  margin-bottom: 28px;
  text-indent: -0.4em;
}
.newsletter__row {
  display: flex;
  align-items: flex-end;
  gap: 24px;
  max-width: 640px;
}
.newsletter__row input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--bronze);
  padding: 10px 0;
  font-size: 17px;
  color: var(--ivory);
}
.newsletter__row input::placeholder {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 19px;
  color: var(--ivory-60);
  opacity: 1;
}
.newsletter__row input:focus { outline: none; border-bottom-color: var(--light-gold); }
.newsletter__btn {
  padding: 12px 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--light-gold);
  white-space: nowrap;
  transition: color 220ms ease;
}
.newsletter__btn:hover { color: var(--ivory); }
.newsletter__note {
  margin-top: 14px;
  min-height: 1.4em;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 19px;
  color: var(--gold);
}

.colophon__cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--bronze);
}
.colophon__cols > div {
  padding: 22px clamp(14px, 2vw, 28px) 30px;
}
.colophon__cols > div:first-child { padding-left: 0; }
.colophon__cols > div + div { border-left: 1px solid var(--rule-dark); }
.colophon__cols dt {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 12px;
}
.colophon__cols dd {
  font-size: 16px;
  color: var(--ivory);
  overflow-wrap: anywhere;
  font-feature-settings: "lnum";
}
.colophon__cols a { text-decoration-color: var(--rule-dark); }
.colophon__cols a:hover { color: var(--light-gold); text-decoration-color: var(--light-gold); }

.colophon__base {
  display: flex;
  justify-content: space-between;
  gap: 12px 32px;
  flex-wrap: wrap;
  padding: 20px 0 clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--rule-dark);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ivory-60);
  font-feature-settings: "lnum";
}

.colophon__mark {
  overflow: hidden;
  height: calc(var(--mark-size, 8.6vw) * 0.66);
  text-align: center;
  white-space: nowrap;
  user-select: none;
}
.colophon__mark span {
  display: inline-block;
  vertical-align: top;
  font-size: var(--mark-size, 8.6vw);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  color: var(--bronze);
  padding-top: 0.04em;
}

@media (max-width: 900px) {
  .colophon__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .colophon__cols > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .colophon__cols > div:nth-child(n + 3) { border-top: 1px solid var(--rule-dark); }
}
@media (max-width: 720px) {
  .colophon__top { display: block; }
  .seal--footer { margin-bottom: 44px; }
  .seal--footer img { width: 72px; height: 72px; }
  .newsletter__lede { text-indent: 0; }
  .colophon__cols { grid-template-columns: minmax(0, 1fr); }
  .colophon__cols > div,
  .colophon__cols > div:first-child,
  .colophon__cols > div:nth-child(3) { padding: 18px 0 20px; border-left: 0; }
  .colophon__cols > div + div { border-left: 0; border-top: 1px solid var(--rule-dark); }
  .colophon__cols > div { display: grid; grid-template-columns: 40% 1fr; gap: 12px; align-items: baseline; }
  .colophon__cols dt { margin: 0; }
  .colophon__base { flex-direction: column; }
}

/* ==========================================================================
   Mobile WhatsApp tab
   ========================================================================== */

.wa-tab {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  display: none;
  padding: 16px 16px;
  background: var(--light-gold);
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 300ms ease, transform 300ms var(--ease), visibility 0s linear 300ms;
}
.wa-tab:hover { color: var(--ink); background: var(--ivory); }
@media (max-width: 720px) {
  .wa-tab { display: block; }
  .wa-tab.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 300ms ease, transform 300ms var(--ease), visibility 0s;
  }
}

/* ==========================================================================
   Reveal on scroll: fade and rise 12px, once
   ========================================================================== */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
  transition-delay: var(--d, 0ms);
}
.js .index__row[data-reveal].is-in,
.js .path[data-reveal].is-in {
  transition: opacity 700ms var(--ease), transform 700ms var(--ease), background-color 250ms ease, color 250ms ease;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .hero__title .line > span { transform: none; }
  .cover, .cover:hover { transform: rotate(-2deg); }
}
