/* EntertainmenTen — one-page site (an INCUBE company)
   E10 keeps its own look: a night ground, white type and its electric
   blue ("TEN" in the logo) used as light. It shares INCUBE's typeface,
   Plus Jakarta Sans, and the INCUBE band switches to INCUBE's own
   Midnight + Bronze so the hand-off to the parent brand reads clearly.
   Headings pair a light weight with a heavy one, echoing ENTERTAINMEN|TEN. */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/PlusJakartaSans-VF.ttf") format("truetype");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --night: #06070F;
  --ink: #0D0F1E;
  --line: rgba(255, 255, 255, 0.12);
  --white: #FFFFFF;
  --mist: rgba(236, 237, 255, 0.72);
  --volt: #2626FF;              /* E10 electric blue: fills, glows, the button */
  --volt-text: #A6A8FF;         /* the same blue lifted for text on night (8.9:1) */
  --volt-glow: rgba(38, 38, 255, 0.5);
  /* INCUBE parent palette, used only in the INCUBE band */
  --midnight: #0B1C2C;
  --bronze: #C9A277;

  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --fs-small: 0.875rem;
  --fs-body: 1.0625rem;
  --fs-lead: clamp(1.125rem, 1rem + 0.45vw, 1.3125rem);
  --fs-h3: clamp(1.375rem, 1.15rem + 0.8vw, 1.875rem);
  --fs-h2: clamp(2.125rem, 1.3rem + 3vw, 4rem);
  --fs-hero: clamp(2.5rem, 0.9rem + 5.2vw, 5.5rem);

  --gutter: clamp(20px, 5vw, 64px);
  --max: 1280px;
  --section: clamp(96px, 6rem + 5vw, 184px);
  --bar-h: 34px;
  --nav-h: 76px;
  --radius: 16px;               /* the rounded corner of the E10 badge */
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); background: var(--night); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--night);
  color: var(--white);
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, dl, dd, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h2 { font-size: var(--fs-h2); font-weight: 250; line-height: 1.04; letter-spacing: -0.03em; text-wrap: balance; }
h2 strong, h1 strong { font-weight: 800; letter-spacing: -0.035em; }
h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.2; letter-spacing: -0.015em; }

a { color: inherit; }
:focus-visible { outline: 2px solid var(--volt-text); outline-offset: 4px; }
::selection { background: var(--volt); color: var(--white); }

.container { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: var(--gutter); top: -60px; z-index: 100; padding: 10px 16px; background: var(--white); color: var(--night); text-decoration: none; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 22px;
  color: var(--volt-text);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.04em;
}
/* the chevron cut from the E10 "E" */
.eyebrow::before {
  content: ""; width: 14px; height: 10px; background: currentColor;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 45% 50%);
}

.section-head p:not(.eyebrow) { margin-top: 22px; max-width: 36ch; color: var(--mist); font-size: var(--fs-lead); }

/* ── Buttons and links ─────────────────────────────────────────────── */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px;
  padding: 14px 28px;
  border-radius: 12px;
  background: var(--volt);
  color: var(--white);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  box-shadow: 0 10px 40px -10px var(--volt-glow);
  transition: background-color 0.25s, color 0.25s, box-shadow 0.25s, transform 0.25s var(--ease);
}
.button:hover { background: var(--white); color: var(--night); box-shadow: 0 10px 50px -8px rgba(255, 255, 255, 0.35); transform: translateY(-1px); }

.text-link {
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
  transition: color 0.2s;
}
.text-link:hover { color: var(--volt-text); }

/* ── Header ────────────────────────────────────────────────────────── */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color 0.35s, box-shadow 0.35s; }
.site-header.is-solid { background: rgba(6, 7, 15, 0.86); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }

/* thin INCUBE group bar; folds away once the page scrolls */
.group-bar { height: var(--bar-h); overflow: hidden; border-bottom: 1px solid var(--line); background: rgba(11, 28, 44, 0.55); transition: height 0.35s var(--ease), border-color 0.35s; }
.site-header.is-solid .group-bar { height: 0; border-color: transparent; }
.group-bar__inner { display: flex; align-items: center; justify-content: space-between; height: var(--bar-h); max-width: none; font-size: 0.8125rem; color: var(--mist); }
.group-bar a { text-decoration: none; transition: color 0.2s; }
.group-bar a:hover { color: var(--white); }
.group-bar__link { display: inline-flex; align-items: center; gap: 9px; }
.group-bar__link img { width: 12px; height: auto; }
.group-bar__link strong { font-weight: 700; letter-spacing: 0.06em; color: var(--white); }
.group-bar__more { color: var(--bronze) !important; }

.site-header__inner { max-width: none; display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }
.site-header__logo img { width: 128px; height: auto; }

.site-nav { display: flex; align-items: center; gap: clamp(22px, 2.6vw, 40px); }
.site-nav a { font-size: 0.9375rem; font-weight: 500; text-decoration: none; opacity: 0.82; padding-block: 6px; transition: opacity 0.2s; }
.site-nav a:hover { opacity: 1; }
.site-nav__cta { opacity: 1 !important; padding: 10px 18px !important; border-radius: 10px; background: var(--volt); font-weight: 700 !important; transition: background-color 0.2s, color 0.2s !important; }
.site-nav__cta:hover { background: var(--white); color: var(--night); }

.nav-toggle { display: none; }

@media (max-width: 860px) {
  .group-bar__more { display: none; }
  .nav-toggle {
    display: grid; place-items: center;
    width: 44px; height: 44px; margin-right: -10px;
    background: none; border: 0; color: var(--white); cursor: pointer;
    position: relative; z-index: 2;
  }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
    display: block; width: 22px; height: 1.5px; background: currentColor; transition: transform 0.3s var(--ease), background-color 0.2s;
  }
  .nav-toggle__bars { position: relative; }
  .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__bars::before { top: -7px; }
  .nav-toggle__bars::after { top: 7px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

  .site-nav {
    position: fixed; inset: 0;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px;
    padding: var(--nav-h) var(--gutter) 40px;
    background: var(--night);
    visibility: hidden; opacity: 0;
    transition: opacity 0.3s, visibility 0s 0.3s;
  }
  .site-nav.is-open { visibility: visible; opacity: 1; transition: opacity 0.3s; }
  .site-nav a { font-size: 2rem; font-weight: 300; opacity: 1; letter-spacing: -0.02em; }
  .site-nav__cta { margin-top: 24px; font-size: 1.0625rem !important; padding: 14px 24px !important; }
  .site-header__logo { position: relative; z-index: 2; }
}

/* ── Hero ──────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--bar-h) + var(--nav-h) + 40px) 0 72px;
  isolation: isolate;
}
/* a stage light in E10 blue; it sweeps in once and settles */
.hero__beam {
  position: absolute; z-index: -1;
  left: -20%; top: -40%;
  width: 120%; height: 160%;
  background:
    radial-gradient(40% 32% at 34% 52%, rgba(38, 38, 255, 0.34), transparent 70%),
    conic-gradient(from 152deg at 8% 0%, transparent 0deg, rgba(60, 60, 255, 0.22) 14deg, rgba(120, 122, 255, 0.10) 22deg, transparent 34deg);
  transform-origin: 8% 0%;
  pointer-events: none;
}
.js .hero__beam { opacity: 0; transform: rotate(-18deg); }
.hero.is-lit .hero__beam { opacity: 1; transform: rotate(0); transition: opacity 1.2s ease-out, transform 1.8s var(--ease); }

.hero__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: center; }
.hero__content { grid-column: 1 / 8; position: relative; z-index: 1; }
.hero__title { font-size: var(--fs-hero); font-weight: 250; line-height: 0.98; letter-spacing: -0.035em; }
.hero__title strong { display: block; }
.hero__lead { max-width: 33rem; margin-top: 30px; color: var(--mist); font-size: var(--fs-lead); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; margin-top: 40px; }

.hero__media { grid-column: 8 / 13; position: relative; }
.hero__media img {
  width: 100%; aspect-ratio: 4 / 5; max-height: calc(100svh - 200px); object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 40px 120px -40px var(--volt-glow);
}
.hero__media figcaption { margin-top: 12px; font-size: 0.8125rem; color: var(--mist); }

.js .hero__content > *, .js .hero__media { opacity: 0; transform: translateY(18px); }
.hero.is-lit .hero__content > *, .hero.is-lit .hero__media { opacity: 1; transform: none; transition: opacity 0.9s ease-out, transform 1s var(--ease); }
.hero.is-lit .hero__content > :nth-child(2) { transition-delay: 0.12s; }
.hero.is-lit .hero__content > :nth-child(3) { transition-delay: 0.24s; }
.hero.is-lit .hero__content > :nth-child(4) { transition-delay: 0.34s; }
.hero.is-lit .hero__media { transition-delay: 0.2s; }

@media (max-width: 960px) {
  .hero { min-height: 0; padding-top: calc(var(--bar-h) + var(--nav-h) + 24px); }
  .hero__content, .hero__media { grid-column: 1 / -1; }
  .hero__media { order: -1; }
  .hero__media img { aspect-ratio: 16 / 11; max-height: 56svh; object-position: 50% 30%; }
}

/* ── Intro ─────────────────────────────────────────────────────────── */
.intro { padding-block: var(--section) calc(var(--section) * 0.6); }
.intro__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.intro h2 { grid-column: 1 / 9; }
.intro__text { grid-column: 7 / 12; margin-top: 56px; display: grid; gap: 18px; color: var(--mist); font-size: var(--fs-lead); }
@media (max-width: 860px) { .intro h2, .intro__text { grid-column: 1 / -1; } .intro__text { margin-top: 32px; } }

/* ── Work ──────────────────────────────────────────────────────────── */
.work { padding-block: calc(var(--section) * 0.6) var(--section); }
.work .section-head { max-width: 46rem; margin-bottom: clamp(48px, 6vw, 88px); }

.cases { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(40px, 5vw, 72px) clamp(24px, 3vw, 48px); align-items: start; }
.case--wide:nth-child(1) { grid-column: 1 / 8; }
.case--tall:nth-child(2) { grid-column: 8 / 13; margin-top: clamp(80px, 12vw, 200px); }
.case--tall:nth-child(3) { grid-column: 1 / 6; }
.case--wide:nth-child(4) { grid-column: 6 / 13; margin-top: clamp(60px, 8vw, 140px); }

.case__media { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--ink); }
.case__media img { width: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.case--wide .case__media img { aspect-ratio: 16 / 9; }
.case--tall .case__media img { aspect-ratio: 4 / 5; }
.case:hover .case__media img { transform: scale(1.035); }
.case__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6, 7, 15, 0.55), transparent 45%); pointer-events: none; }

.case__body { padding-top: 24px; }
.case__meta { font-size: var(--fs-small); color: var(--volt-text); font-weight: 600; letter-spacing: 0.02em; margin-bottom: 10px; }
.case__body > p:not(.case__meta) { margin-top: 12px; max-width: 40rem; color: var(--mist); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tags li { padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.8125rem; color: var(--mist); }

.play {
  position: absolute; z-index: 1; left: 18px; bottom: 18px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 999px;
  background: rgba(6, 7, 15, 0.55);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: var(--white); font: 600 0.875rem var(--font);
  cursor: pointer;
  transition: background-color 0.25s, border-color 0.25s;
}
.play:hover { background: var(--volt); border-color: var(--volt); }
.play__icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--white); }
.play__icon::before { content: ""; width: 9px; height: 10px; margin-left: 2px; background: var(--night); clip-path: polygon(0 0, 100% 50%, 0 100%); }

@media (max-width: 860px) {
  .cases > .case { grid-column: 1 / -1 !important; margin-top: 0 !important; }
}

.record { margin-top: clamp(80px, 10vw, 140px); }
.record h3 { font-weight: 300; font-size: var(--fs-h3); margin-bottom: 28px; }
.record__list { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(24px, 4vw, 64px); }
.record__list li { display: grid; gap: 4px; padding: 18px 0; border-top: 1px solid var(--line); }
.record__client { font-weight: 600; }
.record__scope { font-size: var(--fs-small); color: var(--mist); }
@media (max-width: 760px) { .record__list { grid-template-columns: 1fr; } }

/* ── Services: ten ─────────────────────────────────────────────────── */
.services { position: relative; isolation: isolate; padding-block: var(--section); overflow: hidden; background: var(--ink); }
.services__media { position: absolute; inset: 0; z-index: -1; }
.services__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.38; }
.services__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--night) 18%, rgba(6, 7, 15, 0.82) 55%, rgba(6, 7, 15, 0.94)); }

.services__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: start; }
.services .section-head { grid-column: 1 / 6; position: sticky; top: calc(var(--nav-h) + 40px); }
.ten { grid-column: 6 / 13; counter-reset: none; }
.ten li {
  position: relative;
  display: grid; grid-template-columns: 56px 1fr; column-gap: 12px; row-gap: 2px;
  padding: 22px 0 22px 0;
  border-top: 1px solid var(--line);
  transition: padding-left 0.35s var(--ease);
}
.ten li:last-child { border-bottom: 1px solid var(--line); }
.ten li::before { content: ""; position: absolute; left: 0; top: -1px; width: 0; height: 1px; background: var(--volt-text); transition: width 0.5s var(--ease); }
.ten li:hover::before { width: 100%; }
.ten__n { grid-row: span 2; padding-top: 6px; color: var(--volt-text); font-size: var(--fs-small); font-weight: 700; font-variant-numeric: tabular-nums; }
.ten__name { font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.625rem); font-weight: 500; letter-spacing: -0.015em; line-height: 1.3; }
.ten__desc { color: var(--mist); font-size: 0.9375rem; }
@media (max-width: 960px) {
  .services .section-head, .ten { grid-column: 1 / -1; position: static; }
  .ten { margin-top: 32px; }
}

/* ── Approach ──────────────────────────────────────────────────────── */
.approach { padding-block: var(--section); }
.approach__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: center; }
.approach__media { grid-column: 1 / 5; }
.approach__media img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: var(--radius); }
.approach__text { grid-column: 6 / 13; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 56px; }
.principles div { padding-top: 20px; border-top: 1px solid var(--volt-text); }
.principles dt { font-weight: 700; margin-bottom: 8px; }
.principles dd { color: var(--mist); font-size: 0.9375rem; }
@media (max-width: 960px) {
  .approach__media { grid-column: 1 / -1; }
  .approach__media img { aspect-ratio: 16 / 10; object-position: 50% 40%; }
  .approach__text { grid-column: 1 / -1; margin-top: 32px; }
}
@media (max-width: 640px) { .principles { grid-template-columns: 1fr; gap: 20px; margin-top: 40px; } }

/* ── Clients ───────────────────────────────────────────────────────── */
.clients { padding-block: calc(var(--section) * 0.4) var(--section); }
.sectors { display: grid; grid-template-columns: repeat(4, 1fr); column-gap: clamp(20px, 3vw, 40px); margin-top: 56px; }
.sectors li {
  display: flex; align-items: center; gap: 14px;
  min-height: 88px; padding: 20px 0;
  border-top: 1px solid var(--line);
  font-size: clamp(1.0625rem, 0.95rem + 0.4vw, 1.25rem); font-weight: 300; line-height: 1.3;
}
.sectors li::before {
  content: ""; flex: none; width: 12px; height: 9px; background: var(--volt);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 45% 50%);
}
@media (max-width: 960px) { .sectors { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .sectors { grid-template-columns: 1fr; } .sectors li { min-height: 0; } }

/* ── INCUBE band (parent brand language) ───────────────────────────── */
.incube { position: relative; padding-block: var(--section); background: var(--midnight); }
.incube::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--bronze) 30%, var(--bronze) 70%, transparent); opacity: 0.7; }
.incube__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: start; }
.incube__head { grid-column: 1 / 6; }
.incube__logo { width: 150px; height: auto; margin-bottom: 40px; }
.incube h2 { font-weight: 300; letter-spacing: -0.015em; }
.incube__head p { margin: 24px 0 36px; color: rgba(235, 229, 223, 0.78); font-size: var(--fs-lead); max-width: 34rem; }
.button--bronze { background: transparent; border: 1px solid var(--bronze); border-radius: 0; box-shadow: none; }
.button--bronze:hover { background: var(--bronze); color: var(--midnight); box-shadow: none; }

.incube__brands { grid-column: 7 / 13; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.incube__brands li {
  position: relative;
  display: grid; grid-template-columns: 1fr auto; align-items: baseline; column-gap: 16px;
  padding: 26px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.incube__name { font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.75rem); font-weight: 300; letter-spacing: -0.01em; }
.incube__role { color: rgba(235, 229, 223, 0.7); font-size: var(--fs-small); text-align: right; }
.incube__brands .is-current { padding-left: 20px; }
.incube__brands .is-current::before { content: ""; position: absolute; left: 0; top: 26px; bottom: 26px; width: 3px; background: var(--volt); box-shadow: 0 0 18px var(--volt); }
.incube__brands .is-current .incube__name { font-weight: 700; }
.incube__here { grid-column: 1 / -1; margin-top: 6px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; color: var(--volt-text); }
@media (max-width: 960px) {
  .incube__head, .incube__brands { grid-column: 1 / -1; }
  .incube__brands { margin-top: 40px; }
}

/* ── Contact ───────────────────────────────────────────────────────── */
.contact { position: relative; isolation: isolate; overflow: hidden; padding-block: var(--section); }
.contact__media { position: absolute; inset: 0; z-index: -2; }
.contact__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; opacity: 0.55; }
.contact::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 20% 100%, rgba(38, 38, 255, 0.4), transparent 70%), linear-gradient(to bottom, var(--night), rgba(6, 7, 15, 0.6) 40%, rgba(6, 7, 15, 0.85)); }
.contact__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: end; }
.contact__grid > :first-child { grid-column: 1 / 8; }
.contact__lead { max-width: 32rem; margin: 24px 0 40px; color: var(--mist); font-size: var(--fs-lead); }
.contact__details { grid-column: 9 / 13; display: grid; gap: 24px; }
.contact__details dt { font-size: var(--fs-small); color: var(--volt-text); font-weight: 600; margin-bottom: 4px; }
.contact__details a { text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.contact__details a:hover { border-color: currentColor; }
@media (max-width: 860px) {
  .contact__grid > :first-child, .contact__details { grid-column: 1 / -1; }
  .contact__details { margin-top: 32px; }
}

/* ── Footer ────────────────────────────────────────────────────────── */
.site-footer { padding-block: 48px; border-top: 1px solid var(--line); font-size: var(--fs-small); color: var(--mist); }
.site-footer__inner { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 24px 48px; }
.site-footer__logo { width: 112px; }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 24px; }
.site-footer a { text-decoration: none; transition: color 0.2s; }
.site-footer__nav a:hover { color: var(--white); }
.site-footer__group { display: inline-flex; align-items: center; gap: 12px; }
.site-footer__group img { width: 88px; opacity: 0.9; }
.site-footer__group:hover { color: var(--bronze); }
@media (max-width: 860px) {
  .site-footer__inner { grid-template-columns: 1fr; justify-items: start; }
}

/* ── Film player ───────────────────────────────────────────────────── */
.film {
  width: min(1200px, 100vw - 2 * var(--gutter));
  max-width: none; max-height: none;
  padding: 0; border: 0; border-radius: var(--radius);
  background: #000; color: var(--white);
  overflow: hidden;
}
.film::backdrop { background: rgba(6, 7, 15, 0.92); backdrop-filter: blur(6px); }
.film__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 12px 12px 20px; background: var(--ink); }
.film__title { font-weight: 600; font-size: 0.9375rem; }
.film__close { min-height: 40px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 10px; background: none; color: var(--white); font: 600 0.875rem var(--font); cursor: pointer; }
.film__close:hover { background: var(--white); color: var(--night); }
.film__video { display: block; width: 100%; max-height: calc(100svh - 140px); background: #000; }
/* vertical (9:16) films: size the player to the screen height */
.film.is-portrait { width: min(calc((100svh - 120px) * 9 / 16), 100vw - 2 * var(--gutter)); }
.film.is-portrait .film__video { aspect-ratio: 9 / 16; max-height: calc(100svh - 120px); }

/* ── Reveal on scroll ──────────────────────────────────────────────── */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s ease-out, transform 1s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .hero__content > *, .js .hero__media, .js .hero__beam { opacity: 1 !important; transform: none !important; transition: none !important; }
  .case__media img, .ten li { transition: none; }
}

/* ── 404 ───────────────────────────────────────────────────────────── */
.nf { position: relative; isolation: isolate; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 120px var(--gutter) 64px; overflow: hidden; }
.nf__media { position: absolute; inset: 0; z-index: -1; }
.nf__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.4; }
.nf::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 15% 85%, rgba(38, 38, 255, 0.35), transparent 70%), linear-gradient(90deg, var(--night) 20%, rgba(6, 7, 15, 0.5)); }
.nf__logo { position: absolute; top: 28px; left: var(--gutter); }
.nf__logo img { width: 128px; }
.nf__content { max-width: 40rem; }
.nf__title { font-size: var(--fs-hero); font-weight: 250; line-height: 0.98; letter-spacing: -0.035em; }
.nf__lead { margin-top: 24px; color: var(--mist); font-size: var(--fs-lead); }
