/* GK Studio site, below the fold. critical.css holds the tokens, header and hero. New rules use logical properties so an Arabic twin needs no rewrite. */
html { scroll-behavior: smooth; scroll-padding-block-start: 88px; }
.display { font-weight: 600; letter-spacing: -.06em; line-height: .88; font-size: clamp(56px, 9vw, 176px); margin-block-start: 22px; }
h1.big, h2.big { font-weight: 600; letter-spacing: -.06em; line-height: .88; font-size: clamp(52px, 10vw, 190px); }
h1.big.long { font-size: clamp(42px, 6.6vw, 124px); line-height: .94; letter-spacing: -.05em; }
h2.big { margin-block-start: 22px; }
h2.mid { font-weight: 600; letter-spacing: -.05em; line-height: .94; font-size: clamp(38px, 5.4vw, 100px); margin-block-start: 22px; }
.h1-tail { display: block; margin-block-start: 18px; letter-spacing: .18em; color: #fff; line-height: 1.4; }
.lead { font-size: 18px; line-height: 1.6; color: var(--soft); max-width: 64ch; }
.quiet { font-size: 18px; line-height: 1.6; color: var(--soft); max-width: 64ch; margin-block-start: 26px; }
.sec { padding: clamp(72px, 12vh, 150px) var(--pad); }
.sq { display: inline-block; width: .16em; height: .16em; background: var(--coral); margin-inline-start: .05em; }
.link { display: inline-flex; gap: 10px; align-items: center; font: 400 12px "Geist Mono", ui-monospace, monospace; letter-spacing: .16em; text-transform: uppercase; border-block-end: 1px solid rgba(255,255,255,.4); padding-block-end: 6px; transition: border-color .3s; }
.link:hover { border-color: #fff; }
.cta-link { margin-block-start: 36px; }
.pill:hover { transform: translateY(-2px); }
.pill { transition: transform .3s var(--ease); }
.pill.ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4); }
.menu { position: fixed; inset: 0; z-index: 49; background: #000; flex-direction: column; justify-content: center; gap: 10px; padding-inline: var(--pad); }
.menu a { font-weight: 600; letter-spacing: -.05em; font-size: clamp(38px, 11vw, 56px); line-height: 1.05; }
body.menu-open .menu { display: flex; }
body.menu-open { overflow: hidden; }

/* Silent film loops. The poster and the video both wait for site.js and an IntersectionObserver. */
.film { position: relative; overflow: hidden; background: #0c0c0c; aspect-ratio: 16 / 9; }
.film img, .film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; }
.film video { opacity: 0; transition: opacity .25s; }
.film.playing video { opacity: 1; }
.film-label { position: absolute; z-index: 2; inset-block-start: 10px; inset-inline-start: 10px; background: #000; color: #fff; padding: 4px 7px; font-size: 10px; letter-spacing: .14em; }
.film.in-copy { margin-block: 34px; }

/* Two showreels */
.reels-sec { padding-block-start: 26px; }
.reel-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-block-start: 48px; }
.reels-sec > .reel-tiles:first-child { margin-block-start: 0; }
.reel-tile { display: block; }
.reel-frame { position: relative; display: block; aspect-ratio: 16 / 9; background: #0c0c0c; overflow: hidden; }
.reel-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; transition: transform 1.2s var(--ease); }
.reel-tile:hover .reel-frame img { transform: scale(1.03); }
.reel-play { position: absolute; inset-block-end: 16px; inset-inline-start: 16px; display: grid; place-items: center; width: 56px; height: 56px; background: #fff; }
.reel-play svg { width: 20px; height: 20px; fill: #000; }
.reel-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-block-start: 14px; }
.reel-meta strong { font-weight: 600; font-size: clamp(22px, 2.4vw, 38px); letter-spacing: -.03em; line-height: 1.05; }
.next-reel .reel-tile { max-width: 720px; margin-block-start: 28px; }
.watch-head { padding-block-end: 0; }

/* A reel with no music yet says so, so silence is not read as a fault. It goes by itself once the file has sound. */
.reel-note { position: absolute; z-index: 2; inset-block-start: 26px; inset-inline-start: var(--pad); color: #fff; }
.reel-note[hidden] { display: none; }
.watch .reel-note { position: static; padding: 10px var(--pad) 0; }

/* Dialog player */
.reel-dialog { position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; border: 0; background: #000; color: #fff; padding: 0; }
.reel-dialog::backdrop { background: #000; }
.reel-dialog[open] { display: grid; place-items: center; }
.reel-dialog video { width: 100%; height: 100%; object-fit: contain; }
.reel-close { position: absolute; z-index: 2; inset-block-start: 18px; inset-inline-end: var(--pad); background: #fff; color: #000; border: 0; padding: 11px 16px; cursor: pointer; }

/* Answer. The answer text and the copy column below it share one line: one third of the content width plus the gap. */
:root { --col-gap: clamp(20px, 5vw, 96px); }
.answer-sec { padding-block: clamp(56px, 9vh, 110px); }
.answer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--col-gap); }
.answer p { font-size: clamp(21px, 2.3vw, 36px); font-weight: 400; line-height: 1.22; letter-spacing: -.02em; color: #fff; max-width: 34ch; }
.calc { color: #fff; font-weight: 500; }
.calc small { display: inline; font-size: 9px; letter-spacing: .12em; white-space: normal; }

/* Statement: the home answer, set large */
.statement { padding-block: clamp(72px, 12vh, 130px) clamp(96px, 18vh, 200px); }
.statement-text { font-weight: 600; font-size: clamp(34px, 5.6vw, 104px); line-height: .98; letter-spacing: -.045em; max-width: 20ch; margin-block-start: 22px; }

/* Key points: the short form of a page */
.copy > h2:has(+ .points) { margin-inline-start: 0; }
.copy > .points { max-width: none; margin-inline-start: 0; margin-block: 8px 40px; }
.points ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 28px 24px; }
.copy .points li { margin: 0; padding-block-start: 16px; border-block-start: 1px solid var(--line); font-size: 16px; line-height: 1.45; color: var(--soft); }
.points li strong { display: block; font-size: clamp(20px, 1.7vw, 26px); font-weight: 600; letter-spacing: -.03em; line-height: 1.08; color: #fff; margin-block-end: 10px; }

/* Film grid and tiles */
.grid-sec { padding-block-start: 0; }
.grid-films { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-block-start: 48px; }
.grid-sec > .grid-films:first-child { margin-block-start: 0; }
.tile { position: relative; display: block; }
.tile .t { display: block; margin-block-start: 10px; font: 400 12px/1.4 "Geist Mono", ui-monospace, monospace; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.tile:hover .t { color: var(--mute); }
.tile.empty { width: 100%; min-width: 0; min-height: 160px; border: 1px solid var(--line); display: flex; align-items: flex-end; padding: 14px; }

/* The home gallery runs sideways while pinned. Below that width it is a strip to swipe. */
.hs-on { padding: 0; }
.hs-on .hs-pin { position: sticky; inset-block-start: 0; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: clamp(18px, 4vh, 44px); padding-block-start: 72px; }
.hs-on .hs-head { padding-inline: var(--pad); }
.hs-on .hs-head h2.big { font-size: min(8vw, 15svh); margin-block-start: 14px; }
.hs-on .grid-films { display: flex; width: max-content; margin: 0; padding-inline: var(--pad); gap: 14px; }
.hs-on .tile { flex: none; width: min(36vw, 74svh); }
.hs-on .film img, .hs-on .film video { transform: translate3d(var(--px, 0), 0, 0) scale(1.12); }

/* Scroll masks and the background grid, drawn by motion.js */
.gk-mask { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; image-rendering: pixelated; }
.wordmark { position: relative; }
.bg-grid { position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 1.4s linear; }
.bg-grid.on { opacity: 1; }
.gk-w { display: inline-block; overflow: hidden; vertical-align: top; padding-block-end: .16em; margin-block-end: -.16em; padding-inline: .06em; margin-inline: -.06em; }
.gk-w > span { display: inline-block; }

/* Services: huge type, one link per row */
.services { padding-block-start: clamp(40px, 6vh, 80px); }
.rows { margin-block-start: 56px; border-block-start: 1px solid var(--line); }
.row { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); align-items: end; gap: 24px; padding-block: 18px; border-block-end: 1px solid var(--line); }
.row-t { font-weight: 600; font-size: clamp(38px, 6.4vw, 118px); line-height: .96; letter-spacing: -.05em; transition: transform .5s var(--ease); }
.row:hover .row-t { transform: translateX(10px); }
.row-d { font-size: 15px; line-height: 1.45; color: var(--mute); padding-block-end: 6px; }

/* Budget band */
.budget { border-block: 1px solid var(--line); }
.budget-line { font-size: clamp(22px, 2.4vw, 36px); font-weight: 500; letter-spacing: -.03em; line-height: 1.15; margin-block-start: 32px; max-width: 26ch; }

/* Games */
.game-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-block-start: 48px; }
.game-item .film { aspect-ratio: 3 / 4; }
.game-item figcaption { margin-block-start: 10px; color: #fff; }
.game-phone .film img, .game-phone .film video { object-position: 50% 50%; transform: scale(1.32); }
.game-kiosk .film img, .game-kiosk .film video { object-position: 62% 50%; }
.game-pairing .film img, .game-pairing .film video { object-position: 44% 50%; }

/* NVIDIA Inception: one calm line, and the slot for the official badge */
.inception { padding-block: clamp(40px, 7vh, 80px); }
.inception .rv { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 56px; }
.inception-line { font-size: clamp(26px, 3vw, 44px); line-height: 1.12; letter-spacing: -.03em; color: #fff; max-width: 20ch; }
.inception img { width: clamp(240px, 27vw, 400px); height: auto; }

/* Inner pages */
.page-hero { position: relative; min-height: 76svh; overflow: hidden; display: flex; align-items: flex-end; }
.page-hero .film.bleed { position: absolute; inset: 0; aspect-ratio: auto; }
.page-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 80%; background: linear-gradient(0deg, rgba(0,0,0,.92), rgba(0,0,0,.55) 55%, rgba(0,0,0,0)); pointer-events: none; }
.page-hero .in { position: relative; z-index: 2; padding: 0 var(--pad) clamp(32px, 6vh, 72px); width: 100%; }
.page-hero .in h1 { margin-block-start: 18px; }
.page-hero.short { min-height: 48svh; }
.page-hero.short .in { padding-block-start: 128px; }
.page-hero.plain { min-height: 0; padding-block-start: 150px; }
.page-hero.plain::after { display: none; }
.page-hero .film-label { inset-block-start: 88px; inset-inline-start: var(--pad); }
.notfound { min-height: 70svh; }
.notfound .lead { margin-block-start: 26px; }
.eyebrow { margin-block-start: 18px; }
.subline { font-size: clamp(20px, 2vw, 30px); font-weight: 500; letter-spacing: -.02em; line-height: 1.2; margin-block-start: 24px; max-width: 34ch; }
.crumbs { font: 400 11px "Geist Mono", ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.crumbs a:hover { color: #fff; }
.page-hero:not(.plain) .crumbs { color: #fff; }
.page-hero:not(.plain) .crumbs a:hover { opacity: .7; }
.tool { padding: 0 var(--pad) clamp(40px, 7vh, 80px); }
.draft-label { color: #fff; border: 1px solid var(--line); display: inline-block; padding: 5px 9px; margin-block-end: 18px; }
.watch { position: relative; padding-block-start: 72px; background: #000; }
.watch-play { display: none; position: absolute; inset: 72px 0 0; margin: auto; width: 88px; height: 88px; padding: 0; border: 0; background: none; cursor: pointer; }
html.js .watch-play { display: block; }
html.js .watch-play[hidden] { display: none; }
.watch-play:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
video.reel { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; max-height: calc(100svh - 72px); background: #000; }
.label-sec { padding-block: 0 clamp(40px, 7vh, 80px); }
.label-line a { border-block-end: 1px solid var(--mute); margin-inline-start: 12px; }

/* The quiet copy layer: 18 px, 64ch, plain headings, no cards */
.copy { padding: 0 var(--pad) clamp(48px, 8vh, 90px); }
.copy > * { max-width: 64ch; margin-inline: auto 0; margin-inline-start: calc((100% - var(--col-gap)) / 3 + var(--col-gap)); }
.copy h2 { font-weight: 600; letter-spacing: -.035em; font-size: clamp(30px, 3.2vw, 50px); line-height: 1.04; margin-block: 64px 16px; max-width: 26ch; }
.copy h3 { font-weight: 500; letter-spacing: -.02em; font-size: 23px; line-height: 1.2; margin-block: 34px 10px; }
.copy p, .copy li { font-size: 18px; line-height: 1.6; color: var(--soft); }
.copy p + p { margin-block-start: 16px; }
.copy ul, .copy ol { margin-block-start: 12px; padding-inline-start: 22px; }
.copy > ul, .copy > ol, .copy > .steps { margin-block-end: 24px; }
.post-body > ul, .post-body > ol { margin-block-end: 20px; }
.copy li + li { margin-block-start: 8px; }
.copy a, .post-body a, details a { border-block-end: 1px solid rgba(255,255,255,.45); }
.copy a:hover, .post-body a:hover, details a:hover { border-color: #fff; }
.copy strong, .post-body strong { font-weight: 500; color: #fff; }
.copy > .steps + * { margin-block-start: 28px; }
.copy > .grid-films, .copy > .cities, .copy > .film, .copy > video.reel, .copy > .reel-tile, .copy > .table-wrap, .copy > .steps { max-width: none; margin-inline-start: 0; }
.copy > .film { margin-block: 40px; }
.copy > .reel-tile { margin-block: 40px; max-width: 900px; }
.table-wrap { overflow-x: auto; margin-block: 28px; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: start; padding: 12px 16px 12px 0; border-block-end: 1px solid var(--line); vertical-align: top; }
th { font: 400 11px "Geist Mono", ui-monospace, monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.steps ol { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 24px; counter-reset: s; border-block-start: 1px solid var(--line); }
.copy .steps li { counter-increment: s; padding-block-start: 18px; margin: 0; }
@media (min-width: 1001px) { .steps ol:has(> li:nth-child(7):last-child), .steps ol:has(> li:nth-child(8):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.steps li::before { content: "0" counter(s); display: block; font: 400 11px "Geist Mono", ui-monospace, monospace; letter-spacing: .18em; color: var(--mute); margin-block-end: 12px; }

/* FAQ */
.faq { padding-block-start: clamp(40px, 7vh, 90px); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 96px); }
details { border-block-end: 1px solid var(--line); padding-block: 22px; }
details:first-child { border-block-start: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; font-weight: 500; font-size: clamp(19px, 1.6vw, 24px); letter-spacing: -.02em; line-height: 1.25; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 400 22px "Geist Mono", ui-monospace, monospace; color: var(--mute); transition: transform .3s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--soft); margin-block-start: 14px; max-width: 64ch; }

/* CTA */
.cta .row { display: flex; gap: 14px; margin-block-start: 44px; flex-wrap: wrap; border: 0; padding: 0; grid-template-columns: none; }
.cta .pill { padding: 18px 26px; font-size: 13px; }
.page-hero .cta { margin-block-start: 28px; }

/* Cities */
.cities { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-block: 44px; }
.city { position: relative; }
.city .film { aspect-ratio: 16 / 10; }
.city .t { display: block; margin-block-start: 10px; }
.city .t strong { display: block; font-weight: 600; font-size: clamp(30px, 3.6vw, 58px); letter-spacing: -.05em; line-height: 1; margin-block-start: 6px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 24px; margin-block-start: 48px; }
.card .cover { aspect-ratio: 16 / 10; overflow: hidden; position: relative; background: #0c0c0c; margin-block-end: 16px; }
.card .cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; transition: transform 1.2s var(--ease); }
.card:hover .cover img { transform: scale(1.03); }
.card h3 { font-weight: 500; font-size: clamp(21px, 1.8vw, 28px); letter-spacing: -.025em; line-height: 1.12; margin-block-start: 10px; }
.card p { color: var(--mute); font-size: 16px; line-height: 1.45; margin-block-start: 8px; }
.card .mono { display: block; min-height: 1em; }
.cards.text .card { border-block-start: 1px solid var(--line); padding-block-start: 16px; }
.insight-group { padding-block: 0 clamp(56px, 9vh, 100px); }

/* Articles */
article.post { padding: 130px var(--pad) 0; }
.post-head { max-width: 980px; }
.post-head h1 { font-weight: 600; letter-spacing: -.05em; line-height: .96; font-size: clamp(38px, 5.4vw, 92px); margin-block-start: 22px; }
.post-head .lead { margin-block-start: 26px; }
.post-meta { margin-block-start: 26px; }
.post-share { margin-block-start: 26px; }
.post-cover { aspect-ratio: 21 / 9; margin-block-start: 48px; position: relative; overflow: hidden; }
.post-cover .film { position: absolute; inset: 0; aspect-ratio: auto; }
.post-body { max-width: 64ch; margin: 56px auto 0; }
.post-body h2 { font-weight: 600; letter-spacing: -.035em; font-size: clamp(27px, 2.5vw, 38px); line-height: 1.08; margin-block: 50px 14px; }
.post-body h3 { font-weight: 500; letter-spacing: -.02em; font-size: 22px; line-height: 1.2; margin-block: 30px 10px; }
.post-body p, .post-body li { font-size: 18px; line-height: 1.62; color: var(--soft); }
.post-body p + p { margin-block-start: 16px; }
.post-body ul, .post-body ol { margin-block-start: 12px; padding-inline-start: 22px; }
.post-body li + li { margin-block-start: 8px; }
.post-body:empty { display: none; }
.share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.share .mono { margin-inline-end: 6px; }
.share a, .share button { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding-inline: 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.34); background: none; color: #fff; font: 400 11px "Geist Mono", ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: background .2s, color .2s; }
.share a:hover, .share button:hover { background: #fff; color: #000; }
.share svg { width: 14px; height: 14px; fill: currentColor; }
.share [hidden] { display: none; }
.post-foot { max-width: 64ch; margin: 56px auto 0; padding-block-start: 26px; border-block-start: 1px solid var(--line); }
.kit-wrap { margin-block-start: 28px; }
.kitbox { border-block-start: 1px solid var(--line); padding-block-start: 22px; }
.kitbox summary { font: 400 12px "Geist Mono", ui-monospace, monospace; letter-spacing: .16em; text-transform: uppercase; color: #fff; }
.kits { display: grid; grid-template-columns: 1.6fr 1fr .6fr; gap: 14px; margin-block-start: 22px; align-items: end; }
.kit img { width: 100%; height: auto; border: 1px solid var(--line); }
.kit .mono { display: block; margin-block-start: 10px; font-size: 10px; }

/* Footer */
footer { position: relative; border-block-start: 1px solid var(--line); padding: clamp(72px, 12vh, 130px) var(--pad) 28px; overflow: hidden; margin-block-start: clamp(56px, 9vh, 110px); }
.f-top { display: grid; grid-template-columns: minmax(0, 3.4fr) minmax(0, 2.2fr) repeat(4, minmax(0, 1.6fr)); gap: 36px 28px; }
.f-top .line { font-weight: 600; letter-spacing: -.05em; line-height: .95; font-size: clamp(30px, 3vw, 52px); }
.f-top .line + p { color: var(--mute); margin-block-start: 18px; max-width: 320px; font-size: 16px; line-height: 1.4; }
.f-h { margin-block-end: 16px; }
.f-col a { display: block; color: rgba(255,255,255,.78); padding-block: 4px; font-size: 15px; line-height: 1.3; transition: color .2s, transform .3s var(--ease); }
.f-col a:hover { color: #fff; transform: translateX(4px); }
.clock { display: flex; justify-content: space-between; gap: 12px; padding-block: 4px; font-size: 15px; color: rgba(255,255,255,.78); }
.clock time { font: 400 12px "Geist Mono", ui-monospace, monospace; color: var(--mute); letter-spacing: .08em; }
.wordmark { margin-block-start: clamp(64px, 10vh, 120px); }
.wordmark svg { width: 100%; height: auto; display: block; overflow: visible; }
.wordmark rect { transform-box: fill-box; transform-origin: center; transition: transform .6s var(--ease); }
.f-bottom { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-block-start: 40px; padding-block-start: 22px; padding-inline-end: 84px; border-block-start: 1px solid var(--line); }
.f-bottom a:hover { color: #fff; }
.wa { position: fixed; inset-inline-end: var(--pad); inset-block-end: 24px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.4); transition: transform .3s var(--ease), opacity .3s; }
.wa:hover { transform: scale(1.06); }
body.at-hero .wa { opacity: 0; pointer-events: none; }

.js .rv { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform 1s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
/* Once motion.js runs, it takes these over. Until then, or without it, the plain reveal above stands. */
html.motion { scroll-behavior: auto; }
html.motion .rv { opacity: 1; transform: none; transition: none; }
html.motion section.hero { background: none; }
/* The statement rises while the hero film closes, so no empty black passes between them. */
html.motion .hero-stage { margin-block-end: -30svh; }
.hero-media .gk-mask { inset: -3px; width: calc(100% + 6px); height: calc(100% + 6px); }

/* Budget calculator: four choices, one range, one action. Selected options are white, never coral: the page keeps its one coral square. */
.js #budget-calculator:empty { min-height: 620px; }
.bt-noscript { color: var(--soft); max-width: 64ch; }
.bt { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 96px); align-items: start; }
.bt-group { border: 0; border-block-start: 1px solid var(--line); padding-block: 22px 30px; min-inline-size: 0; }
.bt-group > legend { display: contents; }
.bt-group > legend { font-size: clamp(22px, 2.2vw, 34px); font-weight: 600; letter-spacing: -.035em; line-height: 1.05; }
.bt-group legend .mono { display: block; margin-block-end: 10px; }
.bt-opts { display: flex; flex-wrap: wrap; gap: 8px; margin-block-start: 18px; }
.bt-opt { position: relative; display: block; cursor: pointer; }
.bt-opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.bt-opt span { display: flex; align-items: center; min-height: 44px; padding: 9px 14px; font-size: 16px; font-weight: 400; line-height: 1.25; border: 1px solid rgba(255,255,255,.28); transition: border-color .15s; }
.bt-opt:hover span { border-color: #fff; }
.bt-opt input:checked + span { background: #fff; color: #000; border-color: #fff; font-weight: 500; }
.bt-opt input:focus-visible + span, .bt a:focus-visible, .bt-cur button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (forced-colors: active) { .bt-opt input:checked + span { background: Highlight; color: HighlightText; forced-color-adjust: none; } }
.bt-result { position: sticky; inset-block-start: 92px; background: #000; padding-block-start: 22px; border-block-start: 1px solid var(--line); }
.bt-result-label { display: flex; justify-content: space-between; gap: 12px; margin-block-end: 14px; }
.bt-draft { color: #fff; white-space: nowrap; }
.bt-range { font-size: clamp(32px, 3.6vw, 62px); font-weight: 600; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.bt-note { font-size: 15px; line-height: 1.45; color: var(--soft); margin-block-start: 14px; }
.bt-wa { margin-block-start: 22px; padding: 18px 24px; font-size: 12px; white-space: normal; text-align: start; line-height: 1.4; }
.bt-market { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin-block-end: 18px; }
.bt-market button { background: none; border: 1px solid var(--line, rgba(255,255,255,.22)); color: var(--soft); padding: 10px 8px; min-height: 44px; font: inherit; font-size: 13px; line-height: 1.2; cursor: pointer; transition: background .2s, color .2s; }
.bt-market button:hover { color: #fff; }
.bt-market button[aria-pressed="true"] { background: #fff; border-color: #fff; color: #000; }
.bt-market button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.bt-cur { display: flex; gap: 2px; margin-block-start: 18px; }
.bt-cur[hidden] { display: none; }
.bt-cur button { background: none; border: 0; color: var(--mute); padding: 8px 8px 8px 0; min-height: 32px; cursor: pointer; }
.bt-cur button:hover { color: #fff; }
.bt-cur button[aria-pressed="true"] { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
body.bt-in-tool .wa { opacity: 0; pointer-events: none; }
@media (max-width: 960px) {
  .js #budget-calculator:empty { min-height: 1100px; }
  .bt { grid-template-columns: minmax(0, 1fr); gap: 0; }
  /* On a phone the range stays pinned while the choices scroll under it. */
  .bt-result { inset-block: auto 0; z-index: 40; margin-inline: calc(var(--pad) * -1); padding: 12px var(--pad) 14px; border-block-start: 1px solid rgba(255,255,255,.4); display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; align-items: center; }
  .bt-result-label { grid-column: 1 / -1; margin-block-end: 6px; font-size: 9px; }
  .bt-range { font-size: 25px; grid-column: 1 / -1; }
  .bt-note { grid-column: 1 / -1; font-size: 12px; margin-block-start: 6px; }
  .bt-wa { grid-column: 1; margin-block-start: 10px; padding: 12px 14px; font-size: 10px; letter-spacing: .05em; white-space: nowrap; }
  .bt-market { grid-column: 1 / -1; margin-block-end: 10px; }
  .bt-cur { grid-column: 2; margin-block-start: 10px; }
}
@media print {
  .bg-grid { display: none; }
}
@media (max-width: 1100px) {
  .f-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .f-lead { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .reel-tiles, .answer, .split, .cities { grid-template-columns: 1fr; }
  .grid-films, .cards { grid-template-columns: 1fr; }
  /* Nine films on a phone are a strip to swipe, not a long page. */
  .grid-sec .hs-pin .grid-films { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); scrollbar-width: none; }
  .grid-sec .hs-pin .grid-films::-webkit-scrollbar { display: none; }
  .grid-sec .hs-pin .tile { flex: 0 0 84%; scroll-snap-align: center; }

  .row { grid-template-columns: 1fr; gap: 6px; }
  .row-d { padding: 0; }
  .game-strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); scrollbar-width: none; }
  .game-strip::-webkit-scrollbar { display: none; }
  .game-item { flex: 0 0 76%; scroll-snap-align: center; }
  .copy > * { margin-inline-start: 0; }
  .f-top { grid-template-columns: 1fr 1fr; }
  .kits { grid-template-columns: 1fr 1fr; }
  .page-hero { min-height: 72svh; }
  .page-hero.short { min-height: 44svh; }
  .reel-meta { flex-direction: column; gap: 4px; }
}
@media (max-width: 400px) {
  .cta .pill { white-space: normal; }
  .bt-result { row-gap: 2px; }
  .bt-wa { grid-column: 1 / -1; }
  .bt-cur { grid-column: 1 / -1; margin-block-start: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
}
/* Long-form tables on articles scroll sideways inside their own box. */
@media print {
  header.top, footer, .wa, .reel-dialog { display: none; }
}
