/* Comparsa BETA (2026-10-23, cinematic-mobile round): Home's film opening. Not part of the live site.
   Desktop and tablets reproduce the approved How it works variation A frame (oscar-review/spotlight.css):
   the film fills the width under the clear top bar, the message sits bottom-left, the controls
   bottom-right. Home adds the welcome message's lede and actions.
   Phones held upright get one full-screen scene, like the live Home film: a 9:16 edit of the film
   fills the first screen under the clear top bar, the headline, credit and compact controls sit on
   its shaded lower part, and the page then turns cream. The frame is at least the small viewport (100svh) and grows with
   larger text rather than clipping it.
   Colours and type are the beta's About/How it works tokens (--ab-*), which are the site's own. */

/* ---------- New / Live ---------- */
:root:not([data-beta-layout=new]) .hc { display: none; }
:root[data-beta-layout=new] body.home-page.hc-on #main > section.hero { display: none; }   /* hc-on: home-cinematic.js has put the film section in place */
/* "Every kind of talent" with the four artist-series films (recruitment/artist-series.js calls them
   illustrative brand stories; they are AI-generated, not creators' work). Removed from the New layout
   until a founding-creatives section with real people and their own work replaces it. Live keeps it. */
:root[data-beta-layout=new] body.home-page #main > #featured-creators { display: none; }

/* ---------- Tokens and resets (same values as .ab-new in about.css) ---------- */
.hc { --ab-ink: #162F28; --ab-muted: #425B50; --ab-green: #187262; --ab-mint: #9FE3CD; --ab-paper: #F5F1EA; --ab-surface: #F8F5EB; --ab-night: #0C231F; --ab-line: rgba(25, 89, 76, .16); --ab-gutter: clamp(20px, 5.5vw, 79px); --hc-cream: #FFFEF9;
  --hc-pad-l: max(var(--ab-gutter), env(safe-area-inset-left, 0px)); --hc-pad-r: max(var(--ab-gutter), env(safe-area-inset-right, 0px));
  position: relative; color: var(--ab-ink); font-family: Archivo, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.hc *, .hc *::before, .hc *::after { box-sizing: border-box; }
.hc h1, .hc h2, .hc p { margin: 0; font-weight: 400; }
.hc button { font: inherit; -webkit-tap-highlight-color: transparent; }
.hc img, .hc video { display: block; max-width: 100%; }
.hc [hidden] { display: none !important; }
.hc :focus-visible { outline: 2px solid var(--ab-green); outline-offset: 3px; }
.hc .os-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* ---------- Controls, as in variation A ---------- */
.hc .os-round { display: grid; place-items: center; flex: 0 0 auto; width: 48px; height: 48px; padding: 0; border: 1px solid rgba(255, 254, 249, .55); border-radius: 50%; background: rgba(8, 32, 27, .4); color: var(--hc-cream); cursor: pointer; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hc .os-round svg { width: 22px; height: 22px; }
.hc .os-round:disabled { opacity: .5; cursor: default; }
.hc .os-pill { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; border: 1px solid var(--hc-cream); border-radius: 4px; background: var(--hc-cream); color: var(--ab-ink); font-size: 13px; font-weight: 500; letter-spacing: .065em; text-transform: uppercase; cursor: pointer; white-space: nowrap; }
.hc .os-pill svg { width: 18px; height: 18px; flex: none; }
.hc .os-pill small { font-size: 12px; letter-spacing: .04em; opacity: .7; text-transform: none; }
.hc-stage :focus-visible { outline-color: var(--hc-cream); }

/* ---------- The frame ---------- */
.hc-stage { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "copy bar"; align-items: end; column-gap: 32px;
  min-height: 56.25vw; min-height: min(56.25vw, 86svh); padding: 112px var(--hc-pad-r) clamp(28px, 4vw, 64px) var(--hc-pad-l); background: var(--ab-night); color: var(--hc-cream); overflow: hidden; }
.hc-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: var(--ab-night); }
.hc-media > img, .hc-media > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 45%); }
.hc-media > video { z-index: 1; }
.hc-stage.is-error .hc-media > video { display: none; }
.hc .os-a-shade { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(90deg, rgba(4, 17, 12, .36) 0%, rgba(4, 17, 12, 0) 52%), linear-gradient(180deg, rgba(4, 17, 12, .34) 0%, rgba(4, 17, 12, 0) 30%, rgba(4, 17, 12, .18) 52%, rgba(4, 17, 12, .82) 100%); transition: opacity .3s; }
.hc-copy { grid-area: copy; position: relative; z-index: 3; max-width: min(620px, 100%); transition: opacity .3s, visibility .3s; }
.hc-eyebrow { font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ab-mint); }
.hc-copy h1 { margin-top: 14px; color: var(--hc-cream); font-size: clamp(36px, 4.2vw, 64px); line-height: 1.04; letter-spacing: -0.045em; text-wrap: balance; }
.hc-copy h1 em { font-style: normal; color: inherit; }
.hc-lede { margin-top: 16px; max-width: 46ch; font-size: 17px; line-height: 1.55; color: rgba(255, 254, 249, .88); }
.hc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 22px; }
.hc-actions .button { display: inline-flex; align-items: center; gap: 14px; min-height: 52px; padding: 12px 23px; border: 1px solid rgba(22, 47, 40, .15); border-radius: 4px; background: #E9EEE5; color: var(--ab-ink); font-size: 13px; font-weight: 500; line-height: 1.4; letter-spacing: .065em; text-transform: uppercase; text-decoration: none; box-shadow: 0 2px 3px rgba(23, 58, 71, .063); }
.hc-actions .button svg { width: 18px; height: 18px; }
.hc-actions .text-link { display: inline-flex; align-items: center; min-height: 48px; padding: 0; border-radius: 0; background: transparent; box-shadow: none; color: var(--hc-cream); font-size: 12px; font-weight: 500; letter-spacing: .065em; text-transform: uppercase; text-decoration: underline; text-decoration-color: rgba(255, 254, 249, .5); text-underline-offset: 6px; border: 0; }
.hc-credit { margin-top: 18px; font-size: 13px; line-height: 1.5; color: rgba(255, 254, 249, .82); }
.hc-credit a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.hc-credit b { font-weight: 500; color: var(--hc-cream); }
.hc-bar { grid-area: bar; position: relative; z-index: 4; display: flex; align-items: center; gap: 14px; }
/* one round button, level with the credit on phones and at the frame's foot on desktop: the speaker (the
   "Watch with sound" pill and the loop's own pause button went with the review notations, 2026-10-24) */
.hc .os-a-toggle, .hc .os-a-watch { display: none; }

/* the full player bar (seek, time, sound, back) is not used on Home: pressing the button never changes the
   frame (review, 2026-10-24); the film plays in place with the message, the credit and the one button */
.hc .os-a-film { display: none; }

/* ---------- Founding creatives: the first waypoint of the flight (home-flight.js) ----------
   The film's dark ground continues; the point-field terrain (home-terrain.js) sits under the cards and
   the lamp's cone lights them from the fixed flight canvases above the page. One card is lit at a time.
   Desktop: a sticky stage. The visitor meets the three creatives centred ("arrive"); scrolling on, they
   shift to the left as a lit list and the How it works demo appears on the right ("split"), with its
   phone and a play button. Phones: the row stays, and the demo follows below with its steps revealing
   as the visitor scrolls, the How it works page's own pattern. */
/* clip, not hidden: hidden would make the chapter the scrollport of its sticky stage and phone, which then never stick */
.hc-founding { position: relative; isolation: isolate; overflow: hidden; overflow: clip; background: #08201B; color: var(--hc-cream); --hc-head: 72px; }
.hc-terrain { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }
/* the cable, lamp and dots on one fixed layer; the cones on their own blended layers (lighten on the dark
   ground, darken on cream), so text inside a cone keeps its colour (the app draws its cone behind the content) */
.hc-flight { position: fixed; inset: 0; z-index: 40; pointer-events: none; }
.hc-flight-cone { position: fixed; inset: 0; z-index: 39; pointer-events: none; }
.hc-flight-cone--night { mix-blend-mode: lighten; }
.hc-flight-cone--day { mix-blend-mode: darken; }
:root:not([data-beta-layout=new]) .hc-flight, :root:not([data-beta-layout=new]) .hc-flight-cone { display: none; }
.hf-wrap { position: relative; z-index: 1; max-width: 1440px; margin: 0 auto; padding: clamp(56px, 7vw, 96px) var(--hc-pad-r) clamp(40px, 5vw, 72px) var(--hc-pad-l); }
.hf-head { max-width: 760px; margin-bottom: clamp(28px, 3.5vw, 48px); }
.hf-eyebrow { font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ab-mint); }
.hf-head h2 { margin-top: 14px; font-size: clamp(32px, 3.4vw, 52px); line-height: 1.06; letter-spacing: -0.04em; color: var(--hc-cream); text-wrap: balance; }
.hc-founding h3, .hc-founding h4 { margin: 0; font-weight: 400; letter-spacing: -0.035em; }
.hf-role { margin-top: 6px; font-size: 15px; color: rgba(255, 254, 249, .78); }
.hf-links { display: flex; flex-wrap: wrap; gap: 0 20px; margin-top: 8px; }
.hf-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--ab-mint); font-size: 14px; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(159, 227, 205, .5); }
@media (hover: hover) and (pointer: fine) { .hf-link:hover { text-decoration-color: currentColor; } }

/* the cards, as they arrive: three across */
.hf-split { position: relative; display: flex; align-items: flex-start; }
.hf-left { flex: 0 0 100%; min-width: 0; transition: flex-basis .7s cubic-bezier(.2, .7, .3, 1); }
.hf-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.hf-dcard { position: relative; display: grid; aspect-ratio: 4 / 5; overflow: clip; border-radius: 12px; background: #12302A; isolation: isolate; transition: transform .55s ease; }   /* clip, not hidden: the card can grow with larger text */
.hf-dcard > * { grid-area: 1 / 1; min-width: 0; }
.hf-open { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; border-radius: inherit; background: transparent; cursor: pointer; }
.hf-dcard-text { pointer-events: none; }
.hf-dcard-text a { pointer-events: auto; position: relative; z-index: 4; }
.hf-dcard:has(.hf-open:focus-visible) { outline: 2px solid var(--hc-cream); outline-offset: 3px; }
.hf-dcard img { width: 100%; height: 100%; object-fit: cover; transition: filter .55s ease; }
.hf-dcard img[src*="/jade/"] { object-position: 42% 50%; }
.hf-dcard::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(4, 17, 12, 0) 45%, rgba(4, 17, 12, .82) 100%); pointer-events: none; }
.hf-texture { display: block; width: 100%; height: 100%; transition: filter .55s ease; background: radial-gradient(120% 80% at 20% 10%, rgba(159, 227, 205, .16), transparent 60%), radial-gradient(90% 70% at 90% 90%, rgba(24, 114, 98, .35), transparent 60%), repeating-linear-gradient(135deg, rgba(255, 254, 249, .025) 0 2px, transparent 2px 9px); }
.hf-dcard-text { position: relative; z-index: 2; align-self: end; padding: clamp(16px, 2vw, 24px); }
.hf-dcard h3 { font-size: clamp(24px, 2.2vw, 32px); color: var(--hc-cream); transition: color .55s ease; }
/* the lit card, as the lit line of the welcome marquee: full, a touch larger, the name in mint; the rest dim */
.hc-founding.is-lit .hf-dcard:not([data-lit="true"]) img, .hc-founding.is-lit .hf-dcard:not([data-lit="true"]) .hf-texture { filter: brightness(.5); }
.hc-founding.is-lit .hf-dcard[data-lit="true"] { transform: scale(1.015); }
.hc-founding.is-lit .hf-dcard[data-lit="true"] h3 { color: var(--ab-mint); }
.hc-founding :focus-visible { outline-color: var(--hc-cream); }
.hc-founding .hf-dcard:has(:focus-visible) { outline: 2px solid var(--hc-cream); outline-offset: 3px; }

/* the demo beside them */
/* out of flow with its final width from the start, so only its fade and slide animate and it adds no height while hidden */
.hf-demo { position: absolute; top: 0; right: 0; width: 62%; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(20px, 3vw, 48px); align-items: start; opacity: 0; transform: translateX(32px); pointer-events: none; transition: opacity .6s ease .15s, transform .7s cubic-bezier(.2, .7, .3, 1) .15s; }   /* faded, not hidden: it stays in the tab order and the accessibility tree, and focus inside it brings the split on */
.hf-demo-head { display: none; }
.hf-demo-copy { min-width: 0; }
@media (min-width: 761px) { .hf-demo-copy { align-self: center; margin-bottom: 122px; } }   /* review, 2026-10-26: level with the phone, not at the top of its column; 122px: the dots and Play under the phone (18 + 44 + 12 + 48) */
.hf-demo-current h3 { margin-top: 14px; font-size: clamp(26px, 2.4vw, 36px); line-height: 1.12; color: var(--hc-cream); }
.hf-demo-step { margin-top: 14px; font-size: 14px; letter-spacing: .02em; font-variant-numeric: tabular-nums; color: rgba(255, 254, 249, .6); }   /* review, 2026-10-26: which of the four steps is on screen */
.hf-demo-step + h3 { margin-top: 6px; }
.hf-demo-text { margin-top: 14px; font-size: 16px; line-height: 1.6; color: rgba(255, 254, 249, .84); max-width: 40ch; }
/* under the phone: the step dots first, then the Play pill, centred on the phone's width */
.hf-demo-bar { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 18px; }
.hf-dots { order: -1; }
.hf-demo-play { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; border: 1px solid var(--hc-cream); border-radius: 4px; background: var(--hc-cream); color: var(--ab-ink); font-size: 13px; font-weight: 500; letter-spacing: .065em; text-transform: uppercase; cursor: pointer; white-space: nowrap; }
.hf-demo-play svg { width: 18px; height: 18px; flex: none; }
.hf-dots { display: flex; gap: 6px; }
.hf-dot { width: 44px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; position: relative; }
.hf-dot::before { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; border-radius: 50%; transform: translate(-50%, -50%); background: rgba(255, 254, 249, .35); transition: background .3s, box-shadow .3s; }
.hf-dot[aria-current="step"]::before { background: var(--ab-mint); box-shadow: 0 0 0 4px rgba(159, 227, 205, .25); }
.hf-phone { position: relative; align-self: start; }
.hf-phone-frame { position: relative; width: min(280px, calc((100vh - var(--hc-head) - 372px) * 9 / 19.5)); min-width: 180px;   /* 372px: the stage head above and the controls under it */ aspect-ratio: 9 / 19.5; border-radius: 36px; background: #0C231F; padding: 10px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(159, 227, 205, .14); overflow: hidden; }
.hf-screen { position: absolute; inset: 10px; border-radius: 27px; overflow: hidden; background: #08201B; opacity: 0; transition: opacity .45s ease; }
.hf-screen.is-active { opacity: 1; }
.hf-screen video { display: block; width: 100%; height: 100%; object-fit: cover; }
.hf-steps, .hf-phone-bar, .hf-phone-copy, .hf-seg { display: none; }

/* the shift: the creatives become a lit list on the left, the demo takes the right */
.hf-stage[data-phase="split"] .hf-left { flex-basis: 34%; }
.hf-stage[data-phase="split"] .hf-cards { grid-template-columns: 1fr; gap: 10px; }
.hf-stage[data-phase="split"] .hf-dcard { aspect-ratio: auto; display: grid; grid-template-columns: 84px minmax(0, 1fr); align-items: center; gap: 16px; padding: 8px; background: rgba(255, 254, 249, .04); }
.hf-stage[data-phase="split"] .hf-dcard img, .hf-stage[data-phase="split"] .hf-texture { grid-area: 1 / 1; width: 84px; height: 105px; border-radius: 8px; }
.hf-stage[data-phase="split"] .hf-dcard::after { display: none; }
.hf-stage[data-phase="split"] .hf-dcard-text { grid-area: 1 / 2; align-self: center; padding: 0 4px 0 0; }
.hf-stage[data-phase="split"] .hf-dcard h3 { font-size: clamp(20px, 1.6vw, 24px); }
.hf-stage[data-phase="split"] .hf-role { margin-top: 2px; font-size: 14px; }
.hf-stage[data-phase="split"] .hf-link { min-height: 40px; font-size: 13px; }
.hf-stage[data-phase="split"] .hf-demo { opacity: 1; transform: none; pointer-events: auto; transition: opacity .6s ease .25s, transform .7s cubic-bezier(.2, .7, .3, 1) .25s; }

/* a creative's own work, over the page (review, 2026-10-26): a centred window; on phones a sheet from the bottom */
.hf-panel { width: min(760px, calc(100% - 2 * var(--hc-pad-l))); max-height: min(88vh, 88svh); margin: auto; padding: 0; border: 1px solid rgba(159, 227, 205, .18); border-radius: 16px; background: #0C231F; color: var(--hc-cream); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); overflow: auto; overscroll-behavior: contain; }
.hf-panel::backdrop { background: rgba(4, 17, 12, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hf-panel[open] { animation: hf-panel-in .4s cubic-bezier(.2, .7, .3, 1); }
@keyframes hf-panel-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hf-panel-body { padding: clamp(20px, 3vw, 32px); }
.hf-panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.hf-panel-head h2 { margin-top: 10px; font-size: clamp(28px, 3vw, 40px); line-height: 1.06; letter-spacing: -.035em; color: var(--hc-cream); }
.hf-panel-close { position: sticky; top: 0; }
.hf-panel-intro { margin-top: 16px; max-width: 48ch; font-size: 16px; line-height: 1.55; color: rgba(255, 254, 249, .84); }
.hf-panel-media { display: grid; gap: 16px; margin-top: 22px; }
.hf-pmedia { margin: 0; min-width: 0; }
.hf-pmedia video, .hf-pmedia img { display: block; width: 100%; height: auto; border-radius: 10px; background: #08201B; }
.hf-pmedia--tall img { max-height: 60vh; width: auto; max-width: 100%; }
.hf-pmedia figcaption { margin-top: 8px; font-size: 13px; color: rgba(255, 254, 249, .7); }
.hf-panel .hf-links { margin-top: 18px; }
html.hf-panel-open { overflow: hidden; }
@media (min-width: 761px) { .hf-panel-media:has(.hf-pmedia + .hf-pmedia) { grid-template-columns: 1.25fr 1fr; align-items: start; } }
@media (max-width: 760px) {
  .hf-panel { width: 100%; max-width: none; max-height: min(92vh, 92svh); margin: auto 0 0; border-radius: 18px 18px 0 0; border-bottom: 0; }
  .hf-panel[open] { animation-name: hf-sheet-in; }
  @keyframes hf-sheet-in { from { transform: translateY(100%); } to { transform: none; } }
  .hf-panel-body { padding: 18px var(--hc-pad-r) max(24px, env(safe-area-inset-bottom, 0px)) var(--hc-pad-l); }
}
@media (prefers-reduced-motion: reduce) { .hf-panel[open] { animation: none; } }

/* narrow desktop widths and tablets upright (761-1023px): a smaller phone, a wider demo, a tighter list */
@media (min-width: 761px) and (max-width: 1023px) {
  .hf-demo { width: 68%; }
  .hf-phone-frame { width: min(22vw, calc((100vh - var(--hc-head) - 372px) * 9 / 19.5)); min-width: 160px; }
  .hf-stage[data-phase="split"] .hf-left { flex-basis: 29%; }
  .hf-stage[data-phase="split"] .hf-dcard { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; }
  .hf-stage[data-phase="split"] .hf-dcard img, .hf-stage[data-phase="split"] .hf-texture { width: 64px; height: 80px; }
  .hf-stage[data-phase="split"] .hf-links { gap: 0 12px; }
}
@media (min-width: 761px) {
  .hc-founding:not(.hf-plain) { min-height: calc(100vh + 70vh); }
  .hc-founding:not(.hf-plain) .hf-stage { position: sticky; top: var(--hc-head); min-height: calc(100vh - var(--hc-head)); box-sizing: border-box; }
  /* when the whole stage cannot show at once (short or zoomed windows) nothing sticks: the cards, then the demo */
  .hc-founding.hf-plain .hf-split { display: block; }
  .hc-founding.hf-plain .hf-demo { position: static; width: auto; margin-top: 48px; opacity: 1; transform: none; pointer-events: auto; transition: none; }
}

/* phones (review, 2026-10-26): the founding creatives, the lamp and Jade's spotlight are off; the chapter is
   the How it works demo under its own heading. The phone keeps its place under the header while the visitor
   scrolls, each step swapping its screen and the caption under it (the steps are the spacers; their text
   stays for screen readers); a round button pauses the loop. */
@media (max-width: 760px) {
  .hc-founding .hf-head, .hc-founding .hf-left, .hc-jade { display: none; }
  /* the chapter heading pins with the phone (2:41 review), compact so heading, phone and step copy share the screen */
  .hf-demo-head { display: block; position: relative; z-index: 1; margin: 0 0 16px; padding-left: max(14px, calc(44px - var(--hc-pad-l))); }
  .hf-demo-head h2 { margin-top: 8px; font-size: clamp(22px, 6.6vw, 28px); line-height: 1.08; letter-spacing: -0.035em; color: var(--hc-cream); text-wrap: balance; }
  .hf-demo-lede { margin-top: 8px; max-width: 32ch; font-size: 14px; line-height: 1.45; color: rgba(255, 254, 249, .74); }
  .hf-split { display: block; }
  .hf-cards { contain: inline-size; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(78%, 320px); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    margin: 0 calc(-1 * var(--hc-pad-r)) 0 calc(-1 * var(--hc-pad-l)); padding: 6px var(--hc-pad-r) 6px var(--hc-pad-l); scroll-padding-inline: var(--hc-pad-l); scrollbar-width: none; }
  .hf-cards::-webkit-scrollbar { display: none; }
  .hf-cards > li { scroll-snap-align: start; }
  .hf-head h2 { font-size: clamp(32px, 9.2vw, 42px); }
  .hf-demo { position: static; width: auto; display: block; opacity: 1; transform: none; pointer-events: auto; margin-top: 0; transition: none; }
  .hf-demo-copy, .hf-demo-bar { display: none; }
  /* the Flight Over look (review recording of 2026-10-22, brought to Home on 2026-10-26; copy under the phone
     since the 2:31 review): the phone pins under the header on the dotted ground with the lamp hanging on
     the left; the current step's marker, title and text sit under the phone and swap as the visitor scrolls,
     with the step line's dots beside them; nothing ever passes behind the phone */
  /* the pinned block (2:50 review): the heading across the top, then the step copy in the left column under
     the lamp's light and the phone on the right */
  .hf-phone { position: sticky; top: var(--hc-head); z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto minmax(0, 1fr) auto; grid-template-areas: "head head" "copy frame" "dots dots"; column-gap: 12px; align-items: start; box-sizing: border-box; min-height: calc(100svh - var(--hc-head)); padding: 14px 0 18px; background: transparent; }   /* fills the screen: the copy anchors to its foot (2:54 review) */
  .hf-demo-head { grid-area: head; }
  .hf-phone-copy { grid-area: copy; align-self: end; }
  .hf-phone-frame { grid-area: frame; align-self: start; margin: 0; width: max(150px, min(210px, 53vw, calc((100svh - var(--hc-head) - 170px) * 9 / 19.5))); min-width: 0; padding: 8px; border-radius: 30px; }   /* 170px: the heading above */
  .hf-screen { inset: 8px; border-radius: 23px; }
  .hf-phone-bar { display: none; }   /* review 2:40, 2026-10-26: no pause button on phones (the loop still stops off screen and under reduced motion) */
  /* the copy under the phone: the step dots stand in the left margin on the lamp's line (x 28), joined by a
     short line that ends at the last dot; the text keeps one left edge, 44 px in, with air above it */
  .hf-phone-copy { display: block; position: relative; margin: 4px 0 0; padding-left: max(14px, calc(44px - var(--hc-pad-l))); }   /* inside the page gutter: the text 44 px from the screen edge */
  /* the step dots: a centred row along the foot of the block, joined by a line, lit up to the current step */
  .hf-seg { grid-area: dots; position: relative; display: flex; justify-content: center; gap: 16px; width: max-content; margin: 16px auto 0; }
  .hf-seg::before { content: ""; position: absolute; left: 3px; right: 3px; top: 3px; height: 1px; background: rgba(159, 227, 205, .28); }
  .hf-seg i { position: relative; display: block; width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 254, 249, .3); box-shadow: 0 0 0 3px #08201B; transition: background .3s; }
  .hf-seg i.is-on { background: var(--ab-mint); }
  /* 3:01 review: no step number, track label or dot list; the title carries the mint instead */
  .hf-phone-mark { display: none; }
  /* set for a narrow column: the phone's height is the block's, so the copy need not hold a fixed height */
  .hf-phone-title { margin-top: 0; font-size: clamp(18px, 5.2vw, 21px); line-height: 1.12; letter-spacing: -0.025em; color: var(--ab-mint); }
  .hf-phone-text { margin-top: 10px; font-size: 13px; line-height: 1.42; color: rgba(255, 254, 249, .8); }
  /* the steps are the spacers that drive the swap; their text stays for screen readers */
  .hf-steps { display: block; list-style: none; margin: 0; padding: 0; }
  .hf-step { position: relative; height: 70vh; }
  .hf-step:last-child { height: 45vh; }
  .hf-step > * { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
  /* no room for the pinned phone and its caption (short or zoomed windows): the desktop controls, stacked */
  .hc-founding.hf-plain .hf-demo-copy, .hc-founding.hf-plain .hf-demo-copy .hf-demo-current { display: block; }
  .hc-founding.hf-plain .hf-demo-bar { display: flex; }
  .hc-founding.hf-plain .hf-phone { position: static; padding-top: 20px; }
  .hc-founding.hf-plain .hf-phone-frame { width: min(220px, 60vw); }
  .hc-founding.hf-plain .hf-demo-bar { margin-top: 14px; }
  .hc-founding.hf-plain .hf-phone-bar, .hc-founding.hf-plain .hf-phone-copy, .hc-founding.hf-plain .hf-steps { display: none; }
  .hc-founding.hf-plain .hf-phone { display: block; min-height: 0; pointer-events: auto; }
  .hc-founding.hf-plain .hf-phone-frame { margin: 0 auto; }
}
@media (max-width: 379px) { .hf-phone-text { min-height: 7.5em; } }

/* Jade's own work follows the founding creatives, on the existing paper ground. */
.hc-jade { background: var(--ab-paper); }
.hj-wrap { max-width: 1440px; margin: 0 auto; padding: clamp(56px, 7vw, 96px) var(--hc-pad-r) clamp(56px, 7vw, 96px) var(--hc-pad-l); }
.hj-heading { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: end; margin-bottom: clamp(28px, 4vw, 48px); }
.hj-eyebrow { color: var(--ab-green); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.hj-heading h2 { margin-top: 14px; max-width: 13ch; font-size: clamp(36px, 4vw, 56px); line-height: 1.06; letter-spacing: -.04em; text-wrap: balance; }
.hj-intro { max-width: 40ch; font-size: 17px; line-height: 1.55; color: var(--ab-muted); }
.hj-link { display: inline-flex; align-items: center; gap: 14px; min-height: 48px; margin-top: 12px; color: var(--ab-green); font-size: 14px; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }
.hj-link svg { width: 20px; height: 20px; }
.hj-media-grid { display: grid; grid-template-columns: 1.25fr 1fr; align-items: start; gap: clamp(24px, 3vw, 44px); }
.hj-media-grid figure { margin: 0; min-width: 0; }
.hj-media-grid video, .hj-media-grid img { width: 100%; height: auto; background: var(--ab-night); }
.hj-media-grid video { aspect-ratio: 3 / 2; }
.hj-media-grid img { aspect-ratio: 4 / 3; }
.hj-media-grid figcaption { padding-top: 16px; color: var(--ab-muted); font-size: 14px; line-height: 1.5; }
.hj-performance figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.hj-detail { display: block; font-size: 12px; margin-top: 2px; }
.hc-jade .hj-play { border-color: var(--ab-green); background: var(--ab-green); color: var(--hc-cream); }
.hj-status { color: var(--ab-muted); font-size: 14px; line-height: 1.5; }
.hj-status:not(:empty) { margin-top: 16px; }
@media (max-width: 760px) {
  .hj-heading, .hj-media-grid { grid-template-columns: minmax(0, 1fr); }
  .hj-heading h2 { max-width: 16ch; }
  .hj-intro { max-width: 42ch; }
  .hj-media-grid { gap: 32px; }
}
/* a mouse at a narrow width (a zoomed window) gets the three cards stacked, not a hidden scrollbar */
@media (max-width: 760px) and (hover: hover) and (pointer: fine) {
  .hf-cards { grid-auto-flow: row; grid-auto-columns: auto; overflow: visible; scroll-snap-type: none; }
}

/* Narrow windows whatever their orientation (a zoomed desktop window, a small phone on its side): the
   message above the controls, nothing side by side, and the film bar wraps rather than clipping */
@media (max-width: 640px) {
  .hc-stage { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "bar"; row-gap: 20px; }
  .hc-bar { justify-self: start; flex-wrap: wrap; }
}

/* Short landscape windows (phones on their side): the same frame, tighter type */
@media (max-height: 500px) and (orientation: landscape) {
  .hc-stage { padding-top: 88px; padding-bottom: 22px; }
  .hc-copy h1 { margin-top: 8px; font-size: clamp(28px, 3.6vw, 40px); }
  .hc-lede { margin-top: 10px; font-size: 15px; }
  .hc-actions { margin-top: 14px; }
  .hc-actions .button { min-height: 44px; }
  .hc-credit { margin-top: 10px; font-size: 13px; }
  .hc .os-pill small { display: none; }
}

/* ---------- Phones held upright: one scene ---------- */
@media (max-width: 760px) and (orientation: portrait) {
  /* the film fills the whole first screen, as the live Home film does; the message, credit and controls
     sit on its shaded lower part. svh keeps all of it visible with Safari's toolbars showing; the frame
     still grows with larger text instead of clipping it */
  .hc-stage { display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; min-height: 100vh; min-height: 100svh;
    padding: calc(96px + env(safe-area-inset-top, 0px)) 0 max(28px, calc(env(safe-area-inset-bottom, 0px) + 18px)); }
  .hc .os-a-shade { background: linear-gradient(180deg, rgba(4, 17, 12, .42) 0%, rgba(4, 17, 12, .12) 12%, rgba(8, 28, 22, .5) 26%, rgba(8, 28, 22, .62) 50%, rgba(8, 28, 22, .88) 100%); }
  .hc-copy { max-width: none; padding: 0 var(--hc-pad-r) 0 var(--hc-pad-l); }
  .hc-copy h1 { margin-top: 10px; font-size: clamp(32px, 9.2vw, 42px); line-height: 1.04; letter-spacing: -0.04em; }
  .hc-lede { margin-top: 16px; font-size: 16px; line-height: 1.45; }
  .hc-actions { gap: 0 20px; margin-top: 16px; }
  .hc-actions .text-link { min-height: 44px; }
  .hc-actions .button { min-height: 48px; padding: 10px 20px; }
  .hc-credit { margin-top: 20px; font-size: 11px; letter-spacing: .01em; color: rgba(255, 254, 249, .78); }   /* review 2026-10-26: smaller still, clear of the button */
  /* one round button at the far right, level with the credit: a speaker until the film plays with
     sound, then pause/play (cinema.js). The credit stops short of it so the two never touch. */
  .hc-credit { padding-right: 64px; }   /* room for the round button */
  .hc-bar { justify-content: flex-end; margin-top: -36px; padding: 0 var(--hc-pad-r) 0 var(--hc-pad-l); pointer-events: none; }
  .hc .os-a-speaker { display: grid; pointer-events: auto; width: 48px; height: 48px; }
  .hc .os-a-speaker svg { width: 22px; height: 22px; }
  /* with sound the same picture keeps playing in place (a 9:16 copy with audio); message, credit and the round button stay */
}

@media (prefers-reduced-motion: reduce) {
  .hc *, .hc *::before, .hc *::after { transition: none !important; animation: none !important; }
  .hc-founding.is-lit .hf-dcard[data-lit="true"] { transform: none; }
}

/* a larger demo phone (review, 2026-10-26): on the staged desktop layout the demo starts at the top of the stage, beside the
   heading, and the phone takes the stage's height; 160px: the dots and Play under it (122) and air at the foot */
@media (min-width: 761px) {
  .hc-founding:not(.hf-plain) .hf-split { position: static; }
  .hc-founding:not(.hf-plain) .hf-demo { top: clamp(56px, 7vw, 96px); right: var(--hc-pad-r); width: calc((100% - var(--hc-pad-l) - var(--hc-pad-r)) * .62); }
  .hc-founding:not(.hf-plain) .hf-phone-frame { width: min(340px, calc((100vh - var(--hc-head) - clamp(56px, 7vw, 96px) - 160px) * 9 / 19.5)); }
}
@media (min-width: 761px) and (max-width: 1023px) {
  .hc-founding:not(.hf-plain) .hf-demo { width: calc((100% - var(--hc-pad-l) - var(--hc-pad-r)) * .68); }
  .hc-founding:not(.hf-plain) .hf-phone-frame { width: min(26vw, calc((100vh - var(--hc-head) - clamp(56px, 7vw, 96px) - 160px) * 9 / 19.5)); }
}

/* the top bar over the dark founding chapter (review, 2026-10-26): the beta dark theme's frosted bar, light text, the night wordmark */
:root[data-beta-layout=new] body.cinematic-page #header.cs-header.cs-over-night {
  color: #fffef9; background-color: rgba(4, 16, 14, .66);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: rgba(159, 227, 205, .12); box-shadow: 0 1px 0 rgba(0, 0, 0, .2);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  :root[data-beta-layout=new] body.cinematic-page #header.cs-header.cs-over-night { background-color: #04100E; }
}
@media (prefers-reduced-transparency: reduce) {
  :root[data-beta-layout=new] body.cinematic-page #header.cs-header.cs-over-night { background-color: #04100E; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
.cinematic-page #header.cs-over-night > .cs-primary a, .cinematic-page #header.cs-over-night .cs-utility a, .cinematic-page #header.cs-over-night .cs-menu-button { color: #fffef9; }
.cinematic-page #header.cs-over-night .cs-menu-button { border-color: rgba(255, 254, 249, .3); background: transparent; }
.cinematic-page #header.cs-over-night > .cs-primary a:focus-visible, .cinematic-page #header.cs-over-night .cs-actions :focus-visible { outline-color: #9fe3cd; }
.cinematic-page #header.cs-over-night > .cs-brand .day-logo { display: none !important; }
.cinematic-page #header.cs-over-night > .cs-brand .night-logo { display: block !important; }
