/* =========================================================
   ZEO STUDIOS — Design System
   Shared across all chapter pages
   ========================================================= */

:root {
  --bg: #EFE9DD;
  --bg-deep: #E5DCC8;
  --bg-warm: #D6C8AC;
  --bg-card: #1A1715;
  --bg-card-2: #2A2520;
  --ink: #1A1715;
  --ink-soft: #6B645B;
  --ink-faint: #A39B8E;
  --line: rgba(26, 23, 21, 0.14);
  --line-soft: rgba(26, 23, 21, 0.08);
  --accent: #A67843;
  --accent-warm: #C9B289;
  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --sans: 'Geist', system-ui, sans-serif;
  --max-w: 1400px;
  --pad-x: 28px;
  --nav-h: 64px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body { overscroll-behavior: none; }
html { scroll-behavior: auto; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-weight: 400;
  line-height: 1.4;
  font-size: 16px;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  opacity: 0;
  transition: opacity 0.5s ease;
}

body.loaded { opacity: 1; }

body.transitioning { opacity: 0; pointer-events: none; }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* Grain overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

main { position: relative; z-index: 2; }

/* =========================================================
   NAV
   ========================================================= */
nav.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(239, 233, 221, 0.78);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line-soft);
}

.logo-wrap { display: flex; align-items: baseline; gap: 8px; text-decoration: none; color: var(--ink); }

.logo {
  font-family: var(--serif);
  font-style: italic;
  font-size: 30px;
  letter-spacing: -0.015em;
  font-weight: 400;
  line-height: 1;
}

.logo-tag {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
}

.nav-right { display: flex; align-items: center; gap: 36px; }

.chapter-counter {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.chapter-counter em {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--ink);
  margin: 0 4px;
}

.nav-menu-btn {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
}

.nav-menu-btn .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
  display: inline-block;
}

/* Drawer menu */
.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  padding: calc(var(--nav-h) + 40px) var(--pad-x) 40px;
  transform: translateY(-100%);
  transition: transform 0.7s cubic-bezier(0.76, 0, 0.24, 1);
  pointer-events: none;
}

.nav-drawer.open {
  transform: translateY(0);
  pointer-events: auto;
}

.nav-drawer ol {
  list-style: none;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  padding-top: 40px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nav-drawer li {
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.nav-drawer li:first-child { border-top: 1px solid var(--line); }

.nav-drawer a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  text-decoration: none;
  color: var(--ink);
  padding: 24px 0;
  font-family: var(--serif);
  font-size: clamp(48px, 8vw, 120px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  font-weight: 400;
  transition: padding-left 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s;
  opacity: 0.55;
}

.nav-drawer a:hover, .nav-drawer a.current {
  padding-left: 32px;
  opacity: 1;
}

.nav-drawer a em { font-style: italic; }

.nav-drawer .num {
  font-family: var(--sans);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.14em;
  font-weight: 500;
  color: var(--ink-soft);
  opacity: 0.6;
}

.nav-drawer .drawer-foot {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  margin-top: 40px;
}

/* =========================================================
   COMMON BLOCKS
   ========================================================= */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--ink-soft);
}

.section-label.sticky-label {
  position: sticky;
  top: 110px;
}

/* =========================================================
   CHAPTER HEADER
   Used at the top of every page below the hero
   ========================================================= */
.chapter-marker {
  padding: 130px 28px 0;
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.chapter-marker .ch-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(28px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink-soft);
}

.chapter-marker .ch-name {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  padding: 50px 0 80px;
  overflow: hidden;
}

.hero-large {
  padding: 40px var(--pad-x) 120px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(56px, 11vw, 180px);
  line-height: 0.95;
  letter-spacing: -0.034em;
  font-weight: 400;
}

.hero-title em { font-style: italic; }

.hero-sub {
  margin-top: 32px;
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--ink-soft);
  max-width: 540px;
  line-height: 1.5;
}

/* Marquee */
.marquee-row {
  display: flex;
  white-space: nowrap;
  font-family: var(--serif);
  font-size: clamp(72px, 14vw, 220px);
  line-height: 0.92;
  letter-spacing: -0.038em;
  font-weight: 400;
  will-change: transform;
}

.marquee-row span { display: inline-block; padding-right: 80px; }

.marquee-row.r1 { animation: marquee 38s linear infinite; }
.marquee-row.r2 {
  animation: marquee-rev 48s linear infinite;
  color: var(--ink-soft);
  font-style: italic;
}
.marquee-row.r3 { animation: marquee 42s linear infinite; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes marquee-rev {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

/* =========================================================
   MEDIA PLACEHOLDERS
   ========================================================= */
.media {
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
  border-radius: 6px;
  color: rgba(239, 233, 221, 0.5);
}

.media.light { background: var(--bg-deep); color: var(--ink); }
.media.warm  { background: var(--bg-warm); color: var(--ink); }
.media.gold  { background: var(--accent-warm); color: var(--ink); }

.media .parallax-inner {
  position: absolute;
  inset: -15%;
  will-change: transform;
}

.media svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.media-label {
  position: absolute;
  bottom: 18px;
  left: 18px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  z-index: 3;
  font-family: var(--sans);
}

.play-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid rgba(239, 233, 221, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  inset: 0;
  margin: auto;
  z-index: 3;
  color: rgba(239, 233, 221, 0.75);
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
}

.media.light .play-icon,
.media.warm .play-icon,
.media.gold .play-icon {
  border-color: rgba(26, 23, 21, 0.32);
  color: rgba(26, 23, 21, 0.75);
}

/* =========================================================
   BIG STATEMENT
   ========================================================= */
.big-statement {
  padding: 80px var(--pad-x) 140px;
  border-top: 1px solid var(--line);
}

.bs-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 80px;
  align-items: start;
}

.bs-text {
  font-family: var(--serif);
  font-size: clamp(34px, 5.2vw, 84px);
  line-height: 1.05;
  letter-spacing: -0.022em;
  font-weight: 400;
  max-width: 1100px;
}

.bs-text em { font-style: italic; }

.bs-text a {
  color: var(--ink);
  text-decoration: none;
  position: relative;
  font-style: italic;
}

.bs-text a::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--ink);
  opacity: 0.5;
}

.bs-text a:hover::after { opacity: 1; }

/* =========================================================
   STICKY STACK CARDS
   ========================================================= */
.stack-section {
  padding: 100px var(--pad-x) 60px;
  border-top: 1px solid var(--line);
}

.stack-head {
  max-width: var(--max-w);
  margin: 0 auto 48px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 40px;
}

.stack-head h2 {
  font-family: var(--serif);
  font-size: clamp(48px, 8vw, 120px);
  line-height: 0.95;
  letter-spacing: -0.032em;
  font-weight: 400;
}

.stack-head h2 em { font-style: italic; }

.stack-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-bottom: 60px;
}

.stack-card {
  position: sticky;
  height: 82vh;
  min-height: 560px;
  border-radius: 8px;
  overflow: hidden;
  padding: 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: var(--bg-deep);
  color: var(--ink);
  margin-bottom: 28px;
  box-shadow: 0 -20px 40px -30px rgba(26, 23, 21, 0.25);
}

.stack-card.var-dark { background: var(--bg-card); color: #EFE9DD; }
.stack-card.var-gold { background: var(--accent-warm); color: var(--ink); }
.stack-card.var-warm { background: var(--bg-warm); color: var(--ink); }

.stack-card:nth-child(1) { top: 90px; }
.stack-card:nth-child(2) { top: 120px; }
.stack-card:nth-child(3) { top: 150px; }
.stack-card:nth-child(4) { top: 180px; }

.stack-media {
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  background: rgba(0,0,0,0.06);
}

.stack-card.var-dark .stack-media { background: rgba(255, 245, 230, 0.06); }

.stack-media svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
}

.stack-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px 8px;
}

.stack-tag {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0.7;
}

.stack-tag::before {
  content: '';
  width: 18px;
  height: 1px;
  background: currentColor;
}

.stack-title {
  font-family: var(--serif);
  font-size: clamp(40px, 4.5vw, 76px);
  line-height: 1.0;
  letter-spacing: -0.022em;
  font-weight: 400;
  margin: 24px 0 28px;
}

.stack-title em { font-style: italic; }

.stack-desc {
  font-size: 16px;
  line-height: 1.5;
  max-width: 460px;
  opacity: 0.8;
  margin-bottom: 32px;
}

.stack-link {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  width: fit-content;
  text-decoration: none;
  color: inherit;
  transition: gap 0.3s;
}

.stack-link:hover { gap: 16px; }

/* =========================================================
   BUTTONS / LINKS
   ========================================================= */
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 18px 32px;
  border: 1px solid var(--ink);
  border-radius: 100px;
  text-decoration: none;
  color: var(--ink);
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  background: transparent;
}

.btn-pill:hover {
  background: var(--ink);
  color: var(--bg);
  padding-right: 40px;
}

.link-underline {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
  display: inline-block;
  transition: opacity 0.3s;
}

.link-underline:hover { opacity: 0.6; }

/* =========================================================
   NEXT CHAPTER FOOTER
   The transition piece between pages
   ========================================================= */
.next-chapter {
  position: relative;
  padding: 0 var(--pad-x);
  border-top: 1px solid var(--line);
  margin-top: 120px;
}

.nc-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 0 100px;
}

.nc-label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
}

.nc-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--ink-soft);
}

.nc-link {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
  text-decoration: none;
  color: var(--ink);
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.nc-link:hover { padding-left: 24px; }

.nc-meta {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 8px;
}

.nc-meta .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 26px;
  color: var(--ink-soft);
  letter-spacing: -0.01em;
}

.nc-meta .tag {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
}

.nc-title {
  font-family: var(--serif);
  font-size: clamp(56px, 10vw, 160px);
  line-height: 0.92;
  letter-spacing: -0.034em;
  font-weight: 400;
}

.nc-title em { font-style: italic; }

.nc-arrow {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1;
  color: var(--ink-soft);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), color 0.3s;
}

.nc-link:hover .nc-arrow {
  transform: translateX(20px);
  color: var(--ink);
}

.nc-preview {
  margin-top: 56px;
  aspect-ratio: 16/7;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

/* =========================================================
   SITE FOOTER (the small one at the very bottom)
   ========================================================= */
.site-foot {
  padding: 40px var(--pad-x);
  border-top: 1px solid var(--line);
  position: relative;
  z-index: 2;
}

.site-foot-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}

.site-foot em {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  letter-spacing: -0.005em;
}

/* =========================================================
   REVEALS
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s ease, transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.in { opacity: 1; transform: translateY(0); }

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* =========================================================
   MOBILE
   ========================================================= */
@media (max-width: 900px) {
  :root { --pad-x: 18px; }
  
  nav.site-nav { padding: 14px 18px; }
  .logo { font-size: 26px; }
  .nav-right { gap: 20px; }
  .chapter-counter { font-size: 10px; }
  
  .nav-drawer { padding: 100px 18px 30px; }
  .nav-drawer a { padding: 18px 0; font-size: clamp(40px, 11vw, 80px); }
  
  .chapter-marker { padding-top: 100px; }
  
  .hero { padding: 30px 0 50px; }
  .hero-large { padding: 30px 18px 70px; }
  
  .big-statement { padding: 60px 18px 90px; }
  .bs-grid { grid-template-columns: 1fr; gap: 24px; }
  .section-label.sticky-label { position: static; }
  
  .stack-section { padding: 70px 18px 40px; }
  .stack-head { flex-direction: column; gap: 18px; align-items: flex-start; }
  
  .stack-card {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
    padding: 28px;
    gap: 22px;
  }
  
  .stack-media { aspect-ratio: 4/3; }
  
  .stack-card:nth-child(1) { top: 80px; }
  .stack-card:nth-child(2) { top: 100px; }
  .stack-card:nth-child(3) { top: 120px; }
  .stack-card:nth-child(4) { top: 140px; }
  
  .next-chapter { padding: 0 18px; margin-top: 80px; }
  .nc-inner { padding: 60px 0 70px; }
  .nc-link { grid-template-columns: 1fr; gap: 18px; }
  .nc-arrow { align-self: flex-end; }
  .nc-preview { aspect-ratio: 16/10; }
  
  .site-foot-inner { flex-direction: column; gap: 12px; }
}

/* =========================================================
   UNIFIED EXPANDING PILL NAV — shared across cream pages
   (art-styles, work, contact use this from styles.css;
    studio + retainer have it inline)
   ========================================================= */
.nav-wrap {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: 320px;
  background: rgba(26, 23, 21, 0.07);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  border-radius: 100px;
  border: 1px solid rgba(26, 23, 21, 0.1);
  box-shadow:
    0 10px 40px rgba(26, 23, 21, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  overflow: hidden;
  transition:
    width 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    border-radius 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-wrap.open { width: 460px; border-radius: 28px; }
.nav-row {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}
.pill-link {
  font-family: var(--mono, 'Geist Mono', ui-monospace, monospace);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(26, 23, 21, 0.78);
  font-weight: 500;
  padding: 16px 24px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
  white-space: nowrap;
}
.pill-link:hover { background: rgba(26, 23, 21, 0.06); color: var(--ink, #1A1715); }
.pill-logo {
  font-family: var(--sans, 'Bricolage Grotesque', system-ui, sans-serif);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.05em;
  color: var(--ink, #1A1715);
  padding: 0 20px;
  line-height: 1;
  text-decoration: none;
}
.nav-panel {
  width: 100%;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 18px;
  transition:
    max-height 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.45s ease,
    padding 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-wrap.open .nav-panel {
  max-height: 620px;
  opacity: 1;
  padding: 14px 18px 22px;
}
.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid rgba(26, 23, 21, 0.14);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 20px;
}
.menu-grid a {
  display: block;
  padding: 16px 12px;
  text-decoration: none;
  color: rgba(26, 23, 21, 0.78);
  font-size: 14px;
  text-align: center;
  border-right: 1px solid rgba(26, 23, 21, 0.14);
  border-bottom: 1px solid rgba(26, 23, 21, 0.14);
  transition: background 0.3s, color 0.3s;
  font-family: var(--sans, 'Bricolage Grotesque', system-ui, sans-serif);
}
.menu-grid a:nth-child(2n) { border-right: none; }
.menu-grid a:nth-last-child(-n+2) { border-bottom: none; }
.menu-grid a:hover { color: var(--ink, #1A1715); background: rgba(26, 23, 21, 0.04); }
.menu-grid a.current { color: var(--ink, #1A1715); background: rgba(26, 23, 21, 0.07); }
.menu-info-row { margin-top: 16px; }
.menu-info-row:first-child { margin-top: 0; }
.menu-info-row .label {
  font-family: var(--mono, 'Geist Mono', ui-monospace, monospace);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(26, 23, 21, 0.5);
  font-weight: 500;
  margin-bottom: 8px;
}
.menu-info-row p,
.menu-info-row a {
  font-size: 15px;
  color: var(--ink, #1A1715);
  text-decoration: none;
  display: block;
  line-height: 1.55;
  font-family: var(--sans, 'Bricolage Grotesque', system-ui, sans-serif);
}

@media (max-width: 700px) {
  .nav-wrap { top: 18px; width: 280px; }
  .nav-wrap.open { width: calc(100vw - 24px); }
  .nav-row { padding: 8px; }
  .pill-link { padding: 12px 18px; font-size: 11px; }
  .pill-logo { font-size: 22px; padding: 0 16px; }
  .nav-panel { padding: 0 14px; }
  .nav-wrap.open .nav-panel { padding: 12px 14px 18px; max-height: 700px; }
}

/* =========================================================
   PAGE TAIL — full-viewport, centered next-chapter
   ========================================================= */
.page-tail {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr;
  padding: 110px 28px 60px;
  text-align: center;
  border-top: 1px solid var(--line);
  box-sizing: border-box;
}

/* Ready when you are — top of section, modest size */
.pt-cta {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-self: center;
}
.pt-cta-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.pt-cta-link {
  font-family: var(--sans);
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 500;
  letter-spacing: -0.022em;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  transition: opacity 0.3s;
}
.pt-cta-link:hover { opacity: 0.6; }
.pt-cta-link .arrow {
  display: inline-block;
  font-size: 0.72em;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.pt-cta-link:hover .arrow { transform: translate(5px, -5px); }

/* Next chapter — vertically centered in the remaining viewport */
.pt-next {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.pt-next-label {
  font-family: var(--sans);
  font-size: clamp(30px, 4vw, 56px);
  font-weight: 500;
  letter-spacing: -0.024em;
  color: var(--ink);
  line-height: 1;
}
.pt-next-title {
  font-family: var(--sans);
  font-size: clamp(36px, 4.8vw, 68px);
  font-weight: 400;
  letter-spacing: -0.028em;
  color: var(--ink-faint);
  text-decoration: none;
  line-height: 1;
  transition: color 0.3s;
}
.pt-next-title:hover { color: var(--ink); }

/* Hide the legacy site copyright bar — page-tail is the new bottom */
.site-foot { display: none; }

@media (max-width: 700px) {
  .page-tail { padding: 90px 20px 40px; }
  .pt-cta-label { margin-bottom: 10px; }
}

