/* Homepage (2026-10). Full-bleed photos and real NASA footage, one idea per screen; widgets below keep their own styles. */
@font-face{font-family:'Barlow';font-style:normal;font-display:swap;font-weight:300;src:url(../vendor/fonts/barlow/barlow-latin-300-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Barlow';font-style:normal;font-display:swap;font-weight:300;src:url(../vendor/fonts/barlow/barlow-latin-ext-300-normal.woff2) format('woff2');unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Barlow';font-style:normal;font-display:swap;font-weight:400;src:url(../vendor/fonts/barlow/barlow-latin-400-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Barlow';font-style:normal;font-display:swap;font-weight:400;src:url(../vendor/fonts/barlow/barlow-latin-ext-400-normal.woff2) format('woff2');unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Barlow';font-style:normal;font-display:swap;font-weight:500;src:url(../vendor/fonts/barlow/barlow-latin-500-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Barlow';font-style:normal;font-display:swap;font-weight:500;src:url(../vendor/fonts/barlow/barlow-latin-ext-500-normal.woff2) format('woff2');unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Barlow';font-style:normal;font-display:swap;font-weight:600;src:url(../vendor/fonts/barlow/barlow-latin-600-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Barlow';font-style:normal;font-display:swap;font-weight:600;src:url(../vendor/fonts/barlow/barlow-latin-ext-600-normal.woff2) format('woff2');unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Barlow Semi Condensed';font-style:normal;font-display:swap;font-weight:500;src:url(../vendor/fonts/barlow/barlow-semi-condensed-latin-500-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Barlow Semi Condensed';font-style:normal;font-display:swap;font-weight:500;src:url(../vendor/fonts/barlow/barlow-semi-condensed-latin-ext-500-normal.woff2) format('woff2');unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Barlow Semi Condensed';font-style:normal;font-display:swap;font-weight:600;src:url(../vendor/fonts/barlow/barlow-semi-condensed-latin-600-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Barlow Semi Condensed';font-style:normal;font-display:swap;font-weight:600;src:url(../vendor/fonts/barlow/barlow-semi-condensed-latin-ext-600-normal.woff2) format('woff2');unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}

:root {
  --n-ink: #03050a; --n-panel: #0a0d14; --n-line: rgba(255,255,255,0.14); --n-fg: #f5f5f3; --n-mute: #9a9ea6; --n-soft: #c9cbcf; --n-fire: #ffb35c; --n-sun: #f5c518;
  --n-display: 'Barlow', 'Montserrat', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', system-ui, sans-serif;
  --n-latin: 'Barlow', 'Montserrat', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  --n-label: 'Barlow Semi Condensed', 'Barlow', 'Montserrat', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  --n-wrap: 1280px;
}
[hidden] { display: none !important; }
.nh { color: var(--n-fg); font-family: var(--n-latin); line-height: 1.6; }
.nh img { display: block; max-width: 100%; }
.nh button { font: inherit; color: inherit; }
.nh :focus-visible { outline: 2px solid var(--n-fg); outline-offset: 3px; }
.gut { padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
.wrap { max-width: var(--n-wrap); margin: 0 auto; }
.nh .label { font-family: var(--n-label); font-weight: 600; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--n-soft); }
.nh h1, .nh h2, .nh h3 { font-family: var(--n-display); font-weight: 600; margin: 0; text-wrap: balance; letter-spacing: 0.005em; word-break: keep-all; overflow-wrap: anywhere; }
html[lang="zh"] .nh h1, html[lang="zh"] .nh h2, html[lang="zh"] .nh h3 { font-weight: 700; letter-spacing: 0.02em; }
.nh p { margin: 0; }
/* anniversary banner */
.anni { position: fixed; left: 50%; top: calc(76px + env(safe-area-inset-top, 0px)); transform: translateX(-50%); z-index: 1990; width: min(720px, calc(100% - 32px)); display: flex; align-items: center; gap: 16px; padding: 14px 16px 14px 20px; background: rgba(12,13,15,0.92); border: 1px solid var(--n-line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.anni p { font-family: var(--n-display); font-size: 14.5px; line-height: 1.6; flex: 1; min-width: 0; }
.anni b { color: var(--n-fire); font-weight: 500; }
.anni button { flex: none; width: 36px; height: 36px; border: 0; background: none; cursor: pointer; color: var(--n-soft); font-size: 20px; }

/* hero: plays by itself, no scrolling needed — pad at sunrise, countdown, the real launch, then the whole climb as one streak of light */
.n-story { position: relative; height: 100vh; height: 100svh; min-height: 560px; }
.stage { position: absolute; inset: 0; overflow: hidden; isolation: isolate; background: #000; }
.stage .shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; will-change: transform, opacity; transition: opacity 1.1s ease; }
.shot.a { object-position: 47% 50%; }
@keyframes slowzoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.shot.b { opacity: 0; object-position: 47% 50%; transition: opacity .2s; }
.shot.c { opacity: 0; object-position: 40% 60%; transform: scale(1.06); transition: opacity 1.6s ease, transform 12s ease-out; }
.shot.c.is-on { transform: scale(1); }
.shade { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(80% 60% at 0% 100%, rgba(0,0,0,0.55), rgba(0,0,0,0) 70%), linear-gradient(180deg, rgba(0,0,0,0.42) 0%, rgba(0,0,0,0) 24%, rgba(0,0,0,0) 44%, rgba(0,0,0,0.86) 100%); }
.cap { position: absolute; left: 0; right: 0; bottom: 0; }
.cap .wrap { padding-block: 0 72px; display: flex; flex-direction: column; gap: 22px; max-width: var(--n-wrap); }
.cap .inner { display: flex; flex-direction: column; gap: 22px; max-width: 780px; }
.cap h1 { font-size: clamp(30px, 5.6vw, 80px); line-height: 1.12; }
html[lang="zh"] .nw { white-space: nowrap; }
.cap p { font-family: var(--n-display); font-weight: 300; font-size: clamp(16px, 1.5vw, 20px); color: var(--n-soft); max-width: 34em; }
.hud { position: absolute; right: max(24px, env(safe-area-inset-right, 0px)); top: calc(96px + env(safe-area-inset-top, 0px)); display: flex; flex-direction: column; align-items: flex-end; gap: 6px; pointer-events: none; text-align: right; }
.hud b { color: var(--n-sun); font-family: var(--n-latin); font-weight: 300; font-size: clamp(34px, 4vw, 56px); letter-spacing: 0.02em; font-variant-numeric: tabular-nums; line-height: 1; }
.hud span { font-family: var(--n-label); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--n-soft); }
.hud em { font-style: normal; font-family: var(--n-display); font-size: 14px; color: rgba(255,255,255,0.78); max-width: 16em; min-height: 1.6em; transition: opacity .6s; }
.hud .n-bar { width: 180px; height: 1px; background: rgba(255,255,255,0.18); position: relative; overflow: hidden; }
.hud .n-bar i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--n-sun); }
.replay { position: absolute; right: max(24px, env(safe-area-inset-right, 0px)); bottom: 64px; min-height: 40px; padding: 0 16px; border: 1px solid rgba(255,255,255,0.4); background: rgba(0,0,0,0.35); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); cursor: pointer; font-family: var(--n-label); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; transition: border-color .2s; }
.replay:hover { border-color: #fff; }
.sound { position: absolute; left: 50%; transform: translateX(-50%); bottom: 48px; min-height: 34px; padding: 0 14px; border: 1px solid rgba(255,255,255,0.3); background: rgba(0,0,0,0.3); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); cursor: pointer; font-family: var(--n-label); font-size: 11px; letter-spacing: 0.18em; color: rgba(255,255,255,0.8); }
.sound[aria-pressed="true"] { border-color: var(--n-sun); color: var(--n-sun); }
@media (max-width: 860px) { .sound { left: max(24px, env(safe-area-inset-left, 0px)); transform: none; bottom: 18px; } .scrollhint { display: none; } }
.scrollhint { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); font-family: var(--n-label); font-size: 11px; letter-spacing: 0.24em; color: rgba(255,255,255,0.6); text-transform: uppercase; pointer-events: none; }
.shotcredit { position: absolute; right: max(24px, env(safe-area-inset-right, 0px)); bottom: 22px; font-family: var(--n-label); font-size: 11.5px; letter-spacing: 0.06em; color: rgba(255,255,255,0.6); pointer-events: none; }

.cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.n-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 28px; border: 1.5px solid var(--n-fg); font-family: var(--n-label); font-weight: 600; font-size: 14px; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; background: transparent; cursor: pointer; transition: background-color .25s, color .25s; }
.n-btn:hover { background: var(--n-fg); color: var(--n-ink); }
.n-btn.fill { background: var(--n-fg); color: var(--n-ink); }
.n-btn.fill:hover { background: transparent; color: var(--n-fg); }
.credit { font-family: var(--n-label); font-size: 11.5px; letter-spacing: 0.06em; color: rgba(255,255,255,0.62); }

/* mission */
.n-mission { padding-block: clamp(96px, 14vw, 180px); }
.n-mission .wrap { display: flex; flex-wrap: wrap; gap: clamp(40px, 8vw, 120px); align-items: flex-end; }
.count { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.daysbtn { border: 0; background: none; padding: 0; cursor: pointer; text-align: left; position: relative; }
.daysbtn b { display: block; font-family: var(--n-latin); font-weight: 300; font-size: clamp(96px, 15vw, 210px); line-height: 0.9; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; transition: color .3s; }
.daysbtn:hover b { color: #ffffff; text-shadow: 0 0 40px rgba(255,179,92,0.35); }
.daysbtn i { position: absolute; right: -8px; top: 6px; font-style: normal; font-family: var(--n-label); font-size: 11px; letter-spacing: 0.2em; color: var(--n-fire); opacity: 0; transition: opacity .3s; }
.daysbtn:hover i, .daysbtn:focus-visible i { opacity: 1; }
.count > span { display: block; margin-top: 18px; font-family: var(--n-display); font-size: 17px; color: var(--n-soft); }
.date { cursor: default; user-select: none; -webkit-user-select: none; }
.live { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 30px; font-family: var(--n-label); font-size: 13px; letter-spacing: 0.12em; color: var(--n-mute); text-transform: uppercase; }
.live span { display: inline-flex; align-items: center; gap: 8px; }
.live i { width: 6px; height: 6px; border-radius: 50%; background: #5bd38a; box-shadow: 0 0 0 0 rgba(91,211,138,0.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(91,211,138,0.5); } 70% { box-shadow: 0 0 0 8px rgba(91,211,138,0); } 100% { box-shadow: 0 0 0 0 rgba(91,211,138,0); } }
.lease { width: 100%; max-width: 520px; margin-top: 30px; }
.lease-bar { position: relative; height: 2px; background: rgba(255,255,255,0.14); }
.lease-bar i { position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, rgba(245,197,24,0.2), var(--n-sun)); transition: width 2.2s cubic-bezier(.2,.7,.2,1); }
.lease-bar b { position: absolute; top: 50%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: var(--n-sun); box-shadow: 0 0 0 4px rgba(245,197,24,0.18), 0 0 18px rgba(245,197,24,0.6); left: 0; transition: left 2.2s cubic-bezier(.2,.7,.2,1); }
.lease-ends { display: flex; justify-content: space-between; gap: 10px; margin-top: 12px; font-family: var(--n-label); font-size: 12px; letter-spacing: 0.1em; color: var(--n-mute); }
.lease-ends span:nth-child(2) { color: var(--n-sun); }
.n-mission-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.n-mission-text h2 { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.3; }
.n-mission-text p { font-family: var(--n-display); font-weight: 300; font-size: 18px; line-height: 1.85; color: var(--n-soft); max-width: 32em; }
.link { display: inline-flex; align-items: center; gap: 10px; font-family: var(--n-label); font-weight: 600; font-size: 14px; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; padding-block: 8px; border-bottom: 1px solid var(--n-fg); align-self: flex-start; }
.link svg { width: 14px; height: 14px; transition: transform .25s; }
.link:hover svg { transform: translateX(4px); }

/* depth: the hero stays put and the page slides over it like a sheet */
.herowrap { position: relative; }
.n-story { position: sticky; top: 0; z-index: 0; }
.stage { transform-origin: 50% 35%; will-change: transform; }
.over { position: relative; z-index: 1; background: linear-gradient(180deg, #070b15 0%, rgba(3,5,10,0.97) 520px, rgba(3,5,10,0.9) 100%); border-top: 1px solid rgba(255,255,255,0.12); border-radius: 28px 28px 0 0; box-shadow: 0 -40px 90px rgba(0,0,0,0.65); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
/* chapter rail: where you are on the page */
.rail { position: fixed; left: max(22px, env(safe-area-inset-left, 0px)); top: 50%; transform: translateY(-50%); z-index: 30; display: flex; flex-direction: column; gap: 14px; opacity: 0; pointer-events: none; transition: opacity .5s; }
.rail.is-on { opacity: 1; pointer-events: auto; }
.rail a { display: flex; align-items: center; gap: 10px; text-decoration: none; color: rgba(255,255,255,0.4); font-family: var(--n-label); font-size: 11px; letter-spacing: 0.16em; }
.rail a::before { content: ""; width: 14px; height: 1px; background: currentColor; transition: width .35s; }
.rail a span { font-family: var(--n-display); letter-spacing: 0.04em; font-size: 12px; opacity: 0; transform: translateX(-4px); transition: opacity .3s, transform .3s; }
.rail a:hover span, .rail a.cur span { opacity: 1; transform: none; }
.rail a.cur { color: var(--n-fg); }
.rail a.cur::before { width: 30px; background: var(--n-sun); }
@media (max-width: 1600px) { .rail { display: none; } }
/* a giant outlined word drifting sideways as you scroll */
.bigword { overflow: hidden; padding-block: clamp(40px, 6vw, 80px) 0; pointer-events: none; }
.bigword span { display: block; white-space: nowrap; font-family: var(--n-latin); font-weight: 600; font-size: clamp(90px, 15vw, 230px); line-height: 1; letter-spacing: 0.02em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.13); will-change: transform; }
/* section numbers next to the headings */
[data-ch] .explore-head h2::before, [data-ch] .n-mission-text h2::before, [data-ch] .starsky-text .label::before, [data-ch] .about-text .label::before { counter-reset: none; }
.explore-head .chno { flex-basis: 100%; margin-bottom: -10px; }
.n-mission-text .chno { margin-bottom: -10px; }
.chno { display: block; font-family: var(--n-label); font-weight: 600; font-size: 12px; letter-spacing: 0.22em; color: var(--n-sun); margin-bottom: 14px; }

/* Kazakhstan: the flag, the anthem, the symbols and the land */
.kz { border-top: 1px solid var(--n-line); }
.flagstage { position: relative; height: min(88vh, 860px); min-height: 520px; overflow: hidden; isolation: isolate; background: #00799a; }
.flagstage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: -2; }
.flagstage::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(3,5,10,0.6) 0%, rgba(3,5,10,0) 50%), linear-gradient(180deg, rgba(3,5,10,0.55) 0%, rgba(3,5,10,0) 22%, rgba(3,5,10,0) 45%, rgba(3,5,10,0.92) 100%); }
.flagstage .wrap { position: absolute; left: max(24px, env(safe-area-inset-left, 0px)); right: max(24px, env(safe-area-inset-right, 0px)); bottom: 0; padding-block: 0 130px; display: flex; flex-direction: column; gap: 20px; }
.flagstage h2 { font-size: clamp(34px, 5vw, 68px); line-height: 1.15; max-width: 13em; }
.flagstage p { font-family: var(--n-display); font-weight: 300; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.8; color: #e3e6ea; max-width: 34em; }
.kzname { font-family: var(--n-latin); font-weight: 500; letter-spacing: 0.3em; font-size: 13px; color: #fff; }
.anthem { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 4px; }
.anthem button { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 22px 0 16px; border: 0; background: #f5c518; color: #0b0d12; cursor: pointer; font-family: var(--n-display); font-weight: 500; font-size: 15px; }
.anthem button svg { width: 18px; height: 18px; }
.anthem .meta { display: flex; flex-direction: column; gap: 6px; min-width: 200px; flex: 1 1 220px; max-width: 360px; }
.anthem .meta span { font-family: var(--n-label); font-size: 12px; letter-spacing: 0.12em; color: rgba(255,255,255,0.75); }
.anthem .track { height: 2px; background: rgba(255,255,255,0.22); position: relative; }
.anthem .track i { position: absolute; inset: 0 auto 0 0; width: 0; background: #f5c518; }
.kzfacts { position: relative; z-index: 2; margin-top: -78px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 0 28px; background: rgba(8,12,22,0.72); border: 1px solid rgba(255,255,255,0.14); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); box-shadow: 0 30px 80px rgba(0,0,0,0.5); }
.kzfacts div { padding: 32px 24px 32px 0; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.kzfacts div + div { padding-left: 24px; border-left: 1px solid var(--n-line); }
.kzfacts b { font-family: var(--n-latin); font-weight: 300; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.05; font-variant-numeric: tabular-nums; }
.kzfacts b small { font-size: 0.42em; margin-left: 4px; color: var(--n-soft); }
.kzfacts span { font-family: var(--n-display); font-size: 14px; color: var(--n-mute); }
.symbols { padding-block: clamp(72px, 9vw, 120px) 0; }
.sym-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.sym { background: var(--n-panel); border: 1px solid var(--n-line); display: flex; flex-direction: column; min-width: 0; }
.sym .pic { aspect-ratio: 4 / 3; overflow: hidden; display: grid; place-items: center; background: #070a12; }
.sym .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.6,.2,1); }
.sym:hover .pic img { transform: scale(1.04); }
.sym .pic.fit img { width: 72%; height: 72%; object-fit: contain; }
.sym .pic.flagcrop img { width: 86%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; box-shadow: 0 10px 40px rgba(0,0,0,.45); }
.sym:hover .pic.flagcrop img { transform: scale(1.03); }
.sym .txt { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; }
.sym h3 { font-size: 22px; }
.sym h3 small { font-family: var(--n-latin); font-weight: 400; font-size: 14px; color: var(--n-mute); margin-left: 8px; letter-spacing: 0.04em; }
.sym p { font-family: var(--n-display); font-weight: 300; font-size: 15px; line-height: 1.75; color: var(--n-soft); }
.land { padding-block: clamp(72px, 9vw, 120px) clamp(96px, 12vw, 160px); }
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 34%); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.25) transparent; }
.strip figure { margin: 0; scroll-snap-align: start; position: relative; aspect-ratio: 3 / 4; overflow: hidden; isolation: isolate; }
.strip figure.wide { grid-column: span 2; aspect-ratio: auto; }
.strip img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s cubic-bezier(.2,.6,.2,1); }
.strip figure:hover img { transform: scale(1.04); }
.strip figure::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.78) 100%); }
.strip figcaption { position: absolute; left: 22px; right: 22px; bottom: 20px; display: flex; flex-direction: column; gap: 4px; }
.strip figcaption b { font-family: var(--n-display); font-weight: 700; font-size: 22px; }
.strip figcaption span { font-family: var(--n-latin); font-size: 13px; letter-spacing: 0.08em; color: rgba(255,255,255,0.75); }
.strip figcaption em { font-style: normal; font-family: var(--n-label); font-size: 10.5px; letter-spacing: 0.04em; color: rgba(255,255,255,0.5); }
@media (max-width: 860px) {
  .flagstage::after { background: linear-gradient(180deg, rgba(3,5,10,0.5) 0%, rgba(3,5,10,0) 18%, rgba(3,5,10,0.35) 40%, rgba(3,5,10,0.94) 100%); }
  .kzfacts { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: -48px; padding: 0 18px; }
  .flagstage .wrap { padding-block: 0 90px; }
  .kzfacts div, .kzfacts div + div { padding: 22px 0; border-left: 0; }
  .kzfacts div:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--n-line); }
  .kzfacts div:nth-child(n+3) { border-top: 1px solid var(--n-line); }
  .sym-grid { grid-template-columns: minmax(0, 1fr); }
  .strip { grid-auto-columns: 78%; }
  .strip figure.wide { grid-column: span 1; aspect-ratio: 3 / 4; }
}

/* full-bleed band */
.band { position: relative; min-height: min(86vh, 860px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.band > img { position: absolute; left: 0; top: -9%; width: 100%; height: 118%; object-fit: cover; z-index: -2; will-change: transform; }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.28) 45%, rgba(0,0,0,0) 70%); }
.band .wrap { width: 100%; padding-block: 0 80px; display: flex; flex-direction: column; gap: 22px; }
.band h2 { font-size: clamp(32px, 4.4vw, 60px); line-height: 1.2; max-width: 14em; }
.band p { font-family: var(--n-display); font-weight: 300; font-size: 18px; line-height: 1.8; color: var(--n-soft); max-width: 30em; }
.band .credit { position: absolute; right: max(24px, env(safe-area-inset-right, 0px)); bottom: 18px; }

/* tiles */
.explore { padding-block: clamp(96px, 12vw, 160px); }
.explore-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 40px; }
.explore-head h2 { font-size: clamp(30px, 3.6vw, 48px); }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(300px, 1fr)); gap: 14px; }
.tile { position: relative; display: flex; align-items: flex-end; min-height: 300px; overflow: hidden; isolation: isolate; text-decoration: none; background: var(--n-panel); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s cubic-bezier(.2,.6,.2,1); }
.tile:hover img { transform: scale(1.04); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.8) 100%); }
.tile-in { padding: 30px; display: flex; flex-direction: column; gap: 10px; }
.tile h3 { font-size: clamp(22px, 2.2vw, 30px); }
.tile p { font-family: var(--n-display); font-weight: 300; font-size: 15.5px; color: var(--n-soft); max-width: 26em; }
.tile.tall { grid-row: span 2; }
.tile .label { color: rgba(255,255,255,0.8); }
.tile-side { display: grid; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 14px; grid-row: span 2; }
.tile-side > .split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }

/* about */
.about { border-top: 1px solid var(--n-line); padding-block: clamp(96px, 12vw, 160px); }
.about .wrap { display: flex; flex-wrap: wrap; gap: clamp(40px, 7vw, 100px); align-items: center; }
.about figure { flex: 1 1 420px; min-width: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.about figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about-text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.about-text h2 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.25; }
.about-text p { font-family: var(--n-display); font-weight: 300; font-size: 18px; line-height: 1.85; color: var(--n-soft); max-width: 32em; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--n-line); margin: 6px 0 0; }
.facts div { padding: 16px 0; border-bottom: 1px solid var(--n-line); }
.facts dt { font-family: var(--n-label); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--n-mute); }
.facts dd { margin: 4px 0 0; font-family: var(--n-display); font-size: 16px; }

/* finale: one last full screen before the footer */
.finale { position: relative; min-height: min(92vh, 900px); display: flex; align-items: center; overflow: hidden; isolation: isolate; border-top: 1px solid var(--n-line); }
.finale > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 60%; z-index: -2; opacity: 0.85; }
.finale::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(3,5,10,0.85) 0%, rgba(3,5,10,0.3) 60%, rgba(3,5,10,0.1) 100%), linear-gradient(180deg, var(--n-ink) 0%, rgba(3,5,10,0) 25%, rgba(3,5,10,0) 75%, var(--n-ink) 100%); }
.finale > .gut { width: 100%; }
.finale .wrap { display: flex; flex-direction: column; gap: 24px; }
.finale h2 { font-size: clamp(48px, 8vw, 120px); line-height: 1.05; letter-spacing: -0.01em; }
.finale p { font-family: var(--n-display); font-weight: 300; font-size: 19px; color: var(--n-soft); max-width: 30em; }

/* work: things I built */
.work { padding-block: 0 clamp(96px, 12vw, 160px); }
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.wcard { display: flex; flex-direction: column; text-decoration: none; background: var(--n-panel); border: 1px solid var(--n-line); transition: border-color .3s; }
.wcard:hover { border-color: rgba(255,255,255,0.4); }
.wcard .pic { aspect-ratio: 4 / 3; overflow: hidden; background: #05070b; }
.wcard .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.6,.2,1); }
.wcard:hover .pic img { transform: scale(1.04); }
.wcard .txt { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; }
.wcard h3 { font-size: 22px; }
.wcard p { font-family: var(--n-display); font-weight: 300; font-size: 15px; line-height: 1.7; color: var(--n-soft); }
.games { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding: 22px 24px; border: 1px solid var(--n-line); background: var(--n-panel); }
.games .label { flex: none; }
.games ul { flex: 1 1 400px; display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 0; padding: 0; list-style: none; }
.games li a { font-family: var(--n-display); font-size: 15px; text-decoration: none; color: var(--n-fg); border-bottom: 1px solid transparent; transition: border-color .2s; }
.games li a:hover { border-bottom-color: var(--n-fg); }

/* overlays for the easter eggs */
.fx { position: fixed; inset: 0; z-index: 70; pointer-events: none; }
.fx canvas { width: 100%; height: 100%; display: block; }
.fxnum { position: fixed; inset: 0; z-index: 3001; background: rgba(3,5,10,0.9); display: grid; place-items: center; pointer-events: none; font-family: var(--n-latin); font-weight: 300; font-size: clamp(120px, 24vw, 320px); color: #fff; text-shadow: 0 0 60px rgba(255,179,92,0.4); font-variant-numeric: tabular-nums; }
.zg-cover { position: fixed; inset: 0; z-index: 2995; cursor: grab; touch-action: none; }
.zg-cover:active { cursor: grabbing; }
.zg-bar { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 2996; color: var(--n-fg); display: flex; align-items: center; gap: 16px; padding: 10px 10px 10px 20px; background: rgba(10,11,13,0.92); border: 1px solid var(--n-line); font-family: var(--n-display); font-size: 14px; white-space: nowrap; }
.dipper { position: fixed; inset: 0; z-index: 2998; display: grid; place-items: center; background: rgba(0,0,0,0.55); cursor: pointer; transition: opacity .6s; }
.dipper svg { width: min(1000px, 94vw); height: auto; }
.dipper .ln { stroke: rgba(255,255,255,0.75); stroke-width: 1.4; fill: none; stroke-dasharray: 1600; stroke-dashoffset: 1600; animation: draw 2.4s .3s ease forwards; }
.dipper .pt { stroke: rgba(255,179,92,0.8); stroke-width: 1.2; stroke-dasharray: 5 7; fill: none; opacity: 0; animation: fade .8s 2.2s forwards; }
.dipper .st { fill: #fff; }
.dipper text { fill: #fff; font-family: 'Barlow', 'Noto Sans SC', sans-serif; }
.dipper .t2 { fill: var(--n-soft); }
.dipper .lab { opacity: 0; animation: fade .9s 1.8s forwards; }
.dipper .lab2 { opacity: 0; animation: fade .9s 2.7s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
.film { position: fixed; inset: 0; z-index: 3000; background: #000; opacity: 0; transition: opacity .7s ease; display: grid; place-items: center; }
.film.is-on { opacity: 1; }
.film video { width: 100%; height: 100%; object-fit: cover; object-position: 58% 60%; }
.film-bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 18px max(20px, env(safe-area-inset-right, 0px)) calc(18px + env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px)); background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.7)); font-family: var(--n-label); font-size: 12px; letter-spacing: 0.1em; color: rgba(255,255,255,0.75); }
.film-bar > span:last-child { display: flex; gap: 8px; }
.film-bar button { color: #fff; min-height: 40px; padding: 0 14px; border: 1px solid rgba(255,255,255,0.35); background: rgba(0,0,0,0.4); cursor: pointer; font-family: var(--n-label); font-size: 12px; letter-spacing: 0.12em; }
.film-bar .x { width: 40px; padding: 0; font-size: 20px; }
.n-shake { animation: shake .5s linear 6; }
@keyframes shake { 0%,100% { transform: translate(0,0); } 25% { transform: translate(2px,-1px); } 50% { transform: translate(-2px,1px); } 75% { transform: translate(1px,2px); } }

/* rise-in: the page is complete at rest; sections only lift a little as they arrive */
.rise { transition: transform 1s cubic-bezier(.2,.6,.2,1); }
.rise.low { transform: translateY(28px); }

@media (max-width: 860px) {
  .work-grid { grid-template-columns: minmax(0, 1fr); }
  .tiles { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .tile.tall { grid-row: auto; min-height: 520px; }
  .tile-side { grid-row: auto; grid-template-rows: none; }
  .tile-side > .split { grid-template-columns: minmax(0, 1fr); }
  .cap .wrap { padding-block: 0 56px; }
  .band .wrap { padding-block: 0 64px; }
  .band::after { background: linear-gradient(180deg, rgba(0,0,0,0) 20%, rgba(0,0,0,0.8) 100%); }
  .hud { top: calc(80px + env(safe-area-inset-top, 0px)); }
  .shotcredit { display: none; }
}
@media (max-width: 600px) {
  .cap h1 { font-size: 29px; }
  .cap h2 { font-size: 30px; }
  .band h2, .about-text h2, .starsky-text h2, .explore-head h2 { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .rise, .rise.low { transform: none; transition: none; }
  .tile img { transition: none; }
  .live i, .orb { animation: none; }
}
html[lang="zh"] .nh h1, html[lang="zh"] .nh h2, html[lang="zh"] .nh h3, html[lang="zh"] .nh p { word-break: normal; line-break: strict; }
.more-links { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 22px; font-family: var(--n-label); font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; }
.more-links a { color: var(--n-soft); text-decoration: none; border-bottom: 1px solid transparent; padding-bottom: 4px; transition: color .2s, border-color .2s; }
.more-links a:hover { color: var(--n-fg); border-bottom-color: var(--n-fg); }
.explore-head a.label { text-decoration: none; }
.explore-head a.label:hover { color: var(--n-fg); }
/* the old full-screen star canvas stays as the page background; the hero covers it */
.herowrap { margin-top: 0; }

.flagstage .wrap { text-shadow: 0 1px 14px rgba(0,0,0,0.45); }
/* long languages: a calmer headline so it stays within the first screen */
html:not([lang="zh"]) .cap h1 { font-size: clamp(30px, 4.3vw, 62px); line-height: 1.12; }
html:not([lang="zh"]) .cap .inner { max-width: 880px; }
html[lang="kk"] .cap h1 { font-size: clamp(28px, 3.9vw, 56px); }
@media (max-width: 600px) { html:not([lang="zh"]) .cap h1 { font-size: 27px; } html[lang="kk"] .cap h1 { font-size: 25px; } }
@media (max-width: 860px) { .cap .wrap { padding-block: 0 72px; } }
/* hero legibility: the exhaust can be almost white, so the words get their own shade */
.shade { background:
  radial-gradient(90% 70% at 0% 100%, rgba(0,0,0,0.78), rgba(0,0,0,0) 72%),
  radial-gradient(45% 35% at 100% 0%, rgba(0,0,0,0.55), rgba(0,0,0,0) 80%),
  linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,0) 38%, rgba(0,0,0,0.88) 100%); }
.cap .inner, .hud { text-shadow: 0 1px 2px rgba(0,0,0,0.55), 0 2px 22px rgba(0,0,0,0.65); }
.cap p { color: #e6e8eb; }
@media (max-width: 860px) {
  .shade { background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 20%, rgba(0,0,0,0.1) 30%, rgba(0,0,0,0.82) 58%, rgba(0,0,0,0.94) 100%); }
  .hud em { display: none; }
  .cta { gap: 10px; }
  .cta .n-btn { min-height: 44px; padding: 0 18px; font-size: 12px; letter-spacing: 0.12em; }
  .sound { min-height: 30px; font-size: 10px; border-color: rgba(255,255,255,0.25); }
}

/* the hero count: big while it counts down, small once the clock runs */
.hud b { transition: font-size .5s ease; }
.hud b.counting { font-size: clamp(56px, 7.5vw, 108px); font-weight: 400; color: #fff; }
.sound.hint { animation: sndHint 2.4s ease-in-out 3; border-color: var(--n-sun); color: #fff; }
@keyframes sndHint { 0%, 100% { box-shadow: 0 0 0 0 rgba(245,197,24,0); } 40% { box-shadow: 0 0 0 7px rgba(245,197,24,.22); } }
@media (max-width: 760px) { .hud b.counting { font-size: 58px; } }
@media (max-width: 480px) { html[lang="zh"] .nw { white-space: normal; } }
