:root {
  --paper: #f5f1e8;
  --paper-2: #fcfaf3;
  --paper-3: #eee7d6;
  --ink: #161613;
  --ink-soft: #4a4640;
  --ink-muted: #81786d;
  --line: #d8d1c2;
  --line-strong: #b5ac97;
  --accent: #b91c1c;
  --accent-soft: #f5e1de;
  --accent-ink: #6b0f0f;
  --font-display: "Newsreader", Georgia, serif;
  --font-body: "Newsreader", Georgia, serif;
  --font-sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --container: min(1200px, calc(100vw - 2.5rem));
  --read: 640px;
  --mid: 840px;
  --duration-fast: 180ms;
  --duration-normal: 320ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html[data-theme="dark"] {
  --paper: #0f1419;
  --paper-2: #181e26;
  --paper-3: #1f2630;
  --ink: #f5f1e8;
  --ink-soft: #b8b0a0;
  --ink-muted: #898172;
  --line: #2a3038;
  --line-strong: #3d454f;
  --accent: #e45d43;
  --accent-soft: rgba(228, 93, 67, 0.14);
  --accent-ink: #ff9a82;
}

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

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

html[data-theme="dark"] {
  color-scheme: dark;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  transition: background var(--duration-normal) ease, color var(--duration-normal) ease;
}

::selection {
  background: var(--accent);
  color: var(--paper);
}

img,
picture,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.read-col {
  max-width: var(--read);
}

.eyebrow,
.sidebar-label,
.episode-meta,
.entry-tags,
.mono-link,
.dateline,
.breadcrumb,
.footer-inner,
.filter-button {
  font-family: var(--font-sans);
}

.eyebrow,
.sidebar-label {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.mono-link,
.entry-tags,
.episode-meta,
.dateline,
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.text-link {
  color: var(--accent);
  border-bottom: 1px solid transparent;
  transition: color var(--duration-fast) ease, border-color var(--duration-fast) ease;
}

.text-link:hover {
  color: var(--accent-ink);
  border-bottom-color: currentColor;
}

.masthead {
  position: sticky;
  top: 0;
  z-index: 30;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.masthead-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1.25rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-style: italic;
  font-weight: 500;
}

.nav-links,
.nav-actions,
.footer-links,
.contact-links {
  display: flex;
  align-items: center;
}

.nav-links {
  gap: clamp(1rem, 3vw, 1.75rem);
  font-family: var(--font-sans);
  font-size: 0.82rem;
}

.nav-links a,
.footer-links a {
  color: var(--ink-soft);
  transition: color var(--duration-fast) ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"],
.footer-links a:hover {
  color: var(--accent);
}

.nav-actions {
  gap: 0.8rem;
}

.write-link {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.95rem;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--accent);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background var(--duration-fast) ease, color var(--duration-fast) ease, transform var(--duration-fast) ease;
}

.write-link:hover {
  background: var(--accent);
  color: var(--paper);
  transform: translateY(-1px);
}

.theme-toggle,
.nav-toggle {
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
}

.theme-toggle {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.theme-toggle:hover {
  color: var(--ink);
  border-color: var(--accent);
}

.theme-toggle-icon {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: currentColor;
  box-shadow: inset -3px -3px 0 var(--paper);
}

html[data-theme="dark"] .theme-toggle-icon {
  box-shadow: inset 3px 3px 0 var(--paper);
}

.nav-toggle {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  transform: translateX(-50%);
  transition: transform var(--duration-fast) ease, opacity var(--duration-fast) ease;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.dateline {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink-muted);
  text-align: center;
}

/* ─── Hero Section ─── */

.hero-section {
  position: relative;
  min-height: calc(100vh - 128px);
  min-height: calc(100dvh - 128px);
  background: var(--paper);
  color: var(--ink);
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--accent) 6%, transparent), transparent 26%),
    linear-gradient(180deg, color-mix(in srgb, var(--paper-2) 88%, transparent), transparent 58%);
  opacity: 0.78;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.82fr);
  align-items: center;
  gap: clamp(2.4rem, 6vw, 5.5rem);
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(2.8rem, 6vw, 4.5rem);
  width: var(--container);
}

.hero-content {
  z-index: 2;
  max-width: 720px;
}

.hero-kicker {
  margin: 0 0 clamp(1.25rem, 3vw, 2rem);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-title-wrap {
  display: block;
}

.hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.9rem, 8vw, 8.2rem);
  font-weight: 500;
  font-style: italic;
  line-height: 0.88;
  letter-spacing: 0;
}

.hero-title-line {
  display: block;
}

.hero-title-line-first::first-letter {
  color: var(--accent);
  font-size: 1.36em;
  line-height: 0.7;
}

.hero-role {
  margin: clamp(1rem, 2vw, 1.4rem) 0 0;
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.7vw, 1.3rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink);
}

.hero-role em {
  font-family: var(--font-display);
  font-style: italic;
}

.hero-copyline {
  max-width: 38rem;
  margin: 1rem 0 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.55;
}

.hero-copyline em {
  color: var(--ink);
  font-style: italic;
}

.hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: clamp(1.6rem, 3vw, 2.2rem);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.hero-meta a {
  color: var(--accent);
  border-bottom: 1px solid transparent;
  transition: color var(--duration-fast) ease, border-color var(--duration-fast) ease;
}

.hero-meta a:hover {
  color: var(--accent-ink);
  border-bottom-color: currentColor;
}

.hero-portrait {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: min(100%, 520px);
  min-height: clamp(500px, 58vw, 720px);
  justify-self: end;
  align-self: end;
  margin: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
  isolation: isolate;
}

.hero-portrait::before,
.hero-portrait::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero-portrait::before {
  left: 12%;
  right: 1%;
  bottom: 3%;
  z-index: -1;
  height: 82%;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 56% 24%, color-mix(in srgb, var(--accent) 11%, transparent), transparent 36%),
    linear-gradient(180deg, color-mix(in srgb, var(--paper-2) 92%, transparent), color-mix(in srgb, var(--paper-3) 72%, transparent));
  clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%, 0 17%);
}

.hero-portrait::after {
  right: 0;
  bottom: 13%;
  z-index: 2;
  width: clamp(3rem, 6vw, 4.8rem);
  height: 1px;
  background: var(--accent);
}

.hero-portrait img {
  width: auto;
  max-width: none;
  height: clamp(500px, 58vw, 720px);
  object-fit: contain;
  filter:
    grayscale(1)
    sepia(0.16)
    contrast(1.08)
    brightness(0.98)
    drop-shadow(0 26px 34px color-mix(in srgb, var(--ink) 20%, transparent));
  transform: translateX(1.5%) translateY(3%);
  transition: filter var(--duration-normal) ease;
}

.hero-portrait:hover img {
  filter:
    grayscale(0.82)
    sepia(0.12)
    contrast(1.05)
    brightness(1)
    drop-shadow(0 26px 34px color-mix(in srgb, var(--ink) 18%, transparent));
}

.hero-section a:focus-visible,
.hero-section button:focus-visible {
  outline-color: var(--accent);
}

/* ─── End Hero Section ─── */

.lead-section,
.movement,
.series-feature,
.archive-list-section,
.work-index {
  padding: clamp(4rem, 10vw, 8rem) 0;
}

.lead-section,
.movement {
  border-bottom: 1px solid var(--line);
}

.lead-eyebrow {
  text-align: center;
}

.prose-lead {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.48rem);
  line-height: 1.55;
}

.prose-lead p,
.body-large {
  margin: 0;
}

.prose-lead p:first-of-type::first-letter {
  float: left;
  margin: 0.06em 0.12em 0 0;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 5.4em;
  line-height: 0.82;
}

.editorial-grid {
  display: grid;
  grid-template-columns: minmax(12rem, 0.45fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.movement-head {
  position: sticky;
  top: 110px;
}

.movement-head h2,
.grid-feature-copy h2,
.series-copy h2,
.section-title,
.case-section h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 500;
  line-height: 1.04;
}

.body-large,
.movement-body p,
.grid-feature-copy p,
.series-copy p,
.case-section p,
.archive-intro {
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 2vw, 1.18rem);
}

.product-list,
.selected-work-list,
.episode-list {
  display: grid;
}

.product-list {
  gap: 3rem;
}

.product-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(140px, 220px);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: 0 0 3rem;
  border-bottom: 1px solid var(--line);
}

.product-copy h3,
.selected-work-entry h3,
.episode-row h3 {
  margin: 0 0 0.8rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.6vw, 2.7rem);
  font-weight: 500;
  line-height: 1.08;
}

.product-copy p:not(.eyebrow),
.selected-work-entry p:not(.eyebrow),
.episode-main p:not(.episode-meta) {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

.product-cover {
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-2);
}

.product-cover img,
.series-cover img,
.grid-feature-media img,
.article-cover img,
.case-hero img,
.preview-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.grid-feature {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--paper-2);
  border-block: 1px solid var(--line);
}

.grid-feature-media {
  max-width: var(--mid);
  margin: 0 auto 3rem;
  aspect-ratio: 21 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-3);
}

.latest-card {
  margin: 2rem 0 1.25rem;
  padding: 1.25rem 0;
  border-block: 1px solid var(--line);
}

.latest-card span {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.latest-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-style: italic;
  font-weight: 500;
}

.selected-work-list {
  gap: 0;
}

.selected-work-entry,
.episode-row {
  padding: 1.7rem 0;
  border-top: 1px solid var(--line);
}

.selected-work-entry:last-child,
.episode-row:last-child {
  border-bottom: 1px solid var(--line);
}

.entry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1rem 0;
  color: var(--ink-muted);
}

.archive-link {
  justify-self: start;
  margin-top: 1.5rem;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-section {
  border-top: 0;
  background: var(--paper-2);
}

.contact-links {
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.6rem;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.archive-hero {
  padding: clamp(3.5rem, 10vw, 7rem) 0 clamp(2rem, 6vw, 4rem);
  text-align: center;
}

.banner-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(4.6rem, 16vw, 11rem);
  font-weight: 400;
  line-height: 0.9;
}

.archive-intro {
  margin: 1.5rem auto 0;
}

.series-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.series-cover {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-3);
}

.filters-panel {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.filter-button {
  min-height: 36px;
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 0.76rem;
}

.filter-button:hover,
.filter-button.active {
  border-color: var(--accent);
  color: var(--accent);
}

.episode-row {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: start;
}

.episode-number {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 2rem;
  font-style: italic;
}

.episode-meta {
  margin: 0 0 0.45rem;
  color: var(--ink-muted);
}

.empty-state {
  color: var(--ink-muted);
}

.article-layout,
.case-layout {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.article-layout {
  grid-template-columns: minmax(0, 1fr) minmax(14rem, 18rem);
}

.case-layout {
  grid-template-columns: minmax(0, 1fr) minmax(14rem, 18rem);
}

.case-main {
  grid-column: 1;
}

.case-sidebar {
  grid-column: 2;
  grid-row: 1;
}

.article-main,
.case-main {
  min-width: 0;
}

.article-sidebar,
.case-sidebar {
  position: sticky;
  top: 110px;
}

.breadcrumb {
  display: inline-block;
  margin-bottom: 2rem;
  color: var(--accent);
}

.article-header,
.case-header {
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.article-header h1,
.case-header h1 {
  max-width: 12ch;
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 500;
  line-height: 0.98;
}

.article-dek,
.case-subtitle {
  max-width: var(--read);
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1.15rem, 2vw, 1.42rem);
  line-height: 1.45;
}

.article-cover,
.case-hero {
  margin: 2.5rem 0;
  border: 1px solid var(--line);
  background: var(--paper-2);
}

.article-cover {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.case-hero {
  overflow: hidden;
}

.article-prose,
.case-section {
  max-width: var(--read);
}

.article-prose {
  font-size: clamp(1.05rem, 2vw, 1.18rem);
  line-height: 1.68;
}

.article-prose p,
.case-section p {
  margin: 0 0 1.25em;
}

.article-prose h2,
.article-prose h3,
.case-section h2 {
  margin: 2.4rem 0 1rem;
}

.article-prose em {
  font-style: italic;
}

.article-prose code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  color: var(--accent);
}

.article-rule {
  width: 4rem;
  height: 1px;
  margin: 2.5rem 0;
  border: 0;
  background: var(--line-strong);
}

.article-opening::first-letter {
  float: left;
  margin: 0.07em 0.12em 0 0;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 4.6em;
  line-height: 0.82;
}

.signal-decoder {
  margin: clamp(3rem, 8vw, 5rem) 0 0;
  padding: 2rem;
  border: 1px solid var(--line);
  background: var(--paper-2);
}

.signal-label {
  margin: 0 0 0.6rem;
  color: var(--accent);
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.signal-decoder h2 {
  margin-top: 0;
  font-style: italic;
}

.sidebar-block {
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.sidebar-block:first-child {
  padding-top: 0;
}

.meta-list {
  margin: 0;
}

.meta-list div {
  display: grid;
  gap: 0.2rem;
  margin-bottom: 0.9rem;
}

.meta-list dt {
  color: var(--ink-muted);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.meta-list dd {
  margin: 0;
}

.sidebar-entry {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.sidebar-entry strong {
  display: block;
  color: var(--ink);
}

.sidebar-entry p {
  margin: 0.35rem 0 0.6rem;
}

.case-section {
  padding: 3rem 0;
  border-top: 1px solid var(--line);
}

.headline-strip {
  margin: clamp(3rem, 7vw, 5rem) calc(50% - 50vw);
  padding: clamp(2.4rem, 6vw, 4rem) max(1.25rem, calc((100vw - var(--container)) / 2));
  background: var(--accent);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: clamp(1.3rem, 3vw, 2.4rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.35;
  text-align: center;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.preview-card {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--paper-2);
}

.preview-card img {
  aspect-ratio: 4 / 3;
}

.preview-card figcaption {
  padding: 0.7rem;
  color: var(--ink-soft);
  font-family: var(--font-sans);
  font-size: 0.8rem;
}

.document-groups,
.sidebar-links {
  display: grid;
  gap: 1rem;
}

.document-group {
  display: grid;
  gap: 0.4rem;
}

.document-group strong,
.sidebar-links a {
  color: var(--ink);
}

.document-group a,
.sidebar-links a {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stack-line {
  margin: 0;
}

.read-next {
  display: grid;
  gap: 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ink-muted);
  font-size: 0.78rem;
}

.footer-links {
  flex-wrap: wrap;
  gap: 1rem;
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .editorial-grid,
  .series-grid,
  .article-layout,
  .case-layout {
    grid-template-columns: 1fr;
  }

  .movement-head,
  .article-sidebar,
  .case-sidebar {
    position: static;
  }

  .case-main,
  .case-sidebar {
    grid-column: auto;
  }

  .case-sidebar {
    grid-row: 1;
  }

  .case-main {
    grid-row: 2;
  }

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

@media (max-width: 840px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .hero-portrait {
    order: -1;
    justify-self: start;
    width: min(82vw, 420px);
    min-height: auto;
  }

  .hero-portrait img {
    width: 100%;
    height: auto;
    transform: translateY(2%);
  }
}

@media (max-width: 760px) {
  :root {
    --container: min(100vw - 1.25rem, 1200px);
  }

  body.nav-open {
    overflow: hidden;
  }

  .masthead-row {
    min-height: 64px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    order: 2;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0.65rem;
    display: grid;
    width: min(88vw, 320px);
    padding: 1rem;
    border: 1px solid var(--line);
    background: var(--paper-2);
    box-shadow: 0 20px 50px rgba(22, 22, 19, 0.14);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity var(--duration-fast) ease, transform var(--duration-fast) ease;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .write-link {
    display: none;
  }

  .theme-toggle-text {
    display: none;
  }

  .theme-toggle {
    width: 38px;
    padding: 0;
  }

  .hero-section {
    min-height: auto;
  }

  .hero-inner {
    padding-top: clamp(2.6rem, 12vw, 4.5rem);
    padding-bottom: clamp(2.5rem, 11vw, 4rem);
    gap: 1.7rem;
  }

  .hero-kicker {
    margin-bottom: 1rem;
  }

  .hero-title {
    font-size: clamp(3.25rem, 17vw, 5rem);
  }

  .hero-title-line-first::first-letter {
    font-size: 1.3em;
  }

  .hero-portrait {
    width: min(100%, 300px);
  }

  .hero-portrait::before {
    left: 10%;
    right: 0;
    bottom: 5%;
    height: 76%;
  }

  .hero-copyline {
    max-width: 32rem;
  }

  .hero-meta {
    gap: 0.55rem;
  }

  .lead-section,
  .movement,
  .series-feature,
  .archive-list-section,
  .work-index {
    padding: clamp(3rem, 12vw, 5rem) 0;
  }

  .product-entry,
  .episode-row {
    grid-template-columns: 1fr;
  }

  .product-cover {
    max-width: 220px;
  }

  .episode-number {
    font-size: 1.4rem;
  }

  .article-header h1,
  .case-header h1 {
    font-size: clamp(2.4rem, 14vw, 4rem);
  }

  .headline-strip {
    white-space: normal;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
