/* EJ Media — site styles
   A contained, card-based layout: one centred container, sections told apart by their background,
   rounded cards for every picture and film, pill buttons. Brand: gold #b7a27a, off-white #F7F7F5,
   near-black #101114; Montserrat for headings, Poppins for text. */

/* fonts, hosted with the site */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/montserrat-variable.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/montserrat-variable.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/montserrat-variable.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/poppins-400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/poppins-500.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/poppins-600.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- tokens ---------- */
:root {
  --black: #101114;
  --white: #f7f7f5;
  --gold: #b7a27a;
  --gold-hi: #c9b68f;

  --bg: var(--black);
  --bg-alt: #16171b;
  --card: #1c1d22;
  --card-hi: #24252b;
  --line: rgba(247, 247, 245, 0.09);
  --line-hi: rgba(247, 247, 245, 0.18);
  --ink: var(--white);
  --muted: #a6a6a3;
  --field-line: rgba(247, 247, 245, 0.42);
  --bad: #ff8f7a;

  --font-display: "Montserrat", system-ui, sans-serif;
  --font-text: "Poppins", system-ui, sans-serif;

  --h1: clamp(2.5rem, 1.55rem + 2.8vw, 4.25rem);
  --h2: clamp(2rem, 1.45rem + 1.6vw, 3rem);
  --h3: clamp(1.25rem, 1.1rem + 0.4vw, 1.5rem);
  --lead: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --body: 1rem;
  --small: 0.875rem;
  --label: 0.8125rem;

  --container: 1200px;
  --pad: clamp(1rem, 3vw, 1.5rem);
  --section: clamp(5rem, 9vw, 8rem);
  --r-lg: 22px;
  --r: 16px;
  --r-sm: 12px;
  --nav-h: 76px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-exit: cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

/* light band: FAQ, contact */
.light {
  --bg: var(--white);
  --bg-alt: #efeeea;
  --card: #ffffff;
  --card-hi: #f1f0ec;
  --line: rgba(16, 17, 20, 0.1);
  --line-hi: rgba(16, 17, 20, 0.22);
  --ink: var(--black);
  --muted: #5a5b60;
  --field-line: rgba(16, 17, 20, 0.5);
  --bad: #b23a24;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 1rem); }
body { margin: 0; background: var(--black); color: var(--ink); font-family: var(--font-text); font-size: var(--body); line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul[class], ol[class] { padding: 0; list-style: none; }
img, video, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
::selection { background: var(--gold); color: var(--black); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 1rem; top: 0.75rem; z-index: 100; background: var(--gold); color: var(--black); padding: 0.6rem 1rem; border-radius: 999px; text-decoration: none; transform: translateY(-200%); transition: transform 240ms var(--ease-out); }
.skip:focus { transform: none; }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.025em; text-wrap: balance; }
h1 { font-size: var(--h1); line-height: 1.05; letter-spacing: -0.035em; }
h2 { font-size: var(--h2); line-height: 1.1; }
h3 { font-size: var(--h3); line-height: 1.25; letter-spacing: -0.015em; }
p { text-wrap: pretty; }
.lead { font-size: var(--lead); line-height: 1.65; color: var(--muted); max-width: 40rem; }
.muted { color: var(--muted); }
.small { font-size: var(--small); }

.label { display: inline-flex; align-items: center; gap: 0.75rem; font-size: var(--label); font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.label::before { content: ""; width: 1.75rem; height: 1px; background: currentColor; opacity: 0.8; }
.light .label { color: #806d47; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--pad)); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: var(--section); background: var(--bg); color: var(--ink); }
.section--alt { background: var(--bg-alt); }
.section--tight { padding-block: clamp(3.5rem, 6vw, 5rem); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: clamp(2.5rem, 4vw, 3.5rem); }
.section-head__text { display: grid; gap: 1rem; max-width: 42rem; }
.section-head__text--wide { max-width: 48rem; } /* room for a row of chips under the intro */
.section-head--center { justify-content: center; text-align: center; }
.section-head--center .section-head__text { justify-items: center; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.split--wide { grid-template-columns: 7fr 5fr; }
.split--wide-r { grid-template-columns: 5fr 7fr; }
.split__text { display: grid; gap: 1.25rem; align-content: start; justify-items: start; }
/* the picture moves to the left on wide screens; the text still comes first when the columns stack */
@media (min-width: 961px) { .split--flip > .split__text { order: 2; } }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
.after-grid { margin-top: clamp(2rem, 4vw, 3rem); }
.center { text-align: center; }
@media (max-width: 960px) {
  .split, .split--wide, .split--wide-r { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-head { flex-direction: column; align-items: flex-start; }
  .section-head--center { align-items: center; }
}
@media (max-width: 600px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { gap: 0.75rem; }
}

/* ---------- buttons, chips, links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 3rem; padding: 0 1.5rem; border-radius: 999px; border: 1px solid transparent;
  font-size: 0.9375rem; font-weight: 500; text-decoration: none; white-space: nowrap;
  background: var(--gold); color: var(--black);
  transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease, transform 140ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn .arrow { display: inline-block; transition: transform 320ms var(--ease-out); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-hi); }
.btn--dark { background: var(--black); color: var(--white); }
.btn--sm { min-height: 2.5rem; padding: 0 1.1rem; font-size: var(--small); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--gold-hi); }
  .btn--ghost:hover { background: rgba(247, 247, 245, 0.07); border-color: var(--ink); }
  .light .btn--ghost:hover { background: rgba(16, 17, 20, 0.05); }
  .btn--dark:hover { background: #26272d; }
  .btn:hover .arrow { transform: translateX(4px); }
}
.textlink { display: inline-flex; align-items: center; gap: 0.5rem; font-size: var(--small); font-weight: 500; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line-hi); padding-bottom: 0.2rem; transition: border-color 200ms ease, color 200ms ease; }
.textlink .arrow { transition: transform 320ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .textlink:hover { border-color: var(--gold); } .textlink:hover .arrow { transform: translateX(4px); } }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { display: inline-flex; align-items: center; min-height: 2.25rem; padding: 0 0.95rem; border-radius: 999px; border: 1px solid var(--line-hi); font-size: var(--small); text-decoration: none; color: var(--ink); background: transparent; transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease, transform 140ms var(--ease-out); }
.chip:active { transform: scale(0.96); }
.chip[aria-pressed="true"], .chip.is-on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .chip:not([aria-pressed="true"]):not(.is-on):hover { border-color: var(--ink); background: rgba(127, 127, 127, 0.08); } }

/* ---------- navigation ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h); color: var(--white); transition: background-color 300ms ease, border-color 300ms ease, transform 420ms var(--ease-out); border-bottom: 1px solid transparent; }
.nav.is-solid { background: rgba(16, 17, 20, 0.97); border-bottom-color: rgba(247, 247, 245, 0.09); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.nav__brand { display: block; width: clamp(8.5rem, 12vw, 10.5rem); flex: none; padding-block: 0.1rem; }
.nav__links { display: flex; align-items: center; gap: clamp(1.25rem, 2.2vw, 2rem); font-size: var(--small); }
.nav__links a { position: relative; white-space: nowrap; text-decoration: none; color: rgba(247, 247, 245, 0.8); padding-block: 0.4rem; transition: color 200ms ease; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform 320ms var(--ease-out); }
.nav__links a[aria-current="page"] { color: var(--white); }
.nav__links a[aria-current="page"]::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) { .nav__links a:hover { color: var(--white); } .nav__links a:hover::after { transform: scaleX(1); transform-origin: left; } }
.nav__right { display: flex; align-items: center; gap: 0.75rem; }
.nav__menu { display: none; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid rgba(247, 247, 245, 0.25); align-items: center; justify-content: center; transition: border-color 200ms ease; }
.nav__menu span { display: block; width: 16px; height: 1.5px; background: currentColor; box-shadow: 0 5px 0 currentColor, 0 -5px 0 currentColor; }
@media (max-width: 1120px) {
  .nav__links { display: none; }
  .nav__menu { display: inline-flex; }
}
@media (max-width: 420px) { .nav__right .btn { padding: 0 0.95rem; } }

.sheet { position: fixed; inset: 0; z-index: 60; background: var(--black); color: var(--white); display: flex; flex-direction: column; clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path 520ms var(--ease-in-out), visibility 0s linear 520ms; }
.sheet.is-open { clip-path: inset(0); visibility: visible; transition: clip-path 520ms var(--ease-in-out), visibility 0s; }
.sheet .container { display: flex; flex-direction: column; flex: 1; }
.sheet__top { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; }
.sheet__close { min-height: 2.75rem; padding: 0 1rem; border-radius: 999px; border: 1px solid rgba(247, 247, 245, 0.25); font-size: var(--small); }
.sheet__links { display: grid; gap: 0.25rem; margin-top: 2rem; }
.sheet__links a { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.75rem, 8vw, 2.5rem); letter-spacing: -0.03em; text-decoration: none; }
.sheet__links li { opacity: 0; transform: translateY(16px); transition: opacity 400ms var(--ease-out), transform 500ms var(--ease-out); transition-delay: calc(var(--i) * 50ms + 160ms); }
.sheet.is-open .sheet__links li { opacity: 1; transform: none; }
.sheet__foot { margin-top: auto; padding-bottom: 2rem; display: grid; gap: 1rem; justify-items: start; color: #9a9a97; font-size: var(--small); }

/* ---------- media slots ---------- */
.media { position: relative; margin: 0; overflow: hidden; border-radius: var(--r); background: var(--card-hi); isolation: isolate; }
.r-16x9 { aspect-ratio: 16 / 9; } .r-16x10 { aspect-ratio: 16 / 10; } .r-3x2 { aspect-ratio: 3 / 2; } .r-4x3 { aspect-ratio: 4 / 3; }
.r-4x5 { aspect-ratio: 4 / 5; } .r-3x4 { aspect-ratio: 3 / 4; } .r-9x16 { aspect-ratio: 9 / 16; } .r-1x1 { aspect-ratio: 1; }
.media > img, .media > video, .media > iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; transition: transform 900ms var(--ease-out); }
.media.has-media > .ph { display: none; }
/* a picture shown whole (fit: "contain" in media.js), with its poster blurred behind to fill the sides */
.media.is-whole::before { content: ""; position: absolute; inset: -10%; background: var(--backdrop, none) center / cover; filter: blur(24px) brightness(0.5); }
.ph { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 0.1rem; padding: 1rem 1.1rem; font-size: 0.8125rem; line-height: 1.45; color: var(--muted); }
.ph__kind { color: var(--ink); font-weight: 500; }
.ph__text { max-width: 30ch; }
.media__cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 3rem 1.25rem 1.1rem; display: grid; gap: 0.1rem; color: var(--white); background: linear-gradient(to top, rgba(10, 10, 12, 0.8), rgba(10, 10, 12, 0)); }
.media__cap strong { font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.01em; line-height: 1.3; }
.media__cap span { font-size: var(--small); color: rgba(247, 247, 245, 0.74); }
.play { position: absolute; left: 50%; top: 50%; z-index: 3; width: 3.75rem; height: 3.75rem; translate: -50% -50%; border-radius: 50%; background: var(--white); display: grid; place-items: center; transition: transform 320ms var(--ease-out), background-color 200ms ease; }
.play::before { content: ""; width: 0; height: 0; border-left: 0.75rem solid var(--black); border-top: 0.47rem solid transparent; border-bottom: 0.47rem solid transparent; margin-left: 0.2rem; }
.play--sm { width: 2.75rem; height: 2.75rem; }
.play--sm::before { border-left-width: 0.6rem; border-top-width: 0.38rem; border-bottom-width: 0.38rem; }
@media (hover: hover) and (pointer: fine) {
  .play:hover, .card:hover .play, .film-card:hover .play { transform: scale(1.08); background: var(--gold); }
  .card:hover .media > img, .card:hover .media > video, .film-card:hover .media > img, .film-card:hover .media > video { transform: scale(1.05); }
}

/* reel strip: vertical clips playing side by side across a card, each cropped a little to fill its column */
.reels { position: absolute; inset: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; background: var(--card); }
.reels > video, .reels > img { width: 100%; height: 100%; object-fit: cover; }

/* carousel: slides move one to the next on a loop; the active dot fills while its photo is up, or as its video plays */
.carousel { touch-action: pan-y; }
.carousel__track { position: absolute; inset: 0; display: flex; transition: transform 900ms var(--ease-in-out); }
.carousel__track > img, .carousel__track > video { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; }
.carousel__bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; justify-content: center; padding: 3rem 3.5rem 0.75rem; background: linear-gradient(to top, rgba(10, 10, 12, 0.55), rgba(10, 10, 12, 0)); pointer-events: none; }
.carousel__dots { display: flex; pointer-events: auto; }
.carousel__dot { display: grid; place-items: center; min-width: 1.5rem; height: 1.75rem; padding: 0 0.2rem; border: 0; background: none; cursor: pointer; }
.carousel__dot > span { position: relative; display: block; width: 0.4rem; height: 0.4rem; border-radius: 999px; overflow: hidden; background: rgba(247, 247, 245, 0.5); transition: width 500ms var(--ease-out), background-color 200ms ease; }
.carousel__dot:hover > span { background: rgba(247, 247, 245, 0.8); }
.carousel__dot.is-on > span { width: 1.6rem; background: rgba(247, 247, 245, 0.3); }
.carousel__dot > span > i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--white); }
.carousel__toggle { position: absolute; right: 0.6rem; bottom: 0.5rem; width: 2.25rem; height: 2.25rem; border: 0; border-radius: 50%; background: rgba(16, 17, 20, 0.55); backdrop-filter: blur(6px); display: grid; place-items: center; cursor: pointer; pointer-events: auto; opacity: 0.75; transition: opacity 200ms ease, background-color 200ms ease; }
.carousel__toggle:hover { opacity: 1; background: rgba(16, 17, 20, 0.8); }
/* pause buttons on background videos: top corner of a card, bottom corner of a page's top section */
.media__pause { top: 0.6rem; right: 0.6rem; bottom: auto; z-index: 3; }
.hero > .media__pause, .phero > .media__pause { top: auto; right: 1rem; bottom: 1rem; }
.carousel__toggle::before { content: ""; width: 0.55rem; height: 0.7rem; border-left: 2px solid var(--white); border-right: 2px solid var(--white); }
.carousel__toggle.is-held::before { width: 0; height: 0; border-right: 0; border-left: 0.6rem solid var(--white); border-top: 0.38rem solid transparent; border-bottom: 0.38rem solid transparent; margin-left: 0.15rem; }
/* video slides start muted; the sound switch sits at the left of the bar and turns gold while the sound is on */
.carousel__sound { position: absolute; left: 0.6rem; bottom: 0.5rem; display: inline-flex; align-items: center; gap: 0.4rem; height: 2.25rem; padding: 0 0.85rem 0 0.7rem; border: 0; border-radius: 999px; background: rgba(16, 17, 20, 0.55); backdrop-filter: blur(6px); color: var(--white); font: inherit; font-size: 0.8125rem; cursor: pointer; pointer-events: auto; opacity: 0.85; transition: opacity 200ms ease, background-color 200ms ease, color 200ms ease; }
.carousel__sound:hover { opacity: 1; background: rgba(16, 17, 20, 0.8); }
.carousel__sound svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.carousel__sound .spk { fill: currentColor; }
.carousel__sound[aria-pressed="true"] .off, .carousel__sound[aria-pressed="false"] .on { display: none; }
.carousel__sound[aria-pressed="true"] { opacity: 1; background: var(--gold); color: var(--black); }
@media (max-width: 420px) { .carousel__sound { width: 2.25rem; padding: 0; justify-content: center; } .carousel__sound span { display: none; } } /* small phones: the speaker alone, clear of the dots */
/* logo strip: logos slide through a light panel, faded at the edges; site.js adds the copies and the pause button (beside the heading).
   Without JavaScript or with reduced motion, the logos sit still in centred rows. */
.logos-block { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: start; gap: 1.25rem; margin-top: clamp(3.5rem, 7vw, 6rem); }
.logos { --k: 1rem; position: relative; width: 100%; padding: calc(1.5 * var(--k)) 0; border-radius: var(--r-lg); background: var(--white); }
.logos__view { overflow: hidden; }
.logos.is-moving .logos__view { mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent); }
.logos__track { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; margin: 0; padding: 0; list-style: none; background: var(--white); } /* the backdrop the logos blend with */
.logos.is-moving .logos__track { flex-wrap: nowrap; justify-content: flex-start; width: max-content; animation: logos-slide var(--dur, 50s) linear infinite; }
.logos__track > li { flex: none; display: grid; place-items: center; height: calc(6.5 * var(--k)); padding-inline: calc(1.9 * var(--k)); }
.logos__track img { display: block; width: calc(var(--w) * var(--k)); height: auto; mix-blend-mode: multiply; } /* white logo backgrounds take the panel's colour */
.logos:hover .logos__track, .logos.is-held .logos__track { animation-play-state: paused; }
.logos-block__head { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logos-block__head .logos__toggle { position: static; flex: none; border: 1px solid var(--line-hi); opacity: 1; } /* the pause button sits beside the heading, clear of the logos */
@keyframes logos-slide { to { transform: translateX(calc(-100% / 3)); } }
@media (max-width: 600px) { .logos { --k: 0.7rem; } }

/* a carousel with a caption: dots and pause move to the top, clear of the caption */
.carousel:has(> .media__cap) .carousel__bar { top: 0; bottom: auto; justify-content: flex-start; padding: 0.5rem 3rem 2.5rem 0.6rem; background: linear-gradient(to bottom, rgba(10, 10, 12, 0.55), rgba(10, 10, 12, 0)); }
.carousel:has(> .media__cap) .carousel__toggle { top: 0.25rem; bottom: auto; }
.carousel__dot:focus-visible, .carousel__toggle:focus-visible, .carousel__sound:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; border-radius: 999px; }

/* ---------- cards ---------- */
.card { position: relative; display: flex; flex-direction: column; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); overflow: hidden; text-decoration: none; color: var(--ink); transition: border-color 300ms ease, transform 400ms var(--ease-out), background-color 300ms ease; }
.card > .media { border-radius: 0; }
.card__body { display: grid; gap: 0.6rem; padding: 1.5rem; align-content: start; }
.card__body p { color: var(--muted); font-size: 0.9375rem; }
.card__foot { margin-top: auto; padding: 0 1.5rem 1.5rem; }
@media (hover: hover) and (pointer: fine) { .card:hover { border-color: var(--line-hi); transform: translateY(-4px); } }

/* film card: a picture with its caption inside */
.film-card { position: relative; display: block; text-decoration: none; color: var(--white); border-radius: var(--r); transition: transform 400ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .film-card:hover { transform: translateY(-4px); } }

/* tall category card */
.cat { position: relative; display: block; border-radius: var(--r); overflow: hidden; text-decoration: none; color: var(--white); transition: transform 400ms var(--ease-out); }
.cat > .media { border-radius: 0; }
.cat__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 4rem 1.25rem 1.25rem; display: grid; gap: 0.35rem; background: linear-gradient(to top, rgba(10, 10, 12, 0.92), rgba(10, 10, 12, 0.78) 50%, rgba(10, 10, 12, 0)); }
.cat__body h3 { font-size: 1.25rem; }
.cat__body p { font-size: var(--small); color: rgba(247, 247, 245, 0.76); }
.cat__go { margin-top: 0.4rem; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); display: inline-flex; gap: 0.4rem; align-items: center; }
.cat__go .arrow { transition: transform 320ms var(--ease-out); }
/* phones: one card per row, cropped wide, so each photo shows above its text */
@media (max-width: 600px) { .cats { grid-template-columns: 1fr; } .cats .media { aspect-ratio: 4 / 3; } }
@media (hover: hover) and (pointer: fine) { .cat:hover { transform: translateY(-4px); } .cat:hover .media > img { transform: scale(1.06); } .cat:hover .cat__go .arrow { transform: translateX(4px); } }

/* bullets */
.bullets { display: grid; gap: 0.6rem; }
.bullets li { position: relative; padding-left: 1.4rem; color: var(--muted); font-size: 0.9375rem; }
.bullets li::before { content: ""; position: absolute; left: 0.15rem; top: 0.62em; width: 0.42rem; height: 0.42rem; background: var(--gold); transform: rotate(45deg); }

/* a bordered box divided into columns */
.featbox { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r); background: var(--card); overflow: hidden; }
.featbox--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.featbox--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.featbox__item { padding: clamp(1.5rem, 2.5vw, 2rem); display: grid; gap: 0.6rem; align-content: start; border-left: 1px solid var(--line); }
.featbox__item:first-child { border-left: 0; }
.featbox__item h3 { font-size: 1.0625rem; letter-spacing: -0.01em; }
.featbox__item p { font-size: var(--small); color: var(--muted); }
.featbox__mark { width: 2.25rem; height: 2.25rem; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 0.875rem; margin-bottom: 0.4rem; }
@media (max-width: 960px) {
  .featbox, .featbox--5, .featbox--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .featbox__item { border-left: 0; border-top: 1px solid var(--line); }
  .featbox__item:nth-child(-n+2) { border-top: 0; }
  .featbox__item:nth-child(even) { border-left: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .featbox, .featbox--5, .featbox--3 { grid-template-columns: 1fr; }
  .featbox__item:nth-child(even) { border-left: 0; }
  .featbox__item:nth-child(2) { border-top: 1px solid var(--line); }
}

/* steps on a line */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.steps::before { content: ""; position: absolute; left: 1.4rem; right: 1.4rem; top: 1.4rem; height: 1px; background: var(--line-hi); transform-origin: left; }
.step { position: relative; display: grid; gap: 0.6rem; align-content: start; }
.step__dot { width: 2.8rem; height: 2.8rem; border-radius: 50%; border: 1px solid var(--gold); background: var(--bg); color: var(--gold); display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 0.9375rem; margin-bottom: 0.75rem; position: relative; z-index: 1; }
.section--alt .step__dot { background: var(--bg-alt); }
.step h3 { font-size: 1.0625rem; }
.step p { font-size: var(--small); color: var(--muted); max-width: 30ch; }
.steps--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.callout { display: grid; gap: 0.35rem; padding: 1.25rem 1.5rem; border: 1px solid rgba(183, 162, 122, 0.45); border-radius: var(--r); background: var(--card); width: 100%; }
.callout strong { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem); letter-spacing: -0.03em; line-height: 1.05; }
.callout span { font-size: var(--small); color: var(--muted); }
@media (max-width: 1100px) { .steps--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 2.5rem; } .steps--5::before { display: none; } }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
  .steps::before { display: none; }
}
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* accordion */
.faq { max-width: 52rem; margin-inline: auto; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.4rem 0; text-align: left; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); letter-spacing: -0.015em; }
.faq__icon { flex: none; width: 2rem; height: 2rem; border-radius: 50%; border: 1px solid var(--line-hi); position: relative; transition: background-color 240ms ease, border-color 240ms ease, color 240ms ease, transform 320ms var(--ease-out); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; margin: -0.75px 0 0 -5px; background: currentColor; transition: transform 320ms var(--ease-out); }
.faq__icon::after { transform: rotate(90deg); }
.faq__item.is-open .faq__icon { background: var(--ink); color: var(--bg); border-color: var(--ink); transform: rotate(180deg); }
.faq__item.is-open .faq__icon::after { transform: rotate(0deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 360ms var(--ease-out); }
.faq__a > div { overflow: hidden; }
.faq__a p { padding-bottom: 1.5rem; color: var(--muted); max-width: 44rem; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
@media (hover: hover) and (pointer: fine) { .faq__q:hover .faq__icon { border-color: var(--ink); } }

/* marquee band */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding-block: 1.25rem; background: var(--bg); }
.marquee__track { display: flex; width: max-content; gap: 2.5rem; animation: marquee 48s linear infinite; }
.marquee__track span { display: inline-flex; align-items: center; gap: 2.5rem; font-family: var(--font-display); font-weight: 500; font-size: 1.125rem; letter-spacing: -0.01em; color: rgba(247, 247, 245, 0.62); white-space: nowrap; }
.marquee__track span::after { content: ""; width: 0.4rem; height: 0.4rem; background: var(--gold); transform: rotate(45deg); }
.marquee:hover .marquee__track, .marquee.is-held .marquee__track { animation-play-state: paused; }
.marquee-wrap { position: relative; }
.marquee-wrap .carousel__toggle { right: 0.75rem; bottom: 50%; translate: 0 50%; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- heroes ---------- */
.hero { position: relative; min-height: min(100svh, 58rem); display: flex; align-items: center; padding: calc(var(--nav-h) + 3rem) 0 3.5rem; overflow: hidden; color: var(--white); background: #15161a; }
.hero__bg, .phero__bg { position: absolute; inset: 0; z-index: 0; border-radius: 0; background: #18191e; }
.hero__bg > img, .hero__bg > video { filter: brightness(0.55); }
.phero__bg > img, .phero__bg > video { filter: brightness(0.5) saturate(0.85); }
.phero .hero__shade { background: linear-gradient(to right, rgba(16, 17, 20, 0.92), rgba(16, 17, 20, 0.6) 55%, rgba(16, 17, 20, 0.25)); }
@media (max-width: 960px) { .phero .hero__shade { background: rgba(16, 17, 20, 0.72); } }
.hero__bg .ph, .phero__bg .ph { padding: calc(var(--nav-h) + 1rem) var(--pad) 1rem; align-items: flex-end; text-align: right; }
.hero__shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to right, rgba(16, 17, 20, 0.88), rgba(16, 17, 20, 0.45) 60%, rgba(16, 17, 20, 0.25)); pointer-events: none; }
.hero .container, .phero .container { position: relative; z-index: 2; }
.hero__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(2rem, 5vw, 4rem); align-items: end; }
.hero__text { display: grid; gap: 1.5rem; justify-items: start; }
.hero__text .lead, .phero__inner .lead { color: rgba(247, 247, 245, 0.8); max-width: 34rem; }
h1 .line { display: block; overflow: clip; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.now { background: rgba(28, 29, 34, 0.94); border: 1px solid rgba(247, 247, 245, 0.1); border-radius: var(--r-lg); padding: 0.75rem; display: grid; gap: 0.85rem; }
.now .media { border-radius: var(--r-sm); }
.now p { padding: 0 0.5rem 0.4rem; font-size: var(--small); color: #a6a6a3; }
.now strong { color: var(--white); font-weight: 500; }
.hero__for { margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.5rem; border-top: 1px solid rgba(247, 247, 245, 0.12); display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.75rem; font-size: var(--small); color: rgba(247, 247, 245, 0.7); }
.hero__for strong { color: var(--white); font-weight: 500; }
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .now { max-width: 30rem; }
  .hero__shade { background: rgba(16, 17, 20, 0.66); }
}

.phero { position: relative; min-height: 34rem; display: flex; align-items: flex-end; padding: calc(var(--nav-h) + 4rem) 0 clamp(3rem, 6vw, 4.5rem); overflow: hidden; color: var(--white); background: #15161a; }
.phero--short { min-height: 26rem; }
.phero__inner { display: grid; gap: 1.25rem; justify-items: start; max-width: 46rem; }
.phero .chips { margin-top: 0.5rem; }
.phero .chip { border-color: rgba(247, 247, 245, 0.25); color: var(--white); }
.crumbs { display: flex; gap: 0.5rem; font-size: 0.8125rem; color: rgba(247, 247, 245, 0.6); }
.crumbs a { text-decoration: none; transition: color 200ms ease; }
.crumbs a:hover { color: var(--white); }
.crumbs span::before { content: "/"; margin-right: 0.5rem; opacity: 0.6; }

/* ---------- home ---------- */
.feature { display: grid; grid-template-columns: 2fr 1fr; gap: 1.25rem; }
.feature__side { display: grid; gap: 1.25rem; align-content: start; }
.feature__side .textlink { justify-self: start; margin-top: 0.25rem; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } }

.service .card__body { gap: 0.9rem; padding: clamp(1.5rem, 3vw, 2.25rem); }
.service .card__body h3 { font-size: clamp(1.5rem, 1.2rem + 0.8vw, 2rem); }
.service .card__foot { padding: 0 clamp(1.5rem, 3vw, 2.25rem) clamp(1.5rem, 3vw, 2.25rem); display: flex; flex-wrap: wrap; gap: 0.75rem; }
.service__tag { font-size: var(--small); color: var(--gold); font-weight: 500; }

.framed { position: relative; }
.framed > .media { border-radius: var(--r-lg); }
.badge { position: absolute; z-index: 3; right: 1.25rem; bottom: 1.25rem; background: var(--white); color: var(--black); border-radius: var(--r-sm); padding: 0.85rem 1.1rem; display: grid; gap: 0.1rem; }
.badge strong { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; line-height: 1.15; }
.badge span { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: #5a5b60; }

.cta { position: relative; border-radius: var(--r-lg); overflow: hidden; padding: clamp(3rem, 7vw, 5.5rem) clamp(1.5rem, 5vw, 4rem); text-align: center; color: var(--white); background: #1d1e23; }
.cta > .media { position: absolute; inset: 0; border-radius: 0; z-index: 0; background: #1d1e23; }
.cta > .media > img, .cta > .media > video { filter: brightness(0.42); }
.cta > .media .ph { text-align: left; align-items: flex-start; }
/* a soft shade behind the words, so they stay readable on bright photos */
.cta::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(16, 17, 20, 0.62), rgba(16, 17, 20, 0.12)); }
.cta__inner { position: relative; z-index: 2; display: grid; gap: 1.25rem; justify-items: center; max-width: 40rem; margin-inline: auto; }
.cta__inner .actions { justify-content: center; }
.cta__inner .lead { color: rgba(247, 247, 245, 0.8); }
.cta__inner .btn--ghost { color: var(--white); border-color: rgba(247, 247, 245, 0.3); }

/* ---------- about ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
/* join our team: a third card beside the portraits; the logo panel takes the height the portraits leave, so all three end level */
.join__mark { flex: 1; display: grid; place-items: center; min-height: 12rem; background: radial-gradient(circle at 50% 50%, rgba(183, 162, 122, 0.16), transparent 70%), #141519; border-bottom: 1px solid var(--line); }
.join__mark img { width: 42%; height: auto; }
.join .join__label { margin-top: 0.35rem; font-size: var(--small); font-weight: 500; color: var(--ink); }
.join__roles { gap: 0.4rem; }
.join__roles .chip { pointer-events: none; min-height: 2rem; padding: 0 0.85rem; font-size: 0.8125rem; }
.join__btn { justify-self: start; margin-top: 0.6rem; }
/* tablets: two portraits across, the join card full width under them with the logo beside the text */
@media (max-width: 960px) {
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .join { grid-column: 1 / -1; display: grid; grid-template-columns: calc(50% - 0.625rem) minmax(0, 1fr); }
  .join__mark { border-bottom: 0; border-right: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .team-grid, .join { grid-template-columns: 1fr; }
  .join__mark { min-height: 0; aspect-ratio: 16 / 9; border-right: 0; border-bottom: 1px solid var(--line); }
  .join__mark img { width: 34%; }
}
.role { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }

/* ---------- content system ---------- */
.week { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); padding: clamp(1.25rem, 3vw, 2rem); display: grid; gap: 1.5rem; }
.week__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; }
.week__top p { font-size: var(--small); color: var(--muted); }
.week__days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0.6rem; }
.day { background: var(--card-hi); border-radius: var(--r-sm); padding: 0.95rem; min-height: 13rem; display: flex; flex-direction: column; gap: 0.6rem; transition: background-color 300ms ease, color 300ms ease; }
.day.is-game { background: var(--gold); color: var(--black); }
.day__head { display: flex; justify-content: space-between; align-items: baseline; gap: 0.4rem; }
.day__name { font-family: var(--font-display); font-weight: 600; font-size: 0.9375rem; letter-spacing: -0.01em; }
.day__tag { font-style: normal; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.day__posts { display: grid; gap: 0.55rem; }
.day__post { font-size: 0.8125rem; line-height: 1.4; }
.day__post b { display: block; font-weight: 600; font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; }
.day__post span { color: var(--muted); }
.day.is-game .day__post span { color: rgba(16, 17, 20, 0.72); }
.day__post.is-swap { animation: post-in 480ms var(--ease-out) both; animation-delay: calc(var(--i) * 40ms); }
@keyframes post-in { from { opacity: 0; transform: translateY(8px); } }
.week__sum { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; font-size: var(--small); color: var(--muted); border-top: 1px solid var(--line); padding-top: 1.25rem; }
.week__sum strong { color: var(--ink); font-weight: 600; }
@media (max-width: 1100px) { .week__days { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 640px) { .week__days { grid-template-columns: 1fr; } .day { min-height: 0; } }

.plan { position: relative; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); padding: clamp(1.5rem, 2.5vw, 2rem); display: flex; flex-direction: column; gap: 1rem; transition: border-color 300ms ease, transform 400ms var(--ease-out); }
.plan--pick { border-color: rgba(183, 162, 122, 0.55); background: var(--card-hi); }
.plan__flag { position: absolute; top: -0.75rem; left: 1.5rem; background: var(--gold); color: var(--black); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.3rem 0.7rem; border-radius: 999px; }
.plan__kind { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.plan h3 { font-size: 1.5rem; }
.plan > p { font-size: 0.9375rem; color: var(--muted); }
.plan .bullets { padding-top: 1rem; border-top: 1px solid var(--line); margin-bottom: 0.5rem; }
.plan .btn { margin-top: auto; width: 100%; }
@media (hover: hover) and (pointer: fine) { .plan:hover { transform: translateY(-4px); border-color: var(--line-hi); } .plan--pick:hover { border-color: var(--gold); } }
.plans-note { margin-top: 1.75rem; font-size: var(--small); color: var(--muted); text-align: center; }

/* proof: figures in a bordered strip */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); overflow: hidden; }
.stats div { padding: clamp(1.1rem, 2vw, 1.5rem); border-left: 1px solid var(--line); display: grid; gap: 0.25rem; align-content: start; }
.stats div:first-child { border-left: 0; }
.stats dd { order: -1; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem); letter-spacing: -0.03em; line-height: 1.05; color: var(--ink); font-variant-numeric: tabular-nums; }
.stats dt { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.before { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1rem; font-size: var(--small); color: var(--muted); }
.before strong { color: var(--ink); font-weight: 500; }
.before .arrow { color: var(--gold); }
@media (max-width: 520px) {
  .stats { grid-template-columns: 1fr; }
  .stats div { border-left: 0; border-top: 1px solid var(--line); }
  .stats div:first-child { border-top: 0; }
}

/* the five pillars */
.pillars { display: grid; gap: 1.25rem; }
.pillar .card__body { gap: 0.75rem; }
.pillar__top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.pillar__num { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.freq { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 1.85rem; padding: 0 0.75rem; border-radius: 999px; border: 1px solid rgba(183, 162, 122, 0.45); font-size: 0.75rem; font-weight: 500; color: var(--ink); white-space: nowrap; }
.freq::before { content: ""; width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--gold); }
.pillar--lead .card__body h3 { font-size: clamp(1.375rem, 1.15rem + 0.6vw, 1.75rem); }
.rhythm { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r); background: var(--card); overflow: hidden; }
.rhythm > div { padding: clamp(1.5rem, 2.5vw, 2rem); display: grid; gap: 0.75rem; align-content: start; border-left: 1px solid var(--line); }
.rhythm > div:first-child { border-left: 0; }
.rhythm h3 { font-size: 1.0625rem; display: flex; align-items: center; gap: 0.6rem; }
.rhythm .chips { gap: 0.4rem; }
.rhythm .chip { pointer-events: none; }
@media (max-width: 640px) { .rhythm { grid-template-columns: 1fr; } .rhythm > div { border-left: 0; border-top: 1px solid var(--line); } .rhythm > div:first-child { border-top: 0; } }

/* founder */
.founder__name { display: grid; gap: 0.15rem; padding-top: 1.25rem; border-top: 1px solid var(--line); width: 100%; }
.founder__name strong { font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; letter-spacing: -0.01em; }
.founder__name span { font-size: var(--small); color: var(--muted); }

/* ---------- case studies ---------- */
.case__text { display: grid; gap: 1.1rem; justify-items: start; }
.case__kind { font-size: var(--label); font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.results { display: grid; grid-template-columns: 1fr 1fr; width: 100%; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-top: 0.25rem; }
.results div { padding: 1.1rem 1.25rem; border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.results div:nth-child(odd) { border-left: 0; }
.results div:nth-child(-n+2) { border-top: 0; }
.results dt { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.results dd { font-family: var(--font-display); font-weight: 600; font-size: 1.375rem; letter-spacing: -0.02em; margin-top: 0.2rem; }
.case__sub { display: block; color: var(--muted); }
.case__strip { margin-top: 1.25rem; }
/* a film, a 9:16 reel and a 3:4 carousel at one height: each column's width is its card's width ÷ height */
.case__strip--mixed { grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.5625fr) minmax(0, 0.75fr); }
@media (max-width: 960px) {
  .case__strip--mixed { grid-template-columns: minmax(0, 0.5625fr) minmax(0, 0.75fr); }
  .case__strip--mixed > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .case__strip--mixed { gap: 0.75rem; }
  .case__strip--mixed .media__cap { padding: 2.5rem 0.85rem 0.8rem; }
  .case__strip--mixed .media__cap strong { font-size: 0.9375rem; }
  .case__strip--mixed .media__cap span { font-size: 0.75rem; }
}
/* vertical reels: four across down to tablet, two across on phones */
@media (max-width: 960px) { .shorts { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.75rem; } }
@media (max-width: 600px) { .shorts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* film grids: two lead films side by side, the rest three across; two across on tablets, one per row on phones */
.films { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.films > * { grid-column: span 2; }
.films > .films__wide { grid-column: span 3; }
@media (max-width: 960px) { .films { grid-template-columns: repeat(2, minmax(0, 1fr)); } .films > *, .films > .films__wide { grid-column: auto; } }
@media (max-width: 600px) { .films { grid-template-columns: 1fr; } }
.media:has(> .play[data-film]) { cursor: pointer; }
.stats--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stats--grid div { border-left: 1px solid var(--line); }
.stats--grid div:nth-child(odd) { border-left: 0; }
.stats--grid div:nth-child(n+3) { border-top: 1px solid var(--line); }
.stats--grid div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.stats small { font-size: 0.75rem; color: var(--muted); }

/* the season in numbers: one card per platform */
.platform .card__body { gap: 1.25rem; padding: clamp(1.5rem, 3vw, 2.25rem); }
.platform__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.platform__head h3 { font-size: clamp(1.375rem, 1.15rem + 0.6vw, 1.75rem); }
.platform .stats { background: transparent; }
.platform .stats dd { font-size: clamp(1.5rem, 1.2rem + 0.9vw, 2rem); }
.towns { display: grid; gap: 0.85rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.towns figcaption { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.bars { display: grid; gap: 0.6rem; --max: 50; }
.bars li { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr) 3.25rem; align-items: center; gap: 0.75rem; font-size: var(--small); border-radius: 6px; transition: background-color 200ms ease; }
.bars__track { height: 8px; border-radius: 4px; background: rgba(247, 247, 245, 0.07); overflow: hidden; }
.bars__fill { display: block; height: 100%; width: calc(var(--v) / var(--max) * 100%); border-radius: 4px; background: var(--gold); transform-origin: left; transition: transform 1100ms var(--ease-expo), background-color 200ms ease; transition-delay: calc(var(--i, 0) * 70ms + 200ms); }
.bars__val { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 500; }
.bars__name { color: var(--muted); }
@media (hover: hover) and (pointer: fine) { .bars li:hover .bars__fill { background: var(--gold-hi); } .bars li:hover .bars__name { color: var(--ink); } }
@media (prefers-reduced-motion: no-preference) {
  .js .towns:not(.is-drawn) .bars__fill { transform: scaleX(0); }
}
@media (max-width: 420px) { .bars li { grid-template-columns: 6rem minmax(0, 1fr) 3rem; } }
.takeaway { max-width: 52rem; }
.takeaway .lead { color: var(--muted); }
.quote-card { max-width: 52rem; margin-inline: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); padding: clamp(2rem, 5vw, 3.5rem); display: grid; gap: 1.5rem; text-align: center; justify-items: center; }
.quote-card blockquote p { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.25rem, 1rem + 0.9vw, 1.75rem); line-height: 1.4; letter-spacing: -0.015em; }
.quote-card .who { display: flex; align-items: center; gap: 0.9rem; text-align: left; }
.quote-card .who .media { width: 3.25rem; height: 3.25rem; border-radius: 50%; flex: none; }
.quote-card .who .ph { display: none; }
.quote-card .who strong { display: block; font-weight: 500; }
.quote-card .who span { font-size: var(--small); color: var(--muted); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-info { display: grid; gap: 1.5rem; justify-items: start; }
.info-list { display: grid; gap: 0.75rem; width: 100%; }
.info { display: flex; align-items: center; gap: 1rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 1rem 1.1rem; text-decoration: none; color: var(--ink); transition: border-color 240ms ease, transform 320ms var(--ease-out); }
.info__icon { flex: none; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--bg-alt); display: grid; place-items: center; color: #806d47; }
.info__icon svg { width: 1.1rem; height: 1.1rem; }
.info small { display: block; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.info strong { display: block; font-weight: 500; font-size: 0.9375rem; }
@media (hover: hover) and (pointer: fine) { a.info:hover { border-color: var(--line-hi); transform: translateX(4px); } }
.form { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.5rem, 3.5vw, 2.5rem); display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1rem; }
.form__head { grid-column: 1 / -1; display: grid; gap: 0.25rem; margin-bottom: 0.25rem; }
.form__head h2 { font-size: 1.5rem; }
.form__head p { font-size: var(--small); color: var(--muted); }
.form .full { grid-column: 1 / -1; }
.field { display: grid; gap: 0.4rem; align-content: start; }
.field > label, .field > legend { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding: 0; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.field input, .field select, .field textarea { width: 100%; min-height: 3rem; padding: 0.75rem 0.95rem; border-radius: var(--r-sm); border: 1px solid var(--field-line); background: var(--bg); color: var(--ink); font-size: 0.9375rem; transition: border-color 200ms ease, background-color 200ms ease; }
.field textarea { min-height: 8rem; resize: vertical; }
.field select { appearance: none; background-image: none; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 1; }
.field.is-bad input, .field.is-bad select, .field.is-bad textarea { border-color: var(--bad); }
.form .field__error { font-size: var(--small); color: var(--bad); }
.form .field { scroll-margin-top: calc(var(--nav-h) + 1rem); }
.modal--form .field { scroll-margin-top: 6rem; }
.form__hp { display: none; } /* the spam trap: bots that fill in every field trip it; browsers and password managers skip hidden fields */
.form__legal { font-size: 0.8125rem; color: var(--muted); text-align: center; }
.form__legal a { color: inherit; text-decoration: underline; text-underline-offset: 0.15em; }
.field.is-bad .choices span { border-color: var(--bad); } /* a required group of chips with nothing picked */
.choices { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.35rem; }
.choices label { position: relative; }
.choices input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choices span { display: inline-flex; align-items: center; min-height: 2.4rem; padding: 0 0.95rem; border-radius: 999px; border: 1px solid var(--line-hi); font-size: var(--small); color: var(--ink); cursor: pointer; transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease, transform 140ms var(--ease-out); }
.choices input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.choices input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.choices span:active { transform: scale(0.96); }
@media (hover: hover) and (pointer: fine) { .choices input:not(:checked) + span:hover { border-color: var(--ink); } }
.form__foot { grid-column: 1 / -1; display: grid; gap: 0.75rem; margin-top: 0.25rem; }
.form__foot .btn { width: 100%; }
.form__foot p { font-size: 0.8125rem; color: var(--muted); text-align: center; }
.form__status { grid-column: 1 / -1; font-size: var(--small); color: #6b5a37; text-align: center; min-height: 1.2em; }
.form__status a { color: inherit; text-decoration: underline; text-underline-offset: 0.15em; }
.form [type="submit"]:disabled { opacity: 0.7; cursor: progress; }
/* once sent, the fields give way to a thank-you */
.form__done { display: none; grid-column: 1 / -1; gap: 0.5rem; padding: 0.5rem 0 1rem; }
.form__done:focus { outline: none; }
.form__done { scroll-margin-top: calc(var(--nav-h) + 2rem); } /* clear of the fixed menu bar when it scrolls into view */
.form__done h2 { font-size: 1.5rem; }
.form__done p { color: var(--muted); }
.form.is-sent > :not(.form__done) { display: none; }
.form.is-sent > .form__done { display: grid; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.footer { background: #0b0c0e; color: var(--white); padding-top: clamp(4rem, 7vw, 5.5rem); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer__brand { display: grid; gap: 1.1rem; align-content: start; }
.footer__brand img { width: 11rem; }
.footer__brand p { font-size: var(--small); color: #909195; max-width: 22rem; }
.footer h2 { font-family: var(--font-text); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: #909195; margin-bottom: 1.1rem; }
.footer ul { display: grid; gap: 0.35rem; font-size: var(--small); list-style: none; margin: 0; padding: 0; }
.footer a { text-decoration: none; color: rgba(247, 247, 245, 0.86); transition: color 200ms ease; }
.footer li > a:not(.btn) { display: inline-block; padding-block: 0.2rem; } /* a comfortable tap on phones */
.footer__legal { display: inline-flex; gap: 1.25rem; }
.footer__legal a { display: inline-block; padding-block: 0.2rem; }
.footer a:hover { color: var(--gold); }
.footer__cta { margin-top: 0.5rem; }
.footer__bar { margin-top: clamp(3rem, 6vw, 4.5rem); border-top: 1px solid rgba(247, 247, 245, 0.09); padding-block: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem; font-size: 0.8125rem; color: #909195; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* ---------- film dialog ---------- */
.film { width: min(92vw, 68rem); max-width: none; padding: 0; border: 0; border-radius: var(--r-lg); background: var(--black); color: var(--white); overflow: hidden; }
.film::backdrop { background: rgba(10, 10, 12, 0.85); }
.film[open] { animation: film-in 360ms var(--ease-out); }
@keyframes film-in { from { opacity: 0; transform: scale(0.97); } }
.film__bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.75rem 0.75rem 0.75rem 1.25rem; font-weight: 500; }
.film__bar button { min-height: 2.5rem; padding: 0 1rem; border-radius: 999px; border: 1px solid rgba(247, 247, 245, 0.25); font-size: var(--small); }
.film .media { border-radius: 0; background: #000; }

/* ---------- pop-up panel (join our team) ---------- */
.modal { width: min(92vw, 34rem); max-width: none; padding: 0; border: 1px solid var(--line-hi); border-radius: var(--r-lg); background: var(--card); color: var(--ink); }
.modal::backdrop { background: rgba(10, 10, 12, 0.85); }
.modal[open] { animation: film-in 360ms var(--ease-out); }
.modal__bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.75rem 0.75rem 0.75rem 1.5rem; border-bottom: 1px solid var(--line); }
.modal__bar button { min-height: 2.5rem; padding: 0 1rem; border-radius: 999px; border: 1px solid var(--line-hi); font-size: var(--small); }
.modal__body { display: grid; gap: 1rem; padding: 1.5rem 1.5rem 1.75rem; }
.modal__body h2 { font-size: var(--h3); }
.modal__body p { color: var(--muted); }
/* pop-up forms (Book a call, Start a plan): the panel scrolls, the bar with Close stays on top */
.modal--form { width: min(94vw, 46rem); max-height: min(92dvh, 64rem); overflow-y: auto; overscroll-behavior: contain; }
.modal--form:focus { outline: none; } /* the panel takes focus when it opens, so reading starts at the top and Tab goes to Close */
.modal--form .modal__bar { position: sticky; top: 0; z-index: 1; background: var(--card); }
.modal--form .modal__body { padding: 0; }
.modal .form { background: none; border: 0; border-radius: 0; }
.modal .form__status { color: var(--gold); }

/* legal pages */
.legal { padding-top: clamp(2rem, 4vw, 3rem); }
.prose { max-width: 46rem; display: grid; gap: 1rem; }
.prose h2 { font-size: 1.375rem; margin-top: 1.25rem; }
.prose p, .prose li { color: rgba(247, 247, 245, 0.82); }
.prose strong { color: var(--white); font-weight: 600; }
.prose .muted { color: var(--muted); }
.prose ul { display: grid; gap: 0.5rem; margin: 0; padding-left: 1.25rem; }
.prose a { color: var(--white); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 0.2em; }

/* =====================================================================
   MOTION — the page reads without it; every hidden state sits inside no-preference
   ===================================================================== */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } } /* links to a section on the same page (e.g. "See the work") glide there */
::view-transition-old(root) { animation: vt-leave 200ms var(--ease-exit) both; }
::view-transition-new(root) { animation: vt-arrive 380ms var(--ease-out) 60ms both; }
@keyframes vt-leave { to { opacity: 0; } }
@keyframes vt-arrive { from { opacity: 0; transform: translateY(14px); } }

@media (prefers-reduced-motion: no-preference) {
  .js [data-line] { display: block; transform: translateY(105%); animation: line-up 850ms var(--ease-expo) forwards; animation-delay: calc(80ms + var(--i, 0) * 90ms); }
  .js [data-load] { opacity: 0; transform: translateY(16px); animation: rise 700ms var(--ease-out) forwards; animation-delay: var(--d, 400ms); }
  .js [data-settle] > .ph, .js [data-settle] > img, .js [data-settle] > video { animation: settle 1800ms var(--ease-out) both; }

  .js .rv { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-expo); transition-delay: calc(var(--i, 0) * 80ms); }
  .js .rv.is-in { opacity: 1; transform: none; }
  .js .rv-media { opacity: 0; transform: translateY(24px) scale(0.985); transition: opacity 800ms var(--ease-out), transform 1000ms var(--ease-expo); transition-delay: calc(var(--i, 0) * 80ms); }
  .js .rv-media.is-in { opacity: 1; transform: none; }
  .js .steps::before { transform: scaleX(0); transition: transform 1400ms var(--ease-in-out) 250ms; }
  .js .steps.is-in::before { transform: scaleX(1); }
  .js .nav { animation: nav-in 600ms var(--ease-out) both; }
}
@keyframes line-up { to { transform: none; } }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.06); } to { transform: none; } }
@keyframes nav-in { from { opacity: 0; transform: translateY(-10px); } }

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; }
  .logos__track { animation: none !important; }
  .card, .plan, .film-card, .cat, .info, .sheet, .sheet__links li, .faq__a, .media > img, .carousel__track { transition: none !important; }
  .carousel__dot > span > i { display: none; }
  .film[open], .modal[open] { animation: none; }
}
