/* ============================================================
   WTMM — STYLES
   Typefaces: Playfair Display (serif) + DM Sans (sans)
   Colors: White · Off-white · Cream · Red
   ============================================================ */

/* ── Custom Properties ─────────────────────────────────── */
:root {
  --white:       #FFFFFF;
  --off-white:   #F5F0EA;
  --cream:       #EAE3D8;
  --cream-deep:  #D9D0C5;
  --red:         #C41830;
  --red-dark:    #9E1026;
  --black:       #111111;
  --dark:        #1C1C1C;
  --gray:        #555555;
  --gray-mid:    #888888;
  --gray-light:  #BBBBBB;
  --border:      rgba(0, 0, 0, 0.09);

  --serif:       'Playfair Display', Georgia, serif;
  --sans:        'DM Sans', system-ui, sans-serif;

  --container:   1200px;
  --gutter:      clamp(24px, 5vw, 64px);

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Scroll progress bar ───────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--red);
  z-index: 200;
  will-change: width;
  pointer-events: none;
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
html { overflow-x: hidden; }
body { font-family: var(--sans); font-size: 17px; line-height: 1.75; color: var(--black); background: var(--off-white); overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ol, ul { list-style: none; }

/* ── Base Typography ────────────────────────────────────── */
em { color: var(--red); font-style: italic; }
.nav-logo i,
.footer i { font-style: italic; color: inherit; }

h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.1; font-weight: 700; }

h4 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 20px;
}

p + p { margin-top: 1.25em; }
p + h4 { margin-top: 40px; }

/* ── Layout ─────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(80px, 12vw, 160px);
}

/* ── Eyebrow ────────────────────────────────────────────── */
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
}

/* ── Section Headline ───────────────────────────────────── */
.section-headline {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--black);
  margin-bottom: 32px;
}

.section-intro {
  font-size: 18px;
  line-height: 1.7;
  color: var(--gray);
  max-width: 680px;
  margin-bottom: 16px;
}

.section-intro + .section-intro { margin-top: 0; }

.section-close {
  margin-top: 80px;
  font-size: 18px;
  line-height: 1.75;
  color: var(--gray);
  max-width: 680px;
  border-top: 1px solid var(--border);
  padding-top: 48px;
}

/* ── Button ─────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
  border: 1.5px solid var(--black);
  padding: 14px 36px;
  transition: background 0.22s var(--ease-out), color 0.22s var(--ease-out), border-color 0.22s var(--ease-out);
  cursor: pointer;
  will-change: transform;
}

.btn:hover {
  background: var(--black);
  color: var(--white);
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  background: transparent;
}

.nav.scrolled {
  background: rgba(245, 240, 234, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--black);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-link {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--dark);
  opacity: 0.75;
  transition: opacity 0.2s ease, color 0.2s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--red);
  transition: width 0.25s var(--ease-out);
}

.nav-link:hover {
  opacity: 1;
  color: var(--black);
}

.nav-link:hover::after { width: 100%; }

.nav-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 36px;
}

.nav-menu-btn span {
  display: block;
  height: 1.5px;
  background: var(--red);
  transform-origin: center;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-menu-btn.active span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav-menu-btn.active span:last-child  { transform: translateY(-3.75px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: linear-gradient(to bottom, var(--off-white) 52%, var(--red) 52%);
  padding-top: 120px;
  padding-bottom: 80px;
}

.hero-inner {
  max-width: 1100px;
  width: 100%;
}

.hero-eyebrow {
  margin-bottom: 28px;
  text-align: center;
}

/* ── Hero stage: headline behind, image in front ── */
.hero-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 72px;
}

.hero-headline {
  font-family: var(--serif);
  font-size: clamp(40px, 8.5vw, 140px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--black);
  text-align: center;
  position: relative;
  z-index: 1;
  margin-bottom: 0;
  width: 100%;
}

.headline-accent {
  color: var(--red);
  font-weight: 800;
}

.hero-img-wrap {
  position: relative;
  z-index: 2;
  margin-top: clamp(-40px, -3vw, -60px);
  width: 100%;
  max-width: 1200px;
  pointer-events: none;
}


.hero-img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.hero-img-note {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.45);
  text-align: center;
  margin-top: 0;
  margin-bottom: 20px;
}

/* ── Content below the image ── */
.hero-lower {
  max-width: 640px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-subheadline {
  font-family: var(--serif);
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 400;
  line-height: 1.7;
  color: #6B0010;
  margin-bottom: 40px;
  max-width: 680px;
  text-align: center;
}

/* words start dark red — GSAP animates to cream */
.hero-subheadline .word {
  display: inline;
  transition: none;
}

/* prevent global em:red from fighting GSAP */
.hero-subheadline em {
  color: inherit;
  font-style: italic;
}

/* button + trust line on red background */
.hero-lower .btn {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.hero-lower .btn:hover {
  background: var(--white);
  color: var(--red);
  border-color: var(--white);
}

.hero-lower .trust-line {
  color: rgba(255, 255, 255, 0.4);
}

.hero-body {
  display: none;
}

.hero-cta-wrap {
  display: flex;
  justify-content: center;
}

.trust-line {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--gray-mid);
  letter-spacing: 0.02em;
  margin: 0;
}

/* ============================================================
   WHY IT MATTERS
   ============================================================ */
.why { background: var(--white); padding-bottom: 0; }

.why-img-wrap { margin-top: 12px; line-height: 0; text-align: center; }

.why-img { width: 50%; display: inline-block; height: auto; opacity: 0.9; }

.why .eyebrow { text-align: center; }

.why .section-headline {
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: 56px;
  text-align: center;
}

.why-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5em;
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
}

.why-col { display: contents; }

.why-col p { color: var(--gray); font-size: 17px; line-height: 1.8; }

.why-close {
  font-family: var(--serif);
  font-size: 20px;
  font-style: italic;
  color: var(--dark);
}

/* ============================================================
   THE CANON
   ============================================================ */
.canon { background: var(--off-white); }

.canon .eyebrow,
.canon .section-headline,
.canon .section-intro {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.canon .section-intro { margin-bottom: 64px; }

/* ── Card Stack ─────────────────────────────────────────── */
.card-stack-wrap {
  margin-top: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}

.stack-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(320px, 80vw);
}

.stack-hint {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-mid);
}

.stack-arrows {
  display: flex;
  align-items: center;
  gap: 10px;
}

.stack-arrow {
  background: none;
  border: 1.5px solid var(--border);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 15px;
  color: var(--black);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  line-height: 1;
}

.stack-arrow:hover:not(:disabled) {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.stack-arrow:disabled { opacity: 0.25; cursor: not-allowed; }

.stack-page {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--gray-mid);
  min-width: 40px;
  text-align: center;
  letter-spacing: 0.04em;
}

/* ── Portrait card stack ── */
.card-stack {
  position: relative;
  width: min(340px, 84vw);
  height: 500px;
  cursor: pointer;
  user-select: none;
  overflow: visible;
}

/* ── Each card: 3D flip container ── */
.master-card {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  will-change: transform;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.card-front,
.card-back {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 36px rgba(0, 0, 0, 0.16);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* ── Card front ── */
.card-front {
  background: var(--white);
  display: flex;
  flex-direction: column;
}

.cf-portrait {
  flex: 1;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 28px 28px 0;
}

.cf-portrait img {
  width: 88%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  filter: grayscale(100%);
  opacity: 0.85;
}

.cf-initials {
  font-family: var(--serif);
  font-size: 4.5rem;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cf-info {
  padding: 16px 20px 20px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  background: var(--white);
}

.cf-name {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-bottom: 5px;
}

.cf-tag {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
}

/* ── Card back ── */
.card-back {
  background: var(--red);
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  justify-content: center;
}

.cb-name {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.cb-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.22);
  margin-bottom: 18px;
  flex-shrink: 0;
}

.cb-quote {
  font-family: var(--serif);
  font-size: 14px;
  font-style: italic;
  color: var(--white);
  line-height: 1.55;
  margin-bottom: 16px;
}

.cb-bio {
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.65);
}

/* ============================================================
   FRAMEWORKS
   ============================================================ */
.frameworks { background: var(--white); padding-bottom: 0; }

.frameworks .eyebrow,
.frameworks .section-headline,
.frameworks .section-intro { text-align: center; margin-left: auto; margin-right: auto; }

.frameworks .section-intro { margin-bottom: 80px; }

.fw-tabs { justify-content: center; }

.fw-card {
  border-top: 1px solid var(--border);
  padding-block: 64px;
}

.fw-card-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 32px;
}

.fw-insight {
  padding-right: 48px;
  border-right: 2px solid var(--red);
}

.fw-card-quote {
  padding-left: 48px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.fw-card-quote::before {
  content: "The principle";
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}

.fw-meta {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  margin-bottom: 28px;
}

.fw-num {
  font-family: var(--serif);
  font-size: clamp(64px, 8vw, 112px);
  font-weight: 800;
  color: rgba(0, 0, 0, 0.05);
  line-height: 1;
  flex-shrink: 0;
  user-select: none;
  margin-top: -8px;
}

.fw-name {
  font-family: var(--serif);
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--black);
  margin-bottom: 6px;
}

.fw-attr {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--gray-mid);
  letter-spacing: 0.02em;
}

.fw-use {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--gray-mid);
  letter-spacing: 0.04em;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.fw-use::before {
  content: "Best for — ";
  color: var(--red);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 10px;
}

.fw-principle {
  font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.5;
  color: var(--black);
}

.fw-insight h4 { color: var(--gray-mid); }

.fw-insight p { font-size: 16px; line-height: 1.75; color: var(--gray); }
.fw-insight p + p { margin-top: 1.2em; }

.fw-example {
  background: var(--red);
  border-radius: 12px;
  overflow: hidden;
}

.fw-example-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  padding: 20px 28px;
  cursor: pointer;
  color: rgba(234,227,216,0.75);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.fw-example-toggle:hover { color: var(--cream); }

.fw-example-icon {
  font-size: 22px;
  line-height: 1;
  font-style: normal;
  transition: transform 0.3s ease;
}
.fw-example.open .fw-example-icon { transform: rotate(45deg); }

.fw-example .stages {
  height: 0;
  overflow: hidden;
  transition: height 0.35s ease;
  padding-inline: 28px;
  margin-top: 0;
}

.fw-example p { font-size: 16px; line-height: 1.75; color: var(--cream); }

.fw-full-example {
  margin-top: 24px;
  margin-bottom: 28px;
  padding: 22px 24px;
  background: rgba(255,255,255,0.09);
  border-radius: 8px;
}

.fw-full-example-label {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(234,227,216,0.45);
  margin-bottom: 14px;
}

.fw-full-example p {
  font-style: italic !important;
}

.fw-full-example p + p { margin-top: 10px !important; }

/* Stages */
.stages { margin-top: 24px; display: flex; flex-direction: column; gap: 0; }

.stage {
  border-left: 2px solid rgba(255,255,255,0.25);
  padding: 16px 0 16px 20px;
  transition: border-color 0.2s ease;
}

.stage + .stage { border-top: 1px solid rgba(255,255,255,0.1); }

.stage:hover { border-left-color: rgba(255,255,255,0.7); }

.stage-before { border-left-color: rgba(255,255,255,0.12); }
.stage-before .stage-label { color: rgba(234,227,216,0.45); }

.stage-label {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(234,227,216,0.6);
  margin-bottom: 8px;
}

.stage p {
  font-size: 15px !important;
  line-height: 1.65 !important;
  color: var(--cream) !important;
  font-style: italic;
  font-family: var(--serif);
  margin: 0 !important;
}

.example-note {
  margin-top: 24px !important;
  font-size: 14px !important;
  color: var(--gray-mid) !important;
  font-style: normal !important;
  font-family: var(--sans) !important;
  line-height: 1.65 !important;
}

.fw-quote {
  font-family: var(--serif);
  font-size: clamp(16px, 1.8vw, 20px);
  font-style: italic;
  font-weight: 400;
  color: var(--dark);
  padding: 32px 40px;
  background: var(--off-white);
  border-left: 3px solid var(--red);
  margin: 0;
}

.fw-quote cite {
  display: block;
  font-size: 13px;
  font-style: normal;
  font-family: var(--sans);
  color: var(--gray-mid);
  letter-spacing: 0.04em;
  margin-top: 12px;
}

/* Tabs */
.fw-tabs {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid var(--border);
  margin-bottom: 48px;
  -webkit-overflow-scrolling: touch;
}

.fw-tabs::-webkit-scrollbar { display: none; }

.fw-tab {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-mid);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 12px 20px;
  margin-bottom: -1px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease;
  flex-shrink: 0;
}

.fw-tab:hover { color: var(--black); }

.fw-tab.active {
  color: var(--black);
  border-bottom-color: var(--red);
  font-weight: 600;
}

/* Carousel */
.fw-carousel { position: relative; }

.fw-carousel-track {
  display: grid;
  overflow: hidden;
}

.fw-carousel-track .fw-card {
  grid-area: 1 / 1;
  min-width: 0;
  border-top: none;
}

.fw-track-outer {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.fw-track-outer .fw-carousel-track {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  transition: height 0.4s ease;
}

.fw-track-outer .fw-carousel-btn {
  flex-shrink: 0;
  margin-top: 80px;
}


.fw-carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--black);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.fw-carousel-btn:hover:not(:disabled) {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.fw-carousel-btn:disabled {
  opacity: 0.28;
  cursor: not-allowed;
}

.fw-carousel-page {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--gray-mid);
  min-width: 48px;
  text-align: center;
}

.fw-layout {
  display: grid;
  grid-template-columns: 1fr;
}

.fw-bottom-img-wrap {
  margin-top: 40px;
  line-height: 0;
  border-radius: 12px;
  overflow: hidden;
}

.fw-bottom-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   QUOTES REVEAL
   ============================================================ */
.quotes-reveal {
  background: var(--red);
  padding-block: 100px;
}

.qr-stage {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 880px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.qr-stage .container {
  flex: 1;
  min-width: 0;
  display: grid;
}

.qr-quote {
  grid-area: 1/1;
  width: 100%;
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
  opacity: 0;
  padding-inline: 24px;
}

.qr-btn {
  flex-shrink: 0;
  background: none;
  border: 1px solid rgba(234,227,216,0.35);
  color: var(--cream);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 0.2s, border-color 0.2s;
}
.qr-btn:hover { opacity: 1; border-color: rgba(234,227,216,0.8); }

.qr-text {
  font-family: var(--serif);
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.7;
  color: var(--cream);
  margin: 0 0 20px;
}

.qr-cite {
  display: block;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(234,227,216,0.5);
  font-style: normal;
}
.qr-cite em { color: inherit; text-transform: none; }

.qr-avatar {
  width: 73px;
  height: 73px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #fff;
  margin: 0 auto 20px;
  background: #fff;
  flex-shrink: 0;
}

.qr-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.qr-avatar--initial {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--red);
  background: #fff;
}


/* ============================================================
   READING LIST
   ============================================================ */
.reading { background: var(--white); }

.reading .eyebrow,
.reading .section-headline,
.reading .section-intro { text-align: center; margin-left: auto; margin-right: auto; }

.reading .section-intro { margin-bottom: 8px; }

.book-list { margin-top: 64px; }

.book-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 40px;
  padding-block: 48px;
  border-top: 1px solid var(--border);
  align-items: start;
}

.book-item:last-child { border-bottom: 1px solid var(--border); }

/* Book cover image */
.book-cover {
  width: 74px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 2px 4px 4px 2px;
  box-shadow: 3px 3px 12px rgba(0, 0, 0, 0.14);
  display: block;
  flex-shrink: 0;
}

/* Book cover placeholder (no image available) */
.book-num {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 74px;
  aspect-ratio: 2 / 3;
  background: var(--cream);
  border-left: 3px solid var(--red);
  border-radius: 2px 4px 4px 2px;
  box-shadow: 3px 3px 12px rgba(0, 0, 0, 0.1);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(0, 0, 0, 0.28);
  padding-bottom: 8px;
  flex-shrink: 0;
}

.book-head {
  display: flex;
  align-items: baseline;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.book-title {
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.01em;
}

.book-meta {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--gray-mid);
  flex-shrink: 0;
}

.book-verdict {
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
  color: var(--red);
  margin-bottom: 16px !important;
}

.book-content p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--gray);
}

.book-idea {
  margin-top: 16px !important;
  font-size: 15px !important;
  color: var(--dark) !important;
  padding: 16px 20px;
  background: var(--off-white);
  border-left: 2px solid var(--red);
}

/* ============================================================
   THE CLOSE
   ============================================================ */
.site-close {
  background: var(--black);
  padding-block: clamp(100px, 14vw, 180px);
}

.site-close .eyebrow { color: rgba(255,255,255,0.4); text-align: center; }

.close-headline {
  font-family: var(--serif);
  font-size: clamp(36px, 5.5vw, 72px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 56px;
  max-width: 900px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.close-headline em { color: rgba(255,255,255,0.5); }

.close-body { max-width: 560px; margin-bottom: 56px; margin-left: auto; margin-right: auto; text-align: center; }

.close-body p {
  font-size: 17px;
  line-height: 1.8;
  color: rgba(255,255,255,0.6);
}

.close-body p + p { margin-top: 1.3em; }

.close-btn {
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
  max-width: 480px;
  text-align: center;
  line-height: 1.5;
  padding: 18px 36px;
  display: inline-block;
}

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

.close-secondary {
  margin-top: 28px;
  font-size: 14px;
  color: rgba(255,255,255,0.35);
}

.close-link {
  color: rgba(255,255,255,0.6);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}
.close-link:hover { color: var(--white); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--off-white);
  border-top: 1px solid var(--border);
  padding-block: 64px;
}

.footer-inner { }

.footer-top {
  display: flex;
  align-items: baseline;
  gap: 32px;
  margin-bottom: 40px;
}

.footer-top .nav-logo {
  font-size: 22px;
}

.footer-tag {
  font-family: var(--serif);
  font-size: 16px;
  font-style: italic;
  color: var(--gray-mid);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.footer-nav a {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--gray);
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.footer-nav a:hover { color: var(--black); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--gray-light);
  letter-spacing: 0.03em;
}

.footer-disclaimer {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.footer-disclaimer p {
  font-family: var(--sans);
  font-size: 11px;
  line-height: 1.75;
  color: var(--gray-light);
  max-width: 760px;
}

.footer-disclaimer p + p { margin-top: 10px; }

.footer-disclaimer strong {
  font-weight: 600;
  color: var(--gray-mid);
}

/* ============================================================
   RESPONSIVE — TABLET (≤ 900px)
   ============================================================ */
@media (max-width: 900px) {

  .nav-links { display: none; }
  .nav-menu-btn { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    position: fixed;
    inset: 72px 0 0 0;
    background: var(--off-white);
    padding: 40px var(--gutter);
    z-index: 99;
    border-top: 1px solid var(--border);
    overflow-y: auto;
  }

  .nav-links.open .nav-link {
    font-size: 28px;
    font-family: var(--serif);
    font-weight: 600;
    letter-spacing: 0;
    opacity: 1;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    width: 100%;
    color: var(--black);
  }

  .nav-links.open .nav-link::after { display: none; }

  .why-body {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .canon-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  }

  .fw-body {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .fw-num { font-size: 72px; }

  .book-item {
    grid-template-columns: 56px 1fr;
    gap: 24px;
  }

  .book-num { font-size: 2.5rem; }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 600px)
   ============================================================ */
@media (max-width: 600px) {

  body { font-size: 16px; }

  .hero { padding-top: 100px; }
  .hero-stage { margin-bottom: 32px; }
  .hero-subheadline { font-size: 18px; }
  .hero-cta-wrap { flex-direction: column; align-items: center; gap: 20px; }

  .section { padding-block: clamp(64px, 12vw, 100px); }

  /* Why section */
  .why { padding-bottom: 0; }
  .why-body { grid-template-columns: 1fr; gap: 0; }
  .why-col:first-child { margin-bottom: 0; }
  .why-img { width: 100%; display: block; }

  /* Canon */
  .canon-grid { grid-template-columns: 1fr; }

  /* Frameworks */
  .frameworks .section-intro { margin-bottom: 48px; }
  .fw-tabs { justify-content: flex-start; }
  .fw-track-outer .fw-carousel-btn { display: none; }
  .fw-card { padding-block: 36px; }
  .fw-meta { gap: 16px; margin-bottom: 20px; }
  .fw-num { font-size: 56px; }
  .fw-card-body { grid-template-columns: 1fr; margin-bottom: 24px; }
  .fw-insight { padding-right: 0; border-right: none; border-bottom: 2px solid var(--red); padding-bottom: 24px; margin-bottom: 24px; }
  .fw-card-quote { padding-left: 0; }
  .fw-example-toggle { padding: 18px 20px; }
  .fw-example .stages { padding-inline: 20px; }
  .fw-full-example { padding: 18px 20px; margin-bottom: 20px; }
  .fw-bottom-img-wrap { margin-top: 24px; border-radius: 8px; }

  /* Quotes reveal */
  .qr-stage { gap: 16px; }
  .qr-quote { opacity: 1 !important; display: none; padding-inline: 0; }
  .qr-quote.qr-active { display: block; }

  /* Reading list */
  .book-item {
    grid-template-columns: 80px 1fr;
    gap: 20px;
    padding-block: 32px;
  }
  .book-num { font-size: 2rem; }
  .book-head { flex-direction: column; gap: 4px; }

  /* Close */
  .close-headline { font-size: clamp(28px, 8vw, 44px); }
  .close-btn { padding: 16px 24px; font-size: 12px; }

  /* Footer */
  .footer-top { flex-direction: column; gap: 12px; }
  .footer-bottom { flex-direction: column; }
}

/* ============================================================
   ANIMATIONS — Initial states (GSAP will animate from these)
   ============================================================ */
.hero-eyebrow,
.hero-headline,
.hero-subheadline,
.hero-body,
.hero-cta-wrap {
  will-change: transform, opacity;
}

.canon-card,
.fw-card,
.book-item {
  will-change: transform, opacity;
}
