:root {
  --ink: #1f1711;
  --ink-2: #3a2b20;
  --crust: #b77431;
  --dark-crust: #7f431b;
  --butter: #f2d38a;
  --flour: #fff4df;
  --cream: #f8ead0;
  --card: rgba(255, 244, 223, 0.08);
  --line: rgba(255, 244, 223, 0.18);
  --muted: rgba(255, 244, 223, 0.72);
  --shadow: rgba(0, 0, 0, 0.28);
  --radius: 28px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--flour);
  background:
    radial-gradient(circle at 18% 8%, rgba(242, 211, 138, 0.22), transparent 29rem),
    radial-gradient(circle at 82% 14%, rgba(183, 116, 49, 0.22), transparent 31rem),
    linear-gradient(135deg, #17100b 0%, #27180f 48%, #120d09 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.23;
  background-image:
    linear-gradient(rgba(255, 244, 223, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 244, 223, 0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at center, black, transparent 82%);
}

a { color: inherit; }
.shell {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 0 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 950;
  letter-spacing: 0;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
}

.mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  position: relative;
  background: radial-gradient(circle at 50% 34%, var(--butter), var(--crust) 64%, var(--dark-crust));
  box-shadow: 0 0 0 5px rgba(255, 244, 223, 0.08), 0 16px 42px var(--shadow);
  flex: 0 0 auto;
}

.mark::before,
.mark::after {
  content: "";
  position: absolute;
  top: 15px;
  width: 13px;
  height: 5px;
  border-top: 2px solid rgba(31, 23, 17, 0.52);
  border-radius: 100%;
}
.mark::before { left: 8px; transform: rotate(-19deg); }
.mark::after { right: 8px; transform: rotate(19deg); }

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.navlink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 850;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}
.navlink:hover {
  transform: translateY(-1px);
  border-color: rgba(242, 211, 138, 0.55);
  background: rgba(255, 244, 223, 0.06);
}

.hero {
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.78fr);
  align-items: center;
  gap: clamp(34px, 6vw, 82px);
  padding: 54px 0 78px;
}

.page-hero {
  padding: clamp(58px, 8vw, 110px) 0 clamp(34px, 5vw, 66px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  padding: 9px 13px;
  border: 1px solid rgba(242, 211, 138, 0.34);
  border-radius: 999px;
  color: var(--butter);
  background: rgba(255, 244, 223, 0.055);
  font-weight: 950;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--butter);
  box-shadow: 0 0 20px rgba(242, 211, 138, 0.95);
}

h1 {
  margin: 0;
  max-width: 960px;
  font-size: clamp(4.1rem, 9.6vw, 9.8rem);
  line-height: 0.9;
  letter-spacing: 0;
  font-weight: 950;
  text-wrap: balance;
}
h1 span {
  display: block;
  color: var(--butter);
  text-shadow: 0 20px 80px rgba(183, 116, 49, 0.28);
}

.page-title {
  font-size: clamp(3.4rem, 8vw, 8rem);
}

.subhead {
  margin: 30px 0 0;
  max-width: 760px;
  color: var(--cream);
  font-size: clamp(1.25rem, 2.25vw, 2rem);
  line-height: 1.12;
  letter-spacing: 0;
  font-weight: 850;
  text-wrap: balance;
}

.bodycopy {
  margin: 20px 0 0;
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.25vw, 1.16rem);
  line-height: 1.62;
}
.bodycopy strong { color: var(--flour); }

.cta-row,
.buy-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  appearance: none;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--butter), var(--crust));
  color: var(--ink);
  text-decoration: none;
  font-weight: 950;
  letter-spacing: 0;
  box-shadow: 0 18px 54px rgba(183, 116, 49, 0.34);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  white-space: nowrap;
}
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 23px 68px rgba(183, 116, 49, 0.43);
}
.button.secondary {
  background: rgba(255, 244, 223, 0.07);
  color: var(--flour);
  border: 1px solid rgba(255, 244, 223, 0.2);
  box-shadow: none;
}
.button.secondary:hover {
  border-color: rgba(242, 211, 138, 0.55);
  box-shadow: none;
}
.button.disabled,
.button.secondary.disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}
.text-link {
  color: var(--cream);
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  text-decoration-color: rgba(242, 211, 138, 0.5);
}

.proofline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
  color: rgba(255, 244, 223, 0.68);
  font-size: 0.93rem;
  font-weight: 750;
}
.proofline span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 244, 223, 0.05);
}

.card {
  position: relative;
  border: 1px solid rgba(242, 211, 138, 0.28);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 244, 223, 0.12), rgba(255, 244, 223, 0.045)),
    rgba(31, 23, 17, 0.62);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(circle at 28% 0%, rgba(242, 211, 138, 0.28), transparent 19rem);
  pointer-events: none;
}
.card > * { position: relative; z-index: 1; }

.book-card { padding: clamp(24px, 4vw, 34px); }
.book {
  position: relative;
  min-height: 380px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 72% 18%, rgba(255, 244, 223, 0.24), transparent 16rem),
    linear-gradient(145deg, #f3d99b 0%, #b87333 46%, #5a2c14 100%);
  color: var(--ink);
  padding: 26px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.42), 0 24px 66px rgba(0,0,0,0.28);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.book.tilt { transform: rotate(-1.4deg); }
.book::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(31, 23, 17, 0.24);
  border-radius: 16px;
  pointer-events: none;
}
.book::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -78px;
  bottom: -94px;
  border-radius: 50%;
  background: rgba(255, 244, 223, 0.18);
  border: 1px solid rgba(31, 23, 17, 0.08);
}
.book-top,
.book-bottom { position: relative; z-index: 1; }
.book-kicker {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.book-title {
  margin: 48px 0 0;
  max-width: 260px;
  font-size: clamp(2.7rem, 5.4vw, 4.6rem);
  line-height: 0.84;
  letter-spacing: 0;
  font-weight: 950;
}
.book-bottom {
  display: grid;
  gap: 8px;
  max-width: 270px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.08;
}
.book-bottom small {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.72;
}

.signup {
  margin-top: 22px;
}
.signup h2 {
  margin: 0 0 10px;
  font-size: clamp(1.45rem, 2.4vw, 2.2rem);
  line-height: 0.98;
  letter-spacing: 0;
}
.signup p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.55;
}
.form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 11px;
}
label.visually-hidden,
.trap {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
input[type="email"],
input[type="text"] {
  width: 100%;
  min-height: 56px;
  padding: 0 16px;
  border: 1px solid rgba(255, 244, 223, 0.18);
  border-radius: 16px;
  background: rgba(255, 244, 223, 0.08);
  color: var(--flour);
  font: inherit;
  font-weight: 800;
  outline: none;
}
input[type="email"]::placeholder { color: rgba(255, 244, 223, 0.45); }
input[type="email"]:focus {
  border-color: rgba(242, 211, 138, 0.72);
  box-shadow: 0 0 0 4px rgba(242, 211, 138, 0.12);
}
.form .button { width: 100%; }
.status {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  font-weight: 850;
  line-height: 1.35;
}
.status.success { color: #142016; background: #dff1bd; }
.status.error { color: #2b1009; background: #ffd3bf; }
.tiny {
  margin-top: 13px;
  color: rgba(255, 244, 223, 0.58);
  font-size: 0.82rem;
  line-height: 1.45;
}

.below { padding: 6px 0 92px; }
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.tile,
.catalog-card,
.detail-panel {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 244, 223, 0.055);
  padding: 22px;
}
.tile { min-height: 210px; }
.tile .num,
.catalog-card .num,
.detail-panel .num {
  color: var(--butter);
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
}
.tile h3,
.catalog-card h2,
.detail-panel h2 {
  margin: 24px 0 10px;
  font-size: 1.45rem;
  line-height: 0.98;
  letter-spacing: 0;
}
.tile p,
.catalog-card p,
.detail-panel p,
.detail-panel li {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}
.manifesto {
  margin-top: 16px;
  padding: clamp(25px, 4vw, 42px);
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 30px;
  align-items: end;
}
.manifesto h2 {
  margin: 0;
  font-size: clamp(2.6rem, 5.2vw, 5.8rem);
  line-height: 0.9;
  letter-spacing: 0;
}
.manifesto p {
  margin: 0;
  color: var(--cream);
  font-size: clamp(1.1rem, 1.65vw, 1.45rem);
  line-height: 1.3;
  letter-spacing: 0;
  font-weight: 780;
  max-width: 720px;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-bottom: 88px;
}
.catalog-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}
.catalog-card:hover {
  transform: translateY(-3px);
  border-color: rgba(242, 211, 138, 0.46);
  background: rgba(255, 244, 223, 0.075);
}
.mini-cover {
  min-height: 220px;
  border-radius: 18px;
  padding: 20px;
  color: var(--ink);
  background:
    radial-gradient(circle at 72% 18%, rgba(255, 244, 223, 0.24), transparent 11rem),
    linear-gradient(145deg, #f3d99b 0%, #b87333 46%, #5a2c14 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.42), 0 18px 42px rgba(0,0,0,0.18);
}
.mini-cover strong {
  display: block;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.86;
  letter-spacing: 0;
  max-width: 210px;
}
.mini-cover small {
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.catalog-card h2 {
  font-size: clamp(1.75rem, 2.4vw, 2.25rem);
}
.card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.card-actions .button { min-height: 48px; padding: 0 17px; }

.book-detail {
  display: grid;
  grid-template-columns: minmax(310px, 0.72fr) minmax(0, 1.05fr);
  gap: clamp(26px, 5vw, 66px);
  align-items: start;
  padding: 44px 0 92px;
}
.detail-panel { margin-bottom: 16px; }
.detail-panel h2 { font-size: clamp(1.7rem, 2.5vw, 2.45rem); }
.detail-panel ul {
  margin: 16px 0 0;
  padding-left: 1.2rem;
}
.detail-panel li + li { margin-top: 10px; }
.meta-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 28px 0 0;
}
.meta-strip div {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  background: rgba(255, 244, 223, 0.045);
}
.meta-strip small {
  display: block;
  color: rgba(255, 244, 223, 0.55);
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.72rem;
  margin-bottom: 6px;
}
.meta-strip strong { color: var(--cream); }

.purchase-card {
  padding: 24px;
  margin-top: 18px;
}
.purchase-card h2 { margin: 0 0 10px; }
.purchase-card p { color: var(--muted); line-height: 1.55; }
.purchase-card .buy-row { margin-top: 18px; }

footer {
  padding: 34px 0;
  color: rgba(255, 244, 223, 0.54);
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .hero,
  .book-detail {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 42px;
  }
  .book.tilt { transform: none; }
  .grid,
  .manifesto,
  .catalog-grid,
  .meta-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 24px, var(--max)); }
  .topbar { align-items: flex-start; }
  .nav { gap: 8px; }
  .navlink { min-height: 38px; padding: 0 12px; font-size: 0.78rem; }
  h1 { font-size: clamp(4rem, 22vw, 6.9rem); }
  .page-title { font-size: clamp(3.3rem, 18vw, 6.1rem); }
  .subhead { font-size: 1.34rem; }
  .bodycopy { font-size: 1rem; }
  .proofline span { width: 100%; }
  .book-card { padding: 18px; }
  .book { min-height: 330px; }
  .tile { min-height: auto; }
  .button { width: 100%; white-space: normal; text-align: center; }
}

/* Admin */
.admin-shell { --max: 1320px; }
.admin-main { padding: 44px 0 90px; }
.admin-tabs,
.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 0 0 22px;
}
.nav-button {
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.admin-card {
  border: 1px solid rgba(255, 244, 223, 0.16);
  background: rgba(255, 244, 223, 0.075);
  border-radius: 24px;
  padding: clamp(20px, 3vw, 34px);
  box-shadow: 0 24px 80px rgba(0,0,0,.22);
}
.compact-admin-card {
  max-width: 620px;
  margin: 44px auto 0;
}
.admin-card h1,
.admin-card h2 {
  margin: 0 0 12px;
  line-height: 1.05;
}
.admin-card h1 { font-size: clamp(2rem, 4vw, 3.4rem); }
.admin-card h2 { font-size: clamp(1.35rem, 2.2vw, 2rem); margin-top: 28px; }
.admin-card p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 22px;
}
.admin-layout {
  display: grid;
  grid-template-columns: minmax(240px, 330px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.admin-sidebar { position: sticky; top: 18px; }
.book-list-admin {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}
.admin-book-link {
  display: grid;
  gap: 5px;
  text-decoration: none;
  border: 1px solid rgba(255, 244, 223, 0.14);
  background: rgba(0,0,0,.14);
  border-radius: 16px;
  padding: 14px;
}
.admin-book-link:hover,
.admin-book-link.active {
  border-color: rgba(242, 211, 138, 0.55);
  background: rgba(242, 211, 138, 0.10);
}
.admin-book-link span {
  color: var(--muted);
  font-size: .84rem;
}
.admin-form {
  display: grid;
  gap: 16px;
}
.admin-grid {
  display: grid;
  gap: 16px;
}
.admin-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.admin-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.admin-field {
  display: grid;
  gap: 8px;
}
.admin-field span,
.admin-check {
  font-weight: 850;
  color: var(--flour);
}
.admin-field small {
  color: rgba(255,244,223,.62);
  line-height: 1.4;
}
.admin-field input,
.admin-field textarea,
.admin-field select {
  width: 100%;
  border: 1px solid rgba(255, 244, 223, 0.2);
  border-radius: 14px;
  background: rgba(0,0,0,.24);
  color: var(--flour);
  padding: 12px 13px;
  font: inherit;
  outline: none;
}
.admin-field textarea {
  min-height: 98px;
  resize: vertical;
}
.admin-field input:focus,
.admin-field textarea:focus,
.admin-field select:focus {
  border-color: rgba(242, 211, 138, 0.75);
  box-shadow: 0 0 0 4px rgba(242, 211, 138, 0.12);
}
.admin-check {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin: 4px 0;
}
.admin-check input { width: 18px; height: 18px; }
.danger-card {
  grid-column: 2;
  border-color: rgba(255, 120, 85, 0.32);
  background: rgba(160, 36, 24, 0.13);
}
.danger-button { border-color: rgba(255, 120, 85, .4); }
.status {
  margin-bottom: 18px;
}
@media (max-width: 880px) {
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; }
  .admin-grid.two,
  .admin-grid.three { grid-template-columns: 1fr; }
  .danger-card { grid-column: auto; }
}

/* Video catalog + watch pages */
.video-grid .catalog-card { gap: 20px; }
.video-thumb,
.embed-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 244, 223, 0.16);
  background: rgba(0, 0, 0, 0.26);
}
.video-thumb iframe,
.embed-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-placeholder {
  min-height: 100%;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  text-align: center;
  padding: 24px;
  color: var(--flour);
  background:
    radial-gradient(circle at 30% 18%, rgba(242, 211, 138, 0.18), transparent 14rem),
    linear-gradient(145deg, rgba(255,244,223,.08), rgba(255,244,223,.025));
}
.video-placeholder strong {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1;
}
.video-placeholder span {
  color: var(--muted);
  font-weight: 800;
}
.watch-hero {
  padding: clamp(38px, 6vw, 84px) 0 clamp(28px, 5vw, 58px);
  display: grid;
  gap: clamp(22px, 3.5vw, 38px);
}
.watch-copy-head {
  display: grid;
  gap: 14px;
  max-width: 940px;
}
.watch-copy-head .eyebrow { margin: 0; width: fit-content; }
.watch-title {
  margin: 0;
  max-width: 980px;
  font-size: clamp(3rem, 7.6vw, 7.7rem);
  line-height: .9;
  letter-spacing: 0;
  color: var(--flour);
}
.watch-subhead {
  margin: 0;
  max-width: 780px;
  color: var(--cream);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.45;
  font-weight: 760;
}
.watch-stage {
  position: relative;
  padding: clamp(10px, 1.4vw, 16px);
  border: 1px solid rgba(255, 244, 223, 0.18);
  border-radius: clamp(22px, 3vw, 36px);
  background:
    radial-gradient(circle at 22% 10%, rgba(242, 211, 138, 0.18), transparent 22rem),
    linear-gradient(145deg, rgba(255, 244, 223, 0.105), rgba(255, 244, 223, 0.035));
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.36);
}
.featured-embed {
  border-radius: clamp(16px, 2.4vw, 26px);
  border-color: rgba(255, 244, 223, 0.24);
  background: #050403;
}
.watch-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.watch-after {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .48fr);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 18px;
}
.watch-notes-card,
.watch-book-card {
  display: grid;
  align-content: start;
  gap: 18px;
}
.watch-notes-card .eyebrow,
.watch-book-card .eyebrow { margin: 0; width: fit-content; }
.prominent-copy {
  color: var(--cream);
  font-size: clamp(1.04rem, 1.6vw, 1.18rem);
  font-weight: 720;
}
.watch-note-block {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.watch-note-list {
  margin: 12px 0 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-weight: 730;
  line-height: 1.45;
}
.watch-book-card h2 {
  margin: 0;
  font-size: clamp(2rem, 3.4vw, 3.4rem);
  line-height: .95;
}
.watch-book-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}
.watch-mini-meta {
  display: grid;
  gap: 10px;
}
.watch-mini-meta div {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  background: rgba(255, 244, 223, 0.045);
}
.watch-mini-meta small {
  display: block;
  color: rgba(255, 244, 223, 0.55);
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.72rem;
  margin-bottom: 6px;
}
.watch-mini-meta strong { color: var(--cream); }
.watch-join { margin-top: 18px; }
.signup-wrap {
  margin-top: 18px;
  max-width: 560px;
}
@media (max-width: 980px) {
  .watch-after { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .watch-title { font-size: clamp(2.6rem, 15vw, 4.9rem); }
  .watch-actions .button { width: 100%; }
  .watch-stage { margin-left: -8px; margin-right: -8px; }
}

/* Focused video watch page */
.video-shell {
  --max: 1440px;
}
.video-watch-page {
  padding: clamp(30px, 5vw, 70px) 0 clamp(28px, 4vw, 54px);
  display: grid;
  gap: clamp(18px, 3vw, 32px);
}
.video-watch-head {
  max-width: 980px;
  display: grid;
  gap: 14px;
}
.video-watch-head .eyebrow {
  margin: 0;
  width: fit-content;
}
.video-watch-head h1 {
  max-width: 1040px;
  font-size: clamp(3.1rem, 7.4vw, 8.2rem);
  line-height: .9;
}
.video-watch-subhead {
  margin: 0;
  max-width: 820px;
  color: var(--cream);
  font-size: clamp(1.05rem, 2vw, 1.42rem);
  line-height: 1.42;
  font-weight: 800;
}
.video-player-wrap {
  width: calc(100vw - 36px);
  max-width: 1560px;
  justify-self: center;
  margin-left: 50%;
  transform: translateX(-50%);
  padding: clamp(6px, 0.8vw, 12px);
  border: 1px solid rgba(255, 244, 223, 0.16);
  border-radius: clamp(18px, 2.6vw, 32px);
  background:
    radial-gradient(circle at 20% 12%, rgba(242, 211, 138, 0.12), transparent 22rem),
    rgba(0, 0, 0, 0.24);
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.40);
}
.video-main-player {
  display: block;
  width: 100%;
  max-width: none;
  aspect-ratio: 16 / 9;
  border-radius: clamp(12px, 2vw, 24px);
  border-color: rgba(255, 244, 223, 0.24);
  background: #050403;
}
.video-main-player iframe {
  width: 100% !important;
  height: 100% !important;
}
.video-watch-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}
.video-watch-actions .button,
.video-watch-actions .button.secondary {
  min-width: 220px;
}
.video-detail-copy {
  max-width: 880px;
  margin: 0 0 clamp(24px, 4vw, 48px);
  padding: clamp(22px, 3vw, 38px) 0 0;
  border-top: 1px solid rgba(255, 244, 223, 0.16);
}
.video-detail-copy p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  line-height: 1.68;
  font-weight: 680;
  white-space: pre-line;
}
@media (max-width: 620px) {
  .video-shell {
    width: min(100% - 24px, var(--max));
  }
  .video-watch-head h1 {
    font-size: clamp(2.55rem, 14vw, 4.75rem);
  }
  .video-player-wrap {
    width: calc(100vw - 16px);
    max-width: none;
    margin-left: 50%;
    margin-right: 0;
    transform: translateX(-50%);
    padding: 5px;
    border-radius: 18px;
  }
  .video-watch-actions .button,
  .video-watch-actions .button.secondary {
    width: 100%;
    min-width: 0;
  }
}

/* The Kitchen links */
.button.quiet {
  background: transparent;
  color: var(--flour);
  border: 1px solid transparent;
  box-shadow: none;
}
.button.quiet:hover {
  border-color: rgba(242, 211, 138, 0.38);
  box-shadow: none;
}
.page-actions {
  margin-top: 24px;
}
.kitchen-promo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin: -32px 0 56px;
  padding: 24px;
  border: 1px solid rgba(242, 211, 138, 0.28);
  border-radius: 30px;
  background:
    radial-gradient(circle at 16% 0%, rgba(242, 211, 138, 0.14), transparent 22rem),
    linear-gradient(180deg, rgba(255, 244, 223, 0.11), rgba(255, 244, 223, 0.045)),
    rgba(31, 23, 17, 0.7);
}
.kitchen-promo h2 {
  margin: 0;
  color: var(--flour);
  font-size: clamp(2.1rem, 4.5vw, 4.2rem);
  line-height: 0.94;
}
.kitchen-promo p:not(.eyebrow) {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.2vw, 1.16rem);
  line-height: 1.5;
}
.kitchen-promo-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
@media (max-width: 900px) {
  .kitchen-promo {
    grid-template-columns: 1fr;
    margin-top: 0;
  }
  .kitchen-promo-actions {
    justify-content: flex-start;
  }
}
@media (max-width: 620px) {
  .kitchen-promo-actions .button {
    width: 100%;
  }
}

/* Bread Club set structure */
.home-set-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: -36px 0 64px;
}
.home-set-card {
  min-height: 164px;
  display: grid;
  align-content: space-between;
  gap: 12px;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 244, 223, 0.055);
  padding: 18px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}
.home-set-card:hover {
  transform: translateY(-3px);
  border-color: rgba(242, 211, 138, 0.48);
  background: rgba(255, 244, 223, 0.08);
}
.home-set-card span,
.set-section .num,
.set-head .num {
  color: var(--butter);
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
}
.home-set-card strong {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: .98;
}
.home-set-card small {
  color: var(--muted);
  line-height: 1.42;
  font-weight: 720;
}
.set-overview {
  display: grid;
  gap: 22px;
  padding-bottom: 88px;
}
.set-section {
  border: 1px solid rgba(242, 211, 138, 0.24);
  border-radius: 30px;
  background:
    radial-gradient(circle at 18% 0%, rgba(242, 211, 138, 0.12), transparent 20rem),
    rgba(255, 244, 223, 0.045);
  padding: clamp(20px, 3.3vw, 34px);
}
.set-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: start;
}
.set-head h2 {
  margin: 10px 0 10px;
  font-size: clamp(2.2rem, 5vw, 5.2rem);
  line-height: .9;
  letter-spacing: 0;
}
.set-head p,
.set-short {
  margin: 0;
  max-width: 760px;
  color: var(--cream);
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  line-height: 1.5;
  font-weight: 760;
}
.set-short {
  color: var(--muted);
  margin-top: 12px;
}
.set-books-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}
.book-tile-card h3 {
  margin: 18px 0 10px;
  font-size: clamp(1.55rem, 2.3vw, 2.1rem);
  line-height: .98;
}
.mini-cover.compact {
  min-height: 190px;
}
.mini-cover.compact strong {
  font-size: clamp(1.75rem, 3.2vw, 2.75rem);
}
.set-detail-grid {
  padding-bottom: 44px;
}
.set-page-hero .page-title span {
  max-width: 980px;
  font-size: clamp(2.15rem, 5.2vw, 5.4rem);
}
.set-mates .set-mate-links {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}
.mate-link {
  display: grid;
  gap: 5px;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  background: rgba(255, 244, 223, 0.045);
}
.mate-link:hover,
.mate-link.current {
  border-color: rgba(242, 211, 138, 0.54);
  background: rgba(242, 211, 138, 0.10);
}
.mate-link span {
  color: var(--butter);
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: .72rem;
}
.mate-link strong {
  color: var(--flour);
  font-size: 1.08rem;
}

@media (max-width: 1080px) {
  .home-set-strip,
  .set-books-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .set-head {
    grid-template-columns: 1fr;
  }
  .set-head .button {
    width: fit-content;
  }
}

@media (max-width: 620px) {
  .home-set-strip,
  .set-books-grid {
    grid-template-columns: 1fr;
  }
  .home-set-strip {
    margin-top: 0;
  }
  .set-head .button {
    width: 100%;
  }
}

/* v23: front page button layout fix */
.hero .cta-row,
.kitchen-promo-actions {
  align-items: stretch;
}

.hero .cta-row .button,
.kitchen-promo-actions .button {
  flex: 0 1 auto;
  min-width: 176px;
  min-height: 54px;
  line-height: 1.1;
  text-align: center;
}

.hero .cta-row .button.quiet {
  background: rgba(255, 244, 223, 0.045);
  color: var(--flour);
  border: 1px solid rgba(255, 244, 223, 0.18);
  box-shadow: none;
}

.hero .cta-row .button.quiet:hover {
  border-color: rgba(242, 211, 138, 0.55);
  background: rgba(255, 244, 223, 0.075);
  box-shadow: none;
}

@media (min-width: 901px) {
  .hero .cta-row {
    display: flex;
    width: 100%;
  }

  .hero .cta-row .button {
    width: auto;
  }
}

@media (max-width: 760px) {
  .hero .cta-row,
  .kitchen-promo-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
  }

  .hero .cta-row .button,
  .kitchen-promo-actions .button {
    width: 100%;
    min-width: 0;
    white-space: normal;
  }
}
