/* ==========================================================================
   魔改纪 · AI魔改短剧编辑部
   风格：暖纸编辑杂志（Paper Editorial）
   骨架：报头刊头 / 超大刊头数字 / 通栏大引言 / 档案列表 / 折角提示卡 / 票根 CTA
   ========================================================================== */

:root {
  --paper: #f4ede0;
  --paper-2: #ece3d2;
  --card: #fbf7ef;
  --ink: #16233a;
  --ink-soft: #495669;
  --ink-mute: #7b7365;
  --orange: #d9612c;
  --orange-deep: #b34518;
  --mustard: #e9b02c;
  --sage: #6f8f6a;
  --line: #d8cbb4;
  --line-strong: #b9a888;
  --shadow: 6px 6px 0 #16233a;
  --shell: 1180px;
  --serif: "Songti SC", "Songti TC", "STSong", "Noto Serif SC", "SimSun", Georgia, serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  /* 纸纹：极淡网点 + 斜纹，纯 CSS 零请求 */
  background-image:
    radial-gradient(rgba(22, 35, 58, .045) 1px, transparent 1px),
    repeating-linear-gradient(135deg, rgba(22, 35, 58, .016) 0 1px, transparent 1px 7px);
  background-size: 5px 5px, auto;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 24px; }

/* ---------------------------------------------------------------- 报头 nav */
.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(244, 237, 224, .94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--ink);
}

.topbar-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 74px;
}

.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }

.brand-mark {
  width: 42px;
  height: 42px;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--orange);
  color: var(--card);
  border: 2px solid var(--ink);
  border-radius: 10px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 3px 3px 0 var(--ink);
}

.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-family: var(--serif); font-size: 20px; letter-spacing: .06em; }
.brand-text span { font-size: 11px; letter-spacing: .22em; color: var(--ink-mute); text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  font-size: 14.5px;
  font-weight: 600;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color .2s ease, color .2s ease;
}
.nav a:hover, .nav a.active { color: var(--orange-deep); border-bottom-color: var(--orange); }

.nav-cta {
  margin-left: 6px;
  padding: 9px 18px !important;
  background: var(--ink);
  color: var(--card) !important;
  border-radius: 999px;
  border-bottom: 0 !important;
  font-size: 14px;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--orange-deep); }

.menu-toggle {
  display: none;
  width: 44px;
  height: 40px;
  border: 2px solid var(--ink);
  border-radius: 10px;
  background: var(--card);
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}
.menu-toggle i { display: block; width: 20px; height: 2px; background: var(--ink); }

/* ---------------------------------------------------------------- 刊头 hero */
.masthead { position: relative; padding: 54px 0 66px; overflow: hidden; }

.masthead::before {
  content: "";
  position: absolute;
  inset: -160px auto auto -180px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 97, 44, .22), rgba(217, 97, 44, 0) 68%);
  pointer-events: none;
}
.masthead::after {
  content: "";
  position: absolute;
  right: -200px;
  bottom: -220px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233, 176, 44, .24), rgba(233, 176, 44, 0) 70%);
  pointer-events: none;
}

.masthead-rule {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11.5px;
  letter-spacing: .26em;
  color: var(--ink-mute);
  text-transform: uppercase;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line-strong);
  padding: 9px 0;
}
.masthead-rule .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.masthead-rule .fill { flex: 1; height: 1px; background: var(--line); }

.masthead-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(0, .92fr);
  gap: 48px;
  align-items: center;
  margin-top: 34px;
  position: relative;
  z-index: 2;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--mustard);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 5px 15px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .08em;
}

.masthead h1 {
  font-family: var(--serif);
  font-size: clamp(38px, 5.6vw, 68px);
  line-height: 1.1;
  letter-spacing: .01em;
  font-weight: 700;
  margin: 20px 0 0;
}
.masthead h1 em {
  font-style: normal;
  color: var(--orange-deep);
  position: relative;
  white-space: nowrap;
}
.masthead h1 em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 10px;
  background: rgba(233, 176, 44, .55);
  z-index: -1;
}

.masthead-lead {
  margin: 20px 0 0;
  font-size: 16.5px;
  color: var(--ink-soft);
  max-width: 34em;
}

.masthead-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.pill {
  border: 1px solid var(--line-strong);
  background: var(--card);
  border-radius: 999px;
  padding: 5px 13px;
  font-size: 12.5px;
  color: var(--ink-soft);
}

.masthead-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn-solid { background: var(--orange); color: #fff8ee; box-shadow: var(--shadow); }
.btn-solid:hover { transform: translate(-2px, -2px) rotate(-1.2deg); box-shadow: 8px 8px 0 var(--ink); }
.btn-ghost { background: var(--card); color: var(--ink); }
.btn-ghost:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); background: #fff; }
.btn-note { font-size: 12.5px; color: var(--ink-mute); margin: 14px 0 0; }

/* 刊号拼贴 */
.issue-collage { position: relative; }
.issue-stack { position: relative; }
.issue-main {
  border: 2px solid var(--ink);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 12px 12px 0 rgba(22, 35, 58, .92);
  transform: rotate(-2deg);
  background: var(--ink);
}
.issue-main img { width: 100%; height: 420px; object-fit: cover; }

.issue-card {
  position: absolute;
  left: -26px;
  bottom: -34px;
  width: 214px;
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: 14px;
  padding: 13px 15px 14px;
  transform: rotate(3.2deg);
  box-shadow: 6px 6px 0 rgba(22, 35, 58, .9);
}
.issue-card .no {
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1;
  color: var(--orange-deep);
}
.issue-card strong { display: block; margin-top: 6px; font-size: 14.5px; }
.issue-card span { font-size: 12px; color: var(--ink-mute); }

.issue-badge {
  position: absolute;
  top: -18px;
  right: -14px;
  background: var(--sage);
  color: #fff;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 12.5px;
  font-weight: 700;
  transform: rotate(6deg);
  box-shadow: 4px 4px 0 var(--ink);
}

/* ---------------------------------------------------------------- 通栏数字 */
.marquee {
  background: var(--ink);
  color: var(--paper);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  padding: 26px 0;
  overflow: hidden;
}
.marquee-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  text-align: center;
}
.marquee b {
  display: block;
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  letter-spacing: .02em;
}
.marquee span { font-size: 12.5px; letter-spacing: .12em; color: rgba(244, 237, 224, .68); }
.marquee .sep { display: none; }

/* ---------------------------------------------------------------- 通用区块 */
.section { padding: 76px 0; }
.section-alt { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.sec-head .tag {
  display: inline-block;
  font-size: 11.5px;
  letter-spacing: .26em;
  color: var(--orange-deep);
  font-weight: 700;
  margin-bottom: 8px;
}
.sec-head h2 {
  font-family: var(--serif);
  font-size: clamp(27px, 3.4vw, 40px);
  line-height: 1.2;
  margin: 0;
  letter-spacing: .015em;
}
.sec-head p { margin: 10px 0 0; color: var(--ink-soft); font-size: 15px; max-width: 44em; }

.sec-link {
  font-size: 14px;
  font-weight: 700;
  border-bottom: 2px solid var(--orange);
  padding-bottom: 2px;
  white-space: nowrap;
}

/* ---------------------------------------------------------------- 剧集筛选 */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0 0;
}
.chip {
  border: 2px solid var(--ink);
  background: var(--card);
  border-radius: 999px;
  padding: 7px 17px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--sans);
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.chip:hover { transform: translateY(-2px); }
.chip.is-on { background: var(--ink); color: var(--card); }

.drama-note { margin: 16px 0 0; font-size: 13px; color: var(--ink-mute); }

/* ---------------------------------------------------------------- 剧集档案列表 */
.dossier { margin-top: 34px; border-top: 2px solid var(--ink); }

.drama {
  display: grid;
  grid-template-columns: 78px 64px minmax(0, 1fr) 176px 168px;
  gap: 22px;
  align-items: center;
  padding: 22px 6px;
  border-bottom: 1px solid var(--line-strong);
  transition: background .2s ease;
}
.drama:hover { background: rgba(255, 255, 255, .55); }
.drama.is-off { display: none; }

.drama-no {
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1;
  color: var(--line-strong);
  letter-spacing: -.02em;
}
.drama:nth-child(-n+2) .drama-no { color: var(--orange); }

.drama-thumb {
  width: 64px;
  height: 86px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  overflow: hidden;
  background: var(--ink);
}
.drama-thumb img { width: 100%; height: 100%; object-fit: cover; }

.drama-body h3 { font-family: var(--serif); font-size: 23px; margin: 0 0 6px; letter-spacing: .015em; }
.drama-body p { margin: 0; font-size: 14px; color: var(--ink-soft); line-height: 1.7; }

.drama-tag {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--orange-deep);
  border: 1px solid rgba(179, 69, 24, .45);
  border-radius: 4px;
  padding: 1px 7px;
}

.drama-meta { font-size: 13px; color: var(--ink-mute); display: flex; flex-direction: column; gap: 5px; }
.drama-meta b { color: var(--ink); font-family: var(--serif); font-size: 17px; }

.drama-act { display: flex; justify-content: flex-end; }
.drama-act .btn { padding: 9px 18px; font-size: 13.5px; border-radius: 10px; }

/* ---------------------------------------------------------------- 大引言 */
.pullquote {
  padding: 72px 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pullquote blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(24px, 3.6vw, 42px);
  line-height: 1.45;
  letter-spacing: .01em;
  max-width: 20em;
}
.pullquote blockquote span { color: var(--orange-deep); box-shadow: inset 0 -.34em rgba(233, 176, 44, .5); }
.pullquote cite {
  display: block;
  margin-top: 18px;
  font-style: normal;
  font-size: 13px;
  letter-spacing: .18em;
  color: var(--ink-mute);
}

/* ---------------------------------------------------------------- 制作四步 */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 34px; }
.step {
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: 16px;
  padding: 24px 22px 26px;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: 6px 6px 0 rgba(22, 35, 58, .9); }
.step-no {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: .16em;
  color: var(--orange-deep);
  font-weight: 700;
}
.step h3 { font-family: var(--serif); font-size: 19.5px; margin: 8px 0 8px; }
.step p { margin: 0; font-size: 13.8px; color: var(--ink-soft); line-height: 1.72; }

/* ---------------------------------------------------------------- 画面展映 */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 34px;
}
.shot {
  margin: 0;
  border: 2px solid var(--ink);
  border-radius: 16px;
  overflow: hidden;
  background: var(--ink);
  position: relative;
}
.shot img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 4; transition: transform .5s ease; }
.shot:hover img { transform: scale(1.04); }
.shot figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 34px 16px 13px;
  font-size: 12.5px;
  color: #fff;
  background: linear-gradient(to top, rgba(6, 10, 18, .92), rgba(6, 10, 18, 0));
}
.shot-wide { grid-column: span 2; }
.shot-wide img { aspect-ratio: 3 / 2; }

/* ---------------------------------------------------------------- 四大保障 */
.assure { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 34px; }
.assure-item {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-left: 4px solid var(--orange);
  border-radius: 8px;
  padding: 20px 20px 18px;
}
.assure-ico {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  color: var(--orange-deep);
}
.assure-item h3 { font-size: 16.5px; margin: 0 0 5px; font-family: var(--sans); font-weight: 700; }
.assure-item p { margin: 0; font-size: 13.6px; color: var(--ink-soft); line-height: 1.7; }

/* ---------------------------------------------------------------- 文章（编辑排版） */
.posts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 34px; }
.post {
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  padding: 26px 26px 22px;
  display: flex;
  flex-direction: column;
  border-top: 3px solid var(--ink);
}
.post:nth-child(odd) { border-top-color: var(--orange); }
.post:nth-child(even) { border-top-color: var(--sage); }
.post-meta { font-size: 11.5px; letter-spacing: .16em; color: var(--ink-mute); }
.post h3 { font-family: var(--serif); font-size: 22px; line-height: 1.35; margin: 10px 0 10px; }
.post p { margin: 0 0 16px; font-size: 14px; color: var(--ink-soft); line-height: 1.8; }
.post-more { margin-top: auto; font-size: 13.5px; font-weight: 700; color: var(--orange-deep); }
.post-more::after { content: " →"; }

/* ---------------------------------------------------------------- FAQ */
.faq { margin-top: 30px; border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 44px 20px 0;
  position: relative;
  font-size: 16.5px;
  font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 400;
  color: var(--orange-deep);
  transition: transform .25s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 22px; font-size: 14.5px; color: var(--ink-soft); line-height: 1.85; max-width: 52em; }

/* ---------------------------------------------------------------- 票根 CTA */
.ticket-wrap { padding: 78px 0; }
.ticket {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  border-radius: 20px;
  padding: 46px 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  overflow: hidden;
}
.ticket::before,
.ticket::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--paper);
  transform: translateY(-50%);
}
.ticket::before { left: -17px; }
.ticket::after { right: -17px; }
.ticket .stub-line {
  position: absolute;
  left: calc(100% - 300px);
  top: 18px;
  bottom: 18px;
  border-left: 2px dashed rgba(244, 237, 224, .32);
}
.ticket h2 { font-family: var(--serif); font-size: clamp(25px, 3.2vw, 36px); margin: 0 0 12px; line-height: 1.25; }
.ticket p { margin: 0; color: rgba(244, 237, 224, .76); font-size: 14.5px; max-width: 36em; }
.ticket .btn-solid { box-shadow: 6px 6px 0 rgba(244, 237, 224, .22); white-space: nowrap; }
.ticket .btn-solid:hover { box-shadow: 8px 8px 0 rgba(244, 237, 224, .34); }

/* ---------------------------------------------------------------- 页脚 */
.site-footer { background: var(--paper-2); border-top: 2px solid var(--ink); padding: 56px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 34px; }
.footer-grid h4 { font-family: var(--serif); font-size: 16px; margin: 0 0 14px; letter-spacing: .06em; }
.footer-grid p { margin: 0; font-size: 13.5px; color: var(--ink-soft); line-height: 1.85; max-width: 30em; }
.footer-grid li { margin-bottom: 9px; font-size: 13.5px; color: var(--ink-soft); }
.footer-grid li a:hover { color: var(--orange-deep); }
.footer-note {
  margin-top: 38px;
  padding-top: 18px;
  border-top: 1px solid var(--line-strong);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--ink-mute);
}

/* ---------------------------------------------------------------- 回顶 */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--card);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 4px 4px 0 rgba(22, 35, 58, .85);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .2s ease;
  z-index: 70;
}
.to-top.is-on { opacity: 1; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); }

/* ---------------------------------------------------------------- 滚动渐入 */
.js-reveal.is-hidden { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.js-reveal.is-hidden.is-in { opacity: 1; transform: none; }

/* ================================================================ 文章页 */
.article-wrap { max-width: 780px; margin: 0 auto; padding: 46px 24px 72px; }
.crumb { font-size: 12.5px; letter-spacing: .14em; color: var(--ink-mute); }
.crumb a:hover { color: var(--orange-deep); }
.article-head { border-bottom: 2px solid var(--ink); padding-bottom: 22px; margin-bottom: 32px; }
.article-head h1 {
  font-family: var(--serif);
  font-size: clamp(28px, 4.4vw, 44px);
  line-height: 1.25;
  margin: 14px 0 12px;
}
.article-head .meta { font-size: 12.5px; color: var(--ink-mute); letter-spacing: .12em; }
.article-lead {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.85;
  color: var(--ink-soft);
  border-left: 4px solid var(--orange);
  padding-left: 18px;
  margin: 0 0 34px;
}
.article-body h2 {
  font-family: var(--serif);
  font-size: 25px;
  margin: 40px 0 14px;
  padding-left: 14px;
  border-left: 5px solid var(--mustard);
  line-height: 1.4;
}
.article-body p { margin: 0 0 18px; font-size: 15.5px; line-height: 1.95; color: #24303f; }
.article-body ul { margin: 0 0 20px; padding-left: 4px; }
.article-body li { position: relative; padding-left: 20px; margin-bottom: 10px; font-size: 15px; line-height: 1.8; color: #24303f; }
.article-body li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}
.article-tip {
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-left: 4px solid var(--sage);
  border-radius: 8px;
  padding: 18px 20px;
  margin: 26px 0;
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.85;
}
.article-foot {
  margin-top: 46px;
  padding-top: 24px;
  border-top: 1px solid var(--line-strong);
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

/* ================================================================ 响应式 */
@media (max-width: 1040px) {
  .masthead-grid { grid-template-columns: 1fr; gap: 56px; }
  .issue-collage { max-width: 420px; }
  .issue-main img { height: 400px; }
  .drama { grid-template-columns: 62px 64px minmax(0, 1fr); row-gap: 14px; }
  .drama-meta { flex-direction: row; grid-column: 2 / 4; gap: 16px; flex-wrap: wrap; }
  .drama-act { grid-column: 2 / 4; justify-content: flex-start; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--paper);
    border-bottom: 2px solid var(--ink);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 18px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 2px; border-bottom: 1px solid var(--line); font-size: 15px; }
  .nav-cta { margin: 12px 0 0; text-align: center; border-bottom: 0 !important; padding: 12px 18px !important; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shot-wide { grid-column: span 2; }
  .posts { grid-template-columns: 1fr; }
  .ticket { grid-template-columns: 1fr; padding: 36px 28px; }
  .ticket .stub-line { display: none; }
  .ticket::before, .ticket::after { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .shell { padding: 0 18px; }
  .section { padding: 54px 0; }
  .masthead { padding: 34px 0 46px; }
  .masthead-rule { flex-wrap: nowrap; gap: 10px; font-size: 10.5px; letter-spacing: .16em; }
  .masthead-rule .rule-tail { display: none; }
  .masthead-lead { font-size: 15px; }
  .masthead-tags { gap: 8px; }
  .issue-main img { height: 320px; }
  .issue-card { left: -8px; bottom: -26px; width: 178px; padding: 11px 13px 12px; }
  .issue-card .no { font-size: 25px; }
  .marquee-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 8px; }
  .drama { grid-template-columns: 52px minmax(0, 1fr); gap: 14px 14px; padding: 18px 2px; }
  .drama-no { font-size: 26px; }
  .drama-thumb { display: none; }
  .drama-body h3 { font-size: 20px; }
  .drama-meta { grid-column: 1 / -1; flex-direction: row; gap: 14px; font-size: 12.5px; }
  .drama-act { grid-column: 1 / -1; }
  .drama-act .btn { width: 100%; }
  .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .shot-wide { grid-column: auto; }
  .shot-wide img { aspect-ratio: 3 / 4; }
  .assure { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .pullquote { padding: 52px 0; }
  .ticket-wrap { padding: 52px 0; }
  .ticket { padding: 30px 22px; }
  .article-foot { flex-direction: column; align-items: flex-start; }
  .article-foot .btn { width: 100%; }
}

@media (max-width: 380px) {
  .masthead h1 { font-size: 32px; }
  .brand-text strong { font-size: 18px; }
  .brand-text span { font-size: 10px; }
  .issue-card { display: none; }
}
