/* ═══════════════════════════════════════════════════════════════
   EDITORIAL SPA / SERVICE TEMPLATE — STYLE
   Aesthetic: editorial fashion/spa magazine, Aesop / Kinfolk / Cereal.
   Palette:   paper cream + warm chocolate text + dusty rose accent.
   Type:      Fraunces (display + body-hybrid) × Italiana (flourish) ×
              Inter (ui).
   Philosophy: whitespace is the luxury; the video carries the warmth;
               the site is the silent frame.
═══════════════════════════════════════════════════════════════ */

:root {
  /* ——— Palette ——————————————————————————————— */
  --paper: #faf7f2; /* warm off-white, like linen paper */
  --paper-deep: #f3ede4; /* one step deeper for subtle surfaces */
  --paper-edge: #eae0d2; /* faint rule-line / border */

  --ink: #1e1712; /* near-black with warmth */
  --ink-soft: #3a2e25; /* for body */
  --ink-muted: rgba(30, 23, 18, 0.55); /* captions, meta */
  --ink-faint: rgba(30, 23, 18, 0.28); /* rules, dots */

  --rose: #c99684; /* dusty rose — ties to video petals */
  --rose-deep: #a07260; /* hover */

  /* ——— Type ——————————————————————————————————— */
  --font-display: "Fraunces", "Georgia", "Times New Roman", serif;
  --font-flourish: "Italiana", "Fraunces", "Georgia", serif;
  --font-ui: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* ——— Motion ——————————————————————————————— */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-slow: 1100ms;
  --dur: 500ms;
  --dur-fast: 220ms;

  /* ——— Layout ——————————————————————————————— */
  --content-max: 1240px;
  --gutter: clamp(1.25rem, 4vw, 4rem);
}

/* ——— Reset / base ————————————————————————— */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  font-feature-settings: "ss01", "liga";
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--ink);
  font-variation-settings:
    "opsz" 144,
    "SOFT" 30,
    "WONK" 0;
}

p {
  margin: 0;
}
ul,
ol,
dl {
  margin: 0;
  padding: 0;
  list-style: none;
}
em,
.italic,
.hero-line-italic {
  font-style: italic;
  font-family: var(--font-display);
  font-variation-settings:
    "opsz" 72,
    "SOFT" 100,
    "WONK" 1;
  font-weight: 400;
}

::selection {
  background: var(--rose);
  color: var(--paper);
}

/* ══════════════════════════════════════════════════════════════
   RULE & EYEBROW — recurring editorial micro-elements
   ══════════════════════════════════════════════════════════════ */
.rule {
  display: inline-block;
  width: 1.75rem;
  height: 1px;
  background: currentColor;
  vertical-align: middle;
  opacity: 0.55;
}

.section-label,
.preface-label,
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* ══════════════════════════════════════════════════════════════
   LINKS — the editorial arrow link
   ══════════════════════════════════════════════════════════════ */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
  position: relative;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--ink);
  transition:
    color var(--dur-fast) var(--ease),
    border-color var(--dur-fast) var(--ease),
    gap var(--dur-fast) var(--ease);
}
.link-arrow svg {
  transition: transform var(--dur-fast) var(--ease);
}
.link-arrow:hover {
  color: var(--rose-deep);
  border-color: var(--rose);
  gap: 0.875rem;
}
.link-arrow:hover svg {
  transform: translate(2px, -2px);
}

.link-arrow-muted {
  color: var(--ink-muted);
  border-color: var(--ink-faint);
}
.link-arrow-muted:hover {
  color: var(--ink);
  border-color: var(--ink);
}

/* ══════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0;
}

@media (min-width: 768px) {
  .hero {
    justify-content: flex-start;
    padding-top: clamp(6rem, 14vh, 10rem);
  }
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
  background: var(--paper);
}

/* A very subtle bottom fade so the hero blends into the preface
   section seamlessly — no harsh transition line. The video is already
   mostly white, so the scrim only darkens text zones very slightly. */
.hero-fade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(250, 247, 242, 0) 0%,
    rgba(250, 247, 242, 0) 62%,
    rgba(250, 247, 242, 0.5) 88%,
    var(--paper) 100%
  );
}

/* ——— Masthead (top nav) — fixed, hidden until scroll ———— */
.masthead {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(1rem, 2vw, 1.5rem) var(--gutter);
  padding-top: calc(clamp(1rem, 2vw, 1.5rem) + env(safe-area-inset-top));
  background: transparent;
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  border-bottom: 1px solid transparent;
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
  transition:
    background var(--dur) var(--ease),
    backdrop-filter var(--dur) var(--ease),
    -webkit-backdrop-filter var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    opacity var(--dur) var(--ease),
    transform var(--dur) var(--ease);
}
.masthead.is-floating {
  background: rgba(250, 247, 242, 0.78);
  backdrop-filter: saturate(1.1) blur(10px);
  -webkit-backdrop-filter: saturate(1.1) blur(10px);
  border-bottom: 1px solid var(--paper-edge);
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.masthead-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 400;
  letter-spacing: -0.005em;
  font-variation-settings:
    "opsz" 36,
    "SOFT" 50;
  transition: opacity var(--dur-fast) var(--ease);
}
.masthead-mark img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}
.masthead-mark:hover {
  opacity: 0.68;
}

.masthead-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
}
.masthead-dot {
  color: var(--ink-faint);
}

.masthead-nav {
  display: inline-flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.5rem);
}
.masthead-link {
  position: relative;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 0.25rem 0;
  transition: color var(--dur-fast) var(--ease);
}
.masthead-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur) var(--ease);
}
.masthead-link:hover {
  color: var(--rose-deep);
}
.masthead-link:hover::after {
  transform: scaleX(1);
}

@media (max-width: 480px) {
  .masthead-nav {
    gap: 1rem;
  }
  .masthead-link {
    font-size: 0.6875rem;
    letter-spacing: 0.14em;
  }
}

/* ——— Hero content (bottom left) ————————————— */
.hero-content {
  position: relative;
  z-index: 5;
  padding: var(--gutter);
  padding-bottom: clamp(2.5rem, 7vh, 5rem);
  max-width: 720px;
}

.hero-eyebrow {
  margin-bottom: 1.75rem;
  color: var(--ink);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7.5vw, 6.5rem);
  line-height: 0.96;
  letter-spacing: -0.035em;
  font-weight: 300;
  color: var(--ink);
  margin-bottom: 2rem;
  font-variation-settings:
    "opsz" 144,
    "SOFT" 30;
}
.hero-line {
  display: block;
  transform-origin: 0 50%;
}
.hero-line-italic {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-variation-settings:
    "opsz" 144,
    "SOFT" 100,
    "WONK" 1;
  color: var(--rose-deep);
  padding-left: clamp(2rem, 8vw, 6rem);
}

.hero-lede {
  font-family: var(--font-display);
  font-size: clamp(1.0625rem, 1.35vw, 1.25rem);
  line-height: 1.55;
  font-weight: 300;
  color: var(--ink-soft);
  max-width: 36ch;
  margin-bottom: 2.5rem;
  font-variation-settings:
    "opsz" 24,
    "SOFT" 40;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

/* ——— Corner mark (issue number) ——————————————— */
.hero-mark {
  position: absolute;
  top: calc(50% + 1rem);
  right: var(--gutter);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-muted);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.hero-mark span:nth-child(2) {
  color: var(--ink-faint);
}

/* ══════════════════════════════════════════════════════════════
   PREFACE — editorial lede between hero and programs
   ══════════════════════════════════════════════════════════════ */
.preface {
  background: var(--paper);
  padding: clamp(5rem, 12vh, 10rem) var(--gutter);
}

.preface-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: left;
}

.preface-label {
  margin-bottom: 2rem;
}

.preface-text {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 2.4vw, 2rem);
  line-height: 1.38;
  font-weight: 300;
  color: var(--ink);
  font-variation-settings:
    "opsz" 48,
    "SOFT" 50;
  letter-spacing: -0.01em;
  max-width: 28ch;
}
.preface-text em {
  color: var(--rose-deep);
}

/* ══════════════════════════════════════════════════════════════
   SECTION HEAD — shared opener for programs + book
   ══════════════════════════════════════════════════════════════ */
.section-head {
  padding: clamp(5rem, 10vh, 8rem) var(--gutter) clamp(3rem, 6vh, 5rem);
  border-top: 1px solid var(--paper-edge);
}

.section-head-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.section-label {
  color: var(--ink-muted);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 6vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  font-weight: 300;
  color: var(--ink);
  font-variation-settings:
    "opsz" 120,
    "SOFT" 30;
}
.section-title span {
  display: block;
}
.section-title .italic {
  color: var(--rose-deep);
  padding-left: clamp(1.5rem, 5vw, 4rem);
}

/* ══════════════════════════════════════════════════════════════
   LEDGER — editorial table of contents
   ══════════════════════════════════════════════════════════════ */
.ledger {
  max-width: var(--content-max);
  margin: 0 auto clamp(4rem, 10vh, 8rem);
  padding: 0 var(--gutter);
  border-top: 1px solid var(--paper-edge);
}

.ledger-row {
  border-bottom: 1px solid var(--paper-edge);
}

.ledger-link {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  grid-gap: clamp(1rem, 3vw, 2.5rem);
  align-items: center;
  padding: clamp(1.5rem, 3vh, 2.25rem) 0;
  color: var(--ink);
  transition:
    color var(--dur-fast) var(--ease),
    padding-left var(--dur) var(--ease);
}
.ledger-link:hover {
  color: var(--rose-deep);
  padding-left: 1rem;
}

.ledger-num {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
  min-width: 2rem;
}

.ledger-name {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.6vw, 2rem);
  line-height: 1;
  font-weight: 400;
  font-variation-settings:
    "opsz" 60,
    "SOFT" 40;
  letter-spacing: -0.015em;
}

.ledger-dots {
  border-bottom: 1px dotted var(--ink-faint);
  height: 1px;
  align-self: center;
  margin-bottom: 0.35rem;
  min-width: 2rem;
}

.ledger-meta {
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.ledger-meta em {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--ink);
  margin-right: 0.375rem;
  font-variation-settings:
    "opsz" 24,
    "SOFT" 100;
}

/* ══════════════════════════════════════════════════════════════
   PROGRAM — individual entry, editorial two-column
   ══════════════════════════════════════════════════════════════ */
.program {
  padding: clamp(4rem, 10vh, 8rem) var(--gutter);
  border-top: 1px solid var(--paper-edge);
}

.program-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}

@media (min-width: 900px) {
  .program-inner {
    grid-template-columns: 240px 1fr;
    gap: clamp(3rem, 8vw, 7rem);
  }
}

/* ——— Side column (number, tag, duration) ————————— */
.program-side {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.program-num {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  font-family: var(--font-display);
  line-height: 1;
}
.program-num span:first-child {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-family: var(--font-ui);
  font-style: normal;
}
.program-num span:last-child {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  font-weight: 300;
  color: var(--ink);
  font-variation-settings:
    "opsz" 144,
    "SOFT" 30;
  letter-spacing: -0.04em;
  margin-top: 0.125rem;
  font-variant-numeric: lining-nums;
}

.program-tag {
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding-top: 1rem;
  border-top: 1px solid var(--paper-edge);
}

.program-duration {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-family: var(--font-display);
  color: var(--ink);
  padding-top: 1rem;
  border-top: 1px solid var(--paper-edge);
}
.program-dur-num {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 300;
  line-height: 1;
  font-variation-settings:
    "opsz" 72,
    "SOFT" 30;
  font-variant-numeric: lining-nums;
}
.program-dur-unit {
  font-style: italic;
  font-size: 0.9375rem;
  color: var(--ink-muted);
  font-variation-settings:
    "opsz" 24,
    "SOFT" 100,
    "WONK" 1;
}

/* ——— Main column ——————————————————————————— */
.program-main {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.program-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  font-weight: 300;
  color: var(--ink);
  font-variation-settings:
    "opsz" 120,
    "SOFT" 30;
}
.program-title .italic {
  color: var(--rose-deep);
}

.program-lede {
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 1.5vw, 1.3125rem);
  line-height: 1.55;
  font-weight: 300;
  color: var(--ink-soft);
  max-width: 52ch;
  font-variation-settings:
    "opsz" 24,
    "SOFT" 40;
}

/* ——— Service list ——————————————————————————— */
.program-list {
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--paper-edge);
  display: flex;
  flex-direction: column;
}

.program-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6875rem 0;
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--ink);
  border-bottom: 1px solid var(--paper-edge);
  line-height: 1.4;
}
.program-list li:last-child {
  border-bottom: none;
}

.program-list li > span:first-child {
  flex: 1;
}

.program-list li > span:last-child {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.8125rem;
  color: var(--ink-muted);
  letter-spacing: 0.01em;
  white-space: nowrap;
  font-variation-settings:
    "opsz" 18,
    "SOFT" 100;
  font-variant-numeric: tabular-nums;
}

.program-list .dot {
  width: 0.25rem;
  height: 0.25rem;
  border-radius: 50%;
  background: var(--ink-faint);
  display: inline-block;
  align-self: center;
}

.program-list .marquee {
  color: var(--ink);
}
.program-list .marquee > span:first-child {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  font-variation-settings:
    "opsz" 24,
    "SOFT" 100;
  color: var(--rose-deep);
}

/* ——— Foot with price + CTA —————————————————— */
.program-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  margin-top: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--ink-faint);
}

.program-price {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.price-amount {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 300;
  line-height: 1;
  color: var(--ink);
  font-variation-settings:
    "opsz" 72,
    "SOFT" 30;
  letter-spacing: -0.02em;
  font-variant-numeric: lining-nums tabular-nums;
}
.price-sep {
  color: var(--ink-faint);
  font-weight: 300;
  margin: 0 0.375rem;
  font-style: normal;
}
.price-note {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.8125rem;
  color: var(--ink-muted);
  letter-spacing: 0.01em;
  font-variation-settings:
    "opsz" 18,
    "SOFT" 100;
}

/* ══════════════════════════════════════════════════════════════
   INTERMEZZO — pull-quote between programs and book
   ══════════════════════════════════════════════════════════════ */
.intermezzo {
  padding: clamp(6rem, 14vh, 12rem) var(--gutter);
  background: var(--paper-deep);
  border-top: 1px solid var(--paper-edge);
  border-bottom: 1px solid var(--paper-edge);
  text-align: center;
  position: relative;
}

.intermezzo-inner {
  max-width: 780px;
  margin: 0 auto;
  position: relative;
}

.intermezzo-mark {
  font-family: var(--font-flourish);
  font-size: clamp(5rem, 12vw, 9rem);
  line-height: 0.6;
  color: var(--rose);
  margin-bottom: 1rem;
  opacity: 0.6;
}

.intermezzo-quote {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.875rem, 4vw, 3.125rem);
  line-height: 1.28;
  letter-spacing: -0.015em;
  font-weight: 300;
  color: var(--ink);
  font-variation-settings:
    "opsz" 96,
    "SOFT" 100,
    "WONK" 1;
}
.intermezzo-quote .italic {
  color: var(--rose-deep);
}

.intermezzo-attr {
  margin-top: 2.5rem;
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* ══════════════════════════════════════════════════════════════
   BOOK
   ══════════════════════════════════════════════════════════════ */
.book {
  padding-bottom: clamp(5rem, 10vh, 8rem);
}

.book-grid {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(3rem, 6vw, 5rem);
}

@media (min-width: 900px) {
  .book-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(4rem, 8vw, 7rem);
  }
}

/* ——— Details (left) ————————————————————————— */
.book-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 4vw, 3rem);
}

@media (min-width: 1100px) {
  .book-details {
    grid-template-columns: repeat(2, 1fr);
  }
}

.book-detail {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  border-top: 1px solid var(--paper-edge);
  padding-top: 1rem;
}
.book-detail dt {
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.book-detail dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.0625rem, 1.3vw, 1.1875rem);
  line-height: 1.35;
  color: var(--ink);
  font-variation-settings:
    "opsz" 24,
    "SOFT" 30;
  font-weight: 400;
}

/* ——— CTA (right) ——————————————————————————— */
.book-cta {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.book-lede {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.45;
  font-weight: 300;
  color: var(--ink);
  font-variation-settings:
    "opsz" 36,
    "SOFT" 40;
  max-width: 40ch;
}

.book-channels {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.channel {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 1rem 1.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--paper-edge);
  font-family: var(--font-ui);
  color: var(--ink);
  transition:
    padding-left var(--dur) var(--ease),
    color var(--dur-fast) var(--ease);
}
.channel:first-child {
  border-top: 1px solid var(--paper-edge);
}

.channel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--paper-edge);
  color: var(--ink);
  flex-shrink: 0;
  transition:
    border-color var(--dur-fast) var(--ease),
    color var(--dur-fast) var(--ease),
    background var(--dur-fast) var(--ease);
}
.channel:hover .channel-icon {
  border-color: var(--rose);
  color: var(--rose-deep);
  background: rgba(201, 150, 132, 0.1);
}

.channel-label {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  font-weight: 400;
  line-height: 1;
  color: var(--ink);
  font-variation-settings:
    "opsz" 36,
    "SOFT" 40;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.channel-detail {
  font-size: 0.8125rem;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  text-align: right;
  padding-right: 1rem;
}

.channel-arrow {
  transition: transform var(--dur-fast) var(--ease);
  color: var(--ink);
}

.channel:hover {
  padding-left: 0.75rem;
  color: var(--rose-deep);
}
.channel:hover .channel-arrow {
  transform: translate(3px, -3px);
}
.channel:hover .channel-label {
  color: var(--rose-deep);
}


/* ══════════════════════════════════════════════════════════════
   COLOPHON (footer)
   ══════════════════════════════════════════════════════════════ */
.colophon {
  background: var(--paper);
  border-top: 1px solid var(--paper-edge);
  padding: clamp(2.5rem, 5vw, 4rem) var(--gutter);
  padding-bottom: calc(clamp(2.5rem, 5vw, 4rem) + env(safe-area-inset-bottom));
}

.colophon-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 700px) {
  .colophon-inner {
    grid-template-columns: auto 1fr auto;
    text-align: left;
    gap: 2.5rem;
  }
}

.colophon-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
  justify-self: center;
}
@media (min-width: 700px) {
  .colophon-mark {
    justify-self: flex-start;
  }
}

.colophon-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.colophon-wordmark {
  font-family: var(--font-display);
  font-size: 1.375rem;
  line-height: 1;
  letter-spacing: -0.015em;
  font-weight: 400;
  color: var(--ink);
  font-variation-settings:
    "opsz" 36,
    "SOFT" 40;
  display: inline-flex;
  gap: 0.25rem;
}
.colophon-wordmark .italic {
  color: var(--rose-deep);
}

.colophon-meta {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: var(--ink-muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  justify-self: center;
  flex-wrap: wrap;
  justify-content: center;
}

.colophon-issue {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.875rem;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
  font-variation-settings:
    "opsz" 18,
    "SOFT" 100,
    "WONK" 1;
  justify-self: center;
}
@media (min-width: 700px) {
  .colophon-issue {
    justify-self: flex-end;
  }
}

/* ══════════════════════════════════════════════════════════════
   REVEAL ANIMATIONS
   Gentle fade-rise — slow enough to feel composed, not flashy
   ══════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity var(--dur-slow) var(--ease-out),
    transform var(--dur-slow) var(--ease-out);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* Hero has its own staggered cascade */
.hero .reveal:nth-of-type(1).in {
  transition-delay: 200ms;
}
.hero .reveal:nth-of-type(2).in {
  transition-delay: 400ms;
}
.hero .reveal:nth-of-type(3).in {
  transition-delay: 800ms;
}
.hero .reveal:nth-of-type(4).in {
  transition-delay: 1000ms;
}

/* Program list items — subtle cascade as the card enters */
.program-list.reveal.in li {
  animation: fadeUp 700ms var(--ease-out) forwards;
  opacity: 0;
}
.program-list.reveal.in li:nth-child(1) {
  animation-delay: 80ms;
}
.program-list.reveal.in li:nth-child(2) {
  animation-delay: 140ms;
}
.program-list.reveal.in li:nth-child(3) {
  animation-delay: 200ms;
}
.program-list.reveal.in li:nth-child(4) {
  animation-delay: 260ms;
}
.program-list.reveal.in li:nth-child(5) {
  animation-delay: 320ms;
}
.program-list.reveal.in li:nth-child(6) {
  animation-delay: 380ms;
}
.program-list.reveal.in li:nth-child(7) {
  animation-delay: 440ms;
}
.program-list.reveal.in li:nth-child(8) {
  animation-delay: 500ms;
}
.program-list.reveal.in li:nth-child(9) {
  animation-delay: 560ms;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — mobile tuning
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  /* Center hero text vertically and horizontally so the copy sits
     in the upper white space instead of at the bottom edge. */
  .hero-content {
    padding: var(--gutter);
    padding-top: calc(var(--gutter) + env(safe-area-inset-top));
    padding-bottom: calc(var(--gutter) + env(safe-area-inset-bottom));
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
  }
  .hero-eyebrow,
  .hero-actions {
    justify-content: center;
  }
  .hero-lede {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-line-italic {
    padding-left: 0;
  }
  .hero-headline {
    font-size: clamp(2.75rem, 11vw, 4.5rem);
  }
  .hero-mark {
    display: none;
  }

  /* Ledger simplified on mobile — no dotted rule, stacked meta */
  .ledger-link {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 0.25rem 1rem;
    padding: 1.25rem 0;
  }
  .ledger-dots {
    display: none;
  }
  .ledger-meta {
    grid-column: 2;
    font-size: 0.75rem;
  }
  .ledger-link:hover {
    padding-left: 0.5rem;
  }

  .program-list li {
    font-size: 0.875rem;
    padding: 0.625rem 0;
  }

  .program-foot {
    gap: 1.25rem;
  }

  .channel {
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto auto;
    gap: 0.25rem 1rem;
    align-items: center;
  }
  .channel-icon {
    grid-column: 1;
    grid-row: 1 / 3;
    width: 38px;
    height: 38px;
    align-self: center;
  }
  .channel-label {
    grid-column: 2;
    grid-row: 1;
  }
  .channel-detail {
    grid-column: 2;
    grid-row: 2;
    text-align: left;
    padding-right: 0;
  }
  .channel-arrow {
    grid-column: 3;
    grid-row: 1 / 3;
    align-self: center;
  }
  .channel:hover {
    padding-left: 0.5rem;
  }

  .colophon-meta {
    font-size: 0.6875rem;
  }
}

/* ══════════════════════════════════════════════════════════════
   REDUCED MOTION
   ══════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .program-list.reveal.in li,
  .hero-line {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ═══════════════════════════════════════════════════════════════
   REVIEWS — optional section
   Enabled only when the HTML block in index.html is uncommented.
═══════════════════════════════════════════════════════════════ */

.reviews {
  padding: clamp(4rem, 9vw, 8rem) 0 clamp(3rem, 6vw, 5rem);
  background: var(--paper);
}

.reviews-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
}

.review {
  margin: 0;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background: var(--paper-deep);
  border: 1px solid var(--paper-edge);
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.review-quote {
  margin: 0;
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-size: clamp(1.0625rem, 1.3vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink);
  font-style: italic;
}

.review-quote::before {
  content: "“";
  font-family: "Italiana", serif;
  font-style: normal;
  font-size: 2.25em;
  line-height: 0;
  vertical-align: -0.35em;
  margin-right: 0.1em;
  color: var(--accent);
  opacity: 0.65;
}

.review-attr {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--paper-edge);
}

.review-name {
  font-family: "Inter", sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.review-meta {
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════════════
   TEAM — optional section
   Enabled only when the HTML block in index.html is uncommented.
═══════════════════════════════════════════════════════════════ */

.team {
  padding: clamp(4rem, 9vw, 8rem) 0 clamp(3rem, 6vw, 5rem);
  background: var(--paper);
}

.team-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
}

.member {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.member-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 2px;
  background: var(--paper-deep);
  filter: grayscale(15%) contrast(0.98);
}

.member-name {
  margin: 0.5rem 0 0;
  font-family: "Fraunces", serif;
  font-weight: 400;
  font-size: clamp(1.125rem, 1.5vw, 1.4rem);
  letter-spacing: -0.005em;
  color: var(--ink);
}

.member-role {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.member-bio {
  margin: 0.25rem 0 0;
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
