/* home.css: the site pages' own layout (homepage, pricing, any public landing page), owned by the homepage
   builder. Linked after screens.css on every page (lib.head), so rules here win over the older sheets.
   Values only from tokens.css (no raw colours, sizes or radii); components come from components.css (V4 section)
   and their helpers in src/lib.py. Do not restyle a component here: compose it. Flat colour only.
   Layout numbers (column widths, tile boxes) are page geometry: every media box here is the largest box its clip is
   drawn at on desktop, and src/pages_home.py checks each one against the half-size rule at build time. */

/* ================================================================ the homepage (01-home.html, body.hm) */
.hm { overflow-x: clip; }
.hm-skip { position: absolute; left: var(--site-gutter); top: -64px; z-index: var(--z-toast); }
.hm-skip:focus-visible { top: 8px; }
.hm main:focus { box-shadow: none; }

/* ---------------------------------------------------------------- 1. hero: the line, the composer, the bento
   Desktop and tablets: text and composer on the left, the five-clip bento on the right (720 x 602 at most: the
   boxes the page module checks; container queries keep the snippets inside a smaller bento). Phones: text, three
   small portrait clips, then the composer, all in the first screen. */
.hr { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); grid-template-rows: auto auto 1fr;
  grid-template-areas: "tx bento" "gcp bento" "cta bento"; column-gap: 40px; align-items: start; padding-top: 28px; }
.hr-tx { grid-area: tx; container-type: inline-size; padding-top: 12px; }
.hr-eb { margin-bottom: 18px; }
.hr-h { font-size: min(var(--d-hero), 16.2cqi); line-height: var(--d-hero-lh); white-space: nowrap; }   /* one text block (three lines by <br>): the whole headline is one paint, the page's largest element to paint first */
.hr-sub { margin-top: 22px; font-size: var(--fs-20); line-height: 1.4; color: var(--text-2); text-wrap: pretty; }
.hr-gcp { grid-area: gcp; margin-top: 28px; min-width: 0; }
.hr-cta { grid-area: cta; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 14px; }
.hr-try { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }
.hr-try-l { font-size: var(--fs-13); line-height: 18px; color: var(--text-3); }
.hr-idea { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 6px; border-radius: var(--r-pill); background: var(--surface-2); outline: 1px solid var(--line); outline-offset: -1px; color: var(--text-2); font-size: var(--fs-14); font-weight: var(--fw-medium); white-space: nowrap; transition: background-color var(--t-hover) var(--ease-std), color var(--t-hover) var(--ease-std); }
.hr-idea img { width: 28px; height: 28px; flex: none; border-radius: var(--r-pill); object-fit: cover; background: var(--surface-3); }
.hr-idea:hover { background: var(--surface-3); color: var(--text-1); }
.hr-bento { grid-area: bento; justify-self: end; width: 100%; max-width: 720px; min-width: 0; container: hb / inline-size; }

/* the bento: columns 224 / 240 / 240, rows 274 / 120 / 192, gaps 8 (at its 720 px maximum) */
.hb { position: relative; display: grid; grid-template-columns: 224fr 240fr 240fr; grid-template-rows: 274fr 120fr 192fr; gap: var(--s-8); aspect-ratio: 720 / 602; }
.hb-t { position: relative; min-width: 0; min-height: 0; border-radius: var(--r-md); overflow: hidden; background: var(--surface-2); isolation: isolate; outline: 1px solid var(--line-on-media); outline-offset: -1px; }
.hb-t > .vm { position: absolute; inset: 0; z-index: -1; }
.hb-t.a { grid-area: 1 / 1 / 3 / 2; }     /* astronaut, 224 x 402 */
.hb-t.b { grid-area: 3 / 1 / 4 / 2; }     /* dunes, 224 x 192 */
.hb-t.c { grid-area: 1 / 2 / 2 / 4; }     /* coast, 488 x 274 */
.hb-t.d { grid-area: 2 / 2 / 4 / 3; }     /* sneaker, 240 x 320 */
.hb-t.e { grid-area: 2 / 3 / 4 / 4; }     /* skincare, 240 x 320 */
.hb .snp { z-index: 4; }
.hb .hb-s1 { top: 16px; left: calc(31.11% - 28px); max-width: 316px; }          /* You: over the coast's sky, overhanging the astronaut */
.hb .hb-s2 { right: 12px; bottom: calc(54.49% + 12px); }                          /* the plan, on the coast under the prompt it priced */
.hb .hb-s3 { left: calc(32.22% + 12px); top: calc(46.84% + 12px); }               /* a take rendering, on the headphones */
.hb .hb-s4 { left: calc(66.67% + 12px); top: calc(46.84% + 12px); }               /* a take ready, on the skincare */
.hb-t.is-still > .st { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.hb-in { left: 10px; top: 10px; bottom: auto; gap: 5px; padding: 0 9px 0 7px; }
.hb-in .i { color: var(--accent-text); }
.hb-in-s, .hb-in .hb-in-rt { display: none; }
/* a smaller bento (laptops and tablets) keeps every snippet inside its own tile */
@container hb (max-width: 699px) { .hb .hb-s2 .snp-ps, .hb-t.d .mtl-chip { display: none; } .hb-in-l { display: none; } .hb-in-s { display: inline; } }
@container hb (max-width: 579px) { .hb .hb-s4 { display: none; } .hb .hb-s2 { right: 8px; bottom: calc(54.49% + 8px); } .hb .hb-s3 { left: calc(32.22% + 8px); top: calc(46.84% + 8px); } }
.hr-cap { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 12px; font-size: var(--fs-13); line-height: 18px; color: var(--text-3); }
.hr-cap .motion-btn { flex: none; }

@media (min-width: 900px) and (max-width: 1099px) {
  .hr { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 24px; }
  .hr-cap p { display: none; }
}
@media (max-width: 899px) {
  .hr { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; grid-template-areas: "tx" "bento" "gcp" "cta"; padding-top: 14px; }
  .hr-tx { padding-top: 0; }
  .hr-eb { margin-bottom: 10px; font-size: var(--fs-12); }
  .hr-sub { margin-top: 12px; font-size: var(--fs-17); line-height: 1.45; }
  .hr-bento { justify-self: stretch; max-width: none; margin-top: 16px; }
  .hb { aspect-ratio: auto; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto; }
  .hb-t.a, .hb-t.b, .hb-t.e { grid-area: auto; aspect-ratio: 3 / 4; }
  .hb-t.c, .hb-t.d { display: none; }
  .hb .hb-s1, .hb .hb-s4 { display: none; }
  .hb .hb-s2 { left: 50%; right: auto; bottom: -16px; transform: translateX(-50%); }
  .hb .hb-s3 { display: none; }
  .hb-t.b { order: -1; }   /* phones read left to right: the still, then the clip made from it */
  .hb-in { left: 6px; top: 6px; height: 22px; padding: 0 5px 0 8px; font-size: var(--fs-11); }
  .hb-in-l, .hb-in .hb-in-up { display: none; }
  .hb-in-s, .hb-in .hb-in-rt { display: inline-block; }
  .hr-cap { display: none; }
  .hr-gcp { margin-top: 28px; }
  .hr-cta { margin-top: 10px; flex-direction: column; align-items: stretch; gap: 14px; }
  .hr-cta { min-width: 0; }
  .hr-try { contain: inline-size; flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--site-gutter)); padding: 0 var(--site-gutter); scrollbar-width: none; overscroll-behavior-x: contain; }
  .hr-try::-webkit-scrollbar { display: none; }
  .hr-try-l { flex: none; }
  .hr-idea { flex: none; height: 44px; }
}

/* ---------------------------------------------------------------- 2. Made in Adrias: the card row */
/* "Free" in a tangerine Go (the first video's plan) takes the Go's Ink, like any credit figure on it (6.3:1) */
.snp-go .cr-free { color: inherit; }
.mcd-t .bdg { margin-left: 8px; vertical-align: 2px; }
.mcd-m.is-st > .st { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mcd-m.is-lr, .mcd-m.is-vc { background: var(--stage); }
/* the Listing Reel collage: four photos in, the reel out (photo cells about 154 x 131, the reel 151 x 268) */
.lr { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1fr) 20px auto; align-items: stretch; gap: 6px; padding: 10px; }
.lr-in { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 6px; min-width: 0; min-height: 0; }
.lr-p { position: relative; min-height: 0; border-radius: var(--r-sm); overflow: hidden; background: var(--surface-3); }
.lr-p > .st { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lr-ar { display: grid; place-items: center; color: var(--accent-text); }
.lr-out { position: relative; height: 100%; aspect-ratio: 9 / 16; border-radius: var(--r-sm); overflow: hidden; background: var(--surface-2); }
.lr-out > .vm { position: absolute; inset: 0; }
.lr-l { position: absolute; z-index: 2; left: 6px; top: 6px; display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px 0 7px; border-radius: var(--r-pill); background: var(--stage); color: var(--text-1); font-size: var(--fs-12); font-weight: var(--fw-semi); white-space: nowrap; }
.lr-l .i { color: var(--accent-text); }
.lr .snp.lr-cr { left: 16px; bottom: 16px; }
/* voice: a voice, its waveform, its price (UI, not a pretend clip) */
.vc { position: absolute; inset: 0; display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; gap: 10px; padding: 16px 18px; }
.vc-row { display: flex; align-items: center; gap: 12px; min-width: 0; }
.vc-row .bdg { margin-left: 0; }
.vc-tx { display: grid; flex: 1; min-width: 0; }
.vc-tx b { font-size: var(--fs-15); font-weight: var(--fw-semi); line-height: 20px; color: var(--text-1); }
.vc-tx span { font-size: var(--fs-13); line-height: 18px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vc-i { width: 36px; height: 36px; flex: none; border-radius: var(--r-pill); display: grid; place-items: center; background: var(--surface-3); color: var(--text-1); }
.vc-wave { position: relative; display: flex; align-items: center; min-height: 0; overflow: hidden; }
.vc svg.wf { width: 100%; height: 100%; max-height: 64px; }
.vc svg.wf rect { fill: var(--line-hover); }
.vc svg.wf rect.p { fill: var(--accent); }
.vc-head { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.vc-head::before { content: ""; position: absolute; top: 4px; bottom: 4px; left: 0; width: 100%; border-right: 2px solid var(--text-1); transform: translateX(-58%); }
.vc.is-live .vc-head::before { animation: vc-head 7s linear infinite; }
@keyframes vc-head { from { transform: translateX(-100%); } to { transform: translateX(0); } }
.vc-foot { display: flex; flex-wrap: wrap; gap: 6px; }
.vc-pill { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: var(--r-pill); background: var(--surface-2); font-size: var(--fs-12); font-weight: var(--fw-semi); color: var(--text-2); white-space: nowrap; }
.vc-pill .i { color: var(--text-3); }
.vc-pill .cr .g { color: var(--credit-glyph); }
@media (max-width: 899px) {
  .lr { padding: 6px; gap: 4px; grid-template-columns: minmax(0, 1fr) 14px auto; }
  .lr-in { gap: 4px; }
  .lr-l { height: 20px; font-size: var(--fs-11); }
  .lr .snp.lr-cr { display: none; }
  .vc { padding: 10px 12px; gap: 6px; }
  .vc-row.sm, .vc-foot .vc-pill:first-child { display: none; }
}

/* ---------------------------------------------------------------- capped masonry walls in explicit columns
   Four stacks of tiles (each taller than the cap), cut on one straight line; the View all pill sits on the cut.
   Phones: the same tiles in two flowing columns, each stack's last tile left out (it never loads). */
.mw { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap-wall); align-items: start; max-height: min(var(--wall-cap), 62vw); overflow: hidden; }
.mw-c { display: grid; gap: var(--gap-wall); min-width: 0; }
@media (max-width: 899px) {
  .mw { display: block; columns: 2; column-gap: var(--gap-wall); max-height: none; }
  .mw-c { display: contents; }
  .mw [role="listitem"] { break-inside: avoid; margin-bottom: var(--gap-wall); }
  .mw-c > :last-child { display: none; }
  .mw-w .vall-w.on-wall { margin-top: 16px; }
}

/* the View all pill that straddles a wall's cut: its tangerine wash sits on the canvas, never on the media
   (tangerine text on a 12% wash over a bright picture would fail contrast) */
.hm .vall-w.on-wall .vall { position: relative; isolation: isolate; background: var(--canvas); }
.hm .vall-w.on-wall .vall::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--accent-wash); }
.hm .vall-w.on-wall .vall:hover { outline: 1px solid var(--accent-line); outline-offset: -1px; }

/* stills with a phone rendition (pages_home.pstill): exactly one of the two has a box, so only that one loads */
.hm-ph { display: none; }
@media (max-width: 899px) { .hm .hm-dk { display: none; } .hm .hm-ph { display: block; } }

/* the rows sit inside .wrap on desktop, so snapping needs no gutter of its own (phones bleed the row to the edge) */
@media (min-width: 900px) { .hm .car-tr { scroll-padding: 0; } }

/* ---------------------------------------------------------------- 3. tools */
.hm-tg { grid-template-columns: minmax(0, 1.75fr) repeat(3, minmax(0, 1fr)); }
.hm-tg .stt { grid-row: span 2; }
@media (max-width: 1199px) and (min-width: 900px) { .hm-tg { grid-template-columns: repeat(3, minmax(0, 1fr)); } .hm-tg .stt { grid-column: 1 / -1; grid-row: auto; } }
@media (max-width: 899px) { .hm-tg { grid-template-columns: 1fr 1fr; } .hm-tg .stt { grid-column: 1 / -1; grid-row: auto; } }
/* the Studio tile: our composer's model popover, open; the selection steps down the list and the chip and Go
   follow with each price (pages_home.studio_tile). It steps only while on screen with motion on (.is-live). */
.stt { position: relative; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 20px; min-width: 0; padding: 20px; border-radius: var(--r-lg); background: var(--stage); outline: 1px solid var(--line); outline-offset: -1px; transition: outline-color var(--t-hover) var(--ease-std); }
.stt:hover { outline-color: var(--line-hover); }
.stt-tx { align-self: start; display: grid; gap: 8px; min-width: 0; }
.stt-tx .bnr-eb { margin: 0; }
.stt-t { font: var(--fw-heavy) var(--d-s) / var(--d-s-lh) var(--font-title); text-transform: uppercase; letter-spacing: var(--d-track-small); color: var(--text-1); transition: color var(--t-hover) var(--ease-std); }
.stt:hover .stt-t { color: var(--accent-text); }
.stt-a { color: inherit; }
.stt-a::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: var(--r-lg); }
.stt-a:focus-visible { box-shadow: none; }
.stt-a:focus-visible::after { box-shadow: var(--focus); }
.stt-d { font-size: var(--fs-13); line-height: 18px; color: var(--text-3); text-wrap: pretty; }
.stt-ui { align-self: end; display: grid; gap: 8px; min-width: 0; padding: 8px; border-radius: var(--r-lg); background: var(--surface-2); outline: 1px solid var(--line-strong); outline-offset: -1px; }
.stt-pop { display: grid; gap: 2px; padding: 4px; border-radius: var(--r-md); background: var(--surface-1); outline: 1px solid var(--line-strong); outline-offset: -1px; }
.stt-o { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) auto 16px; align-items: center; gap: 8px; padding: 3px 8px; border-radius: var(--r-sm); }
.stt-o::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--surface-3); opacity: 0; }
.stt-ot { display: grid; min-width: 0; font-size: var(--fs-13); line-height: 16px; font-weight: var(--fw-medium); color: var(--text-1); white-space: nowrap; }
.stt-ot span { overflow: hidden; text-overflow: ellipsis; font-size: var(--fs-11); line-height: 14px; font-weight: var(--fw-regular); color: var(--text-3); }
.stt-o .cr { font-size: var(--fs-13); font-weight: var(--fw-semi); color: var(--text-2); font-variant-numeric: tabular-nums; }
.stt-ck { color: var(--accent-text); opacity: 0; }
.stt-o.is-base::before, .stt-o.is-base .stt-ck { opacity: 1; }
.stt-go { display: flex; align-items: center; justify-content: center; gap: 12px; height: 44px; border-radius: var(--r-md); background: var(--accent); color: var(--on-accent); }
.stt-gl { font: var(--fw-heavy) 22px / 1 var(--font-title); text-transform: uppercase; letter-spacing: 0.02em; }
.stt-gc { font-size: var(--fs-13); font-weight: var(--fw-bold); font-variant-numeric: tabular-nums; }
.stt-go .cr .g { color: currentColor; }
/* a stepping value is a stack of its states in one cell (the widest sets the size, so nothing shifts) */
.stt-st { display: inline-grid; align-items: center; justify-items: start; }
.stt-s { grid-area: 1 / 1; opacity: 0; }
.stt-s.is-base { opacity: 1; }
.stt-ui.is-live .stt-s, .stt-ui.is-live .stt-o::before, .stt-ui.is-live .stt-ck { animation: stt-step 10s linear infinite; animation-delay: calc(var(--o) * 2.5s - 10s); }
@keyframes stt-step { 0%, 24.9% { opacity: 1; } 25%, 100% { opacity: 0; } }   /* a selection moves at once, as in the real popover */
@media (max-width: 1199px) and (min-width: 900px) { .stt-tx { align-self: center; max-width: 420px; } }
@media (max-width: 899px) {
  .stt { grid-template-columns: minmax(0, 1fr); padding: 16px; gap: 14px; }
  .stt-t { font-size: var(--d-s-ph); }
}

/* ---------------------------------------------------------------- 5. banner: one still, five models (cells at most 286 x 161) */
.f5 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-8); }
.f5-t { position: relative; margin: 0; aspect-ratio: 16 / 9; border-radius: var(--r-md); overflow: hidden; background: var(--surface-2); outline: 1px solid var(--line-on-media); outline-offset: -1px; }
.f5-t > .vm, .f5-t > .st { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.f5-t .mtl-chip { left: 8px; bottom: 8px; gap: 5px; }
.f5-t.is-still { outline: 2px solid var(--accent-line); outline-offset: -2px; }
.f5-in .i { color: var(--accent-text); }
@media (max-width: 899px) { .f5 { grid-template-columns: 1fr 1fr; } .f5-t .mtl-chip { left: 6px; bottom: 6px; height: 22px; padding: 0 7px; font-size: var(--fs-11); } }

/* ---------------------------------------------------------------- 6. vertical films (5 across at most 299 wide) */
.hm-reels .car-it { width: calc((100% - 4 * var(--gap-reel)) / 5); }
@media (max-width: 1199px) and (min-width: 900px) { .hm-reels .car-it { width: calc((100% - 3 * var(--gap-reel)) / 4); } }
@media (max-width: 899px) { .hm-reels .car-it { width: 44vw; } .hm-reels .car { --car-gap: var(--gap-wall); } }

/* ---------------------------------------------------------------- 7. presets (6 across, at most 250 square) */
.pre-g { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--s-12); }
.pre { margin: 0; display: grid; align-content: start; gap: 10px; min-width: 0; }
.pre figcaption { display: grid; gap: 2px; }
.pre-n { font: var(--fw-heavy) var(--d-xs) / var(--d-xs-lh) var(--font-title); text-transform: uppercase; letter-spacing: var(--d-track-small); color: var(--text-1); }
.pre-d { font-size: var(--fs-13); line-height: 18px; color: var(--text-3); }
/* the small View all pill in a section header (rows and the presets); phones put it under the subline */
.hm-va.vall-w { margin: 0; }
.hm-va .vall { height: var(--btn-md); padding: 0 12px 0 16px; font-size: var(--fs-14); }
@media (max-width: 899px) { .hm .shd { flex-wrap: wrap; align-items: flex-start; } .hm-va .vall { height: var(--btn-lg); } }
@media (max-width: 1199px) and (min-width: 900px) { .pre-g { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 899px) {
  /* phones: one horizontal row that bleeds to the screen edges (the tiles are links, so the row is keyboard reachable) */
  .pre-g { display: flex; gap: var(--s-8); margin: 0 calc(-1 * var(--site-gutter)); padding: 0 var(--site-gutter); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--site-gutter); scrollbar-width: none; overscroll-behavior-x: contain; }
  .pre-g::-webkit-scrollbar { display: none; }
  .pre { flex: none; width: 42vw; scroll-snap-align: start; }
}

/* ---------------------------------------------------------------- 8. the tangerine banner: how it works */
#how.bnr { grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; }
#how .bnr-tx { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-areas: "eb eb" "t s" "t b"; column-gap: 48px; align-items: end; }
#how .bnr-eb { grid-area: eb; }
#how .bnr-t { grid-area: t; margin: 0; font-size: var(--d-xl); line-height: var(--d-xl-lh); }
#how .bnr-s { grid-area: s; margin-bottom: 16px; max-width: 520px; font-size: var(--fs-17); }
#how .bnr-tx .btn { grid-area: b; justify-self: start; }
#how .bnr-m { min-height: 0; }
.hw { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-12); }
.hw-s { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-content: start; gap: 14px 10px; min-width: 0; padding: 16px; border-radius: var(--r-lg); background: var(--stage); color: var(--text-1); }
.hw-n { width: 28px; height: 28px; border-radius: var(--r-pill); background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-size: var(--fs-14); font-weight: var(--fw-heavy); }
.hw-t { align-self: center; font: var(--fw-heavy) var(--d-xs) / var(--d-xs-lh) var(--font-title); text-transform: uppercase; letter-spacing: var(--d-track-small); }
.hw-s > :nth-child(n + 3) { grid-column: 1 / -1; }
.hw .snp.in { position: relative; inset: auto; z-index: auto; max-width: 100%; justify-self: start; }
.hw .snp-chat.in { width: auto; max-width: 92%; }
.hw .snp-chat.you { justify-self: end; }
.hw .hw-re { background: var(--surface-1); }
.hw-sh { display: grid; gap: 2px; padding: 4px; border-radius: var(--r-md); background: var(--surface-1); outline: 1px solid var(--line); outline-offset: -1px; }
.hw-sh li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 8px; min-height: 36px; padding: 0 8px; border-radius: var(--r-sm); font-size: var(--fs-13); line-height: 18px; color: var(--text-2); }
.hw-sh li + li { border-top: 1px solid var(--line); border-radius: 0; }
.hw-k { display: grid; place-items: center; width: 20px; height: 20px; border-radius: var(--r-xs); background: var(--surface-3); color: var(--text-1); font-size: var(--fs-11); font-weight: var(--fw-bold); font-variant-numeric: tabular-nums; }
.hw-sl { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hw-sd { color: var(--text-3); font-variant-numeric: tabular-nums; }
.hw-note { font-size: var(--fs-13); line-height: 18px; color: var(--text-3); }
.hw-att { position: relative; justify-self: end; width: 160px; aspect-ratio: 16 / 9; border-radius: var(--r-md); overflow: hidden; background: var(--surface-2); outline: 1px solid var(--line-on-media); outline-offset: -1px; }
.hw-att > .st { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hw-att-l { position: absolute; left: 6px; bottom: 6px; display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px 0 6px; border-radius: var(--r-pill); background: var(--stage); color: var(--text-1); font-size: var(--fs-11); font-weight: var(--fw-semi); }
.hw-att-l .i { color: var(--accent-text); }
.hw-m { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--r-md); overflow: hidden; background: var(--surface-2); outline: 1px solid var(--line-on-media); outline-offset: -1px; }
.hw-m > .vm { position: absolute; inset: 0; }
.hw-m .snp.tl { top: 8px; left: 8px; }
@media (max-width: 1199px) and (min-width: 900px) { #how .bnr-tx { grid-template-columns: minmax(0, 1fr); grid-template-areas: "eb" "t" "s" "b"; } #how .bnr-s { margin-top: 16px; } }
@media (max-width: 899px) {
  #how .bnr-tx { grid-template-columns: minmax(0, 1fr); grid-template-areas: "eb" "t" "s" "b"; }
  #how .bnr-t { font-size: var(--d-xl-ph); line-height: 0.95; }
  #how .bnr-s { margin-top: 14px; font-size: var(--fs-15); }
  .hw { grid-template-columns: minmax(0, 1fr); }
}

/* ---------------------------------------------------------------- 10. one product, sixteen scenes: one wall
   Eight across in two rows (184 x 276 at the 1,560 px cap); six across on tablets (the last four never load);
   phones swipe through all sixteen in one row that bleeds to the screen edges. */
.mon-g { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: var(--gap-wall); }
@media (max-width: 1199px) and (min-width: 900px) { .mon-g { grid-template-columns: repeat(6, minmax(0, 1fr)); } .mon-g > :nth-child(n + 13) { display: none; } }
@media (max-width: 899px) {
  .mon-g { display: flex; margin: 0 calc(-1 * var(--site-gutter)); padding: 0 var(--site-gutter); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--site-gutter); scrollbar-width: none; overscroll-behavior-x: contain; }
  .mon-g::-webkit-scrollbar { display: none; }
  .mon-g > * { flex: none; width: 38vw; scroll-snap-align: start; }
}

/* ---------------------------------------------------------------- reduced motion and Pause motion */
@media (prefers-reduced-motion: reduce) { .vc-head::before, .stt-s, .stt-o::before, .stt-ck { animation: none !important; } }
.motion-off .vc-head::before, .motion-off .stt-s, .motion-off .stt-o::before, .motion-off .stt-ck { animation: none; }

/* ---------------------------------------------------------------- fix-1: denser walls, the reel wall, honest presets
   Five- and six-column walls (tiles under 360 CSS px: up to 20 play at once on desktop); tablets keep four stacks,
   phones two flowing columns with the first two tiles of each stack. */
.mw.c5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.mw.c6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 1199px) and (min-width: 900px) {
  .mw.c5, .mw.c6 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .mw.c5 > .mw-c:nth-child(n + 5), .mw.c6 > .mw-c:nth-child(n + 5) { display: none; }
}
@media (max-width: 899px) {
  .mw.c6 .mw-c > :nth-child(n + 3), .mw.c5 .mw-c > :nth-child(n + 3) { display: none; }
}
/* the reel wall: six 9:16 clips in a row (each at most 247 wide) */
.rw { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--gap-wall); }
@media (max-width: 1199px) and (min-width: 900px) { .rw { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 899px) { .rw { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rw > :nth-child(n + 5) { display: none; } }
/* presets: the example photo each one needs */
.pre-m { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: var(--r-md); overflow: hidden; background: var(--surface-2); outline: 1px solid var(--line-on-media); outline-offset: -1px; }
.pre-m > .st { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.pre-m:hover > .st { transform: scale(1.04); }
.pre-tag { position: absolute; left: 8px; top: 8px; display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: var(--r-pill); background: var(--stage); color: var(--text-2); font-size: var(--fs-11); font-weight: var(--fw-semi); }
.pre .cr { white-space: nowrap; }
/* the first card's chip sits top left, clear of the plan snippet at the bottom right */
.mcd .mcd-chip { top: 10px; bottom: auto; left: 10px; }
/* words for a pointer, words for a finger: "Point at" with a mouse, "Tap" on a touch screen */
.on-touch { display: none; }
@media (hover: none) { .on-hover { display: none; } .on-touch { display: inline; } }
/* the hero's "You" bubble shows the first three lines of the tile's real prompt (the full prompt is in the tile's
   reveal further down and in Explore) so the picture it describes stays in view */
.hb .hb-s1:not(.is-typing) .snp-txt { display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
/* keep exploring: eight small 16:9 clips in a row (each at most 188 wide) */
.ks { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: var(--gap-wall); }
@media (max-width: 1199px) and (min-width: 900px) { .ks { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 899px) { .ks { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ks > :nth-child(n + 5) { display: none; } }
/* fix-1 (small desktops, 900 to 1199): walls keep tiles inside their largest boxes (six-column wall: five stacks at
   most 227 wide; the reel wall stays six across; the strip six across, each at most 188) */
@media (max-width: 1199px) and (min-width: 900px) {
  .mw.c6 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .mw.c6 > .mw-c:nth-child(5) { display: grid; }
  .mw.c6 > .mw-c:nth-child(n + 6) { display: none; }
  .rw { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .ks { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .ks > :nth-child(n + 7) { display: none; }
}
/* phones: the three hero tiles carry no model chips (the plan snippet sits across their feet; the chips are in each
   tile's reveal further down the page) */
@media (max-width: 899px) { .hb-t .mtl-chip:not(.hb-in) { display: none; } }

/* ==================================================================================================================
   THE NEW HOME, /clips/ AND THE FILM PAGES (site-wall/spec.md, 18 November 2026; src/pages_home.py, pages_site.py)
   ================================================================================================================== */
/* the wide pages share the wall's edge: 2,002 px of content between 16 px gutters (nav, sections and footer) */
.hm-wide { --site-max: var(--site-max-wide); }

/* ---------------------------------------------------------------- the hero: the line left, the composer right */
.hr2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(440px, 600px); column-gap: 40px; align-items: end; padding-top: 40px; }
.hr2-tx { min-width: 0; }
.hr2-h { max-width: 11em; font: var(--fw-heavy) clamp(44px, 5vw, 72px) / 0.92 var(--font-title); text-transform: uppercase; letter-spacing: var(--d-track-big); color: var(--text-1); text-wrap: balance; }   /* two lines on every desktop */
.hr2-sub { margin-top: 12px; font-size: var(--fs-17); line-height: 24px; color: var(--text-2); text-wrap: pretty; }
.hr2-c { min-width: 0; }
.gcp-site .gcp-f { display: flex; align-items: flex-end; gap: 12px; padding: 12px; border-radius: var(--r-lg); background: var(--surface-2); outline: 1px solid var(--line); outline-offset: -1px; }
.gcp-site .gcp-f:focus-within { outline-color: var(--accent-line); }
.gcp-site textarea { flex: 1; min-width: 0; height: 44px; min-height: 44px; padding: 0 4px; font-size: var(--fs-15); line-height: 22px; }
.gcp-site .gcp-go { flex: none; height: 48px; padding: 0 16px 0 20px; gap: 8px; border-radius: var(--r-md); font-size: 16px; font-weight: var(--fw-semi); }
.hr2-hint { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: var(--fs-13); line-height: 18px; color: var(--text-3); }
.hr2-hint .i { flex: none; color: var(--ok); }
.hr2 .hr-try { margin-top: 10px; }
@media (max-width: 899px) {
  .hr2 { grid-template-columns: minmax(0, 1fr); row-gap: 14px; padding-top: 14px; }
  .hr2-h { font-size: var(--d-xl-ph); line-height: 0.92; }
  .hr2-sub { margin-top: 8px; font-size: var(--fs-15); line-height: 22px; }
  .gcp-site .gcp-f { align-items: center; gap: 8px; padding: 6px 6px 6px 14px; border-radius: var(--r-md); }
  .gcp-site textarea { height: 24px; min-height: 24px; line-height: 24px; padding: 0; font-size: 16px; transition: height var(--t-fast) var(--ease); }
  .gcp-site textarea:focus { height: 72px; }
  .gcp-site .gcp-go { height: 44px; padding: 0 12px 0 14px; font-size: var(--fs-15); }
  .gcp-site .gcp-go .i { width: 18px; height: 18px; }
  .hr2-hint { display: none; }
  .hr2 .hr-try { margin-top: 10px; }
}
@media (min-width: 600px) and (max-width: 899px) { .hr2-hint { display: flex; } }

/* ---------------------------------------------------------------- the wall (#made): explicit stacks, capped, a band */
.wl2-sec .shd-end .btn-lg { height: var(--btn-lg); font-size: 16px; }
.wl2-sec .shd-end .motion-btn { margin-left: 4px; }
@media (max-width: 899px) {
  .wl2-sec { padding-top: 28px; }
  .wl2-sec .shd, .hm-clips .shd { flex-wrap: wrap; align-items: flex-start; }
  .wl2-sec .shd-end .btn { display: none; }
  .wl2-sec .shd-end, .hm-clips .shd-end { width: 100%; }
  .wl2-sec .shd-end .motion-btn { margin-left: 0; height: 36px; }
}
.wl2-w { position: relative; }
.wl2 { position: relative; container-type: inline-size; }
.wl2-g { --n: 6; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: var(--gap-wall); align-items: start; overflow: hidden;
  max-height: min(var(--wall-cap-max), calc((100cqi - (var(--n) - 1) * var(--gap-wall)) / var(--n) * var(--wall-cap-ratio))); }
.wl2-g > .wl2-c { display: grid; gap: var(--gap-wall); min-width: 0; }
.wl2:not(.is-all) .wl2-g > .wl2-c:nth-child(n + 7) { display: none; }     /* stacks 7 and 8 wait for the 7 and 8 column layouts */
.wl2-band { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: var(--wall-band); background: var(--scrim-strong); pointer-events: none; }
.vall-w.on-band { position: relative; z-index: 5; margin-top: -84px; }
.hm .vall-w.on-band .vall { position: relative; isolation: isolate; background: var(--canvas); }
.hm .vall-w.on-band .vall::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--accent-wash); }
.hm .vall-w.on-band .vall:hover { outline: 1px solid var(--accent-line); outline-offset: -1px; }
.wl2-m { display: none; }
@media (max-width: 1599px) { .wl2-d .wl2-g { --n: 5; } .wl2-d:not(.is-all) .wl2-g > .wl2-c:nth-child(n + 6) { display: none; } }
@media (max-width: 1199px) { .wl2-d .wl2-g { --n: 4; } .wl2-d:not(.is-all) .wl2-g > .wl2-c:nth-child(n + 5) { display: none; } }
@media (max-width: 899px) {
  .wl2-d { display: none; }
  .wl2-m { display: block; }
  .wl2-m .wl2-g { --n: 3; }
  .wl2-band { height: 144px; }
}
@media (max-width: 599px) {
  .wl2-m .wl2-g { --n: 2; max-height: calc((100cqi - var(--gap-wall)) / 2 * var(--wall-cap-ratio-ph)); }
  .wl2-m:not(.is-all) .wl2-g > .wl2-c:nth-child(n + 3) { display: none; }
}
/* /clips/: uncapped, every clip at every width. Six stacks as listed from 1,600 px; narrower walls flow the same tiles
   into 4 or 5 balanced columns (nothing hidden); phones keep their two stacks, tablets flow them into 3 columns. */
.wl2.is-all .wl2-g { max-height: none; overflow: visible; }
@media (min-width: 900px) and (max-width: 1599px) {
  .wl2-d.is-all .wl2-g { display: block; columns: var(--n); column-gap: var(--gap-wall); }
  .wl2-d.is-all .wl2-g > .wl2-c { display: contents; }
  .wl2-d.is-all [role="listitem"] { break-inside: avoid; margin-bottom: var(--gap-wall); }
}
@media (min-width: 600px) and (max-width: 899px) {
  .wl2-m.is-all .wl2-g { display: block; columns: 3; column-gap: var(--gap-wall); }
  .wl2-m.is-all .wl2-g > .wl2-c { display: contents; }
  .wl2-m.is-all [role="listitem"] { break-inside: avoid; margin-bottom: var(--gap-wall); }
}

/* ---------------------------------------------------------------- the films (#films): 16:9 triptych posters */
.fp-row { display: grid; grid-template-columns: repeat(var(--per, 2), minmax(0, 1fr)); gap: 20px; max-width: 1990px; }
.fp { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--r-md); overflow: hidden; background: var(--surface-2); isolation: isolate; container-type: inline-size; }
.fp-m { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; background: var(--stage); }
.fp-p { position: relative; min-width: 0; overflow: hidden; background: var(--surface-2); }
.fp-p > .vm, .fp-p > .st { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fp-plate { position: absolute; z-index: 2; left: 12px; bottom: 12px; display: grid; gap: 2px; max-width: calc(100% - 24px); padding: 8px 12px 10px; border-radius: var(--r-sm); background: var(--glass-media); }
.fp-t { font: var(--fw-heavy) 24px / 26px var(--font-title); text-transform: uppercase; letter-spacing: var(--d-track-small); color: var(--text-1); }
.fp-f { font-size: var(--fs-13); line-height: 18px; font-weight: var(--fw-semi); color: var(--text-on-media-2); font-variant-numeric: tabular-nums; }
@container (min-width: 600px) { .fp-t { font-size: 32px; line-height: 34px; } }
.fp-go { position: absolute; z-index: 2; right: 12px; bottom: 12px; height: 40px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: var(--r-md); background: var(--ink-btn); color: var(--on-ink-btn); font-size: var(--fs-14); font-weight: var(--fw-semi); opacity: 0; transition: opacity var(--t-fast) var(--ease-std); }
.fp:hover .fp-go, .fp.is-hover .fp-go, .fp:focus-visible .fp-go { opacity: 1; }
.fp:focus-visible { box-shadow: none; }
.fp:focus-visible::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; box-shadow: inset 0 0 0 2px var(--accent-text), inset 0 0 0 4px var(--canvas); }
@container (max-width: 459px) { .fp-go { display: none; } }
@media (max-width: 899px) {
  .fp-row { display: flex; gap: 12px; margin: 0 calc(-1 * var(--site-gutter)); padding: 0 var(--site-gutter); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--site-gutter); scrollbar-width: none; overscroll-behavior-x: contain; }
  .fp-row::-webkit-scrollbar { display: none; }
  .fp-row > * { flex: none; width: min(85vw, 340px); scroll-snap-align: start; }
}
@media (prefers-reduced-motion: reduce) { .fp-go { transition: none; } }

/* ---------------------------------------------------------------- How it works (#how): one Ink band, no prices */
.hw2 { display: grid; gap: 24px; padding: 32px; border-radius: var(--r-lg); background: var(--stage); outline: 1px solid var(--line); outline-offset: -1px; scroll-margin-top: 72px; }
.hw2-t { color: var(--text-1); }
.hw2-s { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 32px; }
.hw2-i { display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: center; column-gap: 12px; row-gap: 8px; }
.hw2-st { font: var(--fw-heavy) var(--d-xs) / var(--d-xs-lh) var(--font-title); text-transform: uppercase; letter-spacing: var(--d-track-small); color: var(--text-1); }
.hw2-sl { grid-column: 2; font-size: var(--fs-15); line-height: 22px; color: var(--text-2); text-wrap: pretty; }
.hw2-go { justify-self: start; }
@media (max-width: 899px) { .hw2 { padding: 24px; gap: 20px; } .hw2-s { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------------- start from a tool: six cards */
.tg2 { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--gap-tools); }
.tg2 .tcd { grid-template-columns: minmax(0, 1fr); }
.tg2 .tcd-p { display: none; }
@media (min-width: 1800px) { .tg2 .tcd { grid-template-columns: minmax(0, 1fr) auto; } .tg2 .tcd-p { display: block; } }
@media (max-width: 1199px) { .tg2 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .tg2 .tcd { grid-template-columns: minmax(0, 1fr) auto; } .tg2 .tcd-p { display: block; } }
@media (max-width: 899px) { .tg2 .tcd-p { display: none; } .tg2 .tcd { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 599px) { .tg2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } }

/* ---------------------------------------------------------------- the sticky composer, website variant (no chip, no price) */
.stk-site .stk-go { flex: none; height: 40px; padding: 0 14px 0 16px; gap: 6px; border-radius: var(--r-md); font-size: var(--fs-15); }

/* ---------------------------------------------------------------- /clips/ */
.cl-top { padding-top: 28px; }
.cl-h { color: var(--text-1); }
@media (max-width: 899px) { .cl-top { padding-top: 16px; } }

/* ---------------------------------------------------------------- a film page (/films/<slug>.html) */
.fm-top { display: grid; grid-template-columns: minmax(0, 405px) minmax(0, 1fr); gap: 48px; align-items: start; padding-top: 32px; }
.fm-player { position: relative; width: 100%; max-width: 405px; aspect-ratio: 9 / 16; border-radius: var(--r-md); overflow: hidden; background: var(--stage); }
.fm-player video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--stage); }
.fm-tx { display: grid; gap: 16px; align-content: start; max-width: 720px; padding-top: 8px; }
.fm-eb { font-size: var(--fs-13); font-weight: var(--fw-bold); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.fm-h { color: var(--text-1); }
.fm-sf { font-size: var(--fs-17); line-height: 26px; color: var(--text-2); text-wrap: pretty; }
.fm-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; padding: 16px; border-radius: var(--r-md); background: var(--surface-1); outline: 1px solid var(--line); outline-offset: -1px; }
.fm-facts div { display: grid; gap: 2px; min-width: 0; }
.fm-facts dt { font-size: var(--fs-13); line-height: 18px; color: var(--text-3); }
.fm-facts dd { margin: 0; font-size: var(--fs-15); line-height: 22px; font-weight: var(--fw-semi); color: var(--text-1); font-variant-numeric: tabular-nums; }
.fm-note { font-size: var(--fs-14); line-height: 20px; color: var(--text-3); }
.fm-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.fm-brief { margin: 0; max-width: 880px; padding: 20px 24px; border-left: 3px solid var(--accent-line); border-radius: 0 var(--r-md) var(--r-md) 0; background: var(--surface-1); }
.fm-brief p { font-size: var(--fs-17); line-height: 26px; color: var(--text-1); text-wrap: pretty; }
.fs-g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.fs { position: relative; display: grid; grid-template-columns: clamp(110px, 42%, 240px) minmax(0, 1fr); gap: 14px; padding: 12px; border-radius: var(--r-md); background: var(--surface-1); outline: 1px solid var(--line); outline-offset: -1px; scroll-margin-top: 72px; }
.fs:target { outline: 2px solid var(--accent-line); outline-offset: -2px; }
.fs-anchor { position: absolute; top: 0; left: 0; scroll-margin-top: 72px; }
.fs-m { position: relative; align-self: start; aspect-ratio: 9 / 16; border-radius: var(--r-sm); overflow: hidden; background: var(--surface-2); }
.fs-m > .vm, .fs-m > .st { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fs-b { display: grid; align-content: start; gap: 8px; min-width: 0; }
.fs-t { display: flex; align-items: baseline; gap: 8px; font: var(--fw-heavy) var(--d-xs) / var(--d-xs-lh) var(--font-title); text-transform: uppercase; letter-spacing: var(--d-track-small); color: var(--text-1); }
.fs-n { color: var(--text-3); font-variant-numeric: tabular-nums; }
.fs-chip { justify-self: start; display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: var(--r-pill); background: var(--surface-3); color: var(--text-1); font-size: var(--fs-12); font-weight: var(--fw-semi); white-space: nowrap; font-variant-numeric: tabular-nums; }
.fs-p { font-size: var(--fs-14); line-height: 20px; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 4; line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.fs-p.is-open { display: block; -webkit-line-clamp: unset; line-clamp: none; }
.fs-none { color: var(--text-3); }
.fs-more { justify-self: start; padding: 0; font-size: var(--fs-13); font-weight: var(--fw-semi); color: var(--text-1); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-hover); }
.fs-more:hover { text-decoration-color: var(--text-1); }
.fs-from { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: var(--fs-13); line-height: 18px; color: var(--text-3); }
.fs-k { color: var(--text-3); }
.fs-ths { display: flex; gap: 6px; }
.fs-th { display: block; width: 32px; height: 57px; border-radius: 6px; overflow: hidden; outline: 1px solid var(--line-strong); outline-offset: -1px; background: var(--surface-3); }
.fs-th img { width: 100%; height: 100%; object-fit: cover; }
.fs-th:focus-visible { box-shadow: var(--focus); }
.fs-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.fs-go { gap: 6px; }
.fm-end { display: grid; justify-items: start; gap: 14px; }
.fm-music { font-size: var(--fs-14); line-height: 20px; color: var(--text-3); }
.fm-made { color: var(--text-1); }
.fm-made-l { max-width: 760px; font-size: var(--fs-17); line-height: 26px; color: var(--text-2); }
@media (max-width: 1199px) { .fs-g { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 899px) {
  .fm-top { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 16px; }
  .fm-player { max-width: 360px; justify-self: center; }
  .fm-facts { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 599px) { .fs-g { grid-template-columns: minmax(0, 1fr); } .fs { grid-template-columns: 120px minmax(0, 1fr); } }
