/* HUnter landing. One fixed stage of rendered frames under fixed type; the length of the page is the timeline.
   Single dark world on purpose (night in the warehouse), so no light theme. */
:root {
  color-scheme: dark;
  --bg: #000;
  --fg: #fff;
  --muted: #a3a3a3;
  --accent: #ff7a00;
  --on-pill: #000;
  --shade: rgba(0, 0, 0, 0.82);
  --font: Geist, "Helvetica Neue", Arial, system-ui, sans-serif;
  --logo: Anton, Impact, "Arial Narrow", sans-serif;
  --side: max(clamp(16px, 2.1vw, 30px), env(safe-area-inset-left, 0px));
  --side-r: max(clamp(16px, 2.1vw, 30px), env(safe-area-inset-right, 0px));
}
html, body { background: var(--bg); color: var(--fg); }
body {
  margin: 0;
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--bg); }
a { color: var(--fg); text-decoration: none; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }

#stage { position: fixed; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; background: var(--bg); }
.shade { position: fixed; inset: 0; pointer-events: none; z-index: 1; }
.shade-hero { background: radial-gradient(110% 85% at 0% 100%, var(--shade) 0%, rgba(0, 0, 0, 0.45) 38%, rgba(0, 0, 0, 0) 62%); }
.shade-top { background: radial-gradient(95% 70% at 0% 0%, var(--shade) 0%, rgba(0, 0, 0, 0.5) 40%, rgba(0, 0, 0, 0) 68%); opacity: 0; }

.bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: calc(env(safe-area-inset-top, 0px) + 22px) var(--side-r) 22px var(--side);
}
.logo { font-family: var(--logo); font-size: clamp(28px, 2.4vw, 34px); line-height: 1; letter-spacing: 0.01em; color: var(--fg); }
.logo span { color: var(--accent); }
.bar nav { display: flex; align-items: center; gap: clamp(20px, 3.9vw, 56px); font-size: 15.5px; }
.bar nav a:hover { color: var(--accent); }
.bar .lang { color: var(--muted); }

.copy { position: fixed; left: 0; right: 0; z-index: 4; padding-left: var(--side); padding-right: var(--side-r); will-change: transform, opacity; }
.hero-copy { bottom: calc(env(safe-area-inset-bottom, 0px) + 28px); }
.hero-copy h1 { margin: 0; max-width: 560px; font-weight: 400; font-size: clamp(34px, 3.3vw, 64px); line-height: 1.02; letter-spacing: -0.015em; text-wrap: balance; }
.copy p { margin: 20px 0 0; max-width: 600px; font-size: clamp(16px, 1.3vw, 22px); line-height: 1.3; text-wrap: pretty; }
.copy em { font-style: normal; color: var(--accent); }
.pill { display: inline-flex; align-items: center; justify-content: center; width: 215px; height: 40px; margin-top: 22px; border-radius: 999px; background: var(--fg); color: var(--on-pill); font-size: 15.5px; }
.pill:hover { background: var(--accent); }
.s2-copy { top: calc(env(safe-area-inset-top, 0px) + clamp(84px, 11vh, 120px)); opacity: 0; transform: translateY(70vh); }
.s2-copy h2 { margin: 0; max-width: 980px; font-weight: 400; font-size: clamp(42px, 6.2vw, 100px); line-height: 0.98; letter-spacing: -0.035em; text-wrap: balance; }
.hint { position: fixed; z-index: 4; right: var(--side-r); bottom: calc(env(safe-area-inset-bottom, 0px) + 36px); display: flex; align-items: center; gap: 10px; font-size: 15px; }
.hint::after { content: ""; width: 1px; height: 16px; background: var(--fg); }
.track { display: block; height: 620vh; }

@media (max-width: 640px) {
  .hide-sm, .hint { display: none; }
  .shade-hero { background: linear-gradient(0deg, var(--shade) 0%, rgba(0, 0, 0, 0.35) 32%, rgba(0, 0, 0, 0) 52%); }
}
