/* ==========================================================================
   SLAY Magazine — The Living Issue
   One stylesheet, no framework. Sections follow the page from top to bottom.
   ========================================================================== */

/* ---- Fonts (SIL Open Font License, self-hosted) ------------------------- */
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-opsz.woff2") format("woff2-variations"), url("../fonts/newsreader-opsz.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-opsz-italic.woff2") format("woff2-variations"), url("../fonts/newsreader-opsz-italic.woff2") format("woff2");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-wght.woff2") format("woff2-variations"), url("../fonts/manrope-wght.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
/* Metric-matched fallbacks keep text from jumping when the web fonts arrive. */
@font-face { font-family: "Newsreader Fallback"; src: local("Georgia"); size-adjust: 96%; ascent-override: 92%; descent-override: 24%; }
@font-face { font-family: "Manrope Fallback"; src: local("Arial"); size-adjust: 103%; ascent-override: 102%; descent-override: 29%; }

/* ---- Tokens ------------------------------------------------------------- */
:root {
  --ink: #111111;
  --ink-2: #1b1917;
  --ink-3: #2a2623;
  --paper: #f6f2ea;
  --paper-2: #ede6d9;
  --paper-3: #e3dacb;
  --white: #ffffff;
  --champagne: #b89a64;
  --champagne-ink: #7d6233; /* champagne for text on paper: 5:1 */
  --oxblood: #641f2b;
  --oxblood-2: #7a2c39;
  --muted: #5e574d;       /* 6.3:1 on paper */
  --muted-light: #c4bbad; /* 9:1 on ink */
  --rule: #d6ccbb;
  --rule-strong: #8a8175; /* 3.5:1 on paper: form borders */
  --rule-dark: rgba(246, 242, 234, 0.16);

  --serif: "Newsreader", "Newsreader Fallback", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Manrope Fallback", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

  --gutter: clamp(20px, 4vw, 56px);
  --gap: clamp(16px, 2vw, 24px);
  --max: 1320px;
  --utility-h: 0px;
  --masthead-h: 64px;

  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-page: cubic-bezier(0.3, 0.1, 0.1, 1);
  --t-quick: 160ms;
  --t-base: 280ms;
  --t-slow: 620ms;

  --surface: var(--paper);
  --focus: var(--oxblood);
  --text: var(--ink);
  color-scheme: light;
}
@media (min-width: 900px) {
  :root { --utility-h: 36px; --masthead-h: 76px; }
}

/* ---- Base --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--masthead-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.55;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
::selection { background: var(--oxblood); color: var(--paper); }
[hidden] { display: none !important; }
code { font-size: 0.9em; background: var(--paper-2); padding: 0.1em 0.35em; overflow-wrap: anywhere; }

.visually-hidden, .hp {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.skip-link {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 12px 18px; font-weight: 700;
}
.skip-link:focus { top: 12px; }
main { display: block; outline: none; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* Dark surfaces flip the focus colour and text tokens. */
.page-head--ink, .shelf, .tv-band, .advertise-band, .site-footer, .newsletter-band--ambient, .page-dark main, .issue-page, .hero, .search-panel, .lightbox, .theater {
  --surface: var(--ink);
  --focus: var(--champagne);
}

/* ---- Type --------------------------------------------------------------- */
.kicker {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--oxblood);
  line-height: 1.3;
}
.kicker a { text-decoration: none; }
.kicker a:hover { text-decoration: underline; }
.kicker--light { color: var(--champagne); }
.kicker--rule { display: flex; align-items: center; gap: 12px; color: var(--ink); margin-bottom: 16px; }
.kicker--rule::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.meta { font-size: 0.8125rem; color: var(--muted); font-weight: 500; letter-spacing: 0.01em; }
.meta--light { color: var(--muted-light); }
.fine { font-size: 0.875rem; color: var(--muted); line-height: 1.5; }
.fine--light { color: var(--muted-light); }
.fine a { color: var(--ink); }

.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.1rem, 4.2vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.02em;
}
.section-title--small { font-size: clamp(1.7rem, 2.8vw, 2.4rem); }
.section-dek { margin-top: 12px; max-width: 58ch; color: var(--muted); font-size: 1.0625rem; }
.section-head--light .section-dek { color: var(--muted-light); }
.page-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 6.4vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.page-title--medium { font-size: clamp(2.2rem, 4.6vw, 4rem); line-height: 1.02; }
.page-dek { margin-top: 18px; max-width: 60ch; font-family: var(--serif); font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.45; color: var(--muted); }

/* ---- Controls ----------------------------------------------------------- */
.button {
  --btn-bg: var(--ink); --btn-fg: var(--paper); --btn-border: var(--btn-bg);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1.5px solid var(--btn-border); border-radius: 2px;
  font-family: var(--sans); font-weight: 700; font-size: 0.9375rem; letter-spacing: 0.02em;
  text-decoration: none; white-space: nowrap;
  transition: background-color var(--t-quick), color var(--t-quick), border-color var(--t-quick), transform var(--t-quick) var(--ease-out), box-shadow var(--t-quick);
}
.button .icon { transition: transform var(--t-base) var(--ease-out); }
/* Long labels wrap inside the button on small screens instead of running off the page. */
@media (max-width: 520px) { .button { white-space: normal; text-align: center; line-height: 1.25; padding-block: 10px; max-width: 100%; } }
.button:hover .icon { transform: translateX(3px); }
.button:active { transform: translateY(1px) scale(0.985); }
.button--ink:hover { --btn-bg: var(--ink-3); }
.button--oxblood { --btn-bg: var(--oxblood); --btn-fg: var(--paper); }
.button--oxblood:hover { --btn-bg: var(--oxblood-2); }
.button--paper { --btn-bg: var(--paper); --btn-fg: var(--ink); }
.button--paper:hover { --btn-bg: var(--white); }
.button--outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-border: var(--ink); }
.button--outline:hover { --btn-bg: var(--ink); --btn-fg: var(--paper); }
.button--ghost-light { --btn-bg: transparent; --btn-fg: var(--paper); --btn-border: rgba(246, 242, 234, 0.7); }
.button--ghost-light:hover { --btn-bg: var(--paper); --btn-fg: var(--ink); --btn-border: var(--paper); }
.button--block { width: 100%; }
.button__meta { font-weight: 500; opacity: 0.8; font-size: 0.8125rem; }
.button[aria-busy="true"] { pointer-events: none; opacity: 0.75; }
.button[aria-busy="true"]::after {
  content: ""; width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid currentColor; border-right-color: transparent;
  animation: spin 700ms linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 0.9375rem; color: var(--ink);
  text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  padding-bottom: 2px; transition: background-size var(--t-base) var(--ease-out);
}
.text-link:hover, .text-link:focus-visible { background-size: 100% 1.5px; }
.text-link .icon { transition: transform var(--t-base) var(--ease-out); }
.text-link:hover .icon { transform: translateX(3px); }
.text-link--light { color: var(--paper); }

.icon-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-width: 44px; min-height: 44px; padding: 0 10px;
  background: transparent; border: 0; border-radius: 2px; color: inherit;
  font-weight: 700; font-size: 0.875rem; text-decoration: none;
  transition: background-color var(--t-quick);
}
.icon-button:hover { background: rgba(17, 17, 17, 0.06); }
.icon-button .icon { width: 22px; height: 22px; }
.icon-button:active { transform: scale(0.96); }

.chip-list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px;
  border: 1px solid var(--rule-strong); border-radius: 2px;
  font-size: 0.875rem; font-weight: 600; text-decoration: none; background: transparent;
  transition: background-color var(--t-quick), color var(--t-quick), border-color var(--t-quick);
}
.chip:hover { border-color: var(--ink); background: var(--paper-2); }
.chip[aria-current="page"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip__count { font-weight: 500; opacity: 0.75; }

.tabs { position: relative; }
.tabs__list, .tabs[role="tablist"] { display: flex; flex-wrap: wrap; gap: 4px 28px; border-bottom: 1px solid var(--rule); }
.tab {
  position: relative; display: inline-flex; align-items: baseline; gap: 8px;
  padding: 14px 0 12px; font-weight: 700; font-size: 0.9375rem; text-decoration: none; color: var(--muted);
  transition: color var(--t-quick);
}
.tab::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink);
  transform: scaleX(0); transform-origin: left; transition: transform var(--t-base) var(--ease-out);
}
.tab:hover { color: var(--ink); }
.tab[aria-current="page"], .tab[aria-selected="true"], .tab[data-parent-current] { color: var(--ink); }
.tab[aria-current="page"]::after, .tab[aria-selected="true"]::after { transform: scaleX(1); }
.tab[data-parent-current]::after { transform: scaleX(1); background: var(--rule-strong); }
.tab__count { font-size: 0.75rem; font-weight: 600; color: var(--muted); }

/* Forms */
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: 0.875rem; font-weight: 700; }
.field__optional { font-weight: 500; color: var(--muted); }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  background: var(--white); border: 1px solid var(--rule-strong); border-radius: 2px;
  font-size: 1rem; line-height: 1.4;
  transition: border-color var(--t-quick), box-shadow var(--t-quick);
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--ink); }
.field__error { min-height: 0; font-size: 0.875rem; font-weight: 600; color: var(--oxblood); }
.field__error:empty { display: none; }
.has-error input, .has-error textarea { border-color: var(--oxblood); border-width: 2px; }
.field-row { display: grid; gap: 16px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.stack-form { display: grid; gap: 18px; }
.stack-form .button { justify-self: start; }

.form-status { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; }
.form-status:empty { display: none; }
.form-status p { font-weight: 600; }
.form-status.is-error p { color: var(--oxblood); }
.form-status__check {
  width: 36px; height: 36px; padding: 6px; border-radius: 50%;
  background: var(--oxblood); color: var(--paper);
}
.form-status__check use { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw 520ms 120ms var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---- Preview flag ------------------------------------------------------- */
.preview-flag {
  margin: 0; padding: 8px var(--gutter); background: var(--oxblood); color: var(--paper);
  font-size: 0.8125rem; font-weight: 600; text-align: center;
}

/* ---- Header ------------------------------------------------------------- */
.site-header {
  position: sticky; top: calc(var(--utility-h) * -1); z-index: 50;
  color: var(--ink); background: var(--paper);
  transition: background-color var(--t-base), color var(--t-base), box-shadow var(--t-base);
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--rule); }
.utility-bar { display: none; height: var(--utility-h); background: var(--ink); color: var(--paper); font-size: 0.8125rem; }
@media (min-width: 900px) { .utility-bar { display: block; } }
.utility-bar__inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.utility-bar__note { font-family: var(--serif); font-style: italic; color: var(--muted-light); margin-right: auto; font-size: 0.9375rem; }
.utility-bar__links { display: flex; gap: 22px; font-weight: 600; }
.utility-bar a { text-decoration: none; }
.utility-bar a:hover { text-decoration: underline; }
.social { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.social a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; font-weight: 600; font-size: 0.9375rem; }
.social a:hover span { text-decoration: underline; }
.social--compact { gap: 2px; }
.social--compact a { min-width: 32px; min-height: 32px; justify-content: center; }
.social--compact .icon { width: 17px; height: 17px; }

.masthead { height: var(--masthead-h); }
.masthead__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.masthead__logo { display: flex; align-items: center; color: inherit; text-decoration: none; flex: none; }
.logo { fill: currentColor; }
.logo--horizontal { display: none; height: 42px; width: auto; }
.logo--compact { height: 34px; width: auto; }
@media (min-width: 560px) {
  .masthead__logo .logo--horizontal { display: block; }
  .masthead__logo .logo--compact { display: none; }
}
@media (min-width: 900px) { .logo--horizontal { height: 46px; } }
.primary-nav { display: none; margin-inline: auto; }
.primary-nav ul { display: flex; gap: clamp(18px, 2.2vw, 36px); }
.primary-nav a {
  position: relative; display: inline-block; padding: 10px 0;
  font-weight: 700; font-size: 0.9375rem; letter-spacing: 0.01em; text-decoration: none;
}
.primary-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform var(--t-base) var(--ease-out);
}
.primary-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.primary-nav a[aria-current="page"]::after { transform: scaleX(1); background: var(--champagne); height: 3px; }
.masthead__actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.masthead__cta { display: none; min-height: 44px; }
.icon-button__label { display: none; }
@media (min-width: 560px) { .masthead__cta { display: inline-flex; margin-left: 8px; } }
@media (min-width: 1100px) {
  .primary-nav { display: block; }
  .masthead__actions { margin-left: 0; }
  .masthead__menu { display: none; }
  .masthead__actions .icon-button__label { display: inline; }
}

/* Homepage: the header floats over the video until the reader scrolls. */
.site-header--overlay:not(.is-scrolled) { background: transparent; color: var(--paper); --focus: var(--champagne); }
.site-header--overlay:not(.is-scrolled) .utility-bar { background: rgba(17, 17, 17, 0.35); }
.site-header--overlay:not(.is-scrolled) .icon-button:hover { background: rgba(246, 242, 234, 0.12); }
.site-header--overlay:not(.is-scrolled) .masthead__cta { --btn-bg: var(--paper); --btn-fg: var(--ink); }
.page-home main { margin-top: calc(-1 * (var(--utility-h) + var(--masthead-h))); }

/* ---- Menu sheet & search panel (native dialogs) ------------------------- */
dialog { padding: 0; border: 0; max-width: none; max-height: none; color: inherit; }
dialog::backdrop { background: rgba(17, 17, 17, 0.55); }
.sheet {
  margin: 0 0 0 auto; width: min(440px, 100vw); height: 100dvh;
  background: var(--paper); color: var(--ink);
  transform-origin: right center;
  transition: transform var(--t-slow) var(--ease-page), opacity var(--t-base), overlay var(--t-slow) allow-discrete, display var(--t-slow) allow-discrete;
  transform: perspective(1400px) rotateY(-14deg) translateX(60px); opacity: 0;
}
.sheet[open] { transform: none; opacity: 1; }
@starting-style { .sheet[open] { transform: perspective(1400px) rotateY(-14deg) translateX(60px); opacity: 0; } }
.sheet::backdrop { transition: background-color var(--t-base), overlay var(--t-slow) allow-discrete, display var(--t-slow) allow-discrete; }
@starting-style { .sheet[open]::backdrop { background: rgba(17, 17, 17, 0); } }
.sheet__inner { display: flex; flex-direction: column; gap: 28px; min-height: 100%; padding: 16px 24px 32px; }
.sheet__head { display: flex; align-items: center; justify-content: space-between; min-height: 48px; }
.menu-sheet__primary { display: grid; border-top: 1px solid var(--rule); margin-bottom: 24px; }
.menu-sheet__primary li { border-bottom: 1px solid var(--rule); }
.menu-sheet__primary a {
  display: flex; align-items: center; min-height: 64px;
  font-family: var(--serif); font-size: 2rem; line-height: 1.1; text-decoration: none; letter-spacing: -0.01em;
}
.menu-sheet__primary a[aria-current="page"] { color: var(--oxblood); }
.sheet[open] .menu-sheet__primary li { animation: rise 520ms calc(120ms + var(--i) * 45ms) var(--ease-out) both; }
.menu-sheet__secondary { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; margin-top: 24px; }
.menu-sheet__secondary a { display: flex; align-items: center; min-height: 44px; font-weight: 600; text-decoration: none; }
.menu-sheet .social { margin-top: auto; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.search-panel {
  margin: 0; width: 100%; max-height: 100dvh; height: auto;
  background: var(--ink); color: var(--paper); overflow-y: auto;
  transition: transform var(--t-base) var(--ease-out), opacity var(--t-base), overlay var(--t-base) allow-discrete, display var(--t-base) allow-discrete;
  transform: translateY(-24px); opacity: 0;
}
.search-panel[open] { transform: none; opacity: 1; }
@starting-style { .search-panel[open] { transform: translateY(-24px); opacity: 0; } }
.search-panel__inner { padding-block: 18px 40px; }
.search-panel__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.search-panel__title { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; color: var(--muted-light); }
.search-panel .icon-button:hover { background: rgba(246, 242, 234, 0.1); }
.search-panel .icon-button__label { display: inline; }
.search-field {
  display: flex; align-items: center; gap: 12px; padding: 6px 6px 6px 16px;
  background: var(--paper); color: var(--ink); border-radius: 2px;
}
.search-field > .icon { width: 24px; height: 24px; color: var(--muted); }
.search-field input {
  flex: 1; min-width: 0; min-height: 52px; border: 0; background: transparent;
  font-family: var(--serif); font-size: clamp(1.25rem, 2.6vw, 1.75rem); outline: none;
}
.search-field input::-webkit-search-cancel-button { cursor: pointer; }
.search-field:focus-within { outline: 3px solid var(--champagne); outline-offset: 2px; }
.search-field--page { margin-top: 28px; max-width: 760px; border: 1px solid var(--rule-strong); }
.search-field--page:focus-within { outline-color: var(--oxblood); }
.search-field .button { flex: none; }
@media (max-width: 520px) { .search-field .button { display: none; } }
.search-panel__body { margin-top: 28px; min-height: 180px; }
.search-panel .kicker { color: var(--champagne); margin: 24px 0 12px; }
.search-panel .chip { border-color: rgba(246, 242, 234, 0.35); color: var(--paper); }
.search-panel .chip:hover { background: rgba(246, 242, 234, 0.1); border-color: var(--paper); }
.search-panel .meta, .search-panel .search-hit__deck { color: var(--muted-light); }
.search-panel .text-link { color: var(--paper); }
.search-panel mark { background: rgba(184, 154, 100, 0.35); color: inherit; }
.search-panel .search-hit a:hover { background: rgba(246, 242, 234, 0.06); }
.search-panel .search-group__title { color: var(--paper); border-color: var(--rule-dark); }
.search-panel [data-search-results] { transition: opacity var(--t-quick); }
.search-panel [aria-busy="true"] { opacity: 0.55; }

.search-summary { font-weight: 600; margin-bottom: 20px; }
.search-group { margin-bottom: 36px; }
.search-group__title {
  display: flex; align-items: baseline; gap: 10px; padding-bottom: 10px; margin-bottom: 8px;
  border-bottom: 1px solid var(--rule); font-family: var(--serif); font-weight: 400; font-size: 1.5rem;
}
.search-group__count { font-family: var(--sans); font-size: 0.8125rem; font-weight: 600; color: var(--muted); }
.search-list { display: grid; gap: 2px; }
.search-hit a { display: flex; gap: 16px; align-items: flex-start; padding: 12px 8px; margin-inline: -8px; text-decoration: none; border-radius: 2px; }
.search-hit a:hover { background: var(--paper-2); }
.search-hit__thumb { flex: none; width: 96px; background: var(--ink-3); overflow: hidden; }
.search-hit__thumb img { width: 96px; height: 64px; object-fit: cover; }
.search-hit--issue .search-hit__thumb img { height: 124px; }
.search-hit--video .search-hit__thumb img { height: 54px; }
.search-hit__body { display: grid; gap: 4px; }
.search-hit__title { font-family: var(--serif); font-size: 1.25rem; line-height: 1.2; }
.search-hit__deck { color: var(--muted); font-size: 0.9375rem; }
.search-hit mark { background: rgba(100, 31, 43, 0.14); color: inherit; padding: 0 1px; }
.search-empty { display: grid; gap: 12px; }
.search-empty__title { font-family: var(--serif); font-size: 1.5rem; }
.search-page { padding-block: 40px 96px; }

/* ---- Media -------------------------------------------------------------- */
.media { position: relative; display: block; overflow: hidden; background: var(--ph, var(--paper-3)); }
.media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.media--contain img { object-fit: contain; object-position: center; }
.media--contain { background: color-mix(in srgb, var(--ph, #2a2622) 70%, #111); }
.media--empty { display: grid; place-items: center; background: var(--ink-2); color: var(--champagne); aspect-ratio: 3 / 2; }
.media__mark { width: 22%; height: auto; opacity: 0.8; }
.media img { transition: opacity 400ms; }

/* ---- Hero --------------------------------------------------------------- */
.hero {
  position: relative; isolation: isolate; display: grid; align-items: end;
  min-height: max(560px, min(92svh, 940px));
  background: var(--ink); color: var(--paper); overflow: hidden;
}
.hero__media, .hero__poster, .hero__video, .hero__shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media { z-index: -1; }
.hero__poster, .hero__video { object-fit: cover; }
.hero__video { opacity: 0; transition: opacity 900ms var(--ease-out); }
.hero__video.is-playing { opacity: 1; }
.hero__shade {
  background:
    linear-gradient(180deg, rgba(17, 17, 17, 0.62) 0%, rgba(17, 17, 17, 0.08) 26%, rgba(17, 17, 17, 0.12) 48%, rgba(17, 17, 17, 0.9) 100%),
    linear-gradient(90deg, rgba(17, 17, 17, 0.55) 0%, rgba(17, 17, 17, 0) 62%);
}
.hero__inner {
  display: grid; gap: 32px; align-items: end;
  padding-top: calc(var(--utility-h) + var(--masthead-h) + 48px);
  padding-bottom: clamp(40px, 7vw, 88px);
}
@media (min-width: 900px) { .hero__inner { grid-template-columns: minmax(0, 1fr) minmax(220px, 300px); } }
.hero__eyebrow { display: flex; align-items: center; gap: 14px; }
.hero__rule { width: 40px; height: 1px; background: var(--champagne); }
.hero__title {
  margin-top: 22px; font-family: var(--serif); font-weight: 400;
  font-size: clamp(3.1rem, 8.6vw, 7.8rem); line-height: 0.92; letter-spacing: -0.03em;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.25);
}
.hero__line { display: block; }
.hero__title em { font-style: italic; color: var(--champagne); letter-spacing: -0.02em; padding-right: 0.04em; }
.hero__supporting { margin-top: 22px; max-width: 34ch; font-family: var(--serif); font-size: clamp(1.2rem, 1.9vw, 1.55rem); line-height: 1.35; color: #ebe4d7; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px 16px; margin-top: 32px; align-items: center; }
.hero__aside { display: grid; gap: 14px; justify-items: start; }
@media (min-width: 900px) { .hero__aside { justify-items: end; text-align: right; } }
.hero__caption { font-size: 0.8125rem; line-height: 1.45; color: var(--muted-light); max-width: 34ch; }
.video-toggle {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px 0 12px;
  background: rgba(17, 17, 17, 0.5); color: var(--paper);
  border: 1px solid rgba(246, 242, 234, 0.45); border-radius: 2px;
  font-weight: 700; font-size: 0.875rem; backdrop-filter: blur(6px);
  transition: background-color var(--t-quick), border-color var(--t-quick);
}
.video-toggle:hover { background: rgba(17, 17, 17, 0.75); border-color: var(--paper); }
.video-toggle .icon { width: 18px; height: 18px; }
.video-toggle__play { display: none; }
.video-toggle[aria-pressed="true"] .video-toggle__play { display: block; }
.video-toggle[aria-pressed="true"] .video-toggle__pause { display: none; }
.video-toggle--small { position: absolute; right: var(--gutter); bottom: 20px; z-index: 2; }

/* The page corner turns, revealing the paper of the next section. */
.hero__fold {
  position: absolute; right: 0; bottom: 0; width: clamp(48px, 6vw, 88px); aspect-ratio: 1;
  background:
    linear-gradient(to top left, var(--paper) 50%, transparent 50.5%),
    linear-gradient(to bottom right, #f3ede2 0%, #d9cdb7 55%, #b9aa8e 100%);
  box-shadow: -8px -8px 18px rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

/* Intro: the words rise in on load, hold long enough to read, then lift away so
   the footage shows. They return each time the video loops, when the reader
   pauses, or when keyboard focus enters the hero. The buttons never move. */
.js .hero__eyebrow, .js .hero__line, .js .hero__supporting { animation: rise 1s var(--ease-out) both; }
.js .hero__eyebrow { animation-delay: 80ms; }
.js .hero__line { animation-delay: calc(200ms + var(--line) * 150ms); }
.js .hero__supporting { animation-delay: 560ms; }
.js .hero__actions { animation: rise 1s 720ms var(--ease-out) both; }
.first-visit .hero__fold { animation: fold-in 900ms 700ms var(--ease-page) both; }
@keyframes fold-in { from { width: 0; } }
@keyframes hero-lift { from { opacity: 1; transform: none; filter: none; } to { opacity: 0; transform: translateY(-48px) scale(0.98); filter: blur(8px); } }
.hero.is-cleared .hero__eyebrow, .hero.is-cleared .hero__line, .hero.is-cleared .hero__supporting, .hero.is-cleared .hero__caption {
  animation: hero-lift 1.2s var(--ease-in-out) both;
  pointer-events: none;
}
.hero.is-cleared .hero__line { animation-delay: calc(var(--line) * 90ms); }
.hero.is-cleared .hero__supporting { animation-delay: 160ms; }
.hero__shade { transition: opacity 1.6s var(--ease-in-out); }
.hero.is-cleared .hero__shade { opacity: 0.55; }
@media (max-width: 699px) {
  .hero__caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .hero__inner { gap: 20px; }
}

/* ---- Section scaffolding ------------------------------------------------ */
.section-head .kicker, .page-head--bare .kicker { margin-bottom: 12px; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(24px, 3.5vw, 44px); }
.section-head--light { color: var(--paper); }

/* ---- Story cards -------------------------------------------------------- */
.card { position: relative; }
.story-grid > li > .card, .related__grid > li > .card { height: 100%; }
.card__link { display: grid; gap: 16px; align-content: start; color: inherit; text-decoration: none; }
.card__media { position: relative; overflow: hidden; }
.card__media .media img { transition: transform 900ms var(--ease-out), opacity 400ms; }
.card__link:hover .card__media .media img { transform: scale(1.035); }
.card__corner {
  position: absolute; top: 0; right: 0; z-index: 2; width: 0; height: 0;
  background: linear-gradient(to bottom left, var(--surface) 50%, transparent 50.5%), linear-gradient(to top right, #f3ede2, #cbbda3);
  box-shadow: -4px 4px 8px rgba(0, 0, 0, 0.22);
  transition: width var(--t-base) var(--ease-out), height var(--t-base) var(--ease-out);
}
.card__link:hover .card__corner, .card__link:focus-visible .card__corner { width: 34px; height: 34px; }
.card__badge {
  position: absolute; left: 12px; top: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 9px; background: var(--ink); color: var(--paper); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em;
}
.card__badge .icon { width: 12px; height: 12px; }
.card__body { display: grid; gap: 8px; align-content: start; }
.card__title {
  font-family: var(--serif); font-weight: 450; font-size: clamp(1.3rem, 1.7vw, 1.55rem); line-height: 1.15; letter-spacing: -0.01em;
  text-wrap: pretty; overflow-wrap: anywhere;
}
.card__link:hover .card__title, .card__link:focus-visible .card__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
.card__deck { color: var(--muted); font-size: 0.9375rem; line-height: 1.5; }
.card__cue { display: none; }

/* A sliding panel carries the description over the photo on hover devices. */
.card__panel {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  display: grid; gap: 10px; padding: 18px 20px 16px;
  background: var(--paper); color: var(--ink);
  font-size: 0.9375rem; line-height: 1.45;
  transform: translateY(101%); transition: transform 420ms var(--ease-out);
}
.card__panel-cue { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.8125rem; color: var(--oxblood); }
.card__panel-cue .icon { width: 16px; height: 16px; }
@media (hover: hover) and (pointer: fine) {
  .card--standard .card__deck, .card--tall .card__deck, .card--feature .card__deck { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .card__link:hover .card__panel, .card__link:focus-visible .card__panel { transform: none; }
}
@media (hover: none), (pointer: coarse) { .card__panel { display: none; } }

.card--lead .card__title { font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1.02; font-weight: 400; letter-spacing: -0.02em; }
.card--lead .card__deck { font-family: var(--serif); font-size: 1.1875rem; line-height: 1.45; color: var(--muted); max-width: 52ch; }
.card--lead .card__link { gap: 22px; }
.card--feature .card__title { font-size: clamp(1.7rem, 2.6vw, 2.35rem); line-height: 1.06; font-weight: 400; }
.card--tall .card__title { font-size: clamp(1.45rem, 2vw, 1.8rem); }
.card--compact .card__link, .card--row .card__link { grid-template-columns: minmax(96px, 36%) 1fr; gap: 16px; align-items: start; }
@media (min-width: 900px) { .card--compact .card__link { grid-template-columns: 168px 1fr; gap: 22px; } }
.card--compact .card__title, .card--row .card__title { font-size: 1.2rem; }
.card--compact .card__deck { display: none; }
.card--row .card__link { grid-template-columns: 88px 1fr; }
.card--row .card__title { font-size: 1.125rem; }

/* ---- The Edit ----------------------------------------------------------- */
.the-edit { padding-block: clamp(56px, 8vw, 112px) clamp(48px, 7vw, 96px); }
.the-edit__grid { display: grid; gap: 40px var(--gap); }
@media (min-width: 700px) {
  .the-edit__grid { grid-template-columns: repeat(6, 1fr); }
  .the-edit__lead { grid-column: 1 / -1; }
  .the-edit__supporting { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
  .the-edit__latest { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
  .the-edit__grid { grid-template-columns: repeat(12, 1fr); column-gap: clamp(24px, 3vw, 44px); }
  .the-edit__lead { grid-column: 1 / span 6; }
  .the-edit__supporting { grid-column: 7 / span 3; grid-template-columns: 1fr; align-content: start; row-gap: 40px; }
  .the-edit__latest { grid-column: 10 / span 3; border-left: 1px solid var(--rule); padding-left: clamp(20px, 2vw, 28px); }
}
.latest-list { counter-reset: latest; }
.latest-list li { border-bottom: 1px solid var(--rule); }
.latest-list a { display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 16px 0; text-decoration: none; }
.latest-list__num { font-family: var(--serif); font-size: 1.5rem; line-height: 1; color: var(--champagne-ink); font-variant-numeric: lining-nums; }
.latest-list__body { display: grid; gap: 6px; }
.latest-list__title { font-family: var(--serif); font-size: 1.1875rem; line-height: 1.2; }
.latest-list a:hover .latest-list__title { text-decoration: underline; text-underline-offset: 0.16em; }
@media (min-width: 700px) and (max-width: 1099px) {
  .latest-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--gap); }
}

/* ---- Shelf -------------------------------------------------------------- */
.shelf { background: var(--ink); color: var(--paper); padding-block: clamp(64px, 9vw, 128px); overflow: hidden; }
.shelf .section-dek { color: var(--muted-light); }
.shelf__line { display: grid; gap: 28px; padding-block: 40px; border-top: 1px solid var(--rule-dark); }
.shelf__line:last-child { padding-bottom: 0; }
@media (min-width: 1000px) { .shelf__line { grid-template-columns: minmax(220px, 3fr) 9fr; gap: 48px; } }
.shelf__name { font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 2.6vw, 2.4rem); line-height: 1.05; }
.shelf__dek { margin: 12px 0 10px; color: var(--muted-light); max-width: 38ch; }
.shelf__covers { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: start; }
@media (min-width: 640px) { .shelf__covers { grid-template-columns: repeat(3, 1fr); gap: 32px 20px; } }
.shelf__item .cover { width: 100%; }
/* Covers differ slightly in shape; one frame keeps tops and captions aligned. */
.cover__art .media { aspect-ratio: 3 / 4 !important; background: var(--ink-2); }
.cover__art .media img { object-fit: contain; object-position: center bottom; }
@media (max-width: 639px) {
  .cover { grid-template-columns: 38% 1fr; gap: 18px; align-items: center; }
  .shelf__item + .shelf__item { padding-top: 20px; border-top: 1px solid var(--rule-dark); }
  .cover__title { font-size: 1.35rem; }
}
.cover { display: grid; gap: 14px; color: inherit; text-decoration: none; perspective: 1200px; }
.cover__art {
  position: relative; display: block; transform-origin: left center;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05), 0 18px 40px -18px rgba(0, 0, 0, 0.9);
  transition: transform 520ms var(--ease-out), box-shadow 520ms var(--ease-out);
}
.cover__art::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 7px; z-index: 2;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.35), rgba(255, 255, 255, 0.12) 60%, transparent);
}
.cover__sheen {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.18) 50%, transparent 65%);
  transition: opacity 520ms;
}
.cover:hover .cover__art, .cover:focus-visible .cover__art { transform: translateY(-8px) rotateY(-10deg); box-shadow: 18px 30px 50px -20px rgba(0, 0, 0, 0.95); }
.cover:hover .cover__sheen, .cover:focus-visible .cover__sheen { opacity: 1; }
.cover:active .cover__art { transform: translateY(-4px) rotateY(-16deg) scale(0.99); }
.cover__caption { display: grid; gap: 2px; }
.cover__number { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--champagne); }
.cover__title { font-family: var(--serif); font-size: 1.25rem; line-height: 1.15; }
.cover:hover .cover__title { text-decoration: underline; text-underline-offset: 0.16em; text-decoration-thickness: 1px; }

/* Issue spread, both in the dialog and on the issue page */
.spread { display: grid; perspective: 2200px; }
@media (min-width: 860px) { .spread { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.spread__cover { background: var(--ink-2); padding: clamp(20px, 4vw, 48px); display: grid; place-items: center; }
.spread__cover .media { width: min(100%, 420px); box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.95); }
.spread__page {
  position: relative; background: var(--paper); color: var(--ink); --focus: var(--oxblood); --surface: var(--paper);
  transform-origin: left center;
}
.spread__page::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 40px; pointer-events: none;
  background: linear-gradient(90deg, rgba(17, 17, 17, 0.14), transparent);
}
.spread__page-inner { display: grid; gap: 14px; align-content: start; padding: clamp(28px, 4.5vw, 60px); }
.spread__title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1; letter-spacing: -0.02em; }
.spread__feature { font-family: var(--serif); font-style: italic; font-size: 1.35rem; }
.spread__full-name { font-size: 0.875rem; color: var(--muted); }
.spread__label { margin-top: 18px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.formats { display: grid; border-top: 1px solid var(--rule); }
.format { display: grid; gap: 12px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 520px) { .format { grid-template-columns: 1fr auto; gap: 20px; } }
.format__name { font-family: var(--serif); font-size: 1.35rem; line-height: 1.1; }
.format__note { font-size: 0.875rem; color: var(--muted); margin-top: 4px; max-width: 42ch; }
.format__unavailable { font-size: 0.875rem; font-weight: 600; color: var(--muted); }
.spread__preview { margin-top: 6px; }
.spread__permalink { margin-top: 6px; justify-self: start; }

.issue-dialog {
  margin: auto; width: min(1120px, 100vw - 32px); max-height: calc(100dvh - 32px);
  background: transparent; overflow: visible;
}
.issue-dialog::backdrop { background: rgba(8, 8, 8, 0.82); }
.issue-dialog__scroll { max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain; box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6); }
.issue-dialog__close {
  position: absolute; top: -8px; right: -8px; z-index: 3; background: var(--paper); color: var(--ink);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
.issue-dialog__close:hover { background: var(--white); }
.issue-dialog[open] .spread__page { animation: page-open 760ms 90ms var(--ease-page) both; }
.issue-dialog[open] .spread__cover { animation: fade-in 360ms var(--ease-out) both; }
.issue-dialog.is-closing .spread__page { animation: page-close 260ms var(--ease-in-out) both; }
.issue-dialog.is-closing { animation: fade-out 260ms both; }
@keyframes page-open { from { transform: rotateY(-78deg); opacity: 0.2; } 60% { opacity: 1; } to { transform: none; } }
@keyframes page-close { to { transform: rotateY(-50deg); opacity: 0; } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes fade-out { to { opacity: 0; } }
@media (max-width: 859px) {
  .issue-dialog { width: 100vw; max-height: 100dvh; margin: auto 0 0; }
  .issue-dialog__scroll { max-height: 100dvh; }
  .issue-dialog__close { top: 10px; right: 10px; }
  .spread__cover .media { width: min(62vw, 300px); }
  .issue-dialog[open] .spread__page { animation-name: sheet-up; }
  @keyframes sheet-up { from { transform: translateY(40px); opacity: 0; } }
}
.issue-page { background: var(--ink); color: var(--paper); padding-block: 24px clamp(40px, 6vw, 80px); }
.issue-page .spread { margin-top: 20px; }
.more-issues { padding-block: clamp(48px, 7vw, 96px); }
.issue-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 28px var(--gap); margin-top: 28px; }
.mini-cover { display: grid; gap: 8px; text-decoration: none; }
.mini-cover .media { box-shadow: 0 16px 30px -18px rgba(0, 0, 0, 0.6); transition: transform var(--t-base) var(--ease-out); }
.mini-cover:hover .media { transform: translateY(-4px); }
.mini-cover__line { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--oxblood); }
.mini-cover__title { font-family: var(--serif); font-size: 1.15rem; line-height: 1.15; }
.buying-guide { padding-block: clamp(56px, 8vw, 104px); }
.buying-guide__grid { display: grid; gap: 28px var(--gap); margin: 28px 0; }
@media (min-width: 800px) { .buying-guide__grid { grid-template-columns: repeat(3, 1fr); } }
.buying-guide__head { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; margin-bottom: 8px; }

/* ---- Discover ----------------------------------------------------------- */
.discover { padding-block: clamp(64px, 9vw, 128px); }
.discover .tabs { margin-bottom: 28px; }
.discover__dek { font-family: var(--serif); font-size: 1.25rem; color: var(--muted); margin-bottom: 28px; max-width: 60ch; }
.discover__grid { display: grid; gap: 28px var(--gap); margin-bottom: 36px; }
@media (min-width: 900px) {
  .discover__grid { grid-template-columns: 5fr 7fr; grid-template-rows: repeat(3, auto); column-gap: clamp(28px, 4vw, 56px); }
  .discover__item--first { grid-row: 1 / span 3; }
  .discover__item:not(.discover__item--first) { border-bottom: 1px solid var(--rule); padding-bottom: 24px; }
}
.discover__panel.is-entering { animation: panel-in 420ms var(--ease-out) both; }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } }

/* ---- SLAY TV ------------------------------------------------------------ */
.tv-band { background: var(--ink-2); color: var(--paper); padding-block: clamp(64px, 9vw, 120px); }
.tv-band__grid { display: grid; gap: 32px var(--gap); }
@media (min-width: 1000px) { .tv-band__grid { grid-template-columns: 8fr 4fr; align-items: start; } }
.tv-band__list { display: grid; gap: 20px; }
.video-card__link { display: grid; gap: 14px; color: inherit; text-decoration: none; }
.video-card__thumb { position: relative; display: block; overflow: hidden; background: var(--ink-3); }
.video-card__thumb .media img { transition: transform 800ms var(--ease-out), filter var(--t-base); filter: saturate(0.9) brightness(0.85); }
.video-card__link:hover .media img { transform: scale(1.03); filter: none; }
.video-card__play {
  position: absolute; left: 50%; top: 50%; display: grid; place-items: center;
  width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%;
  background: var(--paper); color: var(--ink); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  transition: transform var(--t-base) var(--ease-out);
}
.video-card__play .icon { width: 26px; height: 26px; margin-left: 3px; }
.video-card__link:hover .video-card__play, .video-card__link:focus-visible .video-card__play { transform: scale(1.1); }
.video-card__body { display: grid; gap: 6px; }
.video-card__title { font-family: var(--serif); font-size: 1.25rem; line-height: 1.2; overflow-wrap: anywhere; }
.video-card--featured .video-card__title { font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.08; }
.video-card__desc { color: var(--muted-light); max-width: 60ch; }
.video-card--row .video-card__link { grid-template-columns: 42% 1fr; gap: 16px; align-items: start; }
.video-card--row .video-card__play { width: 40px; height: 40px; margin: -20px 0 0 -20px; }
.video-card--row .video-card__play .icon { width: 16px; height: 16px; margin-left: 2px; }
.video-card--row .video-card__title { font-size: 1.05rem; }
.video-card__link:hover .video-card__title { text-decoration: underline; text-underline-offset: 0.16em; text-decoration-thickness: 1px; }

.theater {
  margin: 0; width: 100vw; height: 100dvh; background: rgba(10, 10, 10, 0.97); color: var(--paper); overflow-y: auto;
  transition: opacity var(--t-base), overlay var(--t-base) allow-discrete, display var(--t-base) allow-discrete; opacity: 0;
}
.theater[open] { opacity: 1; }
@starting-style { .theater[open] { opacity: 0; } }
.theater::backdrop { background: transparent; }
.theater__inner { padding-block: 20px 56px; }
.theater__bar { display: flex; justify-content: flex-end; margin-bottom: 12px; }
.theater__bar .icon-button { background: rgba(246, 242, 234, 0.08); }
.theater__bar .icon-button:hover { background: rgba(246, 242, 234, 0.16); }
.theater__bar .icon-button__label { display: inline; }
.theater__stage { display: grid; gap: 28px; }
@media (min-width: 1100px) { .theater__stage { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); align-items: start; } }
.player { position: relative; aspect-ratio: 16 / 9; background: #000; }
.player iframe, .player__poster, .player__poster .media { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player__poster { display: block; }
.player__button {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 12px; padding: 14px 22px 14px 16px;
  background: var(--paper); color: var(--ink); font-weight: 700; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  transition: transform var(--t-base) var(--ease-out);
}
.player__button .icon { width: 26px; height: 26px; }
.player__poster:hover .player__button { transform: translate(-50%, -50%) scale(1.05); }
.player.is-loading::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 36px; height: 36px; margin: -18px;
  border-radius: 50%; border: 3px solid var(--paper); border-right-color: transparent; animation: spin 700ms linear infinite;
}
.watch { display: grid; gap: 28px; margin-top: 16px; }
@media (min-width: 1100px) { .watch { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); align-items: start; } }
.watch__info, .theater__info { display: grid; gap: 14px; align-content: start; }
.watch__title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: 1.04; overflow-wrap: anywhere; }
.watch__desc { color: #e5ddcf; max-height: 18rem; overflow-y: auto; white-space: normal; overflow-wrap: anywhere; }
.theater__more { margin-top: 36px; }
.theater__more h3 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; margin-bottom: 18px; }
.tv-page { background: var(--ink); color: var(--paper); padding-block: 12px clamp(56px, 8vw, 104px); }
.tv-page .page-head--bare { padding-block: clamp(40px, 6vw, 80px) 36px; }
.tv-page .page-dek { color: var(--muted-light); }
.tv-feature { margin-bottom: 64px; max-width: 980px; }
.tv-grid-section { margin-top: 48px; }
.video-grid { display: grid; gap: 36px var(--gap); margin-top: 24px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.page-tv .related { background: var(--paper); }

/* ---- Community ---------------------------------------------------------- */
.community { padding-block: clamp(64px, 9vw, 128px); }
.community__grid { display: grid; gap: 40px var(--gap); }
@media (min-width: 800px) {
  .community__grid { grid-template-columns: repeat(12, 1fr); column-gap: clamp(24px, 3vw, 44px); }
  .community__item--0 { grid-column: 1 / span 7; grid-row: span 2; }
  .community__item--1, .community__item--2 { grid-column: 8 / span 5; }
  .community__note { grid-column: 1 / -1; }
}
.community__note { display: grid; gap: 14px; padding: clamp(24px, 4vw, 44px); background: var(--paper-2); border-left: 3px solid var(--champagne); }
.community__quote { font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 2.8vw, 2.25rem); line-height: 1.2; max-width: 34ch; }

/* ---- Newsletter --------------------------------------------------------- */
.newsletter-band { position: relative; isolation: isolate; background: var(--paper-2); padding-block: clamp(56px, 8vw, 104px); overflow: hidden; }
.newsletter-band__inner { display: grid; gap: 32px; align-items: end; }
@media (min-width: 960px) { .newsletter-band__inner { grid-template-columns: 5fr 7fr; gap: 64px; } }
.newsletter-band__copy p:last-child { margin-top: 16px; max-width: 46ch; font-size: 1.0625rem; }
.newsletter-band--ambient { background: var(--ink); color: var(--paper); min-height: 440px; display: grid; align-items: center; }
.newsletter-band--ambient .kicker { color: var(--champagne); }
.newsletter-band--ambient .newsletter-form__fine { color: var(--muted-light); }
.newsletter-band--ambient .field label { color: var(--paper); }
.newsletter-band--ambient .field__optional { color: var(--muted-light); }
.newsletter-band--ambient .field__error { color: #f0b7bf; }
.newsletter-band--ambient .has-error input { border-color: #f0b7bf; }
.newsletter-band--ambient .form-status__check { background: var(--champagne); color: var(--ink); }
.ambient { position: absolute; inset: 0; z-index: -1; }
.ambient__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.32; filter: grayscale(0.2); }
.ambient::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17, 17, 17, 0.92) 20%, rgba(17, 17, 17, 0.55)); }
.newsletter-form { display: grid; gap: 14px; }
.newsletter-form__fields { display: grid; gap: 14px; align-items: start; }
@media (min-width: 640px) { .newsletter-form__fields { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr) auto; } .newsletter-form__submit { margin-top: 27px; } }
.newsletter-form__fine { font-size: 0.8125rem; color: var(--muted); max-width: 60ch; }
.newsletter-form.is-done .newsletter-form__fields, .newsletter-form.is-done .newsletter-form__fine,
.stack-form.is-done > :not(.form-status) { display: none; }
.newsletter-form.is-done .form-status, .stack-form.is-done .form-status { animation: rise 520ms var(--ease-out) both; }
.newsletter-form.is-done .form-status p, .stack-form.is-done .form-status p { font-family: var(--serif); font-size: 1.35rem; font-weight: 400; line-height: 1.35; }

.newsletter-page { padding-block: clamp(48px, 8vw, 112px); }
.newsletter-page__grid { display: grid; gap: 56px; }
@media (min-width: 1000px) { .newsletter-page__grid { grid-template-columns: 7fr 4fr; gap: 80px; } }
.newsletter-page .newsletter-form { margin-top: 32px; }
.mini-list { display: grid; gap: 20px; }

/* ---- Events ------------------------------------------------------------- */
.events-band { padding-block: clamp(64px, 9vw, 120px); }
.events-band__empty { display: grid; gap: 10px; padding: 28px 0 36px; border-top: 1px solid var(--ink); margin-bottom: 40px; }
.events-band__none { font-family: var(--serif); font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.2; }
.events-band__empty p:last-child { max-width: 62ch; color: var(--muted); }
.event-list { display: grid; }
.event-row { display: grid; grid-template-columns: 72px 1fr; gap: 16px 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 800px) { .event-row { grid-template-columns: 96px 1fr auto; } }
.event-row__date { display: grid; justify-items: center; padding: 10px 6px; border: 1px solid var(--ink); text-decoration: none; line-height: 1; }
.event-row__month { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.event-row__day { font-family: var(--serif); font-size: 2.4rem; line-height: 1; margin: 4px 0; }
.event-row__year { font-size: 0.75rem; color: var(--muted); }
.event-row__body { display: grid; gap: 6px; }
.event-row__title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.3rem, 2vw, 1.65rem); line-height: 1.15; }
.event-row__title a { text-decoration: none; }
.event-row__title a:hover { text-decoration: underline; text-underline-offset: 0.16em; }
.event-row--past .event-row__date { border-color: var(--rule-strong); color: var(--muted); }
.event-row--past .kicker { color: var(--muted); }
.event-row__cta { grid-column: 2; justify-self: start; }
@media (min-width: 800px) { .event-row__cta { grid-column: 3; } }
.events-page { padding-block: 40px 80px; }
.events-contact { margin-top: 56px; padding: clamp(24px, 4vw, 40px); background: var(--paper-2); display: grid; gap: 12px; max-width: 820px; }
.page-head .tabs { margin-top: 36px; }

.event-page, .product-page { padding-block: 24px clamp(56px, 8vw, 104px); }
.event-page__grid, .product-page__grid { display: grid; gap: 40px; margin-top: 20px; }
@media (min-width: 900px) { .event-page__grid, .product-page__grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } }
.event-page__info, .product-page__info { display: grid; gap: 18px; align-content: start; }
.event-page__desc, .product-page__desc { font-size: 1.0625rem; max-width: 60ch; }
.facts { display: grid; border-top: 1px solid var(--rule); }
.facts > div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.facts dt { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.notice { padding: 14px 18px; background: var(--paper-2); border-left: 3px solid var(--oxblood); font-size: 0.9375rem; }
.notice--quiet { border-left-color: var(--champagne); max-width: 820px; margin-top: 32px; }
.price { font-family: var(--serif); font-size: 1.75rem; line-height: 1; }
.product-page__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }

/* ---- Advertise band ----------------------------------------------------- */
.advertise-band { background: var(--ink); color: var(--paper); padding-block: clamp(56px, 8vw, 96px); position: relative; overflow: hidden; }
.advertise-band::after {
  content: ""; position: absolute; right: 0; top: 0; width: clamp(40px, 5vw, 72px); aspect-ratio: 1;
  background:
    linear-gradient(to bottom left, var(--paper) 50%, transparent 50.5%),
    linear-gradient(to top right, #f3ede2 0%, #d9cdb7 55%, #b9aa8e 100%);
  box-shadow: -8px 8px 18px rgba(0, 0, 0, 0.45);
}
.advertise-band__inner { display: grid; gap: 20px; }
.advertise-band__title { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: 1.02; letter-spacing: -0.02em; max-width: 20ch; }
.advertise-band__actions { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; margin-top: 8px; }

/* ---- Footer ------------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--paper); padding-block: clamp(56px, 8vw, 96px) 36px; border-top: 1px solid var(--rule-dark); }
.site-footer__top { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; padding-bottom: 40px; border-bottom: 1px solid var(--rule-dark); }
.site-footer__logo { color: var(--paper); }
.logo--stacked { width: clamp(150px, 16vw, 200px); height: auto; }
.site-footer__tagline { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2.2vw, 1.8rem); color: var(--muted-light); max-width: 28ch; }
.site-footer__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px var(--gap); padding-block: 40px; }
@media (min-width: 900px) { .site-footer__grid { grid-template-columns: repeat(4, 1fr); } }
.footer-heading { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--champagne); margin-bottom: 12px; }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 36px; text-decoration: none; color: #e9e2d6; }
.site-footer nav a:hover { color: var(--white); text-decoration: underline; }
.site-footer__bottom { display: grid; gap: 16px; padding-top: 28px; border-top: 1px solid var(--rule-dark); }
@media (min-width: 900px) { .site-footer__bottom { grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; } }
.legal-links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.legal-links a { display: inline-flex; min-height: 44px; align-items: center; font-size: 0.875rem; color: var(--muted-light); text-decoration: none; }
.legal-links a:hover { color: var(--paper); text-decoration: underline; }
.copyright { font-size: 0.8125rem; color: var(--muted-light); }

/* ---- Page heads & stories ---------------------------------------------- */
.page-head { padding-block: clamp(48px, 8vw, 112px) clamp(28px, 4vw, 48px); }
.page-head--ink { background: var(--ink); color: var(--paper); padding-bottom: clamp(48px, 7vw, 96px); }
.page-head--ink .page-dek { color: var(--muted-light); }
.page-head--bare { padding-inline: 0; }
.page-head .kicker { margin-bottom: 18px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.breadcrumbs li { display: flex; align-items: center; gap: 6px; }
.breadcrumbs li + li::before { content: "/"; color: var(--muted); font-weight: 400; }
.breadcrumbs a { color: var(--oxblood); text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs--light a { color: var(--champagne); }
.breadcrumbs span { color: var(--muted); }
.breadcrumbs--light span, .breadcrumbs--light li + li::before { color: var(--muted-light); }

.stories { padding-bottom: clamp(56px, 8vw, 112px); }
.filters { display: grid; gap: 16px; margin-bottom: 40px; }
.subtopics { margin-top: 4px; }
.results-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; min-height: 44px; }
.results-count { color: var(--muted); font-size: 0.9375rem; }
.results-count strong { color: var(--ink); }
.text-link .icon { width: 16px; height: 16px; }
.stories__results { position: relative; transition: opacity var(--t-quick); }
.stories__results.is-loading { opacity: 0.45; pointer-events: none; }
.stories__results.is-loading::before {
  content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 30%; background: var(--oxblood);
  animation: loading-bar 900ms var(--ease-in-out) infinite;
}
@keyframes loading-bar { from { transform: translateX(-100%); } to { transform: translateX(340%); } }
.story-grid { display: grid; gap: 48px var(--gap); }
@media (min-width: 700px) { .story-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) {
  .story-grid { grid-template-columns: repeat(12, 1fr); column-gap: clamp(20px, 2vw, 28px); }
  .grid-item--feature { grid-column: span 8; }
  .grid-item--tall { grid-column: span 4; }
  .grid-item--standard { grid-column: span 3; }
}
@media (max-width: 699px) {
  .grid-item--standard .card__link { grid-template-columns: 38% 1fr; gap: 16px; }
  .grid-item--standard .card__media .media { aspect-ratio: 1 / 1 !important; }
  .grid-item--standard .card__title { font-size: 1.15rem; }
  .grid-item--standard .card__deck { display: none; }
  .story-grid { gap: 32px; }
}
.story-grid > li.is-new { animation: rise 520ms calc(var(--stagger) * 40ms) var(--ease-out) both; }
.load-more { display: grid; justify-items: center; gap: 10px; margin-top: 56px; }
.load-more__note { font-size: 0.875rem; color: var(--muted); }
.list-end { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 56px; color: var(--muted); font-size: 0.9375rem; }
.list-end svg { width: 14px; height: 18px; fill: var(--champagne); }
.empty-state { display: grid; justify-items: center; gap: 14px; padding: 56px 20px; text-align: center; border: 1px dashed var(--rule-strong); }
.empty-state--left { justify-items: start; text-align: left; border-style: solid; border-width: 1px 0 0; padding-inline: 0; }
.empty-state h2 { font-family: var(--serif); font-weight: 400; font-size: 1.8rem; }
.empty-state__mark { width: 36px; height: 48px; fill: var(--champagne); }

/* ---- Article ------------------------------------------------------------ */
.reading-progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 60; pointer-events: none; }
.reading-progress span { display: block; height: 100%; background: var(--oxblood); transform-origin: left; transform: scaleX(0); }
.article-head { padding-block: clamp(36px, 6vw, 88px) clamp(28px, 4vw, 44px); display: grid; gap: 20px; }
.article-title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.3rem, 5.4vw, 4.6rem); line-height: 1.02; letter-spacing: -0.025em; max-width: 21ch; text-wrap: balance; overflow-wrap: anywhere; }
.article-deck { font-family: var(--serif); font-size: clamp(1.2rem, 1.9vw, 1.55rem); line-height: 1.4; color: var(--muted); max-width: 52ch; }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px; padding-top: 20px; border-top: 1px solid var(--rule); }
.byline__avatar { width: 48px; height: 48px; border-radius: 50%; flex: none; }
.byline__avatar--mark { padding: 12px 15px; background: var(--ink); fill: var(--champagne); }
.byline__text { display: grid; gap: 2px; margin-right: auto; }
.byline__name { font-weight: 700; }
.byline__name a { text-decoration: none; }
.byline__name a:hover { text-decoration: underline; }
.reading-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.tool-button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px;
  background: transparent; border: 1px solid var(--rule-strong); border-radius: 2px; font-weight: 700; font-size: 0.875rem;
  transition: background-color var(--t-quick), border-color var(--t-quick);
}
.tool-button:hover { border-color: var(--ink); background: var(--paper-2); }
.tool-button:active { transform: scale(0.97); }
.tool-button .icon { width: 18px; height: 18px; }
.tool-button--small { min-width: 44px; padding: 0 10px; justify-content: center; }
.tool-button[disabled] { opacity: 0.45; cursor: default; }
.text-size { display: inline-flex; align-items: center; gap: 4px; margin-left: 6px; }
.text-size > .icon { width: 20px; height: 20px; color: var(--muted); margin-right: 2px; }

.article-hero { position: relative; max-width: 1400px; margin: 0 auto; padding-inline: var(--gutter); }
.article-hero .media {
  width: min(100%, calc(min(80vh, 920px) * var(--w, 3) / var(--h, 2)));
  margin-inline: auto;
}
.article-hero__corner {
  position: absolute; top: 0; right: max(var(--gutter), calc((100% - min(100% - 2 * var(--gutter), calc(min(80vh, 920px) * 1.5))) / 2));
  width: 0; height: 0; display: none;
}
.article-hero figcaption { margin-top: 12px; font-size: 0.875rem; color: var(--muted); text-align: center; }
.article-layout { display: grid; gap: 40px; padding-block: clamp(36px, 6vw, 72px) clamp(48px, 7vw, 96px); }
@media (min-width: 1100px) {
  .article-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 44rem) minmax(0, 1fr); column-gap: 48px; }
  .article-layout > .prose, .article-layout > .article-end { grid-column: 2; }
  .article-layout > .toc { grid-column: 1; grid-row: 1 / span 2; }
}
.toc { align-self: start; }
@media (min-width: 1100px) { .toc { position: sticky; top: calc(var(--masthead-h) + 32px); } }
.toc__details { border-top: 2px solid var(--ink); padding-top: 12px; }
.toc__summary { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; min-height: 32px; display: flex; align-items: center; }
.toc ol { display: grid; gap: 2px; margin-top: 8px; counter-reset: toc; }
.toc a { display: block; padding: 6px 0 6px 14px; border-left: 2px solid var(--rule); font-size: 0.9375rem; line-height: 1.35; text-decoration: none; color: var(--muted); }
.toc a:hover { color: var(--ink); border-color: var(--ink-3); }
.toc a[aria-current="true"] { color: var(--ink); border-color: var(--oxblood); font-weight: 600; }

.prose {
  --prose-size: 1.1875rem;
  font-family: var(--serif); font-size: var(--prose-size); line-height: 1.68; color: #1a1816;
  max-width: 44rem; width: 100%; margin-inline: auto; overflow-wrap: break-word;
  font-variant-numeric: oldstyle-nums proportional-nums;
}
html[data-text-size="-1"] .prose { --prose-size: 1.0625rem; }
html[data-text-size="1"] .prose { --prose-size: 1.3125rem; }
html[data-text-size="2"] .prose { --prose-size: 1.4375rem; }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { font-weight: 500; font-size: 1.6em; line-height: 1.15; letter-spacing: -0.012em; margin-top: 2em; }
.prose h3 { font-weight: 600; font-size: 1.25em; line-height: 1.2; margin-top: 1.7em; }
.prose h4, .prose h5, .prose h6 { font-family: var(--sans); font-size: 0.85em; font-weight: 700; letter-spacing: 0.02em; margin-top: 1.6em; }
.prose h2 + *, .prose h3 + * { margin-top: 0.55em; }
.prose a { color: var(--oxblood); text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose strong, .prose b { font-weight: 650; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 0.4em; }
.prose li::marker { color: var(--champagne); }
.prose blockquote { padding-left: 1em; border-left: 3px solid var(--champagne); font-style: italic; font-size: 1.2em; line-height: 1.45; }
.prose figure, .prose img { margin-block: 2em; }
.prose figure img { margin: 0; }
.prose img { width: auto; max-width: 100%; margin-inline: auto; background: var(--paper-2); }
.prose figcaption { margin-top: 10px; font-family: var(--sans); font-size: 0.8125rem; color: var(--muted); text-align: center; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; background: #000; }
.prose hr { border: 0; height: 1px; background: var(--rule); margin-block: 2.4em; }
.prose code { font-size: 0.85em; }
.prose--small { font-size: 1.0625rem; }
.article-end { display: grid; gap: 36px; max-width: 44rem; margin-inline: auto; width: 100%; }
.share-row { display: grid; gap: 12px; padding-top: 28px; border-top: 1px solid var(--ink); }
.share-links { display: flex; flex-wrap: wrap; gap: 8px; }
.share-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--rule-strong); font-weight: 700; font-size: 0.875rem; text-decoration: none; }
.share-links a:hover { border-color: var(--ink); background: var(--paper-2); }
.share-links .icon { width: 18px; height: 18px; }
.author-box { display: grid; grid-template-columns: auto 1fr; gap: 20px; padding: 24px; background: var(--paper-2); }
.author-box__img { width: 80px; height: 80px; border-radius: 50%; }
.author-box > div { display: grid; gap: 8px; }
.author-box__name { font-family: var(--serif); font-size: 1.5rem; line-height: 1.1; }
.author-box__name a { text-decoration: none; }
.author-box__bio { color: var(--muted); font-size: 0.9375rem; }
.related { padding-block: clamp(48px, 7vw, 96px); border-top: 1px solid var(--rule); }
.related__grid { display: grid; gap: 40px var(--gap); }
@media (min-width: 700px) { .related__grid { grid-template-columns: repeat(3, 1fr); } }

/* ---- Other pages -------------------------------------------------------- */
.about-head .page-title { max-width: 18ch; }
.about { padding-bottom: clamp(56px, 8vw, 104px); }
.about__grid { display: grid; gap: 48px; }
@media (min-width: 1000px) { .about__grid { grid-template-columns: minmax(0, 44rem) minmax(260px, 1fr); gap: 80px; } }
.about__lede { margin: 0; }
.dropcap::first-letter { float: left; font-size: 4.6em; line-height: 0.82; padding: 0.06em 0.1em 0 0; color: var(--oxblood); font-weight: 400; }
.about__mission { font-size: 1.35em; line-height: 1.35; font-style: italic; border-top: 1px solid var(--rule); padding-top: 1em; }
.about__card { position: sticky; top: calc(var(--masthead-h) + 24px); display: grid; gap: 14px; padding: 28px; background: var(--ink); color: var(--paper); --focus: var(--champagne); }
.about__card .kicker { color: var(--champagne); }
.stack-links { display: grid; margin-top: 8px; }
.stack-links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; border-bottom: 1px solid var(--rule); font-weight: 700; text-decoration: none; }
.about__card .stack-links a { border-color: var(--rule-dark); }
.stack-links a:hover .icon { transform: translateX(4px); }
.stack-links .icon { transition: transform var(--t-base) var(--ease-out); }
.contributors { padding-block: 0 clamp(56px, 8vw, 104px); }
.contributor-list { display: grid; gap: 12px var(--gap); grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.contributor { display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.contributor__img { grid-row: span 2; width: 56px; height: 56px; border-radius: 50%; }
.contributor__img--mark { padding: 14px 17px; background: var(--ink); fill: var(--champagne); }
.contributor__name { font-family: var(--serif); font-size: 1.15rem; line-height: 1.15; align-self: end; }
.contributor:hover .contributor__name { text-decoration: underline; }

.partners, .submissions { padding-bottom: clamp(56px, 8vw, 104px); }
.partner-list, .submission-list { border-top: 1px solid var(--ink); }
.partner, .submission { display: grid; grid-template-columns: 48px 1fr; gap: 12px 20px; padding: 26px 0; border-bottom: 1px solid var(--rule); align-items: start; }
@media (min-width: 800px) { .submission { grid-template-columns: 64px 1fr auto; align-items: center; } }
.partner__num, .submission__num { font-family: var(--serif); font-size: 1.6rem; line-height: 1; color: var(--champagne-ink); }
.partner__name, .submission__name { font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.1; }
.partner__name a { text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.partner__name a:hover { text-decoration: underline; text-underline-offset: 0.14em; }
.partner__name .icon { width: 20px; height: 20px; color: var(--muted); }
.partner__body, .submission__body { display: grid; gap: 6px; }
.partner__body p, .submission__body p { color: var(--muted); max-width: 60ch; }
.submission .button { grid-column: 2; justify-self: start; }
@media (min-width: 800px) { .submission .button { grid-column: 3; } }
/* All four category buttons share one width so they line up. */
.submission .button { justify-self: stretch; width: 100%; }
@media (min-width: 800px) { .submission .button { width: 320px; } }
.submission:target { background: var(--paper-2); box-shadow: -16px 0 0 var(--paper-2), 16px 0 0 var(--paper-2); }

.advertise-head { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .advertise-head { grid-template-columns: 1fr 300px; gap: 64px; } }
.advertise-head__kit { display: block; max-width: 300px; transform: rotate(3deg); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8); transition: transform var(--t-slow) var(--ease-out); }
.advertise-head__kit:hover { transform: rotate(0deg) translateY(-6px); }
.rate-card { padding-top: clamp(48px, 7vw, 88px); }
.table-wrap { overflow-x: auto; border-top: 2px solid var(--ink); }
.rates { width: 100%; border-collapse: collapse; min-width: 560px; }
.rates th, .rates td { padding: 16px 12px 16px 0; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.rates thead th { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.rates tbody th { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; }
.rates tbody th a { text-decoration: none; }
.rates tbody th a:hover { text-decoration: underline; }
.rates__price { font-family: var(--serif); font-size: 1.25rem; white-space: nowrap; }
.rates__action { text-align: right !important; white-space: nowrap; }
.placement-list { display: grid; gap: 20px var(--gap); margin: 24px 0; }
@media (min-width: 800px) { .placement-list { grid-template-columns: repeat(2, 1fr); } }
.placement { display: grid; gap: 8px; padding: 24px; background: var(--paper-2); }
.placement__name { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; }
.placement__name a { text-decoration: none; }
.specs { padding-block: clamp(48px, 7vw, 88px) clamp(56px, 8vw, 104px); }
.specs__grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .specs__grid { grid-template-columns: 7fr 5fr; gap: 64px; } }
.specs .facts { margin: 20px 0 12px; }
.specs__contact { display: grid; gap: 10px; align-content: start; padding: 32px; background: var(--ink); color: var(--paper); --focus: var(--champagne); }
.specs__contact .kicker { color: var(--champagne); }
.specs__big { font-family: var(--serif); font-size: clamp(1.35rem, 2.4vw, 1.9rem); line-height: 1.2; overflow-wrap: anywhere; }
.specs__big a { text-decoration: none; }
.specs__big a:hover { text-decoration: underline; }

.media-kit { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .media-kit { grid-template-columns: 1fr minmax(280px, 420px); gap: 80px; } }
.media-kit__copy { display: grid; gap: 8px; }
.media-kit__copy .stack-links { max-width: 420px; margin-top: 28px; }
.media-kit__cover { position: relative; display: block; box-shadow: 0 40px 80px -30px rgba(17, 17, 17, 0.55); transition: transform var(--t-slow) var(--ease-out); }
.media-kit__cover:hover { transform: translateY(-6px); }
.media-kit__corner { position: absolute; right: 0; top: 0; width: 0; height: 0; background: linear-gradient(to bottom left, var(--paper) 50%, #d4c8b2 50%); box-shadow: -5px 5px 10px rgba(0, 0, 0, 0.25); transition: width var(--t-base) var(--ease-out), height var(--t-base) var(--ease-out); }
.media-kit__cover:hover .media-kit__corner { width: 56px; height: 56px; }

.store { padding-bottom: clamp(56px, 8vw, 104px); }
.product-grid { display: grid; gap: 36px var(--gap); grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); margin-bottom: 24px; }
.product-card a { display: grid; gap: 10px; text-decoration: none; }
.product-card__name { font-family: var(--serif); font-size: 1.25rem; line-height: 1.15; }
.product-card .price { font-size: 1.1rem; }
.product-card a:hover .product-card__name { text-decoration: underline; }
.product-card .media img { transition: transform 700ms var(--ease-out); }
.product-card a:hover .media img { transform: scale(1.04); }

.contact { padding-bottom: clamp(56px, 8vw, 104px); }
.contact__grid { display: grid; gap: 56px; }
@media (min-width: 1000px) { .contact__grid { grid-template-columns: 5fr 7fr; gap: 80px; } }
.directory { display: grid; margin-top: 20px; border-top: 1px solid var(--ink); }
.directory > div { display: grid; gap: 2px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.directory dt { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.directory__detail { text-transform: none; letter-spacing: 0; font-weight: 500; }
.directory dd { font-family: var(--serif); font-size: 1.3rem; overflow-wrap: anywhere; }
.directory dd a { text-decoration: none; }
.directory dd a:hover { text-decoration: underline; }
.contact__form .stack-form { margin-top: 20px; }
.contact .fine { margin-top: 20px; }

.legal { padding-bottom: clamp(56px, 8vw, 104px); }
.legal .prose { margin-inline: 0; }

.albums { padding-bottom: clamp(56px, 8vw, 104px); }
.album-grid { display: grid; gap: 40px var(--gap); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .album-grid { grid-template-columns: repeat(4, 1fr); } .album--newest { grid-column: span 2; grid-row: span 2; } }
@media (max-width: 899px) { .album--newest { grid-column: 1 / -1; } }
.album a { position: relative; display: grid; gap: 12px; text-decoration: none; }
.album__stack { position: absolute; inset: 8px -8px auto 8px; aspect-ratio: inherit; }
.album .media { box-shadow: 8px -8px 0 var(--paper-3), 16px -16px 0 var(--paper-2); transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out); }
.album a:hover .media { transform: translate(-3px, 3px); box-shadow: 11px -11px 0 var(--paper-3), 22px -22px 0 var(--paper-2); }
.album__body { display: grid; gap: 2px; }
.album__title { font-family: var(--serif); font-size: 1.3rem; line-height: 1.15; }
.album--newest .album__title { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.photo-grid { columns: 2 180px; column-gap: 12px; padding-bottom: 48px; }
@media (min-width: 900px) { .photo-grid { columns: 4 220px; column-gap: 16px; } }
.photo-grid li { break-inside: avoid; margin-bottom: 12px; }
.photo { display: block; cursor: zoom-in; }
.photo .media img { transition: transform 700ms var(--ease-out), filter var(--t-base); }
.photo:hover .media img { transform: scale(1.03); }
.album-row { display: grid; gap: 24px var(--gap); grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); margin-top: 24px; }
.album-mini { display: grid; gap: 10px; text-decoration: none; font-family: var(--serif); font-size: 1.1rem; line-height: 1.2; }
.album-mini:hover span { text-decoration: underline; }

.lightbox { margin: 0; width: 100vw; height: 100dvh; background: rgba(8, 8, 8, 0.96); color: var(--paper); opacity: 0;
  transition: opacity var(--t-base), overlay var(--t-base) allow-discrete, display var(--t-base) allow-discrete; }
.lightbox[open] { opacity: 1; }
@starting-style { .lightbox[open] { opacity: 0; } }
.lightbox::backdrop { background: transparent; }
.lightbox__frame { position: relative; display: grid; place-items: center; width: 100%; height: 100%; padding: 64px 16px 24px; touch-action: pan-y; }
.lightbox__figure { display: grid; justify-items: center; gap: 12px; max-width: 100%; max-height: 100%; }
.lightbox__img { max-width: min(100%, 1400px); max-height: calc(100dvh - 140px); width: auto; height: auto; object-fit: contain; transition: opacity 240ms, transform 360ms var(--ease-out); }
.lightbox__img.is-swapping { opacity: 0; transform: translateX(calc(var(--dir, 1) * 24px)); }
.lightbox__caption { font-size: 0.9375rem; color: var(--muted-light); text-align: center; }
.lightbox__count { margin-left: 8px; font-weight: 700; color: var(--paper); }
.lightbox .icon-button { position: absolute; background: rgba(246, 242, 234, 0.1); color: var(--paper); }
.lightbox .icon-button:hover { background: rgba(246, 242, 234, 0.22); }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__prev, .lightbox__next { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; }
.lightbox__prev { left: 12px; }
.lightbox__next { right: 12px; }
@media (max-width: 700px) { .lightbox__prev, .lightbox__next { top: auto; bottom: 16px; transform: none; } }

.author-head__inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; }
.author-head__inner > div { min-width: 0; }
@media (min-width: 700px) { .author-head__inner { grid-template-columns: 160px minmax(0, 1fr); gap: 40px; } }
.author-head__img { width: 160px; height: 160px; border-radius: 50%; }
.inline-links { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 16px; }
.inline-links a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 700; }
.inline-links .icon { width: 16px; height: 16px; }

.not-found { display: grid; gap: 48px; padding-block: clamp(56px, 9vw, 128px); align-items: center; }
@media (min-width: 900px) { .not-found { grid-template-columns: 4fr 8fr; gap: 80px; } }
.not-found__mark { position: relative; width: min(260px, 50vw); justify-self: center; }
.not-found__mark svg { width: 100%; aspect-ratio: 3 / 4; height: auto; fill: var(--ink); }
.not-found__corner { position: absolute; right: -2px; top: -2px; width: 34%; aspect-ratio: 1; background: linear-gradient(to bottom left, var(--paper) 50%, #d7ccb9 50%); box-shadow: -8px 8px 14px rgba(0, 0, 0, 0.18); }
.not-found__copy { display: grid; gap: 18px; }
.not-found .search-field { border: 1px solid var(--rule-strong); max-width: 640px; }
.not-found .kicker--rule { margin: 20px 0 0; }

.reviews { padding-bottom: clamp(56px, 8vw, 104px); }
.consent-embed { display: grid; justify-items: start; gap: 14px; padding: 32px; background: var(--paper-2); margin-bottom: 20px; }

/* ---- View transitions (progressive) ------------------------------------- */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 320ms; animation-timing-function: var(--ease-out); }
::view-transition-group(story-hero) { animation-duration: 520ms; animation-timing-function: var(--ease-page); }
::view-transition-old(story-hero), ::view-transition-new(story-hero) { height: 100%; object-fit: cover; overflow: clip; }

/* ---- Reduced motion ----------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
  @view-transition { navigation: none; }
  .sheet, .sheet[open], .search-panel { transform: none !important; }
  .cover:hover .cover__art, .cover:focus-visible .cover__art { transform: none; }
  .card__link:hover .card__media .media img, .video-card__link:hover .media img, .product-card a:hover .media img, .photo:hover .media img { transform: none; }
}

@media print {
  .site-header, .site-footer, .newsletter-band, .reading-progress, .reading-tools, .related, .preview-flag, .share-row { display: none !important; }
  .prose { font-size: 12pt; max-width: none; }
}

/* The editions archive already has its own page head above the shelf. */
.page-magazines .shelf { padding-top: 0; }
.page-magazines .page-head--ink { padding-bottom: 8px; }

/* Over bright footage the outlined button keeps a soft dark backing. */
.hero .button--ghost-light { background: rgba(17, 17, 17, 0.38); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hero .button--ghost-light:hover { background: var(--paper); }

/* Phones: a shorter hero shows more of the 16:9 footage, so it is enlarged
   about 2x instead of 3x and reads noticeably sharper. */
@media (max-width: 699px) {
  .hero { min-height: 0; height: clamp(520px, 64svh, 620px); }
  .hero__inner { padding-top: calc(var(--masthead-h) + 28px); padding-bottom: 28px; gap: 0; }
  .hero__title { margin-top: 14px; font-size: clamp(2.55rem, 12vw, 3.1rem); }
  .hero__supporting { margin-top: 14px; font-size: 1.08rem; }
  .hero__actions { margin-top: 20px; gap: 10px; flex-wrap: wrap; }
  .hero__actions .button { min-height: 44px; padding: 0 12px; font-size: 0.875rem; gap: 6px; letter-spacing: 0; }
  .hero__aside { position: absolute; right: var(--gutter); top: calc(var(--masthead-h) + 12px); }
  .hero .video-toggle { min-width: 44px; padding: 0; justify-content: center; }
  .hero .video-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .hero__fold { width: 40px; }
}

/* Sites by Nu footer credit — generated by ~/sitesbynu-brand/build_credit.py (slaymagazine). Do not hand-edit; rebuild. */
.sbn-credit{--sbn-text:#f6f2ea;--sbn-muted:#c4bbad;--sbn-hover:#1b1917;display:inline-flex;align-items:center;gap:12px;min-height:60px;padding:4px 14px 4px 4px;border-radius:999px;color:var(--sbn-text);text-decoration:none}
.sbn-credit:hover{background:var(--sbn-hover)}
.sbn-credit:focus-visible{outline:3px solid #b89a64;outline-offset:3px}
.sbn-credit__mark{width:52px;height:52px;flex:0 0 52px;display:block}
.sbn-credit__text{display:flex;flex-direction:column;line-height:1.15}
.sbn-credit__label{font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--sbn-muted)}
.sbn-credit__wordmark{font-size:19px;font-weight:800;letter-spacing:-.4px;color:var(--sbn-text)}
.sbn-credit__sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.site-footer__credit{padding-top:20px;display:flex;justify-content:flex-start}
