/* Homepage as a streaming service: billboard, rows of films, plans, larger brands and the enquiry dialog. */
@font-face { font-family: "Bodoni Moda"; src: url("fonts/bodoni-moda-latin-wght-normal.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("fonts/bodoni-moda-latin-wght-italic.woff2") format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("fonts/schibsted-grotesk-var.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #141414;
  --surface: #181818;
  /* Cards and chips are told apart by fill, not by outlines; dividers are kept but barely there. */
  --rule: rgba(255, 255, 255, 0.07);
  --card: #1e1e1e;
  --card-hover: #262626;
  --raised: #2f2f2f;
  --text: #fff;
  --muted: #b3b3b3;
  --dim: #808080;
  --line: rgba(255, 255, 255, 0.14);
  --gold: #e2b877;
  --font: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Bodoni Moda", "Didot", Georgia, serif;
  --gutter: clamp(16px, 4vw, 60px);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  /* The cookie banner (consent.css) is shared with the other pages and reads these. */
  --line-strong: rgba(255, 255, 255, 0.26);
  --text-caption: 0.875rem;
  --warm: var(--gold);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1rem/1.5 var(--font); overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; color: #000; padding: 8px 12px; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.nx-fine { color: var(--dim); font-size: 0.8125rem; max-width: 70ch; }

/* Header: clear over the billboard, solid once the page moves. The nav follows the section on screen. */
.nx-header {
  position: fixed; inset: 0 0 auto; z-index: 40; height: 68px;
  display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); padding: 0 var(--gutter);
  background: linear-gradient(rgba(0, 0, 0, 0.7), transparent);
  transition: background-color 0.4s, transform 0.35s var(--ease);
}
.nx-header.is-solid { background-color: var(--bg); }
.nx-logo { display: flex; align-items: baseline; gap: 6px; text-decoration: none; color: var(--gold); }
.nx-logo span { font: 800 1.6rem/1 var(--display); letter-spacing: 0.02em; text-transform: uppercase; }
.nx-logo small { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: var(--text); }
.nx-nav { display: flex; gap: 20px; font-size: 0.875rem; }
.nx-nav a { text-decoration: none; color: #e5e5e5; transition: color 0.3s; }
.nx-nav a:hover { color: var(--muted); }
.nx-nav a[aria-current] { color: #fff; font-weight: 700; }
.nx-cta { margin-left: auto; background: var(--gold); color: #000; text-decoration: none; font-weight: 700; font-size: 0.875rem; padding: 7px 16px; border-radius: 4px; }
.nx-cta:hover { background: #f0cd96; }
/* Menu button: phones only. Three lines that turn into a cross while the menu is open. */
.nx-menu { display: none; position: relative; width: 40px; height: 40px; margin-right: -8px; padding: 0; border: 0; background: none; }
.nx-menu span, .nx-menu span::before, .nx-menu span::after { position: absolute; left: 10px; width: 20px; height: 2px; border-radius: 1px; background: #fff; transition: transform 0.25s var(--ease), background-color 0.2s; }
.nx-menu span { top: 19px; }
.nx-menu span::before, .nx-menu span::after { content: ""; left: 0; }
.nx-menu span::before { transform: translateY(-6px); }
.nx-menu span::after { transform: translateY(6px); }
.nx-header.is-open .nx-menu span { background: transparent; }
.nx-header.is-open .nx-menu span::before { transform: rotate(45deg); }
.nx-header.is-open .nx-menu span::after { transform: rotate(-45deg); }

/* Billboard */
.billboard { position: relative; min-height: max(620px, min(64vw, 100svh)); display: flex; align-items: flex-end; padding: 140px var(--gutter) calc(11vw + 88px); overflow: hidden; isolation: isolate; }
.billboard-media, .billboard-media picture, .billboard-media img, .billboard-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.billboard-media img, .billboard-media video { filter: saturate(0.8) brightness(0.88) contrast(0.95); }
.billboard-media video { opacity: 0; transition: opacity 1.2s; }
/* Warm wash: pulls the stray blues and greens of each film toward one quiet tone. */
.billboard::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: #3a2814; mix-blend-mode: color; opacity: 0.22; }
.billboard-media video.is-playing { opacity: 1; }
.billboard::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 110% 95% at 68% 38%, transparent 45%, rgba(0, 0, 0, 0.5) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.55) 30%, transparent 62%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, transparent 20%),
    linear-gradient(to top, var(--bg) 0%, rgba(20, 20, 20, 0.75) 18%, transparent 44%);
}
.billboard-copy { position: relative; z-index: 2; width: min(38%, 500px); }
.nx-kind { display: flex; align-items: center; gap: 8px; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.35em; text-transform: uppercase; color: #ddd; margin-bottom: 18px; }
.nx-mark { display: grid; place-items: center; width: 22px; height: 26px; font: 800 1.3rem/1 var(--display); color: var(--gold); letter-spacing: 0; }
.title-treatment { font: 500 clamp(2.4rem, 1.3rem + 3.8vw, 4.9rem)/0.95 var(--display); letter-spacing: -0.02em; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.5); }
.title-treatment em { font-style: italic; color: var(--gold); }
/* The line under the title links to the plans; its parts never break mid-phrase. */
.billboard-offer { display: inline-block; margin-top: 30px; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); text-decoration: none; }
.billboard-offer span { white-space: nowrap; }
.billboard-offer span + span::before { content: "· "; }
.billboard-offer b { display: inline-block; font-weight: 600; transition: transform 0.25s var(--ease); }
.billboard-offer:hover { color: #f0cd96; }
.billboard-offer:hover b { transform: translateX(4px); }
.billboard-lede { margin-top: 14px; max-width: 38ch; color: rgba(255, 255, 255, 0.86); font-size: clamp(0.95rem, 0.8rem + 0.4vw, 1.2rem); line-height: 1.45; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6); }
.billboard-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.btn-play, .btn-info {
  display: inline-flex; align-items: center; gap: 10px; border: 0; border-radius: 4px;
  padding: 10px 26px 10px 22px; font-size: 1.1rem; font-weight: 700; text-decoration: none; transition: background-color 0.2s;
}
.btn-play { background: #fff; color: #000; }
.btn-play:hover { background: rgba(255, 255, 255, 0.75); }
.btn-info { background: rgba(109, 109, 110, 0.7); color: #fff; }
.btn-info:hover { background: rgba(109, 109, 110, 0.45); }
.billboard-side { position: absolute; z-index: 2; right: var(--gutter); bottom: calc(11vw + 92px); display: flex; align-items: center; gap: 12px; }
.btn-mute { width: 42px; height: 42px; flex: none; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.16); display: grid; place-items: center; padding: 0; }
.btn-mute svg { width: 20px; height: 20px; }
.btn-mute .wave { display: none; }
.btn-mute[aria-pressed="true"] .wave { display: inline; }
.btn-mute[aria-pressed="true"] .cross { display: none; }
.btn-mute:hover { background: rgba(255, 255, 255, 0.26); }
.btn-mute[hidden] { display: none; }
/* Sound question: a clear yes/no where the speaker button will be. It arrives once the film has started. */
/* The question arrives with the page and pulses twice so it gets noticed. Yes and No look the same: neither is chosen until the viewer picks. */
.sound-ask { display: flex; align-items: center; gap: 8px; padding: 7px 7px 7px 16px; border-radius: 999px; background: rgba(10, 10, 10, 0.78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45); font-size: 1.0625rem; font-weight: 600; white-space: nowrap; animation: ask-in 0.6s var(--ease) 0.3s both, ask-ping 1.6s ease-out 1s 2; }
.sound-ask svg { width: 22px; height: 22px; flex: none; }
.sound-ask span { margin-right: 6px; }
.sound-ask button { border: 0; border-radius: 999px; padding: 8px 18px; background: rgba(255, 255, 255, 0.16); color: #fff; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; transition: background-color 0.2s, color 0.2s; }
.sound-ask button:hover, .sound-ask button:focus-visible { background: #fff; color: #000; }
.sound-ask[hidden] { display: none; }
@keyframes ask-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes ask-ping { 0% { box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45), 0 0 0 0 rgba(255, 255, 255, 0.55); } 100% { box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45), 0 0 0 16px rgba(255, 255, 255, 0); } }

/* Rows */
.rows { position: relative; z-index: 3; margin-top: -11vw; padding-bottom: 32px; }
.row { position: relative; margin-bottom: 3vw; }
.row h2 { padding: 0 var(--gutter); margin-bottom: 10px; font-size: clamp(1rem, 0.8rem + 0.7vw, 1.45rem); font-weight: 700; }
.row-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * var(--gutter) - 3 * 8px) / 4.4);
  gap: 8px; padding: 12px var(--gutter) 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.row-track::-webkit-scrollbar { display: none; }
.row-arrow {
  position: absolute; z-index: 4; top: 46px; bottom: 18px; width: calc(var(--gutter) - 4px);
  border: 0; background: rgba(20, 20, 20, 0.55); font-size: 2rem; opacity: 0; transition: opacity 0.2s, background-color 0.2s;
}
.row-arrow.prev { left: 0; border-radius: 0 4px 4px 0; }
.row-arrow.next { right: 0; border-radius: 4px 0 0 4px; }
.row:hover .row-arrow:not(:disabled) { opacity: 1; }
.row-arrow:hover { background: rgba(20, 20, 20, 0.8); }
.row-arrow:disabled { visibility: hidden; }

.tile {
  position: relative; scroll-snap-align: start; aspect-ratio: 16 / 9; border-radius: 4px; overflow: hidden;
  background: var(--surface); cursor: pointer; transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.tile img, .tile video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile img, .tile video { filter: brightness(0.78) saturate(0.8); transition: filter 0.4s; }
.tile video { opacity: 0; transition: opacity 0.5s, filter 0.4s; }
.tile:hover img, .tile:hover video, .tile:focus-within img, .tile:focus-within video, .tile.is-previewing video { filter: none; }
.tile.is-previewing video { opacity: 1; }
.tile-name { position: absolute; left: 10px; bottom: 8px; right: 10px; font: 500 clamp(1rem, 0.7rem + 0.8vw, 1.5rem)/1 var(--display); text-shadow: 0 1px 12px rgba(0, 0, 0, 0.9); transition: opacity 0.3s; }
.tile-badge { position: absolute; top: 0; left: 8px; background: var(--gold); color: #000; font-size: 0.625rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 6px 2px; border-radius: 0 0 3px 3px; }
/* A film the viewer has watched keeps a progress bar, as on a streaming row. */
.tile.is-seen::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--gold) calc(var(--seen) * 100%), rgba(255, 255, 255, 0.3) calc(var(--seen) * 100%)); }
.tile-info {
  position: absolute; inset: auto 0 0; padding: 30px 12px 10px; opacity: 0; transform: translateY(8px);
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9)); transition: opacity 0.3s, transform 0.3s var(--ease);
}
.tile-info strong { display: block; font-size: 0.95rem; }
.tile-meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 0.75rem; color: var(--muted); margin-top: 2px; }
.tile-meta .hd { background: rgba(255, 255, 255, 0.2); padding: 1px 4px; font-size: 0.625rem; border-radius: 2px; }
.tile-meta .match { color: var(--gold); font-weight: 700; }
.tile-chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.tile-chips i, .modal-chips a, .modal-chips span { font-style: normal; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.02em; color: #ddd; background: rgba(255, 255, 255, 0.12); border-radius: 999px; padding: 2px 8px; text-decoration: none; }
.tile-btns { display: flex; gap: 6px; margin-bottom: 8px; }
.tile-btns button { width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.2); font-size: 0.75rem; display: grid; place-items: center; padding: 0; }
.tile-btns .t-play { background: #fff; color: #000; }
.tile-btns .t-more { margin-left: auto; }
@media (hover: hover) and (pointer: fine) {
  .tile:hover, .tile:focus-within { transform: scale(1.08); z-index: 3; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7); }
  .tile:hover .tile-info, .tile:focus-within .tile-info { opacity: 1; transform: none; }
  .tile:hover .tile-name, .tile:focus-within .tile-name { opacity: 0; }
}
/* The last tile of a row is the viewer's own film: an empty slot with a way in. */
.tile-soon {
  scroll-snap-align: start; aspect-ratio: 16 / 9; border-radius: 4px; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px;
  padding: 12px 14px; background: var(--card); text-decoration: none; transition: background-color 0.3s;
}
.tile-soon small { font-size: 0.625rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.tile-soon strong { font: 500 clamp(1rem, 0.7rem + 0.8vw, 1.45rem)/1.05 var(--display); }
.tile-soon span { font-size: 0.8125rem; color: var(--muted); transition: color 0.3s; }
.tile-soon:hover { background: var(--card-hover); }
.tile-soon:hover span { color: #fff; }

.rows-fine { padding: 0 var(--gutter); }

/* Plans: native radios under each card, so arrow keys and screen readers work as a real choice. */
.plans { padding: clamp(64px, 9vw, 120px) var(--gutter); max-width: 1320px; margin: 0 auto; }
.plans-head { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(24px, 5vw, 70px); align-items: end; margin-bottom: clamp(32px, 4vw, 48px); }
.nx-step { font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); }
.plans h2, .episodes h2, .expertise h2 { font: 400 clamp(2.4rem, 1.5rem + 2.8vw, 4.2rem)/1.02 var(--display); letter-spacing: -0.01em; margin-top: 18px; }
.plans h2 em, .episodes h2 em, .expertise h2 em { font-style: italic; color: var(--gold); }
.plans-lede { color: var(--muted); font-size: 0.9375rem; max-width: 37ch; }
.plan-picker { border: 0; margin: 0 0 28px; padding: 0; min-width: 0; }
.plan-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.plan {
  position: relative; display: flex; flex-direction: column; padding: 28px 26px 22px;
  background: var(--card); border-radius: 4px; transition: background-color 0.3s;
}
.plan input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.plan:hover { background: var(--card-hover); }
.plan:has(:checked) { background: #2b261e; }
.plan:has(:checked)::after { content: ""; position: absolute; top: 28px; right: 26px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.plan:has(input:focus-visible) { outline: 2px solid #fff; outline-offset: 3px; }
.plan-head { display: flex; flex-direction: column; gap: 6px; min-height: 3.2em; padding-right: 20px; }
.plan-name { font: 500 1.6rem/1.1 var(--display); }
.plan-pick { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.plan-price { margin-top: 26px; font-size: 2.4rem; font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.plan-price small { font-size: 0.75rem; letter-spacing: 0; color: var(--muted); font-weight: 400; }
.plan-format { margin-top: 8px; font-size: 0.8125rem; color: var(--muted); }
.plan dl { margin: 22px 0 0; border-top: 1px solid var(--rule); }
.plan dl div { padding: 11px 0; border-bottom: 1px solid var(--rule); }
.plan dl div:last-child { border-bottom: 0; }
.plan dt { font-size: 0.6875rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); }
.plan dd { margin: 4px 0 0; font-size: 0.875rem; color: #ddd; }
/* Product Loops is priced per product, not per film, so it runs the full width under the four films, with its loop beside it. */
.plan-loops { grid-column: 1 / -1; display: grid; grid-template-columns: 148px minmax(0, 1fr) minmax(0, 2.2fr); grid-template-rows: auto auto 1fr; column-gap: 32px; }
.plan-loop { grid-row: 1 / -1; position: relative; align-self: start; aspect-ratio: 1; overflow: hidden; background: #000; }
.plan-loop img, .plan-loop video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.plan-loop video { opacity: 0; transition: opacity 0.8s; }
.plan-loop video.is-playing { opacity: 1; }
.plan-loops .plan-head { min-height: 0; }
.plan-loops .plan-price { margin-top: 18px; }
.plan-loops dl { grid-column: 3; grid-row: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; align-content: start; margin: 0; padding-right: 24px; }
/* The bundle ladder runs across the top of the facts: the more products, the less each one. */
.plan-loops .plan-tiers { grid-column: 1 / -1; }
.plan-tiers dd { display: flex; flex-wrap: wrap; gap: 6px 26px; margin-top: 6px; }
.plan-tiers span { font-size: 1.15rem; font-weight: 500; letter-spacing: -0.02em; color: #fff; white-space: nowrap; }
.plan-loops dl div:nth-last-child(2) { border-bottom: 0; }
.plan-tiers b { margin-right: 4px; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.06em; color: var(--gold); }
.btn-next {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center; margin-top: 22px;
  background: var(--gold); color: #000; text-decoration: none; font-weight: 800; font-size: 1.15rem;
  padding: 14px 28px; border-radius: 2px; transition: background-color 0.2s;
}
.btn-next:hover { background: #f0cd96; }
.next-price { font-weight: 600; opacity: 0.7; white-space: nowrap; }
.extras { margin-top: 28px; border-top: 1px solid var(--rule); padding-top: 12px; max-width: 720px; }
.extras summary { cursor: pointer; font-weight: 700; padding: 6px 0; }
.extras dl { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; margin: 8px 0 0; }
.extras dl div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--rule); font-size: 0.9rem; }
.extras dt { color: var(--muted); }
.extras dd { margin: 0; font-weight: 700; }

/* Feature (larger brands) */
.feature { position: relative; min-height: 640px; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.feature-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.75) brightness(0.8) contrast(0.95); }
.feature-video { opacity: 0; transition: opacity 1.2s; }
.feature-video.is-playing { opacity: 1; }
/* Shading sits above the still (z-index 1), the copy above both. */
.feature::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.8) 32%, rgba(0, 0, 0, 0.35) 58%, transparent 80%),
    radial-gradient(ellipse 110% 95% at 75% 45%, transparent 45%, rgba(0, 0, 0, 0.5) 100%),
    linear-gradient(var(--bg), transparent 18%, transparent 78%, var(--bg));
}
.feature::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: #3a2814; mix-blend-mode: color; opacity: 0.22; }
.feature-copy { position: relative; z-index: 2; padding: 64px var(--gutter); max-width: 640px; }
.feature-copy > p:not(.nx-kind) { margin-top: 14px; color: #ddd; font-size: 1.05rem; }
.collections { list-style: none; padding: 0; margin: 22px 0 0; border-top: 1px solid var(--rule); }
.collections li { border-bottom: 1px solid var(--rule); }
.collections a { display: grid; grid-template-columns: 1fr auto; gap: 0 16px; padding: 12px 0; text-decoration: none; }
.collections strong { font-size: 1.05rem; transition: color 0.2s; }
.collections span { grid-column: 1; color: var(--muted); font-size: 0.875rem; }
.collections b { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--gold); font-weight: 700; white-space: nowrap; }
.collections b::after { content: " ›"; display: inline-block; margin-left: 4px; transition: transform 0.25s var(--ease); }
.collections a:hover strong { color: var(--gold); }
.collections a:hover b::after { transform: translateX(4px); }

/* Expertise: dedicated AVELI imagery in its approved daylight colour grade. */
.expertise { padding: clamp(64px, 9vw, 120px) var(--gutter) 0; max-width: 1320px; margin: 0 auto; }
.craft-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.craft-list img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; background: var(--raised); }
.craft-list h3 { margin-top: 16px; font-size: 1.05rem; font-weight: 700; }
.craft-list p { color: #d2d2d2; font-size: 0.875rem; margin-top: 6px; }

/* Episodes: what happens after a plan is picked, so it follows the plans in their width and heading.
   The highlight follows the pointer and rests on the first episode. */
.episodes { padding: clamp(8px, 2vw, 24px) var(--gutter) clamp(64px, 9vw, 120px); max-width: 1320px; margin: 0 auto; }
.episode-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
/* No thumbnails: film stills would not show the step, so the number carries the row. */
.episode-list li { display: grid; grid-template-columns: 72px 1fr; gap: 20px; align-items: center; padding: 24px 20px; border-bottom: 1px solid var(--rule); border-radius: 4px; transition: background-color 0.25s; }
.episode-list:not(:hover) li:first-child, .episode-list li:hover { background: #333; }
.ep-no { font: 400 2.6rem/1 var(--display); color: var(--gold); text-align: center; }
.episode-list h3 { font-size: 1.05rem; font-weight: 700; }
.episode-list p { color: #d2d2d2; font-size: 0.875rem; margin-top: 6px; max-width: 62ch; }

/* FAQ: the heading stays beside the questions while they scroll, in the plans' width and heading.
   One answer open at a time; it slides open where the browser can animate to auto height. */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 6vw, 96px); align-items: start; padding: clamp(64px, 9vw, 120px) var(--gutter); max-width: 1320px; margin: 0 auto; }
.faq-head { position: sticky; top: 100px; }
.faq h2 { font: 400 clamp(2.4rem, 1.5rem + 2.8vw, 4.2rem)/1.02 var(--display); letter-spacing: -0.01em; margin-top: 18px; }
.faq h2 em { font-style: italic; color: var(--gold); }
.faq-head > p:not(.nx-step) { margin-top: 18px; color: var(--muted); font-size: 0.9375rem; }
.faq-head a { color: var(--text); text-underline-offset: 3px; }
.faq-head a:hover { color: var(--gold); }
.faq-list { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 24px 4px; font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.25rem); font-weight: 600; cursor: pointer; transition: color 0.2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 1.9rem; font-weight: 300; line-height: 1; color: var(--gold); transition: transform 0.25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--gold); }
.faq details p { padding: 0 48px 26px 4px; color: #ccc; max-width: 64ch; }
@supports (interpolate-size: allow-keywords) {
  .faq { interpolate-size: allow-keywords; }
  .faq details::details-content { height: 0; overflow: clip; transition: height 0.3s var(--ease), content-visibility 0.3s allow-discrete; }
  .faq details[open]::details-content { height: auto; }
}
/* Next on the reel: the last ask above a strip of 35 mm film running across the page; one frame is still empty and waits for the visitor's film. */
.next-film { position: relative; isolation: isolate; padding: clamp(64px, 9vw, 140px) 0 clamp(72px, 10vw, 150px); overflow: clip; }
/* The backdrop is one of the cast stills blown up and blurred, drifting slowly, so the block lives in the same colours as the cards. */
.next-bg { position: absolute; inset: -12%; z-index: -3; background: url("img/cast/greenhouse-blur.webp") center 40% / cover no-repeat; filter: saturate(1.4) brightness(0.6); animation: drift 28s ease-in-out infinite alternate; }
/* The film sits above the blurred still and fades in once it plays; the still stays as the poster and the reduced-motion fallback. */
.next-video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; filter: saturate(1.15) brightness(0.62); opacity: 0; transition: opacity 1.5s; }
.next-video.is-playing { opacity: 1; }
@keyframes drift { from { transform: scale(1.3) translate(-1.5%, 1%); } to { transform: scale(1.42) translate(1.5%, -1.5%); } }
.next-film::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(var(--bg), rgba(20, 20, 20, 0.3) 22%, rgba(20, 20, 20, 0.15) 78%, var(--bg)), radial-gradient(ellipse 60% 45% at 50% 30%, rgba(20, 20, 20, 0.45), transparent); }
.next-copy { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter); text-align: center; }
.next-copy h2 { font: 400 clamp(2.2rem, 1.4rem + 2.4vw, 3.8rem)/1.02 var(--display); letter-spacing: -0.01em; margin-top: 16px; }
.next-copy h2 em { font-style: italic; color: var(--gold); }
.next-copy > p:not(.nx-step) { margin: 18px auto 0; color: #ddd; max-width: 44ch; }
.next-copy .btn-next { margin-top: 26px; }
/* The strip is wider than the page and tilted a little, so it enters and leaves past the edges. */
.next-reel { width: 112%; margin: clamp(48px, 6vw, 88px) 0 0 -6%; rotate: -2deg; opacity: 0; translate: 0 40px; transition: opacity 0.9s, translate 1.1s var(--ease); }
.next-reel.is-in { opacity: 1; translate: none; }
.reel-track { display: flex; width: max-content; }
/* Copies of the set run in a loop (--sets, counted in homepage.js); moving one set's width brings the strip back to where it started. */
.reel-track.is-running { animation: reel 70s linear infinite; }
@keyframes reel { to { transform: translateX(calc(-100% / var(--sets))); } }
.reel-set { display: flex; }
/* Each frame carries its own sprocket holes, so the holes stay seamless wherever the loop joins. */
.reel-frame { position: relative; flex: none; width: clamp(128px, 13vw, 210px); padding: 30px 5px; background: #0d0c0b; }
.reel-frame::before, .reel-frame::after { content: ""; position: absolute; left: 0; right: 0; height: 11px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='11'%3E%3Crect x='5' y='0' width='12' height='11' rx='2.5' fill='%23efe6d6'/%3E%3C/svg%3E") 0 0 / 22px 11px repeat-x; background-repeat: round no-repeat; opacity: 0.8; }
.reel-frame::before { top: 10px; }
.reel-frame::after { bottom: 10px; }
.reel-frame img, .reel-yours { display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; border-radius: 3px; object-fit: cover; }
.reel-frame img { filter: brightness(0.9); transition: filter 0.4s; }
/* The empty frame: warm light where a film will be. */
.reel-yours { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: radial-gradient(circle at 50% 45%, rgba(226, 184, 119, 0.55), rgba(226, 184, 119, 0.1) 75%), #1a150e; color: var(--gold); }
.reel-mark { font-size: 1.4rem; line-height: 1; animation: glint 3.2s ease-in-out infinite; }
.reel-name { font: italic 400 clamp(1.1rem, 0.8rem + 1vw, 1.6rem)/1.05 var(--display); text-align: center; }
@keyframes glint { 50% { opacity: 0.45; scale: 0.85; } }
@media (hover: hover) and (pointer: fine) {
  .next-reel:hover .reel-track { animation-play-state: paused; }
  .reel-frame:hover img { filter: brightness(1.08) saturate(1.1); }
}
@media (prefers-reduced-motion: reduce) { .reel-mark { animation: none; } }

.nx-footer { padding: 48px var(--gutter) 64px; max-width: 1000px; margin: 0 auto; color: var(--dim); font-size: 0.875rem; }
.nx-footer ul { list-style: none; padding: 0; margin: 22px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.nx-footer a, .nx-footer button { color: var(--dim); }
.nx-footer button { padding: 0; border: 0; background: none; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Title modal */
.title-modal { width: min(850px, calc(100% - 24px)); max-height: calc(100svh - 48px); margin: 32px auto; padding: 0; border: 0; border-radius: 8px; background: var(--surface); color: var(--text); overflow-y: auto; box-shadow: 0 24px 80px rgba(0, 0, 0, 0.8); }
.title-modal::backdrop { background: rgba(0, 0, 0, 0.7); }
.title-modal[open] { animation: rise 0.35s var(--ease); }
@keyframes rise { from { opacity: 0; transform: scale(0.94) translateY(20px); } }
.modal-media { position: relative; aspect-ratio: 16 / 9; }
.modal-media img, .modal-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.modal-media video { opacity: 0; transition: opacity 0.6s; z-index: 1; }
.modal-media video.is-playing { opacity: 1; }
.modal-media::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, var(--surface), transparent 50%); }
.modal-close { position: absolute; z-index: 3; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--surface); font-size: 1.1rem; }
.modal-hero { position: absolute; z-index: 2; left: 40px; bottom: 36px; right: 40px; }
.modal-hero .title-treatment { font-size: clamp(2rem, 1.2rem + 3vw, 3.6rem); margin-bottom: 18px; }
.modal-actions { display: flex; align-items: center; gap: 12px; }
.modal-actions .modal-mute { margin-left: auto; }
.modal-body { display: grid; grid-template-columns: 2fr 1fr; gap: 28px; padding: 6px 40px 24px; }
.modal-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; color: #bcbcbc; font-weight: 600; }
.modal-meta .match { color: var(--gold); }
.modal-meta .hd { background: rgba(255, 255, 255, 0.2); padding: 1px 5px; font-size: 0.75rem; border-radius: 3px; }
.modal-idea { margin-top: 14px; font: 500 clamp(1.15rem, 1rem + 0.6vw, 1.5rem)/1.3 var(--display); }
.modal-blurb { margin-top: 12px; font-size: 0.95rem; color: #ddd; }
.modal-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.modal-chips a { font-size: 0.75rem; padding: 4px 11px; transition: background-color 0.2s, color 0.2s; }
.modal-chips a:hover { background: rgba(226, 184, 119, 0.18); color: var(--gold); }
.modal-chips span { font-size: 0.75rem; padding: 4px 11px; color: var(--muted); }
.modal-provenance { margin-top: 18px; font-size: 0.8125rem; color: var(--dim); max-width: 46ch; }
.modal-facts { margin: 0; border-top: 1px solid var(--rule); }
.modal-facts div { padding: 9px 0; border-bottom: 1px solid var(--rule); }
.modal-facts dt { font-size: 0.6875rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); }
.modal-facts dd { margin: 3px 0 0; font-size: 0.875rem; color: #ddd; }
.modal-side .btn-next { margin-top: 16px; font-size: 1rem; padding: 10px 18px; width: 100%; }
.modal-more { padding: 8px 40px 40px; }
.modal-more h3 { font-size: 1.4rem; margin-bottom: 14px; }
.more-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.more-card { background: var(--raised); border-radius: 4px; overflow: hidden; border: 0; padding: 0; text-align: left; }
.more-card img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; }
.more-card div { padding: 12px 14px 16px; }
.more-card strong { display: block; font-family: var(--display); font-weight: 500; font-size: 1.15rem; }
.more-card span { color: var(--muted); font-size: 0.8125rem; }

/* Player */
.player { width: 100vw; height: 100svh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #000; color: #fff; }
.player::backdrop { background: #000; }
.player video { width: 100%; height: 100%; object-fit: contain; }
.player-head { position: absolute; z-index: 2; inset: 0 0 auto; display: flex; align-items: center; gap: 16px; padding: 18px 24px; background: linear-gradient(rgba(0, 0, 0, 0.7), transparent); }
.player-back { border: 0; background: none; font-size: 2rem; line-height: 1; }
.player-head h2 { font: 500 1.4rem/1 var(--display); }
.player-error { position: absolute; inset: 50% 0 auto; text-align: center; }
/* End card: when a film ends, the ask on the left and the next film counting down on the right. */
.end-card { position: absolute; z-index: 3; inset: 0; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; padding: 96px clamp(20px, 4vw, 56px) clamp(56px, 11vh, 110px); background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.55) 45%, rgba(0, 0, 0, 0.9)); animation: fade 0.5s ease-out; }
@keyframes fade { from { opacity: 0; } }
.end-card[hidden] { display: none; }
.end-title { margin-top: 10px; font: 400 clamp(1.8rem, 1.2rem + 2vw, 3rem)/1.05 var(--display); }
.end-title em { font-style: italic; color: var(--gold); }
.end-ask .btn-next { margin-top: 18px; }
.end-next { width: min(320px, 40vw); }
.end-label { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 0.8125rem; color: var(--muted); }
.end-film { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 4px; overflow: hidden; background: var(--surface); text-align: left; }
.end-film img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.end-film strong { display: block; padding: 10px 12px 12px; font: 500 1.15rem/1.1 var(--display); }
.end-film:hover img { filter: brightness(1.1); }
.end-bar { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.end-card.is-counting .end-bar { transform: scaleX(1); transition: transform var(--count, 8s) linear; }
.end-replay { margin-top: 10px; padding: 6px 0; border: 0; background: none; color: var(--muted); font-weight: 600; transition: color 0.2s; }
.end-replay:hover { color: #fff; }
body.modal-open { overflow: hidden; }

@media (max-width: 1100px) {
  .plan-grid { grid-template-columns: repeat(2, 1fr); }
  .plan-loops { grid-template-columns: 120px minmax(0, 1fr); grid-template-rows: auto auto auto auto; }
  .plan-loop { grid-row: 1 / 4; }
  .plan-loops dl { grid-column: 1 / -1; grid-row: 4; margin-top: 22px; padding-right: 0; }
  .row-track { grid-auto-columns: calc((100% - 2 * var(--gutter) - 2 * 8px) / 3.3); }
  /* Five crafts swipe sideways instead of squeezing, like the plans. */
  .craft-list { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 30%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); scrollbar-width: none; }
  .craft-list::-webkit-scrollbar { display: none; }
  .craft-list li { scroll-snap-align: start; }
}
@media (max-width: 759px) { .craft-list { grid-auto-columns: 72%; } }
@media (max-width: 759px) {
  /* Phone: logo, free sample and a menu button in one row; the section links open under it as a list.
     The header slides away while reading down. */
  html { scroll-padding-top: 72px; }
  .nx-header { height: 60px; gap: 12px; }
  .nx-header.is-tucked { transform: translateY(-100%); }
  .nx-header.is-open { background-color: var(--bg); }
  .nx-logo span { font-size: 1.4rem; }
  .nx-cta { white-space: nowrap; padding: 7px 12px; }
  .nx-menu { display: block; }
  .nx-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; padding: 4px var(--gutter) 18px; background: var(--bg); box-shadow: 0 18px 30px rgba(0, 0, 0, 0.5); }
  .nx-header.is-open .nx-nav { display: flex; }
  .nx-nav a { padding: 14px 0; border-top: 1px solid var(--rule); font-size: 1.05rem; }
  .nx-nav a:first-child { border-top: 0; }
  .nx-nav a[aria-current] { color: var(--gold); }
  /* The film plays clean in its square; only the title rests on its lower edge, the rest of the copy follows below. */
  .billboard { min-height: 0; flex-direction: column; align-items: stretch; padding: 0; }
  .billboard-media { position: relative; aspect-ratio: 1; }
  .billboard::after { display: none; }
  .billboard::before { bottom: auto; height: 100vw; }
  .billboard-media::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, var(--bg) 0%, rgba(20, 20, 20, 0.6) 14%, transparent 34%); }
  .billboard-copy { position: relative; left: auto; bottom: auto; width: auto; margin-top: -11vw; padding: 0 var(--gutter); text-align: center; }
  .nx-kind, .billboard-actions { justify-content: center; }
  .billboard-offer { margin-top: 18px; letter-spacing: 0.1em; font-size: 0.75rem; }
  .billboard-actions { margin-top: 26px; }
  .billboard-actions > * { flex: 1; justify-content: center; }
  /* Sound question centred under the header; after the answer the speaker button keeps to the right. */
  .billboard-side { top: 72px; bottom: auto; left: var(--gutter); right: var(--gutter); justify-content: center; }
  .billboard-side:has(.sound-ask[hidden]) { justify-content: flex-end; }
  .sound-ask { font-size: 0.95rem; }
  .rows { margin-top: 56px; }
  .row-track { grid-auto-columns: 42%; }
  .row-arrow { display: none; }
  .tile-soon { padding: 10px; }
  .tile-soon span { font-size: 0.75rem; }
  .plans-head { grid-template-columns: 1fr; }
  /* The plans swipe sideways instead of stacking five tall cards. Product Loops becomes a card like the others, its loop small beside the price
     so the card stays as short as the rest (every card in the row takes the tallest one's height). */
  .plan-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); margin: 0 calc(-1 * var(--gutter)); padding: 6px var(--gutter); scrollbar-width: none; }
  .plan-grid::-webkit-scrollbar { display: none; }
  .plan-grid .plan { scroll-snap-align: start; }
  .plan-loops { grid-column: auto; grid-template-columns: minmax(0, 1fr) 60px; grid-template-rows: none; column-gap: 12px; align-content: start; }
  .plan-loops .plan-head { grid-column: 1 / -1; grid-row: 1; }
  .plan-loop { grid-column: 2; grid-row: 2 / 4; align-self: end; }
  .plan-loops .plan-price { grid-column: 1; grid-row: 2; margin-top: 26px; white-space: nowrap; }
  .plan-loops .plan-format { grid-column: 1; grid-row: 3; }
  .plan-loops dl { display: block; grid-row: 4; margin-top: 22px; border-top: 1px solid var(--rule); }
  .plan-loops dl div:nth-last-child(2) { border-bottom: 1px solid var(--rule); }
  #plan-next { display: block; text-align: center; }
  .extras dl { grid-template-columns: 1fr; }
  .feature { min-height: 0; align-items: flex-end; }
  .feature-bg { height: 70vw; }
  .feature::before { background: linear-gradient(var(--bg), transparent 12%, transparent 30vw, var(--bg) 70vw); }
  .feature-copy { padding-top: 52vw; }
  .faq { grid-template-columns: 1fr; }
  .faq-head { position: static; }
  .faq details p { padding-right: 4px; }
  .episode-list li { grid-template-columns: 40px 1fr; gap: 6px 14px; align-items: start; padding: 18px 10px; }
  .ep-no { font-size: 2rem; }
  .modal-body { grid-template-columns: 1fr; padding: 6px 20px 20px; }
  .next-bg { filter: saturate(1.4) brightness(0.55); }
  .tile-chips { display: none; }
  .modal-hero { left: 20px; right: 20px; bottom: 20px; }
  .modal-more { padding: 8px 20px 28px; }
  .more-grid { grid-template-columns: 1fr 1fr; }
  .end-card { flex-direction: column; justify-content: flex-end; align-items: stretch; gap: 22px; padding: 80px 20px 72px; }
  .end-next { width: 100%; }
  .end-film { display: grid; grid-template-columns: 128px 1fr; align-items: center; }
  .nx-footer ul { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* Production details and boundaries: the scope terms under the extras, same fold. */
.extras + .extras { margin-top: 0; }
.terms-grid { display: grid; gap: 12px; padding: 8px 0 6px; font-size: 0.875rem; line-height: 1.55; color: var(--muted); }
.terms-grid p { margin: 0; }
.terms-grid strong { color: var(--text); }

/* What every film includes: a checklist of the work, two columns, one on phones. Larger brands reuse it for what they get on top. */
.includes { margin-top: 28px; max-width: 720px; }
.includes-title { margin: 0 0 6px; font-weight: 700; }
.includes-list { list-style: none; padding: 0; margin: 0 0 12px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; border-top: 1px solid var(--rule); }
.includes-list li { position: relative; padding: 7px 0 7px 24px; border-bottom: 1px solid var(--rule); font-size: 0.9rem; }
.includes-list li::before { content: "✓"; position: absolute; left: 2px; color: var(--gold); font-weight: 700; }
.includes-larger { margin-top: 20px; }
.includes-larger .includes-list { grid-template-columns: 1fr; }
@media (max-width: 759px) { .includes-list { grid-template-columns: 1fr; } }

/* Larger brands: commitments under the three collections, small like the other fine print. */
.feature-copy > p.collections-fine { margin-top: 12px; color: var(--muted); font-size: 0.8125rem; max-width: 60ch; }
