/* THE LETTERPRESS REVIEW — editorial SIGNATURE
 * Magazine multi-column + Drop Cap + Pull Quote highlight + Reading Progress Bar
 */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Source+Serif+Pro:ital,wght@0,300;0,400;0,600;1,400&family=Inter:wght@400;500;600&display=swap');
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css');

:root {
  --bg-base:   #f7f3ec;
  --bg-paper:  #fffefb;
  --ink:       #1a1410;
  --ink-soft:  #4a3f37;
  --muted:     #8a7d72;

  --red:       #7a1f1f;       /* oxblood */
  --navy:      #1f2a4a;
  --highlight: #fff299;       /* pull quote yellow */

  --border:    #1a1410;

  --display: 'Playfair Display', Georgia, serif;
  --serif:   'Source Serif Pro', 'Noto Serif KR', 'Source Serif', Georgia, serif;
  --sans:    'Inter', 'Pretendard', system-ui, sans-serif;
  --korean-serif: 'Noto Serif KR', 'Source Serif Pro', serif;

  --gap:      32px;
  --gap-lg:   48px;

  --z-progress: 50;
  --z-nav:      80;
  --z-overlay:  100;
  --z-banner:   120;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-base);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html[lang="ko"] body { font-family: var(--korean-serif); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
input, select, textarea {
  font: inherit; color: var(--ink);
  background: var(--bg-paper);
  border: 1px solid var(--ink);
  border-radius: 0;
  padding: 12px 14px;
  font-size: 16px;
  width: 100%;
  font-family: var(--sans);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--red); outline-offset: -1px; }

/* ── Demo banner ──────────────────────────────────── */
.demo-banner {
  position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-banner);
  background: var(--ink); color: var(--bg-paper);
  font-family: var(--sans); font-size: 12px;
  padding: 8px 16px; text-align: center; letter-spacing: 0.04em;
}
.demo-banner a { color: var(--highlight); text-decoration: underline; font-weight: 600; }
body.has-banner { padding-top: 32px; }

/* ── Reading Progress Bar (sig #5) ─────────────────── */
.read-progress {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 0;
  background: var(--red); z-index: var(--z-progress);
  transition: width .12s linear;
}
body.has-banner .read-progress { top: 32px; }

/* ── Top Masthead ─────────────────────────────────── */
.masthead {
  position: sticky; top: 0; z-index: var(--z-nav);
  background: var(--bg-paper);
  border-bottom: 2px solid var(--ink);
}
body.has-banner .masthead { top: 32px; }
.masthead-top {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1280px; margin: 0 auto; padding: 14px 24px;
}
.masthead-brand {
  font-family: var(--display); font-weight: 900;
  font-size: clamp(20px, 2.5vw, 28px);
  letter-spacing: -0.01em;
}
.masthead-vol {
  font-family: var(--sans); font-size: 11px;
  color: var(--ink-soft); letter-spacing: 0.12em;
  text-transform: uppercase;
}
.masthead-links {
  display: flex; gap: 22px; align-items: center;
}
.masthead-link {
  font-family: var(--sans); font-size: 13px;
  color: var(--ink); font-weight: 500;
  transition: color .15s, border-color .15s;
  border-bottom: 1px solid transparent;
  padding: 4px 0;
}
.masthead-link:hover { color: var(--red); border-bottom-color: var(--red); }
.masthead-cta {
  font-family: var(--sans); font-weight: 700; font-size: 13px;
  background: var(--ink); color: var(--bg-paper);
  padding: 8px 18px;
  border: 1px solid var(--ink);
  letter-spacing: 0.04em;
}
.masthead-cta:hover { background: var(--red); border-color: var(--red); }
.masthead-burger { display: none; width: 36px; height: 36px; border: 1px solid var(--ink); align-items: center; justify-content: center; }
.masthead-stripe {
  background: var(--ink); color: var(--bg-paper);
  padding: 6px 24px; text-align: center;
  font-family: var(--sans); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
}
.masthead-stripe .sep { color: var(--highlight); margin: 0 12px; }

/* ── Section base ─────────────────────────────────── */
.section { padding: 80px 0; border-top: 1px solid var(--ink); }
.section.no-border { border-top: 0; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section-header {
  display: flex; justify-content: space-between; align-items: baseline;
  border-bottom: 1px solid var(--ink); padding-bottom: 16px; margin-bottom: 36px;
}
.section-eyebrow {
  font-family: var(--sans); font-size: 11px;
  color: var(--red); letter-spacing: 0.16em;
  text-transform: uppercase; font-weight: 700;
}
.section-meta {
  font-family: var(--sans); font-size: 11px;
  color: var(--ink-soft); letter-spacing: 0.04em;
}
.section-title {
  font-family: var(--display); font-weight: 900;
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: -0.025em; line-height: 1.05;
  margin-bottom: 12px;
}
html[lang="ko"] .section-title { font-family: var(--korean-serif); font-weight: 700; }
.section-deck {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(17px, 1.7vw, 21px);
  color: var(--ink-soft); line-height: 1.5; max-width: 720px;
}

/* ── Hero — Front Page ────────────────────────────── */
#hero { padding: 60px 0; border-top: 0; }
.hero-grid {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px;
  align-items: end;
}
.hero-vol {
  font-family: var(--sans); font-size: 11px;
  color: var(--red); letter-spacing: 0.2em;
  text-transform: uppercase; font-weight: 700;
  margin-bottom: 16px;
}
.hero-headline {
  font-family: var(--display); font-weight: 900;
  font-size: clamp(48px, 7vw, 96px);
  letter-spacing: -0.03em; line-height: 1.0;
  white-space: pre-line;
  margin-bottom: 24px;
}
html[lang="ko"] .hero-headline { font-family: var(--korean-serif); font-weight: 700; line-height: 1.15; }
.hero-deck {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(17px, 1.7vw, 22px);
  color: var(--ink-soft); line-height: 1.55; max-width: 560px;
  margin-bottom: 18px;
}
.hero-byline {
  font-family: var(--sans); font-size: 12px;
  color: var(--ink-soft); letter-spacing: 0.06em;
}
.hero-img {
  aspect-ratio: 4/5; background-size: cover; background-position: center;
  border: 1px solid var(--ink);
}

/* ── Editor's Note — Drop Cap ─────────────────────── */
.editor-note {
  display: grid; grid-template-columns: 280px 1fr; gap: 48px;
  align-items: start;
}
.editor-portrait {
  aspect-ratio: 4/5; background-size: cover; background-position: center;
  border: 1px solid var(--ink);
}
.editor-portrait-caption {
  font-family: var(--sans); font-size: 11px;
  color: var(--ink-soft); letter-spacing: 0.04em;
  margin-top: 10px; text-align: center;
}
.editor-body {
  font-family: var(--korean-serif); font-size: 17px;
  line-height: 1.85; color: var(--ink);
  max-width: 680px;
}
.editor-body p {
  margin-bottom: 16px; text-align: justify; word-break: keep-all;
}
.editor-body p:first-child::first-letter {
  font-family: var(--display); font-weight: 900;
  font-size: 5.6em; line-height: 0.9;
  float: left; padding-right: 14px; padding-top: 6px;
  color: var(--red);
  opacity: 0; transform: translateX(-20px);
  transition: opacity .8s ease, transform .8s ease;
}
.editor-body.in p:first-child::first-letter { opacity: 1; transform: translateX(0); }
.editor-signature {
  font-family: var(--display); font-style: italic;
  font-size: 22px; color: var(--ink); margin-top: 20px;
  border-top: 1px solid var(--ink); padding-top: 12px;
}

/* ── Contributors ─────────────────────────────────── */
.contributors-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 24px;
}
.contrib-card {
  display: flex; flex-direction: column; gap: 10px;
}
.contrib-img {
  aspect-ratio: 1; background-size: cover; background-position: center;
  border: 1px solid var(--ink);
  transition: filter .35s, transform .25s;
}
.contrib-card:hover .contrib-img { filter: sepia(0.15) contrast(1.05); transform: translateY(-2px); }
.contrib-name {
  font-family: var(--display); font-weight: 700; font-size: 18px;
  letter-spacing: -0.01em;
}
html[lang="ko"] .contrib-name { font-family: var(--korean-serif); font-weight: 600; }
.contrib-role {
  font-family: var(--sans); font-size: 11px; color: var(--red);
  letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600;
}
.contrib-track { font-family: var(--korean-serif); font-size: 13px; color: var(--ink); font-style: italic; }
.contrib-prev { font-family: var(--sans); font-size: 11px; color: var(--muted); }

/* ── Table of Contents ────────────────────────────── */
.toc-list { display: flex; flex-direction: column; gap: 0; }
.toc-row {
  display: grid; grid-template-columns: 60px 1fr auto;
  align-items: baseline; gap: 16px;
  padding: 18px 0; border-bottom: 1px dotted var(--ink);
  cursor: pointer; transition: background .25s;
}
.toc-row:hover { background: var(--bg-paper); padding-left: 12px; padding-right: 12px; }
.toc-row:last-child { border-bottom: 1px solid var(--ink); }
.toc-roman {
  font-family: var(--display); font-weight: 700; font-size: 24px;
  color: var(--red); letter-spacing: 0;
}
.toc-mid { display: flex; flex-direction: column; gap: 2px; min-width: 0; position: relative; }
.toc-mid::after {
  content: ''; position: absolute; bottom: 6px; left: 0; right: 0; height: 1px;
  background-image: radial-gradient(circle, var(--ink) 1px, transparent 1.5px);
  background-size: 6px 1px; background-repeat: repeat-x;
  opacity: 0.4; pointer-events: none;
}
.toc-title {
  font-family: var(--korean-serif); font-weight: 600; font-size: 19px;
  letter-spacing: -0.01em;
  background: var(--bg-base); padding-right: 8px; position: relative; z-index: 1;
}
.toc-meta {
  font-family: var(--sans); font-size: 11px; color: var(--ink-soft);
  letter-spacing: 0.04em;
  background: var(--bg-base); padding-right: 8px; position: relative; z-index: 1;
  width: fit-content;
}
.toc-fee {
  font-family: var(--display); font-weight: 700; font-size: 16px;
  color: var(--ink); white-space: nowrap;
  background: var(--bg-base); padding-left: 12px; position: relative; z-index: 1;
}

/* ── Featured Article — 3 column ──────────────────── */
.feature-hero { margin-bottom: 32px; }
.feature-hero-img {
  aspect-ratio: 16/9; background-size: cover; background-position: center;
  border: 1px solid var(--ink); margin-bottom: 18px;
}
.feature-cat {
  font-family: var(--sans); font-size: 11px; color: var(--red);
  letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700;
}
.feature-title {
  font-family: var(--display); font-weight: 900;
  font-size: clamp(40px, 5vw, 72px);
  letter-spacing: -0.03em; line-height: 1.0;
  margin: 12px 0 12px;
}
html[lang="ko"] .feature-title { font-family: var(--korean-serif); font-weight: 700; line-height: 1.15; }
.feature-deck {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(18px, 2vw, 24px);
  color: var(--ink-soft); margin-bottom: 14px; max-width: 720px;
}
.feature-byline { font-family: var(--sans); font-size: 12px; color: var(--ink-soft); letter-spacing: 0.04em; margin-bottom: 24px; }

.feature-body {
  font-family: var(--korean-serif); font-size: 16px; line-height: 1.85; color: var(--ink);
  column-count: 3; column-gap: 32px;
  column-rule: 1px solid var(--ink);
  text-align: justify; word-break: keep-all;
}
.feature-body p { margin-bottom: 14px; break-inside: avoid-column; }
.feature-body p:first-child::first-letter {
  font-family: var(--display); font-weight: 900;
  font-size: 4.2em; line-height: 0.9;
  float: left; padding-right: 10px; padding-top: 4px;
  color: var(--red);
}

.pull-quote {
  font-family: var(--display); font-style: italic; font-weight: 700;
  font-size: clamp(28px, 3.5vw, 44px);
  letter-spacing: -0.02em; line-height: 1.2;
  margin: 32px auto;
  text-align: center;
  padding: 24px 32px;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  max-width: 880px;
  cursor: pointer;
  position: relative; overflow: hidden;
  background: linear-gradient(to right, var(--highlight) 0%, var(--highlight) 0%, transparent 0%, transparent 100%);
  background-size: 200% 100%;
  background-position: 100% 0;
  transition: background-position .8s ease;
}
.pull-quote:hover { background-position: 0 0; }

/* ── Stats ────────────────────────────────────────── */
.stats-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px;
}
.stat-card {
  display: flex; flex-direction: column; gap: 8px; align-items: flex-start;
  padding: 24px 18px;
  border: 1px solid var(--ink);
  background: var(--bg-paper);
  transition: background .25s;
}
.stat-card:hover { background: var(--highlight); }
.stat-big {
  font-family: var(--display); font-weight: 900;
  font-size: clamp(40px, 4vw, 56px);
  letter-spacing: -0.03em; line-height: 1; color: var(--red);
}
.stat-sub {
  font-family: var(--sans); font-size: 12px;
  color: var(--ink-soft); letter-spacing: 0.04em;
  line-height: 1.4;
}

/* ── Process — Numbered List ──────────────────────── */
.process-list { display: flex; flex-direction: column; gap: 0; }
.process-row {
  display: grid; grid-template-columns: 80px 1fr; gap: 24px;
  padding: 28px 0; border-bottom: 1px solid var(--ink);
  align-items: start;
}
.process-row:last-child { border-bottom: 0; }
.process-roman {
  font-family: var(--display); font-weight: 900; font-size: 56px;
  color: var(--red); line-height: 1;
}
.process-info { display: flex; flex-direction: column; gap: 6px; }
.process-name {
  font-family: var(--display); font-weight: 700; font-size: 22px;
  letter-spacing: -0.01em;
}
html[lang="ko"] .process-name { font-family: var(--korean-serif); font-weight: 600; }
.process-body { font-family: var(--korean-serif); font-size: 15px; color: var(--ink-soft); line-height: 1.7; max-width: 720px; }

/* ── Alumni Q&A ───────────────────────────────────── */
.alumni-list { display: flex; flex-direction: column; gap: 0; }
.alumni-row {
  display: grid; grid-template-columns: 200px 1fr; gap: 32px;
  padding: 32px 0; border-bottom: 1px solid var(--ink);
}
.alumni-row:last-child { border-bottom: 0; }
.alumni-portrait {
  aspect-ratio: 4/5; background-size: cover; background-position: center;
  border: 1px solid var(--ink);
}
.alumni-info { display: flex; flex-direction: column; gap: 12px; }
.alumni-name-row {
  display: flex; gap: 16px; align-items: baseline;
  border-bottom: 1px solid var(--ink); padding-bottom: 8px;
}
.alumni-name { font-family: var(--display); font-weight: 700; font-size: 22px; }
html[lang="ko"] .alumni-name { font-family: var(--korean-serif); font-weight: 700; }
.alumni-track { font-family: var(--sans); font-size: 11px; color: var(--red); letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; }
.alumni-dest { font-family: var(--display); font-style: italic; font-size: 16px; color: var(--ink-soft); margin-left: auto; }
.alumni-q { font-family: var(--korean-serif); font-weight: 700; font-size: 16px; color: var(--ink); }
.alumni-q::before { content: 'Q. '; color: var(--red); font-weight: 900; }
.alumni-a { font-family: var(--korean-serif); font-style: italic; font-size: 16px; color: var(--ink-soft); line-height: 1.6; }
.alumni-a::before { content: 'A. '; color: var(--red); font-weight: 900; font-style: normal; }

/* ── Reviews ──────────────────────────────────────── */
.reviews-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.review-card {
  display: grid; grid-template-columns: 80px 1fr; gap: 16px;
  padding: 24px;
  border: 1px solid var(--ink);
  background: var(--bg-paper);
}
.review-img {
  width: 80px; height: 80px; border-radius: 50%;
  background-size: cover; background-position: center;
  border: 1px solid var(--ink);
}
.review-body { display: flex; flex-direction: column; gap: 6px; }
.review-stars { font-family: var(--display); font-size: 16px; color: var(--red); letter-spacing: 0.05em; }
.review-name { font-family: var(--display); font-weight: 700; font-size: 16px; }
.review-role { font-family: var(--sans); font-size: 11px; color: var(--ink-soft); letter-spacing: 0.04em; text-transform: uppercase; }
.review-text { font-family: var(--korean-serif); font-size: 14px; color: var(--ink); line-height: 1.7; margin-top: 6px; word-break: keep-all; }

/* ── CTA — Subscription form ──────────────────────── */
.cta-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1px solid var(--ink);
  background: var(--bg-paper);
}
.cta-pane { padding: 36px; }
.cta-pane.left { border-right: 1px solid var(--ink); background: var(--ink); color: var(--bg-paper); }
.cta-pane.left .section-eyebrow { color: var(--highlight); }
.cta-headline {
  font-family: var(--display); font-weight: 900;
  font-size: clamp(36px, 4.5vw, 56px);
  letter-spacing: -0.025em; line-height: 1.0; margin: 12px 0 16px;
}
html[lang="ko"] .cta-headline { font-family: var(--korean-serif); font-weight: 700; }
.cta-body {
  font-family: var(--serif); font-style: italic;
  font-size: 16px; line-height: 1.6; color: var(--bg-paper); margin-bottom: 20px;
}
.cta-list { font-family: var(--sans); font-size: 13px; color: var(--bg-paper); }
.cta-list-item { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.2); }
.cta-list-item::before { content: '— '; color: var(--highlight); }
.cta-form { display: flex; flex-direction: column; gap: 14px; }
.cta-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field-label {
  display: block;
  font-family: var(--sans); font-size: 11px; color: var(--ink-soft);
  text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 6px; font-weight: 700;
}
.cta-submit {
  width: 100%; padding: 14px;
  background: var(--red); color: var(--bg-paper);
  font-family: var(--sans); font-weight: 700; font-size: 14px;
  border: 1px solid var(--red);
  letter-spacing: 0.06em; text-transform: uppercase;
  transition: background .2s;
}
.cta-submit:hover { background: var(--ink); border-color: var(--ink); }

/* ── Footer Colophon ──────────────────────────────── */
.footer {
  background: var(--ink); color: var(--bg-paper);
  padding: 48px 0 32px;
  margin-top: 60px;
  border-top: 4px double var(--ink);
}
.footer-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px;
}
.footer-brand {
  font-family: var(--display); font-weight: 900;
  font-size: 24px; letter-spacing: -0.01em;
}
.footer-tag {
  font-family: var(--serif); font-style: italic;
  font-size: 14px; color: var(--bg-paper);
  margin-top: 8px; opacity: 0.8;
}
.footer-imprint {
  font-family: var(--sans); font-size: 11px;
  color: var(--bg-paper); opacity: 0.6;
  margin-top: 16px; line-height: 1.8;
  border-top: 1px solid rgba(255,255,255,0.2); padding-top: 12px;
}
.footer h4 {
  font-family: var(--sans); font-size: 11px;
  color: var(--highlight); letter-spacing: 0.12em;
  margin-bottom: 12px; text-transform: uppercase; font-weight: 700;
}
.footer-list { display: flex; flex-direction: column; gap: 8px; }
.footer-list a, .footer-list span { font-family: var(--sans); font-size: 13px; color: var(--bg-paper); transition: color .2s; }
.footer-list a:hover { color: var(--highlight); }
.footer-meta {
  max-width: 1280px; margin: 24px auto 0; padding: 16px 24px 0;
  border-top: 1px solid rgba(255,255,255,0.3);
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--sans); font-size: 11px; color: var(--bg-paper); opacity: 0.7;
  letter-spacing: 0.04em;
}

/* ── Reveal ───────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s, transform .8s; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ── Drawer ───────────────────────────────────────── */
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(360px, 88vw);
  background: var(--bg-paper);
  border-left: 1px solid var(--ink);
  z-index: var(--z-overlay);
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
  padding: 80px 28px 28px;
  display: flex; flex-direction: column; gap: 16px;
}
.drawer.open { transform: translateX(0); }
.drawer a {
  font-family: var(--display); font-weight: 700; font-size: 22px;
  padding: 12px 0; border-bottom: 1px solid var(--ink);
}
.drawer-back {
  position: fixed; inset: 0; background: rgba(26,20,16,0.5);
  z-index: calc(var(--z-overlay) - 1); opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.drawer-back.show { opacity: 1; pointer-events: auto; }

/* PC nav user + Drawer X (T7 editorial magazine masthead) */
.masthead-user { display: inline-flex; gap: 12px; align-items: center; margin-left: 16px; padding-left: 16px; border-left: 1px solid var(--ink); }
.masthead-user-link { font-family: var(--display); font-style: italic; color: var(--ink); font-size: 13px; padding: 4px 8px; }
.masthead-user-cta { border: 1px solid var(--red); color: var(--red) !important; font-weight: 600; font-style: normal; }
.masthead-user-cta:hover { background: var(--red); color: var(--bg-base) !important; }
.drawer-close {
  position: absolute; top: 60px; right: 24px;
  width: 48px; height: 48px;
  background: var(--bg-base);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: 32px; font-weight: 400; font-style: italic;
  color: var(--ink); line-height: 1; cursor: pointer;
  border: 1px solid var(--ink);
  transition: transform .2s, background .2s; z-index: 2;
}
body.has-banner .drawer-close { top: 80px; }
.drawer-close:hover { background: var(--ink); color: var(--bg-base); transform: rotate(90deg); }
.drawer-divider { width: 60%; height: 1px; background: var(--ink); opacity: 0.5; margin: 12px auto; }
.drawer-user-link { font-family: var(--display) !important; font-style: italic !important; color: var(--red) !important; padding: 12px 0 !important; font-size: 22px !important; }

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .editor-note { grid-template-columns: 1fr; gap: 24px; }
  .editor-portrait { max-width: 320px; }
  .contributors-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-body { column-count: 2; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .alumni-row { grid-template-columns: 1fr; }
  .alumni-portrait { max-width: 240px; }
  .reviews-grid, .cta-grid { grid-template-columns: 1fr; }
  .cta-pane.left { border-right: 0; border-bottom: 1px solid var(--ink); }
}
@media (max-width: 768px) {
  .masthead-links, .masthead-cta { display: none; }
  .masthead-burger { display: inline-flex; }
  .feature-body { column-count: 1; }
  .contributors-grid, .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .toc-row { grid-template-columns: 40px 1fr auto; gap: 12px; }
  .toc-fee { font-size: 14px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-meta { flex-direction: column; gap: 8px; text-align: center; }
}
@media (max-width: 480px) {
  .section { padding: 56px 0; }
  .hero-headline { font-size: 40px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}


/* ===========================================
   RETROFIT v1.27 — motionsites integration
   slug: editorial
   effects: O, W
   =========================================== */
/* === retrofit v1.27 motionsites mask-reveal (MIT) === */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .section h2, .section h3, [class*="-section"] h2, [class*="-section"] h3, h2[class*="-title"] {
      -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 100%);
      mask-image: linear-gradient(180deg, #000 0%, #000 100%);
      -webkit-mask-size: 200% 100%; mask-size: 200% 100%;
      -webkit-mask-position: 200% 0; mask-position: 200% 0;
      animation: rt-mask-sweep linear forwards;
      animation-timeline: view();
      animation-range: entry 10% entry 70%;
    }
    @keyframes rt-mask-sweep { to { -webkit-mask-position: 0 0; mask-position: 0 0; } }
  }
}/* === retrofit v1.27 motionsites card-stack-3d (MIT) === */
@media (prefers-reduced-motion: no-preference) and (min-width: 769px) {
  .card, [class*="-card"], article {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s;
    transform-style: preserve-3d;
  }
  .card:hover, [class*="-card"]:hover, article:hover {
    transform: translate3d(0, -6px, 0) rotateX(2deg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  }
}