@font-face {
  font-family: "Tilda Sans";
  src: url("/assets/static-tildacdn-com/fonts/tildasans/TildaSans-VF.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #171717;
  --paper: #f4f1eb;
  --line: #d8d3ca;
  --muted: #716d66;
  --orange: #e86f12;
}

* { box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; color: var(--ink); font-family: "Tilda Sans", Arial, sans-serif; background: var(--paper); }
img { max-width: 100%; }
a { color: inherit; }
button { font: inherit; }

.archive-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  padding: 14px max(20px, calc((100% - 1220px) / 2));
  color: #fff;
  background: #080808;
}
.archive-brand { display: block; width: 126px; height: 54px; }
.archive-brand img { width: 100%; height: 100%; object-fit: contain; }
.archive-nav { display: flex; align-items: center; gap: 24px; }
.archive-nav a { font-size: 14px; text-decoration: none; }
.archive-nav a:hover { text-decoration: underline; text-underline-offset: 5px; }

.mixbooks-main { overflow: hidden; }
.mixbooks-hero {
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(52px, 7vw, 92px) 0 clamp(36px, 5vw, 62px);
}
.mixbooks-kicker { margin: 0 0 20px; color: var(--orange); font-size: 13px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; }
.mixbooks-hero h1 { max-width: 980px; margin: 0; font-size: clamp(55px, 9vw, 116px); font-weight: 650; line-height: .88; letter-spacing: -.06em; }
.mixbooks-lead { max-width: 790px; margin: 28px 0 0; color: #4e4b46; font-size: clamp(19px, 2.2vw, 27px); line-height: 1.42; }
.archive-note {
  display: grid;
  grid-template-columns: minmax(150px, .35fr) minmax(0, 1fr);
  gap: 28px;
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto clamp(42px, 6vw, 72px);
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.archive-note strong { font-size: 15px; }
.archive-note p { max-width: 840px; margin: 0; color: #56524c; font-size: 15px; line-height: 1.65; }

.issue-section { width: min(1220px, calc(100% - 40px)); margin: 0 auto; padding-bottom: clamp(54px, 8vw, 96px); }
.issue-section__top { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 35px; }
.issue-section__top h2 { margin: 0; font-size: clamp(38px, 6vw, 72px); line-height: .95; letter-spacing: -.045em; }
.issue-section__top p { margin: 0 0 5px; color: var(--muted); font-size: 15px; }
.issue-list { display: grid; gap: 24px; }
.issue-card {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, .92fr);
  min-height: 470px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e0dcd5;
  border-radius: 18px;
  box-shadow: 0 14px 42px rgba(36, 29, 21, .07);
}
.issue-card__cover { display: grid; min-height: 470px; padding: clamp(20px, 3.4vw, 46px); place-items: center; background: #e9e5dd; }
.issue-card__cover img { width: 100%; box-shadow: 0 24px 54px rgba(36, 29, 21, .18); }
.issue-card__body { display: flex; padding: clamp(30px, 5vw, 64px); flex-direction: column; }
.issue-card__meta { display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.issue-card h3 { margin: 32px 0 16px; font-size: clamp(34px, 4.2vw, 57px); line-height: .95; letter-spacing: -.045em; }
.issue-card__description { margin: 0; color: #4e4a45; font-size: 18px; line-height: 1.48; }
.issue-card__credits { margin: 20px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.issue-card__link { display: inline-flex; align-items: center; gap: 13px; width: fit-content; margin-top: auto; padding-top: 34px; font-size: 15px; font-weight: 650; text-decoration: none; }
.issue-card__link::after { content: "→"; font-size: 24px; font-weight: 400; transition: transform .2s ease; }
.issue-card__link:hover::after { transform: translateX(5px); }

.archive-footer { display: flex; justify-content: space-between; gap: 40px; padding: 55px max(20px, calc((100% - 1220px) / 2)); color: #ddd; background: var(--ink); }
.archive-footer p { margin: 0; color: #969696; font-size: 13px; }
.archive-footer nav { display: flex; flex-wrap: wrap; gap: 14px 25px; }
.archive-footer a { font-size: 13px; text-decoration: none; }
.archive-footer a:hover { text-decoration: underline; }

.reader-body { background: #111; }
.reader-intro { color: var(--ink); background: var(--paper); }
.reader-intro__inner { width: min(1220px, calc(100% - 40px)); margin: 0 auto; padding: clamp(55px, 8vw, 100px) 0 55px; }
.reader-back { display: inline-block; margin-bottom: 38px; color: var(--muted); font-size: 14px; text-decoration: none; }
.reader-back:hover { color: var(--ink); }
.reader-intro h1 { max-width: 960px; margin: 13px 0 22px; font-size: clamp(48px, 7.4vw, 92px); line-height: .9; letter-spacing: -.055em; }
.reader-description { max-width: 740px; margin: 0; color: #4e4a45; font-size: clamp(18px, 2vw, 24px); line-height: 1.48; }
.reader-credits { margin: 28px 0 0; color: var(--muted); font-size: 14px; }

.reader-shell { position: relative; color: #fff; background: #111; }
.reader-controls {
  position: sticky;
  z-index: 10;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 72px;
  padding: 10px 18px;
  background: rgba(17, 17, 17, .94);
  border-bottom: 1px solid #303030;
  backdrop-filter: blur(10px);
}
.reader-control { min-width: 44px; min-height: 44px; padding: 0 16px; color: #fff; background: transparent; border: 1px solid #545454; border-radius: 24px; cursor: pointer; }
.reader-control:hover { background: #292929; }
.reader-control:disabled { opacity: .35; cursor: default; }
.reader-counter { min-width: 82px; font-size: 14px; text-align: center; font-variant-numeric: tabular-nums; }
.reader-track { display: flex; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; }
.reader-track::-webkit-scrollbar { display: none; }
.reader-page { display: grid; min-width: 100%; min-height: calc(100vh - 72px); margin: 0; padding: clamp(18px, 4vw, 58px); scroll-snap-align: center; place-items: center; }
.reader-page__inner { display: grid; width: 100%; place-items: center; }
.reader-page img { display: block; width: min(1400px, 100%); height: auto; box-shadow: 0 28px 90px rgba(0, 0, 0, .46); }
.reader-page figcaption { display: flex; justify-content: space-between; width: min(1400px, 100%); margin-top: 13px; color: #8e8e8e; font-size: 12px; }
.reader-page figcaption a { color: #d4d4d4; text-decoration: none; }
.reader-page figcaption a:hover { text-decoration: underline; }

.reader-transcript { color: var(--ink); background: var(--paper); }
.reader-transcript__inner { width: min(980px, calc(100% - 40px)); margin: 0 auto; padding: clamp(70px, 9vw, 120px) 0; }
.reader-transcript h2 { margin: 0 0 15px; font-size: clamp(38px, 5vw, 62px); letter-spacing: -.045em; }
.reader-transcript__intro { max-width: 760px; margin: 0 0 42px; color: var(--muted); line-height: 1.55; }
.transcript-page { border-top: 1px solid var(--line); }
.transcript-page:last-child { border-bottom: 1px solid var(--line); }
.transcript-page summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; font-weight: 650; cursor: pointer; list-style: none; }
.transcript-page summary span:last-child { margin-left: auto; color: var(--muted); font-size: 13px; font-weight: 500; }
.transcript-page summary::-webkit-details-marker { display: none; }
.transcript-page summary::after { color: var(--orange); content: "+"; font-size: 21px; font-weight: 400; }
.transcript-page[open] summary::after { content: "−"; }
.recipe-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 2px 0 30px; }
.recipe-card { display: flex; min-width: 0; padding: 25px 24px 22px; flex-direction: column; background: #fff; border: 1px solid #e1ddd5; border-radius: 14px; }
.recipe-card h3 { margin: 0 0 18px; font-size: clamp(22px, 2.5vw, 30px); line-height: 1.04; letter-spacing: -.025em; overflow-wrap: anywhere; }
.recipe-card__ingredients { display: grid; gap: 8px; margin: 0; padding: 0; color: #444039; font-size: 15px; line-height: 1.38; list-style: none; }
.recipe-card__ingredients li { padding-left: 0; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.recipe-card__author { margin: auto 0 0; padding-top: 22px; color: var(--muted); font-size: 13px; line-height: 1.35; }

@media (max-width: 800px) {
  .archive-header { min-height: 72px; }
  .archive-brand { width: 108px; height: 46px; }
  .archive-nav a:not(:first-child) { display: none; }
  .archive-note { grid-template-columns: 1fr; gap: 12px; }
  .issue-section__top { align-items: flex-start; flex-direction: column; }
  .issue-card { grid-template-columns: 1fr; min-height: 0; }
  .issue-card__cover { min-height: 0; padding: 18px 18px 0; background: #fff; }
  .issue-card__cover img { border-radius: 8px 8px 0 0; box-shadow: none; }
  .issue-card__body { min-height: 0; }
  .archive-footer { flex-direction: column; }
  .reader-page { min-height: auto; padding: 18px 12px 28px; }
  .reader-controls { min-height: 64px; }
  .recipe-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .mixbooks-hero, .archive-note, .issue-section, .reader-intro__inner, .reader-transcript__inner { width: min(100% - 30px, 1220px); }
  .mixbooks-hero h1 { font-size: clamp(50px, 17vw, 74px); }
  .mixbooks-hero { padding: 44px 0 34px; }
  .mixbooks-lead { margin-top: 24px; }
  .issue-list { gap: 18px; }
  .issue-card { border-radius: 16px; }
  .issue-card__cover { padding: 12px 12px 0; }
  .issue-card__body { min-height: 0; padding: 22px 20px 25px; }
  .issue-card__meta { font-size: 11px; }
  .issue-card h3 { margin: 22px 0 12px; font-size: 36px; }
  .issue-card__description { font-size: 16px; }
  .issue-card__credits { margin-top: 15px; }
  .issue-card__link { margin-top: 0; padding-top: 25px; }
  .archive-note { margin-bottom: 42px; padding: 18px 0; }
  .reader-intro h1 { font-size: clamp(38px, 11vw, 50px); overflow-wrap: anywhere; }
  .reader-controls { gap: 9px; }
  .reader-control { min-width: 42px; padding: 0 13px; }
  .reader-page figcaption { padding: 0 3px; }
  .reader-transcript__inner { padding: 62px 0 76px; }
  .reader-transcript__intro { margin-bottom: 30px; font-size: 15px; }
  .transcript-page summary { padding: 17px 0; }
  .recipe-grid { gap: 10px; padding-bottom: 24px; }
  .recipe-card { padding: 21px 18px 19px; border-radius: 12px; }
  .recipe-card h3 { margin-bottom: 15px; font-size: 24px; }
  .recipe-card__ingredients { font-size: 14px; }
}
