:root {
  --panel: #171717;
  --panel-2: #1F1F1F;
  --line: #2E2E2E;
  --line-soft: #242424;
  --line-strong: #4A4A4A;
  --text: #E0E0E0;
  --muted: #9E9E9E;
  --faint: #8A8A8A;
  --disabled: #6B6B6B;
  --accent: #FF4B2B;
  --amber: #E8B84B;
  --green: #4EC9A5;
  --error: #CD1C35;
  --grad: linear-gradient(90deg, #FD8A50, #FF1B1B);
  --mono2: 'Roboto Mono', ui-monospace, Menlo, monospace;
  --wrap: 1240px;
  --edge: max(var(--gutter), calc((100% - var(--wrap)) / 2));
  --glass: rgba(20, 20, 20, 0.64);
  --glass-line: rgba(255, 255, 255, 0.09);
  --glass-blur: blur(24px);
  --glass-top: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  --lift: 0 16px 40px rgba(0, 0, 0, 0.45);
  --hover: #1C1C1C;
  --field-hover: #3A3A3A;
  --r: 8px;
  --ring: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'%3E%3Crect x='.75' y='.75' width='34.5' height='34.5' rx='7.25' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E");
}

body { background: #0F0F0F; color: var(--text); }
.wrap { width: min(var(--wrap), calc(100% - 2 * var(--gutter))); margin: 0 auto; }
#aurora.aurora--off { display: none; }
#aurora { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; height: 100lvh; z-index: 0; display: block; }
#scene { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; height: 100lvh; z-index: 1; pointer-events: none; display: block; }
.vhprobe { position: fixed; top: 0; left: 0; width: 0; visibility: hidden; pointer-events: none; }
.vhprobe--s { height: 100vh; height: 100svh; }
.vhprobe--l { height: 100vh; height: 100lvh; }
main { position: relative; z-index: 2; }

/* Touch screens: the home page scrolls inside .scroller rather than the window (index.html sets .boxed), so Safari's and Chrome's toolbars stay where they are; the box takes main's place in the stack, above the story's canvas */
html.boxed, html.boxed body { height: 100%; overflow: hidden; }
html.boxed .scroller { position: fixed; inset: 0; z-index: 2; overflow-x: hidden; overflow-y: auto; overscroll-behavior-y: contain; }

/* A swipe that starts on a fixed layer scrolls the window, never the box, so in the box the story's fixed words and panel let touches through to the page under them. The opening words, the only ones with buttons, are sticky instead: they sit still exactly as before until they have faded (the opening chapter runs on under the next, so the stage keeps its height), and a swipe on them scrolls the page */
html.boxed .copy.live, html.boxed .dash.live { pointer-events: none; }
html.boxed .copy--hero { position: sticky; }
html.boxed .copy--hero.live { pointer-events: auto; }
html.boxed .chapter--hero { height: 200vh; }
html.boxed .chapter--ready { margin-top: -75vh; }
svg use { pointer-events: none; }

/* Track cards that leave the phone: the app's own now-playing card, kept just under the page so the dashboard slides over them */

.flycards { position: fixed; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.np { position: absolute; left: 0; top: 0; z-index: 1; display: block; transform-origin: 0 0; visibility: hidden; border-radius: 4px; box-shadow: var(--lift); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); }

/* Buttons: the design system's one size, 32 high with 4px corners, see-through so they take the colour behind them; the main action has the gradient ring, the rest the Secondary outline. Hover is the Button's State=Hover: the #1C1C1C fill, and on Secondary the #6B6B6B edge and white text */

.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 32px; max-width: 280px; box-sizing: border-box; padding: 0 12px; border: 0; border-radius: 4px; background: transparent; color: #FFFFFF; font: 500 13px/1 var(--body); white-space: nowrap; cursor: pointer; transition: background-color 0.2s, border-color 0.2s, color 0.2s; }
.btn__icon { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.25s; }
.btn:hover .btn__icon { transform: translateX(3px); }
.btn--primary::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.btn--outline { border: 1px solid var(--line-strong); color: var(--text); }
.btn:hover { background: var(--hover); }
.btn--outline:hover { border-color: var(--disabled); color: #FFFFFF; }

/* A busy button keeps its exact box: its edge and fill go clear, its label stays for its size but is hidden, and a 16px wheel turns in the middle (the design system's Button, State=Loading, as the dashboard draws it) */
.btn[aria-busy='true'] { color: transparent; background: transparent; border-color: transparent; pointer-events: none; }
.btn[aria-busy='true']::before { opacity: 0; }
.btn[aria-busy='true'] > * { opacity: 0; }
.btn[aria-busy='true']::after { content: ''; position: absolute; top: 50%; left: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; box-sizing: border-box; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.14); border-top-color: var(--muted); animation: btn-wheel 0.8s linear infinite; }
.btn--primary[aria-busy='true']::after { border-top-color: var(--accent); }
@keyframes btn-wheel { to { transform: rotate(360deg); } }
.btn:focus-visible, .nav__links a:focus-visible, .nav__menu:focus-visible, .qa__q:focus-visible, .logos a:focus-visible, .trust a:focus-visible, .support a:focus-visible, .post a:focus-visible, .foot a:focus-visible, .contact__mail a:focus-visible { outline: 2px solid rgba(255, 75, 43, 0.7); outline-offset: 2px; }

/* Header: a glass bar that floats over the page */

.nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 30; pointer-events: none; }
.nav__bar { pointer-events: auto; position: relative; width: min(var(--wrap), calc(100% - 2 * var(--gutter))); margin: 0 auto; display: flex; align-items: center; gap: 20px; height: 58px; padding: 0 12px 0 20px; border-radius: 12px; border: 1px solid var(--glass-line); background: var(--glass); box-shadow: var(--glass-top); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); transition: box-shadow 0.3s; }
.nav.scrolled .nav__bar, .nav.open .nav__bar { box-shadow: var(--glass-top), var(--lift); }
.nav__logo img { height: 22px; width: auto; display: block; }
.nav__links { position: absolute; left: 50%; transform: translateX(-50%); display: flex; gap: 2px; }
.nav__links a { position: relative; padding: 8px 8px; font-size: 13px; color: var(--text); white-space: nowrap; transition: color 0.2s; }
.nav__links a::after { content: ''; position: absolute; left: 9px; right: 9px; bottom: 2px; height: 2px; border-radius: 1px; background: var(--grad); transform: scaleX(0); transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.2, 1); }
.nav__links a.on, .nav__links a:hover { color: #FFFFFF; }
.nav__links a.on::after, .nav__links a:hover::after { transform: scaleX(1); }
.nav__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav__menu { display: none; position: relative; width: 32px; height: 32px; border-radius: 4px; border: 1px solid var(--line-strong); background: transparent; cursor: pointer; transition: background-color 0.2s, border-color 0.2s; }
.nav__menu:hover { border-color: var(--disabled); background: var(--hover); }
.nav__menu i { position: absolute; left: 10px; right: 10px; height: 1.5px; border-radius: 1px; background: #FFFFFF; transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.2, 1), top 0.35s; }
.nav__menu i:first-child { top: 11px; }
.nav__menu i:last-child { top: 18px; }
.nav.open .nav__menu i:first-child { top: 14.5px; transform: rotate(45deg); }
.nav.open .nav__menu i:last-child { top: 14.5px; transform: rotate(-45deg); }
.nav__sheet { pointer-events: auto; display: none; width: min(var(--wrap), calc(100% - 2 * var(--gutter))); margin: 8px auto 0; padding: 10px; border-radius: 12px; border: 1px solid var(--glass-line); background: var(--glass); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); box-shadow: var(--glass-top), var(--lift); }
.nav__sheet a:not(.btn) { display: block; padding: 12px; border-radius: 4px; font-family: var(--head); font-size: 20px; line-height: 26px; font-weight: 600; letter-spacing: -0.01em; color: #FFFFFF; transition: background-color 0.2s; }
.nav__sheet a:not(.btn):hover { background: var(--hover); }
.nav__sheet-btns { display: flex; gap: 8px; margin: 8px 12px 6px; }
.nav__sheet-btns .btn { flex: 1; }

/* Type: numbered, spaced capitals over each section, as in the decks */

.eyebrow { display: flex; align-items: center; gap: 14px; font: 500 12px/14px var(--body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--text); }
.eyebrow b { display: inline-flex; align-items: center; gap: 12px; font-family: var(--mono2); font-weight: 500; letter-spacing: 0.02em; color: #FFFFFF; }
.eyebrow b::before { content: ''; width: 26px; height: 2px; border-radius: 1px; background: var(--grad); }
.h2 { font-family: var(--head); font-weight: 600; font-size: 56px; line-height: 58px; letter-spacing: -0.03em; margin: 18px 0 0; max-width: 860px; text-wrap: balance; }
.sub { margin-top: 18px; font-size: 17px; line-height: 27px; color: var(--text); max-width: 620px; }
.badge { position: relative; flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; background: transparent; }

/* The ring is a drawn outline used as a mask: a 1.5px padding mask was rounded differently on each side, so the right side came out half as thick */
.badge::before { content: ''; position: absolute; inset: 0; background: var(--grad); -webkit-mask: var(--ring) center / 100% 100% no-repeat; mask: var(--ring) center / 100% 100% no-repeat; }
.badge svg { width: 16px; height: 16px; fill: none; stroke: #FFFFFF; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* Stage */

.stage { position: relative; }
.chapter--hero { height: 125vh; }
.chapter--ready { height: 160vh; }
.chapter--record { height: 420vh; }
.chapter--file { height: 285vh; }
.chapter--outro { height: 270vh; }

/* Wide screens play the set in less scroll than a screen a beat (main.js BEATS.wide), so its two chapters are shorter */
@media (min-aspect-ratio: 105 / 100) {
  .chapter--ready { height: 141vh; }
  .chapter--record { height: 169vh; }
}
.copy { position: fixed; top: 0; left: 0; right: 0; height: 100vh; height: 100svh; z-index: 3; display: flex; flex-direction: column; justify-content: center; padding: 0 var(--edge); opacity: var(--o, 0); pointer-events: none; visibility: hidden; }
.copy[style*='--o'] { visibility: visible; }
.copy.live { pointer-events: auto; }
.copy > * { max-width: 440px; }
.copy h2 { font-family: var(--head); font-weight: 600; font-size: 56px; line-height: 58px; letter-spacing: -0.03em; margin: 18px 0 18px; text-wrap: balance; }
.copy > p:not(.eyebrow) { font-size: 17px; line-height: 27px; color: var(--text); }
.copy--narrow > * { max-width: 400px; }
.copy--wide > * { max-width: 540px; }

/* 03's title keeps "Matched, verified" on its first line on wide screens, the rest balanced under it */
@media (min-width: 1101px) and (min-aspect-ratio: 105 / 100) {
  .copy--narrow > h2 { max-width: 520px; }
  .h2__rest { display: block; text-wrap: balance; }
}

.feats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 26px; }
.feat { display: grid; grid-template-columns: 36px 1fr; column-gap: 12px; row-gap: 4px; align-items: center; padding: 14px; border-radius: var(--r); background: var(--glass); border: 1px solid var(--glass-line); box-shadow: var(--glass-top); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); }
.feat .badge { grid-row: span 2; align-self: start; }
.feat b { font-size: 14px; line-height: 20px; font-weight: 700; color: #FFFFFF; }
.feat p { grid-column: 2; font-size: 12px; line-height: 16px; color: var(--muted); }

.copy--hero { padding-top: 40px; transform: none; }
.copy--hero > * { max-width: 600px; }
.copy--hero h1 { max-width: 760px !important; font-family: var(--head); font-weight: 600; font-size: 56px; line-height: 58px; letter-spacing: -0.03em; margin: 0 0 18px; color: #FFFFFF; text-wrap: balance; }
.copy--hero .lead { font-size: 17px; line-height: 27px; color: var(--text); max-width: 480px; }
.ctas { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.trust { margin-top: 52px; max-width: 660px !important; }
.trust__logos { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 16px; }

/* Logos are sized by eye, not by box: each carries --k, its height for a square logo of average weight, so wide wordmarks come out shorter and dense marks smaller and every logo reads the same size */
.trust img { height: calc(var(--k, 0.7) * 42px); width: auto; opacity: 0.78; filter: grayscale(1) brightness(1.8); transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.2, 1); }

/* Every society and supporter logo links to its site, and like every hover on the site it grows a little rather than brightening */
.trust__logos a, .support__logos a { display: inline-flex; border-radius: 4px; }
.trust a:hover img, .support a:hover img { transform: scale(1.06); }
.hint { position: absolute; right: var(--edge); bottom: 32px; display: flex; align-items: center; gap: 12px; font-family: var(--mono2); font-size: 11px !important; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint) !important; max-width: none !important; }
.hint span { width: 1px; height: 40px; background: linear-gradient(to bottom, transparent, var(--accent)); position: relative; overflow: hidden; }
.hint span::after { content: ''; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: drip 1.8s cubic-bezier(0.6, 0, 0.3, 1) infinite; }
@keyframes drip { to { top: 110%; } }
.copy--outro { position: absolute; top: auto; bottom: 0; left: 0; right: 0; height: 100vh; height: 100svh; visibility: visible; transform: none; z-index: 2; }
.copy--outro > * { max-width: 760px; }
.outro { font-family: var(--head); font-weight: 600; font-size: 72px !important; line-height: 74px !important; color: #FFFFFF !important; letter-spacing: -0.035em; text-wrap: balance; }

/* Chapter three: the event page from the dashboard redesign */

.dash { position: fixed; z-index: 3; right: var(--edge); top: 50%; width: min(660px, 48vw); display: flex; flex-direction: column; gap: 10px; transform: translateY(-50%) translateY(var(--y, 0px)); opacity: var(--o, 0); visibility: hidden; pointer-events: none; font-family: var(--body); }
.dash[style*='--o'] { visibility: visible; }
.dash.live { pointer-events: auto; }
.dash__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 0 2px 4px; }
.dash__name { font-family: var(--body); font-size: 20px; line-height: 26px; font-weight: 500; letter-spacing: 0; color: #FFFFFF; }
.dash__meta { font-size: 12.5px; line-height: 18px; color: var(--text); margin-top: 2px; }
.dash__roy { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--faint); }
.dash__pill { --dot: #6B6B6B; display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 8px; border: 1px solid var(--glass-line); border-radius: 4px; background: var(--glass); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); font-size: 12px; color: var(--text); white-space: nowrap; }
.dash__pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--dot); transition: background 0.3s; }
.dash__pill b { font-weight: 500; }
.dcard { background: var(--glass); border: 1px solid var(--glass-line); border-radius: var(--r); overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35), var(--glass-top); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); }
.dcard__head { display: flex; align-items: center; gap: 10px; min-height: 44px; box-sizing: border-box; padding: 6px 10px 6px 14px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.dcard__head h3 { font-family: var(--body); font-size: 13px; font-weight: 700; letter-spacing: 0; color: #FFFFFF; }
.dcard__count { min-width: 22px; box-sizing: border-box; text-align: center; font-size: 11px; line-height: 18px; padding: 0 6px; border: 1px solid var(--line); border-radius: 4px; color: var(--muted); }
.dcard__src { margin-left: auto; display: inline-flex; align-items: center; justify-content: space-between; gap: 10px; width: 160px; box-sizing: border-box; height: 30px; padding: 0 8px 0 10px; border: 1px solid #6B6B6B; border-radius: 4px; font-size: 12px; color: #FFFFFF; }
.dcard__src svg { width: 16px; height: 16px; flex: none; }

/* Set audio, as the dashboard's event page draws it: the play button in its flame ring with the time into the set under it, the
   playing track's name over the pins, a bar wave whose played part takes the flame gradient, and the window's times in Mono */

.sa { --now: 10px; --pin: 36px; --wave: 46px; --wave-h: 96px; --axis: 150px; display: grid; grid-template-columns: 60px minmax(0, 1fr); column-gap: 22px; height: 180px; box-sizing: border-box; padding: 0 23px 0 14px; }
.sa__play { display: flex; flex-direction: column; align-items: center; gap: 8px; padding-top: calc(var(--wave) + var(--wave-h) / 2 - 22px); }
.sa__btn { position: relative; display: flex; align-items: center; justify-content: center; gap: 4px; width: 44px; height: 44px; flex: none; border-radius: 50%; }
.sa__btn svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sa__btn i { width: 3.5px; height: 13px; border-radius: 1px; background: #FFFFFF; }
.sa__clock { font-family: 'Roboto Mono', monospace; font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.02em; color: #FFFFFF; white-space: nowrap; }
.sa__main { position: relative; height: 100%; min-width: 0; }
.sa__pins { position: absolute; inset: 0; pointer-events: none; }
.sa__pin { position: absolute; top: var(--pin); width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #9E9E9E; transition: background 0.3s; }
.sa__pin.played, .sa__pin.now { background: #FFFFFF; }
.sa__pin.u, .sa__pin.u.played, .sa__pin.u.now { background: var(--amber); }
.sa__callout { position: absolute; top: var(--now); max-width: 60%; height: 22px; line-height: 22px; padding: 0 9px; box-sizing: border-box; border-radius: 4px; background: var(--panel-2); font-size: 12px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transform: translateX(10px); transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.2, 1), opacity 0.3s; }
.sa__callout.flip { transform: translateX(calc(-100% - 10px)); }
.sa__callout b { color: #FFFFFF; font-weight: 500; margin-right: 6px; }
.sa__callout.u b { color: var(--amber); }
.sa__wave { position: absolute; left: 0; top: var(--wave); display: block; width: 100%; height: var(--wave-h); }
.sa__head { position: absolute; top: var(--now); height: calc(var(--wave) + var(--wave-h) - var(--now)); left: 0; width: 2px; margin-left: -1px; border-radius: 1px; background: #FFFFFF; box-shadow: 0 0 0 3px rgba(255, 75, 43, 0.22); pointer-events: none; }
.sa__ticks { position: absolute; left: 0; right: 0; top: var(--axis); height: 16px; font-family: 'Roboto Mono', monospace; font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.02em; color: var(--faint); }
.sa__ticks span { position: absolute; left: var(--x, 0); }
.sa__ticks span[style] { transform: translateX(-50%); }
.sa__ticks span.r { left: auto; right: 0; }

/* List of Tracks, as the dashboard's track list: small grey capitals over the columns, every column left-aligned */

.dt__th, .dash__row { display: grid; grid-template-columns: 118px 28px minmax(0, 1.25fr) minmax(0, 1fr) 62px; gap: 12px; align-items: center; padding: 0 14px; }
.dt__th { height: 36px; font-size: 10.5px; line-height: 14px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--faint); white-space: nowrap; }
.dt__th span:first-child { display: inline-flex; align-items: center; gap: 4px; }
.dt__th svg { width: 12px; height: 12px; flex: none; }
.dt__th svg path { stroke: var(--faint); }
.dt__th i, .dash__row i { font-style: normal; }
.dash__row { min-height: 36px; border-top: 1px solid var(--line); font-size: 12.5px; color: #FFFFFF; opacity: var(--r, 0); }
.dash__row { position: relative; transition: background 0.35s; }
.dash__row::before { content: ''; position: absolute; left: 0; top: 6px; bottom: 6px; width: 2px; border-radius: 1px; background: var(--grad); opacity: 0; transition: opacity 0.35s; }
.dash__row.now { background: rgba(255, 255, 255, 0.05); }
.dash__row.now::before { opacity: 1; }
.dash__row > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash__row > span:first-child, .dash__row > span:last-child { font-variant-numeric: tabular-nums; }
.dash__row img { width: 28px; height: 28px; border-radius: 3px; object-fit: cover; }

/* Sections */

section:not(.stage) { position: relative; }
.artists, .clients, .partners, .faq { padding: 150px 0; background: rgba(15, 15, 15, 0.9); }
.matters { height: 300vh; background: linear-gradient(to bottom, rgba(15, 15, 15, 0), rgba(15, 15, 15, 0.9) 240px); }
.matters__pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; padding: 88px 0 16px; box-sizing: border-box; }

/* The problem */

.wave { position: relative; margin-top: 56px; height: 220px; }
.wave__canvas { width: 100%; height: 100%; display: block; cursor: crosshair; }
.wave__tip { position: absolute; top: 0; left: 0; padding: 7px 10px; border-radius: var(--r); background: var(--panel-2); border: 1px solid var(--line); font-size: 12px; line-height: 16px; color: var(--text); pointer-events: none; opacity: 0; transform: translate(-50%, -110%); transition: opacity 0.15s; white-space: nowrap; box-shadow: var(--lift); }
.wave__tip.on { opacity: 1; }
.wave__tip b { color: #FFFFFF; font-weight: 500; }
.wave__key { margin-top: 18px; display: flex; align-items: center; gap: 10px 24px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.wave__item { display: inline-flex; align-items: center; gap: 8px; }
.wave__note { order: -1; }
.k { display: inline-block; flex: none; width: 10px; height: 10px; border-radius: 2px; background: var(--line-strong); }
.k--on { background: var(--accent); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 56px; border-top: 1px solid var(--line); }
.stat { padding: 34px 32px 6px 0; }
.stat + .stat { padding-left: 32px; border-left: 1px solid var(--line); }
.stat b { display: block; font-family: var(--head); font-weight: 600; font-size: 72px; line-height: 74px; letter-spacing: -0.035em; color: #FFFFFF; font-variant-numeric: tabular-nums; }
.stat p { margin-top: 12px; font-size: 17px; line-height: 27px; color: var(--muted); max-width: 300px; }
.stat__src { display: block; margin-top: 10px; font-size: 12px; line-height: 16px; color: var(--faint); }

/* How VARS compares: one chart, drawn as you scroll */

.curve { height: 400vh; background: rgba(15, 15, 15, 0.9); }
.curve__pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; padding: 88px 0 16px; box-sizing: border-box; }
.curve__grid { display: grid; grid-template-columns: minmax(300px, 380px) 1fr; gap: 56px; align-items: center; }
.csteps__foot { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.csteps__count { font-family: var(--mono2); font-weight: 500; font-size: 12px; line-height: 16px; letter-spacing: 0.02em; color: var(--faint); font-variant-numeric: tabular-nums; }
.csteps__count b { color: #FFFFFF; font-weight: 500; }
.csteps__bar { display: flex; gap: 4px; flex: 1; max-width: 200px; }
.csteps__bar i { position: relative; flex: 1; height: 3px; border-radius: 2px; overflow: hidden; background: var(--line); }
.csteps__bar i::after { content: ''; position: absolute; inset: 0; background: var(--grad); transform: scaleX(var(--f, 0)); transform-origin: 0 50%; }
.curve__steps { position: relative; min-height: 132px; margin-top: 30px; }
.cstep { position: absolute; inset: 0; opacity: 0; transform: translateY(10px); transition: opacity 0.18s, transform 0.3s; }
.cstep.on { opacity: 1; transform: none; transition: opacity 0.35s 0.16s, transform 0.45s 0.16s; }
.cstep__n { display: flex; align-items: center; gap: 10px; font-family: var(--head); font-size: 20px; line-height: 26px; font-weight: 600; letter-spacing: -0.01em; color: #FFFFFF; margin-bottom: 8px; }
.cstep__n svg { flex: none; width: 16px; height: 16px; fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.cstep p:not(.cstep__n) { font-size: 17px; line-height: 27px; color: var(--text); }
.chart { margin: 0; min-width: 0; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; font-family: var(--body); }
.chart .grid line { stroke: rgba(255, 255, 255, 0.06); }
.chart .grid line.zero { stroke: rgba(255, 255, 255, 0.16); }
.chart .grid text { fill: var(--faint); font-size: 12px; font-variant-numeric: tabular-nums; }
.chart .area { opacity: 0.7; }
.chart .line { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.chart .line--glow { stroke: #FF3D2B; stroke-width: 8; opacity: 0.35; filter: url(#soft-glow); }
.chart .line--vars { stroke: url(#hot); stroke-width: 3.5; }
.chart .line--shazam { stroke: var(--muted); stroke-width: 2; }
.chart .line--mrt { stroke: var(--line-strong); stroke-width: 2; }
.chart .marker { stroke: rgba(255, 255, 255, 0.28); stroke-width: 1; }
.chart .marker__label { fill: #FFFFFF; font-size: 13px; font-weight: 500; text-anchor: middle; font-variant-numeric: tabular-nums; }
.chart .tag__halo { fill: transparent; }
.chart .tag--vars .tag__halo { fill: rgba(255, 75, 43, 0.22); }
.chart .tag__dot { stroke: #0F0F0F; stroke-width: 2.5; }
.chart .tag--vars .tag__dot { fill: #FF4B2B; }
.chart .tag--shazam .tag__dot { fill: var(--muted); }
.chart .tag--mrt .tag__dot { fill: var(--disabled); }
.chart .tag__box { fill: rgba(31, 31, 31, 0.94); stroke: var(--line); }
.chart .tag__name { fill: var(--muted); font-size: 12px; }
.chart .tag__val { fill: #FFFFFF; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.chart figcaption { margin-top: 18px; font-size: 12px; line-height: 16px; color: var(--faint); }

/* The products: one device at a time as you scroll */

.products { height: 325vh; background: rgba(15, 15, 15, 0.9); }
.products__pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; padding: 88px 0 16px; box-sizing: border-box; }
.products__title { max-width: none; }
.products__grid { display: grid; grid-template-columns: minmax(360px, 480px) 1fr; gap: 56px; align-items: center; margin-top: 18px; }
.plist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.prod { padding: 12px 0 12px 16px; border-bottom: 1px solid var(--line); position: relative; cursor: pointer; }
.prod:not(.on):hover h3 { color: var(--text); }
.prod::before { content: ''; position: absolute; left: 0; top: 12px; bottom: 12px; width: 2px; border-radius: 2px; background: #2E2E2E; transition: background 0.3s; }
.prod.on::before { background: var(--grad); }
.ptag { display: inline-flex; align-items: center; box-sizing: border-box; height: 22px; padding: 0 8px; border-radius: 4px; border: 1px solid var(--accent); font-size: 12px; line-height: 16px; color: #FFFFFF; transition: opacity 0.3s; }
.prod h3 { font-family: var(--head); font-weight: 600; font-size: 20px; line-height: 26px; letter-spacing: -0.01em; color: var(--muted); margin-top: 8px; transition: color 0.3s; }
.psub { font-size: 13px; line-height: 19px; color: var(--muted); margin-top: 2px; transition: color 0.3s; }
.prod__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.55s cubic-bezier(0.4, 0, 0.2, 1); }
.prod.on .prod__more { grid-template-rows: 1fr; }
.prod ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; min-height: 0; overflow: hidden; opacity: 0; transition: opacity 0.35s, padding 0.55s cubic-bezier(0.4, 0, 0.2, 1); }
.prod li { position: relative; padding-left: 20px; font-size: 13px; line-height: 19px; color: var(--text); }
.prod li::before { content: ''; position: absolute; left: 1px; top: 5px; width: 8px; height: 4px; border-left: 1.3px solid #FFFFFF; border-bottom: 1.3px solid #FFFFFF; transform: rotate(-45deg); }
.prod:not(.on) .ptag { opacity: 0.45; }
.prod.on h3 { color: #FFFFFF; }
.prod.on .psub { color: var(--text); }
.prod.on ul { opacity: 1; padding-top: 10px; transition-delay: 0.1s, 0s; }

/* Shorter wide windows (a laptop with its browser bars): 04's wave and 06's list tighten, then 06 drops its lead, so the pinned sections always clear the header (04, 05 and 06 centre in the room below it) */
@media (min-aspect-ratio: 105 / 100) and (max-height: 860px) {
  .wave { height: 170px; margin-top: 40px; }
  .plist { margin-top: 16px; }
  .prod { padding: 8px 0 8px 16px; }
  .prod::before { top: 8px; bottom: 8px; }
  .prod h3 { margin-top: 4px; }
}
@media (min-aspect-ratio: 105 / 100) and (max-height: 760px) {
  .wave { height: 130px; margin-top: 32px; }
  .stats { margin-top: 36px; }
  .stat { padding-top: 26px; }
  .stat__src { margin-top: 6px; }
  .products__title { margin-top: 12px; }
  .products__grid { margin-top: 10px; }
  .prod { padding: 6px 0 6px 16px; }
  .prod::before { top: 6px; bottom: 6px; }
}
.products__stage { position: relative; height: min(600px, 68vh); container-type: inline-size; }
.products__dots { position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 8px; }
.products__dots i { width: 6px; height: 6px; border-radius: 2px; background: var(--line-strong); transition: background 0.3s, height 0.3s; }
.products__dots i.on { background: var(--accent); height: 18px; }
.dev { position: absolute; left: 50%; bottom: 8%; margin: 0; opacity: 0; transform: translateX(-50%) translateY(40px) scale(0.97); transition: opacity 0.45s ease, transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1); filter: drop-shadow(0 40px 50px rgba(0, 0, 0, 0.6)); }
.dev.past { transform: translateX(-50%) translateY(-40px) scale(0.97); }
.dev.on { opacity: 1; transform: translateX(-50%); transition: opacity 0.6s ease 0.15s, transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.1s; }
@media (min-width: 721px) {
  .dev { bottom: auto; top: 50%; transform: translate(-50%, -50%) translateY(40px) scale(0.97); }
  .dev.past { transform: translate(-50%, -50%) translateY(-40px) scale(0.97); }
  .dev.on { transform: translate(-50%, -50%); }
}
.dev__screen { position: relative; overflow: hidden; background: #0F0F0F; }
/* The canvas fills its screen exactly and never sizes it: in flow, Safari let the canvas's own pixel size set the screen's width and height, which drew the phone wider than its frame and cut off the tablet's tab bar */
.dev__screen canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.dev--phone { --pr: 35px; --rim: 3.5px; }
.dev--phone .dev__screen { box-sizing: content-box; width: 206px; height: 468px; border-radius: var(--pr); border: 5px solid #000000; }

/* A phone as it is built: the screen at the app's own 375 by 852, a thin black bezel, a titanium rim catching the light at its corners, and the action, volume and side buttons standing just proud of it */
.dev--phone::before { content: ''; position: absolute; z-index: -1; inset: calc(-1 * var(--rim)); border-radius: calc(var(--pr) + var(--rim)); background: linear-gradient(140deg, #6A6A70 0%, #34343A 16%, #232326 48%, #34343A 84%, #5E5E64 100%); box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.22), 0 0 0 0.5px #0A0A0A; }
.dev__key { position: absolute; z-index: -2; left: calc(-1 * var(--rim) - 2.5px); width: 5px; border-radius: 2px; background: linear-gradient(90deg, #26262A, #4A4A50); }
.dev__key--action { top: 19%; height: 5.5%; }
.dev__key--up { top: 28%; height: 9.5%; }
.dev__key--down { top: 40%; height: 9.5%; }
.dev__key--side { left: auto; right: calc(-1 * var(--rim) - 2.5px); top: 31%; height: 14%; background: linear-gradient(270deg, #26262A, #4A4A50); }
.dev--tablet .dev__screen { width: min(632px, 96cqw); aspect-ratio: 632 / 450; box-sizing: border-box; border-radius: 28px; border: 16px solid #0A0A0A; box-shadow: 0 0 0 1.5px #2A2A2C, 0 0 0 4px #141416; }
.dev--pos { display: flex; flex-direction: column; align-items: center; }
.dev--pos .dev__screen { width: min(588px, 96cqw); aspect-ratio: 588 / 353; box-sizing: border-box; border-radius: 18px; border: 14px solid #0A0A0A; border-bottom-width: 24px; box-shadow: 0 0 0 1.5px #2A2A2C, 0 0 0 4px #141416; }
.dev__neck { width: 64px; height: 64px; margin-top: 4px; background: linear-gradient(90deg, #111113, #26262A 45%, #1A1A1D 60%, #111113); clip-path: polygon(14% 0, 86% 0, 100% 100%, 0 100%); }
.dev__base { width: 300px; height: 22px; border-radius: 6px 6px 10px 10px; background: linear-gradient(to bottom, #2A2A2E, #121214); box-shadow: 0 0 0 1px #2A2A2C, inset 0 1px 0 rgba(255, 255, 255, 0.08); }

/* Event Discovery: a laptop with the territory's events on one map, touring them like 07 (discovery.js); everything inside scales with the screen */
.dev--laptop { display: flex; flex-direction: column; align-items: center; }
.dev--laptop .dev__screen { width: min(600px, 88cqw); aspect-ratio: 16 / 10; box-sizing: border-box; border: 12px solid #0A0A0A; border-bottom-width: 16px; border-radius: 16px 16px 6px 6px; box-shadow: 0 0 0 1.5px #2A2A2C, 0 0 0 4px #141416; container-type: inline-size; }
.dev__deck { position: relative; width: min(680px, 100cqw); height: 14px; border-radius: 2px 2px 14px 14px; background: linear-gradient(to bottom, #2E2E32, #121214 70%); box-shadow: 0 0 0 1px #2A2A2C, inset 0 1px 0 rgba(255, 255, 255, 0.1); }
.dev__deck::before { content: ''; position: absolute; left: 50%; top: 0; width: 15%; height: 5px; transform: translateX(-50%); border-radius: 0 0 6px 6px; background: #0C0C0E; }
.ed { position: absolute; inset: 0; display: flex; flex-direction: column; background: #0F0F0F; font-family: var(--body); }
.ed__map { position: relative; flex: 1; overflow: hidden; }
.ed__map canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ed__ring { position: absolute; left: 0; top: 0; width: 0; height: 0; transition: left 0.9s cubic-bezier(0.6, 0, 0.2, 1), top 0.9s cubic-bezier(0.6, 0, 0.2, 1); }
.ed__ring::before { content: ''; position: absolute; left: -0.8cqw; top: -0.8cqw; width: 1.6cqw; height: 1.6cqw; border-radius: 50%; background: #FFFFFF; box-shadow: 0 0 0 0.5cqw rgba(255, 75, 43, 0.6), 0 0 3cqw 0.8cqw rgba(255, 60, 30, 0.7); }
.ed__ring::after { content: ''; position: absolute; left: -2.8cqw; top: -2.8cqw; width: 5.6cqw; height: 5.6cqw; box-sizing: border-box; border-radius: 50%; border: 1.5px solid rgba(255, 75, 43, 0.8); animation: ping 1.8s cubic-bezier(0, 0.4, 0.6, 1) infinite; }
.ed__card { position: absolute; left: 0; top: 0; width: 34cqw; box-sizing: border-box; padding: 1.5cqw 2cqw 1.7cqw; border-radius: 1.2cqw; background: var(--glass); border: 1px solid var(--glass-line); box-shadow: var(--glass-top), 0 2cqw 5cqw rgba(0, 0, 0, 0.55); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: opacity 0.45s ease, transform 0.6s cubic-bezier(0.2, 0.9, 0.2, 1); }
.ed__card.out { opacity: 0; transform: translateY(0.6cqw) scale(0.98); transition: opacity 0.3s ease, transform 0.3s ease; }
.ed__when { font-size: 1.55cqw; line-height: 2.2cqw; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); }
.ed__name { margin-top: 0.4cqw; font-family: var(--head); font-weight: 600; font-size: 2.5cqw; line-height: 3.2cqw; letter-spacing: -0.01em; color: #FFFFFF; }
.ed__when, .ed__name, .ed__place { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ed__place { margin-top: 0.2cqw; font-size: 1.85cqw; line-height: 2.6cqw; color: var(--muted); }

/* A small laptop (tall screens, phones) draws the card's words larger, so they stay readable */
@container (max-width: 440px) {
  .ed__card { width: 50cqw; padding: 2cqw 2.6cqw 2.3cqw; }
  .ed__when { font-size: 2.3cqw; line-height: 3.2cqw; }
  .ed__name { font-size: 3.6cqw; line-height: 4.6cqw; }
  .ed__place { font-size: 2.7cqw; line-height: 3.8cqw; }
}

/* Where has Vollou been used: every place on one map, a tour that runs by itself */

.where { padding: 150px 0; background: rgba(15, 15, 15, 0.9); overflow: hidden; }
.where__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.where__stats { display: flex; gap: 0; margin: 0; }
.where__stats div { padding: 0 28px; border-left: 1px solid var(--line); }
.where__stats div:first-child { border-left: 0; padding-left: 0; }
.where__stats dt { font-size: 12px; line-height: 14px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.where__stats dd { margin: 8px 0 0; font-family: var(--head); font-weight: 600; font-size: 40px; line-height: 44px; letter-spacing: -0.025em; color: #FFFFFF; }
.bigmap { position: relative; margin-top: 56px; }
.bigmap__map { position: relative; aspect-ratio: 1000 / 487; cursor: crosshair; }
.bigmap__map.pick { cursor: pointer; }
.bigmap__dots { position: absolute; inset: 0; width: 100%; height: 100%; }
.bigmap__ring { position: absolute; left: 0; top: 0; width: 0; height: 0; transition: left 0.9s cubic-bezier(0.6, 0, 0.2, 1), top 0.9s cubic-bezier(0.6, 0, 0.2, 1); }
.bigmap__map.snap .bigmap__ring, .bigmap__map.snap .bigmap__card { transition: none; }
.bigmap__ring::before { content: ''; position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 0 0 4px rgba(255, 75, 43, 0.6), 0 0 24px 6px rgba(255, 60, 30, 0.7); }
.bigmap__ring::after { content: ''; position: absolute; left: -22px; top: -22px; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255, 75, 43, 0.8); animation: ping 1.8s cubic-bezier(0, 0.4, 0.6, 1) infinite; }
@keyframes sheetin { from { opacity: 0; transform: translateY(-6px); } }
@keyframes ping { 0% { transform: scale(0.3); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.bigmap__card { position: absolute; left: 0; top: 0; z-index: 2; display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 14px; align-items: center; width: 320px; height: 108px; box-sizing: border-box; padding: 0 14px 0 0; border-radius: var(--r); overflow: hidden; background: var(--glass); border: 1px solid var(--glass-line); box-shadow: var(--glass-top), 0 24px 60px rgba(0, 0, 0, 0.55); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); transition: opacity 0.45s ease, transform 0.6s cubic-bezier(0.2, 0.9, 0.2, 1); }
.bigmap__card.out { opacity: 0; transform: translateY(6px) scale(0.98); transition: opacity 0.3s ease, transform 0.3s ease; }
.bigmap__img { position: relative; align-self: stretch; overflow: hidden; background: var(--panel); }
.bigmap__txt { min-width: 0; padding: 12px 0; }
.bigmap__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bigmap__when { font-size: 10.5px; line-height: 14px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); }
.bigmap__name { font-family: var(--head); font-weight: 600; font-size: 17px; line-height: 22px; letter-spacing: -0.01em; color: #FFFFFF; margin-top: 2px; }

/* Four lines at most, each on one line and cut short with an ellipsis */
.bigmap__when, .bigmap__name, .bigmap__city, .bigmap__meta { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bigmap__city { font-size: 13px; line-height: 19px; color: var(--muted); margin-top: 2px; }
.bigmap__meta { font-size: 12px; line-height: 16px; color: var(--muted); margin-top: 4px; }
.bigmap__meta[hidden] { display: none; }
.bigmap__card.text { grid-template-columns: minmax(0, 1fr); width: 248px; height: auto; padding: 0 14px; }
.bigmap__card.text .bigmap__img { display: none; }
.bigmap__card.wait img { opacity: 0; }

/* Lighter work for small screens and slow devices, and a plain page when there is no WebGL */

@media (max-width: 720px) { :root { --glass-blur: blur(12px); } }
html.lite { --glass-blur: blur(10px); }
html.lite .np { backdrop-filter: none; -webkit-backdrop-filter: none; }
html.no-webgl #scene, html.no-webgl .flycards, html.no-webgl .hint { display: none; }
html.no-webgl .chapter { height: auto; }
html.no-webgl .copy { position: relative; inset: auto; opacity: 1; visibility: visible; transform: none; padding: 110px var(--edge) 30px; pointer-events: auto; justify-content: flex-start; }
html.no-webgl .copy::before { display: none; }
html.no-webgl .copy--hero { padding-top: 150px; }
html.no-webgl .copy--outro { height: auto; padding: 40px var(--edge) 120px; }
html.no-webgl .dash { position: relative; inset: auto; width: auto; max-width: 760px; margin: 0 var(--edge) 40px; opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
html.no-webgl .dash__row { opacity: 1; }
html.no-webgl .sa { display: none; }

/* Artists: two lines of a festival poster, moving in opposite directions */

.artists { overflow: hidden; }
.lineup { margin-top: 56px; display: flex; flex-direction: column; gap: 4px; }
.lineup__row { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.lineup__track { display: flex; width: max-content; will-change: transform; }
.la { display: inline-flex; align-items: center; padding: 0 0.3em; font-family: var(--head); font-weight: 600; font-size: 72px; line-height: 84px; letter-spacing: -0.035em; white-space: nowrap; color: #FFFFFF; cursor: default; }
.la__sep { flex: none; align-self: center; width: 0.12em; height: 0.12em; margin: 0 0.14em; border-radius: 50%; background: var(--line-strong); font-size: 72px; }
.lineup__row--dim .la { color: var(--disabled); }

/* How our clients use Vollou: one card for each kind of client */

.ac3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 56px; }
.ac { display: flex; flex-direction: column; border-radius: var(--r); border: 1px solid var(--glass-line); background: var(--glass); box-shadow: var(--glass-top); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); overflow: hidden; transition: transform 0.5s cubic-bezier(0.2, 0.9, 0.2, 1); }
.ac:hover { transform: scale(1.015); }
.ac__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--panel); }
.ac__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ac__img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(15, 15, 15, 0) 45%, rgba(23, 23, 23, 0.9)); pointer-events: none; }
.ac__body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 22px; }
.ac__who { display: flex; align-items: center; gap: 12px; font-size: 12px; line-height: 14px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text); }
.ac h3 { font-family: var(--head); font-weight: 600; font-size: 20px; line-height: 26px; letter-spacing: -0.01em; color: #FFFFFF; margin: 18px 0 18px; text-wrap: balance; }

/* Three across, every title keeps two lines of room so the bullets line up */
@media (min-width: 1101px) { .ac h3 { min-height: 52px; } }
.ac ul { list-style: none; margin: 0 0 24px; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.ac li { display: grid; grid-template-columns: 16px 1fr; gap: 10px; font-size: 13px; line-height: 19px; color: var(--text); }
.ac li svg { width: 16px; height: 16px; margin-top: 1px; fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ac .btn { margin-top: auto; align-self: flex-start; }

/* Our current partners, each a link to the society */

.logos { list-style: none; margin: 60px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.logos--7 { grid-template-columns: repeat(7, 1fr); gap: 8px; }
.logos a { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 22px 10px 16px; }
.logos__box { height: 64px; width: 100%; display: grid; place-items: center; }
.logos__box img { height: calc(var(--k, 0.7) * 54px); width: auto; max-width: 100%; object-fit: contain; opacity: 0.8; filter: grayscale(1); transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.2, 1); }
.logos a:hover img { transform: scale(1.05); }
.logos__box + span { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; line-height: 16px; color: var(--muted); }
.logos__box + span svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; opacity: 0; transform: translate(-3px, 3px); transition: opacity 0.2s, transform 0.25s; }
.logos a:hover .logos__box + span svg { opacity: 1; transform: none; }
/* Supported by and the technology partners, side by side in one band, the second wrapping under the first where the row runs out */
.backers { display: flex; flex-wrap: wrap; gap: 40px 96px; margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line); }
.support__logos { display: flex; align-items: center; gap: 24px 44px; flex-wrap: wrap; min-height: 48px; margin-top: 20px; }
.support img { height: calc(var(--k, 0.7) * 48px); width: auto; object-fit: contain; opacity: 0.8; filter: grayscale(1); transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.2, 1); }

/* FAQs: one answer open at a time, animated, with room kept for the longest */

.faq__grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 64px; align-items: start; }
.faq__list { border-top: 1px solid var(--line); min-height: var(--reserve, auto); }
.qa { border-bottom: 1px solid var(--line); }
.qa__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 0; text-align: left; font-family: var(--head); font-weight: 600; font-size: 20px; line-height: 26px; letter-spacing: -0.01em; color: #FFFFFF; cursor: pointer; }
.qa__q i { position: relative; flex: none; width: 28px; height: 28px; box-sizing: border-box; border-radius: 4px; border: 1px solid var(--line-strong); transition: background-color 0.2s, border-color 0.2s; }
.qa__q:hover i { border-color: var(--disabled); background: var(--hover); }
.qa__q i::before, .qa__q i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; margin: -0.75px 0 0 -5px; background: #FFFFFF; transition: transform 0.45s cubic-bezier(0.2, 0.9, 0.2, 1); }
.qa__q i::after { transform: rotate(90deg); }
.qa.open .qa__q i::after { transform: rotate(0deg); }
.qa.open .qa__q i::before { transform: rotate(180deg); }
.qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s cubic-bezier(0.2, 0.9, 0.2, 1); }
.qa__a > div { overflow: hidden; min-height: 0; }
.qa.open .qa__a { grid-template-rows: 1fr; }
.qa__a p { padding: 0 48px 18px 0; margin-top: -4px; font-size: 15px; line-height: 24px; color: var(--text); opacity: 0; transform: translateY(-8px); transition: opacity 0.25s, transform 0.4s cubic-bezier(0.2, 0.9, 0.2, 1); }
.qa.open .qa__a p { opacity: 1; transform: none; transition-delay: 0.12s; }

/* The closing band: one line and one main button, over the glow that runs on into the footer */

.join { position: relative; padding: 150px 0; overflow: hidden; background: linear-gradient(to bottom, rgba(15, 15, 15, 0.9), rgba(15, 15, 15, 0) 70%); }
.join__inner { position: relative; z-index: 1; }
.join__inner { text-align: center; }
.join h2 { font-family: var(--head); font-weight: 600; font-size: 72px; line-height: 74px; letter-spacing: -0.035em; max-width: 860px; margin: 0 auto; text-wrap: balance; color: #FFFFFF; }
.join__sub { margin: 18px auto 0; font-size: 17px; line-height: 27px; color: var(--text); max-width: 560px; }
.join .btn { margin-top: 18px; }
.foot { position: relative; z-index: 2; padding: 66px 0 40px; }
.foot::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad); }
.foot__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 48px; flex-wrap: wrap; }
.foot__brand { max-width: 330px; }
.foot__brand img { height: 24px; width: auto; display: block; }
.foot__brand p { margin: 18px 0 24px; font-size: 13px; line-height: 19px; color: var(--text); }
.foot__cols { display: grid; grid-template-columns: repeat(4, auto); gap: 24px 64px; }
.foot__cols h4 { font-family: var(--body); font-size: 14px; line-height: 20px; font-weight: 700; letter-spacing: 0; color: #FFFFFF; margin: 0 0 6px; }
.foot__cols a { display: block; padding: 5px 0; font-size: 13px; line-height: 19px; color: var(--muted); transition: color 0.2s; }
.foot__cols a:hover { color: #FFFFFF; }
.foot__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line-soft); font-size: 12px; line-height: 16px; color: var(--faint); }

/* News and contact pages */

.subpage { position: relative; z-index: 2; }
.hero-sub { padding: 190px 0 44px; }
.hero-sub h1, .contact__head h1 { font-family: var(--head); font-weight: 600; font-size: 72px; line-height: 74px; letter-spacing: -0.035em; margin: 18px 0 0; max-width: 900px; text-wrap: balance; color: #FFFFFF; }
.hero-sub .sub { margin-top: 18px; }
.newslist, .contact { padding: 0 0 150px; }

/* A news card grows as a whole on hover, words and photo together, like the client cards */
.post { display: flex; flex-direction: column; gap: 14px; transition: transform 0.5s cubic-bezier(0.2, 0.9, 0.2, 1); }
.post:hover { transform: scale(1.015); }
.post--featured:hover { transform: scale(1.008); }
.post__img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--r); background: var(--panel); }
.post__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.post__body { display: flex; flex-direction: column; flex: 1; gap: 14px; }
.post__meta { display: flex; align-items: center; gap: 10px; font-size: 12px; line-height: 16px; color: var(--muted); }
.post__tag { display: inline-flex; align-items: center; box-sizing: border-box; height: 22px; padding: 0 8px; border-radius: 4px; border: 1px solid var(--accent); color: #FFFFFF; }
.post h2 { font-family: var(--head); font-weight: 600; font-size: 20px; line-height: 26px; letter-spacing: -0.01em; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post h2 a { color: #FFFFFF; }
.post__sum { font-size: 13px; line-height: 19px; color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post__more { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; line-height: 19px; font-weight: 500; color: #FFFFFF; }
.post__more svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.25s; }
.post:hover .post__more svg { transform: translateX(4px); }
.post--featured { display: grid; grid-template-columns: minmax(0, 688fr) minmax(0, 552fr); align-items: center; gap: 40px; margin-bottom: 56px; }
.post--featured .post__img { aspect-ratio: auto; height: 464px; }
.post--featured h2 { font-size: 28px; line-height: 32px; letter-spacing: -0.02em; -webkit-line-clamp: 3; }
.post--featured .post__sum { font-size: 17px; line-height: 27px; -webkit-line-clamp: 3; }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 14px; }


/* Article pages */

.art { padding: 190px 0 40px; }
.art .wrap { max-width: 860px; }
.art__back { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; line-height: 19px; font-weight: 500; color: var(--text); }
.art__back svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transform: rotate(180deg); transition: transform 0.25s; }
.art__back:hover svg { transform: rotate(180deg) translateX(3px); }
.art__meta { margin-top: 30px; }
.art h1 { font-family: var(--head); font-weight: 600; font-size: 56px; line-height: 58px; letter-spacing: -0.03em; margin: 18px 0 0; text-wrap: balance; color: #FFFFFF; }
.art__hero { position: relative; margin: 40px 0 0; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: var(--panel); }
.art__hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.art__body { box-sizing: border-box; max-width: 860px; margin: 40px auto 0; padding: 44px 44px 24px; border-radius: var(--r); background: var(--glass); border: 1px solid var(--glass-line); box-shadow: var(--glass-top); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); }
.art__body p { font-size: 17px; line-height: 27px; color: var(--text); margin: 0 0 20px; }
.art__body h2 { font-family: var(--head); font-weight: 600; font-size: 28px; line-height: 32px; letter-spacing: -0.02em; color: #FFFFFF; margin: 42px 0 14px; }
.art__body h3 { font-family: var(--head); font-weight: 600; font-size: 20px; line-height: 26px; letter-spacing: -0.01em; color: #FFFFFF; margin: 30px 0 10px; }
.art__body h4 { font-family: var(--body); font-weight: 500; font-size: 15px; line-height: 22px; color: #FFFFFF; margin: 22px 0 8px; }
.art__body > :first-child { margin-top: 0; }
.art__body figure { margin: 32px 0; }
.art__body figure img { width: 100%; height: auto; border-radius: 4px; }
.art__body blockquote { margin: 34px 0; padding: 4px 0 4px 22px; border-left: 2px solid #FF4B2B; }
.art__body blockquote p { font-family: var(--head); font-size: 21px; line-height: 1.5; letter-spacing: -0.01em; color: #FFFFFF; margin: 0 0 12px; }
.art__body cite { font-style: normal; font-size: 13px; line-height: 19px; color: var(--muted); }
.art__more { padding-top: 70px; }
.art__moreh { font-family: var(--head); font-weight: 600; font-size: 28px; line-height: 32px; letter-spacing: -0.02em; color: #FFFFFF; margin-bottom: 24px; }

/* Contact: the page header on the left and the Form card on the right, stacked on phones */

.contact { padding: 190px 0 150px; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 64px; align-items: start; }
.contact__head .sub { margin-top: 18px; max-width: 440px; }
.dform { position: relative; overflow: hidden; background: var(--glass); border: 1px solid var(--glass-line); border-radius: var(--r); box-shadow: var(--glass-top), 0 30px 80px rgba(0, 0, 0, 0.35); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); font-size: 13px; }
.dform::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--grad); }
.dform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dform__head { display: flex; flex-direction: column; gap: 3px; padding: 18px 20px 16px; border-bottom: 1px solid var(--line-soft); }
.dform__head h2 { font-family: var(--body); font-size: 14px; line-height: 20px; font-weight: 700; letter-spacing: 0; color: #FFFFFF; }
.dform__head p { font-size: 12px; line-height: 16px; color: var(--muted); }
.dform__body { display: flex; flex-direction: column; gap: 16px; padding: 20px; }
.dlabel { position: relative; display: flex; flex-direction: column; gap: 6px; max-width: 400px; font-size: 12px; line-height: 16px; color: var(--muted); }
.dopt { color: var(--disabled); }
.dfield { width: 100%; box-sizing: border-box; height: 32px; padding: 0 10px; border: 1px solid var(--line); border-radius: 4px; background: transparent; color: #FFFFFF; font: 400 13px/1.45 var(--body); transition: border-color 0.2s; }
textarea.dfield { height: auto; min-height: 120px; padding: 8px 10px; resize: vertical; }
.dfield::placeholder { color: var(--disabled); opacity: 1; }
.dfield:hover { border-color: var(--field-hover); }
.dfield:focus { outline: none; border-color: var(--disabled); }
.dform.tried .dfield:invalid { border-color: var(--error); }
.dsel__btn { display: flex; align-items: center; gap: 8px; text-align: left; cursor: pointer; color: var(--disabled); }
.dsel.chosen .dsel__btn { color: #FFFFFF; }
.dsel__btn[aria-expanded='true'] { border-color: var(--disabled); }
.dsel__val { flex: 1; }
.dsel__btn svg { flex: none; width: 10px; height: 10px; fill: none; stroke: var(--muted); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.2s; }
.dsel__btn[aria-expanded='true'] svg { transform: rotate(180deg); }
.dsel__list { position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 5; padding: 4px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel-2); box-shadow: var(--lift); }
.dsel__opt { display: flex; align-items: center; gap: 8px; width: 100%; height: 30px; padding: 0 10px; border: 0; border-radius: 4px; background: transparent; color: #E0E0E0; font: 400 13px var(--body); text-align: left; cursor: pointer; justify-content: space-between; }
.dsel__opt:hover { background: #1C1C1C; }
.dsel__opt[aria-selected='true'] { background: #2A2A2A; color: #FFFFFF; }
.dsel__opt svg { width: 12px; height: 12px; fill: none; stroke: #FFFFFF; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; visibility: hidden; }
.dsel__opt[aria-selected='true'] svg { visibility: visible; }
.dform__foot { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-top: 1px solid var(--line-soft); }
.dform__note { font-size: 12px; line-height: 16px; color: var(--muted); }
.dform__foot .btn { flex: none; margin-left: auto; }
.dform__done { display: flex; align-items: center; gap: 10px; margin: 0 20px 18px; padding: 12px 14px; border-radius: 4px; border: 1px solid var(--line); font-size: 13px; line-height: 19px; color: #FFFFFF; }
.dform__done::before { content: ''; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.dform__done[hidden] { display: none; }
.dform.sent .dform__body, .dform.sent .dform__foot { opacity: 0.4; pointer-events: none; }
.dlabel__err { font-size: 12px; line-height: 16px; color: var(--error); }
.dform__err { color: var(--error); }
.dform__err[hidden], .dlabel__err[hidden] { display: none; }
.dform__check:empty { display: none; }
.dtrap { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* About: the founders beside the opening words, the photo's top level with the eyebrow so the title sits where every page header does; the team, the advisors smaller, then a way in */
.about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 64px; align-items: start; }
.about__photo { margin: 0; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--panel); }
.about__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.team { padding: 72px 0 150px; }
.people { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 24px; }
.people--founders { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 640px; }
.people--adv { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 32px 20px; }
.person img { display: block; width: 100%; height: auto; aspect-ratio: 1; border-radius: var(--r); object-fit: cover; filter: grayscale(1); background: var(--panel); }
.person h3 { margin: 14px 0 0; font-family: var(--head); font-weight: 600; font-size: 20px; line-height: 26px; letter-spacing: -0.01em; color: #FFFFFF; }
.person p { margin: 4px 0 0; font-size: 13px; line-height: 19px; color: var(--muted); }
.people--adv h3 { font-size: 17px; line-height: 23px; }
.team__adv { margin-top: 110px; }
.jt { margin-top: 110px; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 36px 40px; border-radius: var(--r); background: var(--glass); border: 1px solid var(--glass-line); box-shadow: var(--glass-top); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); }
.jt h2 { margin: 0; font-family: var(--head); font-weight: 600; font-size: 28px; line-height: 32px; letter-spacing: -0.02em; color: #FFFFFF; }
.jt p { margin: 10px 0 0; max-width: 560px; font-size: 17px; line-height: 27px; color: var(--text); }
.jt .btn { flex: none; }
.contact__mail { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 22px; font-size: 13px; line-height: 19px; color: var(--muted); }
.contact__sep { width: 3px; height: 3px; border-radius: 50%; background: #4A4A4A; }
.contact__mail a { color: #FFFFFF; border-bottom: 1px solid rgba(255, 255, 255, 0.28); transition: border-color 0.2s; }
.contact__mail a:hover { border-bottom-color: var(--accent); }


/* Tall screens: the phone above, words below */

@media (max-aspect-ratio: 105 / 100) {
  .copy { justify-content: flex-end; padding-bottom: 6svh; transform: none; }
  .copy::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 60%; background: linear-gradient(to top, rgba(15, 15, 15, 0.97) 58%, rgba(15, 15, 15, 0)); z-index: -1; }
  .copy > *, .copy--narrow > *, .copy--wide > * { max-width: 620px; }
  .copy h2 { margin: 12px 0 10px; }
  .eyebrow { gap: 10px; }
  .feats { gap: 6px; margin-top: 14px; }
  .feat { padding: 10px 12px; column-gap: 10px; }
  .feat p { display: none; }
  .copy--hero { justify-content: flex-end; padding-bottom: 7vh; }
  .copy--hero::before { height: 72%; }
  .copy--hero h1 { margin: 0 0 14px; }
  .ctas { margin-top: 22px; }
  .trust { margin-top: 26px; }
  .trust__logos { gap: 16px; margin-top: 12px; }
  .trust img { height: calc(var(--k, 0.7) * 34px); }
  .hint { display: none; }
  .copy--outro::before { display: none; }
  .dash { right: 50%; transform: translate(50%, var(--y, 0px)) scale(var(--s, 1)); transform-origin: 50% 0; top: 76px; width: calc(100vw - 2 * var(--gutter)); gap: 8px; }
  .copy--outro { justify-content: center; padding-bottom: 0; }
  .dash__top { display: none; }
  .dcard__src { display: none; }
  .sa { --now: 4px; --pin: 30px; --wave: 40px; --wave-h: 64px; --axis: 110px; height: 132px; grid-template-columns: 52px minmax(0, 1fr); column-gap: 8px; padding: 0 10px 0 6px; }
  .sa__play { gap: 6px; padding-top: calc(var(--wave) + var(--wave-h) / 2 - 18px); }
  .sa__btn { width: 36px; height: 36px; gap: 3px; }
  .sa__btn i { width: 3px; height: 11px; }
  .sa__clock { font-size: 10px; line-height: 14px; letter-spacing: 0; }
  .sa__callout { font-size: 10.5px; height: 20px; line-height: 20px; padding: 0 7px; }
  .sa__ticks { font-size: 10px; letter-spacing: 0; }
  .sa__ticks span:nth-child(3) { display: none; }
  .dt__th, .dash__row { grid-template-columns: 38px 24px minmax(0, 1fr) 64px; gap: 10px; padding: 0 10px; }
  .dt__th span:nth-child(4), .dash__row > span:nth-child(4), .dt__th i, .dash__row i { display: none; }
  .dash__row { min-height: 32px; }
  .dash__row img { width: 24px; height: 24px; }
  .curve__grid, .products__grid { grid-template-columns: 1fr; gap: 20px; }
  .curve__pin, .products__pin { align-items: flex-start; padding-top: 90px; }
  .curve__steps { min-height: 108px; margin-top: 14px; }
  .chart figcaption { display: none; }
  .plist { margin-top: 14px; }
  .prod { padding: 8px 0 8px 14px; }
  .prod:not(.on) { display: none; }
  .products__stage { height: 50vh; }
  .dev--phone { --pr: 27px; --rim: 3px; }
  .dev--phone .dev__screen { width: 160px; height: 363.5px; border-width: 4px; }
  .dev--tablet .dev__screen { width: min(350px, 96cqw); aspect-ratio: 350 / 250; border-radius: 18px; border-width: 10px; }
  .dev--pos .dev__screen { width: min(338px, 96cqw); aspect-ratio: 338 / 204; border-radius: 12px; border-width: 9px; border-bottom-width: 15px; }
  .dev__neck { width: 40px; height: 36px; }
  .dev__base { width: 170px; height: 14px; }
  .dev--laptop .dev__screen { width: min(400px, 92cqw); border-width: 8px; border-bottom-width: 11px; border-radius: 11px 11px 4px 4px; }
  .dev__deck { width: min(452px, 100cqw); height: 10px; }
  .products__dots { right: -6px; }
}

@media (max-width: 1139px) {
  .nav__links { position: static; transform: none; margin: 0 auto; }
}

@media (max-width: 999px) {
  .nav__links { display: none; }
  .nav__menu { display: block; }
  .nav.open .nav__sheet { display: block; animation: sheetin 0.35s cubic-bezier(0.2, 0.9, 0.2, 1); }
}

@media (max-width: 1100px) {
  .h2, .copy h2, .join h2, .hero-sub h1, .contact__head h1, .art h1, .stat b { font-size: 40px; line-height: 44px; letter-spacing: -0.025em; }
  .outro { font-size: 40px !important; line-height: 44px !important; letter-spacing: -0.025em; }
  .la, .la__sep { font-size: 40px; }
  .la { line-height: 48px; }
  .hero-sub, .art, .contact { padding-top: 130px; }
  .contact__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .about__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .art__body { padding: 36px 36px 16px; }
  .about__photo { max-width: 520px; }
  .people--adv { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .posts { grid-template-columns: 1fr 1fr; }
  .post--featured { grid-template-columns: 1fr; gap: 14px; }
  .post--featured .post__img { height: auto; aspect-ratio: 16 / 10; }
  .ac3 { grid-template-columns: 1fr; max-width: 560px; }
  .logos, .logos--7 { grid-template-columns: repeat(4, 1fr); }
  .faq__grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 720px) {
  .h2, .copy h2, .copy--hero h1, .join h2, .hero-sub h1, .contact__head h1, .art h1 { font-size: 32px; line-height: 34px; letter-spacing: -0.03em; }
  .outro { font-size: 32px !important; line-height: 34px !important; letter-spacing: -0.03em; }
  .hero-sub { padding: 130px 0 44px; }
  .dform__row { grid-template-columns: 1fr; }
  .art__body { margin-top: 28px; padding: 24px 16px 4px; }
  .art__body h2 { font-size: 24px; line-height: 28px; margin-top: 34px; }
  .team { padding: 48px 0 100px; }
  .people, .people--adv { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
  .team__adv, .jt { margin-top: 72px; }
  .jt { flex-direction: column; align-items: flex-start; gap: 20px; padding: 24px 20px; }
  .jt h2 { font-size: 24px; line-height: 28px; }
  .posts { grid-template-columns: 1fr; }
  .newslist, .contact { padding-bottom: 100px; }
  .nav { top: 10px; }
  .nav__bar { height: 52px; gap: 12px; padding: 0 8px 0 14px; }
  .nav__login { display: none; }
  .artists, .clients, .partners, .faq, .where { padding: 100px 0; }
  .matters__pin { padding-top: 56px; }
  .wave { height: 150px; }
  .stats { grid-template-columns: 1fr; margin-top: 0; border-top: 0; }
  .stat { padding: 24px 0; }
  .stat + .stat { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .stat p { margin-top: 8px; }
  .where__stats div { padding: 0 18px; }
  .where__stats dd { font-size: 32px; line-height: 34px; letter-spacing: -0.03em; }
  .bigmap { margin-top: 36px; padding-bottom: 140px; }
  .bigmap__card { left: 0 !important; top: calc(100% + 18px) !important; width: 100%; height: 96px; box-sizing: border-box; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; padding-right: 12px; transition: none; }
  .bigmap__txt { padding: 8px 0; }
  .bigmap__when { font-size: 10px; line-height: 13px; }
  .bigmap__name { font-size: 15px; line-height: 19px; margin-top: 1px; }
  .bigmap__city { font-size: 12px; line-height: 17px; }
  .bigmap__meta { font-size: 11px; line-height: 15px; margin-top: 4px; }
  .la, .la__sep { font-size: 32px; }
  .la { line-height: 40px; }
  .logos, .logos--7 { grid-template-columns: repeat(2, 1fr); gap: 8px 12px; margin-top: 36px; }
  .logos--7 li:last-child { grid-column: 1 / -1; }
  .logos a { padding: 14px 4px; }
  .logos__box { height: 60px; }
  .logos__box img { height: calc(var(--k, 0.7) * 52px); }
  .support__logos { gap: 20px 32px; min-height: 0; }
  .backers { gap: 32px; }
  .support img { height: calc(var(--k, 0.7) * 42px); }
  .qa__a p { padding-right: 0; }
  .join { padding: 100px 0; }
  .foot { padding-top: 50px; }
  .foot__cols { grid-template-columns: 1fr 1fr; gap: 20px 24px; }
}

/* Short phone screens: a class set once from the small viewport, never a height media query (those flip as Safari's bar collapses) */

html.short .copy { padding-bottom: 4vh; }
html.short .copy--hero { padding-bottom: 5vh; }
html.short .copy--hero h1 { margin-bottom: 10px; }
html.short .ctas { margin-top: 16px; }
html.short .trust { display: none; }
html.short .copy h2 { margin: 10px 0 8px; }
html.short .feats { display: none; }
html.short .dt__th { display: none; }
html.short .dash__row { border-top: 0; border-bottom: 1px solid var(--line-soft); }


/* Phones: plain native scrolling, nothing snapped or taken over (snapping on the page fought iOS: swipes that did nothing, then a jump of several steps). Instead every beat of the story and every step of 04 and 05 gets about a screen and a quarter of scroll (each of 06's products a little under a screen) and holds still through most of it, so a swipe moves the page as far as the finger does and changes one thing at most */

a, button { -webkit-tap-highlight-color: transparent; }

/* Phones: 04 holds the wave for its screens and its numbers follow as a band (page.js moves them out of the pin and adds the class, so the layout stays with the page it was built for) */
.matters--band { height: auto; }
.matters--band .matters__hold { height: 400vh; }
.matters__band { padding: 8px 0 100px; }

@media (max-width: 720px) {
  .chapter--hero { height: 125vh; }
  .chapter--ready { height: 125vh; }
  .chapter--record { height: 350vh; }
  .chapter--file { height: 325vh; }
  .chapter--outro { height: 350vh; }
  .curve { height: 680vh; }
  .products { height: 580vh; }
  .matters__pin { align-items: flex-start; padding-top: 76px; }
  .curve__pin, .products__pin { padding-top: 76px; }
  .matters .h2, .curve .h2, .products .h2 { margin-top: 12px; }
  .wave { height: 120px; margin-top: 26px; }
  .wave__key { flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 12px; }
  .wave__note { order: 0; margin-top: 4px; }
  .curve__steps { display: grid; min-height: 0; margin-top: 14px; }
  .cstep { position: relative; inset: auto; grid-area: 1 / 1; }
  .csteps__foot { margin-top: 12px; }
  .products__grid { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .products__text { display: contents; }
  .products__stage { order: 2; height: clamp(170px, calc(100svh - 342px), 440px); margin-top: 14px; container-type: size; }
  .plist { order: 3; display: grid; margin-top: 6px; border-top: 0; }
  .prod { grid-area: 1 / 1; border-bottom: 0; cursor: default; transition: opacity 0.35s; }
  .prod:not(.on) { display: block; opacity: 0; visibility: hidden; }
  .prod .prod__more { grid-template-rows: 1fr; }
  .prod ul { opacity: 1; padding-top: 8px; }
  .products__dots { top: auto; bottom: 0; right: auto; left: 50%; transform: translateX(-50%); flex-direction: row; gap: 2px; }
  .products__dots { pointer-events: none; }
  .products__dots i { position: relative; width: 26px; height: 26px; border-radius: 0; background: none; }
  .products__dots i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 2px; background: var(--line-strong); transition: background 0.3s, width 0.3s, margin 0.3s; }
  .products__dots i.on { height: 26px; background: none; }
  .products__dots i.on::after { width: 18px; margin-left: -9px; background: var(--accent); }

  /* One row of devices and their words, a screen apart, that a sideways drag carries under the finger: a change by scroll or by swipe
     slides the row along, centred in the room above the dots, and nothing eases while the finger holds it */
  .products__pin { overflow-x: clip; }
  .products__grid { touch-action: pan-y; }
  .dev, .dev.past, .dev.on { top: calc(50% - 13px); bottom: auto; opacity: 1; transform: translate(calc(-50% + var(--x, 0px)), -50%); transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1); }
  .prod, .prod:not(.on) { visibility: visible; opacity: 1; transform: translateX(var(--x, 0px)); transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1); }
  .products.dragging .dev, .products.dragging .prod { transition: none; }
  .prod h3, .prod:not(.on) h3 { color: #FFFFFF; }
  .prod .psub { color: var(--text); }
  .prod:not(.on) .ptag { opacity: 1; }
  .prod::before { background: var(--grad); }
  .dev--phone { --pr: 25px; --rim: 2.5px; }
  .dev--phone .dev__screen { width: min(184.9px, calc((100cqh - 52px) * 375 / 852)); height: min(420px, calc(100cqh - 52px)); border-width: 4px; }
  .products__pin { touch-action: pan-y pinch-zoom; }
  .dev--tablet .dev__screen { width: min(350px, 96cqw, calc((100cqh - 40px) * 350 / 250)); }
  .dev--pos .dev__screen { width: min(338px, 96cqw, calc((100cqh - 110px) * 338 / 204)); }
  .dev--laptop .dev__screen { width: min(338px, 92cqw, calc((100cqh - 46px) * 1.6)); border-width: 6px; border-bottom-width: 9px; border-radius: 9px 9px 3px 3px; }
  .dev__deck { width: min(380px, 100cqw, calc((100cqh - 46px) * 1.6 + 42px)); height: 8px; }
  .products__grid { margin-top: 0; }
}

html.vshort .ptag, html.vshort .psub { display: none; }
html.vshort .products__stage { height: clamp(170px, calc(100svh - 297px), 440px); }

@media (pointer: coarse) {

  /* No live blur on touch screens: every blurred card over the moving glow is redrawn each frame while scrolling */
  .np, .dash .dcard, .feat, .dash__pill, .ac, .bigmap__card, .art__body { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .dash .dcard, .feat, .ac, .art__body { background: rgba(20, 20, 20, 0.92); }
  .bigmap__card { background: rgba(20, 20, 20, 0.96); }
}

@media (max-width: 1100px) and (min-aspect-ratio: 105 / 100) {
  .copy--wide > * { max-width: 460px; }
  .feat { padding: 11px 12px; }
}
