/* Hallmark · pre-emit critique: P5 H4 E5 S5 R4 V5
 * genre: atmospheric · macrostructure: Split Studio · theme: Midnight
 * enrichment: E5 CSS scene cards · nav: N5 · footer: Ft5
 * H2 knobs: ratio=7/5, proof=photo-led, divider=negative-space
 */
:root {
  --color-paper: #0c0c12;
  --color-paper-2: #151521;
  --color-paper-3: #1d1c2a;
  --color-ink: #f6efe6;
  --color-muted: #aaa3a0;
  --color-faint: #777278;
  --color-rule: rgba(246, 239, 230, 0.14);
  --color-accent: #f2b15e;
  --color-accent-strong: #ffd38b;
  --color-rose: #a85b6c;
  --color-focus: #f8ca86;
  --color-success: #b8d3b1;
  --shadow-card: 0 22px 70px rgba(0, 0, 0, 0.26);
  --shadow-accent: 0 16px 60px rgba(242, 177, 94, 0.2);
  --font-display: "Noto Sans SC", sans-serif;
  --font-body: "Noto Sans SC", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
  --page-gutter: clamp(1rem, 4vw, 4.5rem);
  --content-max: 1180px;
  --text-max: 680px;
  --space-xs: 0.4rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.5rem;
  --space-2xl: clamp(3.5rem, 8vw, 7rem);
  --space-3xl: clamp(5rem, 13vw, 11rem);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-pill: 999px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; background: var(--color-paper); }
body {
  margin: 0;
  overflow-x: clip;
  background:
    radial-gradient(circle at 82% 6%, rgba(168, 91, 108, 0.18), transparent 28rem),
    radial-gradient(circle at 12% 24%, rgba(242, 177, 94, 0.12), transparent 32rem),
    var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--color-ink); font-family: var(--font-display); font-style: normal; letter-spacing: -0.045em; line-height: 1.12; overflow-wrap: anywhere; min-width: 0; }
h1 { font-size: clamp(3rem, 8vw, 7.2rem); max-width: 8ch; margin-bottom: var(--space-lg); }
h2 { font-size: clamp(2rem, 4.5vw, 4.2rem); max-width: 12ch; margin-bottom: var(--space-md); }
h3 { font-size: clamp(1.1rem, 1.8vw, 1.4rem); margin-bottom: var(--space-sm); }
p { max-width: var(--text-max); }
::selection { background: var(--color-accent); color: var(--color-paper); }
:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 4px; }

.site-shell { position: relative; min-height: 100vh; }
.container { width: min(var(--content-max), calc(100% - (var(--page-gutter) * 2))); margin-inline: auto; }
.eyebrow { color: var(--color-accent-strong); font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; line-height: 1.4; text-transform: uppercase; }
.muted { color: var(--color-muted); }
.small { font-size: 0.86rem; }
.section-kicker { margin-bottom: var(--space-md); }
.section-intro { display: grid; gap: var(--space-md); grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: end; margin-bottom: var(--space-xl); }
.section-intro p { margin-bottom: 0; color: var(--color-muted); }
.section-intro h2 { margin-bottom: 0; }
.link-arrow { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--color-accent-strong); border-bottom: 1px solid var(--color-accent); padding-bottom: 0.16rem; white-space: nowrap; }
.link-arrow:hover { color: var(--color-ink); border-color: var(--color-ink); }

.nav-pill {
  position: fixed;
  z-index: 50;
  top: 1rem;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  min-height: 48px;
  padding: 0.45rem 0.55rem 0.45rem 0.9rem;
  transform: translateX(-50%);
  border: 1px solid var(--color-rule);
  border-radius: var(--radius-pill);
  background: rgba(12, 12, 18, 0.78);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px) saturate(125%);
  white-space: nowrap;
}
.brand-lockup { display: inline-flex; align-items: center; gap: 0.55rem; font-weight: 700; letter-spacing: -0.02em; }
.brand-symbol { display: inline-block; width: 18px; height: 18px; border: 2px solid var(--color-accent); border-radius: 50% 50% 50% 4px; transform: rotate(-28deg); }
.nav-links { display: inline-flex; align-items: center; gap: 0.95rem; margin: 0; padding: 0; list-style: none; }
.nav-links a { color: var(--color-muted); font-size: 0.88rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--color-ink); }
.nav-cta, .button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0.65rem 1rem; border: 1px solid transparent; border-radius: var(--radius-pill); background: var(--color-accent); color: var(--color-paper); font-weight: 800; line-height: 1.2; white-space: nowrap; }
.nav-cta:hover, .button:hover { background: var(--color-accent-strong); box-shadow: var(--shadow-accent); transform: translateY(-2px); }
.button-secondary { border-color: var(--color-rule); background: transparent; color: var(--color-ink); }
.button-secondary:hover { border-color: var(--color-accent); background: var(--color-paper-3); }
.nav-toggle { display: none; min-width: 44px; min-height: 44px; border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--color-ink); cursor: pointer; }

.hero { min-height: min(900px, 100svh); padding: 8.5rem 0 5rem; display: grid; align-items: center; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(280px, 5fr); gap: clamp(2rem, 6vw, 7rem); align-items: center; }
.hero-copy p { max-width: 590px; color: var(--color-muted); font-size: clamp(1.05rem, 1.6vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: var(--space-xl); }
.hero-actions .button:first-child { position: relative; overflow: hidden; box-shadow: var(--shadow-accent); }
.hero-actions .button:first-child::after { position: absolute; inset: 0 auto 0 -50%; width: 28%; content: ""; transform: skewX(-20deg); background: rgba(255, 255, 255, 0.38); transition: left 0.6s ease; }
.hero-actions .button:first-child:hover::after { left: 125%; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: var(--space-xl); }
.meta-chip { display: inline-flex; align-items: center; min-height: 30px; padding: 0.2rem 0.65rem; border: 1px solid var(--color-rule); border-radius: var(--radius-pill); color: var(--color-muted); font-size: 0.78rem; }
.hero-art { position: relative; min-height: 500px; isolation: isolate; overflow: hidden; border: 1px solid rgba(246, 239, 230, 0.2); border-radius: 20px; background: var(--color-paper-2); box-shadow: var(--shadow-card); }
.hero-image { position: absolute; z-index: -3; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 68% center; filter: saturate(0.82) contrast(1.04) brightness(0.84); }
.hero-art::before, .hero-art::after { position: absolute; content: ""; border-radius: 48% 52% 38% 62%; filter: blur(2px); }
.hero-art::before { inset: 0; z-index: -1; background: linear-gradient(145deg, rgba(12, 12, 18, 0.08), rgba(12, 12, 18, 0.38)); transform: none; }
.hero-art::after { inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(12, 12, 18, 0.18), transparent 58%, rgba(12, 12, 18, 0.22)); transform: none; }
.art-frame { position: absolute; inset: 8% 7% 8% 9%; display: grid; place-items: center; overflow: hidden; border: 1px solid rgba(246, 239, 230, 0.32); border-radius: 38% 16% 36% 18%; background: rgba(12, 12, 18, 0.06); box-shadow: var(--shadow-card); transform: rotate(5deg); }
.art-frame::before { position: absolute; inset: 12% 12% 12% 38%; border: 1px solid rgba(246, 239, 230, 0.17); border-radius: 50% 8% 50% 10%; content: ""; background: rgba(12, 12, 18, 0.03); }
.art-label { position: relative; z-index: 1; padding: 0.5rem 0.75rem; border: 1px solid rgba(246, 239, 230, 0.22); border-radius: var(--radius-pill); background: rgba(12, 12, 18, 0.65); color: var(--color-accent-strong); font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.12em; }
.art-stamp { position: absolute; z-index: 2; right: 0; bottom: 8%; padding: 0.7rem 0.8rem; border: 1px solid var(--color-rule); background: var(--color-paper-3); color: var(--color-muted); font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; transform: rotate(-4deg); }

.page-hero { padding: 11rem 0 5rem; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 0.7fr); gap: var(--space-xl); align-items: end; }
.page-hero h1 { max-width: 10ch; }
.page-hero p { margin-bottom: 0; color: var(--color-muted); }
.page-label { align-self: start; justify-self: end; max-width: 240px; padding: 1rem; border-left: 2px solid var(--color-accent); color: var(--color-muted); font-size: 0.88rem; }

.band, .section { padding: var(--space-3xl) 0; }
.band { background: var(--color-paper-2); }
.spec-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; overflow: hidden; border: 1px solid var(--color-rule); background: var(--color-rule); }
.spec-item { min-height: 145px; padding: 1.25rem; background: var(--color-paper-2); }
.spec-item dt { margin-bottom: 0.55rem; color: var(--color-faint); font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }
.spec-item dd { margin: 0; color: var(--color-ink); font-size: 1.12rem; font-weight: 700; }

.split-section { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 7vw, 8rem); align-items: center; }
.split-section.reverse > :first-child { order: 2; }
.split-section.reverse > :last-child { order: 1; }
.story-copy p { color: var(--color-muted); font-size: 1.06rem; }
.quote-panel { position: relative; padding: clamp(2rem, 5vw, 4rem); border-radius: var(--radius-md); background: linear-gradient(145deg, var(--color-paper-3), var(--color-paper-2)); box-shadow: var(--shadow-card); }
.quote-panel::before { position: absolute; top: 0; left: 2rem; width: 60px; height: 3px; content: ""; background: var(--color-accent); }
.quote-panel p { color: var(--color-ink); font-size: clamp(1.25rem, 2.5vw, 2rem); line-height: 1.45; }
.quote-panel small { color: var(--color-muted); }
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.feature-card { min-height: 230px; padding: 1.5rem; border: 1px solid var(--color-rule); border-radius: var(--radius-sm); background: var(--color-paper-2); transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease; }
.feature-card:hover { border-color: rgba(242, 177, 94, 0.44); box-shadow: var(--shadow-accent); transform: translateY(-6px); }
.feature-index { display: block; margin-bottom: 3.5rem; color: var(--color-accent); font-family: var(--font-mono); font-size: 0.72rem; }
.feature-card p { margin-bottom: 0; color: var(--color-muted); font-size: 0.92rem; }

.gallery-shell { padding: clamp(1rem, 3vw, 2rem); border: 1px solid var(--color-rule); background: var(--color-paper-2); }
.gallery-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.tabs { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.tab { min-height: 42px; padding: 0.55rem 0.85rem; border: 1px solid var(--color-rule); border-radius: var(--radius-pill); background: transparent; color: var(--color-muted); cursor: pointer; white-space: nowrap; }
.tab:hover, .tab[aria-selected="true"] { border-color: var(--color-accent); color: var(--color-ink); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; }
.gallery-tile { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border: 0; border-radius: var(--radius-sm); background: var(--color-paper-3); cursor: zoom-in; }
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms ease, filter 300ms ease; }
.gallery-tile:hover img { filter: brightness(1.08); transform: scale(1.04); }
.gallery-caption { position: absolute; right: 0.7rem; bottom: 0.65rem; left: 0.7rem; padding: 0.35rem 0.5rem; background: rgba(12, 12, 18, 0.72); color: var(--color-ink); font-size: 0.75rem; }
.gallery-empty { display: grid; min-height: 280px; place-items: center; padding: 2rem; border: 1px dashed rgba(246, 239, 230, 0.22); text-align: center; }
.gallery-empty strong { display: block; margin-bottom: 0.35rem; color: var(--color-ink); }
.gallery-empty p { margin-bottom: 0; color: var(--color-muted); }

.download-band { position: relative; overflow: hidden; padding: clamp(2.2rem, 5vw, 4rem); border-radius: var(--radius-md); background: linear-gradient(115deg, var(--color-paper-3), rgba(168, 91, 108, 0.26)); }
.download-band::after { position: absolute; right: -10%; bottom: -80%; width: 50%; aspect-ratio: 1; content: ""; border-radius: 50%; background: rgba(242, 177, 94, 0.16); filter: blur(8px); }
.download-band-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.download-band h2 { margin-bottom: 0.75rem; }
.download-band p { margin-bottom: 0; color: var(--color-muted); }
.download-band .button { flex: 0 0 auto; min-height: 56px; padding-inline: 1.35rem; }

.timeline { display: grid; gap: 1rem; }
.timeline-item { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 1.25rem; padding: 1.35rem 0; border-top: 1px solid var(--color-rule); }
.timeline-item:last-child { border-bottom: 1px solid var(--color-rule); }
.timeline-no { color: var(--color-accent); font-family: var(--font-mono); font-size: 0.8rem; }
.timeline-item h3 { margin-bottom: 0.3rem; }
.timeline-item p { margin-bottom: 0; color: var(--color-muted); }

.fit-grid, .article-grid, .download-grid, .guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.fit-card, .article-card, .platform-card, .guide-card { padding: 1.35rem; border: 1px solid var(--color-rule); border-radius: var(--radius-sm); background: var(--color-paper-2); }
.fit-card h3, .article-card h3, .platform-card h3, .guide-card h3 { margin-bottom: 0.45rem; }
.fit-card p, .article-card p, .platform-card p, .guide-card p { margin-bottom: 0; color: var(--color-muted); font-size: 0.92rem; }
.article-card { display: flex; min-height: 200px; flex-direction: column; justify-content: space-between; gap: 1.5rem; }
.article-card .link-arrow { align-self: flex-start; }
.guide-card { display: flex; min-height: 190px; flex-direction: column; justify-content: space-between; gap: 1.3rem; }

.faq-list { display: grid; gap: 0.6rem; max-width: 900px; }
details.faq-item { border-bottom: 1px solid var(--color-rule); }
details.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 62px; color: var(--color-ink); cursor: pointer; font-weight: 700; list-style: none; }
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after { content: "+"; color: var(--color-accent); font-family: var(--font-mono); font-size: 1.4rem; font-weight: 400; }
details.faq-item[open] summary::after { content: "−"; }
details.faq-item p { padding: 0 2.5rem 1rem 0; margin-bottom: 0; color: var(--color-muted); }

.final-cta { padding: var(--space-3xl) 0 var(--space-2xl); text-align: center; }
.final-cta h2 { max-width: 15ch; margin-inline: auto; }
.final-cta p { margin-inline: auto; color: var(--color-muted); }
.final-cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: var(--space-lg); }

.platform-card { min-height: 270px; }
.platform-card .platform-top { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 3.2rem; }
.platform-badge { padding: 0.2rem 0.55rem; border: 1px solid rgba(242, 177, 94, 0.45); border-radius: var(--radius-pill); color: var(--color-accent-strong); font-size: 0.72rem; white-space: nowrap; }
.platform-card .button { margin-top: 1.2rem; }
.steps { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.step { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 1rem; padding: 1.5rem 0; border-top: 1px solid var(--color-rule); }
.step:last-child { border-bottom: 1px solid var(--color-rule); }
.step-index { color: var(--color-accent); font-family: var(--font-mono); }
.step p { margin-bottom: 0; color: var(--color-muted); }
.requirements { width: 100%; border-collapse: collapse; border: 1px solid var(--color-rule); }
.requirements th, .requirements td { padding: 0.95rem; border-bottom: 1px solid var(--color-rule); text-align: left; vertical-align: top; }
.requirements th { color: var(--color-accent-strong); font-size: 0.84rem; font-weight: 700; }
.requirements td { color: var(--color-muted); }
.requirements td:first-child { color: var(--color-ink); }
.notice { padding: 1rem 1.15rem; border-left: 2px solid var(--color-accent); background: var(--color-paper-2); color: var(--color-muted); }

.guide-toc { position: sticky; top: 5rem; align-self: start; padding: 1rem; border: 1px solid var(--color-rule); background: var(--color-paper-2); }
.guide-toc ul { display: grid; gap: 0.45rem; margin: 0; padding: 0; list-style: none; }
.guide-toc a { color: var(--color-muted); font-size: 0.9rem; }
.guide-toc a:hover { color: var(--color-accent-strong); }
.guide-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); }
.guide-content section { scroll-margin-top: 6rem; padding-bottom: var(--space-2xl); }
.guide-content section + section { padding-top: var(--space-xl); border-top: 1px solid var(--color-rule); }
.guide-content p, .guide-content li { color: var(--color-muted); }
.guide-content ul, .guide-content ol { padding-left: 1.35rem; }
.guide-content li + li { margin-top: 0.35rem; }
.relation-table { width: 100%; border-collapse: collapse; }
.relation-table th, .relation-table td { padding: 0.8rem 0; border-bottom: 1px solid var(--color-rule); text-align: left; vertical-align: top; }
.relation-table th { color: var(--color-accent-strong); font-size: 0.82rem; }
.relation-table td { color: var(--color-muted); }
.relation-table td:first-child { color: var(--color-ink); font-weight: 700; }

.article-page { padding: 10rem 0 5rem; }
.article-wrap { max-width: 820px; margin-inline: auto; }
.article-wrap h1 { max-width: 14ch; font-size: clamp(2.5rem, 6vw, 5.2rem); }
.article-lede { padding: 1.25rem 1.4rem; border-left: 2px solid var(--color-accent); background: var(--color-paper-2); color: var(--color-ink); font-size: 1.08rem; }
.article-body { margin-top: var(--space-2xl); }
.article-body h2 { max-width: none; margin-top: var(--space-2xl); font-size: clamp(1.7rem, 3vw, 2.5rem); }
.article-body p, .article-body li { color: var(--color-muted); }
.article-body table { width: 100%; margin: 1rem 0; border-collapse: collapse; }
.article-body th, .article-body td { padding: 0.75rem; border-bottom: 1px solid var(--color-rule); text-align: left; vertical-align: top; }
.article-body th { color: var(--color-accent-strong); font-size: 0.86rem; }
.article-body td { color: var(--color-muted); }
.article-body .checklist { padding: 1rem 1.2rem; border: 1px solid var(--color-rule); background: var(--color-paper-2); list-style: none; }
.article-body .checklist li { position: relative; padding-left: 1.6rem; }
.article-body .checklist li::before { position: absolute; left: 0; content: "□"; color: var(--color-accent); }
.article-links { display: flex; flex-wrap: wrap; gap: 0.8rem 1.2rem; margin-top: var(--space-xl); padding-top: var(--space-lg); border-top: 1px solid var(--color-rule); }

.lightbox { position: fixed; z-index: 80; inset: 0; display: grid; place-items: center; padding: 2rem; background: rgba(12, 12, 18, 0.9); }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 82vh; object-fit: contain; }
.lightbox-close, .lightbox-prev, .lightbox-next { position: absolute; display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid var(--color-rule); border-radius: var(--radius-pill); background: var(--color-paper-2); color: var(--color-ink); cursor: pointer; }
.lightbox-close { top: 1.2rem; right: 1.2rem; }
.lightbox-prev { left: 1.2rem; }
.lightbox-next { right: 1.2rem; }
.modal-backdrop { position: fixed; z-index: 70; inset: 0; display: grid; place-items: center; padding: 1rem; background: rgba(12, 12, 18, 0.8); }
.modal-backdrop[hidden] { display: none; }
.modal { width: min(680px, 100%); max-height: min(80vh, 720px); overflow: auto; padding: 1.5rem; border: 1px solid var(--color-rule); border-radius: var(--radius-md); background: var(--color-paper-2); box-shadow: var(--shadow-card); }
.modal-header { display: flex; align-items: start; justify-content: space-between; gap: 1rem; }
.modal-close { min-width: 44px; min-height: 44px; border: 1px solid var(--color-rule); border-radius: var(--radius-pill); background: transparent; color: var(--color-ink); cursor: pointer; }

.site-footer { padding: var(--space-3xl) var(--page-gutter) 2rem; }
.footer-statement { max-width: 680px; margin-bottom: var(--space-2xl); color: var(--color-ink); font-size: clamp(2rem, 5vw, 4.1rem); font-weight: 700; letter-spacing: -0.055em; line-height: 1.06; }
.footer-meta { display: flex; align-items: start; justify-content: space-between; gap: 2rem; padding-top: var(--space-md); border-top: 1px solid var(--color-rule); }
.footer-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; max-width: 850px; }
.footer-column h3 { color: var(--color-faint); font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }
.footer-column a { display: block; margin-top: 0.35rem; color: var(--color-muted); font-size: 0.86rem; }
.footer-column a:hover { color: var(--color-accent-strong); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.8rem; margin-top: 2rem; color: var(--color-faint); font-size: 0.78rem; }

@media (max-width: 900px) {
  .nav-pill { max-width: calc(100% - 2rem); }
  .nav-links { gap: 0.6rem; }
  .hero-grid, .split-section, .page-hero-grid { grid-template-columns: 1fr; }
  .hero-art { min-height: 420px; max-width: 620px; width: 100%; margin-inline: auto; }
  .split-section.reverse > :first-child, .split-section.reverse > :last-child { order: initial; }
  .feature-grid, .spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fit-grid, .article-grid, .download-grid, .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-label { justify-self: start; }
  .guide-layout { grid-template-columns: 1fr; }
  .guide-toc { position: static; }
  .guide-toc ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .nav-pill { right: 1rem; left: 1rem; justify-content: space-between; transform: none; }
  .nav-links { position: fixed; top: 4.6rem; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 0.8rem; border: 1px solid var(--color-rule); border-radius: var(--radius-md); background: var(--color-paper-2); box-shadow: var(--shadow-card); }
  .nav-pill.menu-open .nav-links { display: flex; }
  .nav-links a { display: block; min-height: 44px; padding: 0.7rem; }
  .nav-cta { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .hero { min-height: auto; padding-top: 8rem; }
  .hero-art { min-height: 330px; }
  .art-frame { inset: 8% 3% 8% 4%; }
  .section-intro { grid-template-columns: 1fr; }
  .spec-grid, .feature-grid, .fit-grid, .article-grid, .download-grid, .guide-grid, .footer-columns { grid-template-columns: 1fr; }
  .spec-item { min-height: 112px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .download-band-inner { align-items: start; flex-direction: column; }
  .download-band .button { width: 100%; }
  .footer-meta { flex-direction: column; }
  .footer-columns { width: 100%; gap: 1.2rem; }
  .footer-bottom { flex-direction: column; }
  .timeline-item, .step { grid-template-columns: 56px minmax(0, 1fr); }
  .guide-toc ul { grid-template-columns: 1fr; }
  .requirements { display: block; overflow-x: auto; white-space: nowrap; }
  .requirements th, .requirements td { min-width: 130px; }
  .lightbox { padding: 1rem; }
  .lightbox-prev { left: 0.5rem; }
  .lightbox-next { right: 0.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
