/* Edinburgh Analytics, Option 8. One stylesheet, no imports.
	 Order: fonts, tokens, base, shared pieces, then the page top to bottom, then motion, then fallbacks. */

@font-face { font-family: 'Satoshi'; src: url('fonts/Satoshi-Medium-latin.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('fonts/Satoshi-Bold-latin.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('fonts/Satoshi-Black-latin.woff2') format('woff2'); font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('fonts/IBMPlexMono-Medium-latin.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
/* Size-matched fallbacks so the font swap moves nothing */
@font-face { font-family: 'Satoshi Fallback'; src: local('Helvetica Neue'), local('Arial'); font-weight: 100 800; size-adjust: 97.7%; }
@font-face { font-family: 'Satoshi Fallback'; src: local('Helvetica Neue'), local('Arial'); font-weight: 900; size-adjust: 100.9%; }

/* ---------- Tokens ---------- */
:root {
	--black: #000000;
	--frame: #0B0B0D;
	--frame-top: #1D1D22;
	--bar-solid: #0A0A0C;
	--navy: #00104E;
	--navy-2: #000A36;
	--paper: #FFFFFF;
	--paper-2: #F5F5F7;
	--card: #FFFFFF;
	--ink: #141413;
	--ink-2: #45443F;
	--muted: #5F5E58;
	--line: #E3E3E6;
	--on-dark: #F5F5F7;
	--on-dark-2: #C7C7CC;
	--on-dark-3: #A1A1A6;
	--line-dark: rgba(255, 255, 255, 0.14);
	--red: #990000;
	--red-on-dark: #FF6257;
	--bar: rgba(10, 10, 12, 0.96);
	--bar-edge: rgba(20, 20, 19, 0.12);
	--white: #FFFFFF;
	/* Tints of the colours above */
	--white-72: rgba(255, 255, 255, 0.72);
	--white-40: rgba(255, 255, 255, 0.4);
	--white-34: rgba(255, 255, 255, 0.34);
	--white-20: rgba(255, 255, 255, 0.2);
	--white-18: rgba(255, 255, 255, 0.18);
	--white-10: rgba(255, 255, 255, 0.1);
	--ink-wash: rgba(20, 20, 19, 0.03);
	--red-ring: rgba(153, 0, 0, 0.4);
	--red-halo: rgba(153, 0, 0, 0.14);
	--launch-ring: rgba(255, 98, 87, 0.5);

	--font: 'Satoshi', 'Satoshi Fallback', -apple-system, 'Helvetica Neue', Arial, sans-serif;
	--mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
	--fs-display: clamp(40px, 8vw, 88px);
	--fs-closing-small: min(10.2vw, 17svh);
	--fs-heading: clamp(32px, 4.6vw, 64px);
	--fs-title: clamp(21px, 2vw, 28px);
	--fs-lead: clamp(17px, 1.6vw, 21px);
	--fs-numeral: clamp(56px, 9vw, 120px);
	--fs-card-title: clamp(24px, 2.6vw, 36px);
	--fs-figure: clamp(40px, 4.4vw, 60px);
	--fs-row-title: clamp(22px, 2.4vw, 32px);
	--fs-menu: 22px;
	--fs-compact: 21px;
	--fs-clock: 20px;
	--fs-body: 17px;
	--fs-toggle: 16px;
	--fs-small: 15px;
	--fs-names: 15px;
	--fs-bar: 14px;
	--fs-fine: 13px;
	--fs-label: 12px;

	--section: clamp(72px, 10vw, 144px);
	--head-gap: clamp(40px, 4.5vw, 64px);
	--card-pad: clamp(24px, 2.6vw, 40px);
	--wrap: 1120px;
	--gutter: max(clamp(20px, 4vw, 32px), env(safe-area-inset-left), env(safe-area-inset-right));
	--nav-h: 56px;
	--r-tag: 6px;
	--r-inner: 12px;
	--r-card: 28px;
	--r-pill: 999px;
	--r-tv: clamp(8px, 1.2vw, 18px);
	--tv-bezel: clamp(4px, 0.5vw, 7px);

	--ease-enter: cubic-bezier(0.16, 1, 0.3, 1);
	--ease-move: cubic-bezier(0.28, 0.11, 0.32, 1);
	--ease-exit: cubic-bezier(0.4, 0, 1, 1);
	--ease-spring: cubic-bezier(0.34, 1.3, 0.64, 1);
	--ease-settle: cubic-bezier(0.2, 0.7, 0.2, 1);
	--t-press: 100ms;
	--t-hover: 150ms;
	--t-state: 300ms;
	--t-move: 450ms;
	--t-reveal: 450ms;
	--rise: 14px;
	--stagger: 40ms;
	--dwell: 6s;
}
@media (max-width: 619px) { :root { --rise: 12px; } }
@media (max-height: 699px) { :root { --t-reveal: 300ms; --stagger: 0ms; } }
/* Desktop: larger reading sizes, so the middle of the page does not read as small print */
@media (min-width: 900px) { :root { --fs-body: 18px; --fs-small: 16px; } }
@media (max-width: 400px) { :root { --fs-display: clamp(30px, 10vw, 40px); } }
/* Laptop-height screens: the headline gives way so the TV is not a thumbnail */
@media (min-width: 900px) and (max-height: 820px) { :root { --fs-display: clamp(40px, min(8vw, 8.4svh), 88px); } }
@media (min-width: 900px) and (max-height: 760px) { :root { --fs-display: clamp(36px, min(8vw, 7svh), 88px); } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--black); scroll-padding: 72px 0 16px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
body { margin: 0; background: var(--black); color: var(--ink); font: 500 var(--fs-body)/1.5 var(--font); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
h1, h2, h3, p, dl, dd, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img, picture { display: block; }
a { color: inherit; text-decoration: none; }
button { margin: 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; cursor: pointer; }
a, button { touch-action: manipulation; }
main:focus, .closing:focus { outline: none; box-shadow: none; }
/* 1px markers watched by the script: top of the page, end of the Team section */
.top-marker, .team-end { position: absolute; left: 0; width: 1px; height: 24px; pointer-events: none; }
.top-marker { top: 0; }
.team-end { bottom: 0; height: 1px; }

h1, h2, h3 { font-weight: 700; font-variant-ligatures: no-common-ligatures; text-wrap: balance; }
h1, .closing h2 { font-size: var(--fs-display); line-height: 1; letter-spacing: -0.04em; }
h2 { font-size: var(--fs-heading); line-height: 1.05; letter-spacing: -0.035em; }
h3 { font-size: var(--fs-title); line-height: 1.15; letter-spacing: -0.02em; }
p, li, dd { text-wrap: pretty; }

:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; box-shadow: 0 0 0 7px var(--ink); }

/* ---------- Shared pieces ---------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: 12px; z-index: 30; padding: 10px 16px; border-radius: var(--r-pill); background: var(--white); color: var(--ink); font-weight: 700; transform: translateY(-96px); }
.skip:focus { transform: none; }

.label, .badge, .row-story dt, .status li { font: 500 var(--fs-label)/16px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }
.lead { font-size: var(--fs-lead); line-height: 1.4; }
.live { color: var(--red-on-dark); }

.section-head { margin-bottom: var(--head-gap); color: var(--ink); }
.section-head .label { margin-bottom: 12px; color: var(--muted); }
.section-head .lead { max-width: 620px; margin-top: 16px; color: var(--ink-2); }
.section-head--centre { display: grid; justify-items: center; text-align: center; color: var(--on-dark); }
.section-head--centre .label, .section-head--centre .lead { color: var(--on-dark-3); }
.section-head--centre .lead { max-width: 560px; }

.badge { display: inline-block; margin-left: 4px; padding: 2px 6px; border-radius: var(--r-tag); box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); white-space: nowrap; vertical-align: 1px; }
.badge--current { box-shadow: inset 0 0 0 1px var(--red-ring); color: var(--red); }
.badge--launch { margin: 0; padding: 3px 8px; box-shadow: inset 0 0 0 1px var(--launch-ring); color: var(--red-on-dark); }

.text-link { display: inline-block; margin: -12px 0; padding: 12px 0; color: var(--navy); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.text-link span:not(.sr-only) { display: inline-block; white-space: pre; }

.dash-list li { position: relative; padding-left: 24px; color: var(--ink-2); }
.dash-list li + li { margin-top: 4px; }
.dash-list li::before { content: ''; position: absolute; left: 0; top: 0.75em; width: 12px; height: 2px; margin-top: -1px; background: var(--ink); }

.tick { position: relative; display: inline-block; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--navy); vertical-align: middle; }
.tick::after { content: ''; position: absolute; left: 7px; top: 4px; width: 6px; height: 10px; border: solid var(--white); border-width: 0 2px 2px 0; rotate: 45deg; }

/* The grainy glow picture is only fetched once its section is near (class set by script) */
html:not(.scripted) .glow-art, .is-near .glow-art {
	background-image: url('img/glow-board-1600.webp');
	background-image: image-set(url('img/glow-board-1600.avif') type('image/avif'), url('img/glow-board-1600.webp') type('image/webp'));
}
@media (max-width: 699px) {
	html:not(.scripted) .glow-art, .is-near .glow-art {
		background-image: url('img/glow-board-960.webp');
		background-image: image-set(url('img/glow-board-960.avif') type('image/avif'), url('img/glow-board-960.webp') type('image/webp'));
	}
}
.glow-art { position: absolute; pointer-events: none; background-repeat: no-repeat; background-size: cover; }

/* ---------- Top bar ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 20; height: var(--nav-h); color: var(--on-dark); }
/* Two layers behind the bar: the blur is always on, the dark fill fades in once the page has scrolled */
.nav::before, .nav::after { content: ''; position: absolute; inset: 0; z-index: -1; }
.nav::before { -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
.nav::after { background: var(--bar); box-shadow: inset 0 -1px 0 var(--white-10), 0 1px 0 var(--bar-edge); opacity: 0; }
.nav.is-stuck::after, .nav.is-open::after, html:not(.scripted) .nav::after { opacity: 1; }
.nav-bar { display: flex; align-items: center; height: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.nav-logo { display: flex; align-items: center; height: 44px; margin-right: auto; }
.nav-logo svg { display: block; }
.nav-links { display: flex; gap: 2px; }
.nav-links a { position: relative; display: inline-flex; align-items: center; height: 44px; padding: 0 11px; font-size: var(--fs-bar); opacity: 0.85; }
.nav-links a::after { content: ''; position: absolute; left: 11px; right: 11px; bottom: 8px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: 0 50%; }
.nav-links a[aria-current] { opacity: 1; }
.nav-links a[aria-current]::after { transform: scaleX(1); }
.nav-contact { position: relative; display: inline-flex; align-items: center; height: 36px; margin-left: 8px; padding: 0 16px; border-radius: var(--r-pill); box-shadow: inset 0 0 0 1px var(--white-34); font-size: var(--fs-bar); font-weight: 700; }
.nav-contact::after { content: ''; position: absolute; inset: -4px; }
.nav-contact:focus-visible { background: var(--white); color: var(--ink); }
.nav-menu-button, .nav-menu { display: none; }

@media (max-width: 649px) {
	.nav-logo svg { width: 144px; height: 18px; }
}
@media (max-width: 619px) {
	.nav-links { display: none; }
	.nav-menu-button { display: grid; place-items: center; width: 44px; height: 44px; margin: 0 -12px 0 4px; }
	.nav-menu-lines { position: relative; width: 18px; height: 10px; }
	.nav-menu-lines::before, .nav-menu-lines::after { content: ''; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; }
	.nav-menu-lines::before { top: 0; }
	.nav-menu-lines::after { bottom: 0; }
	.nav-menu-button[aria-expanded="true"] .nav-menu-lines::before { transform: translateY(4px) rotate(45deg); }
	.nav-menu-button[aria-expanded="true"] .nav-menu-lines::after { transform: translateY(-4px) rotate(-45deg); }
	.nav-menu:not([hidden]) { display: block; position: absolute; top: var(--nav-h); left: 0; right: 0; max-height: calc(100svh - var(--nav-h)); padding: 8px var(--gutter) 24px; overflow-y: auto; overscroll-behavior: contain; background: var(--bar-solid); }
	.nav-menu a[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
	.nav-menu a { display: flex; align-items: center; height: 56px; font-size: var(--fs-menu); font-weight: 700; }
}

/* ---------- Banner (plain layout; the pinned layout is in the motion part) ---------- */
.hero { position: relative; z-index: 1; padding: calc(var(--nav-h) + clamp(44px, 7svh, 84px)) 0 clamp(72px, 9vw, 128px); overflow: clip; background: var(--black); color: var(--on-dark); text-align: center; }
.hero { --hold: 0.4; --handover: 0.474; }
.hero-sticky { position: relative; --meta-h: 112px; --tv-max: 1200px; --tv-side: min(var(--gutter), 2vw + 8px); --tv-w: min(100vw - 2 * var(--gutter), 1040px, max(280px, (100svh - var(--nav-h) - 2 * var(--fs-display) - 290px) * 1.7778)); }
@media (max-width: 619px) { .hero { padding-top: calc(var(--nav-h) + clamp(28px, 5svh, 84px)); } }
.hero-word { display: inline-block; }
.hero-sub { max-width: 620px; margin: 20px auto 0; color: var(--on-dark-3); font-size: var(--fs-lead); line-height: 1.4; }
.tv-pin { width: var(--tv-w); margin: clamp(36px, 5svh, 56px) auto 0; }
/* Up to tablet width the names wrap to two or three rows, and the pinned TV ends edge to edge */
@media (max-width: 899px) { .hero-sticky { --meta-h: 150px; --tv-side: 0px; } }
/* No source picture is wider than 1920, so on high-resolution screens the full-size TV stops where it is still sharp */
@media (min-resolution: 1.5dppx) and (min-width: 1100px) { .hero-sticky { --tv-max: 1080px; } }
.hero-arrive { position: absolute; width: 1px; height: 1px; pointer-events: none; }
.tv-meta { margin-top: 18px; padding: 0 var(--gutter); }

/* Light behind the TV: one soft layer per app, half as large again as the TV so it shows past the frame */
.hero-glow { position: absolute; left: 50%; bottom: calc(var(--meta-h) + 18px - var(--tv-w) * 0.140625); width: calc(var(--tv-w) * 1.5); height: calc(var(--tv-w) * 0.84375); margin-left: calc(var(--tv-w) * -0.75); pointer-events: none; }
.hero-glow i { position: absolute; inset: 0; background: radial-gradient(closest-side, var(--glow) 30%, transparent 100%); opacity: 0; }
.hero-glow i.on { opacity: 0.5; }
.hero-glow [data-app="nbcnews"] { --glow: #0098e0; }
.hero-glow [data-app="today"] { --glow: #fc5038; }
.hero-glow [data-app="thenetwork"] { --glow: #eb982e; }
.hero-glow [data-app="shopthemoment"] { --glow: #0c44a8; }
.hero-glow [data-app="tunein"] { --glow: #14d8cc; }
.hero-glow [data-app="tct"] { --glow: #1a4895; }
.hero-glow [data-app="gameloop"] { --glow: #6a3fd8; }

/* ---------- The TV ---------- */
.tv { position: relative; padding: var(--tv-bezel); border-radius: var(--r-tv); background: linear-gradient(var(--frame-top), var(--frame) 14%, var(--black)); box-shadow: 0 0 0 1px var(--white-18), inset 0 1px 0 var(--white-34), inset 0 -1px 0 var(--white-10); touch-action: pan-y; }
/* Under the TV: the lit edge of the surface, then the screen's light on it in the app's colour.
   Both are part of the TV, so they grow with it at no extra cost */
.tv::before, .tv::after { content: ''; position: absolute; top: 100%; pointer-events: none; }
.tv::before { left: 9%; right: 9%; height: 1px; margin-top: 7px; background: linear-gradient(90deg, transparent, var(--white-34), transparent); }
.tv::after { left: 2%; right: 2%; height: 13%; margin-top: 8px; background: radial-gradient(50% 100% at 50% 0, var(--app-glow, var(--white-20)), transparent 72%); opacity: 0.55; }
/* The 16:9 shape sits on the screen, not the frame, so Chrome and Safari agree on the height */
.tv-screen { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; isolation: isolate; border-radius: calc(var(--r-tv) - 5px); background: var(--black); container-type: inline-size; pointer-events: none; -webkit-user-select: none; user-select: none; }
.app { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; }
.app.on { opacity: 1; visibility: visible; }
/* A screen that has not been queued yet has no box, so its lazy picture is not fetched */
.app:not(.on, .is-primed) { display: none; }
.app img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ShopTheMoment: rebuilt in CSS. Sizes in cqw: 1cqw is 1% of the screen's width */
.app-stm { background: linear-gradient(135deg, #0c44a8 0%, #083894 100%); color: #fff; text-align: left; }
.stm-video { position: absolute; left: 3.75%; top: 17.2%; width: 62.1%; height: 62%; overflow: hidden; border-radius: 0.6cqw; box-shadow: 0 1.2cqw 3cqw rgba(0,0,0,0.35);
	background: radial-gradient(34% 52% at 27% 36%, rgba(255,214,150,0.6), transparent 72%), radial-gradient(30% 46% at 76% 30%, rgba(120,170,255,0.5), transparent 72%),
		linear-gradient(transparent 58%, rgba(4,10,24,0.7) 100%), linear-gradient(160deg, #2c4a72 0%, #132238 55%, #1d3150 100%); }
/* A stage floor and the player's progress line, so the frame reads as a programme and not an empty box */
.stm-video::before { content: ''; position: absolute; left: 0; right: 0; top: 66%; bottom: 0; background: linear-gradient(rgba(255,255,255,0.14), transparent 60%); }
.stm-video::after { content: ''; position: absolute; left: 3%; right: 3%; bottom: 5%; height: 0.4cqw; border-radius: 99px; background: linear-gradient(90deg, #fcc814 38%, rgba(255,255,255,0.35) 0); }
.stm-side { position: absolute; left: 68.1%; top: 9%; width: 26.25%; }
.stm-name { font-size: 1.9cqw; font-weight: 500; line-height: 1.2; }
.stm-card { position: relative; display: grid; place-items: center; height: 15.8cqw; margin-top: 2.2cqw; padding-bottom: 2cqw; border-radius: 0.8cqw; background: #fff; box-shadow: 0 1cqw 2.4cqw rgba(0,0,0,0.25); color: #1d2a44; font-size: 1.05cqw; font-weight: 700; }
/* The featured item, drawn as a tote bag */
.stm-card i { position: relative; width: 7.4cqw; height: 6.2cqw; margin-top: 2.6cqw; border-radius: 0.5cqw 0.5cqw 1cqw 1cqw; background: linear-gradient(150deg, #f8cf52, #e6a51c); }
.stm-card i::before { content: ''; position: absolute; left: 22%; right: 22%; bottom: 96%; height: 2.6cqw; border: 0.45cqw solid #1d2a44; border-bottom: 0; border-radius: 2cqw 2cqw 0 0; }
.stm-card span { position: absolute; left: 0; right: 0; bottom: 1.1cqw; text-align: center; }
.stm-qr { display: flex; align-items: center; gap: 1.2cqw; margin-top: 2cqw; font-size: 1.25cqw; font-weight: 500; line-height: 1.3; }
.stm-qr i { flex: none; width: 6.6cqw; height: 6.6cqw; padding: 0.7cqw; border-radius: 0.7cqw;
	background: conic-gradient(#000 25%, #fff 0 50%, #000 0 75%, #fff 0) 50% 50% / 0.65cqw 0.65cqw content-box, #fff; }
.stm-count { position: absolute; left: 3.75%; bottom: 6.5%; display: flex; align-items: center; gap: 1.1cqw; font-size: 1.25cqw; font-weight: 700; letter-spacing: 0.18em; }
.stm-count b { display: grid; place-items: center; width: 3.4cqw; height: 3.4cqw; border: 0.3cqw solid #fcc814; border-radius: 50%; font-size: 1.2cqw; letter-spacing: 0; }
.stm-dots { position: absolute; right: 5.6%; bottom: 5.2%; display: grid; grid-template-columns: repeat(5, auto); align-items: center; justify-items: center; gap: 1.3cqw; }
.stm-dots i { width: 0.5cqw; height: 0.5cqw; border-radius: 50%; background: rgba(255,255,255,0.6); }
.stm-dots i.on { width: 1.6cqw; height: 1.6cqw; background: #fcc814; }
.stm-dots span { grid-column: 1 / -1; grid-row: 2; justify-self: center; font-size: 1cqw; font-weight: 500; }

/* TCT: the real screenshot covers the top 89.8%; the lower banner it cuts through is redrawn */
.app-tct { background: #04142c; }
.app-tct picture img { height: auto; object-fit: initial; }
.tct-banner { position: absolute; left: 6.3%; right: 5.8%; top: 81.6%; bottom: -2%; border: 0.1cqw solid #9a957c; border-radius: 0.4cqw 0.4cqw 0 0;
	background: linear-gradient(90deg, #081758 0%, #153a92 50%, #081758 100%); }
.tct-banner img { position: absolute; left: 50%; top: 26%; width: auto; height: 3.4cqw; translate: -50% 0; }
.tct-banner span { position: absolute; right: 1cqw; top: 0.9cqw; padding: 0.25cqw 0.75cqw 0.25cqw 1.5cqw; border-radius: 99px; background: #e02000; color: #fff; font: 700 1.15cqw/1.3 'Satoshi', sans-serif; }
.tct-banner span::before { content: ''; position: absolute; left: 0.55cqw; top: 50%; width: 0.6cqw; height: 0.6cqw; margin-top: -0.3cqw; border-radius: 50%; background: #fff; }

/* ---------- The remote, Pause and caption ---------- */
.tv-controls { display: flex; justify-content: center; }
/* The nine names are a keypad, like a remote: one row on laptops, five columns on tablets, three on phones. Nothing scrolls sideways */
.apptabs { position: relative; contain: layout; display: flex; justify-content: center; gap: 4px; }
.apptabs [data-app] { position: relative; flex: none; height: 44px; padding: 0 14px; border-radius: var(--r-inner); color: var(--on-dark-2); font-size: var(--fs-names); font-weight: 700; white-space: nowrap; }
.apptabs [data-app][aria-pressed="true"] { color: var(--white); }
/* Progress line: the track shows under the current name, the fill is driven in the motion part */
.apptabs [data-app]::after, .apptabs [data-app][aria-pressed="true"]::before { content: ''; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; border-radius: var(--r-pill); }
.apptabs [data-app]::after { background: var(--white); transform: scaleX(0); transform-origin: 0 50%; }
.apptabs [data-app][aria-pressed="true"]::before { background: var(--white-20); }
[data-tv-state="paused"] .apptabs [data-app][aria-pressed="true"]::after { transform: scaleX(1); }
/* The ring travels between the names, across rows too (the script gives it its place and width) */
.ring { position: absolute; left: 0; top: 0; width: 0; height: 44px; border: 2px solid var(--white); border-radius: var(--r-inner); opacity: 0; pointer-events: none; }
.apptabs.has-ring .ring { opacity: 1; }
@media (max-width: 899px) {
	/* Ten half-columns, each name two wide: five in the first row, the four below centred under them */
	.apptabs { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px 0; width: 100%; max-width: 640px; }
	.apptabs [data-app] { grid-column: span 2; padding: 0 4px; font-size: var(--fs-bar); }
	.apptabs [data-app]:nth-of-type(6) { grid-column: 2 / span 2; }
}
@media (max-width: 619px) {
	.apptabs { grid-template-columns: repeat(3, 1fr); }
	.apptabs [data-app], .apptabs [data-app]:nth-of-type(6) { grid-column: auto; font-size: var(--fs-fine); }
}
/* Pause, then the caption, on one centred line under the names */
.tv-caption { display: flex; align-items: center; justify-content: center; gap: 12px; max-width: 760px; margin: 8px auto 0; text-align: left; }
.tv-pause { display: grid; flex: none; place-items: center; width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--white-40); }
.tv-pause:focus-visible { box-shadow: inset 0 0 0 1px var(--white-40), 0 0 0 7px var(--ink); }
.tv-pause-icon { width: 10px; height: 12px; border: solid var(--white); border-width: 0 3px; }
[data-tv-state="paused"] .tv-pause-icon { width: 0; height: 0; margin-left: 3px; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent var(--white); }

.appcaps { display: grid; min-width: 0; }
.appcap { grid-area: 1 / 1; opacity: 0; visibility: hidden; }
.appcap.on { opacity: 1; visibility: visible; }
.cap-main { display: block; color: var(--on-dark-2); font-size: var(--fs-small); line-height: 1.45; }
/* Where the picture comes from: said quietly, in sentence case; the link is the one emphasised item */
.cap-source { display: block; margin-top: 2px; color: var(--on-dark-3); font-size: var(--fs-fine); line-height: 1.45; text-wrap: wrap; }
.cap-source a { display: inline-block; margin: -13px -4px -13px 2px; padding: 13px 4px; color: var(--on-dark); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; white-space: nowrap; }

/* ---------- Projects ---------- */
.projects, .board, .closeups, .team, .footer { position: relative; z-index: 2; }
.board, .closeups, .team { padding: var(--section) 0; }
.projects { padding: 48px 0 var(--section); border-radius: var(--r-card) var(--r-card) 0 0; background: var(--paper); }

.rail { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.rail-item { min-width: 0; display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 32px 16px 32px 24px; border-left: 1px solid var(--line); }
.rail-item:first-child { padding-left: 0; border-left: 0; }
.rail-number { color: var(--ink); font-size: var(--fs-numeral); font-weight: 900; line-height: 0.85; letter-spacing: -0.05em; }
.rail-number--red { color: var(--red); }
.rail dt, .row-title { overflow-wrap: anywhere; }
.rail dt { margin-top: 16px; color: var(--ink); font-size: var(--fs-small); font-weight: 700; line-height: 1.45; }

.projects-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-top: 64px; color: var(--ink); }
.segmented { position: relative; display: grid; flex: none; grid-template-columns: 1fr 1fr; height: 52px; padding: 4px; border-radius: var(--r-pill); background: var(--line); }
.seg-thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: var(--r-pill); background: var(--ink); }
.segmented:has(#tab-own[aria-selected="true"]) .seg-thumb { translate: 100% 0; }
.segmented [role="tab"] { position: relative; min-width: 132px; padding: 0 20px; border-radius: var(--r-pill); color: var(--muted); font-size: var(--fs-toggle); font-weight: 700; letter-spacing: 0; }
.segmented [role="tab"][aria-selected="true"] { color: var(--white); }
.segmented [role="tab"]::after { content: ''; position: absolute; inset: -4px 0; }

.panel-note { max-width: 720px; margin-top: 24px; color: var(--ink-2); }
.rows { margin-top: 32px; border-bottom: 1px solid var(--line); }
.rows-label { margin: 32px 0 12px; color: var(--muted); }
.rows--short { margin-top: 0; }
.row { border-top: 1px solid var(--line); }

.row-head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; width: 100%; min-height: 96px; padding: 12px 0; color: var(--ink); text-align: left; }
.row-title { font-size: var(--fs-row-title); line-height: 1.12; letter-spacing: -0.025em; }
.row-mark { position: relative; width: 128px; aspect-ratio: 16 / 9; }
.row-thumb { position: relative; width: 100%; height: 100%; border-radius: var(--r-tag); box-shadow: 0 0 0 1px var(--line); object-fit: cover; }
.row-thumb--back { position: absolute; left: 10px; top: 6px; opacity: 0.6; }
/* A neutral tile where a project has no picture (Telly) */
.row-mark--tile { display: grid; place-items: center; border-radius: var(--r-tag); background: linear-gradient(160deg, var(--card), var(--paper-2)); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); }
/* Telly has no picture: the same square tile as the app icons, centred in the picture column */
.rows .row-mark--tile { width: 56px; aspect-ratio: 1; margin: 0 12px; border-radius: var(--r-inner); }
.row-mark--icon { overflow: hidden; }
.row-mark--icon img { width: 100%; height: 100%; }
.row-text { display: grid; gap: 4px; min-width: 0; }
.row-meta { color: var(--muted); font-size: var(--fs-small); font-weight: 500; line-height: 1.45; letter-spacing: 0; }
.plus { position: relative; width: 36px; height: 36px; margin: 4px; border-radius: 50%; background: var(--paper-2); }
.plus::before, .plus::after { content: ''; position: absolute; left: 12px; top: 17.25px; width: 12px; height: 1.5px; background: var(--ink); }
.plus::after { rotate: 90deg; }
.row.is-open .plus { background: var(--ink); rotate: 45deg; }
.row.is-open .plus::before, .row.is-open .plus::after { background: var(--white); }

.rows--short .row-head { min-height: 72px; }
.rows--short .row-mark { width: 80px; }
.rows--short .row-title { font-size: var(--fs-compact); letter-spacing: -0.02em; }
.rows--own .row-mark { width: 56px; aspect-ratio: 1; border-radius: var(--r-inner); }

/* A row opens by letting its one grid track grow from 0fr to 1fr */
.row-body { display: grid; grid-template-rows: 0fr; visibility: hidden; }
.row.is-open > .row-body { grid-template-rows: 1fr; visibility: visible; }
.row-body-inner { min-height: 0; margin: 0 -8px; padding: 0 8px; overflow: hidden; }
.row-detail { display: grid; gap: 32px; padding: 8px 0 48px; }
/* The app's screen, large: one to a line on phones and split view, two side by side on a laptop.
   A closed row's pictures have no box, so the large files are fetched only when the row is opened */
.row-screens { display: grid; gap: 24px; }
html.scripted .row:not(.is-open) .row-screens { display: none; }
.screen-button { display: grid; gap: 10px; border-radius: var(--r-inner); color: var(--ink); font-size: var(--fs-body); font-weight: 700; line-height: 1.3; text-align: left; }
.screen-button img { width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: var(--r-inner); background: var(--paper-2); box-shadow: 0 0 0 1px var(--line); object-fit: cover; object-position: 50% 0; }
/* Says what the picture does when pressed */
.screen-button span::after { content: 'Show on the TV'; display: block; color: var(--muted); font-size: var(--fs-fine); font-weight: 500; }
.row-story dt { color: var(--muted); }
.row-story dd { margin-top: 4px; color: var(--ink-2); }
.row-story dd + dt { margin-top: 16px; }
.row-para { color: var(--ink-2); }
.row-para + .dash-list { margin-top: 16px; }
.row-small { margin-top: 12px; color: var(--muted); font-size: var(--fs-fine); line-height: 1.45; }
.row-figures { display: flex; gap: 32px; margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.row-figures div { display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.row-figures dd { color: var(--ink); font-size: var(--fs-figure); font-weight: 900; line-height: 1; }
.row-figures dt { margin-top: 10px; color: var(--muted); font-size: var(--fs-small); line-height: 1.3; }
.row-facts { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; }
.row-facts dt { padding-top: 2px; color: var(--muted); font-size: var(--fs-fine); line-height: 1.45; }
.row-facts dd { color: var(--ink-2); font-size: var(--fs-small); line-height: 1.45; overflow-wrap: anywhere; }
.row-facts .text-link { font-weight: 500; }

@media (max-width: 899px) {
	.projects { padding-top: 32px; }
	.row-mark { width: 96px; }
}
@media (max-width: 619px) {
	.rail-item { padding: 24px 8px 24px 12px; }
	.rail dt { margin-top: 12px; font-size: var(--fs-fine); }
	.projects-head { flex-direction: column; align-items: stretch; margin-top: 40px; }
	.segmented { height: 44px; }
	.segmented [role="tab"] { min-width: 0; padding: 0 8px; font-size: var(--fs-small); }
	.row-head { gap: 12px; }
	.rows--short .row-mark { width: 80px; }
}
@media (min-width: 900px) {
	.row-head { min-height: 124px; }
	.row-mark { width: 176px; }
	.rows--short .row-mark { width: 104px; }
	.row-detail { grid-template-columns: 7fr 5fr; gap: 40px 48px; }
	.row-screens { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
	.screen-button:only-child { max-width: 640px; }
}
/* Narrow fact columns: each label above its value, so values are not squeezed into short lines */
@media (min-width: 900px) and (max-width: 1199px), (max-width: 379px) {
	.row-facts { grid-template-columns: 1fr; gap: 2px 0; }
	.row-facts dt { padding-top: 0; }
	.row-facts dd { margin-bottom: 10px; }
}

/* ---------- Release board ---------- */
.board { overflow: clip; background: var(--black); color: var(--on-dark); --dot-y: 36px; }
.board .wrap { position: relative; }
/* Top right corner only: centre 180px in from the wrap's right edge and 120px above the heading */
.board-glow { top: calc(var(--section) - 290px); right: calc(max(var(--gutter), (100% - var(--wrap)) / 2) - 270px); width: 900px; aspect-ratio: 1600 / 704; opacity: 0.7;
	/* Two fades together: round at the edges, and gone before the heading so no text sits on it */
	-webkit-mask-image: radial-gradient(closest-side, var(--black) 30%, transparent 100%), linear-gradient(var(--black) 60%, transparent 76%); -webkit-mask-composite: source-in;
	mask-image: radial-gradient(closest-side, var(--black) 30%, transparent 100%), linear-gradient(var(--black) 60%, transparent 76%); mask-composite: intersect; }
.board .section-head { margin-bottom: 64px; }
.board-key { margin-top: 24px; color: var(--on-dark-3); font-size: var(--fs-fine); line-height: 1.45; text-align: center; }

.board-track { position: relative; }
/* One line for the whole board, from the centre of dot 01 to the centre of dot 06 (the script measures the end) */
.board-line { position: absolute; left: 9px; top: var(--dot-y); bottom: var(--line-bottom, 0px); width: 2px; background: var(--white-20); }
/* The fill is a window that slides down while its gradient slides up by the same amount, so the red end stays at Launch */
.board-line, .board-line-fill { overflow: hidden; }
.board-line-fill, .board-line-fill::after { position: absolute; inset: 0; }
.board-line-fill::after { content: ''; background: linear-gradient(var(--on-dark) 83%, var(--red-on-dark) 100%); }
.board-rows { border-bottom: 1px solid var(--line-dark); }
.board-row { display: grid; grid-template-columns: 48px 1fr; padding: 28px 0; border-top: 1px solid var(--line-dark); }
.dot { position: relative; z-index: 1; width: 12px; height: 12px; margin: 2px 0 0 4px; border-radius: 50%; background: var(--on-dark); }
.board-row--launch .dot { width: 14px; height: 14px; margin: 1px 0 0 3px; background: var(--red-on-dark); }
.board-step .label { color: var(--on-dark-3); }
.board-row--launch .board-step .label { color: var(--red-on-dark); }
.board-step h3 { margin-top: 4px; }
.board-step h3 + p { margin-top: 4px; color: var(--on-dark-3); font-size: var(--fs-small); line-height: 1.45; }
.board-items { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 8px; grid-column: 2; margin-top: 16px; }
.item { padding: 5px 4px; border-radius: var(--r-tag); color: var(--on-dark-2); font-size: var(--fs-small); line-height: 1.45; cursor: default; }
.item--filled { padding: 5px 10px; background: var(--line-dark); color: var(--white); }
.item--outlined { padding: 5px 10px; box-shadow: inset 0 0 0 1px var(--white-40); }

@media (max-width: 619px) {
	.board { --dot-y: 28px; }
	.board-glow { width: 520px; right: calc(var(--gutter) - 80px); top: calc(var(--section) - 206px); }
	.board-row { grid-template-columns: 36px 1fr; padding: 20px 0; }
	.board-items { margin-top: 12px; }
	.item { font-size: var(--fs-bar); }
}
@media (min-width: 900px) {
	.board-row { grid-template-columns: 48px minmax(240px, 300px) 1fr; column-gap: 32px; }
	.board-items { grid-column: 3; margin-top: 20px; }
}

/* ---------- Close-ups ---------- */
.closeups { background: var(--paper-2); }
.cards { display: grid; gap: 24px; }
.card { padding: var(--card-pad); border-radius: var(--r-card); background: var(--card); color: var(--ink-2); }
.card .label { color: var(--muted); }
.card h3 { margin-top: 12px; color: var(--ink); }
.card h3, .team-card h3 { font-size: var(--fs-card-title); line-height: 1.1; letter-spacing: -0.03em; }
.card h3 + p { margin-top: 12px; }
.card .dash-list { margin-top: 16px; }
.story { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.story-text { margin-top: 8px; color: var(--ink); font-size: var(--fs-compact); font-weight: 700; line-height: 1.2; text-wrap: balance; }
.story-checks { margin-top: 16px; }
.story-checks li { display: flex; align-items: center; gap: 12px; padding: 12px 0; font-size: var(--fs-small); line-height: 1.45; }
.story-checks li + li { border-top: 1px solid var(--line); }
/* Status line: four stops on one ink line; the last stop is the red "live" one */
.status { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 24px; }
.status::before { content: ''; position: absolute; left: 12.5%; right: 12.5%; top: 5px; height: 2px; background: var(--ink); }
.status li { display: grid; justify-items: center; gap: 12px; color: var(--ink); text-align: center; }
.status li::before { content: ''; position: relative; width: 12px; height: 12px; border-radius: 50%; background: var(--ink); }
.status li[aria-current]::before { background: var(--red); box-shadow: 0 0 0 6px var(--red-halo); }
.card { display: flex; flex-direction: column; }
.card-foot { display: flex; align-items: center; gap: 16px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-size: var(--fs-small); line-height: 1.45; }
.card-foot img { flex: none; width: 96px; height: auto; border-radius: var(--r-tag); box-shadow: 0 0 0 1px var(--line); }
.story, .card-tags { margin-bottom: 24px; }

.checks { flex: 1 1 auto; width: 100%; margin-top: 24px; border-collapse: collapse; table-layout: fixed; }
.checks caption { padding-bottom: 8px; text-align: left; }
.checks th, .checks td { height: 44px; padding: 0; border-top: 1px solid var(--line); text-align: left; vertical-align: middle; }
.checks tbody tr:last-child > * { border-bottom: 1px solid var(--line); }
.checks thead th { width: 25%; }
.checks thead th:first-child { width: 50%; }
.checks tbody th { color: var(--ink); font: 500 var(--fs-small)/1.45 var(--mono); font-variant-numeric: tabular-nums; }
.card-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.card-tags li { padding: 4px 8px; border-radius: var(--r-tag); background: var(--paper-2); font-size: var(--fs-fine); line-height: 1.45; }

@media (max-width: 399px) {
	/* Mono capitals do not fit four across here; the same four words in the text face do, at the same 12px */
	.status li { font-family: var(--font); letter-spacing: 0; text-transform: none; }
	/* Room for the longest event name beside the two tick columns, each heading on one line */
	.checks thead th { width: 22%; white-space: nowrap; letter-spacing: 0; }
	.checks thead th:first-child { width: 48%; }
	.checks thead th:last-child { width: 30%; }
	.checks tbody th { font-size: var(--fs-fine); }
}
@media (min-width: 900px) {
	.cards { grid-template-columns: 1fr 1fr; }
	.card-foot img { width: 128px; }
}

/* ---------- Team ---------- */
.team { border-radius: 0 0 var(--r-card) var(--r-card); background: var(--paper); }
.team-card { position: relative; display: grid; gap: 32px; padding: var(--card-pad); overflow: hidden; border-radius: var(--r-card); background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: var(--white); }
/* The grainy glow sits on the right, faded all round so the picture's own edges never show */
.team-glow { right: -12%; top: -45%; width: 78%; height: 190%; background-position: 62% 55%; opacity: 0.6; mask-image: radial-gradient(closest-side, var(--black) 25%, transparent 100%); }
.team-main, .team-clocks { position: relative; }
.team-note { margin-top: 8px; color: var(--white-72); }
.team-people { display: flex; flex-wrap: wrap; gap: 24px 32px; margin-top: 32px; }
.team-people li { display: grid; gap: 12px; }
.team-people .label, .clock .label { color: var(--white-72); }
.people { display: flex; gap: 8px; }
/* One drawn figure per engineer: a head over shoulders, the same simple shape eight times */
.person { position: relative; width: 26px; height: 38px; }
.person::before, .person::after { content: ''; position: absolute; left: 50%; background: var(--white); translate: -50% 0; }
.person::before { top: 0; width: 14px; height: 14px; border-radius: 50%; }
.person::after { bottom: 0; width: 26px; height: 21px; border-radius: 13px 13px 5px 5px; }
.team-clocks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 24px; border-top: 1px solid var(--white-18); }
.clock { display: grid; gap: 4px; }
.clock time { font: 500 var(--fs-card-title)/1.1 var(--mono); font-variant-numeric: tabular-nums; }
.team-more { margin-top: 32px; }

@media (max-width: 619px) {
	.team-people { gap: 20px 24px; }
	.team-clocks { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
	.team-card { grid-template-columns: 7fr 5fr; gap: 48px; }
	.team-clocks { grid-template-columns: 1fr 1fr; align-content: center; padding: 0 0 0 48px; border-top: 0; border-left: 1px solid var(--white-18); }
}

/* ---------- Closing ---------- */
.closing { position: relative; padding: var(--section) 0 calc(var(--section) + 64px); overflow: clip; background: var(--black); color: var(--on-dark); text-align: center; }
/* Bright core in the bottom third, faded out before the footer and behind the text */
.closing-glow { left: -20%; bottom: 0; width: 140%; height: 40%; background-position: 50% 62%; opacity: 0.85; mask-image: radial-gradient(75% 100% at 50% 100%, var(--black) 30%, transparent 100%); }
.closing-content { position: relative; }
.closing .lead { max-width: 560px; margin: 24px auto 0; color: var(--on-dark-3); text-wrap: balance; }
.closing-action { margin-top: 36px; }
.button { display: inline-flex; align-items: center; height: 52px; padding: 0 30px; border-radius: var(--r-pill); background: var(--white); color: var(--ink); font-weight: 700; }
.closing-address { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 12px; margin-top: 20px; }
.address { margin: -10px 0; padding: 10px 0; overflow-wrap: anywhere; }
.copy-button { position: relative; min-width: 84px; height: 32px; padding: 0 12px; border-radius: var(--r-pill); box-shadow: inset 0 0 0 1px var(--white-34); }
.copy-button::after { content: ''; position: absolute; inset: 0 -6px -12px; }
.closing-social { margin-top: 16px; }
.closing .text-link { color: var(--on-dark); }

@media (max-width: 619px), (max-height: 499px) {
	.closing h2 { font-size: var(--fs-closing-small); }
	.closing-action { margin-top: 24px; }
}
@media (max-width: 359px) {
	.address { font-size: var(--fs-small); }
}

/* ---------- Footer ---------- */
.footer { padding: 32px 0 calc(32px + env(safe-area-inset-bottom)); background: var(--black); color: var(--on-dark-3); font-size: var(--fs-bar); line-height: 22px; }
.footer-groups { display: grid; gap: 24px; }
.footer-brand p { margin-top: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 24px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; margin: 0 -5px; padding: 0 5px; overflow-wrap: anywhere; }
.footer-legal { display: grid; gap: 8px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: var(--fs-fine); }
.footer-review { color: var(--red-on-dark); }
@media (max-width: 619px) {
	.footer { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
	.footer-links { gap: 0 16px; }
	.footer-groups { gap: 12px; }
	.footer-legal { margin-top: 12px; padding-top: 16px; }
}

@media (min-width: 620px) {
	.footer-groups { grid-template-columns: minmax(max-content, 1fr) auto; }
	.footer-groups > :nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
}

/* ---------- Without script: everything open and readable, controls that need script hidden ---------- */
html:not(.scripted) .panel[hidden] { display: block; margin-top: 48px; }
html:not(.scripted) .row-body { grid-template-rows: 1fr; visibility: visible; }
html:not(.scripted) :is(.plus, .segmented, .tv-controls, .tv-pause, .copy-button, .nav-menu-button, .board-line, .clock time) { display: none; }
html:not(.scripted) #panel-own::before { content: 'Our own apps'; display: block; color: var(--ink); font-size: var(--fs-title); font-weight: 700; letter-spacing: -0.02em; }

/* ---------- Motion. Everything here is skipped under reduced motion ---------- */
@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }

	/* Banner entrance, started by html.is-ready (fonts in, or 600ms) */
	html.js-motion:not(.is-ready) :is(.nav-logo, .hero-word, .hero-glow i, .tv-controls, .tv-caption) { opacity: 0; }
	/* The sentence and the TV are visible from the first paint (they are the largest things on screen); they only settle into place */
	html.js-motion:not(.is-ready) .hero-sub { transform: translateY(12px); }
	html.js-motion:not(.is-ready) .tv-in { transform: translateY(40px) scale(0.96); }
	html.is-ready .nav-logo { animation: fade-in 400ms var(--ease-move) backwards; }
	html.is-ready .hero-word { animation: word-in 900ms var(--ease-enter) calc(var(--i) * 45ms) backwards; }
	html.is-ready .hero-sub { animation: sub-in 500ms var(--ease-enter) 120ms backwards; }
	html.is-ready .tv-in { animation: tv-in 900ms var(--ease-enter) 100ms backwards; }
	html.is-ready .hero-glow i { animation: fade-in 1200ms var(--ease-move) 400ms backwards; }
	html.is-ready :is(.tv-controls, .tv-caption) { animation: fade-in 400ms var(--ease-move) 600ms backwards; }

	/* Top bar and menu */
	.nav::after { transition: opacity var(--t-state) var(--ease-move); }
	.nav-links a, .footer-links a { transition: opacity var(--t-hover) var(--ease-move), color var(--t-hover) var(--ease-move); }
	.nav-links a::after { transition: transform var(--t-state) var(--ease-move); }
	.nav-links a:active, .footer-links a:active { opacity: 0.6; }
	.nav-menu-lines::before, .nav-menu-lines::after { transition: transform var(--t-state) var(--ease-move); }
	.nav-menu:not([hidden]), .nav-menu a { animation: menu-in 280ms var(--ease-enter) backwards; }
	.nav-menu a:nth-child(2) { animation-delay: 30ms; }
	.nav-menu a:nth-child(3) { animation-delay: 60ms; }
	.nav-menu a:nth-child(4) { animation-delay: 90ms; }

	/* Buttons and pills: press, and the colour change on hover or focus */
	.button, .nav-contact, .copy-button, .tv-pause { transition: transform 200ms var(--ease-move), background-color var(--t-hover) var(--ease-move), color var(--t-hover) var(--ease-move); }
	:is(.button, .nav-contact, .copy-button, .tv-pause):active { transform: scale(0.97); transition-duration: 80ms; }
	.text-link span { transition: transform 200ms var(--ease-move); }

	/* TV: a cross-fade with a slight settle. The old picture stays solid underneath until the new one is in,
	   so the screen never shows a black frame */
	.app { transform: scale(1.02); transition: opacity 0s linear 380ms, visibility 0s linear 380ms, transform 0s linear 380ms; }
	.app.on { z-index: 1; transform: none; transition: opacity 380ms var(--ease-move), transform 600ms var(--ease-enter); }
	.appcap { transform: translateY(4px); transition: opacity 120ms var(--ease-move), transform 120ms, visibility 0s 120ms; }
	.appcap.on { transform: none; transition: opacity 240ms var(--ease-move) 120ms, transform 240ms var(--ease-enter) 120ms, visibility 0s 120ms; }
	.hero-glow i { transition: opacity var(--t-reveal) var(--ease-move); }
	.ring { transition: transform var(--t-move) var(--ease-move), width var(--t-move) var(--ease-move), opacity var(--t-state) var(--ease-move); }
	/* The progress line is the clock: when it ends, the script shows the next app */
	html.js-motion [data-tv-state="playing"] .apptabs [data-app][aria-pressed="true"]::after { animation: tab-fill var(--dwell) linear forwards; }
	html.js-motion [data-tv-state="held"] .apptabs [data-app][aria-pressed="true"]::after { animation: tab-fill var(--dwell) linear forwards paused; }

	/* Section reveals */
	html.js-motion [data-reveal] { opacity: 0; transform: translateY(var(--rise)); }
	html.js-motion [data-reveal].in { opacity: 1; transform: none; transition: opacity var(--t-reveal) var(--ease-enter), transform var(--t-reveal) var(--ease-enter); transition-delay: calc(var(--d, 0) * var(--stagger)); }
	html.js-motion [data-reveal]:is(.seen, :focus-within) { opacity: 1; transform: none; transition: none; }
	html.js-motion .closing-action:not(.in) { transform: translateY(var(--rise)) scale(0.94); }

	/* Projects: toggle, panels, rows */
	.seg-thumb { transition: translate 420ms var(--ease-spring); }
	.segmented [role="tab"] { transition: color var(--t-state) var(--ease-move); }
	.panel-wrap.is-switching { overflow: clip; transition: height var(--t-move) var(--ease-move); }
	.panel { transition: opacity var(--t-state) var(--ease-enter), transform var(--t-state) var(--ease-enter); }
	.panel.is-leaving { opacity: 0; transform: translateX(var(--shift)); transition: opacity var(--t-hover) var(--ease-exit), transform var(--t-hover) var(--ease-exit); }
	.panel.is-arriving { opacity: 0; transform: translateX(var(--shift)); transition: none; }
	.row-body { transition: grid-template-rows var(--t-state) var(--ease-move), visibility 0s linear var(--t-state); }
	.row.is-open > .row-body { transition: grid-template-rows var(--t-move) var(--ease-move), visibility 0s; }
	.panel.is-instant :is(.row-body, .row-detail > * > *) { transition: none; }
	.plus { transition: rotate var(--t-move) var(--ease-spring), background-color var(--t-state) var(--ease-move); }
	.row-head { transition: transform var(--t-press) var(--ease-move), background-color var(--t-hover) var(--ease-move); }
	.row-head:active { transform: scale(0.985); }
	.row-thumb { transition: transform var(--t-state) var(--ease-move); }
	html.scripted .row-detail > * > * { opacity: 0; transform: translateY(8px); transition: opacity var(--t-hover) var(--ease-move), transform var(--t-hover) var(--ease-move); }
	html.scripted .row.is-open .row-detail > * > * { opacity: 1; transform: none; transition: opacity var(--t-state) var(--ease-enter) var(--wait, 120ms), transform var(--t-state) var(--ease-enter) var(--wait, 120ms); }
	.row-main > :nth-child(2) { --wait: 160ms; }
	.row-side > :first-child { --wait: 200ms; }
	.row-side > :nth-child(2) { --wait: 240ms; }

	/* After the first screen: calm movement that is plain to see. Transform and opacity only; each plays once,
	   as its block comes in at the bottom of the screen, and is over well before the middle */
	html.js-motion .rail[data-reveal] { opacity: 1; transform: none; }
	html.js-motion .rail.in .rail-number { animation: settle-in 600ms var(--ease-enter) backwards; }
	html.js-motion .rail.in .rail-item:nth-child(2) .rail-number { animation-delay: 70ms; }
	html.js-motion .rail.in .rail-item:nth-child(3) .rail-number { animation-delay: 140ms; }
	html.js-motion .board-row.in .board-items > * { animation: chip-in 300ms var(--ease-enter) calc(60ms + var(--n, 0) * 25ms) backwards; }
	.board-items > :nth-child(2) { --n: 1; }
	.board-items > :nth-child(3) { --n: 2; }
	.board-items > :nth-child(4) { --n: 3; }
	.board-items > :nth-child(5) { --n: 4; }
	.board-items > :nth-child(6) { --n: 5; }
	.board-items > :nth-child(7) { --n: 6; }
	.board-items > :nth-child(8) { --n: 7; }
	.board-items > :nth-child(9) { --n: 8; }
	html.js-motion .team-card.in .person { animation: person-in 320ms var(--ease-spring) calc(80ms + var(--k, 0) * 35ms) backwards; }
	.team-people li:nth-child(2) .person { --k: 1; }
	.team-people li:nth-child(3) .person:nth-child(1) { --k: 2; }
	.team-people li:nth-child(3) .person:nth-child(2) { --k: 3; }
	.team-people li:nth-child(3) .person:nth-child(3) { --k: 4; }
	.team-people li:nth-child(3) .person:nth-child(4) { --k: 5; }
	.team-people li:nth-child(3) .person:nth-child(5) { --k: 6; }
	.team-people li:nth-child(3) .person:nth-child(6) { --k: 7; }
	/* Release board: each dot fills as its row passes the middle of the screen */
	html.js-motion .dot { background: var(--black); box-shadow: inset 0 0 0 2px var(--white-40); }
	html.js-motion .dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--on-dark); opacity: 0; transform: scale(0.6); transition: opacity var(--t-state) var(--ease-spring), transform var(--t-state) var(--ease-spring); }
	html.js-motion .board-row--launch .dot::after { background: var(--red-on-dark); }
	html.js-motion .is-passed .dot::after { opacity: 1; transform: none; }
	html.js-motion .board-row--launch .dot::before { content: ''; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 2px var(--red-on-dark); opacity: 0; }
	html.js-motion .board-row--launch.is-passed .dot::before { animation: launch-ring 1.2s var(--ease-enter) 2; }
	/* The line: stepped by the script (--p), or tied to scroll where the browser can */
	html.js-motion .board-line-fill { transform: translateY(calc((var(--p, 0) - 1) * 100%)); transition: transform 600ms var(--ease-move); }
	html.js-motion .board-line-fill::after { transform: translateY(calc((1 - var(--p, 0)) * 100%)); transition: transform 600ms var(--ease-move); }
	@supports (animation-timeline: view()) {
		/* The timeline's "screen" is one line 55% down, where the dots fill, so the tip of the line and the dots stay together */
		html.js-motion:not(.no-sda) .board-line { view-timeline: --board block; view-timeline-inset: 55% 45%; }
		html.js-motion:not(.no-sda) .board-line-fill, html.js-motion:not(.no-sda) .board-line-fill::after { transition: none; }
		html.js-motion:not(.no-sda) .board.is-live .board-line-fill, html.js-motion:not(.no-sda) .board.is-live .board-line-fill::after { animation: board-fill linear both; animation-timeline: --board; animation-range: cover 0% cover 100%; }
		html.js-motion:not(.no-sda) .board.is-live .board-line-fill::after { animation-name: board-fill-back; }
	}

	/* Close-up cards: ticks pop in after the card, then the status stops fill in turn */
	html.js-motion .card .tick { transform: scale(0); }
	html.js-motion .card:is(.in, .seen) .tick { transform: none; }
	html.js-motion .card.in .tick { transition: transform 350ms var(--ease-spring) calc(200ms + var(--n, 0) * 60ms); }
	:is(.story-checks li, .checks tbody tr):nth-child(2) { --n: 2; }
	:is(.story-checks li, .checks tbody tr):nth-child(3) { --n: 4; }
	.checks tbody tr:nth-child(4) { --n: 6; }
	.checks td:last-child .tick { transition-delay: calc(260ms + var(--n, 0) * 60ms); }
	html.js-motion .status li::before { opacity: 0.25; transform: scale(0.5); }
	html.js-motion .card:is(.in, .seen) .status li::before { opacity: 1; transform: none; }
	html.js-motion .card.in .status li::before { transition: opacity 200ms var(--ease-move) var(--wait), transform 200ms var(--ease-move) var(--wait); }
	.status li:nth-child(1) { --wait: 500ms; }
	.status li:nth-child(2) { --wait: 650ms; }
	.status li:nth-child(3) { --wait: 800ms; }
	.status li:nth-child(4) { --wait: 950ms; }
}

/* The pinned banner: motion on, a screen at least 560px tall, tablet width and up.
   (On a phone the TV is already full width and cannot grow, so the banner is an ordinary block there.) */
@media (prefers-reduced-motion: no-preference) and (min-height: 560px) and (min-width: 620px) {
	html.pin .hero { height: 272svh; padding: 0; --hold: 0.385; --handover: 0.419; }
	html.pin .hero-sticky {
		/* Clipped at the bar's lower edge, so the departing headline is never seen through the bar */
		position: sticky; top: 0; height: 100svh; overflow: clip; clip-path: inset(var(--nav-h) 0 0 0);
		--tv-w: min(100vw - 2 * var(--tv-side), var(--tv-max), (100svh - var(--nav-h) - var(--meta-h) - 28px) * 1.7778);
		--tv-h: calc((var(--tv-w) - 2 * var(--tv-bezel)) * 0.5625 + 2 * var(--tv-bezel));
		--tv-top: calc(var(--nav-h) + (100svh - var(--nav-h) - var(--meta-h) - var(--tv-h)) / 2);
	}
	html.pin .hero-sticky > * { position: absolute; }
	html.pin .hero-copy { left: 0; right: 0; top: calc(var(--nav-h) + clamp(24px, 7svh, 88px)); transform-origin: 50% 0; }
	html.pin .tv-pin { left: calc(50% - var(--tv-w) / 2); top: var(--tv-top); margin: 0; transform-origin: 50% 0; }
	html.pin .hero.is-live .tv-pin { will-change: transform, opacity; }
	html.pin .tv-meta { left: 0; right: 0; top: calc(var(--tv-top) + var(--tv-h) + 18px); margin: 0; }
	/* Never faded out while the keyboard is on it. Its position is left alone: cancelling the transform made the row jump */
	html.pin .tv-meta:has(:focus-visible) { opacity: 1 !important; }
	html.pin .hero-glow { top: calc(var(--tv-top) + var(--tv-h) / 2 - var(--tv-w) * 0.421875); bottom: auto; }
	/* Comes into view at the moment the TV reaches full size (60svh of scroll); the script changes the channel then */
	html.pin .hero-arrive { top: 160svh; }
	/* Tall screens (set by the script): the words stay and the TV grows where it stands */
	html.pin .keeps-copy .hero-copy { animation: none; }
	html.pin .projects { margin-top: -100svh; }
	/* Short screens: the copy starts higher so the TV has room */
	@media (max-height: 820px) {
		html.pin .hero-copy { top: calc(var(--nav-h) + clamp(12px, 3svh, 88px)); }
		html.pin .hero-sub { margin-top: 12px; }
	}
	/* Under about 760px tall on a laptop: one line of sentence, so the TV is clearly the main thing */
	@media (max-height: 760px) and (min-width: 900px) {
		html.pin .hero-sub { max-width: 960px; margin-top: 8px; font-size: var(--fs-toggle); }
	}

	/* One set of keyframes, 0% = banner top at the top of the screen, 100% = Projects has covered the stage */
	html.pin :is(.hero-copy, .tv-pin, .tv-meta, .hero-glow) { animation-duration: 1s; animation-timing-function: linear; animation-fill-mode: both; }
	html.pin .hero-copy { animation-name: hero-copy; }
	html.pin .tv-pin { animation-name: hero-tv; }
	html.pin .tv-meta { animation-name: hero-meta; }
	html.pin .hero-glow { animation-name: hero-glow; }
	/* Driver A: the browser ties the keyframes to scroll */
	@supports (animation-timeline: view()) {
		html.pin:not(.no-sda) .hero { view-timeline: --hero block; view-timeline-inset: 0px; }
		html.pin:not(.no-sda) :is(.hero-copy, .tv-pin, .tv-meta, .hero-glow) { animation-timeline: --hero; animation-range: contain 0% contain 100%; }
	}
	/* Driver B: the same keyframes, paused; the script sets their position from the scroll offset */
	html.pin.no-sda :is(.hero-copy, .tv-pin, .tv-meta, .hero-glow) { animation-play-state: paused; }
	/* Off screen the banner's four moving parts are switched off, so they do not hold layers for the rest of the page */
	html.pin:not(.no-sda) .hero:not(.is-live) :is(.hero-copy, .tv-pin, .tv-meta, .hero-glow) { animation: none; }
}

/* The closing section behind the page: motion on and a screen at least 560px tall, at every width */
@media (prefers-reduced-motion: no-preference) and (min-height: 560px) {
	html.pin .closing { position: sticky; bottom: 0; z-index: 0; display: grid; align-content: center; height: auto; padding: clamp(28px, 6svh, 72px) 0 clamp(24px, 4svh, 48px); }
	@supports (animation-timeline: view()) {
		html.pin:not(.no-sda) main { timeline-scope: --team; }
		html.pin:not(.no-sda) .team { view-timeline: --team block; view-timeline-inset: 0px; }
		html.pin:not(.no-sda) .team.is-live ~ .closing .closing-glow { animation: closing-glow linear both; animation-timeline: --team; animation-range: exit 0% exit 80%; }
	}
}

@keyframes fade-in { from { opacity: 0; } }
@keyframes settle-in { from { transform: translateY(20px); } }
@keyframes chip-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes person-in { from { opacity: 0; transform: scale(0.6); } }
@keyframes word-in { from { opacity: 0; transform: translateY(0.4em); } }
@keyframes sub-in { from { transform: translateY(12px); } }
@keyframes tv-in { from { transform: translateY(40px) scale(0.96); } }
@keyframes menu-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes tab-fill { to { transform: scaleX(1); } }
@keyframes launch-ring { from { opacity: 0.35; transform: scale(1); } to { opacity: 0; transform: scale(2.6); } }
@keyframes board-fill { from { transform: translateY(-100%); } to { transform: none; } }
@keyframes board-fill-back { from { transform: translateY(100%); } to { transform: none; } }
@keyframes closing-glow { from { opacity: 0; transform: translateY(18%) scale(0.9); } to { opacity: 0.85; transform: none; } }
/* The TV pushes the headline: both rise together, the same distance at the same pace, so the words are never
   cut by the TV and there is never an empty band above it. The stage is clipped at the bar's lower edge, so the
   words slide out of sight there; what is left of them fades just before the TV reaches full size. */
@keyframes hero-copy {
	0% { opacity: 1; transform: none; animation-timing-function: var(--ease-settle); }
	26% { opacity: 1; }
	34.9%, 100% { opacity: 0; transform: translateY(calc(var(--y0, 14svh) * -1)); }
}
@keyframes hero-tv {
	0% { opacity: 1; transform: translateY(var(--y0, 14svh)) scale(var(--s0, 0.8)); animation-timing-function: var(--ease-settle); }
	34.9%, 41.9% { opacity: 1; transform: none; }
	100% { opacity: 0.45; transform: translateY(3%) scale(0.94); }
}
@keyframes hero-meta {
	0% { opacity: 1; transform: translateY(var(--m0, 0px)); animation-timing-function: var(--ease-settle); }
	34.9%, 41.9% { opacity: 1; transform: none; }
	48%, 100% { opacity: 0; transform: none; }
}
@keyframes hero-glow {
	0% { opacity: 0.5; transform: translateY(var(--g0, 0px)) scale(0.88); animation-timing-function: var(--ease-settle); }
	34.9%, 41.9% { opacity: 1; transform: none; }
	100% { opacity: 0.35; transform: none; }
}

/* ---------- Mouse only ---------- */
@media (hover: hover) and (pointer: fine) {
	.nav-links a:hover { opacity: 1; }
	.footer-links a:hover { color: var(--on-dark); }
	.nav-contact:hover { background: var(--white); color: var(--ink); transform: scale(1.03); }
	.button:hover { transform: scale(1.03); }
	.text-link:hover span { transform: translateX(3px); }
	.row-head:hover { background: var(--ink-wash); }
	.row-head:hover .row-thumb:not(.row-thumb--back) { transform: scale(1.04); }
}

/* ---------- Reduced motion: no movement, only short fades on taps ---------- */
@media (prefers-reduced-motion: reduce) {
	.app { transition: opacity 0s linear 150ms, visibility 0s linear 150ms; }
	.app.on { z-index: 1; transition: opacity 150ms linear; }
	.appcap { transition: opacity 150ms linear, visibility 0s linear 150ms; }
	.appcap.on { transition: opacity 150ms linear; }
	.apptabs [data-app]::before, .apptabs [data-app]::after { display: none; }
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
	.row-body, .panel-wrap { transition: none !important; }
}

/* ---------- Windows high contrast ---------- */
@media (forced-colors: active) {
	.plus::before, .plus::after, .tick, .dot { background: CanvasText; }
	.tick::after { border-color: Canvas; }
	.nav-logo svg path[fill="#FFFFFF"] { fill: CanvasText; }
	.seg-thumb { background: Highlight; }
	[role="tab"][aria-selected="true"] { color: HighlightText; }
}

/* Project rows: the client business's logo on a square tile, as LinkedIn shows company logos, and "@ Velope Inc" in the title (owner, 10 Nov 2026) */
.rows .row-mark--logo { display: grid; place-items: center; width: 96px; aspect-ratio: 1; margin: 0; padding: 0; overflow: hidden; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.rows .row-mark--logo img { display: block; width: auto; height: auto; max-width: 88%; max-height: 80%; object-fit: contain; }
.rows .row-mark--logo-fill img { max-width: 100%; max-height: 100%; width: 100%; height: 100%; object-fit: cover; }
.rows .row-mark--logo-wide img { max-width: 92%; }
.rows .row-mark--logo-network { background: #1c1b1a; box-shadow: none; }
.rows--short .row-mark--logo { width: 64px; border-radius: 12px; }
@media (max-width: 1023px) { .rows .row-mark--logo { width: 72px; } .rows--short .row-mark--logo { width: 56px; } }
@media (max-width: 480px) { .rows .row-mark--logo { width: 60px; border-radius: 12px; } .rows--short .row-mark--logo { width: 52px; border-radius: 10px; } }
.row-at { color: var(--muted); font-weight: 500; letter-spacing: -0.01em; white-space: nowrap; }

/* ---------- Carried over from the design canvas (owner's comments, 10 Nov 2026 evening) ---------- */
/* White page with light grey panels: the three numbers and every project row are their own rounded panel */
.rail { gap: 12px; border-bottom: 0; }
.rail-item, .rail-item:first-child { padding: 24px; border-left: 0; border-radius: 24px; background: var(--paper-2); }
.rows { display: grid; gap: 12px; border-bottom: 0; }
.row { border-top: 0; border-radius: 24px; background: var(--paper-2); }
.row-head { min-height: 0; padding: 20px 24px; border-radius: 24px; }
.rows--short .row-head { min-height: 0; padding: 14px 24px; }
.row-body-inner { margin: 0; padding: 0 24px; }
.plus { background: var(--card); }
.rows .row-mark--logo, .rows--short .row-mark--logo { width: 64px; border-radius: 14px; box-shadow: none; }
.closeups .card { box-shadow: 0 1px 2px rgba(20, 20, 19, 0.05), 0 28px 60px -34px rgba(20, 20, 19, 0.3); }
@media (min-width: 900px) { .row-detail { padding: 4px 0 36px 84px; } }
@media (max-width: 619px) {
	.rail { gap: 8px; }
	.rail-item, .rail-item:first-child { padding: 16px 12px; border-radius: 16px; }
	.row, .row-head { border-radius: 18px; }
	.row-head, .rows--short .row-head { padding: 14px; }
	.row-body-inner { padding: 0 14px; }
	.rows .row-mark--logo, .rows--short .row-mark--logo { width: 52px; border-radius: 12px; }
}

/* Team: heading, card and link on one centre line; inside the card the people sit over the clocks at the same width */
.section-head--centre { text-align: center; }
.section-head--centre .lead { max-width: 760px; margin-inline: auto; }
.team-card { display: flex; flex-direction: column; align-items: center; gap: 0; padding: 48px 40px; text-align: center; box-shadow: 0 40px 80px -44px rgba(0, 16, 78, 0.7); }
.team-main { width: 100%; }
.team-people { justify-content: center; gap: 18px 36px; }
.team-people li { display: flex; flex-direction: column; align-items: center; gap: 0; }
.team-people .people { justify-content: center; gap: 6px; }
.team-people .label { margin-top: 8px; }
.team-people .label--pm { color: var(--white); }
.team-people .place { margin-top: 2px; color: #9FB0FF; font-size: 12px; }
/* One mark per person: the two managers are stretched pills of the same size, everyone else a dot */
.mark { display: block; width: 30px; height: 30px; border-radius: 50%; background: var(--white); }
.mark--lead { width: 72px; border-radius: 999px; }
.mark--pm { box-shadow: 0 0 0 3px var(--navy), 0 0 0 5px #FF6257; }
.team-clocks { width: 100%; margin-top: 36px; padding: 30px 0 0; border-top: 1px solid var(--white-18); border-left: 0; grid-template-columns: repeat(4, minmax(0, 200px)); justify-content: center; align-content: normal; gap: 16px 24px; }
.team-more { text-align: center; }
@media (max-width: 619px) {
	.team-card { padding: 32px 20px; }
	.team-clocks { grid-template-columns: 1fr 1fr; }
}

/* The TV: an app can hold more than one screen, and the app's own menu, as drawn in the picture, moves between them */
.app-screen { position: absolute; inset: 0; opacity: 0; visibility: hidden; }
.app-screen.on { opacity: 1; visibility: visible; }
.app-screen:not(.on, .is-primed) { display: none; }
.tv-menu { position: absolute; inset: var(--tv-bezel); z-index: 2; pointer-events: none; }
.tv-hot { position: absolute; left: var(--l); top: var(--t); width: var(--w); height: var(--h); border-radius: var(--r, 999px); pointer-events: auto; }
.tv-hot:hover, .tv-hot:focus-visible { outline: 0; box-shadow: inset 0 0 0 2px var(--white); }
/* A taller pressing area than the drawn menu item, for fingers on a tablet */
.tv-hot::after { content: ''; position: absolute; inset: -10px 0; }
/* On a phone the menu in the picture is too small to press: it stays a picture there */
@media (max-width: 619px) { .tv-menu, .cap-try { display: none; } }
@media (prefers-reduced-motion: no-preference) {
	.app-screen { transition: opacity 0s linear 240ms, visibility 0s linear 240ms; }
	.app-screen.on { z-index: 1; transition: opacity 240ms var(--ease-move); }
}
