/* ============================================================
   HOME — "Prime Time Guide": the client pitch told as a 2004
   Media Center TV-guide ad. The owner's photo plays on a TV, the work
   runs as tonight's features in Media Center, a ruled channel
   grid holds the logos, and a remote flips through the project's
   episodes. XP Luna windows still carry the programs (Help
   Topics, New Message). Type: Noto Sans throughout. Icons: Pixel Icon
   Library. Image slots are grey placeholders naming their file.
   One page, three materials (owner, 2026-10-13), each with its own
   kind of heading: brushed steel is the hardware that opens and
   closes it (poster type), broadcast blue is the screen (Media
   Center's lamp and label), and paper is the printed guide (one
   headline size, left). One green, Phosphor OS's own.
   Loaded after style.css; everything below the icon colours is
   scoped to .home.
   ============================================================ */

/* icon colours for the icons Home adds */
.px-questionCircle { --ic-fill: var(--ic-blue); }
.px-bookOpen { --ic-fill: var(--ic-violet); }
.px-flag { --ic-fill: var(--ic-red); }
.px-quote { --ic-fill: var(--ic-yellow); }

.home {
  /* the rhythm, on the 4px grid, stepping up at 640px and 1100px (below): the side gutter, the space above a
     section, the padding inside a colour band, a head to its content, one block to the next, a headline to its lead */
  --gutter: 20px; --section: 96px; --band-pad: 80px; --lead: 40px; --block: 64px; --head: 16px;
  /* Ink, Ink Soft, REC red and the silver face live in style.css :root: the page keys share them with About */
  /* newsprint: the episode guide */
  --news: #e9e2cf;
  --news-ink: #1b1a17;
  /* raster (asset/Home): the owner's newsprint scan, one 1200px tile */
  --news-tex: url("../asset/Home/newsprint-1200.jpg");
  /* Media Center broadcast blue, and its focus glow in Phosphor OS's green (--ph, style.css) */
  --bc-deep: #04163f;
  --bc-mid: #0d3a8f;
  --bc-hi: #1d56b8;
  --bc-soft: #d6e2f8;
  --glow: var(--ph);
  /* the objects' materials, each drawn once */
  --glow-face: linear-gradient(180deg, #9af59b, #2fb233);
  --glow-edge: #c8fcc9;
  --glow-ink: var(--ph-ink);
  --glow-halo: rgba(76, 218, 80, .55);
  --glow-deep: #0f5a14;
  --glow-shade: #0a3d0e;
  /* paper: the printed guide under the light sections, a warm sheet with a generated grain over it (tools/home-tiles):
     black at a little opacity, so the grain only darkens the colour, as a grey multiplied over it would */
  --print: #f5f1e6;
  /* the paper's second colour: what is printed on it is ink, and an icon's face takes this deeper cream, as a two
     colour job would print it */
  --print-tint: #e4d9bf;
  --print-sheet: url("../asset/Home/paper-grain-256.png") 0 0 / 256px 256px, var(--print);
  /* the brushed steel of the hero and the close: a sweep a step deeper than the silver, and its grain (a generated
     1600px tile). The sheet lays the grain (drawn at 800px, so a hairline is one pixel of a 2x screen) over the sweep
     in overlay, so it only lightens and darkens the metal, with two broad bands of sheen where the light catches the
     grain and a shade between them; it wants background-blend-mode: overlay, normal, normal */
  --steel: linear-gradient(180deg, #e3e6ea 0%, #c3c8cf 40%, #a4aab4 100%);
  --steel-tex: url("../asset/Home/steel-brushed-1600.webp");
  --steel-sheet: var(--steel-tex) 0 0 / 800px auto,
    linear-gradient(90deg, rgba(255, 255, 255, 0) 8%, rgba(255, 255, 255, .4) 30%, rgba(255, 255, 255, 0) 52%, rgba(40, 44, 60, .1) 74%, rgba(255, 255, 255, .28) 90%, rgba(255, 255, 255, 0)),
    var(--steel);
  --bc-scrim: rgba(3, 18, 60, .92);
  container: home / inline-size;
  min-height: 100%;
  overflow-x: clip;
  background: var(--print-sheet);
  color: var(--ink);
  font: 16px/1.6 var(--read);
}
.home > header, .home > section { position: relative; padding: var(--section) var(--gutter) 0; }
@container home (min-width: 640px) { .home > * { --gutter: 40px; --section: 120px; --band-pad: 104px; --lead: 48px; --block: 80px; } }
@container home (min-width: 1100px) { .home > * { --gutter: 64px; --section: 144px; --band-pad: 128px; --lead: 56px; --block: 96px; --head: 20px; } }
.home .btn { font: 12px/1.3 var(--ui); color: #000; text-decoration: none; }
.home .btn.lg { font-size: 12px; }
.home .btn .px { width: 16px; height: 16px; }
.home .btn:disabled { color: var(--shade); }

/* shared type: Noto Sans bold heads in black ink, the way the 2004 ads set them */
.pt-h2 { margin: 0; max-width: 22ch; font: 700 28px/1.1 var(--display); letter-spacing: -0.025em; color: var(--ink); text-wrap: balance; }
.sec-copy { min-width: 0; }

/* ============================================================
   MINI WINDOWS (XP programs drawn inside the page)
   ============================================================ */
.home .mw {
  position: relative; z-index: 1; min-width: 0; display: flex; flex-direction: column; padding: 0 3px 3px;
  border-radius: 8px 8px 0 0; background: var(--face); color: #000; font: 12px/1.3 var(--ui);
  box-shadow: var(--frame), 0 20px 34px -20px rgba(0, 20, 70, .55);
}
.mw-title { flex: none; height: 26px; margin: 0 -3px; display: flex; align-items: center; gap: 4px; padding: 0 4px 0 8px; border-radius: 7px 7px 0 0; background: var(--cap); color: #fff; font: 700 12px/1 var(--ui); text-shadow: 1px 1px var(--cap-shadow); white-space: nowrap; overflow: hidden; user-select: none; }
.mw-title.off { background: var(--cap-off); color: #e3ebfc; text-shadow: none; }
/* XP drew one window active at a time: Home's mini windows wear the inactive title bar until something in them has
   the keys, and switch at once, as XP did. .lit is the flash that says where the keys will go (app.js homeFlash) */
.home .mw:not(:focus-within, .lit) .mw-title { background: var(--cap-off); color: #e3ebfc; text-shadow: none; }
.mw-title .t-ico { display: flex; }
.mw-title .px { width: 16px; height: 16px; }
.mw-title .t-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
/* caption buttons, drawn faded: these are pictures of windows inside a page, not windows you can close */
.mw-btns { flex: none; display: flex; gap: 2px; opacity: .6; }
.mw-btns .mb { width: 19px; height: 19px; display: grid; place-items: center; border: 1px solid #fff; border-radius: 3px; background: var(--caption-btn); }
.mw-btns .mb.x { margin-left: 2px; background: var(--caption-close); }
.mw-btns svg { fill: #fff; width: 9px; height: 9px; }

/* grey image placeholder: a slot waiting for the owner's file, named in its tag */
.ph { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; padding: 0; border: 0; background: linear-gradient(180deg, #e8e8e8, #d6d6d6); box-shadow: inset 0 0 0 1px #c3c3c3; }
.ph-tag { position: absolute; left: 12px; top: 12px; max-width: calc(100% - 24px); display: flex; align-items: center; gap: 4px; padding: 4px 8px 4px 4px; border-radius: 3px; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); font: 12px/1.3 var(--ui); color: #000; white-space: nowrap; overflow: hidden; }
.ph-tag .px { width: 16px; height: 16px; flex: none; }

/* ============================================================
   1 · NOW SHOWING — the headline printed on brushed steel, over
   a big CRT monitor playing the owner's photo
   ============================================================ */
/* the ground is a sheet of brushed steel (--steel-sheet), its top edge lit */
.home > .pt-hero {
  display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: var(--lead); padding-top: 32px; padding-bottom: 64px;
  background: var(--steel-sheet); background-blend-mode: overlay, normal, normal;
  box-shadow: inset 0 1px var(--hi);
}
/* the words are printed on the metal: dark ink with a white emboss under it, like the skins' printed labels */
.pt-copy { position: relative; z-index: 2; min-width: 0; display: grid; justify-items: center; text-align: center; }
.pt-h1 { margin: 0; max-width: 20ch; font: 700 32px/1.1 var(--display); letter-spacing: -0.03em; color: var(--ink); text-wrap: balance; text-shadow: 0 1px rgba(255, 255, 255, .7); }
.pt-intro { margin: var(--head) 0 0; max-width: 56ch; font: 16px/1.6 var(--read); color: var(--ink-2); text-wrap: pretty; text-shadow: 0 1px rgba(255, 255, 255, .6); }
/* the hero's two steps are page keys (style.css): Start a project on the REC key, Watch the work on a Silver key */
.pt-acts { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px; margin-top: 32px; }
.rec-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ff9a90, var(--rec) 60%, #8e110b); box-shadow: 0 0 0 1px rgba(0, 0, 0, .25); }

/* the monitor: the case pages' CRT (its case, tube, chin and stand are style.css's .crt-*), up to 880px wide. The
   photo fills the 4:3 tube; the tube's scanlines and glass lie over the picture and its lower third */
.pt-crt { position: relative; z-index: 2; width: min(100%, 880px); margin: 0; }
.pt-crt picture { display: block; height: 100%; }
.pt-photo { display: block; width: 100%; height: 100%; object-fit: cover; cursor: crosshair; }
/* Home's monitor has no stand: it is built into the steel (owner's trial, 2026-10-07). A satin steel flange, a shade
   darker than the sheet, stands just proud of it, its edge rounded off (lit along the top, shaded along the foot, a
   soft shadow under it, no hard outline), screwed at its four corners; in it, the opening cut for the case: a crisp lip,
   then its walls lit as a recess lit from the top left, in one sweep from the shaded top left to the lit foot and right
   so they turn the corners without a seam, and the dark cavity the case sits in, its shadow falling into the cavity's foot. --fl is the flange's
   reach past the case, --cut the opening's, --wall its walls; a phone's set keeps them small inside the hero's 20px. The flange takes its room
   on every side (margin-block, and a width that leaves it inside the hero's padding), so the hero's gaps and margins
   are measured from its edge, as they were from the case's */
.pt-crt { --fl: 30px; --cut: 10px; --wall: 5px; --sw: 15px; --sp: 10.5px; width: min(calc(100% - var(--fl) * 2), 880px); margin-block: var(--fl); }
.pt-crt .crt-stand { display: none; }
.pt-crt .crt-case { position: relative;
  box-shadow: inset 0 0 0 1px var(--shade), inset 0 2px 1px #fff, inset 4px 0 4px -2px rgba(255, 255, 255, .8), inset -4px 0 6px -2px rgba(20, 16, 8, .18), inset 0 -4px 6px rgba(20, 16, 8, .2),
    0 1px 1px rgba(6, 8, 14, .55), 0 6px 8px -1px rgba(6, 8, 14, .5), 0 -1px 2px rgba(6, 8, 14, .25); }
.pt-crt::before, .pt-crt::after { content: ""; position: absolute; z-index: -1; inset: calc(var(--fl) * -1); border-radius: calc(16px + var(--fl) * var(--fr, .45)); pointer-events: none; }
.pt-crt::before {
  background: var(--steel-tex) 0 0 / 800px auto,
    linear-gradient(180deg, rgba(255, 255, 255, .3), rgba(255, 255, 255, 0) 30%, rgba(20, 26, 40, 0) 70%, rgba(20, 26, 40, .14)),
    linear-gradient(90deg, #b3bac4, #cbd0d8 28%, #bcc2cb 55%, #a8afba 80%, #bbc1ca);
  background-blend-mode: overlay, normal, normal;
  box-shadow: inset 0 2px 3px -1px rgba(255, 255, 255, .55), inset 2px 0 3px -1px rgba(255, 255, 255, .25), inset 0 -2px 3px -1px rgba(24, 30, 44, .22), inset -2px 0 3px -1px rgba(24, 30, 44, .12),
    0 0 1.5px rgba(24, 30, 44, .18), 0 1px 1px rgba(24, 30, 44, .22), 0 4px 10px -2px rgba(24, 30, 44, .2); }
/* the screws: slotted, a domed head lit from the top left with its gleam, the slot sunk into it (dark at its shaded
   top wall, its lower wall catching the light, its ends running out over the dome), each turned its own way as
   screws are, set in a dark ring where it sinks into the flange with the flange's light round that */
.pt-crt::after {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cdefs%3E%3CradialGradient id='h' cx='.38' cy='.32' r='.75'%3E%3Cstop offset='0' stop-color='%23fff'/%3E%3Cstop offset='.25' stop-color='%23e6e9ee'/%3E%3Cstop offset='.7' stop-color='%23a9b0bb'/%3E%3Cstop offset='1' stop-color='%236b7280'/%3E%3C/radialGradient%3E%3CradialGradient id='k' cx='.5' cy='.5' r='.5'%3E%3Cstop offset='.78' stop-color='%231e2430' stop-opacity='.7'/%3E%3Cstop offset='1' stop-color='%231e2430' stop-opacity='0'/%3E%3C/radialGradient%3E%3ClinearGradient id='s' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%231f242e'/%3E%3Cstop offset='.55' stop-color='%233a414d'/%3E%3Cstop offset='1' stop-color='%235d6573'/%3E%3C/linearGradient%3E%3CclipPath id='c'%3E%3Ccircle cx='15' cy='15' r='10.6'/%3E%3C/clipPath%3E%3C/defs%3E%3Ccircle cx='15.4' cy='15.8' r='14.2' fill='url(%23k)'/%3E%3Ccircle cx='15' cy='15' r='13.2' fill='none' stroke='%23fff' stroke-opacity='.45' stroke-width='.8' transform='translate(.5 .7)'/%3E%3Ccircle cx='15' cy='15' r='12' fill='url(%23h)'/%3E%3Ccircle cx='15' cy='15' r='11.6' fill='none' stroke='%23283040' stroke-opacity='.45' stroke-width='.8'/%3E%3Cellipse cx='10.8' cy='9.6' rx='3' ry='1.7' transform='rotate(-35 10.8 9.6)' fill='%23fff' fill-opacity='.7'/%3E%3Cg clip-path='url(%23c)' transform='rotate(18 15 15)'%3E%3Crect x='3' y='12.4' width='24' height='.8' fill='%23283040' fill-opacity='.3'/%3E%3Crect x='3' y='13.2' width='24' height='3.4' rx='1' fill='url(%23s)'/%3E%3Crect x='3' y='16.3' width='24' height='.7' fill='%23fff' fill-opacity='.55'/%3E%3C/g%3E%3C/svg%3E") var(--sp) var(--sp) / var(--sw) var(--sw) no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cdefs%3E%3CradialGradient id='h' cx='.38' cy='.32' r='.75'%3E%3Cstop offset='0' stop-color='%23fff'/%3E%3Cstop offset='.25' stop-color='%23e6e9ee'/%3E%3Cstop offset='.7' stop-color='%23a9b0bb'/%3E%3Cstop offset='1' stop-color='%236b7280'/%3E%3C/radialGradient%3E%3CradialGradient id='k' cx='.5' cy='.5' r='.5'%3E%3Cstop offset='.78' stop-color='%231e2430' stop-opacity='.7'/%3E%3Cstop offset='1' stop-color='%231e2430' stop-opacity='0'/%3E%3C/radialGradient%3E%3ClinearGradient id='s' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%231f242e'/%3E%3Cstop offset='.55' stop-color='%233a414d'/%3E%3Cstop offset='1' stop-color='%235d6573'/%3E%3C/linearGradient%3E%3CclipPath id='c'%3E%3Ccircle cx='15' cy='15' r='10.6'/%3E%3C/clipPath%3E%3C/defs%3E%3Ccircle cx='15.4' cy='15.8' r='14.2' fill='url(%23k)'/%3E%3Ccircle cx='15' cy='15' r='13.2' fill='none' stroke='%23fff' stroke-opacity='.45' stroke-width='.8' transform='translate(.5 .7)'/%3E%3Ccircle cx='15' cy='15' r='12' fill='url(%23h)'/%3E%3Ccircle cx='15' cy='15' r='11.6' fill='none' stroke='%23283040' stroke-opacity='.45' stroke-width='.8'/%3E%3Cellipse cx='10.8' cy='9.6' rx='3' ry='1.7' transform='rotate(-35 10.8 9.6)' fill='%23fff' fill-opacity='.7'/%3E%3Cg clip-path='url(%23c)' transform='rotate(-38 15 15)'%3E%3Crect x='3' y='12.4' width='24' height='.8' fill='%23283040' fill-opacity='.3'/%3E%3Crect x='3' y='13.2' width='24' height='3.4' rx='1' fill='url(%23s)'/%3E%3Crect x='3' y='16.3' width='24' height='.7' fill='%23fff' fill-opacity='.55'/%3E%3C/g%3E%3C/svg%3E") calc(100% - var(--sp)) var(--sp) / var(--sw) var(--sw) no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cdefs%3E%3CradialGradient id='h' cx='.38' cy='.32' r='.75'%3E%3Cstop offset='0' stop-color='%23fff'/%3E%3Cstop offset='.25' stop-color='%23e6e9ee'/%3E%3Cstop offset='.7' stop-color='%23a9b0bb'/%3E%3Cstop offset='1' stop-color='%236b7280'/%3E%3C/radialGradient%3E%3CradialGradient id='k' cx='.5' cy='.5' r='.5'%3E%3Cstop offset='.78' stop-color='%231e2430' stop-opacity='.7'/%3E%3Cstop offset='1' stop-color='%231e2430' stop-opacity='0'/%3E%3C/radialGradient%3E%3ClinearGradient id='s' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%231f242e'/%3E%3Cstop offset='.55' stop-color='%233a414d'/%3E%3Cstop offset='1' stop-color='%235d6573'/%3E%3C/linearGradient%3E%3CclipPath id='c'%3E%3Ccircle cx='15' cy='15' r='10.6'/%3E%3C/clipPath%3E%3C/defs%3E%3Ccircle cx='15.4' cy='15.8' r='14.2' fill='url(%23k)'/%3E%3Ccircle cx='15' cy='15' r='13.2' fill='none' stroke='%23fff' stroke-opacity='.45' stroke-width='.8' transform='translate(.5 .7)'/%3E%3Ccircle cx='15' cy='15' r='12' fill='url(%23h)'/%3E%3Ccircle cx='15' cy='15' r='11.6' fill='none' stroke='%23283040' stroke-opacity='.45' stroke-width='.8'/%3E%3Cellipse cx='10.8' cy='9.6' rx='3' ry='1.7' transform='rotate(-35 10.8 9.6)' fill='%23fff' fill-opacity='.7'/%3E%3Cg clip-path='url(%23c)' transform='rotate(64 15 15)'%3E%3Crect x='3' y='12.4' width='24' height='.8' fill='%23283040' fill-opacity='.3'/%3E%3Crect x='3' y='13.2' width='24' height='3.4' rx='1' fill='url(%23s)'/%3E%3Crect x='3' y='16.3' width='24' height='.7' fill='%23fff' fill-opacity='.55'/%3E%3C/g%3E%3C/svg%3E") var(--sp) calc(100% - var(--sp)) / var(--sw) var(--sw) no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cdefs%3E%3CradialGradient id='h' cx='.38' cy='.32' r='.75'%3E%3Cstop offset='0' stop-color='%23fff'/%3E%3Cstop offset='.25' stop-color='%23e6e9ee'/%3E%3Cstop offset='.7' stop-color='%23a9b0bb'/%3E%3Cstop offset='1' stop-color='%236b7280'/%3E%3C/radialGradient%3E%3CradialGradient id='k' cx='.5' cy='.5' r='.5'%3E%3Cstop offset='.78' stop-color='%231e2430' stop-opacity='.7'/%3E%3Cstop offset='1' stop-color='%231e2430' stop-opacity='0'/%3E%3C/radialGradient%3E%3ClinearGradient id='s' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%231f242e'/%3E%3Cstop offset='.55' stop-color='%233a414d'/%3E%3Cstop offset='1' stop-color='%235d6573'/%3E%3C/linearGradient%3E%3CclipPath id='c'%3E%3Ccircle cx='15' cy='15' r='10.6'/%3E%3C/clipPath%3E%3C/defs%3E%3Ccircle cx='15.4' cy='15.8' r='14.2' fill='url(%23k)'/%3E%3Ccircle cx='15' cy='15' r='13.2' fill='none' stroke='%23fff' stroke-opacity='.45' stroke-width='.8' transform='translate(.5 .7)'/%3E%3Ccircle cx='15' cy='15' r='12' fill='url(%23h)'/%3E%3Ccircle cx='15' cy='15' r='11.6' fill='none' stroke='%23283040' stroke-opacity='.45' stroke-width='.8'/%3E%3Cellipse cx='10.8' cy='9.6' rx='3' ry='1.7' transform='rotate(-35 10.8 9.6)' fill='%23fff' fill-opacity='.7'/%3E%3Cg clip-path='url(%23c)' transform='rotate(-8 15 15)'%3E%3Crect x='3' y='12.4' width='24' height='.8' fill='%23283040' fill-opacity='.3'/%3E%3Crect x='3' y='13.2' width='24' height='3.4' rx='1' fill='url(%23s)'/%3E%3Crect x='3' y='16.3' width='24' height='.7' fill='%23fff' fill-opacity='.55'/%3E%3C/g%3E%3C/svg%3E") calc(100% - var(--sp)) calc(100% - var(--sp)) / var(--sw) var(--sw) no-repeat; }
.pt-crt .crt-case::before { content: ""; position: absolute; z-index: -1; inset: calc(var(--cut) * -1); border-radius: calc(16px + var(--cut)); pointer-events: none;
  padding: var(--wall);
  background: linear-gradient(180deg, #0c0f15, #171b24 50%, #262c37) content-box, linear-gradient(165deg, #4a525f, #66707d 35%, #aeb5c0 70%, #e4e8ee) border-box;
  box-shadow: 0 0 0 1px rgba(20, 26, 38, .55), 0 1px 0 1px rgba(255, 255, 255, .75), 0 0 10px 2px rgba(20, 26, 38, .18); }
@container home (max-width: 759px) { .pt-crt { --fl: 14px; --cut: 6px; --wall: 3px; --sw: 9px; --sp: 5px; } }
/* the narrowest phones (320px) keep the set as wide as it was, so its lower third's badge and clock stay on one line:
   a slimmer flange with tighter corners, reaching into the hero's side padding */
@container home (max-width: 359px) { .pt-crt { --fl: 8px; --cut: 4px; --wall: 2px; --sw: 7px; --sp: 4px; --fr: .2; width: 100%; } }
/* the Media Center info bar across the bottom of the picture: the NOW SHOWING badge, the owner's name and line of work,
   then the day's run: the bar fills with how much of the owner's day has gone, up to a playhead, and the owner's
   clock ends it. On a phone's set the line of work goes and the clock moves up beside the badge, so the bar keeps
   the picture as clear as it was */
.tv-lower { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "now ." "title title" "role role" "bar clock"; column-gap: 12px; justify-items: start; align-items: center; padding: 48px 20px 16px; background: linear-gradient(180deg, transparent, rgba(3, 18, 60, .8) 42%, var(--bc-scrim)); color: #fff; pointer-events: none; }
/* the badge is lit glass: its top edge catches the light, a dark green rim holds it, and it glows */
.tv-now { grid-area: now; margin-bottom: 12px; padding: 4px 8px; border-radius: 3px; background: var(--glow-face); color: var(--glow-ink); font: 700 12px/1 var(--ui); box-shadow: inset 0 1px rgba(255, 255, 255, .5), 0 0 0 1px rgba(4, 34, 11, .3), 0 0 12px rgba(76, 218, 80, .35); }
.tv-title { grid-area: title; max-width: 100%; font: 700 20px/1.15 var(--ui); }
.tv-role { grid-area: role; margin-top: 4px; font: 14px/20px var(--read); color: var(--bc-soft); }
.tv-bar { grid-area: bar; justify-self: stretch; position: relative; display: block; height: 3px; margin-top: 16px; border-radius: 2px; background: rgba(255, 255, 255, .22); }
.tv-bar i { position: relative; display: block; height: 100%; border-radius: inherit; background: var(--glow); }
.tv-bar i::after { content: ""; position: absolute; right: -4px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--glow-face); box-shadow: inset 0 1px var(--glow-edge), 0 0 0 1px rgba(4, 34, 11, .35), 0 0 8px var(--glow-halo); }
.tv-clock { grid-area: clock; margin-top: 16px; font: 12px/16px var(--ui); font-variant-numeric: tabular-nums; color: var(--bc-soft); }
/* pointing at a detection box printed on the photo selects it as Paint does: a dashed box with its eight sizing
   handles, Luna blue squares in a white rim, one at each corner and the middle of each side */
.pt-sel { position: absolute; border: 1px dashed var(--hi); outline: 1px dashed #000; outline-offset: -2px; pointer-events: none; }
.pt-sel::before, .pt-sel::after { content: ""; position: absolute; background-repeat: no-repeat; }
.pt-sel::before { inset: -3px; --h: linear-gradient(#fff, #fff); background-image: var(--h), var(--h), var(--h), var(--h), var(--h), var(--h), var(--h), var(--h); background-size: 5px 5px; background-position: 0 0, 50% 0, 100% 0, 0 50%, 100% 50%, 0 100%, 50% 100%, 100% 100%; }
.pt-sel::after { inset: -2px; --h: linear-gradient(var(--sel), var(--sel)); background-image: var(--h), var(--h), var(--h), var(--h), var(--h), var(--h), var(--h), var(--h); background-size: 3px 3px; background-position: 0 0, 50% 0, 100% 0, 0 50%, 100% 50%, 0 100%, 50% 100%, 100% 100%; }
/* power-on, once: the lamp lights, a bright line opens into the picture, then the info bar rises */
.pt-crt.power picture { animation: tv-on .9s var(--ease-out) both; }
.pt-crt.power .tv-lower { animation: tv-lower .5s .75s var(--ease-out) both; }
.pt-crt.power .crt-lamp { animation: crt-lamp .3s steps(1, end) both; }
@keyframes crt-lamp { from { filter: brightness(.35) saturate(.5); box-shadow: 0 0 0 1px rgba(20, 16, 8, .3); } }
@keyframes tv-on { 0% { filter: brightness(0); clip-path: inset(49.6% 0 49.6% 0); } 35% { filter: brightness(2.4); clip-path: inset(49.6% 0 49.6% 0); } 70% { filter: brightness(1.35); clip-path: inset(0); } 100% { filter: brightness(1); clip-path: inset(0); } }
@keyframes tv-lower { from { transform: translateY(100%); opacity: 0; } }
/* dark until its power-on comes (app.js waits until the set is seen), and once turned off: the lamp out behind its lens,
   the tube its bare dark glass */
.pt-crt:is(.standby, .off) :is(picture, .tv-lower, .pt-sel) { visibility: hidden; }
.pt-crt:is(.standby, .off) .crt-lamp { background: radial-gradient(circle at 38% 32%, #a9b39f 0 14%, #556050 40%, #2f362b); box-shadow: 0 0 0 1px rgba(20, 16, 8, .3); }
/* the scan after the first power-on: the box draws itself round the face in four steps, its handles with it */
.pt-sel.scan { animation: tv-scan .24s steps(4, end) both; }
@keyframes tv-scan { from { clip-path: inset(-3px 100% 100% -3px); } to { clip-path: inset(-3px); } }
/* Home's power key is a real button: the same round key, with a finger's 44px round it; pointed at, its face
   brightens, and pressed it sinks into its collar */
.pt-crt button.crt-power { position: relative; padding: 0; border: 0; cursor: var(--cur-hand, pointer); }
.pt-crt button.crt-power::before { content: ""; position: absolute; inset: -14px; }
@media (hover: hover) { .pt-crt button.crt-power:hover { background: var(--glyph), radial-gradient(circle at 40% 35%, #fff, #e4dfcd 70%); } }
.pt-crt button.crt-power:active { background: var(--glyph), radial-gradient(circle at 50% 55%, #e8e3d2, #c9c2a8 70%); box-shadow: inset 0 1px 2px rgba(20, 16, 8, .45), 0 0 0 3px #e2ddcb, 0 0 0 4px rgba(20, 16, 8, .14); }
.pt-crt button.crt-power:focus-visible { outline: 1px dotted #000; outline: 2px solid color-mix(in srgb, var(--ph) 55%, #000); outline-offset: 5px; }

@container home (max-width: 520px) {
  .tv-lower { grid-template-areas: "now clock" "title title" "bar bar"; padding: 40px 16px 12px; }
  .tv-now { margin-bottom: 8px; }
  .tv-clock { margin: 0 0 8px; }
  .tv-title { font-size: 16px; }
  .tv-role { display: none; }
  .tv-bar { margin-top: 12px; }
}
/* at full size the monitor is a size bigger than a case page's, so its chin grows with it: a taller chin, and
   bigger grille, keys and their symbols, lamp and power key, the lamp keeping half as far from the key as from the
   keys. The lower third steps up with the tube */
@container home (min-width: 1100px) {
  .pt-crt .crt-chin { height: 56px; gap: 12px; }
  .pt-crt .crt-grille { height: 20px; background-size: 6px 6px; }
  .pt-crt .crt-keys i { width: 20px; height: 12px; }
  .pt-crt .crt-keys i::after { -webkit-mask-size: 8px 6px; mask-size: 8px 6px; }
  .pt-crt .crt-lamp { width: 8px; height: 8px; margin-left: 12px; }
  .pt-crt .crt-power { width: 20px; height: 20px; }
  .pt-crt .tv-lower { padding: 56px 28px 24px; }
  .pt-crt .tv-title { font-size: 24px; }
  .pt-crt .tv-role { font-size: 16px; line-height: 24px; }
}

/* ============================================================
   3 · A NOTE FROM THE HOST — the promise as the headline, the
   letter as the column, a halftone signature
   ============================================================ */
.home > .pt-letter { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.lt-head .pt-h2 { max-width: 14ch; font-size: 32px; }
/* three steps down from the headline: the stand is the deck in full ink, the letter is body copy in a softer ink,
   the signature is the smallest */
.lt-stand { margin: 24px 0 0; max-width: 34ch; font: 18px/1.5 var(--read); color: var(--ink); text-wrap: pretty; }
.lt-body { max-width: 576px; }
.lt-body p { margin: 0 0 20px; font: 16px/1.7 var(--read); color: var(--ink-2); text-wrap: pretty; }
.lt-sign { display: flex; align-items: center; gap: 16px; margin: 32px 0 0 !important; }
.lt-ava { position: relative; flex: none; width: 64px; height: 64px; overflow: hidden; border-radius: 3px; background: var(--news); box-shadow: 0 0 0 1px var(--news-ink); }
.lt-ava img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.25); }
.lt-ava::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle, rgba(0, 0, 0, .32) 36%, transparent 40%) 0 0 / 3px 3px; mix-blend-mode: multiply; }
.lt-sign b { display: block; font: 700 14px/1.3 var(--display); color: var(--ink); }
.lt-sign small { display: block; font: 14px/1.4 var(--read); color: var(--ink-2); }
@container home (min-width: 820px) {
  .home > .pt-letter { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: 64px; align-items: start; }
}

/* ============================================================
   4 · TONIGHT'S FEATURES — the owner's five case studies as programme rows, each cover beside its
   programme info, and the UI shots below on a control-room multiviewer. Each part is headed by its
   name beside a lit green lamp: above its content, and in a column of its own from 1100px
   ============================================================ */
.home > .pt-features { overflow: hidden; margin-top: var(--section); padding-top: var(--band-pad); padding-bottom: var(--band-pad); color: #fff;
  background: radial-gradient(90% 50% at 88% 0%, var(--bc-hi), transparent 72%), linear-gradient(180deg, var(--bc-mid), var(--bc-deep) 80%); }
.pt-features :focus-visible { outline-color: #fff; }
/* the stage's blue (this band and the channel grid's) is dithered like the covers, one dot a screen pixel: a copy
   of the band's own gradient on a layer beneath the content, run through #bcDither (index.html). Text and
   pictures stay sharp above it, and where a browser cannot run the filter the plain gradient still shows */
.home > .pt-features, .home > .pt-channels { isolation: isolate; }
.home > .pt-features::before, .home > .pt-channels::before { content: ""; position: absolute; inset: 0; z-index: -1; background: inherit; filter: url(#bcDither); pointer-events: none; }
/* the channels' band is one flat colour, so its dither is one fixed 16-dot tile: drawn as a picture (tools/home-tiles),
   one dot a screen pixel (--bc-tile, app.js), the same dots the filter would work out on every repaint */
.home > .pt-channels::before { filter: none; background: url("../asset/Home/band-deep-dither-16.png") 0 0 / var(--bc-tile, 16px) var(--bc-tile, 16px); image-rendering: pixelated; }
.ft-row { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 24px; }
.ft-air { margin-top: var(--block); }
.ft-mark { margin: 0; display: flex; align-items: flex-start; gap: 12px; font: 700 18px/24px var(--display); color: #fff; text-wrap: balance; }
.ft-mark::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; box-sizing: border-box; border: 1px solid var(--glow-edge); border-radius: 50%; background: var(--glow-face); box-shadow: 0 0 18px var(--glow-halo); }

/* a programme row: the cover, then its code and number, title, logline and tags; rows split by a dashed rule */
.ft-shows { list-style: none; margin: 0; padding: 0; }
.ft-show { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 32px 0; }
.ft-show:first-child { padding-top: 0; }
/* each row opens its case study: the title is the link, and its hit area spreads over the row's cover and info
   (not the space between rows, which shows no pointing either). Pointed at, the title underlines; focused from the keyboard, XP's dotted
   rectangle runs round the whole row */
.ft-link { color: inherit; text-decoration: none; }
.ft-link::after { content: ""; position: absolute; inset: 32px 0; z-index: 3; }
.ft-show:first-child .ft-link::after { top: 0; }
.home:not(.scrolling) .ft-show:has(.ft-link:hover) .ft-link, .ft-link:focus-visible { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
/* pressed anywhere on the row, the title takes Glow Edge, as the credits' links do */
.ft-link:active { color: var(--glow-edge); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.ft-link:focus-visible { outline: none; }
.ft-link:focus-visible::after { outline: 1px dotted #fff; outline: 2px solid color-mix(in srgb, var(--ph) 55%, #fff); outline-offset: 8px; }
.ft-show + .ft-show { background: repeating-linear-gradient(90deg, rgba(214, 226, 248, .35) 0 4px, transparent 4px 8px) top / 100% 1px no-repeat; }
.ft-cover { position: relative; overflow: hidden; border-radius: 10px; background: #000; }
.ft-cover .ph, .ft-cover img { display: block; width: 100%; aspect-ratio: 32 / 21; object-fit: cover; }
.ft-dither { position: absolute; inset: 0; width: 100%; height: 100%; }
/* pointing at a row (or reaching its link from the keyboard) dims its cover and brings up the case study's UI
   card (460 × 345, or smaller on a cover too short to keep 24px above and below it): it rises from under the
   cover's bottom edge and tips upright from 40° back on its X axis to flat as it comes. A touch screen has no
   pointer to point with, so there the card comes up while its cover crosses the middle of the window (app.js,
   homePeek: .peek) and goes down again as it leaves */
.ft-cover { container: ft-cover / inline-size; perspective: 1200px; }
.ft-cover::after { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(4, 22, 63, .6); opacity: 0; transition: opacity .3s; }
.ft-ui { display: block; position: absolute; left: 50%; top: 50%; z-index: 2; width: min(460px, 87.5cqw - 64px); overflow: hidden; border-radius: 8px;
  box-shadow: 0 28px 48px -18px rgba(0, 0, 0, .7); opacity: 0; transform-origin: 50% 100%; transform: translate(-50%, 25%) rotateX(40deg);
  transition: transform .55s var(--ease-out), opacity .15s; }
.ft-cover .ft-ui .ph, .ft-cover .ft-ui img { aspect-ratio: 4 / 3; }
/* a card comes up only once its picture is in (app.js homeCards, .ready), so a slow line never raises an empty one;
   it goes down in 0.15s when the page moves on, and nothing rises while the page scrolls under a resting pointer */
.ft-show.peek .ft-cover:has(.ft-ui.ready)::after, .ft-show:has(.ft-link:focus-visible) .ft-cover:has(.ft-ui.ready)::after { opacity: 1; }
.ft-show.peek .ft-ui.ready, .ft-show:has(.ft-link:focus-visible) .ft-ui.ready { opacity: 1; transform: translate(-50%, -50%) rotateX(0deg); transition-duration: .55s, .25s; }
@media (hover: hover) {
  .home:not(.scrolling) .ft-show:has(.ft-link:hover) .ft-cover:has(.ft-ui.ready)::after { opacity: 1; }
  .home:not(.scrolling) .ft-show:has(.ft-link:hover) .ft-ui.ready { opacity: 1; transform: translate(-50%, -50%) rotateX(0deg); transition-duration: .55s, .25s; }
}
/* without motion the card is simply there, upright and in place */
@media (prefers-reduced-motion: reduce) {
  .ft-ui { transform: translate(-50%, -50%); }
}
.ft-prog { display: flex; flex-direction: column; align-items: flex-start; }
.ft-code { margin: 0 0 20px; display: flex; align-items: center; gap: 12px; font: 12px/20px var(--read); color: var(--bc-soft); }
/* the number sits in a hairline box, led in by a short line from a dot; it keeps the Figma's 10px, the
   owner's one exception to the type scale */
.ft-no { position: relative; margin-left: 20px; padding: 0 8px; border: 1px solid rgba(214, 226, 248, .6); border-radius: 4px; font-size: 10px; }
.ft-no::before { content: ""; position: absolute; right: 100%; top: 50%; width: 20px; height: 3px; transform: translateY(-50%);
  background: radial-gradient(circle, currentColor 1.5px, transparent 1.6px) 0 50% / 3px 3px no-repeat, linear-gradient(currentColor, currentColor) 0 50% / 100% 1px no-repeat; }
/* this band keeps the Figma's font sizes; only the title steps down on a phone, where 44px does not fit */
.ft-title { margin: 0; font: 700 32px/1.1 var(--display); letter-spacing: -0.025em; color: #fff; text-wrap: balance; }
.pt-features .ph-tag { font-size: 11px; }
.ft-sub { margin: 12px 0 0; max-width: 44ch; font: 16px/1.6 var(--read); color: #e3ecff; text-wrap: pretty; }
/* the owner's white tag label read 3:1 on its half-white pill; Broadcast Deep ink holds 5:1 on any part of the band */
.ft-tags { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
/* 24px tags at 12px, the owner's size for every tag on the site (smaller than the Figma's 14px) */
.ft-tags li { padding: 4px 12px; border-radius: 16px; background: rgba(255, 255, 255, .5); font: 12px/16px var(--read); letter-spacing: .02em; color: var(--bc-deep); white-space: nowrap; }

/* also on air: the UI shots as feeds on one control-room display, each with its under-monitor label and
   tally lamp; pointing at a feed takes it to air (red), and a wall never ends on a ragged row */
.mv-mon { padding: 12px; border-radius: 12px; background: linear-gradient(180deg, #3b3f49, #2a2d35 55%);
  box-shadow: inset 0 1px rgba(255, 255, 255, .2), inset 0 -1px rgba(0, 0, 0, .5), 0 30px 50px -26px rgba(0, 0, 0, .8); }
.mv-wall { list-style: none; margin: 0; padding: 8px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; border-radius: 4px; background: #000; }
.mv-feed { position: relative; width: 100%; display: block; padding: 0; border: 0; background: #000; color: #e3ecff; text-align: left; }
.mv-pic { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #0b0d12; }
.mv-pic .ph, .mv-pic img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.mv-umd { display: flex; align-items: center; gap: 8px; height: 26px; padding: 0 8px; background: #000; font: 700 12px/1 var(--ui); white-space: nowrap; overflow: hidden; }
.mv-umd span { overflow: hidden; text-overflow: ellipsis; }
.mv-tally { flex: none; width: 8px; height: 8px; border-radius: 2px; background: #3a3f4a; transition: background .15s, box-shadow .15s; }
.mv-feed::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 2px transparent; transition: box-shadow .15s; }
.home:not(.scrolling) .mv-feed:hover::after, .mv-feed:focus-visible::after { box-shadow: inset 0 0 0 2px var(--rec); }
.mv-feed:active::after { box-shadow: inset 0 0 0 4px var(--rec); }
.home:not(.scrolling) .mv-feed:hover .mv-tally, .mv-feed:focus-visible .mv-tally { background: var(--rec); box-shadow: 0 0 6px rgba(214, 38, 28, .85); }
.home:not(.scrolling) .mv-feed:hover .mv-umd, .mv-feed:focus-visible .mv-umd { color: #fff; }
.mv-feed:focus-visible { outline: none; }
.mv-off { display: none; }
.mv-off .mv-pic { display: grid; place-items: center; background: #06070a; }
.mv-off .mv-pic span { font: 700 12px/1 var(--ui); color: #7c818c; }
/* the wall locks onto its feeds once, the first time it scrolls into view */
.mv-wall.lock .mv-pic { animation: mv-lock .7s var(--ease-out) both; animation-delay: calc(var(--k) * 55ms); }
@keyframes mv-lock { 0% { filter: brightness(0); } 35% { filter: brightness(1.9) contrast(1.3); } 100% { filter: none; } }
@container home (max-width: 639.98px) {
  .mv-off.ns-2 { display: block; }
}
@container home (min-width: 640px) {
  .ft-row { row-gap: 32px; }
  .ft-title { font-size: 44px; }
  .mv-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mv-off.ns-3 { display: block; }
}
/* the cover beside its programme info at the Figma's 640 : 338. The rows share one pair of columns (a
   subgrid), so every cover is one size and the info never narrows past the longest title */
@container home (min-width: 760px) {
  .ft-shows { display: grid; grid-template-columns: minmax(0, 640fr) 338fr; column-gap: 32px; }
  .ft-show { grid-column: 1 / -1; grid-template-columns: subgrid; column-gap: 32px; align-items: start; }
  .ft-tags { margin-top: 44px; }
}
/* the heads' column keeps the Figma's share (250 of 1320px), from 200px up to its 250px */
@container home (min-width: 1100px) {
  .ft-row { grid-template-columns: clamp(200px, 19%, 250px) minmax(0, 1fr); column-gap: 60px; row-gap: 0; align-items: start; }
}

/* ============================================================
   5 · CHANNELS — the logos, in a channel grid on the broadcast stage. The band follows Tonight's features
   without a gap, on its deepest blue, and is laid out as the stage's third part: the same row (.ft-row),
   its name beside a lit lamp (.ft-mark), so the grid runs exactly as wide as the multiviewer above it
   ============================================================ */
.home > .pt-channels { padding-top: 0; padding-bottom: var(--band-pad); background: var(--bc-deep); color: #fff; }
/* the ruled grid, drawn the way Media Center draws its guide: 1px light rules between deep-blue cells */
.ch-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; border: 1px solid rgba(214, 226, 248, .28); background: rgba(214, 226, 248, .28); }
.ch-grid li { display: grid; gap: 12px; padding: 16px 16px 20px; background: var(--bc-deep); }
.ch-no { font: 700 12px/1 var(--display); letter-spacing: .02em; color: var(--bc-soft); }
/* every logo takes the area of a --lg square, so a wide wordmark and a square mark weigh the same. They sit
   in grey (no saturation), so no client's colour competes with the stage, and take their own colours only
   while the pointer is on their cell */
.ch-art { --lg: 48px; height: var(--lg); display: grid; place-items: center; padding: 0 8px; }
.ch-logo { width: auto; max-width: 100%; height: calc(var(--lg) * var(--k)); object-fit: contain; filter: grayscale(1); opacity: .75; transform: scale(var(--zoom, 1)); transition: filter .2s, opacity .2s; }
/* at rest each logo sits back at 75%; under the pointer it comes up to full strength in its own colours */
@media (hover: hover) { .home:not(.scrolling) .ch-grid li:hover .ch-logo { filter: none; opacity: 1; } }
/* a file drawn in dark ink for a light ground (found when it loads, see logoInk) is turned light: its black
   goes white, and under the pointer its hues come back while the black stays white */
.ch-logo.ink { filter: grayscale(1) invert(1); }
@media (hover: hover) { .home:not(.scrolling) .ch-grid li:hover .ch-logo.ink { filter: invert(1) hue-rotate(180deg); } }
.ch-grid .ch-off { display: none; }
@container home (max-width: 639.98px) {
  .ch-grid .ch-off.ns-2 { display: block; }
}
@container home (min-width: 640px) {
  .ch-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ch-art { --lg: 64px; }
  .ch-grid .ch-off.ns-3 { display: block; }
}
@container home (min-width: 1100px) {
  .ch-art { --lg: 72px; }
}

/* ============================================================
   6 · REVIEWS — the owner's clients in their own words: a row of
   quote columns that runs past the window's edge and scrolls
   sideways (the owner's Figma, 2026-09-25)
   ============================================================ */
.rv-head { margin: 0; font: 700 24px/1.2 var(--display); letter-spacing: -0.03em; color: var(--ink); }
/* the row reaches both edges of the window; its padding starts the first column on the gutter. The scrollbar
   stays hidden: the cut-off column shows there is more, and a mouse drags the row (app.js rvDrag) */
.rv-row { list-style: none; display: flex; gap: 20px; margin: 32px calc(-1 * var(--gutter)) 0; padding: 0 var(--gutter); overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; scroll-padding-inline: var(--gutter); }
.rv-row::-webkit-scrollbar { display: none; }
.rv-row.grab { cursor: grab; }
.rv-row.drag { cursor: grabbing; user-select: none; }
/* each column holds its quote at the top and its byline at the foot, level with its neighbours', and ends on
   a hairline rule */
.rv { flex: none; display: flex; width: min(560px, 80cqi); padding-right: 20px; border-right: .5px solid #a9b7cf; }
.rv figure { flex: 1; display: flex; flex-direction: column; gap: 32px; margin: 0; }
.rv blockquote { margin: 0; }
.rv blockquote p { margin: 0; font: 16px/1.6 var(--read); color: #000; }
.rv blockquote p + p { margin-top: 1.6em; }
.rv figcaption { display: grid; margin-top: auto; font: 12px/1.3 var(--ui); color: #000; }
.rv figcaption b { font: 700 14px/1.35 var(--ui); }
/* the icons printed on Home's paper keep to its two colours: an ink line on a deeper cream face (blue would sit cold
   on the warm sheet) */
.pe-items .px { --ic-line: var(--ink); --ic-fill: var(--print-tint); }
/* on a phone one column fills the view and the next one peeks in; a swipe settles on a column. Only one column
   shows at a time, so each keeps its byline right under its own quote */
@container home (max-width: 759px) {
  .rv-row { align-items: flex-start; scroll-snap-type: x mandatory; }
  .rv { scroll-snap-align: start; }
}

/* ============================================================
   7 · THE EPISODE GUIDE — each episode's still on a TV, the remote
   ============================================================ */
/* the groove between What clients say and the episode guide (the owner's request): XP's etched line cut deeper,
   an Etched Grey edge over a Face Rule wall and a Luna face floor that fades into the paper, its ends fading out
   like the Start menu's separators. Half a section's space above it and half below */
.home > .pt-divider { height: 7px; margin: calc(var(--section) / 2) var(--gutter) 0; border: 0;
  background: linear-gradient(180deg, var(--shade) 0 1px, #d8d2bd 1px 2px, var(--face) 2px 5px, var(--hi) 7px);
  -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.home > .pt-divider + .pt-episodes { padding-top: calc(var(--section) / 2); }
@media (forced-colors: active) { .home > .pt-divider { border-top: 1px solid CanvasText; } }
/* the TV and the copy share a row: the copy takes the width its longest What you get row needs to stay on one
   line (at most 600px from 1100px, below), and the TV takes the rest, from 440px up to the Figma's 704px. Where
   the two no longer fit side by side, the copy wraps under the TV */
.pe-main { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 32px 60px; margin-top: 32px; }
/* the TV and its remote. The TV block is a size container, so the remote follows the TV's own width: it rests
   across the TV's lower right corner once the TV is wide enough to keep the caption clear, and below that it
   tucks under the bezel's lip. The TV keeps room under it for what the remote hangs below the bezel */
.pe-set { --rm-h: 116px; position: relative; flex: 1 1 440px; min-width: 0; max-width: 704px; container: pe-tv / inline-size; }
.pe-tv { position: relative; margin: 0 0 calc(var(--rm-h) - 20px); }
/* the TV: a flat panel in the hero monitor's beige plastic (.crt-case, style.css), the same moulded recess round its
   screen (.crt-bezel) and the same chin under it: grille, badge, menu keys, the green power lamp and the power key */
.tv-bezel { position: relative; }
.pe-screen { position: relative; overflow: hidden; aspect-ratio: 17 / 10; border-radius: 6px; background: #0c0e0f; box-shadow: 0 0 0 1px rgba(20, 16, 8, .5), 0 0 12px 2px rgba(20, 16, 8, .3); }
.pe-img { display: block; width: 100%; height: 100%; aspect-ratio: auto; object-fit: contain; }
/* a light fade under the caption: the scrim reaches a third of its strength at the screen's foot (the owner's
   Figma). The caption keeps a navy edge of its own, so the white reads over a light picture too */
.pe-lower { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 32px 16px 12px; background: linear-gradient(180deg, transparent, var(--bc-scrim) 275%); color: #fff; font: 700 14px/1.2 var(--ui); text-shadow: 0 0 2px var(--bc-scrim), 0 1px 3px var(--bc-scrim); }
.pe-lower .tv-now { margin-bottom: 0; text-shadow: none; }
/* Channel changes use the short horizontal sweep in the shared CRT surface stylesheet. */
/* the copy's width is its What you get row on one line: the title and the text fill whatever that gives and
   never widen it (inline-size containment). From 760px the episode showing sits over a hidden copy of every
   episode in the same cell, so the copy keeps the width and height of the longest and changing the episode
   never moves the TV, the remote or the page below */
.pe-copy { flex: 0 1 auto; min-width: 0; display: grid; padding-top: 12px; }
.pe-copy > * { grid-area: 1 / 1; min-width: 0; }
.pe-ghost { display: none; visibility: hidden; }
.pe-title { margin: 0; font: 600 24px/1.2 var(--display); letter-spacing: -0.02em; text-wrap: balance; contain: inline-size; }
/* body copy under a heading: 16px in a softer ink than the heading, on every light section */
.pe-text { margin: 16px 0 0; max-width: 70ch; font: 16px/1.6 var(--read); color: var(--ink-2); contain: inline-size; }
.pe-get { margin: 28px 0 20px; font: 700 14px/1.2 var(--ui); }
/* What you get: three things side by side, each icon over its label and only as wide as its label, 32px apart
   from the left (the owner's spacing). A label never breaks; where the copy is narrower than the row, the last
   thing moves to a row of its own */
.pe-items { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 32px; }
.pe-items li { flex: none; display: grid; align-content: start; justify-items: start; gap: 8px; font: 16px/1.4 var(--read); color: var(--ink-2); white-space: nowrap; }
.pe-items .px { width: 24px; height: 24px; }
/* the remote: a 2004 media remote lying on its side, 220px on a mouse desktop (44px keys on touch, below), moulded in
   the monitors' beige plastic with its grain. A shell with a glossy top edge, two dark recessed wells for the keys (round arrow keys, then rubber
   number keys standing on their skirts), wrapping under each other. It hangs from the TV block's foot: tucked
   under the bezel, centred, until the corner is clear */
.pt-remote { position: absolute; z-index: 1; bottom: 0; left: 50%; translate: -50% 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 12px; width: 220px; max-width: 100%; padding: 10px 16px;
  border-radius: 32px 26px 26px 32px;
  background: linear-gradient(180deg, transparent 8%, rgba(255, 255, 255, .6) 16%, transparent 26%),
    var(--crt-grain), linear-gradient(180deg, #f7f4ec 0%, var(--face) 50%, #c9c1a9 100%);
  background-blend-mode: normal, soft-light, normal;
  box-shadow: inset 0 0 0 1px var(--shade), inset 0 2px 1px var(--hi), inset 0 -3px 5px rgba(20, 16, 8, .3), 0 2px 3px rgba(0, 0, 0, .2), 0 18px 26px -12px rgba(4, 14, 32, .3); }
.rm-well { display: grid; gap: 6px; padding: 6px; border-radius: 10px; background: linear-gradient(180deg, #24272e, #363a42);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, .65), inset 0 -1px 0 rgba(255, 255, 255, .08), 0 1px 0 rgba(255, 255, 255, .9); }
.rm-pad { grid-auto-flow: column; align-items: center; border-radius: 22px; }
.rm-key { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 1px solid #1b1d22; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #e7e1cf 55%, #b9b099); box-shadow: 0 2px 0 #121418, inset 0 1px 0 rgba(255, 255, 255, .8); }
.rm-key .px { width: 16px; height: 16px; --ic-line: #3a3220; }
.rm-go { border-color: var(--glow-deep); background: radial-gradient(circle at 35% 30%, #d6fbd7, var(--ph) 45%, #1f8a24); box-shadow: 0 3px 0 var(--glow-shade), 0 0 10px var(--glow-halo), inset 0 1px 0 rgba(255, 255, 255, .6); }
.rm-key:hover, .rm-num:hover { filter: brightness(1.08); }
.rm-nums { grid-template-columns: repeat(4, 32px); }
.rm-num { height: 32px; padding: 0; border: 1px solid #1b1d22; border-radius: 6px 6px 8px 8px; background: linear-gradient(180deg, #fbf9f3, #e1dbc8 72%, #cac2ab); box-shadow: 0 2px 0 #121418, inset 0 1px 0 var(--hi); color: #3a3220; font: 700 14px/1 var(--ui); }
.rm-num[aria-pressed="true"] { border-color: var(--glow-deep); background: var(--glow-face); color: var(--glow-ink); box-shadow: 0 2px 0 var(--glow-shade), 0 0 10px var(--glow-halo), inset 0 1px 0 rgba(255, 255, 255, .6); }
.rm-key:active, .rm-num:active { transform: translateY(2px); box-shadow: inset 0 2px 3px rgba(0, 0, 0, .35); }
.pt-remote button:focus-visible { outline: 2px dotted #000; outline-offset: 2px; }
.rm-well button:focus-visible { outline-color: var(--hi); }
/* a TV 500px wide keeps the caption clear of the remote: from there the remote rests across the lower right
   corner, its middle 8px up from the TV's foot and 32px of it past the TV's edge (inside the gap or the gutter),
   as the Figma lays it */
@container pe-tv (min-width: 500px) {
  .pe-tv { margin-bottom: calc(var(--rm-h) / 2 - 8px); }
  .pt-remote { left: auto; right: -32px; translate: none; }
}
@container home (min-width: 760px) {
  .pe-ghost { display: block; }
}
/* on a phone the copy takes the full width under the TV, and the three things read down a list, each icon
   beside its label; a label too long to sit beside its icon drops under it whole */
@container home (max-width: 639px) {
  .pe-copy { flex-basis: 100%; }
  .pe-items { display: grid; gap: 12px; }
  .pe-items li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; white-space: normal; }
  .pe-items .px { flex: none; }
}

/* ============================================================
   8 · SERVICES — a Media Center menu: the focused item glows
   green and its notes open beside it
   ============================================================ */
.home > .pt-services { margin-top: var(--section); padding-top: var(--band-pad); padding-bottom: var(--band-pad); overflow: hidden; color: #fff;
  background: radial-gradient(90% 120% at 100% 0%, var(--bc-hi), var(--bc-mid) 45%, var(--bc-deep) 100%); }
/* the head is a Section Mark, as over the channel grid: 24px above the menu, 32px from 640px */
.mm-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 24px; }
/* the menu keeps its items together at the top, however tall the picture beside it */
.mm-list { list-style: none; margin: 0; padding: 0; display: grid; align-content: start; gap: 4px; }
.mm-item { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 8px 16px; border: 1px solid transparent; border-radius: 6px; background: none; color: #e3ecff; text-align: left; font: 700 24px/1.1 var(--display); letter-spacing: -0.02em; }
.mm-no { flex: none; min-width: 2.2em; font: 700 12px/1 var(--ui); opacity: .3; font-variant-numeric: tabular-nums; }
.mm-t { flex: 1; min-width: 0; }
.mm-item .px { flex: none; width: 16px; height: 16px; opacity: 0; --ic-line: var(--glow-ink); }
/* Media Center's focus answers the pointer: a faint glow edge and the arrow drawn in outline under it. Pressed,
   the glow's light fills the item, but not its face: only the picked item wears the face */
.home:not(.scrolling) .mm-item:not([aria-pressed="true"]):hover { border-color: rgba(212, 247, 173, .35); background: rgba(255, 255, 255, .1); color: #fff; }
.home:not(.scrolling) .mm-item:not([aria-pressed="true"]):hover .px { opacity: .6; --ic-line: var(--glow-edge); }
.mm-item[aria-pressed="true"] { border-color: var(--glow-edge); background: var(--glow-face); color: var(--glow-ink); box-shadow: 0 0 20px var(--glow-halo); }
.mm-item:not([aria-pressed="true"]):active { border-color: var(--glow-edge); background: rgba(76, 218, 80, .24); color: #fff; }
.mm-item[aria-pressed="true"] .px { opacity: 1; }
.mm-item:not([aria-pressed="true"]):active .px { opacity: 1; --ic-line: var(--glow-edge); }
.mm-item:focus-visible { outline: 2px dotted #fff; outline-offset: 2px; }
.mm-pane { align-self: start; }
.mm-fig { margin: 0; display: block; }
/* the monitor's screen: dark glass round the picture, its rim falling into the recess, the glass catching the light
   high on the left over whatever plays */
.mm-screen { position: relative; display: grid; overflow: hidden; border-radius: 6px; background: #0c0e0f; box-shadow: 0 0 0 1px rgba(20, 16, 8, .5), 0 0 12px 2px rgba(20, 16, 8, .3); }
.mm-screen::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; pointer-events: none;
  background: radial-gradient(120% 70% at 18% 4%, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0) 42%);
  box-shadow: inset 0 1px rgba(255, 255, 255, .22), inset 0 0 0 3px rgba(12, 14, 15, .85), inset 0 0 18px rgba(0, 0, 0, .35); }
/* every service's picture lies in the pane, stacked; the picked one crossfades in once it has decoded (app.js) */
.mm-layer { grid-area: 1 / 1; min-width: 0; opacity: 0; transition: opacity .2s; }
.mm-layer.on { opacity: 1; }
/* the owner's pictures keep their own shape (4444 × 4823), edge to edge on the screen; a slot waiting for one takes
   the same shape */
.mm-img { display: block; width: 100%; height: auto; aspect-ratio: 4444 / 4823; object-fit: cover; }
.mm-img.ph { overflow: hidden; }
@container home (min-width: 760px) {
  .mm-body { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 48px; }
}

/* ============================================================
   9 · FAQ — Help Topics
   ============================================================ */
@container home (min-width: 820px) {
  /* the heading sits on the window's middle, so the short column balances the tall one */
  .home > .pt-faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); column-gap: 64px; align-items: center; }
}
@container home (max-width: 819px) {
  .pt-faq .mw { margin-top: var(--lead); }
}
.help-tabs { display: flex; padding: 4px 4px 0; position: relative; z-index: 1; margin-bottom: -2px; }
.help-tabs .tab { padding: 4px 12px; border: 1px solid var(--tab-line); border-bottom: 0; border-radius: 3px 3px 0 0; background: var(--tab-face); }
.help-tabs .tab.on { background: #fcfcfe; box-shadow: inset 0 2px #ffc83c, inset 0 3px var(--orange-rule); }
.help-main { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; padding: 8px; background: #fcfcfe; border: 1px solid var(--tab-line); }
.faq-q { width: 100%; display: flex; align-items: center; gap: 8px; padding: 8px 4px; border: 0; background: none; color: #000; text-align: left; font: 12px/1.3 var(--ui); }
.faq-q .px { width: 16px; height: 16px; flex: none; }
.faq-q span { padding: 0 4px; }
.faq-q:hover span { text-decoration: underline; }
.faq-q[aria-expanded="true"] span, .faq-q:active span { background: var(--sel); color: #fff; text-decoration: none; }
.faq-q:focus-visible { outline: none; }
.faq-q:focus-visible span { outline: 1px dotted #000; outline: 2px solid color-mix(in srgb, var(--ph) 55%, #000); outline-offset: 1px; }
.faq-a { padding: 12px 16px 16px 28px; font: 14px/1.6 var(--read); }
.faq-a h3 { margin: 0 0 8px; font: 700 16px/1.3 var(--display); color: var(--heading-ink); }
.faq-a p { margin: 0 0 12px; max-width: 52ch; }
.faq-empty { display: none; margin: 0; padding: 12px 16px; color: var(--ink-2); }
@container home (min-width: 820px) {
  /* the window is as tall as its list of topics; every answer is shorter, so nothing jumps between topics */
  .help-main { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: 12px; }
  .faq-q { grid-column: 1; grid-row: var(--r); }
  .faq-a, .faq-empty { grid-column: 2; grid-row: 1 / span 7; align-self: stretch; padding: 12px 16px 16px; border-left: 1px solid #d8e1f3; }
  .faq-empty:not([hidden]) { display: block; }
  /* every answer keeps its place in the one cell, unseen, so the window is as tall as the longest and never jumps */
  .faq-a[hidden] { display: block !important; visibility: hidden; }
}

/* ============================================================
   10 · THE CLOSE — the hero's brushed steel again, so the page ends on the sheet it opened on: the hero's
   promise handed back as an invitation in poster type, the owner's photo printed on the metal beside the
   New Message window, and the owner's profiles under it
   ============================================================ */
.home > .hm-cta { margin-top: var(--section); padding-top: var(--band-pad); padding-bottom: 0; background: var(--steel-sheet); background-blend-mode: overlay, normal, normal;
  /* the sheet's edge where it meets the white page: a dark seam, lit just under it */
  box-shadow: inset 0 1px rgba(40, 44, 60, .35), inset 0 2px var(--hi); }
/* the head sits 16px over the lead (the owner's, 2026-09-28); the profiles keep their lead below the message */
.cl-grid { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "ask" "links"; gap: 16px 48px; }
/* the head in poster type, the largest on the page: its lines stand alone from 760px, and run as one balanced
   sentence on a phone */
.cta-h { grid-area: head; margin: 0; max-width: 22ch; font: 700 40px/1.1 var(--display); letter-spacing: -0.035em; color: var(--ink); text-wrap: balance; text-shadow: 0 1px rgba(255, 255, 255, .7); }
.cl-ask { grid-area: ask; min-width: 0; }
.cl-lead { margin: 0; max-width: 44ch; font: 18px/1.55 var(--read); color: var(--ink-2); text-wrap: pretty; text-shadow: 0 1px rgba(255, 255, 255, .6); }
.cl-ask .hm-mail { margin-top: 24px; }
/* the owner's photo as a print lying on the steel: a white border, the name written in its wider foot, and the
   soft lift of a sheet of paper. Only from 760px, beside the message (the owner's, 2026-09-28): the print's foot
   sits level with the window's and the photo fills what the foot leaves, cropped round the face. Under 760px it
   is left out, and its lazy image is never fetched */
.cl-print { grid-area: print; justify-self: start; align-self: start; display: none; flex-direction: column; width: min(100%, 360px); margin: 0; padding: 12px 12px 0; border-radius: 2px; background: #fff;
  box-shadow: 0 0 0 1px rgba(40, 44, 60, .12), 0 2px 3px rgba(20, 16, 8, .12), 0 32px 48px -24px rgba(4, 14, 32, .45); }
.cl-pic { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; }
.cl-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 12%; }
.cl-print figcaption { display: grid; gap: 4px; padding: 16px 4px 20px; }
.cl-print figcaption b { font: 700 18px/1.3 var(--display); letter-spacing: -0.01em; color: var(--ink); }
.cl-print figcaption span { font: 12px/1.3 var(--ui); color: var(--ink-2); }
/* the owner's four profiles, under the message: each a brand tile and its name */
.cl-links { grid-area: links; list-style: none; margin: calc(var(--lead) - 16px) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 24px; }
.cl-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 32px;
  color: var(--ink); font: 700 12px/1.3 var(--ui); text-decoration: none; text-shadow: 0 1px rgba(255, 255, 255, .6); }
.cl-links .px { width: 24px; height: 24px; flex: none; }
.cl-links a:hover span { text-decoration: underline; text-underline-offset: 3px; }
.cl-links a:active { color: #000; }
.cl-links a:active span { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.cl-links :focus-visible { outline-offset: 2px; }
/* side by side from 760px: the head across the top, then the message on the left and the print on the right,
   the print as tall as the lead and the window together (the photo keeps 240px at least); the profiles under both */
@container home (min-width: 760px) {
  .cl-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "head head" "ask print" "links ."; }
  .cl-links { margin-top: 16px; }
  .cta-h { max-width: none; font-size: 52px; }
  .cta-h span { display: block; }
  .cl-print { display: flex; align-self: stretch; width: 100%; }
  .cl-pic { flex: 1 1 0; min-height: 240px; aspect-ratio: auto; }
}
/* from 1100px the print stands beside the head too, the way a poster sets its portrait, from the head's cap line
   to the window's foot. The head's longest line fits the wider column at 52px, and at 64px from 1360px */
@container home (min-width: 1100px) {
  .cl-grid { grid-template-columns: minmax(0, 13fr) minmax(0, 8fr); grid-template-areas: "head print" "ask print" "links ."; }
}
/* the head at the owner's poster size, the largest type on the page: the page's last word is its biggest */
@container home (min-width: 1360px) { .cta-h { font-size: 64px; } }

/* the fine print at the foot of the sheet, under an etched line: the startup setting, and a way back to the top */
.cl-fine { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: var(--block); padding: 16px 0 20px;
  border-top: 1px solid rgba(40, 44, 60, .22); box-shadow: inset 0 1px rgba(255, 255, 255, .7); }
.home .ft-start { min-height: 24px; gap: 8px; font: 12px/1.3 var(--ui); color: var(--ink); }
/* the button's wash reaches 8px past the text, so its icon and words line up with the fine print's edges */
.cl-top { display: inline-flex; align-items: center; gap: 8px; min-height: 24px; margin: 0 -8px; padding: 4px 8px; border: 0; border-radius: 3px; background: none; color: var(--ink); font: 12px/1.3 var(--ui); }
.cl-top:hover { background: rgba(255, 255, 255, .45); }
.cl-top:active { background: rgba(255, 255, 255, .7); }
.cl-top:active > * { translate: 0 1px; }
/* the library's arrow-circle-up at its own 24px grid, so every pixel of the ring and the arrow lands whole: a green
   disc under the black outline, like the profile tiles beside it */
.cl-top .px { width: 24px; height: 24px; --ic-fill: var(--ic-green); }

/* New Message */
.mail-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 8px; align-items: center; padding: 8px; }
.mail-head label { text-align: right; }
.home .mail-copy { flex: none; display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; }
.mail-copy .px { width: 16px; height: 16px; }
.home .field { height: 22px; min-width: 0; padding: 0 4px; border: 0; border-radius: 0; font: 12px/20px var(--ui); color: #000; }
.home select.field {
  -webkit-appearance: none; appearance: none; padding-right: 24px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='18'%3E%3Crect x='.5' y='.5' width='16' height='17' rx='2.5' fill='%23c1d3fb' stroke='%23fff'/%3E%3Crect x='1.5' y='1.5' width='14' height='15' rx='1.5' fill='none' stroke='%239eb7f2'/%3E%3Cpath d='M5 7.5l3.5 3.5L12 7.5' fill='none' stroke='%234d6185' stroke-width='2'/%3E%3C/svg%3E") right 2px center / 17px 18px no-repeat;
}
.home .mail-body { display: block; width: calc(100% - 16px); height: auto; min-height: 160px; margin: 0 8px; padding: 8px 12px; border: 0; border-radius: 0; resize: vertical; background: #fff; box-shadow: var(--well); font: 14px/1.5 var(--read); color: #000; }
.mail-body::placeholder { color: var(--ink-2); opacity: .75; }
.mail-send { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 12px 8px 8px; }
.mail-send small { flex: 1 1 200px; min-width: 0; font: 12px/1.3 var(--ui); color: var(--dark); }
/* what became of the message: XP's notification balloon standing on the Send button (app.js, mailBalloon) */
.mail-send { position: relative; }
.mail-bal { position: absolute; left: 0; bottom: calc(100% - 4px); z-index: 3; width: min(320px, calc(100% - 8px)); padding: 8px 28px 8px 12px;
  background: var(--tip); color: #000; border: 1px solid #000; border-radius: 7px; box-shadow: var(--menu-shadow); font: 12px/1.4 var(--ui);
  animation: mail-bal .2s var(--ease-out); transition: opacity .3s; }
.mail-bal::before, .mail-bal::after { content: ''; position: absolute; left: 44px; border-style: solid; border-color: transparent; }
.mail-bal::before { top: 100%; border-width: 12px 12px 0 0; border-top-color: #000; }
.mail-bal::after { top: calc(100% - 1px); left: 45px; border-width: 10px 10px 0 0; border-top-color: var(--tip); }
.mail-bal b { display: flex; align-items: center; gap: 4px; margin-bottom: 4px; }
.mail-bal p { margin: 0; text-wrap: pretty; }
/* an email address has no space to wrap at, so a long one breaks where it has to */
.mail-bal b span, .mail-bal p { min-width: 0; overflow-wrap: anywhere; }
.mail-bal .mail-copy { margin-top: 8px; }
.mail-bal.out { opacity: 0; }
@keyframes mail-bal { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .mail-bal { animation: none; transition: none; } }
/* a field only a bot fills in (worker/index.js drops what arrives with it) */
.mail-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ============================================================
   THE TWO STEPS: at 640px and 1100px of window width the rhythm
   opens up and the headings step up the type scale (12, 14, 16,
   18, 20, 24, 28, 32, 40, 44), never in between
   ============================================================ */
@container home (min-width: 640px) {
  .home > .pt-hero { padding-top: 40px; padding-bottom: 72px; }
  .rv-row { gap: 32px; }
  /* 28px, not the Figma's 32: the body face sets a hair wider in the browser, and the Figma's longest line takes
     528.3px here, so the quotes get 531px and break where the Figma breaks them. The longest line still ends
     32px short of the rule */
  .rv { padding-right: 28px; }
  .pt-h2 { font-size: 32px; }
  .pt-h1, .lt-head .pt-h2 { font-size: 40px; }
  .rv-head, .pe-title { font-size: 28px; }
  .lt-stand { font-size: 20px; }
  .pt-services .mm-body { margin-top: 32px; }
  .mm-item { font-size: 32px; }
}
@container home (min-width: 1100px) {
  .home > .pt-hero { padding-top: 48px; padding-bottom: 80px; }
  .home > .pt-letter { column-gap: 80px; }
  .rv-row { margin-top: 40px; }
  /* the owner's Figma: 120px from the quotes to the episode guide's head, the groove in the middle */
  .home > .pt-divider { margin-top: 60px; }
  .home > .pt-divider + .pt-episodes { padding-top: 60px; }
  /* the episode copy at most 600px wide (the owner's, 2026-09-27): a What you get row longer than that puts its
     last thing on a row of its own, and the TV takes the width given back, up to its 704px */
  .pe-copy { max-width: 600px; }
  .mm-body { column-gap: 64px; }
  .home > .pt-faq { column-gap: 80px; }
  .cl-grid { column-gap: 64px; }
  .pt-h2 { font-size: 40px; }
  .lt-head .pt-h2 { font-size: 44px; }
  /* the hero's headline at 52px, the owner's (2026-09-28) */
  .pt-h1 { font-size: 52px; }
  .rv-head { font-size: 32px; }
  /* the services menu at the owner's 52px, where its column holds the longest name on one line (32px from 640px,
     24px on a phone), its items 16px apart instead of 4px (the owner's, 2026-09-27) */
  .mm-list { gap: 16px; }
  .mm-item { font-size: 52px; }
}

/* ============================================================
   SMALL AND TOUCH SCREENS: every control takes a 44px finger,
   on a phone (the window is full screen) and on a touch tablet
   at any width
   ============================================================ */
@media (max-width: 720px), (pointer: coarse) {
  .mail-bal { padding-right: 44px; }
  .mail-bal .mail-copy { min-height: 44px; }
  .mail-bal .pet-x { top: 0; right: 0; width: 44px; height: 44px; border: 0; }
  .mail-bal .pet-x::before, .mail-bal .pet-x::after { left: 16px; right: 16px; top: 21px; }
  .home .btn { min-height: 44px; }
  .home .field { height: 44px; }
  /* the remote with every key 44px, its shell trimmed to 280px round the two wells */
  .pe-set { --rm-h: 164px; }
  .pt-remote { gap: 12px 16px; width: 280px; padding: 16px 24px; border-radius: 44px 36px 36px 44px;
    box-shadow: inset 0 2px 1px var(--hi), inset 0 -4px 6px rgba(40, 44, 60, .35), 0 2px 3px rgba(0, 0, 0, .2), 0 24px 34px -16px rgba(4, 14, 32, .3); }
  .rm-well { gap: 8px; padding: 8px; border-radius: 14px; }
  .rm-pad { border-radius: 30px; }
  .rm-key { width: 44px; height: 44px; }
  .rm-go { box-shadow: 0 3px 0 var(--glow-shade), 0 0 14px var(--glow-halo), inset 0 1px 0 rgba(255, 255, 255, .6); }
  .rm-nums { grid-template-columns: repeat(4, 44px); }
  .rm-num { height: 44px; border-radius: 8px 8px 10px 10px; }
  /* the touch remote needs a 560px TV to rest on its corner clear of the caption; below that it stays tucked */
  @container pe-tv (max-width: 559px) {
    .pe-tv { margin-bottom: calc(var(--rm-h) - 20px); }
    .pt-remote { left: 50%; right: auto; translate: -50% 0; }
  }
  .faq-q { min-height: 44px; }
  .cl-links a { min-height: 44px; }
  .cl-top { min-height: 44px; }
  .home .ft-start { min-height: 44px; }
}

/* ============================================================
   THE OWNER'S FIGMA, 2026-10-02 ("Home · Web" at 375, 640, 760, 820, 1029, 1100, 1172 and 1360): each
   section carries its own space above and below (no margins between sections), every size a whole pixel,
   and the layout steps at each of those widths. Rules below override the ones above
   ============================================================ */
.home > header, .home > section { margin-top: 0; }

/* 1 · hero */
.home > .pt-hero { gap: 28px; padding: 52px 20px 62px; }
.pt-h1 { max-width: none; font-size: 36px; line-height: 46px; letter-spacing: -1px; }
.pt-intro { margin-top: 12px; font-size: 16px; line-height: 26px; }
.pt-acts { flex-direction: column; gap: 12px; margin-top: 12px; }
.pt-acts .page-key { min-width: 240px; min-height: 44px; }
@container home (min-width: 640px) {
  .home > .pt-hero { gap: 36px; padding: 56px 40px; }
  .pt-copy { max-width: 492px; }
  .pt-h1 { font-size: 52px; line-height: 62px; }
  .pt-acts { flex-direction: row; margin-top: 24px; }
}
@container home (min-width: 760px) { .home > .pt-hero { gap: 32px; } }
@container home (min-width: 820px) { .home > .pt-hero { padding: 80px 40px 120px; } }
@container home (min-width: 1029px) {
  .home > .pt-hero { gap: 48px; }
  .pt-copy { max-width: 880px; }
  .pt-h1 { font-size: 64px; line-height: 74px; }
  .pt-intro { max-width: 520px; }
}
@container home (min-width: 1100px) { .home > .pt-hero { gap: 56px; padding: 80px 64px 120px; } }
@container home (min-width: 1172px) {
  .home > .pt-hero { padding-top: 100px; }
  .pt-h1 { font-size: 74px; line-height: 84px; }
  .pt-intro { font-size: 18px; line-height: 28px; }
}
@container home (min-width: 1360px) { .pt-intro { max-width: 758px; } }
/* on a desktop 1180px wide or more, Home opens in the left two thirds (app.js, geometryFor) so the wallpaper's swell
   shows beside it; its hero keeps the desktop size it had at full width (the 1029px step) from 720px of window, and the
   steps above take over again from 1029px (a maximized Home) */
@media (min-width: 1180px) {
  @container home (min-width: 720px) and (max-width: 1028px) {
    .home > .pt-hero { gap: 48px; }
    .pt-copy { max-width: 880px; }
    .pt-h1 { font-size: 64px; line-height: 74px; }
    .pt-intro { max-width: 520px; }
  }
}

/* 3 · a note from the host: one column, the head over the letter, until 1029px puts them side by side, the
   letter at 430px (500px from 1172px) and the head taking the rest, both on the row's middle */
.home > .pt-letter { gap: 12px; padding: 56px 20px; }
.lt-head .pt-h2, .home .lt-head .pt-h2 { max-width: none; font-size: 32px; line-height: 40px; letter-spacing: -1px; }
.lt-stand { max-width: none; margin-top: 24px; font-size: 16px; line-height: 24px; }
.lt-body { max-width: none; }
.lt-body p { margin-bottom: 12px; font-size: 14px; line-height: 24px; }
.lt-sign { margin-top: 32px !important; }
@container home (min-width: 640px) {
  .home > .pt-letter { gap: 32px; padding: 60px 40px; }
  .home .lt-head .pt-h2 { font-size: 40px; line-height: 48px; }
  .lt-stand { margin-top: 20px; font-size: 20px; line-height: 30px; }
  .lt-body p { font-size: 16px; line-height: 27px; }
}
@container home (min-width: 760px) {
  .home > .pt-letter { gap: 40px; }
  .home .lt-head .pt-h2 { font-size: 44px; line-height: 54px; }
  .lt-stand { margin-top: 16px; }
  .lt-body p { line-height: 26px; }
  .lt-sign { max-width: 576px; }
}
@container home (min-width: 820px) {
  .home > .pt-letter { grid-template-columns: minmax(0, 1fr); }
}
@container home (min-width: 1029px) {
  .home > .pt-letter { grid-template-columns: minmax(0, 1fr) 430px; column-gap: 80px; align-items: center; padding: 120px 40px; }
  .home .lt-head .pt-h2 { font-size: 40px; line-height: 50px; }
  .lt-stand { margin-top: 24px; font-size: 16px; line-height: 30px; }
  .lt-body p { font-size: 14px; line-height: 24px; }
  .lt-sign { max-width: none; }
}
@container home (min-width: 1100px) { .home > .pt-letter { column-gap: 80px; padding: 120px 64px; } }
@container home (min-width: 1172px) {
  .home > .pt-letter { grid-template-columns: minmax(0, 1fr) 500px; }
  .home .lt-head .pt-h2 { font-size: 48px; line-height: 58px; }
  .lt-stand { font-size: 18px; line-height: 30px; }
  .lt-body p { font-size: 16px; line-height: 26px; }
}
@container home (min-width: 1360px) {
  .home > .pt-letter { column-gap: 120px; }
  .lt-stand { font-size: 20px; line-height: 30px; }
}

/* 4 · tonight's features and 5 · channels: the stage's own padding, and the channels' grid under its lamp */
.home > .pt-features { margin-top: 0; padding: 60px 20px; }
.home > .pt-channels { padding: 60px 20px; }
@container home (min-width: 640px) {
  .home > .pt-features { padding: 120px 40px 80px; }
  .ft-air { margin-top: 68px; }
  .home > .pt-channels { padding: 80px 40px 120px; }
}
@container home (min-width: 760px) { .ft-air { margin-top: 80px; } }
@container home (min-width: 1100px) {
  .home > .pt-features { padding: 120px 64px 80px; }
  .home > .pt-channels { padding: 80px 64px 120px; }
}
/* the promise's first sentence stands on its own line, a phone's too */
.lt-l1 { display: block; }

/* 6 · reviews */
.home > .pt-reviews { padding: 60px 20px 37px; }
.rv-head { font-size: 24px; line-height: 29px; letter-spacing: -1px; }
.rv-row { margin-top: 24px; gap: 20px; }
.rv blockquote p { font-size: 14px; line-height: 22px; }
@container home (min-width: 640px) {
  .home > .pt-reviews { padding: 101px 40px 83px; }
  .rv-head { font-size: 28px; line-height: 34px; }
  .rv-row { gap: 32px; }
  .rv blockquote p { font-size: 16px; line-height: 26px; }
}
@container home (min-width: 760px) {
  .home > .pt-reviews { padding: 121px 40px 71px; }
  .rv-head { font-size: 44px; line-height: 54px; }
  .rv-row { margin-top: 32px; }
}
@container home (min-width: 1029px) { .home > .pt-reviews { padding: 120px 40px; } }
@container home (min-width: 1100px) { .home > .pt-reviews { --gutter: 40px; } .rv-row { margin-top: 32px; } }
@container home (min-width: 1172px) { .home > .pt-reviews { --gutter: 64px; padding: 120px 64px; } .rv { width: min(540px, 80cqi); } }

/* the groove sits straight between the reviews and the episode guide; their own padding spaces it */
.home > .pt-divider { margin: 0 var(--gutter); }
@container home (min-width: 1100px) { .home > .pt-divider { margin-top: 0; } }

/* 7 · the episode guide: the TV, then the copy (on a phone the number keys come last, without the shell or the
   arrow keys); from 760px the copy splits into its story and What you get, side by side; from 1360px the copy
   stands beside the TV */
.home > .pt-episodes, .home > .pt-divider + .pt-episodes { padding: 60px 20px; }
.pt-episodes > .pt-h2 { max-width: none; font-size: 28px; line-height: 31px; letter-spacing: -1px; }
.pe-main { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 36px; margin-top: 24px; }
.pe-set { flex: none; max-width: none; }
.pe-copy { flex: none; padding-top: 0; }
.pe-title { font-size: 20px; line-height: 29px; letter-spacing: 0; }
.pe-text { margin-top: 12px; font-size: 14px; line-height: 22px; }
.pe-gets { margin-top: 16px; }
.pe-get { margin: 0 0 20px; font-size: 14px; line-height: 17px; }
.pe-items li { font-size: 14px; line-height: 24px; }
@container home (max-width: 639.98px) {
  .pe-set { display: contents; }
  .pe-set .pe-tv { margin: 0; }
  .pe-copy { order: 2; }
  /* the number keys hang right under the set, as the remote rests on it on a wide page: the snow and the channel
     number change over the thumb, and the copy changing height below can't move the keys */
  .pe-set .pt-remote { order: 1; margin-top: -20px; position: static; left: auto; right: auto; bottom: auto; translate: none; width: auto; max-width: none; padding: 0; border-radius: 0; background: none; box-shadow: none; justify-content: flex-start; }
  .pt-remote .rm-pad { display: none; }
}
@container home (min-width: 640px) {
  .home > .pt-episodes, .home > .pt-divider + .pt-episodes { padding: 60px 40px; }
  .pt-episodes > .pt-h2 { font-size: 32px; line-height: 35px; }
  .pe-main { margin-top: 32px; }
  .pe-title { font-size: 24px; line-height: 34px; letter-spacing: -1px; }
  .pe-text { margin-top: 16px; font-size: 16px; line-height: 26px; }
  .pe-gets { margin-top: 27px; }
  .pe-items li { font-size: 16px; line-height: 22px; }
}
@container home (min-width: 760px) {
  .pt-episodes > .pt-h2 { font-size: 44px; line-height: 54px; }
  .pe-main { gap: 32px; }
  .pe-now, .pe-ghost { display: flex; align-items: flex-start; gap: 120px; }
  .pe-ghost { visibility: hidden; }
  .pe-about { flex: none; width: 384px; }
  .pe-title { font-size: 28px; line-height: 34px; }
  .pe-text { margin-top: 12px; }
  .pe-gets { flex: none; width: 176px; margin-top: 0; }
  .pe-get { margin-bottom: 21px; }
  .pe-items { display: grid; gap: 16px; }
  .pe-items li { display: flex; align-items: center; gap: 12px; }
}
@container home (min-width: 820px) { .pe-about { width: 444px; } .pe-set { max-width: 715px; } }
@container home (min-width: 1029px) { .pe-set { max-width: 862px; } }
@container home (min-width: 1100px) {
  .home > .pt-episodes, .home > .pt-divider + .pt-episodes { padding: 80px 64px; }
  .pe-main { gap: 56px; }
  .pe-copy { max-width: none; }
}
@container home (min-width: 1360px) {
  .pt-episodes > .pt-h2 { font-size: 40px; line-height: 44px; }
  .pe-main { flex-direction: row; align-items: center; }
  .pe-set { width: 720px; max-width: 720px; }
  .pe-copy { flex: 1 1 0; }
  .pe-now, .pe-ghost { display: block; }
  .pe-ghost { display: block; }
  .pe-about { width: auto; }
  .pe-gets { width: auto; margin-top: 32px; }
  .pe-items { gap: 20px; }
}

/* 8 · services */
.home > .pt-services { margin-top: 0; padding: 60px 20px; }
.home .pt-services .mm-body { margin-top: 24px; row-gap: 29px; }
.mm-list { gap: 4px; }
.mm-item { min-height: 0; padding: 11px; font-size: 24px; line-height: 26px; letter-spacing: 0; }
@container home (min-width: 640px) {
  .home > .pt-services { padding: 104px 40px 99px; }
  .home .pt-services .mm-body { margin-top: 32px; row-gap: 33px; }
  .mm-list { gap: 8px; }
  .mm-item { padding: 15px; font-size: 32px; line-height: 35px; letter-spacing: -1px; }
}
@container home (min-width: 760px) {
  .home > .pt-services { padding: 100px 40px; }
  .home .pt-services .mm-body { grid-template-columns: minmax(0, 1fr); margin-top: 36px; row-gap: 36px; }
  .mm-list { gap: 12px; }
  .mm-item { font-size: 40px; line-height: 50px; }
}
@container home (min-width: 820px) {
  .home > .pt-services { padding: 104px 40px; }
  .home .pt-services .mm-body { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 48px; margin-top: 32px; }
  .mm-list { gap: 4px; }
  .mm-item { font-size: 32px; line-height: 35px; }
}
@container home (min-width: 1029px) { .mm-item { font-size: 36px; line-height: 46px; } }
@container home (min-width: 1100px) { .home .pt-services .mm-body { column-gap: 48px; } .mm-list { gap: 4px; } .mm-item { font-size: 36px; line-height: 46px; } }
@container home (min-width: 1172px) { .mm-list { gap: 8px; } .mm-item { font-size: 40px; line-height: 56px; } }
@container home (min-width: 1360px) { .home > .pt-services { padding: 104px 64px; } .mm-list { gap: 16px; } .mm-item { font-size: 48px; line-height: 58px; } }

/* 9 · FAQ: the head over the window at every width, the window one column (a topic's answer opens under it).
   From 820px both sit in a 680px column on the middle; from 1029px the head is centred over it; from 1100px the
   window is drawn bigger (zoom), as one picture of a window */
.home > .pt-faq { display: block; padding: 44px 20px; }
.pt-faq .pt-h2 { max-width: none; font-size: 28px; line-height: 31px; letter-spacing: -1px; }
.home .pt-faq .mw { margin-top: 24px; }
.help-main { grid-template-columns: minmax(0, 1fr); }
@container home (min-width: 640px) {
  .home > .pt-faq { padding: 80px 40px; }
  .pt-faq .pt-h2 { font-size: 32px; line-height: 42px; }
  .home .pt-faq .mw { margin-top: 32px; }
}
@container home (min-width: 760px) {
  .pt-faq .pt-h2 { font-size: 56px; line-height: 66px; }
  .home .pt-faq .mw { margin-top: 36px; }
}
@container home (min-width: 820px) {
  .home > .pt-faq { display: block; }
  .pt-faq .sec-copy, .pt-faq .mw { width: min(100%, 680px); margin-left: auto; margin-right: auto; }
  .help-main { grid-template-columns: minmax(0, 1fr); }
  .faq-q { grid-column: auto; grid-row: auto; }
  .faq-a, .faq-empty { grid-column: auto; grid-row: auto; align-self: auto; padding: 12px 16px 16px 28px; border-left: 0; }
  .faq-empty:not([hidden]) { display: none; }
  .faq-a[hidden] { display: none !important; }
}
@container home (min-width: 1029px) {
  .pt-faq .pt-h2 { text-align: center; }
  .home .pt-faq .mw { margin-top: 56px; }
}
@container home (min-width: 1100px) {
  .home > .pt-faq { padding: 120px 40px; }
  .home .pt-faq .mw { zoom: 1.5; width: calc(934px / 1.5); max-width: 100%; margin-top: calc(56px / 1.5); }
}
@container home (min-width: 1172px) { .home .pt-faq .mw { zoom: 1.88; width: calc(1038px / 1.88); max-width: 100%; margin-top: calc(56px / 1.88); } }
@container home (min-width: 1360px) { .home > .pt-faq { padding: 120px 64px; } .home .pt-faq .mw { width: calc(1140px / 1.88); } }

/* 10 · the close: one centred column on a phone and up to 1028px (the print left out), the message without its
   field labels on a phone; from 1029px the head, the lead, the message and the profiles on the left and the
   print beside them */
.home > .hm-cta { margin-top: 0; padding: 80px 20px 0; }
.cl-grid { row-gap: 16px; }
.cta-h { max-width: none; font-size: 32px; line-height: 42px; letter-spacing: -2px; text-align: center; }
.cta-h span { display: inline; }
.cl-lead { max-width: none; font-size: 14px; line-height: 22px; text-align: center; }
.cl-ask .hm-mail { margin-top: 32px; }
.home .field { height: 36px; }
.cl-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 20px; margin-top: 16px; }
.cl-fine { margin-top: 32px; }
.cl-print { display: none; }
@container home (max-width: 639.98px) {
  .mail-head { grid-template-columns: minmax(0, 1fr); }
  .mail-head label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@container home (min-width: 640px) {
  .home > .hm-cta { padding: 80px 40px 0; }
  .cta-h { font-size: 44px; line-height: 54px; }
  .cl-lead { max-width: 453px; margin: 0 auto; font-size: 18px; line-height: 28px; }
  .cl-links { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@container home (min-width: 760px) {
  .home > .hm-cta { padding: 80px 64px 0; }
  .cl-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "ask" "links"; }
  .cta-h { font-size: 56px; line-height: 66px; }
  .cta-h span { display: inline; }
  .cl-print { display: none; }
}
@container home (min-width: 1029px) {
  .cl-grid { grid-template-columns: minmax(0, 1fr) 373px; grid-template-areas: "head print" "ask print" "links ."; column-gap: 80px; align-items: start; }
  .cta-h { font-size: 44px; line-height: 62px; text-align: left; }
  .cl-lead { max-width: none; margin: 0; font-size: 16px; line-height: 26px; text-align: left; }
  .cl-print { display: flex; align-self: start; width: 373px; height: 563px; }
  .cl-pic { flex: 1 1 0; min-height: 0; aspect-ratio: auto; }
}
@container home (min-width: 1100px) {
  .cl-grid { column-gap: 120px; }
  .cl-lead { max-width: 453px; font-size: 18px; line-height: 28px; }
}
@container home (min-width: 1172px) { .cta-h { font-size: 52px; line-height: 62px; } .cl-links a { font-size: 14px; } }
@container home (min-width: 1360px) { .cta-h { font-size: 52px; } .cl-links { max-width: 560px; gap: 4px 24px; } .cl-links a { font-size: 16px; line-height: 26px; } }

/* how far the remote hangs under the TV before the copy starts, as each Figma frame has it */
@container home (min-width: 640px) { .pe-set .pe-tv { margin-bottom: 40px; } }
@container home (min-width: 820px) { .pe-set .pe-tv { margin-bottom: 25px; } }
@container home (min-width: 1029px) { .pe-set .pe-tv { margin-bottom: 0; } }
@container home (min-width: 1360px) { .pe-set .pe-tv { margin-bottom: 31px; } }

/* the Figma's control sizes on every screen, touch included: the message's button and fields, the fine print's
   two controls and the help topics */
.home .mail-send .btn { min-height: 36px; }
.mail-send { gap: 8px 16px; padding: 12px 8px 8px; }
.home .ft-start { min-height: 24px; }
.home .cl-top { min-height: 32px; }
.home .faq-q { min-height: 0; }
.faq-a p { max-width: none; }
@container home (min-width: 640px) { .mail-send { padding: 8px; } }
/* the FAQ head breaks after "Before we" up to 1028px, and runs on one centred line from 1029px */
.pt-faq .pt-h2 { max-width: 7em; }
@container home (min-width: 1029px) { .pt-faq .pt-h2 { max-width: none; } }
/* on a phone the story stands 30px over What you get */
.pe-gets { margin-top: 30px; }
.pe-items li { line-height: 22px; }
@container home (min-width: 640px) { .pe-gets { margin-top: 27px; } }
@container home (min-width: 760px) { .pe-gets { margin-top: 0; } }
@container home (min-width: 1360px) { .pe-gets { margin-top: 32px; } }
.home > .pt-faq { padding-top: 75px; }
@container home (min-width: 640px) { .home > .pt-faq { padding-top: 80px; } }
@container home (min-width: 1100px) { .home > .pt-faq { padding-top: 120px; } }
@container home (min-width: 1360px) { .home .pt-services .mm-body { grid-template-columns: minmax(0, 719fr) minmax(0, 465fr); } }
.home .mail-body { min-height: 163px; }
/* the head breaks where the Figma breaks it: greedy, not balanced */
.home .lt-head .pt-h2 { text-wrap: wrap; }
/* the help answer at the Figma's size inside the zoomed window */
@container home (min-width: 1100px) { .home .pt-faq .faq-a p { font-size: calc(20px / 1.5); line-height: calc(30px / 1.5); } }
@container home (min-width: 1172px) { .home .pt-faq .faq-a p { font-size: calc(24px / 1.88); line-height: calc(34px / 1.88); } }
@container home (min-width: 1360px) { .home .pt-faq .faq-a p { font-size: calc(26px / 1.88); line-height: calc(36px / 1.88); } }
/* the browser sets the quote a hair wider than Figma: 20px of padding keeps the Figma's line breaks in a 540px column */
@container home (min-width: 1172px) { .rv { padding-right: 20px; } }
/* other episodes have longer What you get labels than the first: the column takes what the row leaves (176px at
   least) and a label too long for it wraps under its own icon line instead of running past the window */
@container home (min-width: 760px) {
  .pe-now, .pe-ghost { gap: min(120px, 8cqi); }
  .pe-about { flex: 0 1 384px; min-width: 0; }
  .pe-gets { flex: 1 0 176px; width: auto; min-width: 0; }
  .pe-items li { white-space: normal; }
}
@container home (min-width: 820px) { .pe-about { flex-basis: 444px; } }
@container home (min-width: 1100px) { .pe-now, .pe-ghost { gap: 120px; } }
/* the profile names on a whole-pixel line, as the Figma sets them: 16px, 26px at 1360px */
.cl-links a { line-height: 16px; }
@container home (min-width: 1360px) { .cl-links a { line-height: 26px; } }
/* the message's fields pad their text like the message well under them (12px), so the address and the subject
   don't sit on the field's edge; the select's arrow sits 8px in, with 12px between it and the subject */
.home .field { padding: 0 12px; }
.home select.field { padding-right: 37px; background-position: right 8px center; }
/* the message window pads its content 16px from the frame (owner, 2026-10-06): the fields, the text well and the send
   row stand 16px in, and the text well pads its text 12px over and under, 16px aside. This follows the rule above,
   which would otherwise strip the well's top and bottom padding (.home .field outranks nothing but comes later) */
.mail-head { padding: 16px 16px 8px; }
.home .mail-body { width: calc(100% - 32px); margin: 0 16px; padding: 12px 16px; }
.mail-send { padding: 16px; }

/* the services menu's arrow at the owner's Figma size (2026-10-02): 24px at every width, the library's own grid, so
   it draws one pixel to a pixel; from 760px to 819px the rows pad 16px inside their 1px line, as that frame draws them */
.mm-item .px { width: 24px; height: 24px; }
@container home (min-width: 760px) and (max-width: 819px) { .mm-item { padding: 16px; } }

/* ============================================================
   ONE HOME (owner, 2026-10-13): one system over the Figma's sections. The paper sections share one headline, one
   lead under it and one rhythm, every section starts on the gutter, and the space a section stands in steps with
   the page: 56px on a phone, 80px from 640px, 120px from 1029px. Rules here override the per-section sizes above
   ============================================================ */
/* the print headline: 32, 40 from 640px, 44 from 1029px, set left, sentence case (app.js) */
.home .lt-head .pt-h2, .home .rv-head, .home .pt-episodes > .pt-h2, .home .pt-faq .pt-h2 { font-size: 32px; line-height: 40px; letter-spacing: -1px; text-align: left; }
/* the lead, from a headline to what it heads: 24, 32 from 640px, 40 from 1029px */
.home > .pt-letter { row-gap: 24px; }
.home .rv-row, .home .pe-main, .home .pt-faq .mw { margin-top: 24px; }
/* the rhythm; the groove between the reviews and the episode guide stands half of it from each */
.home > .pt-letter, .home > .pt-services, .home > .pt-faq { padding-top: 56px; padding-bottom: 56px; }
.home > .pt-features { padding-top: 56px; }
.home > .pt-channels { padding-bottom: 56px; }
.home > .pt-reviews { padding-top: 56px; padding-bottom: 28px; }
.home > .pt-divider + .pt-episodes { padding-top: 28px; padding-bottom: 56px; }
@container home (min-width: 640px) {
  .home .lt-head .pt-h2, .home .rv-head, .home .pt-episodes > .pt-h2, .home .pt-faq .pt-h2 { font-size: 40px; line-height: 48px; }
  .home > .pt-letter { row-gap: 32px; }
  .home .rv-row, .home .pe-main, .home .pt-faq .mw { margin-top: 32px; }
  .home > .pt-letter, .home > .pt-services, .home > .pt-faq { padding-top: 80px; padding-bottom: 80px; }
  .home > .pt-features { padding-top: 80px; }
  .home > .pt-channels { padding-bottom: 80px; }
  .home > .pt-reviews { padding-top: 80px; padding-bottom: 40px; }
  .home > .pt-divider + .pt-episodes { padding-top: 40px; padding-bottom: 80px; }
}
@container home (min-width: 1029px) {
  .home .lt-head .pt-h2, .home .rv-head, .home .pt-episodes > .pt-h2, .home .pt-faq .pt-h2 { font-size: 44px; line-height: 54px; }
  .home > .pt-letter { row-gap: 40px; }
  .home .rv-row, .home .pe-main, .home .pt-faq .mw { margin-top: 40px; }
  .home > .pt-letter, .home > .pt-services, .home > .pt-faq { padding-top: 120px; padding-bottom: 120px; }
  .home > .pt-features { padding-top: 120px; }
  .home > .pt-channels { padding-bottom: 120px; }
  .home > .pt-reviews { padding-top: 120px; padding-bottom: 60px; }
  .home > .pt-divider + .pt-episodes { padding-top: 60px; padding-bottom: 120px; }
}
/* one gutter: 20px, 40px from 640px, 64px from 1100px, for every section (the close kept 64px from 760px, and the
   reviews, the services and the FAQ kept 40px up to 1172 or 1360px) */
@container home (min-width: 760px) and (max-width: 1099.98px) { .home > .hm-cta { padding-left: 40px; padding-right: 40px; } }
@container home (min-width: 1100px) {
  .home > .pt-reviews { --gutter: 64px; }
  .home > .pt-reviews, .home > .pt-services, .home > .pt-faq { padding-left: 64px; padding-right: 64px; }
}
/* FAQ: the head and the Help Topics window stand on the gutter, as every other section does, and the window runs
   the full width of the page's content. From 1100px it is zoomed: a percentage width is not scaled by the zoom, a
   length is, so its lead is divided by the zoom */
@container home (min-width: 820px) { .home .pt-faq .sec-copy, .home .pt-faq .mw { width: 100%; max-width: none; margin-left: 0; margin-right: 0; } }
@container home (min-width: 1100px) { .home .pt-faq .mw { margin-top: calc(40px / 1.5); } }
@container home (min-width: 1172px) { .home .pt-faq .mw { margin-top: calc(40px / 1.88); } }
/* a full-width window would run an answer past 90 characters a line; it keeps to a reading measure inside it */
.home .pt-faq .faq-a p { max-width: 64ch; }
/* the Help topics' books stand inside an XP window, on its white, so they keep to one colour of the window's own:
   Broadcast Mid line on a Broadcast Soft face */
.home .pt-faq .px { --ic-line: var(--bc-mid); --ic-fill: var(--bc-soft); }
/* the screen's headline: the lamp and its label grow to the print headline's size (32, 40, 44), white on the blue,
   and stand over what they head at every width, as the paper's do, so the work, the wall and the grid take the
   content's full width. The lamp sits on the first line's middle. The wall's own head is a step down (24, 28, 32) */
.home .ft-row { grid-template-columns: minmax(0, 1fr); column-gap: 0; row-gap: 24px; align-items: start; }
.home .ft-mark { gap: 16px; font-size: 32px; line-height: 40px; letter-spacing: -1px; text-wrap: wrap; }
.home .ft-mark::before { width: 20px; height: 20px; margin-top: 10px; }
.home h3.ft-mark { gap: 12px; font-size: 24px; line-height: 32px; letter-spacing: -.5px; }
.home h3.ft-mark::before { width: 16px; height: 16px; margin-top: 8px; }
/* the services menu steps under its headline: 24, 28 from 640px, 32 from 1029px, 36 from 1360px */
.home .pt-services .mm-body { margin-top: 24px; }
.home .mm-item { font-size: 24px; line-height: 32px; letter-spacing: -.5px; }
@container home (min-width: 640px) {
  .home .ft-row { row-gap: 32px; }
  .home .ft-mark { font-size: 40px; line-height: 48px; }
  .home .ft-mark::before { width: 24px; height: 24px; margin-top: 12px; }
  .home h3.ft-mark { font-size: 28px; line-height: 36px; }
  .home h3.ft-mark::before { width: 18px; height: 18px; margin-top: 9px; }
  .home .pt-services .mm-body { margin-top: 32px; }
  .home .mm-item { font-size: 28px; line-height: 36px; letter-spacing: -1px; }
}
@container home (min-width: 1029px) {
  .home .ft-row { row-gap: 40px; }
  .home .ft-mark { font-size: 44px; line-height: 54px; }
  .home .ft-mark::before { margin-top: 15px; }
  .home h3.ft-mark { font-size: 32px; line-height: 40px; }
  .home h3.ft-mark::before { width: 20px; height: 20px; margin-top: 10px; }
  .home .pt-services .mm-body { margin-top: 40px; }
  .home .mm-item { font-size: 32px; line-height: 44px; }
}
@container home (min-width: 1360px) { .home .mm-item { font-size: 36px; line-height: 48px; } }
/* the reviews set as a printed guide sets its critics: each column opens under a heavy ink rule with a large
   quotation mark in the same ink, the quote a step bigger in full ink (16, 18 from 1029px), and the byline
   under a hairline; the columns are split by an ink hairline, not a blue one */
.home .rv { padding-right: 24px; border-right: 1px solid rgba(20, 20, 20, .14); }
.home .rv figure { gap: 24px; padding-top: 16px; border-top: 3px solid var(--ink); }
.home .rv blockquote::before { content: "\201C"; display: block; height: 40px; margin-bottom: 8px; font: 700 72px/1 var(--display); color: var(--ink); }
.home .rv blockquote p { font-size: 16px; line-height: 26px; color: var(--ink); }
.home .rv figcaption { gap: 2px; padding-top: 12px; border-top: 1px solid rgba(20, 20, 20, .14); font-size: 12px; line-height: 16px; color: var(--ink-2); }
.home .rv figcaption b { color: var(--ink); }
/* the letter reads at the size of the paper's body copy beside the headline, in full ink: 16, 18 from 1029px */
.home .lt-body p { font-size: 16px; line-height: 26px; color: var(--ink); }
/* the signature is the section's own last part: the row gap stands it off what comes before it. On a phone and up to
   1028px it ends the letter; from 1029px it moves under the lead (below) */
.home > .pt-letter > .lt-sign { margin: 0 !important; }
.home .lt-body p:last-child { margin-bottom: 0; }
@container home (min-width: 1029px) {
  .home .rv blockquote p { font-size: 18px; line-height: 30px; }
  .home .rv figcaption b { font-size: 16px; line-height: 24px; }
  .home .rv figcaption { font-size: 14px; line-height: 20px; }
  .home .lt-body p { margin-bottom: 20px; font-size: 18px; line-height: 30px; }
  /* the head and the letter start on one line (owner, 2026-10-13), not on the row's middle */
  .home > .pt-letter { align-items: start; }
  /* the two columns balance (owner, 2026-10-13): the signature stands under the lead as the statement's byline, and
     the letter runs down the right beside both; the lead is a step over the letter's 18px */
  .home > .pt-letter { grid-template-rows: auto 1fr; }
  .home > .pt-letter > .lt-head { grid-column: 1; grid-row: 1; }
  .home > .pt-letter > .lt-body { grid-column: 2; grid-row: 1 / span 2; }
  .home > .pt-letter > .lt-sign { grid-column: 1; grid-row: 2; align-self: start; }
  .home .lt-stand { font-size: 20px; line-height: 32px; }
  .home .lt-sign b { font-size: 16px; line-height: 24px; }
}
@container home (min-width: 1172px) { .home .rv { width: min(600px, 80cqi); padding-right: 32px; } }
/* where one material meets the next, the close's seam: a dark line, lit just under it, so every change of ground is
   cut the same way (on the blue the light is the blue's own, a quarter white). The stage's dither layer starts under
   the seam. Between two paper sections the owner's deeper groove stands instead */
.home > .pt-letter, .home > .pt-reviews, .home > .pt-faq { box-shadow: inset 0 1px rgba(40, 44, 60, .35), inset 0 2px var(--hi); }
.home > .pt-features, .home > .pt-services { box-shadow: inset 0 1px rgba(2, 8, 28, .9), inset 0 2px rgba(255, 255, 255, .22); }
.home > .pt-features::before { top: 2px; }
/* past 1440px the content keeps the width it has there (1312px) on the window's middle, each ground still running
   edge to edge: the gutter grows with the window, and the reviews' row still runs out past the content's edge */
@container home (min-width: 1440px) {
  .home > * { --gutter: max(64px, (100cqi - 1312px) / 2); }
  .home.home > :is(.pt-hero, .pt-letter, .pt-features, .pt-channels, .pt-reviews, .pt-episodes, .pt-services, .pt-faq, .hm-cta) { padding-left: var(--gutter); padding-right: var(--gutter); }
  .home > .pt-reviews { --gutter: max(64px, (100cqi - 1312px) / 2); }
}

/* ---------------------------------------------------------------- MOTION (owner's request, 2026-10-02)
   Small and quick, in the Luna ease, and none of it under reduced motion (app.js adds the classes only then) */
/* the remote's keys travel down and back (80ms), and a key worked from the keyboard goes down the same way */
.rm-key, .rm-num { transition: transform .08s, box-shadow .08s; }
.rm-key.hit, .rm-num.hit { animation: rm-hit .16s steps(1, end); }
@keyframes rm-hit { from { transform: translateY(2px); box-shadow: inset 0 2px 3px rgba(0, 0, 0, .35); } }
/* changing the episode puts the channel number up in the set's own on-screen display: bright phosphor green with a
   hard black shadow in the screen's top right corner, held 1s, then gone in 0.3s */
.pe-osd { position: absolute; top: 12px; right: 16px; z-index: 3; pointer-events: none; color: var(--glow); font: 700 24px/1 var(--ui);
  font-variant-numeric: tabular-nums; letter-spacing: 1px; text-shadow: 2px 2px 0 #000, 0 0 8px var(--glow-halo); animation: pe-osd 1.3s steps(1, end) both; }
@keyframes pe-osd { 0% { opacity: 1; } 77% { opacity: 1; animation-timing-function: ease; } 100% { opacity: 0; } }
@container home (min-width: 760px) { .pe-osd { top: 16px; right: 20px; font-size: 32px; } }
@container home (min-width: 1100px) { .pe-osd { top: 20px; right: 24px; font-size: 40px; } }
/* Help Topics: the picked topic's highlight sweeps in from its left (0.15s) and its answer settles 4px (0.25s) */
.help-main.swap .faq-q[aria-expanded="true"] span { background: linear-gradient(var(--sel), var(--sel)) 0 0 / 100% 100% no-repeat; animation: faq-sel .15s var(--ease-out) both; }
@keyframes faq-sel { from { background-size: 0 100%; color: #000; } }
.help-main.swap .faq-a:not([hidden]), .help-main.swap .faq-empty:not([hidden]) { animation: faq-in .25s var(--ease-out) both; }
@keyframes faq-in { from { opacity: 0; translate: 0 4px; } }
/* New Message: a field in use is ringed in solid Selection Blue, 1px in and 2px out (0.15s), clear of the field's own
   line; the Subject arrow turns up while its list is open (only where the browser knows select:open, Chrome and Edge);
   a required field left empty shakes 2px as the browser points at it; Send says it is sending in black ink, its dots
   running, though it is locked against a second send */
.home .field { transition: box-shadow .15s; }
.home .field:focus { outline: none; box-shadow: inset 0 0 0 1px var(--sel), 0 0 0 2px var(--sel); }
@supports selector(select:open) {
  .home select.field:open { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='18'%3E%3Crect x='.5' y='.5' width='16' height='17' rx='2.5' fill='%23c1d3fb' stroke='%23fff'/%3E%3Crect x='1.5' y='1.5' width='14' height='15' rx='1.5' fill='none' stroke='%239eb7f2'/%3E%3Cpath d='M5 11l3.5-3.5L12 11' fill='none' stroke='%234d6185' stroke-width='2'/%3E%3C/svg%3E"); }
}
.home .field.nudge { animation: field-nudge .3s linear; }
@keyframes field-nudge { 20%, 60% { translate: -2px 0; } 40%, 80% { translate: 2px 0; } }
.home .mail-send .btn.busy[aria-disabled="true"] { color: #000; text-shadow: none; cursor: var(--cur-busy, progress); }
.mail-send .btn.busy[aria-disabled="true"] svg { opacity: 1; filter: none; }
.mail-send .dots i { font-style: normal; animation: send-dot 1.2s steps(1, end) infinite; }
.mail-send .dots i:nth-child(2) { animation-delay: .2s; }
.mail-send .dots i:nth-child(3) { animation-delay: .4s; }
@keyframes send-dot { 0% { opacity: .2; } 25% { opacity: 1; } }
/* each section's heading rises 8px into place as it first comes into view (app.js, homeArm); what is under it stays
   still, so a section's own moment (the TV, the multiviewer's lock) is the only motion in it */
.home .rise { opacity: 0; translate: 0 8px; }
.home .rise.risen { opacity: 1; translate: none; transition: opacity .5s var(--ease-out) var(--rise-d, 0ms), translate .6s var(--ease-out) var(--rise-d, 0ms); }
@media (prefers-reduced-motion: reduce) {
  .home .rise { opacity: 1; translate: none; }
}
