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

:root {
  --cream: #faf3e0;
  --hero-cream: #efe4c8;
  --navy: #2e1c0a;
  --red: #d59609;
  --gold: #d59609;
  --brown: #2e1c0a;
  --brown-deep: #1a0f04;
  --bronze: #8a4a0c;
  --navy-dark: color-mix(in srgb, var(--navy) 78%, black 22%);
  --red-dark: color-mix(in srgb, var(--red) 82%, black 18%);
  --gold-dark: color-mix(in srgb, var(--gold) 80%, black 20%);
  --white: var(--cream);
  --off-white: color-mix(in srgb, var(--navy) 3.5%, var(--cream));
  --charcoal: var(--navy);
  --light-gray: color-mix(in srgb, var(--navy) 6%, var(--cream));
  --nav-height: 76px;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 12px);
}

body {
  font-family: 'Times New Roman', Times, Georgia, serif;
  color: var(--charcoal);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

a { color: inherit; }

html.page-loading,
html.page-loading body {
  overflow: hidden;
  height: 100%;
}

/* ─── PAGE LOAD (MagnetBW_animated.svg) ─── */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brown);
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

html.page-loaded .page-loader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader-inner {
  width: min(72vmin, 420px);
  height: min(72vmin, 420px);
}

.page-loader-inner svg {
  width: 100%;
  height: 100%;
  display: block;
}

#page-loader svg path[class^="xdcUuKEJ_"] {
  animation-iteration-count: infinite !important;
  animation-direction: alternate !important;
  animation-fill-mode: both !important;
}

#page-loader svg .loader-title-stroke {
  stroke-dasharray: 7200 7202;
  stroke-dashoffset: 7201;
  paint-order: stroke fill;
  animation: loader_title_stroke 1.75s linear 0.22s infinite alternate;
}

@keyframes loader_title_stroke {
  to { stroke-dashoffset: 0; }
}

@media (prefers-reduced-motion: reduce) {
  #page-loader svg path[class^="xdcUuKEJ_"] {
    animation: none !important;
    stroke-dashoffset: 0 !important;
  }

  #page-loader svg .loader-title-stroke {
    animation: none !important;
    stroke-dashoffset: 0 !important;
    fill: var(--gold);
  }

  .page-loader {
    transition-duration: 0.12s;
  }
}

/* ─── HERO ─── */
.edition-hero {
  position: relative;
  margin-top: var(--nav-height);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 70% 60% at 20% 20%, rgba(213, 150, 9, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 70% at 85% 80%, rgba(213, 150, 9, 0.10) 0%, transparent 60%),
    linear-gradient(160deg,
      color-mix(in srgb, var(--brown) 92%, black 8%) 0%,
      var(--brown) 60%,
      var(--brown-deep) 100%);
  color: var(--gold);
  border-bottom: 1px solid rgba(213, 150, 9, .35);
}

.edition-hero::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 30%, var(--red) 70%, transparent 100%);
  opacity: .55;
  pointer-events: none;
}

.edition-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(56px, 7vw, 112px) clamp(28px, 5vw, 72px) clamp(80px, 9vw, 132px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 300px);
  align-items: center;
  gap: clamp(48px, 7vw, 112px);
}

.edition-hero-text {
  min-width: 0;
  opacity: 0;
  animation: fadeInUp 1s var(--ease-out-expo) 0.2s forwards;
}

.edition-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--gold) 88%, var(--cream) 12%);
  margin-bottom: 18px;
}

.edition-hero-kicker::before {
  content: '';
  width: 36px; height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--gold) 90%, var(--cream) 10%));
}

.edition-hero-title {
  font-family: 'Times New Roman', Times, serif;
  font-weight: 700;
  font-size: clamp(60px, 9.5vw, 132px);
  line-height: .92;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--gold);
  text-shadow: 0 2px 0 rgba(0, 0, 0, .3);
  margin-bottom: 22px;
  overflow-wrap: normal;
  word-break: keep-all;
  white-space: nowrap;
  hyphens: none;
  max-width: 100%;
}

.edition-hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--gold) 70%, var(--cream) 30%);
  margin-bottom: 26px;
}

.edition-hero-meta-dot {
  width: 5px; height: 5px;
  background: var(--red);
  border-radius: 50%;
  display: inline-block;
}

.edition-hero-lede {
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.55;
  color: color-mix(in srgb, var(--gold) 60%, var(--cream) 40%);
  max-width: 58ch;
  font-style: italic;
  margin-bottom: 34px;
}

.edition-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.edition-hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid rgba(46, 28, 10, .18);
  background: color-mix(in srgb, var(--cream) 92%, transparent);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--navy);
  transition: background .25s, border-color .25s, transform .25s, color .25s;
}

.edition-hero-chip::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

.edition-hero-chip:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--cream);
  transform: translateY(-2px);
}

.edition-hero-chip:hover::before { background: var(--red); }

.edition-hero-cover {
  justify-self: center;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 2 / 3;
  position: relative;
  transform: rotate(2.5deg);
  transition: transform .6s var(--ease-out-expo);
  opacity: 0;
  animation: fadeInUp 1.1s var(--ease-out-expo) 0.4s forwards;
  box-shadow:
    0 26px 60px rgba(46, 28, 10, .28),
    0 2px 0 rgba(255, 255, 255, .4) inset;
}

.edition-hero-cover:hover {
  transform: rotate(0deg) scale(1.02);
}

.edition-hero-cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.edition-hero-cover::after { content: none; }

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

/* ─── DIRECTOR'S NOTE / INTRO ─── */
.editors-note {
  background: var(--cream);
  border-bottom: 1px solid rgba(46, 28, 10, .08);
}

/* Variant: transparent banner doodle sits directly behind the note. */
.editors-note--banner {
  position: relative;
  isolation: isolate;
  background-color: var(--cream);
}

/* Banner doodle, recolored to gold via a CSS mask. */
.editors-note--banner::after {
  content: '';
  position: absolute;
  top: 20px;
  right: -40px;
  width: clamp(280px, 38%, 520px);
  aspect-ratio: 1024 / 646; /* matches banner.png */
  background-color: var(--gold);
  -webkit-mask: url('../assets/doodles/banner.png') no-repeat center / contain;
          mask: url('../assets/doodles/banner.png') no-repeat center / contain;
  pointer-events: none;
  z-index: 0;
}

.editors-note--banner .editors-note-inner {
  position: relative;
  z-index: 2;
}

@media (max-width: 700px) {
  .editors-note--banner::after {
    top: 16px;
    right: -30px;
    width: clamp(220px, 60%, 360px);
  }
  .editors-note--banner .editors-note-inner {
    padding-top: clamp(140px, 32vw, 220px);
  }
}

.editors-note--banner .editors-note-inner {
  position: relative;
  z-index: 2;
}

.editors-note-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(60px, 7vw, 110px) clamp(28px, 5vw, 56px);
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(46, 28, 10, .55);
  margin-bottom: 14px;
}

.section-eyebrow::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--red);
}

.editors-note-title {
  font-family: 'Times New Roman', Times, serif;
  font-weight: 700;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.08;
  color: var(--navy);
  letter-spacing: .01em;
  margin-bottom: 24px;
}

.editors-note-body {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.75;
  color: rgba(46, 28, 10, .86);
  column-gap: 40px;
}

.editors-note-body p + p { margin-top: 18px; }

.editors-note-sig {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(46, 28, 10, .12);
  font-size: 14px;
  color: rgba(46, 28, 10, .7);
}

.editors-note-sig strong {
  display: block;
  font-size: 15px;
  color: var(--navy);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* ─── TABLE OF CONTENTS ─── */
.toc {
  background: var(--hero-cream);
  border-bottom: 1px solid rgba(46, 28, 10, .08);
}

.toc-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(52px, 6vw, 88px) clamp(28px, 5vw, 72px);
}

.toc-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.toc-head h2 {
  font-family: 'Times New Roman', Times, serif;
  font-weight: 700;
  font-size: clamp(26px, 3vw, 38px);
  color: var(--navy);
  letter-spacing: .02em;
}

.toc-head-meta {
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(46, 28, 10, .5);
}

.toc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.toc-card {
  position: relative;
  display: block;
  padding: 28px 26px 30px;
  background: var(--cream);
  border: 1px solid rgba(46, 28, 10, .1);
  text-decoration: none;
  color: var(--navy);
  overflow: hidden;
  transition: transform .3s var(--ease-out-expo), box-shadow .3s var(--ease-out-expo), border-color .3s;
}

.toc-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--gold);
  transition: background .3s;
}

.toc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(46, 28, 10, .14);
  border-color: rgba(46, 28, 10, .2);
}

.toc-card:hover::before { background: var(--red); }

.toc-card-num {
  display: block;
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(46, 28, 10, .5);
  margin-bottom: 12px;
}

.toc-card-title {
  font-family: 'Times New Roman', Times, serif;
  font-weight: 700;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.1;
  letter-spacing: .02em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.toc-card-desc {
  font-size: 14px;
  color: rgba(46, 28, 10, .7);
  line-height: 1.55;
}

.toc-card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--red);
}

.toc-card-arrow svg {
  width: 14px; height: 14px;
  transition: transform .3s var(--ease-out-expo);
}

.toc-card:hover .toc-card-arrow svg { transform: translateX(4px); }

/* ─── SECTIONS ─── */
.edition-section {
  padding: clamp(80px, 8vw, 140px) clamp(28px, 5vw, 72px);
  position: relative;
}

.edition-section--alt {
  background: var(--hero-cream);
  border-top: 1px solid rgba(46, 28, 10, .06);
  border-bottom: 1px solid rgba(46, 28, 10, .06);
}

.edition-section-inner {
  max-width: 1240px;
  margin: 0 auto;
}

.edition-section-header {
  text-align: center;
  margin-bottom: clamp(44px, 5vw, 72px);
}

.edition-section-header .section-eyebrow {
  justify-content: center;
}

.edition-section-header .section-eyebrow::after {
  content: '';
  width: 28px; height: 1px;
  background: var(--red);
}

.edition-section-title {
  font-family: 'Times New Roman', Times, serif;
  font-weight: 700;
  font-size: clamp(44px, 7vw, 92px);
  line-height: 1;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 10px 0 18px;
}

.edition-section-sub {
  max-width: 640px;
  margin: 0 auto;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.6;
  font-style: italic;
  color: rgba(46, 28, 10, .72);
}

/* ─── LITERATURE ─── */
.lit-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid rgba(46, 28, 10, .14);
}

.lit-item {
  position: relative;
  display: grid;
  grid-template-columns: clamp(56px, 7vw, 96px) 1fr clamp(140px, 18vw, 240px);
  align-items: start;
  gap: clamp(16px, 2.4vw, 36px);
  padding: clamp(28px, 3.2vw, 44px) clamp(8px, 1.6vw, 24px);
  border-bottom: 1px solid rgba(46, 28, 10, .14);
  cursor: pointer;
  transition: background .4s var(--ease-out-expo), padding .4s var(--ease-out-expo);
  isolation: isolate;
  overflow: hidden;
}

.lit-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform .5s var(--ease-out-expo);
  z-index: 0;
}

.lit-item:hover {
  background: color-mix(in srgb, var(--gold) 5%, transparent);
  padding-left: clamp(20px, 2.8vw, 40px);
}

.lit-item:hover::before { transform: scaleY(1); }
.lit-item:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}

.lit-index {
  font-family: 'Times New Roman', Times, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1;
  color: var(--gold);
  letter-spacing: .02em;
  padding-top: 6px;
}

.lit-body { min-width: 0; }

.lit-kind {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.lit-kind::after {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: .55;
}

.lit-title {
  font-family: 'Times New Roman', Times, serif;
  font-weight: 700;
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.1;
  color: var(--navy);
  letter-spacing: .01em;
  margin: 0 0 10px;
}

.lit-author {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(46, 28, 10, .65);
  margin-bottom: 16px;
}

.lit-author strong {
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .14em;
}

.lit-author-dot {
  width: 3px; height: 3px;
  background: var(--gold);
  border-radius: 50%;
  display: inline-block;
}

.lit-excerpt {
  font-family: 'Times New Roman', Times, serif;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.65;
  color: rgba(46, 28, 10, .78);
  font-style: italic;
  max-width: 62ch;
  margin: 0 0 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lit-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--navy);
}

.lit-cta-line {
  width: 24px; height: 1px;
  background: var(--navy);
  transition: width .4s var(--ease-out-expo), background .3s;
}

.lit-item:hover .lit-cta { color: var(--gold); }
.lit-item:hover .lit-cta-line {
  width: 40px;
  background: var(--gold);
}

.lit-doodle {
  position: relative;
  align-self: stretch;
  justify-self: stretch;
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lit-doodle img,
.lit-doodle svg {
  max-width: 100%;
  max-height: 180px;
  width: auto;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  opacity: .85;
  transition: transform .6s var(--ease-out-expo), opacity .4s;
  filter: drop-shadow(0 2px 0 rgba(46, 28, 10, .04));
}

.lit-item:hover .lit-doodle img,
.lit-item:hover .lit-doodle svg {
  transform: rotate(-3deg) scale(1.06);
  opacity: 1;
}

.lit-doodle--empty {
  opacity: .35;
  color: var(--gold);
}

.lit-doodle--empty svg {
  mix-blend-mode: normal;
  opacity: .55;
}

.lit-arrow {
  position: absolute;
  right: clamp(10px, 1.6vw, 22px);
  bottom: clamp(10px, 1.6vw, 22px);
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(46, 28, 10, .2);
  background: color-mix(in srgb, var(--cream) 80%, transparent);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  z-index: 2;
  transition: transform .4s var(--ease-out-expo),
              background .3s, border-color .3s, color .3s;
}

.lit-arrow svg { width: 14px; height: 14px; transition: transform .4s var(--ease-out-expo); }

.lit-item:hover .lit-arrow {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--cream);
  transform: rotate(-45deg);
}

@media (max-width: 860px) {
  .lit-item { grid-template-columns: clamp(50px, 8vw, 80px) 1fr clamp(90px, 16vw, 140px); }
  .lit-doodle img, .lit-doodle svg { max-height: 130px; }
}

@media (max-width: 600px) {
  .lit-item {
    grid-template-columns: clamp(36px, 9vw, 52px) 1fr clamp(70px, 22vw, 96px);
    gap: 12px;
    padding: 24px 4px;
  }
  .lit-doodle {
    min-height: 0;
    align-self: center;
  }
  .lit-doodle img,
  .lit-doodle svg {
    max-height: 88px;
    max-width: 100%;
  }
  .lit-arrow { display: none; }
  .lit-index { font-size: 26px; padding-top: 4px; }
}

@media (max-width: 380px) {
  .lit-item {
    grid-template-columns: clamp(32px, 9vw, 44px) 1fr clamp(56px, 20vw, 76px);
    gap: 10px;
  }
  .lit-doodle img,
  .lit-doodle svg { max-height: 72px; }
}

/* ─── FILM ─── */
.film-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 3vw, 40px);
}

.film-card {
  background: var(--cream);
  border: 1px solid rgba(46, 28, 10, .1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .35s var(--ease-out-expo), box-shadow .35s var(--ease-out-expo);
}

.film-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 60px rgba(46, 28, 10, .18);
}

.film-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, color-mix(in srgb, var(--navy) 80%, var(--red) 20%) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.film-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 35%, rgba(213, 150, 9,.18) 0%, transparent 45%),
    radial-gradient(circle at 75% 65%, rgba(213, 150, 9,.18) 0%, transparent 50%);
  pointer-events: none;
}

.film-thumb-label {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
  color: var(--cream);
}

.film-thumb-label-kicker {
  font-size: 10px;
  letter-spacing: .36em;
  text-transform: uppercase;
  color: rgba(254, 254, 254, .6);
  margin-bottom: 10px;
}

.film-thumb-label-title {
  font-family: 'Times New Roman', Times, serif;
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 32px);
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1.1;
}

.film-play {
  position: absolute;
  z-index: 3;
  top: 50%; left: 50%;
  width: 70px; height: 70px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--red);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 32px rgba(213, 150, 9, .45);
  transition: transform .3s var(--ease-out-expo);
}

.film-card:hover .film-play {
  transform: translate(-50%, -50%) scale(1.08);
}

.film-play svg { width: 24px; height: 24px; margin-left: 3px; }

.film-body { padding: 26px 28px 30px; }

.film-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(46, 28, 10, .55);
  margin-bottom: 10px;
}

.film-meta-dot {
  width: 3px; height: 3px;
  background: var(--gold);
  border-radius: 50%;
}

.film-title {
  font-family: 'Times New Roman', Times, serif;
  font-weight: 700;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 10px;
}

.film-desc {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(46, 28, 10, .75);
  margin-bottom: 16px;
}

.film-credit {
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(46, 28, 10, .55);
  padding-top: 14px;
  border-top: 1px solid rgba(46, 28, 10, .1);
}

.film-credit strong {
  color: var(--navy);
  font-weight: 700;
}

/* ─── ART ─── */
/* Fluid masonry columns so each tile keeps its true aspect ratio (no cropping).
   `column-width` lets the browser pick the best column count for the viewport,
   and `column-fill: balance` keeps the bottoms of all columns roughly even. */
.art-grid {
  column-width: 280px;
  column-gap: 20px;
  column-fill: balance;
  orphans: 1;
  widows: 1;
}

.art-tile {
  position: relative;
  overflow: hidden;
  display: block;
  width: 100%;
  margin: 0 0 20px;
  color: var(--cream);
  text-decoration: none;
  background: linear-gradient(135deg, var(--navy), color-mix(in srgb, var(--navy) 70%, var(--gold) 30%));
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
}

.art-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(213, 150, 9, .28) 0%, transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(213, 150, 9, .24) 0%, transparent 55%);
  transition: transform .8s var(--ease-out-expo);
  z-index: 0;
}

.art-tile:nth-child(2n)::before {
  background:
    radial-gradient(circle at 70% 30%, rgba(254, 254, 254, .2) 0%, transparent 55%),
    radial-gradient(circle at 30% 80%, rgba(46, 28, 10, .4) 0%, transparent 60%);
}

.art-tile:nth-child(3n)::before {
  background:
    radial-gradient(circle at 50% 20%, rgba(213, 150, 9, .3) 0%, transparent 55%),
    radial-gradient(circle at 40% 80%, rgba(213, 150, 9, .26) 0%, transparent 55%);
}

.art-tile-img {
  position: relative;
  width: 100%;
  height: auto;
  display: block;
  z-index: 1;
  transition: transform .8s var(--ease-out-expo);
}

.art-tile:hover .art-tile-img { transform: scale(1.05); }

.art-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, transparent 40%, rgba(46, 28, 10, .85) 100%);
  pointer-events: none;
}

.art-tile-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  padding: 20px 22px;
  transform: translateY(12px);
  transition: transform .45s var(--ease-out-expo);
}

.art-tile:hover .art-tile-caption { transform: translateY(0); }
.art-tile:hover::before { transform: scale(1.08); }

.art-tile-medium {
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(254, 254, 254, .75);
  margin-bottom: 6px;
}

.art-tile-title {
  font-family: 'Times New Roman', Times, serif;
  font-weight: 700;
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.15;
  letter-spacing: .02em;
  margin-bottom: 4px;
}

.art-tile-author {
  font-size: 12px;
  letter-spacing: .1em;
  color: rgba(254, 254, 254, .7);
}

/* Legacy size hints retained as no-ops; columns + image aspect ratio drive layout now. */
.art-tile--lg, .art-tile--md, .art-tile--sm, .art-tile--tall, .art-tile--wide {}

/* ─── CLOSING BAND ─── */
.closing {
  padding: clamp(72px, 8vw, 120px) clamp(28px, 5vw, 72px);
  background: var(--navy);
  color: var(--cream);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.closing::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 20% 30%, rgba(213, 150, 9,.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 70% at 80% 70%, rgba(213, 150, 9,.12) 0%, transparent 60%);
  pointer-events: none;
}

.closing-inner {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

.closing-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--gold) 80%, var(--cream) 20%);
  margin-bottom: 18px;
}

.closing-title {
  font-family: 'Times New Roman', Times, serif;
  font-weight: 700;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.1;
  letter-spacing: .02em;
  margin-bottom: 20px;
}

.closing-text {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.7;
  font-style: italic;
  color: rgba(254, 254, 254, .82);
  margin-bottom: 32px;
}

.closing-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  background: var(--red);
  color: var(--cream);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  border: 1px solid var(--red);
  transition: background .25s, border-color .25s, transform .25s, box-shadow .25s;
  box-shadow: 0 3px 14px rgba(213, 150, 9, .35);
}

.closing-cta:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(213, 150, 9, .42);
}

.closing-cta svg { width: 16px; height: 16px; }

/* ─── SPECIAL THANKS (2024 index–style sponsor strip: companies_slider) ─── */
.special-thanks {
  /* mirrors 2024 --main-background-color */
  padding: clamp(48px, 6vw, 72px) clamp(20px, 4vw, 40px);
  margin-top: 0;
  margin-bottom: 0;
  background: #fffdf7;
  border-top: 1px solid rgba(65, 112, 88, 0.1);
}

.special-thanks-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* ~ .index-theme-subheader (Minion / green) — Georgia stack, no extra font load */
.special-thanks-heading {
  text-align: center;
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 400;
  color: #417058;
  letter-spacing: 0.03em;
  margin-bottom: clamp(28px, 3.5vw, 42px);
}

/* ~ .slider from 2024 index-styles */
.special-thanks-strip {
  position: relative;
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.125);
}

/* ~ .slider::before / ::after edge fades */
.special-thanks-strip::before,
.special-thanks-strip::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: min(200px, 18vw);
  z-index: 2;
  pointer-events: none;
}

.special-thanks-strip::before {
  left: 0;
  background: linear-gradient(to right, #fffdf7 0%, rgba(255, 253, 247, 0) 100%);
}

.special-thanks-strip::after {
  right: 0;
  background: linear-gradient(to left, #fffdf7 0%, rgba(255, 253, 247, 0) 100%);
}

/* flex row instead of Slick — same visual density as .slick-slide + img */
.special-thanks-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  row-gap: 12px;
  padding: clamp(18px, 2.5vw, 26px) min(24px, 3vw);
  background: #fffdf7;
}

.special-thanks-slide {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 clamp(10px, 1.8vw, 20px);
  min-height: 72px;
}

.special-thanks-slide a {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  text-decoration: none;
}

.special-thanks-slide a:focus-visible {
  outline: 2px solid #417058;
  outline-offset: 4px;
  border-radius: 4px;
}

/* ~ .slick-slide img from 2024 index-styles */
.special-thanks-img {
  width: auto;
  height: 70px;
  max-width: min(240px, 42vw);
  margin: 0;
  padding: 0;
  object-fit: contain;
}

.special-thanks-slide--hawk .special-thanks-img {
  height: 70px;
  max-width: min(72px, 20vw);
}

/* ─── FOOTER ─── */
footer#contact {
  padding: 72px clamp(28px, 5vw, 56px) 48px;
  background: var(--off-white);
  text-align: center;
  border-top: 1px solid rgba(46, 28, 10, .08);
}

.footer-title {
  font-family: 'Times New Roman', Times, serif;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 14px;
}

.footer-desc {
  max-width: 620px;
  margin: 0 auto 28px;
  font-size: 15px;
  color: rgba(46, 28, 10, .72);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border: 1px solid rgba(46, 28, 10, .18);
  color: var(--navy);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: background .25s, border-color .25s, color .25s, transform .25s;
}

.footer-link:hover {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
  transform: translateY(-2px);
}

.footer-link svg { width: 16px; height: 16px; }

.footer-divider {
  width: 80px;
  height: 1px;
  background: rgba(46, 28, 10, .18);
  margin: 0 auto 20px;
}

.footer-copyright {
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(46, 28, 10, .45);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1080px) {
  .toc-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .edition-hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .edition-hero-kicker { justify-content: center; }
  .edition-hero-lede { margin-left: auto; margin-right: auto; }
  .edition-hero-chips { justify-content: center; }

  .edition-hero-cover {
    order: -1;
    max-width: 260px;
    margin: 0 auto 24px;
  }

  .toc-grid { grid-template-columns: 1fr; }

  .film-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .edition-hero-title { font-size: clamp(48px, 15vw, 82px); white-space: nowrap; }
  .edition-section { padding: 72px 20px; }
  .editors-note-inner { padding: 56px 22px; }
  .toc-inner, .closing, .special-thanks { padding-left: 22px; padding-right: 22px; }
  .film-body { padding: 22px 22px 26px; }
  .art-grid { column-width: auto; column-count: 1; }
}

/* ─── INTERACTIVE STATES ─── */
.lit-item,
.film-card,
.art-tile {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.lit-item:focus-visible,
.film-card:focus-visible,
.art-tile:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
}

/* ─── LIGHTBOX ─── */
.lightbox {
  --lightbox-pad: clamp(10px, 3vw, 20px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  z-index: 6000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* Add safe-area on each side — avoid max(base, inset) which skews centering when insets differ */
  padding: var(--lightbox-pad);
  padding-left: calc(var(--lightbox-pad) + env(safe-area-inset-left, 0px));
  padding-right: calc(var(--lightbox-pad) + env(safe-area-inset-right, 0px));
  padding-bottom: calc(var(--lightbox-pad) + env(safe-area-inset-bottom, 0px));
  padding-top: calc(var(--lightbox-pad) + env(safe-area-inset-top, 0px));
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: rgba(46, 28, 10, .72);
  backdrop-filter: blur(8px) saturate(1.1);
  -webkit-backdrop-filter: blur(8px) saturate(1.1);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

body.lightbox-open {
  overflow: hidden;
}

.lightbox-panel {
  position: relative;
  z-index: 1;
  /* Never wider than the padded overlay — min-width:0 lets flex/grid children shrink on mobile */
  width: 100%;
  max-width: min(1600px, 100%);
  min-width: 0;
  flex: 0 1 auto;
  align-self: stretch;
  max-height: calc(100vh - clamp(16px, 3vw, 40px));
  max-height: calc(100dvh - clamp(16px, 3vw, 40px));
  background: var(--cream);
  box-shadow: 0 40px 100px rgba(0, 0, 0, .45);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(24px) scale(.98);
  transition: transform .4s var(--ease-out-expo);
}

.lightbox.is-open .lightbox-panel {
  transform: translateY(0) scale(1);
}

.lightbox-panel::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 30%, var(--red) 70%, transparent 100%);
  opacity: .7;
  pointer-events: none;
  z-index: 3;
}

.lightbox-close {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 4;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(46, 28, 10, .2);
  background: color-mix(in srgb, var(--cream) 92%, transparent);
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s, color .25s, transform .25s, border-color .25s;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  background: var(--red);
  border-color: var(--red);
  color: var(--cream);
  outline: none;
  transform: rotate(90deg);
}

.lightbox-close svg { width: 18px; height: 18px; }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(254, 254, 254, .28);
  background: rgba(46, 28, 10, .42);
  color: var(--cream);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background .25s, transform .25s, border-color .25s;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.lightbox-nav:hover,
.lightbox-nav:focus-visible {
  background: var(--red);
  border-color: var(--red);
  outline: none;
}

.lightbox-nav--prev {
  /* Inset from content box; safe-area already applied via .lightbox padding */
  left: clamp(4px, 1.5vw, 12px);
}
.lightbox-nav--next {
  right: clamp(4px, 1.5vw, 12px);
}

.lightbox-nav--prev:hover { transform: translateY(-50%) translateX(-2px) scale(1); }
.lightbox-nav--next:hover { transform: translateY(-50%) translateX(2px) scale(1); }

.lightbox-nav svg { width: 20px; height: 20px; }

.lightbox-content {
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(46, 28, 10, .3) transparent;
}

.lightbox-content::-webkit-scrollbar { width: 8px; }
.lightbox-content::-webkit-scrollbar-thumb {
  background: rgba(46, 28, 10, .25);
  border-radius: 4px;
}

/* ─── LIGHTBOX: LITERATURE ─── */
.lb-lit {
  min-width: 0;
  max-width: 100%;
  padding: clamp(36px, 5vw, 64px) clamp(28px, 5vw, 72px);
}

/* Title / byline / doodle share one row at the top of the modal */
.lb-lit-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: clamp(20px, 3vw, 40px);
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(46, 28, 10, .12);
}
.lb-lit-head-text { min-width: 0; }
.lb-lit-head .lb-lit-title { margin-bottom: 10px; }
.lb-lit-head .lb-lit-byline {
  margin: 0;
  padding: 0;
  border: none;
}
.lb-lit-head-doodle {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(90px, 14vw, 150px);
  height: clamp(90px, 14vw, 150px);
}
.lb-lit-head-doodle img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  opacity: .9;
  filter: drop-shadow(0 3px 8px rgba(46, 28, 10, .08));
  animation: mg-float 6.5s ease-in-out infinite;
}

@media (max-width: 600px) {
  .lb-lit-head {
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 16px;
  }
  .lb-lit-head-doodle {
    width: 80px;
    height: 80px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lb-lit-head-doodle img { animation: none !important; }
}

.lb-lit-title {
  font-family: 'Times New Roman', Times, serif;
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.1;
  color: var(--navy);
  letter-spacing: .01em;
  margin-bottom: 10px;
}

.lb-lit-byline {
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(46, 28, 10, .6);
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(46, 28, 10, .12);
}

.lb-lit-byline strong {
  color: var(--navy);
  font-weight: 700;
}

.lb-lit-body {
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.8;
  color: rgba(46, 28, 10, .86);
}

/* Prose: blank line in source = new <p>; soft wraps reflow to one paragraph */
.lb-lit-body:not(.lb-lit-body--poem) p.lb-lit-prose {
  margin: 0 0 1.15em;
  text-align: justify;
  hyphens: auto;
}
.lb-lit-body:not(.lb-lit-body--poem) p.lb-lit-prose + p.lb-lit-prose {
  text-indent: 1.66em;
}
.lb-lit-body:not(.lb-lit-body--poem) p.lb-lit-prose:first-of-type {
  text-indent: 0;
}
.lb-lit-body:not(.lb-lit-body--poem) p.lb-lit-prose:last-child {
  margin-bottom: 0;
}
.lb-lit-prose.lb-lit-prose--indented-block {
  text-indent: 0;
  margin-left: 0;
  padding-left: 1.1rem;
  border-left: 3px solid color-mix(in srgb, var(--gold) 55%, rgba(46, 28, 10, .2));
}

/* Poems: blank line in source = new stanza; single newline = line within stanza; tab at line start = indent */
.lb-lit-body--poem p.lb-lit-stanza {
  font-style: italic;
  text-align: left;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.9;
  max-width: 38em;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 1.75em;
}
.lb-lit-body--poem p.lb-lit-stanza:last-child {
  margin-bottom: 0;
}
.lb-lit-body--poem .lb-lit-poemline--indented {
  display: block;
  text-align: left;
  margin: 0.2em 0 0;
  max-width: none;
  padding-left: calc(1.15em * var(--tab-depth, 1));
}

.lb-lit-end {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(46, 28, 10, .12);
  text-align: center;
  font-size: 11px;
  letter-spacing: .4em;
  color: rgba(46, 28, 10, .45);
  text-transform: uppercase;
}

/* ─── LIGHTBOX: FILM ─── */
.lb-film {
  display: flex;
  flex-direction: column;
}

.lb-film-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--navy) 0%, color-mix(in srgb, var(--navy) 80%, var(--red) 20%) 100%);
  overflow: hidden;
}

.lb-film-video::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 35%, rgba(213, 150, 9,.18) 0%, transparent 45%),
    radial-gradient(circle at 75% 65%, rgba(213, 150, 9,.2) 0%, transparent 50%);
  pointer-events: none;
}

.lb-film-video video {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
  display: block;
}

.lb-film-placeholder {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  color: var(--cream);
  pointer-events: none;
}

.lb-film-placeholder-kicker {
  font-size: 11px;
  letter-spacing: .36em;
  text-transform: uppercase;
  color: rgba(254, 254, 254, .65);
  margin-bottom: 10px;
}

.lb-film-placeholder-title {
  font-family: 'Times New Roman', Times, serif;
  font-weight: 700;
  font-size: clamp(24px, 3vw, 38px);
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 14px;
}

.lb-film-placeholder-note {
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(254, 254, 254, .55);
}

.lb-film.is-playing .lb-film-placeholder { display: none; }

.lb-film-body {
  padding: clamp(28px, 4vw, 44px) clamp(28px, 5vw, 56px) clamp(32px, 5vw, 52px);
}

.lb-film-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(46, 28, 10, .6);
  margin-bottom: 12px;
}

.lb-film-meta-dot {
  width: 3px; height: 3px;
  background: var(--gold);
  border-radius: 50%;
}

.lb-film-title {
  font-family: 'Times New Roman', Times, serif;
  font-weight: 700;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 16px;
}

.lb-film-desc {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.7;
  color: rgba(46, 28, 10, .82);
  margin-bottom: 22px;
}

.lb-film-credits {
  padding-top: 18px;
  border-top: 1px solid rgba(46, 28, 10, .12);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px 32px;
}

.lb-film-credit-item {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(46, 28, 10, .55);
}

.lb-film-credit-item strong {
  display: block;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: none;
  color: var(--navy);
  font-weight: 700;
  margin-top: 4px;
}

/* ─── LIGHTBOX: ART ─── */
.lb-art {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr);
  align-items: stretch;
}

.lb-art-visual {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy), color-mix(in srgb, var(--navy) 70%, var(--gold) 30%));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 1.5vw, 24px);
  min-height: 320px;
}

.lb-art-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--art-visual, none);
  z-index: 0;
}

.lb-art-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 25%, rgba(254,254,254,.08) 0%, transparent 55%),
    linear-gradient(180deg, transparent 70%, rgba(46, 28, 10, .35) 100%);
  pointer-events: none;
  z-index: 2;
}

.lb-art-img {
  position: relative;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100vh - clamp(40px, 6vw, 80px));
  object-fit: contain;
  display: block;
  margin: 0 auto;
  z-index: 1;
}

.lb-art-visual-badge {
  position: absolute;
  left: 20px; top: 20px;
  z-index: 2;
  padding: 7px 12px;
  background: rgba(46, 28, 10, .55);
  color: var(--cream);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
}

.lb-art-body {
  padding: clamp(32px, 4vw, 48px) clamp(28px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lb-art-medium {
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--gold) 78%, var(--navy) 22%);
  margin-bottom: 12px;
}

.lb-art-title {
  font-family: 'Times New Roman', Times, serif;
  font-weight: 700;
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 8px;
}

.lb-art-artist {
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(46, 28, 10, .65);
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(46, 28, 10, .12);
  margin-bottom: 18px;
}

.lb-art-statement {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(46, 28, 10, .8);
  font-style: italic;
}

/* Art visual tones (placeholder "paintings") */
.lb-art-visual[data-tone="1"]  { --art-visual: radial-gradient(circle at 30% 32%, rgba(213, 150, 9,.55) 0%, transparent 55%), radial-gradient(circle at 72% 72%, rgba(213, 150, 9,.35) 0%, transparent 55%), linear-gradient(135deg, #2a1a0a 0%, #5a3418 100%); }
.lb-art-visual[data-tone="2"]  { --art-visual: radial-gradient(circle at 75% 25%, rgba(254,254,254,.28) 0%, transparent 55%), radial-gradient(circle at 25% 80%, rgba(46, 28, 10, .55) 0%, transparent 65%), linear-gradient(135deg, #1a1a1a 0%, #3a3a3a 100%); }
.lb-art-visual[data-tone="3"]  { --art-visual: radial-gradient(circle at 50% 30%, rgba(213, 150, 9,.4) 0%, transparent 55%), radial-gradient(circle at 40% 85%, rgba(213, 150, 9,.45) 0%, transparent 55%), linear-gradient(135deg, #001a2e 0%, #002a4a 100%); }
.lb-art-visual[data-tone="4"]  { --art-visual: radial-gradient(circle at 20% 30%, rgba(213, 150, 9,.4) 0%, transparent 50%), radial-gradient(circle at 80% 70%, rgba(213, 150, 9,.3) 0%, transparent 50%), linear-gradient(135deg, #3a2010 0%, #1a0a04 100%); }
.lb-art-visual[data-tone="5"]  { --art-visual: radial-gradient(circle at 60% 40%, rgba(254,254,254,.3) 0%, transparent 55%), radial-gradient(circle at 30% 75%, rgba(213, 150, 9,.4) 0%, transparent 55%), linear-gradient(135deg, #0a1a2a 0%, #203c58 100%); }
.lb-art-visual[data-tone="6"]  { --art-visual: radial-gradient(circle at 45% 25%, rgba(213, 150, 9,.35) 0%, transparent 55%), radial-gradient(circle at 70% 80%, rgba(213, 150, 9,.5) 0%, transparent 55%), linear-gradient(135deg, #2a0810 0%, #4a1820 100%); }
.lb-art-visual[data-tone="7"]  { --art-visual: radial-gradient(circle at 30% 70%, rgba(213, 150, 9,.5) 0%, transparent 55%), radial-gradient(circle at 70% 30%, rgba(254,254,254,.22) 0%, transparent 55%), linear-gradient(135deg, #1a2418 0%, #2c3a28 100%); }
.lb-art-visual[data-tone="8"]  { --art-visual: radial-gradient(circle at 80% 20%, rgba(213, 150, 9,.45) 0%, transparent 55%), radial-gradient(circle at 20% 80%, rgba(46, 28, 10, .6) 0%, transparent 65%), linear-gradient(135deg, #2a1818 0%, #402020 100%); }
.lb-art-visual[data-tone="9"]  { --art-visual: radial-gradient(circle at 50% 50%, rgba(213, 150, 9,.4) 0%, transparent 60%), radial-gradient(circle at 20% 20%, rgba(213, 150, 9,.25) 0%, transparent 55%), linear-gradient(135deg, #0a0a1a 0%, #1a1a2e 100%); }
.lb-art-visual[data-tone="10"] { --art-visual: radial-gradient(circle at 35% 35%, rgba(254,254,254,.3) 0%, transparent 50%), radial-gradient(circle at 75% 70%, rgba(213, 150, 9,.45) 0%, transparent 55%), linear-gradient(135deg, #1a2030 0%, #30405a 100%); }

/* Apply same tones to grid tiles for consistency with lightbox */
.art-tile[data-tone] { background: none; }
.art-tile[data-tone]::before {
  background: var(--art-visual, none);
}
.art-tile[data-tone="1"]  { --art-visual: radial-gradient(circle at 30% 32%, rgba(213, 150, 9,.55) 0%, transparent 55%), radial-gradient(circle at 72% 72%, rgba(213, 150, 9,.35) 0%, transparent 55%), linear-gradient(135deg, #2a1a0a 0%, #5a3418 100%); }
.art-tile[data-tone="2"]  { --art-visual: radial-gradient(circle at 75% 25%, rgba(254,254,254,.28) 0%, transparent 55%), radial-gradient(circle at 25% 80%, rgba(46, 28, 10, .55) 0%, transparent 65%), linear-gradient(135deg, #1a1a1a 0%, #3a3a3a 100%); }
.art-tile[data-tone="3"]  { --art-visual: radial-gradient(circle at 50% 30%, rgba(213, 150, 9,.4) 0%, transparent 55%), radial-gradient(circle at 40% 85%, rgba(213, 150, 9,.45) 0%, transparent 55%), linear-gradient(135deg, #001a2e 0%, #002a4a 100%); }
.art-tile[data-tone="4"]  { --art-visual: radial-gradient(circle at 20% 30%, rgba(213, 150, 9,.4) 0%, transparent 50%), radial-gradient(circle at 80% 70%, rgba(213, 150, 9,.3) 0%, transparent 50%), linear-gradient(135deg, #3a2010 0%, #1a0a04 100%); }
.art-tile[data-tone="5"]  { --art-visual: radial-gradient(circle at 60% 40%, rgba(254,254,254,.3) 0%, transparent 55%), radial-gradient(circle at 30% 75%, rgba(213, 150, 9,.4) 0%, transparent 55%), linear-gradient(135deg, #0a1a2a 0%, #203c58 100%); }
.art-tile[data-tone="6"]  { --art-visual: radial-gradient(circle at 45% 25%, rgba(213, 150, 9,.35) 0%, transparent 55%), radial-gradient(circle at 70% 80%, rgba(213, 150, 9,.5) 0%, transparent 55%), linear-gradient(135deg, #2a0810 0%, #4a1820 100%); }
.art-tile[data-tone="7"]  { --art-visual: radial-gradient(circle at 30% 70%, rgba(213, 150, 9,.5) 0%, transparent 55%), radial-gradient(circle at 70% 30%, rgba(254,254,254,.22) 0%, transparent 55%), linear-gradient(135deg, #1a2418 0%, #2c3a28 100%); }
.art-tile[data-tone="8"]  { --art-visual: radial-gradient(circle at 80% 20%, rgba(213, 150, 9,.45) 0%, transparent 55%), radial-gradient(circle at 20% 80%, rgba(46, 28, 10, .6) 0%, transparent 65%), linear-gradient(135deg, #2a1818 0%, #402020 100%); }
.art-tile[data-tone="9"]  { --art-visual: radial-gradient(circle at 50% 50%, rgba(213, 150, 9,.4) 0%, transparent 60%), radial-gradient(circle at 20% 20%, rgba(213, 150, 9,.25) 0%, transparent 55%), linear-gradient(135deg, #0a0a1a 0%, #1a1a2e 100%); }
.art-tile[data-tone="10"] { --art-visual: radial-gradient(circle at 35% 35%, rgba(254,254,254,.3) 0%, transparent 50%), radial-gradient(circle at 75% 70%, rgba(213, 150, 9,.45) 0%, transparent 55%), linear-gradient(135deg, #1a2030 0%, #30405a 100%); }

@media (max-width: 760px) {
  .lb-art {
    grid-template-columns: 1fr;
  }
  .lb-art-visual { min-height: 0; }
  .lightbox-nav { width: 40px; height: 40px; }
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ─── UNIVERSAL SIMPLE ANIMATIONS ─── */
@keyframes mg-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-3px); }
}
@keyframes mg-breathe {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.015); }
}

/* Keeps vertical centering (translateY(-50%)) — plain mg-breathe breaks position:absolute centering */
@keyframes mg-breathe-lightbox-nav {
  0%, 100% { transform: translateY(-50%) scale(1); }
  50%      { transform: translateY(-50%) scale(1.015); }
}
@keyframes mg-pulse-dot {
  0%, 100% { transform: scale(1);   opacity: 1; }
  50%      { transform: scale(1.4); opacity: .55; }
}
@keyframes mg-pulse-glow {
  0%, 100% { box-shadow: 0 3px 14px rgba(213, 150, 9, .35); }
  50%      { box-shadow: 0 6px 22px rgba(213, 150, 9, .6); }
}
@keyframes mg-shimmer {
  0%   { transform: translateX(-120%) skewX(-18deg); }
  100% { transform: translateX(220%)  skewX(-18deg); }
}
@keyframes mg-spin-slow {
  to { transform: rotate(360deg); }
}
@keyframes mg-pop-in {
  0%   { opacity: 0; transform: translateY(10px) scale(.96); }
  100% { opacity: 1; transform: translateY(0)    scale(1);   }
}
@keyframes mg-wiggle {
  0%, 100% { transform: rotate(0); }
  25%      { transform: rotate(-2deg); }
  75%      { transform: rotate(2deg);  }
}

/* Hero meta dot pulse + hero cover gentle breath */
.edition-hero-meta-dot,
.lit-author-dot,
.film-meta-dot,
.lb-film-meta-dot {
  animation: mg-pulse-dot 2.4s ease-in-out infinite;
}
.edition-hero-cover {
  animation: fadeInUp 1.1s var(--ease-out-expo) 0.4s forwards,
             mg-float 7s ease-in-out 1.6s infinite;
}
.edition-hero-cover:hover { animation-play-state: running, paused; }

/* Hero chips: pop in + press feedback */
.edition-hero-chip {
  animation: mg-pop-in .7s var(--ease-out-expo) both;
}
.edition-hero-chip:nth-child(1) { animation-delay: .7s; }
.edition-hero-chip:nth-child(2) { animation-delay: .8s; }
.edition-hero-chip:nth-child(3) { animation-delay: .9s; }
.edition-hero-chip:nth-child(4) { animation-delay: 1.0s; }
.edition-hero-chip:active { transform: translateY(0) scale(.97); }
.edition-hero-chip::before {
  transition: background .25s, transform .4s var(--ease-out-expo);
}
.edition-hero-chip:hover::before { transform: scale(1.4) rotate(90deg); }

/* TOC cards: idle float + shimmer sweep on hover */
.toc-card {
  position: relative;
  animation: mg-float 6s ease-in-out infinite;
}
.toc-card:nth-child(2) { animation-delay: -2s; }
.toc-card:nth-child(3) { animation-delay: -4s; }
.toc-card:hover { animation-play-state: paused; }
.toc-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(213, 150, 9, .22) 50%, transparent 70%);
  transform: translateX(-120%) skewX(-18deg);
  pointer-events: none;
  z-index: 0;
}
.toc-card:hover::after { animation: mg-shimmer 1s ease-out; }
.toc-card:active { transform: translateY(-2px) scale(.99); }

/* Literature rows: arrow breathe, row lifts on hover via existing hover, add press */
.lit-arrow { animation: mg-breathe 3.2s ease-in-out infinite; }
.lit-item:active { background: color-mix(in srgb, var(--gold) 10%, transparent); }
.lit-index { transition: transform .35s var(--ease-out-expo), color .3s ease; }
.lit-item:hover .lit-index { transform: translateY(-2px) scale(1.06); color: var(--red); }

/* Film cards: idle gentle breath + play button pulse */
.film-card { animation: mg-breathe 6s ease-in-out infinite; }
.film-card:nth-child(2n) { animation-delay: -3s; }
.film-card:hover { animation-play-state: paused; }
.film-card:active { transform: translateY(-3px) scale(.995); }
.film-play { animation: mg-pulse-glow 2.2s ease-in-out infinite; }
.film-card:hover .film-play { animation: mg-pulse-glow 1.1s ease-in-out infinite; }

/* Art tiles: idle breath, shimmer sweep on hover, press feedback */
.art-tile { animation: mg-breathe 7s ease-in-out infinite; }
.art-tile:nth-child(3n)   { animation-delay: -2s; }
.art-tile:nth-child(3n+1) { animation-delay: -4s; }
.art-tile:hover { animation-play-state: paused; }
.art-tile:active { transform: scale(.985); }
.art-tile .art-tile-caption { will-change: transform; }

/* Closing CTA: gentle pulse glow */
.closing-cta { animation: mg-pulse-glow 2.6s ease-in-out infinite; }
.closing-cta:hover { animation-play-state: paused; }
.closing-cta svg { transition: transform .35s var(--ease-out-expo); }
.closing-cta:hover svg { transform: translateX(4px); }
.closing-cta:active { transform: translateY(0) scale(.97); }

/* Footer links: pop in + icon wiggle on hover + press */
.footer-link { animation: mg-pop-in .7s var(--ease-out-expo) both; }
.footer-link:nth-child(1) { animation-delay: .05s; }
.footer-link:nth-child(2) { animation-delay: .15s; }
.footer-link:nth-child(3) { animation-delay: .25s; }
.footer-link svg { transition: transform .35s var(--ease-out-expo); }
.footer-link:hover svg { animation: mg-wiggle .6s ease-in-out; }
.footer-link:active { transform: translateY(0) scale(.97); }

/* Lightbox controls */
.lightbox-close { transition: background .25s, color .25s, transform .35s var(--ease-out-expo), border-color .25s; }
.lightbox-close:active { transform: rotate(90deg) scale(.9); }
.lightbox-nav { animation: mg-breathe-lightbox-nav 3s ease-in-out infinite; }
.lightbox-nav:hover { animation-play-state: paused; }
.lightbox-nav:active {
  transform: translateY(-50%) scale(.92);
  animation: none;
}

/* Section eyebrow underline: gentle width pulse */
.section-eyebrow::before,
.section-eyebrow::after {
  transition: width .45s var(--ease-out-expo);
}
.edition-section-header:hover .section-eyebrow::before,
.edition-section-header:hover .section-eyebrow::after { width: 44px; }

/* Global: give every clickable surface a consistent tap feedback */
a, button, [role="button"] { transition-property: transform, background, color, box-shadow, border-color, opacity; }
a:active, button:active, [role="button"]:active { transition-duration: .08s; }

@media (prefers-reduced-motion: reduce) {
  .edition-hero-meta-dot,
  .lit-author-dot,
  .film-meta-dot,
  .lb-film-meta-dot,
  .edition-hero-cover,
  .toc-card,
  .lit-arrow,
  .film-card,
  .film-play,
  .art-tile,
  .closing-cta,
  .lightbox-nav {
    animation: none !important;
  }
  .lightbox-nav {
    transform: translateY(-50%);
  }
}

/* ─── SECTION "VIEW ALL" CTA ─── */
.section-more {
  display: flex;
  justify-content: center;
  margin-top: clamp(40px, 5vw, 72px);
}
