/* Narendra Adi Wicaksana · portfolio
   The monument (giant name over footage) + the pinned poster (serif titles, pinned playing clips).
   Every chapter carries its own project's accent. */

:root {
  --black: #0a0a0a;
  --paper: #f4f1ea;
  --red: #ff3b2f;
  --acc: #ff3b2f;
  --sans: Montserrat, "Segoe UI", system-ui, sans-serif;
  --serif: "Instrument Serif", "Times New Roman", Georgia, serif;
  --mono: "JetBrains Mono", Consolas, ui-monospace, monospace;
  --gut: max(20px, 5vw);
  /* shape scale: boxy (0) for prints, footage and colour fields; 16 small panels; 24 floating cards; pill for bars, buttons and tags; circle for dots */
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;
  /* liquid glass: a dark tint so white text reads over any frame, a lit top edge, a soft inner glow */
  --glass-bg: rgba(14, 14, 14, .6);
  --glass-edge: rgba(255, 255, 255, .22);
  --glass-fx: blur(18px) saturate(1.7);
  --glass-shine: inset 0 1px 0 rgba(255, 255, 255, .32), inset 0 -1px 0 rgba(255, 255, 255, .06), inset 0 0 22px rgba(255, 255, 255, .06), 0 10px 30px rgba(0, 0, 0, .22);
  --title: clamp(76px, 13.6vw, 230px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html:has(dialog[open]) { overflow: hidden; }
[id] { scroll-margin-top: 0; }
.hold-on .strip-track, .hold-on .tickers, .hold-on .rec { animation-play-state: paused; }
body { margin: 0; background: var(--black); color: var(--paper); font: 500 18px/1.55 var(--sans); overflow-x: hidden; }
img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ol, ul, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--acc); outline-offset: 3px; }
::selection { background: var(--acc); color: var(--black); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 50; background: var(--paper); color: var(--black); padding: 10px 14px; font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------- nav + HUD ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 30;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: calc(22px + env(safe-area-inset-top, 0px)) var(--gut) 22px;
  color: #fff; pointer-events: none;
  font-weight: 700; font-size: 16px; letter-spacing: .01em;
}
.nav > * { pointer-events: auto; background: var(--black); padding: 10px 14px; }
.nav a { text-decoration: none; }
.nav nav { display: flex; gap: clamp(16px, 2.4vw, 34px); }
.nav nav a:hover { text-decoration: underline; text-underline-offset: 5px; }

.hud {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; pointer-events: none;
  display: flex; justify-content: space-between; gap: 12px;
  padding: 0 var(--gut) calc(18px + env(safe-area-inset-bottom, 0px));
  font: 500 14px/1 var(--mono); letter-spacing: .06em; color: #fff;
}
.hud > span { background: var(--black); padding: 9px 12px; white-space: nowrap; display: flex; align-items: center; gap: 12px; }
.hold-i { font-size: 10px; margin-right: 6px; color: var(--acc); }
.hold[aria-pressed="true"] .hold-i { letter-spacing: -2px; }
.hold { pointer-events: auto; background: none; border: 0; padding: 0 0 0 12px; border-left: 1px solid #444; font: 700 14px/1 var(--sans); letter-spacing: 0; color: #fff; text-decoration: underline; text-underline-offset: 3px; min-height: 24px; }
.rec { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 12px var(--acc); margin-right: 9px; vertical-align: -1px; transition: background .4s, box-shadow .4s; animation: blink 1.2s steps(2, jump-none) infinite; }
@keyframes blink { 50% { opacity: .25; } }
.hud-r #tc { color: var(--acc); transition: color .4s; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px;
  padding: 13px 22px; border: 2px solid transparent;
  font: 700 16px/1 var(--sans); letter-spacing: .01em; text-decoration: none;
  transition: transform .2s, background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-solid { background: var(--ink, var(--paper)); color: var(--bg, var(--black)); }
.btn-line { background: transparent; border-color: currentColor; }
.btn-ink { background: var(--black); color: var(--paper); }

/* ---------- pinned clips ---------- */
.pin {
  position: relative; background: #fff; padding: clamp(5px, .55vw, 9px);
  transform: rotate(var(--r, 0deg)) translateZ(0);
  backface-visibility: hidden; will-change: transform; outline: 1px solid transparent;
  box-shadow: 0 24px 50px rgba(0, 0, 0, .32), 0 4px 10px rgba(0, 0, 0, .18);
  transition: transform .45s cubic-bezier(.2, .8, .2, 1);
}
.pin:hover { transform: rotate(0deg) scale(1.03) translateZ(0); z-index: 5; }
.pin video, .pin img { transform: translateZ(0); backface-visibility: hidden; width: 100%; aspect-ratio: var(--ar, 16 / 9); object-fit: cover; object-position: var(--pos, center); background: #222; }
.pin figcaption { color: #151515; font: 700 14px/1.3 var(--sans); letter-spacing: .04em; padding: 8px 2px 1px; }
.pins > .pin { position: absolute; left: var(--x); top: var(--y); width: var(--w); }
/* the little live tag on every playing clip */
.pin::after {
  content: "● PLAYING"; position: absolute; top: calc(clamp(5px, .55vw, 9px) + 8px); right: calc(clamp(5px, .55vw, 9px) + 8px);
  font: 500 13px/1 var(--mono); letter-spacing: .04em; color: #fff; background: rgba(0, 0, 0, .7); padding: 5px 7px;
  opacity: 0; transition: opacity .3s;
}
.pin.on::after { opacity: 1; }
/* a drawn (antialiased) white edge over the video edge, which Chrome leaves stair-stepped when rotated */
.pin::before { content: ""; position: absolute; inset: calc(clamp(5px, .55vw, 9px) - 1px); bottom: auto; aspect-ratio: var(--ar, 16 / 9); width: calc(100% - 2 * clamp(5px, .55vw, 9px) + 2px); box-shadow: inset 0 0 0 2px #fff; z-index: 2; pointer-events: none; }
.pin.paused::after { content: "▶ TAP TO PLAY"; opacity: 1; }

/* ---------- hero: the monument ---------- */
.hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden; background: var(--black); --ink: var(--paper); --bg: var(--black); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(1.15) contrast(1.08) brightness(.62); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,.55), transparent 28%, transparent 50%, rgba(10,10,10,.85) 82%, var(--black)); }
.giant {
  position: absolute; left: calc(var(--gut) - .06em); right: 0; bottom: calc(14px + env(safe-area-inset-bottom, 0px) + 40px);
  font: 900 15.4vw/.8 var(--sans); letter-spacing: -.05em; white-space: nowrap; color: var(--paper);
}
.hero-copy { position: absolute; left: var(--gut); right: var(--gut); bottom: calc(15.4vw * .8 + 96px); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 22px 40px; }
.hero-role { background: var(--black); padding: 14px 18px; font-size: clamp(22px, 2.3vw, 34px); font-weight: 700; line-height: 1.2; max-width: 21em; letter-spacing: -.01em; }
.hero-role b { color: var(--red); font-weight: 800; }
.hero-act { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .btn-solid { background: var(--red); color: var(--black); }
.hero .btn-line { background: var(--black); border-color: var(--black); color: #fff; }
.now { position: absolute; right: var(--gut); top: 108px; display: flex; gap: 20px; align-items: center; text-decoration: none; max-width: 470px; }
.now-pin { width: clamp(130px, 13vw, 200px); flex: none; --ar: 4 / 5; --pos: 58% 50%; }
.now-txt { display: grid; gap: 8px; background: var(--black); padding: 16px 18px; }
.now-txt small { font: 800 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.now-txt strong { font: 800 clamp(24px, 2.2vw, 32px)/1.05 var(--sans); letter-spacing: -.01em; }
.now-txt span { font-size: 16px; font-weight: 700; color: #ff7a70; }
.now:hover .now-txt span { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- reel strip + index ---------- */
.reel { background: var(--black); padding: 70px 0 90px; overflow: hidden; }
.strip { overflow: hidden; }
.strip-track { display: flex; gap: 14px; width: max-content; padding: 10px 0; animation: pan 70s linear infinite alternate; }
.strip-track video { height: clamp(170px, 30vh, 300px); width: auto; aspect-ratio: 16 / 9; object-fit: cover; background: #1b1b1b; }
.strip-track video.v { aspect-ratio: 9 / 16; }
/* no tilt here: a rotated bare video gets stair-stepped edges in Chrome */
.strip-track video:nth-child(even) { transform: translateY(18px); }
.strip-track { padding-bottom: 28px; }
@keyframes pan { to { transform: translateX(calc(-100% + 100vw)); } }
.index { padding: 70px var(--gut) 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 2vw; }
.index-h { grid-column: 1 / 5; font: 400 clamp(44px, 5.4vw, 84px)/.95 var(--serif); letter-spacing: -.02em; padding-bottom: 30px; }
.index-list { grid-column: 5 / 13; counter-reset: x; }
.index-list a {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px;
  padding: 14px 0 14px 18px; text-decoration: none; position: relative;
  font: 800 clamp(24px, 3vw, 46px)/1.1 var(--sans); letter-spacing: -.02em; transition: color .2s, padding .3s;
}
.index-list a::before { content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 8px; margin-top: -4px; background: var(--c); }
.index-list a em { font: italic 400 clamp(20px, 2.2vw, 32px)/1 var(--serif); letter-spacing: 0; color: var(--paper); opacity: .78; }
.index-list a:hover { color: var(--c); padding-left: 30px; }

/* ---------- chapter: the pinned poster ---------- */
.ch {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto auto 1fr auto auto; gap: 0 2vw;
  min-height: 100svh; padding: 112px var(--gut) 110px;
  background: var(--bg); color: var(--ink);
}
.chip { grid-row: 1; grid-column: 1 / -1; font: 800 13px/1.3 var(--sans); letter-spacing: .15em; text-transform: uppercase; color: var(--acc2, var(--acc)); position: relative; z-index: 4; }
.ttl {
  grid-row: 2 / 5; grid-column: 1 / -1; position: relative; z-index: 3; pointer-events: none;
  display: flex; flex-direction: column; justify-content: space-between; gap: 30px;
  font: 400 var(--title)/.8 var(--serif); letter-spacing: -.025em; padding-top: 24px;
}
.ttl em { font-style: italic; color: var(--acc2, var(--acc)); }
.t2 { align-self: flex-end; text-align: right; }
.pins { grid-row: 2 / 5; grid-column: 4 / 11; position: relative; min-height: min(74vh, 760px); z-index: 1; margin-top: 40px; }
.side { grid-row: 3; grid-column: 10 / 13; align-self: center; position: relative; z-index: 4; font-weight: 700; font-size: 19px; line-height: 1.3; display: grid; gap: 14px; padding: 18px 0; }
.side li { display: block; }
.side li::before { content: ""; display: inline-block; width: 9px; height: 9px; background: var(--acc2, var(--acc)); margin-right: 12px; }
.flights li { position: relative; padding-left: 3.8em; }
.flights li::before { display: none; }
.flights li span { position: absolute; left: 0; top: 1px; }
.side span { font: 600 15px/1.4 var(--mono); color: var(--acc2, var(--acc)); }
.cap .role-line, .role-line { font-size: 18px; font-weight: 600; }
.role-line b { font-weight: 800; color: var(--acc2, var(--acc)); }
.cap { grid-row: 4; grid-column: 1 / 5; align-self: end; position: relative; z-index: 4; display: grid; gap: 20px; justify-items: start; margin-top: 28px; }
.cap p { font-size: 19px; line-height: 1.5; font-weight: 600; max-width: 28em; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 26px; font-weight: 700; font-size: 17px; }
.facts b { font: 900 clamp(30px, 3vw, 44px)/1 var(--sans); letter-spacing: -.03em; color: var(--acc2, var(--acc)); margin-right: 4px; }

@media (min-width: 1025px) {
  .cap, .side { background: var(--bg); padding: 18px 20px 18px 0; }
  .side { padding: 18px 0 18px 20px; }
}

/* 01 safety: paper, signal red, the film's green */
.ch-safety { --bg: #ece6d8; --ink: #121212; --acc: #ff3b2f; --acc2: #b81f15; }
.ch-safety .ttl em { color: #0a7653; }
.ch-safety .side { border-top: 3px solid #121212; }
.ch-safety .pins { grid-column: 5 / 11; min-height: min(80vh, 820px); }
.ch-safety .side { grid-column: 11 / 13; }

/* 02 teknologi.id: electric blue field */
.ch-tek { --bg: #2f45ff; --ink: #fff; --acc: #fff; --acc2: #d7ff3a; }
.ch-tek .pins { grid-row: 3 / 5; grid-column: 6 / 13; margin-top: 10px; min-height: min(80vh, 800px); }
.ch-tek .ttl { grid-row: 2; font-size: clamp(64px, 10vw, 170px); }
.ch-tek .big { grid-row: 3 / 5; grid-column: 1 / 6; align-self: end; position: relative; z-index: 4; }
.ch-tek .big > b { display: block; font: 900 clamp(110px, 14vw, 230px)/.8 var(--sans); letter-spacing: -.06em; color: #d7ff3a; }
.ch-tek .big .role-line { margin-top: 20px; }
.ch-tek .big .role-line b { color: #d7ff3a; }
.ch-tek .big span { display: block; max-width: 24em; margin-top: 18px; font-size: 20px; font-weight: 700; }
.ch-tek .cap { grid-row: 5; grid-column: 1 / -1; }
.cap-h { font: 800 18px/1.2 var(--sans) !important; color: #d7ff3a; }
.watch-row { display: flex; flex-wrap: wrap; gap: 10px; }
.ch-tek .btn-solid { background: #d7ff3a; color: #111; }
.ch-safety .btn-solid { background: #b81f15; color: #fff; }
.ch-learn .btn-solid { background: #07665b; color: #fff; }
.tickers { grid-row: 6; grid-column: 1 / -1; margin: 40px calc(var(--gut) * -1) -60px; display: flex; gap: 40px; white-space: nowrap; width: max-content; font: 800 clamp(28px, 3vw, 44px)/1 var(--sans); letter-spacing: -.02em; color: rgba(255, 255, 255, .28); animation: tick 40s linear infinite; }
.tickers span::after { content: "✦"; margin-left: 40px; color: #d7ff3a; }
@keyframes tick { to { transform: translateX(-50%); } }

/* 03 learning: surgical mint and teal */
.ch-learn { --bg: #dff3ef; --ink: #062b28; --acc: #19c3b1; --acc2: #07665b; }

.ch-learn .pins { grid-column: 5 / 13; min-height: min(80vh, 820px); }

/* 04 aletra: lime on forest */
.ch-aletra { --bg: #0f1f14; --ink: #eef5e4; --acc: #b5e61d; }
.ch-aletra .pins { grid-column: 3 / 13; min-height: min(84vh, 860px); }
.ch-aletra .btn-solid { background: #b5e61d; color: #0f1f14; }

/* 05 ceritera: a diptych, one accent per half */
.ch-dip { position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: 100svh; }
.dip-chip-unused { position: absolute; left: 50%; top: 104px; transform: translateX(-50%); z-index: 4; background: var(--black); color: #ffc927; padding: 9px 14px; white-space: nowrap; }
.dip { display: flex; flex-direction: column; gap: 22px; padding: 130px clamp(20px, 4vw, 64px) 120px; background: var(--bg); color: var(--ink); }
.dip .ttl { font-size: clamp(64px, 8.6vw, 150px); display: block; padding: 0; pointer-events: auto; }
.dip p { font-size: 19px; font-weight: 600; max-width: 28em; }
.dip-kidz { --bg: #ffc927; --ink: #1a1405; --acc: #ff4fa3; --acc2: #d81b7a; }
.dip-ancol { --bg: #0b3d6b; --ink: #f4f1ea; --acc: #ff8a3d; }
.dip-ancol .ttl { text-align: right; }
.yt-link { font-weight: 800; font-size: 17px; text-underline-offset: 5px; }
.yt { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #111 center / cover; }
.yt.live { background-image: none !important; background-color: #000; }
.yt iframe { position: absolute; left: -18%; top: -18%; width: 136%; height: 136%; max-width: none; border: 0; pointer-events: none; }
.yt-pin { width: 100%; }

/* 06 air: amber over footage */
.ch-air { --bg: #0c0b09; --ink: #f6efe2; --acc: #ffb020; }
.air-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .22; z-index: 0; }
.ch-air .side { font-size: 18px; grid-row: 3 / 5; grid-column: 1 / 5; align-self: end; background: var(--bg); padding: 18px 20px; }
.ch-air .pins { grid-column: 5 / 13; min-height: min(80vh, 820px); }

/* ---------- about ---------- */
.about {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 60px 2vw;
  padding: 130px var(--gut) 120px; background: var(--black); color: var(--paper); --acc: #f4f1ea;
}
.about-pin { grid-column: 1 / 5; align-self: start; --ar: 4 / 5; --pos: 50% 22%; }
.about-txt { grid-column: 6 / 13; display: grid; gap: 28px; justify-items: start; }
.about .ttl { display: block; grid-row: auto; font-size: var(--title); padding: 0; }
.lede { font: 600 clamp(22px, 2.1vw, 30px)/1.35 var(--sans); letter-spacing: -.01em; max-width: 26em; }
.about-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 30px; font-size: 19px; font-weight: 600; }
.about-facts li::before { content: "● "; color: var(--red); }
.about .btn-solid { background: var(--paper); color: var(--black); }
.about-txt > .btn { align-self: start; justify-self: start; }
.career { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 2vw; }
.career h3 { grid-column: 1 / 5; font: 400 clamp(44px, 5vw, 76px)/.95 var(--serif); }
.career ol { grid-column: 5 / 13; columns: 2; column-gap: 3vw; }
.career li { break-inside: avoid; position: relative; padding: 0 0 22px 5.6em; font-size: 18px; }
.career li span { position: absolute; left: 0; top: 2px; font: 600 15px/1.6 var(--mono); color: var(--red); }
.career li b { display: block; font-weight: 800; }

/* ---------- contact ---------- */
.contact { position: relative; overflow: hidden; background: var(--red); color: var(--black); padding: 130px var(--gut) 120px; min-height: 92svh; display: flex; flex-direction: column; justify-content: center; gap: 24px; --acc: var(--black); }
.contact-bg { position: absolute; inset: 0; width: 100%; height: 130%; object-fit: cover; object-position: center top; mix-blend-mode: multiply; opacity: .18; filter: grayscale(1) contrast(1.2); }
.contact > *:not(video) { position: relative; }
.contact .chip { color: var(--black); }
.contact-h { font: 400 clamp(80px, 15vw, 260px)/.8 var(--serif); letter-spacing: -.03em; }
.contact-sub { font-size: clamp(20px, 1.9vw, 28px); font-weight: 700; }
.mail { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 10px; }
.mail-txt { font: 800 clamp(22px, 3.4vw, 52px)/1.1 var(--sans); letter-spacing: -.02em; overflow-wrap: anywhere; user-select: all; }
.foot { margin-top: auto; padding-top: 90px; display: flex; flex-wrap: wrap; gap: 10px 36px; font: 600 15px/1.4 var(--sans); letter-spacing: .06em; }

/* ---------- player ---------- */
.player { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100%; height: 100%; }
.player::backdrop { background: rgba(5, 5, 5, .92); }
.player-in { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; }
.player-t { color: var(--paper); font: 600 15px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.player video { max-height: 80vh; max-width: min(100%, 1200px); background: #000; }
.player-x { background: var(--paper); color: var(--black); border: 0; padding: 12px 20px; font-weight: 700; min-height: 44px; }


/* ---------- shapes and glass ---------- */
.glass, .nav > *, .hud > span, .now-txt, .hero-role, .ch-air .side {
  background: var(--glass-bg); border: 1px solid var(--glass-edge);
  -webkit-backdrop-filter: var(--glass-fx); backdrop-filter: var(--glass-fx);
  box-shadow: var(--glass-shine);
}
.nav > *, .hud > span { border-radius: var(--r-pill); }
.nav > * { padding-inline: 18px; }
.nav nav { gap: 6px; }
.nav nav a { padding: 4px 10px; border-radius: var(--r-pill); transition: background .2s; }
.nav nav a:hover { background: rgba(255, 255, 255, .16); text-decoration: none; }
.hud > span { padding-inline: 14px; }
.hold { border-left-color: rgba(255, 255, 255, .25); }
.now-txt, .hero-role { border-radius: var(--r-lg); }
.hero-role { padding: 18px 22px; }
.now-txt { padding: 18px 20px; }
.ch-air .side { border-radius: var(--r-md); background: rgba(12, 11, 9, .55); }
.btn, .player-x, .skip { border-radius: var(--r-pill); }
.btn { padding-inline: 24px; }
.pin::after { border-radius: var(--r-pill); padding: 5px 9px; }
.index-list a::before, .side li::before { border-radius: 50%; }
.side li::before { vertical-align: 2px; }
.strip-track video { border-radius: var(--r-md); }
.cap, .side { border-radius: var(--r-md); }
.player video { border-radius: var(--r-lg); }
.player-in { gap: 18px; }
.mail .btn-ink { padding-inline: 26px; }
@media (prefers-reduced-transparency: reduce) {
  .glass, .nav > *, .hud > span, .now-txt, .hero-role, .ch-air .side { background: var(--black); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ---------- tablet ---------- */
@media (max-width: 1080px) {
  .side { grid-column: 9 / 13; }
  .cap { grid-column: 1 / 7; }
  .index-h { grid-column: 1 / -1; }
  .index-list { grid-column: 1 / -1; }
  .career h3 { grid-column: 1 / -1; padding-bottom: 20px; }
  .career ol { grid-column: 1 / -1; }
}

/* ---------- phone ---------- */
@media (max-width: 1024px) {
  body { font-size: 17px; }
  .nav { font-size: 14px; padding-top: calc(16px + env(safe-area-inset-top, 0px)); }
  .nav > * { padding: 9px 12px; }
  .hud { font-size: 12px; letter-spacing: .02em; }
  .hud > span { padding: 8px 9px; gap: 9px; }
  .hero { min-height: 640px; }
  .giant { font-size: 15.6vw; bottom: calc(66px + env(safe-area-inset-bottom, 0px)); }
  .hero-copy { bottom: calc(15.6vw * .8 + 96px); }
  .hero-act .btn { flex: 1 1 auto; justify-content: center; }
  .now { top: 92px; left: var(--gut); right: var(--gut); gap: 14px; }
  .now-pin { width: 104px; }
  .now-txt strong { font-size: 21px; }

  .index-list a { grid-template-columns: 2.6em 1fr; }
  .index-list a em { grid-column: 2; font-size: 19px; }

  .ch { display: flex; flex-direction: column; gap: 26px; padding: 96px var(--gut) 96px; }
  .ttl { --title: clamp(64px, 21vw, 120px); display: block; padding: 0; }
  .t1, .t2 { display: block; }
  .t2 { text-align: left; margin-top: 6px; }
  .pins { min-height: 0 !important; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 14px; padding: 8px 4px; align-items: start; }
  .pins > .pin { position: relative; left: auto; top: auto; width: auto; }
  .pins > .pin:first-child { grid-column: 1 / -1; }
  .pins > .pin:nth-child(even) { margin-top: 26px; }
  .ch-tek .pins > .pin:first-child, .ch-aletra .pins > .pin:first-child { grid-column: auto; }
  .ch-aletra .pins > .pin:last-child { display: none; }
  /* the tall presenter clip spans two rows, so two wide clips stack beside it instead of leaving a hole */
  .ch-safety .pins > .pin:nth-child(2) { grid-row: span 2; }
  .ch-safety .pins > .pin:last-child, .ch-learn .pins > .pin:nth-child(4) { grid-column: 1 / -1; }
  .ch-learn .pins > .pin:nth-child(4) { margin-top: 0; }
  .ch-air .pins > .yt-pin { grid-column: 1 / -1; order: -1; }
  .side, .cap { margin: 0; }
  .ch-tek .big > b { font-size: 34vw; }
  .tickers { margin: 10px calc(var(--gut) * -1) -50px; }

  .ch-dip { grid-template-columns: 1fr; }
  .dip-chip-unused { top: 90px; left: var(--gut); transform: none; white-space: normal; }
  .dip { padding: 100px var(--gut) 80px; }
  .dip-ancol { padding-top: 90px; }
  .dip-ancol .ttl { text-align: left; }

  .about { display: flex; flex-direction: column; gap: 40px; padding-top: 100px; }
  .about-pin { width: 78%; }
  .about-facts { grid-template-columns: 1fr; }
  .career { display: block; }
  .career ol { columns: 1; }
  .contact { min-height: 0; padding-top: 110px; }
  .foot { padding-top: 60px; }
}

/* ---------- narrow phone ---------- */
@media (max-width: 760px) {
  .nav-rest { display: none; }
  .fps, .hold-t { display: none; }
  .pins { gap: 14px 10px; }
  /* a phone shows one short card, one line of role, two buttons side by side */
  /* and keeps them together at the foot, with the footage clear above */
  .hero { display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; padding: 0 var(--gut) calc(80px + env(safe-area-inset-bottom, 0px)); }
  .hero > .now, .hero > .hero-copy, .hero > .giant { position: relative; inset: auto; margin: 0; }
  .now { gap: 10px; }
  .now-pin { width: 74px; }
  .now-txt { padding: 12px 14px; gap: 4px; }
  .now-txt strong { font-size: 18px; }
  .now-txt span { font-size: 14px; }
  .hero-role { font-size: 18px; padding: 14px 16px; }
  .hero-copy { gap: 14px; }
  .hero-act { width: 100%; flex-wrap: nowrap; gap: 8px; }
  .hero-act .btn { flex: 1 1 0; min-width: 0; padding-inline: 10px; font-size: 14px; white-space: nowrap; }
  /* the live tag is noise on a small clip */
  .pin.on::after { opacity: 0; }
}

/* ---------- reduced motion: posters, tap to play, nothing drifts ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rec, .strip-track, .tickers { animation: none; }
  .strip { overflow-x: auto; }
  .pin, .btn, .index-list a { transition: none; }
}
