:root {
  --bg: #070711;
  --bg-soft: #0c0d1b;
  --panel: rgba(20, 20, 42, 0.78);
  --panel-solid: #14142a;
  --panel-2: #1c1b39;
  --ink: #fbfaff;
  --muted: #bbb8cf;
  --subtle: #85829e;
  --pink: #ff4fd8;
  --violet: #8d6bff;
  --cyan: #45e8ff;
  --lime: #9aff6b;
  --gold: #ffd86b;
  --red: #ff6b8b;
  --border: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.22);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
  --radius: 24px;
  --radius-sm: 14px;
  --container: 1180px;
  --header-height: 78px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 28px); }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 79, 216, 0.14), transparent 28rem),
    radial-gradient(circle at 92% 12%, rgba(69, 232, 255, 0.12), transparent 30rem),
    radial-gradient(circle at 50% 88%, rgba(141, 107, 255, 0.10), transparent 34rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.75), transparent 88%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at center, transparent 50%, rgba(2, 2, 8, .55) 100%);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; border-radius: 6px; }
::selection { background: rgba(255,79,216,.35); color: white; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 9999;
  background: white;
  color: #080810;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 800;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

.reading-progress {
  position: fixed;
  left: 0;
  top: 0;
  height: 3px;
  width: 0;
  z-index: 1000;
  background: linear-gradient(90deg, var(--pink), var(--violet), var(--cyan), var(--lime));
}

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 88px 0; }
.section-compact { padding: 52px 0; }
.section-header { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 36px; }
.section-header p { max-width: 650px; margin: 0; color: var(--muted); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  min-height: var(--header-height);
  background: rgba(7, 7, 17, .82);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px) saturate(150%);
}
.nav-row { min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 900; letter-spacing: -.03em; white-space: nowrap; }
.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #090911;
  background: linear-gradient(135deg, var(--pink), var(--gold) 48%, var(--cyan));
  box-shadow: 0 0 30px rgba(255,79,216,.24);
  font-size: 13px;
  letter-spacing: -.05em;
}
.brand-name { font-size: 18px; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  padding: 10px 11px;
  border-radius: 10px;
  color: #d7d4e5;
  font-size: 14px;
  font-weight: 700;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: white; background: rgba(255,255,255,.08); transform: translateY(-1px); }
.nav-cta { border: 1px solid rgba(69,232,255,.45) !important; color: var(--cyan) !important; }
.menu-button {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: rgba(255,255,255,.05);
  color: white;
  cursor: pointer;
}
.menu-button svg { width: 22px; height: 22px; }

.topic-strip { overflow: hidden; border-bottom: 1px solid var(--border); background: rgba(13,13,28,.86); }
.topic-strip-track { display: flex; width: max-content; animation: ticker 34s linear infinite; }
.topic-strip-track span { padding: 12px 22px; color: var(--muted); font-size: 12px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.topic-strip-track b { color: var(--pink); margin-right: 16px; }
@keyframes ticker { to { transform: translateX(-50%); } }

.hero { padding: 80px 0 48px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 54px; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; color: var(--cyan); font-size: 12px; line-height: 1; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: linear-gradient(90deg, var(--pink), var(--cyan)); }
.display-title { margin: 0; max-width: 760px; font-size: clamp(48px, 7.4vw, 96px); line-height: .93; letter-spacing: -.065em; font-weight: 950; }
.gradient-text { background: linear-gradient(95deg, var(--pink), var(--violet) 35%, var(--cyan) 68%, var(--lime)); background-clip: text; -webkit-background-clip: text; color: transparent; }
.hero-deck { max-width: 700px; margin: 28px 0 0; color: #d3d0df; font-size: clamp(18px, 2.2vw, 23px); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .02em;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: #070711; background: linear-gradient(100deg, var(--pink), var(--gold) 48%, var(--cyan)); box-shadow: 0 14px 38px rgba(255,79,216,.20); }
.button-secondary { color: white; border-color: var(--border-strong); background: rgba(255,255,255,.055); }
.button-secondary:hover { border-color: rgba(69,232,255,.55); box-shadow: 0 12px 32px rgba(69,232,255,.10); }
.hero-note { margin-top: 22px; color: var(--subtle); font-size: 13px; }
.hero-art { position: relative; }
.hero-art::before { content: ""; position: absolute; inset: -8%; background: linear-gradient(135deg, rgba(255,79,216,.28), rgba(141,107,255,.14), rgba(69,232,255,.24)); filter: blur(60px); border-radius: 50%; }
.hero-art-frame { position: relative; padding: 10px; border-radius: 30px; background: linear-gradient(135deg, rgba(255,79,216,.75), rgba(141,107,255,.35), rgba(69,232,255,.75), rgba(154,255,107,.45)); box-shadow: var(--shadow); transform: rotate(1.5deg); }
.hero-art-frame img { width: 100%; aspect-ratio: 8/5; object-fit: cover; border-radius: 22px; }
.cover-chip { position: absolute; right: -16px; bottom: 28px; max-width: 250px; padding: 16px 18px; border: 1px solid var(--border-strong); border-radius: 16px; background: rgba(9,9,20,.88); backdrop-filter: blur(16px); box-shadow: var(--shadow); }
.cover-chip strong { display: block; font-size: 13px; color: var(--gold); text-transform: uppercase; letter-spacing: .12em; }
.cover-chip span { display: block; margin-top: 6px; font-weight: 800; line-height: 1.35; }

.issue-band { padding: 28px 0; border-block: 1px solid var(--border); background: linear-gradient(90deg, rgba(255,79,216,.08), rgba(141,107,255,.09), rgba(69,232,255,.07)); }
.issue-grid { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 24px; align-items: center; }
.issue-lead { font-size: 16px; font-weight: 850; }
.issue-lead span { display: block; color: var(--cyan); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.issue-stat { padding-left: 22px; border-left: 1px solid var(--border-strong); }
.issue-stat b { display: block; font-size: 24px; letter-spacing: -.04em; }
.issue-stat span { color: var(--muted); font-size: 13px; }

.h2 { margin: 0; font-size: clamp(34px, 5vw, 60px); line-height: 1.02; letter-spacing: -.055em; font-weight: 920; }
.h3 { margin: 0; font-size: 25px; line-height: 1.15; letter-spacing: -.035em; font-weight: 900; }
.lead { color: var(--muted); font-size: 19px; }
.kicker { color: var(--pink); font-size: 11px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.mag-card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(29,28,58,.88), rgba(12,13,29,.90));
  box-shadow: 0 16px 56px rgba(0,0,0,.18);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.mag-card::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 0 0, rgba(255,79,216,.11), transparent 42%); }
.mag-card:hover { transform: translateY(-7px); border-color: rgba(69,232,255,.38); box-shadow: 0 28px 70px rgba(0,0,0,.32); }
.card-media { overflow: hidden; border-bottom: 1px solid var(--border); }
.card-media img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform .45s ease; }
.mag-card:hover .card-media img { transform: scale(1.035); }
.card-body { position: relative; padding: 24px; }
.card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; color: var(--subtle); font-size: 12px; font-weight: 750; }
.pill { display: inline-flex; align-items: center; min-height: 27px; padding: 0 10px; border: 1px solid rgba(255,79,216,.34); border-radius: 999px; color: #ff9ceb; background: rgba(255,79,216,.07); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; font-weight: 900; }
.card-title { margin: 0; font-size: 23px; line-height: 1.18; letter-spacing: -.035em; }
.card-title a::after { content: ""; position: absolute; inset: 0; }
.card-excerpt { margin: 14px 0 18px; color: var(--muted); font-size: 15px; }
.card-link { color: var(--cyan); font-size: 13px; font-weight: 900; }

.desk-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.desk-card { position: relative; overflow: hidden; min-height: 240px; padding: 26px; border: 1px solid var(--border); border-radius: 22px; background: rgba(16,16,35,.74); }
.desk-card:hover { border-color: rgba(255,255,255,.28); }
.desk-icon { display: inline-grid; place-items: center; min-width: 58px; height: 58px; padding: 0 12px; margin-bottom: 26px; border-radius: 18px; color: #080810; background: linear-gradient(135deg, var(--gold), var(--pink), var(--cyan)); font-weight: 950; letter-spacing: -.04em; }
.desk-card h3 { margin: 0 0 10px; font-size: 23px; }
.desk-card p { margin: 0; color: var(--muted); font-size: 14px; }
.desk-card a::after { content: ""; position: absolute; inset: 0; }

.feature-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; }
.feature-main { min-height: 560px; display: flex; flex-direction: column; justify-content: end; background-size: cover; background-position: center; }
.feature-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,6,14,.98) 12%, rgba(6,6,14,.18) 70%), linear-gradient(135deg, rgba(255,79,216,.16), transparent 60%); }
.feature-main .card-body { padding: 38px; }
.feature-main .card-title { font-size: clamp(32px, 4.5vw, 52px); max-width: 820px; }
.feature-side { display: grid; gap: 24px; }
.feature-side .mag-card { min-height: 268px; }

.split-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items: start; }
.principle-list { display: grid; gap: 14px; }
.principle { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 20px; border: 1px solid var(--border); border-radius: 18px; background: rgba(255,255,255,.035); }
.principle-number { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: linear-gradient(135deg, rgba(255,79,216,.22), rgba(69,232,255,.18)); color: var(--gold); font-weight: 950; }
.principle h3 { margin: 0 0 4px; font-size: 18px; }
.principle p { margin: 0; color: var(--muted); font-size: 14px; }

.faq-list { display: grid; gap: 12px; max-width: 900px; margin-inline: auto; }
details { border: 1px solid var(--border); border-radius: 17px; background: rgba(255,255,255,.035); }
summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 22px; position: relative; font-weight: 850; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); color: var(--cyan); font-size: 24px; }
details[open] summary::after { content: "–"; }
details p { margin: 0; padding: 0 22px 22px; color: var(--muted); }

.page-hero { padding: 74px 0 54px; border-bottom: 1px solid var(--border); }
.page-hero-grid { display: grid; grid-template-columns: 1fr auto; gap: 34px; align-items: end; }
.page-title { margin: 0; max-width: 900px; font-size: clamp(46px, 7vw, 82px); line-height: .98; letter-spacing: -.06em; font-weight: 950; }
.page-deck { max-width: 760px; margin: 24px 0 0; color: var(--muted); font-size: 19px; }
.page-symbol { display: grid; place-items: center; width: 130px; height: 130px; border-radius: 34px; color: #080810; background: linear-gradient(135deg, var(--pink), var(--gold), var(--cyan)); font-weight: 950; font-size: 36px; transform: rotate(4deg); box-shadow: 0 24px 70px rgba(255,79,216,.18); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; color: var(--subtle); font-size: 12px; font-weight: 750; }
.breadcrumbs a:hover { color: var(--cyan); }
.breadcrumbs span[aria-hidden] { opacity: .55; }

.topic-content { display: grid; grid-template-columns: 1fr 360px; gap: 48px; }
.topic-sections { display: grid; gap: 34px; }
.topic-section { padding-bottom: 30px; border-bottom: 1px solid var(--border); }
.topic-section:last-child { border-bottom: 0; }
.topic-section h2 { margin: 0 0 12px; font-size: 31px; letter-spacing: -.04em; }
.topic-section p { margin: 0; color: #d1cede; font-size: 17px; }
.sidebar-box { position: sticky; top: calc(var(--header-height) + 24px); padding: 24px; border: 1px solid var(--border); border-radius: 22px; background: rgba(18,18,38,.82); }
.sidebar-box h2 { margin: 0 0 14px; font-size: 20px; }
.sidebar-box p { margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.sidebar-links { display: grid; gap: 8px; }
.sidebar-links a { padding: 11px 12px; border-radius: 10px; background: rgba(255,255,255,.04); color: #d7d4e4; font-size: 13px; font-weight: 800; }
.sidebar-links a:hover { background: rgba(69,232,255,.09); color: var(--cyan); }

.article-hero { padding: 58px 0 44px; }
.article-hero-grid { display: grid; grid-template-columns: 1fr .78fr; gap: 48px; align-items: center; }
.article-title { margin: 0; font-size: clamp(42px, 6.1vw, 76px); line-height: .99; letter-spacing: -.06em; font-weight: 950; }
.article-deck { margin: 22px 0 0; color: var(--muted); font-size: 20px; max-width: 760px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 26px; color: var(--subtle); font-size: 13px; font-weight: 760; }
.article-meta strong { color: #dedbea; }
.article-cover { padding: 9px; border-radius: 28px; background: linear-gradient(135deg, var(--pink), rgba(141,107,255,.55), var(--cyan), var(--lime)); box-shadow: var(--shadow); transform: rotate(1deg); }
.article-cover img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 20px; }

.article-shell { display: grid; grid-template-columns: minmax(0, 760px) 300px; gap: 60px; align-items: start; }
.article-body { min-width: 0; }
.article-body > p:first-of-type { font-size: 22px; color: #f2f0fa; line-height: 1.65; }
.prose { color: #d8d5e3; font-family: Georgia, "Times New Roman", serif; font-size: 18px; line-height: 1.82; }
.prose p { margin: 0 0 24px; }
.prose h2 { margin: 62px 0 20px; color: white; font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: 35px; line-height: 1.12; letter-spacing: -.045em; }
.prose h3 { margin: 38px 0 14px; color: white; font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: 24px; }
.prose a { color: var(--cyan); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { color: var(--lime); }
.prose ul { margin: 22px 0 28px; padding: 0; list-style: none; display: grid; gap: 12px; font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: 15px; }
.prose li { position: relative; padding: 14px 16px 14px 44px; border: 1px solid var(--border); border-radius: 13px; background: rgba(255,255,255,.035); }
.prose li::before { content: "✓"; position: absolute; left: 16px; color: var(--lime); font-weight: 900; }
.source-link { font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-weight: 800; }
.editor-note { margin: 34px 0; padding: 22px 24px; border-left: 4px solid var(--gold); border-radius: 0 16px 16px 0; background: rgba(255,216,107,.07); font-family: Inter, ui-sans-serif, system-ui, sans-serif; color: #e8e3ca; font-size: 15px; }
.article-conclusion { margin-top: 58px; padding: 30px; border: 1px solid rgba(69,232,255,.28); border-radius: 22px; background: linear-gradient(135deg, rgba(69,232,255,.075), rgba(141,107,255,.07)); }
.article-conclusion h2 { margin-top: 0; }
.article-aside { position: sticky; top: calc(var(--header-height) + 24px); display: grid; gap: 18px; }
.toc { padding: 22px; border: 1px solid var(--border); border-radius: 20px; background: rgba(17,17,36,.80); }
.toc h2 { margin: 0 0 14px; font-size: 16px; }
.toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; display: grid; gap: 8px; }
.toc li { counter-increment: toc; }
.toc a { display: grid; grid-template-columns: 24px 1fr; gap: 6px; color: var(--muted); font-size: 12px; line-height: 1.35; }
.toc a::before { content: counter(toc, decimal-leading-zero); color: var(--pink); font-weight: 900; }
.toc a:hover { color: white; }
.risk-box { padding: 20px; border: 1px solid rgba(255,107,139,.25); border-radius: 18px; background: rgba(255,107,139,.055); }
.risk-box strong { display: block; color: #ff9eb1; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.risk-box p { margin: 8px 0 0; color: var(--muted); font-size: 12px; }
.tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 34px; }
.tag { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border: 1px solid var(--border); border-radius: 999px; color: var(--muted); background: rgba(255,255,255,.03); font-size: 11px; font-weight: 850; }
.tag:hover { color: white; border-color: rgba(69,232,255,.44); }

.archive-intro { max-width: 760px; }
.archive-intro p { color: var(--muted); font-size: 18px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 38px; }
.filter-row a { padding: 9px 13px; border: 1px solid var(--border); border-radius: 999px; color: var(--muted); font-size: 12px; font-weight: 850; }
.filter-row a:hover, .filter-row a.active { color: #080810; background: var(--cyan); border-color: var(--cyan); }

.info-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px; }
.info-card { padding: 28px; border: 1px solid var(--border); border-radius: 22px; background: rgba(255,255,255,.035); }
.info-card h2 { margin: 0 0 12px; font-size: 24px; }
.info-card p { margin: 0; color: var(--muted); }
.contact-panel { padding: 38px; border: 1px solid var(--border); border-radius: 28px; background: linear-gradient(135deg, rgba(255,79,216,.08), rgba(69,232,255,.065)); }
.contact-email { display: inline-block; margin: 16px 0; color: var(--cyan); font-size: clamp(24px, 4vw, 42px); font-weight: 920; letter-spacing: -.04em; word-break: break-word; }

.cta-band { position: relative; overflow: hidden; padding: 54px; border: 1px solid var(--border); border-radius: 30px; background: linear-gradient(125deg, rgba(255,79,216,.16), rgba(141,107,255,.12), rgba(69,232,255,.13)); }
.cta-band::after { content: "CM"; position: absolute; right: -10px; bottom: -80px; font-size: 230px; line-height: 1; font-weight: 950; color: rgba(255,255,255,.035); letter-spacing: -.12em; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { margin: 0; max-width: 760px; font-size: clamp(34px, 5vw, 58px); line-height: 1.04; letter-spacing: -.05em; }
.cta-band p { max-width: 680px; margin: 18px 0 26px; color: var(--muted); }

.site-footer { margin-top: 80px; padding: 60px 0 28px; border-top: 1px solid var(--border); background: rgba(5,5,12,.62); }
.footer-grid { display: grid; grid-template-columns: 1.35fr repeat(3, 1fr); gap: 42px; }
.footer-brand p { max-width: 330px; color: var(--muted); font-size: 14px; }
.footer-column h2 { margin: 0 0 16px; color: white; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.footer-column ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.footer-column a { color: var(--muted); font-size: 13px; }
.footer-column a:hover { color: var(--cyan); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--border); color: var(--subtle); font-size: 12px; }
.footer-bottom a:hover { color: white; }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1080px) {
  .brand-name { display: none; }
  .site-nav a { padding-inline: 9px; font-size: 13px; }
  .hero-grid, .article-hero-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .article-shell { grid-template-columns: minmax(0,1fr) 260px; gap: 36px; }
  .topic-content { grid-template-columns: minmax(0,1fr) 300px; gap: 34px; }
}

@media (max-width: 860px) {
  :root { --header-height: 70px; }
  .container { width: min(calc(100% - 28px), var(--container)); }
  .menu-button { display: inline-flex; }
  .site-nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: calc(100% + 8px);
    display: none;
    padding: 12px;
    border: 1px solid var(--border-strong);
    border-radius: 18px;
    background: rgba(9,9,21,.97);
    box-shadow: var(--shadow);
  }
  .site-nav[data-open="true"] { display: grid; }
  .site-nav a { padding: 12px 14px; }
  .brand-name { display: inline; }
  .hero { padding-top: 54px; }
  .hero-grid, .article-hero-grid, .feature-grid, .split-panel, .topic-content { grid-template-columns: 1fr; }
  .hero-art { max-width: 680px; }
  .display-title { max-width: 800px; }
  .issue-grid { grid-template-columns: repeat(2, 1fr); }
  .issue-lead { grid-column: 1 / -1; }
  .card-grid, .desk-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .feature-side { grid-template-columns: repeat(2, 1fr); }
  .article-shell { grid-template-columns: 1fr; }
  .article-aside { position: static; grid-template-columns: 1fr 1fr; order: -1; }
  .toc { display: none; }
  .sidebar-box { position: static; }
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-symbol { width: 96px; height: 96px; border-radius: 26px; font-size: 28px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .section { padding: 66px 0; }
  .section-header { display: block; }
  .section-header p { margin-top: 14px; }
  .brand-name { font-size: 15px; }
  .display-title { font-size: 52px; }
  .hero-deck, .article-deck { font-size: 17px; }
  .hero-actions .button { width: 100%; }
  .cover-chip { right: 8px; bottom: 14px; max-width: 230px; }
  .issue-grid { grid-template-columns: 1fr; }
  .issue-lead { grid-column: auto; }
  .issue-stat { padding: 14px 0 0; border-left: 0; border-top: 1px solid var(--border); }
  .card-grid, .card-grid-2, .desk-grid, .feature-side, .info-grid { grid-template-columns: 1fr; }
  .feature-main { min-height: 460px; }
  .feature-main .card-body { padding: 26px; }
  .article-hero { padding-top: 42px; }
  .article-title { font-size: 44px; }
  .article-cover { max-width: 470px; }
  .article-aside { grid-template-columns: 1fr; }
  .prose { font-size: 17px; line-height: 1.76; }
  .prose h2 { margin-top: 52px; font-size: 30px; }
  .cta-band { padding: 34px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; }
  .page-title { font-size: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .topic-strip-track { animation: none; }
}

@media print {
  .site-header, .topic-strip, .site-footer, .article-aside, .reading-progress, .hero-actions { display: none !important; }
  body { color: #111; background: white; }
  body::before, body::after { display: none; }
  .container { width: 100%; }
  .article-shell { display: block; }
  .prose, .prose h2, .prose h3 { color: #111; }
  a { color: #111; text-decoration: underline; }
}
