/*
Theme Name: Apogee
Theme URI: https://apogee.example
Author: Apogee Observatory Network
Description: Independent citizen-science observatory network theme. Each section carries its own distinct GPU-rendered background — nebula raymarch, plasma aurora, particle starfield, 3D orbital scene, gravitational lensing, spectral diffraction.
Version: 1.0
Requires PHP: 7.4
Text Domain: apogee
*/

/* ============ Design tokens ============ */
:root {
  --bg: #05060d;
  --bg-2: #090b18;
  --panel: rgba(255,255,255,.04);
  --panel-2: rgba(255,255,255,.07);
  --panel-3: rgba(255,255,255,.10);
  --line: rgba(180,180,255,.14);
  --line-strong: rgba(180,180,255,.28);
  --ink: #eef0fb;
  --ink-dim: rgba(238,240,251,.68);
  --ink-mute: rgba(238,240,251,.42);
  --accent: #a78bfa;
  --accent-soft: rgba(167,139,250,.16);
  --accent-2: #22d3ee;
  --accent-2-soft: rgba(34,211,238,.16);
  --star: #fbbf24;
  --ff-head: 'Space Grotesk', 'PingFang SC', sans-serif;
  --ff-body: 'Inter', 'PingFang SC', -apple-system, sans-serif;
  --ff-mono: 'JetBrains Mono', 'SFMono-Regular', monospace;
  --radius: 4px;
}

* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--ff-body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--accent); color: var(--bg); }

h1, h2, h3, h4 {
  font-family: var(--ff-head); font-weight: 500; line-height: 1.08; margin: 0; letter-spacing: -.01em;
}
.mono { font-family: var(--ff-mono); letter-spacing: .02em; }
.eyebrow {
  font-family: var(--ff-mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent-2); display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ''; width: 18px; height: 1px; background: var(--accent-2); }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 780px) { .wrap { padding: 0 20px; } }

/* ============ Section GPU-canvas scaffolding ============ */
/* Every .gpu-section is a positioned container with a canvas absolutely
   filling it behind the content — each section's canvas draws a different
   technique, gated to only animate while the section is on screen. */
.gpu-section { position: relative; overflow: hidden; }
.gpu-section canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; pointer-events: none;
}
.gpu-section .wrap { position: relative; z-index: 2; }
.gpu-section::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(5,6,13,.15), rgba(5,6,13,.65) 70%, var(--bg) 100%);
}
.gpu-section.gpu-section-solid::after { background: rgba(5,6,13,.55); }

.grain {
  position: fixed; inset: 0; z-index: 5; pointer-events: none;
  opacity: .04; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ============ Progress bar / preloader ============ */
.scroll-progress { position: fixed; top: 0; left: 0; height: 2px; width: 0%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); z-index: 100; }
.preloader {
  position: fixed; inset: 0; z-index: 999; background: var(--bg); display: flex; align-items: center; justify-content: center;
  transition: opacity .6s ease, visibility .6s ease;
}
.preloader .pre-inner { font-size: 12px; letter-spacing: .2em; color: var(--accent-2); text-transform: uppercase; font-family: var(--ff-mono); }
.preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }

/* ============ Header ============ */
.site-head { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 20px 0; transition: background .3s, border-color .3s, padding .3s; border-bottom: 1px solid transparent; }
.site-head.scrolled { background: rgba(5,6,13,.75); backdrop-filter: blur(10px); border-bottom-color: var(--line); padding: 14px 0; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--ff-head); font-size: 20px; }
.brand .brand-mark { width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--accent-2), var(--accent) 60%, transparent 100%); box-shadow: 0 0 14px var(--accent); }
.main-nav { display: flex; gap: 30px; }
.main-nav a { font-family: var(--ff-mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-dim); position: relative; padding: 4px 0; }
.main-nav a:hover { color: var(--ink); }
.main-nav a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--accent-2); transition: width .25s; }
.main-nav a:hover::after { width: 100%; }
.head-right { display: flex; align-items: center; gap: 18px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--ff-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  padding: 11px 20px; border-radius: var(--radius); border: 1px solid var(--line-strong); position: relative; overflow: hidden; background: transparent; color: var(--ink);
}
.btn.primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--bg); border-color: transparent; font-weight: 600; }
.btn .shine { position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(120deg, transparent, rgba(255,255,255,.4), transparent); transform: skewX(-20deg); transition: left .5s; }
.btn:hover .shine { left: 130%; }
.nav-toggle { display: none; width: 38px; height: 38px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: transparent; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ''; display: block; width: 16px; height: 1.5px; background: var(--ink); position: relative; }
.nav-toggle span::before { position: absolute; top: -5px; }
.nav-toggle span::after { position: absolute; top: 5px; }
@media (max-width: 900px) { .main-nav { display: none; } .nav-toggle { display: flex; } .head-right .btn.primary { display: none; } }

.mobile-nav { position: fixed; inset: 0; z-index: 90; visibility: hidden; }
.mobile-nav.open { visibility: visible; }
.mobile-nav .mn-scrim { position: absolute; inset: 0; background: rgba(5,6,13,.75); opacity: 0; transition: opacity .3s; }
.mobile-nav.open .mn-scrim { opacity: 1; }
.mobile-nav .mn-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(320px, 84%); background: var(--bg-2); border-left: 1px solid var(--line); padding: 90px 28px 28px; transform: translateX(100%); transition: transform .35s cubic-bezier(.16,1,.3,1); }
.mobile-nav.open .mn-panel { transform: translateX(0); }
.mobile-nav a { display: block; padding: 14px 0; font-family: var(--ff-head); font-size: 22px; border-bottom: 1px solid var(--line); }

/* ============ Hero (nebula raymarch canvas) ============ */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 140px 0 80px; }
.hero .wrap { position: relative; z-index: 2; }
.hero-kicker { margin-bottom: 26px; }
.hero h1 { font-size: clamp(42px, 6.2vw, 88px); max-width: 16ch; }
.hero h1 .line { overflow: hidden; display: block; }
.hero h1 .line span { display: inline-block; transform: translateY(110%); }
.hero-lede { margin: 28px 0 40px; font-size: 18px; color: var(--ink-dim); max-width: 54ch; }
.hero-cta { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 44px; margin-top: 64px; flex-wrap: wrap; }
.hero-stats .hs-num { font-family: var(--ff-head); font-size: 34px; color: var(--accent-2); }
.hero-stats .hs-label { font-family: var(--ff-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); margin-top: 4px; }
.scroll-cue { position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font-family: var(--ff-mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-mute); z-index: 2; }
.scroll-cue .line-drop { width: 1px; height: 34px; background: linear-gradient(180deg, var(--accent-2), transparent); animation: dropPulse 2s ease-in-out infinite; }
@keyframes dropPulse { 0%,100% { opacity: .3; } 50% { opacity: 1; } }

/* Focus ring — drag interaction on the hero, telescope focus metaphor */
.focus-ring {
  position: absolute; width: 120px; height: 120px; border-radius: 50%; border: 1px solid var(--line-strong);
  pointer-events: none; z-index: 3; display: none; transform: translate(-50%,-50%);
}
.focus-ring::before { content: ''; position: absolute; inset: -1px; border-radius: 50%; border: 1px dashed var(--accent-2); opacity: .5; animation: focusSpin 12s linear infinite; }
@keyframes focusSpin { to { transform: rotate(360deg); } }
@media (hover: hover) { .focus-ring.active { display: block; } }

/* ============ Sections generic ============ */
.section { padding: 120px 0; position: relative; }
.section-tight { padding: 80px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 56px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(30px, 4vw, 48px); margin-top: 14px; max-width: 20ch; }
.section-head p { color: var(--ink-dim); max-width: 42ch; font-size: 15px; }

[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); }
[data-reveal].in { opacity: 1; transform: translateY(0); }
[data-ping] { position: relative; }
[data-ping].in::before {
  content: ''; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px;
  border: 1px solid var(--accent-2); border-radius: 50%; pointer-events: none;
  animation: sonarPing 1.1s cubic-bezier(.2,.6,.3,1) forwards; z-index: 5;
}
@keyframes sonarPing { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(22); } }

/* ============ Ticker ============ */
.ticker-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; overflow: hidden; white-space: nowrap; position: relative; z-index: 2; }
.ticker-track { display: inline-flex; gap: 56px; will-change: transform; }
.ticker-track span { font-family: var(--ff-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); display: inline-flex; align-items: center; gap: 56px; }
.ticker-track span::after { content: '✦'; color: var(--accent-2); font-size: 9px; }

/* ============ Story split (plasma aurora canvas) ============ */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.story-media {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5;
  box-shadow: 0 0 0 1px var(--line-strong), 0 40px 80px -30px rgba(167,139,250,.35);
}
.story-media img {
  width: 100%; height: 100%; object-fit: cover; filter: saturate(1.05) brightness(.82);
  transform: scale(1.06); transition: transform 6s cubic-bezier(.19,1,.22,1);
}
[data-reveal].in .story-media img { transform: scale(1); }
.story-media::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen;
  background: radial-gradient(120% 90% at 18% 100%, rgba(167,139,250,.45), transparent 60%),
              radial-gradient(90% 70% at 100% 0%, rgba(34,211,238,.28), transparent 65%);
}
.story-media .badge { position: absolute; left: 20px; bottom: 20px; background: rgba(5,6,13,.7); backdrop-filter: blur(6px); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 14px 18px; }
.story-media .badge .b-num { font-family: var(--ff-head); font-size: 26px; color: var(--accent-2); }
.story-media .badge .b-label { font-family: var(--ff-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); }
.story-copy p { color: var(--ink-dim); margin: 20px 0; }
.story-list { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.story-list li { display: flex; gap: 12px; font-size: 14px; color: var(--ink-dim); }
.story-list li::before { content: '—'; color: var(--accent-2); }
@media (max-width: 900px) { .story { grid-template-columns: 1fr; } }

/* ============ Plate grid (observations, particle starfield canvas) ============ */
.plate-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px; }
@media (max-width: 980px) { .plate-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .plate-grid { grid-template-columns: 1fr; } }
.plate { display: block; }
.plate-frame {
  position: relative; aspect-ratio: 4/3; border-radius: 2px; overflow: hidden;
  background: var(--panel-2); border: 1px solid var(--line-strong);
  box-shadow: 0 24px 50px -24px rgba(0,0,0,.65);
  transition: transform .35s, border-color .35s;
}
.plate-frame::before, .plate-frame::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 14px;
  background-image: radial-gradient(circle, var(--bg) 2.2px, transparent 2.3px);
  background-size: 14px 16px; background-repeat: repeat-y; z-index: 3; opacity: .8;
}
.plate-frame::before { left: 0; }
.plate-frame::after { right: 0; }
.plate:hover .plate-frame { transform: translateY(-6px); border-color: var(--accent-2); }
.plate-frame img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.25) saturate(1.15) brightness(.82) contrast(1.08); transition: transform .6s ease; }
.plate:hover .plate-frame img { transform: scale(1.06); }
.plate-frame .pl-code { position: absolute; left: 20px; bottom: 12px; font-family: var(--ff-mono); font-size: 11px; letter-spacing: .1em; color: var(--accent-2); background: rgba(5,6,13,.6); padding: 3px 10px; border-radius: 20px; z-index: 3; }
.plate-meta { margin-top: 18px; }
.plate-meta .pm-type { font-family: var(--ff-mono); font-size: 11px; color: var(--star); letter-spacing: .1em; text-transform: uppercase; }
.plate-meta h3 { font-size: 18px; margin-top: 8px; }
.plate-meta .pm-loc { font-size: 13px; color: var(--ink-mute); margin-top: 6px; }
.plate-meta .pm-status { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-family: var(--ff-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-dim); }
.plate-meta .pm-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--ink-mute); }
.plate-meta .pm-status.confirmed::before { background: var(--accent-2); box-shadow: 0 0 8px var(--accent-2); }
.plate-meta .pm-status.candidate::before { background: var(--star); }
.plate-meta .pm-status.monitoring::before { background: var(--accent); }

/* ============ Orbital 3D scene section ============ */
.orbit-scene { min-height: 640px; display: flex; align-items: center; }
.orbit-scene .wrap { width: 100%; }
.orbit-copy { max-width: 34ch; }
.orbit-copy p { color: var(--ink-dim); margin-top: 18px; }

/* ============ Log list (gravitational lensing bg canvas) ============ */
.log-list { display: flex; flex-direction: column; position: relative; z-index: 2; }
.log-row { display: grid; grid-template-columns: 120px 1fr auto; gap: 24px; align-items: center; padding: 26px 0; border-top: 1px solid var(--line); }
.log-list .log-row:last-child { border-bottom: 1px solid var(--line); }
.log-row .lr-date { font-family: var(--ff-mono); font-size: 12px; color: var(--ink-mute); }
.log-row h3 { font-size: 19px; font-weight: 500; transition: color .25s; }
.log-row:hover h3 { color: var(--accent-2); }
.log-row .lr-tag { font-family: var(--ff-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--star); }
.log-row .lr-arrow { font-family: var(--ff-mono); color: var(--ink-mute); transition: transform .25s, color .25s; }
.log-row:hover .lr-arrow { transform: translateX(4px); color: var(--accent-2); }
@media (max-width: 700px) { .log-row { grid-template-columns: 1fr; gap: 8px; } }

/* ============ Crew (spectral diffraction bg canvas) ============ */
.crew-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; z-index: 2; }
@media (max-width: 980px) { .crew-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .crew-grid { grid-template-columns: 1fr; } }
.crew-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; background: rgba(5,6,13,.5); backdrop-filter: blur(4px); transition: border-color .3s, transform .3s; }
.crew-card:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.crew-badge { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--accent-2); display: flex; align-items: center; justify-content: center; font-family: var(--ff-head); font-size: 16px; color: var(--accent-2); margin-bottom: 18px; }
.crew-card h3 { font-size: 16.5px; }
.crew-card .cc-role { font-family: var(--ff-mono); font-size: 11px; color: var(--ink-mute); margin-top: 6px; }
.crew-card .cc-note { font-size: 12px; color: var(--ink-mute); margin-top: 12px; opacity: .7; }

/* ============ Stats band (meteor particles canvas) ============ */
.stats-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; z-index: 2; }
.stat-cell { padding: 48px 24px; text-align: center; border-left: 1px solid var(--line); }
.stat-cell:first-child { border-left: none; }
.stat-cell .stat-num { font-family: var(--ff-head); font-size: 44px; color: var(--accent-2); }
.stat-cell .stat-label { font-family: var(--ff-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); margin-top: 8px; }
@media (max-width: 700px) { .stats-row { grid-template-columns: repeat(2, 1fr); } .stat-cell { border-top: 1px solid var(--line); } .stat-cell:nth-child(1), .stat-cell:nth-child(2) { border-top: none; } .stat-cell:nth-child(even) { border-left: 1px solid var(--line); } .stat-cell:nth-child(odd) { border-left: none; } }

/* ============ CTA band (nebula bookend canvas) ============ */
.cta-band { position: relative; text-align: center; padding: 130px 0; }
.cta-band h2 { font-size: clamp(32px, 5vw, 56px); max-width: 18ch; margin: 0 auto 30px; }
.cta-band p { color: var(--ink-dim); max-width: 46ch; margin: 0 auto 40px; }
.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ============ Footer ============ */
.site-foot { border-top: 1px solid var(--line); padding: 76px 0 36px; position: relative; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-brand .brand { margin-bottom: 16px; }
.foot-brand p { color: var(--ink-mute); font-size: 13.5px; max-width: 34ch; }
.foot-col h4 { font-family: var(--ff-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 18px; }
.foot-col a { display: block; padding: 7px 0; font-size: 14px; color: var(--ink-dim); transition: color .2s; }
.foot-col a:hover { color: var(--accent-2); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--line); }
.foot-bottom p { font-family: var(--ff-mono); font-size: 11.5px; color: var(--ink-mute); }

/* ============ Forms ============ */
.field { margin-bottom: 20px; }
.field label { display: block; font-family: var(--ff-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 8px; }
.field input, .field textarea, .field select { width: 100%; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 13px 14px; color: var(--ink); font-family: var(--ff-body); font-size: 14.5px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent-2); }
.field textarea { min-height: 130px; resize: vertical; }

/* ============ Cursor ============ */
.cursor-dot { position: fixed; top: 0; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); pointer-events: none; z-index: 200; transform: translate(-50%,-50%); box-shadow: 0 0 10px var(--accent-2); transition: transform .12s; }
.cursor-dot.hovering { transform: translate(-50%,-50%) scale(2.2); }
@media (hover: none), (max-width: 900px) { .cursor-dot { display: none; } }

/* ============ Article / single ============ */
.page-hero { padding: 150px 0 70px; position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(32px, 5vw, 54px); max-width: 22ch; }
.page-hero-lede { color: var(--ink-dim); max-width: 60ch; margin-top: 22px; font-size: 16px; }
.entry-content { max-width: 720px; margin: 0 auto; font-size: 17px; }
.entry-content p { margin: 0 0 22px; color: var(--ink-dim); }
.entry-content h2 { font-size: 26px; margin: 46px 0 18px; }
.entry-content h3 { font-size: 20px; margin: 34px 0 14px; }
.entry-content img { border-radius: var(--radius); margin: 30px 0; }
.entry-content a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }
.entry-content blockquote { border-left: 2px solid var(--accent-2); padding-left: 20px; color: var(--ink); font-style: italic; margin: 30px 0; }
.meta-strip { display: flex; gap: 20px; flex-wrap: wrap; font-family: var(--ff-mono); font-size: 11.5px; color: var(--ink-mute); text-transform: uppercase; letter-spacing: .08em; margin-top: 24px; }

.kit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 700px) { .kit-grid { grid-template-columns: 1fr; } }
.kit-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; background: var(--panel); }
.kit-card .kc-num { font-family: var(--ff-mono); color: var(--accent-2); font-size: 12px; }
.kit-card h3 { font-size: 19px; margin: 14px 0 10px; }
.kit-card p { color: var(--ink-dim); font-size: 14px; }

.error-404 { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 140px 20px; position: relative; z-index: 2; }
.error-404 .e4-num { font-family: var(--ff-head); font-size: clamp(80px,16vw,160px); color: var(--accent-2); line-height: 1; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
