/* ==========================================================================
   Revart 2026. Dark broadcast theme, one accent (brand magenta).
   Radius system: buttons + chips = pill, cards/media = 20px, inputs = 12px.
   ========================================================================== */

@font-face {
  font-family: "Geist";
  src: url("/static/fonts/geist-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Geist";
  src: url("/static/fonts/geist-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  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;
}

:root {
  color-scheme: dark;
  --bg: #0b0b0e;
  --bg-2: #101014;
  --surface: #15151a;
  --surface-2: #1c1c22;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #f4f4f6;
  --muted: #a4a4ae;
  --accent: #ec008c;
  --accent-strong: #d1007c;
  --accent-soft: rgba(236, 0, 140, 0.12);
  --error: #ff8f8f;

  --radius: 20px;
  --radius-sm: 12px;
  --pill: 999px;

  --container: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --section: clamp(80px, 10vw, 144px);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --load-delay: 120ms;

  /* z-index scale */
  --z-header: 50;
  --z-mobile-cta: 40;
  --z-nav: 60;
  --z-intro: 100;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, video { display: block; max-width: 100%; }
/* Components set their own display; keep the hidden attribute authoritative. */
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-weight: 600; }

::selection { background: var(--accent); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: var(--z-intro);
  padding: 10px 16px;
  background: var(--text);
  color: var(--bg);
  border-radius: var(--pill);
}
.skip-link:focus { top: 16px; }

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

/* ---------- Type ---------- */

.display,
.hero__title {
  font-size: clamp(2.5rem, 1.3rem + 4.6vw, 5.25rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 600;
  text-wrap: balance;
}

.h2 {
  font-size: clamp(2rem, 1.25rem + 2.4vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  max-width: 20ch;
  text-wrap: balance;
}

.h3 {
  font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.85rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

em { font-style: normal; color: var(--accent); }

.lead {
  font-size: clamp(1.075rem, 1rem + 0.35vw, 1.3rem);
  line-height: 1.55;
  color: var(--muted);
  max-width: 56ch;
}

.muted { color: var(--muted); }
.prose > p + p { margin-top: 1em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.rec {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(236, 0, 140, 0.6);
  animation: rec 1.8s var(--ease-in-out) infinite;
}

@keyframes rec {
  0% { box-shadow: 0 0 0 0 rgba(236, 0, 140, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(236, 0, 140, 0); }
  100% { box-shadow: 0 0 0 0 rgba(236, 0, 140, 0); }
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 2px;
  transition: border-color 0.3s var(--ease), gap 0.3s var(--ease);
}
.link-arrow:hover { border-color: var(--accent); gap: 12px; }
.link-arrow i { color: var(--accent); }

/* ---------- Buttons ---------- */

.btn {
  --btn-bg: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--pill);
  background: var(--btn-bg);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn i { font-size: 1.1em; transition: transform 0.4s var(--ease); }
.btn:hover i.ph-arrow-right { transform: translateX(3px); }

.btn--primary { --btn-bg: var(--accent-strong); color: #fff; }
.btn--primary:hover {
  --btn-bg: var(--accent);
  box-shadow: 0 12px 40px -12px rgba(236, 0, 140, 0.65);
}

.btn--ghost { border-color: var(--line-2); color: var(--text); }
.btn--ghost:hover { --btn-bg: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.32); }

.btn--sm { min-height: 42px; padding: 9px 18px; font-size: 14px; }
.btn--lg { min-height: 56px; padding: 16px 28px; font-size: 16px; }
.btn--block { width: 100%; }

.icon-btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: transparent;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), opacity 0.3s;
}
.icon-btn:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.32); }
.icon-btn:disabled { opacity: 0.35; cursor: default; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips li {
  padding: 4px 11px;
  border: 1px solid var(--line-2);
  border-radius: var(--pill);
  font-size: 13px;
  color: var(--muted);
}
.chips--lg li { padding: 8px 16px; font-size: 15px; color: var(--text); background: var(--surface); }

/* ---------- Header & navigation ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: var(--z-header);
  height: var(--header-h);
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(11, 11, 14, 0.78);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border-color: var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.site-header__logo img { width: 128px; height: auto; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: var(--pill);
  font-size: 15px;
  font-weight: 500;
  color: rgba(244, 244, 246, 0.82);
  transition: color 0.25s, background-color 0.25s;
}
.nav__link:hover, .nav__link.is-active { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.nav__caret { font-size: 12px; transition: transform 0.3s var(--ease); }

.nav__item--has-sub { position: relative; }
.nav__sub {
  position: absolute;
  top: calc(100% + 10px);
  left: -12px;
  width: 340px;
  padding: 8px;
  background: rgba(21, 21, 26, 0.96);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.25s var(--ease), transform 0.35s var(--ease), visibility 0s linear 0.25s;
}
.nav__sub::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.nav__item--has-sub:hover .nav__sub,
.nav__item--has-sub:focus-within .nav__sub,
.nav__item--has-sub.is-open .nav__sub {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}
.nav__item--has-sub:hover .nav__caret,
.nav__item--has-sub.is-open .nav__caret { transform: rotate(180deg); }

.nav__sublink {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: var(--radius-sm);
  transition: background-color 0.2s;
}
.nav__sublink:hover { background: rgba(255, 255, 255, 0.06); }
.nav__sublink strong { display: block; font-weight: 600; font-size: 15px; }
.nav__sublink small { color: var(--muted); font-size: 13px; }
.nav__subicon {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 20px;
}

.nav__mobile-footer { display: none; }

.site-header__actions { display: flex; align-items: center; gap: 16px; }
.site-header__phone {
  display: none;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(244, 244, 246, 0.82);
}
.site-header__phone:hover { color: var(--text); }
.site-header__phone i { color: var(--accent); }

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.4s var(--ease), top 0.4s var(--ease);
}
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-open .nav-toggle span:first-child { top: 21px; transform: rotate(45deg); }
.nav-open .nav-toggle span:last-child { top: 21px; transform: rotate(-45deg); }

@media (min-width: 1280px) {
  .site-header__phone { display: inline-flex; }
}

@media (max-width: 1023px) {
  .nav-toggle { display: block; }
  .site-header__actions { margin-left: auto; }
  .nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
    background: var(--bg);
    opacity: 0;
    visibility: hidden;
    clip-path: inset(0 0 100% 0);
    transition: clip-path 0.6s var(--ease), opacity 0.3s, visibility 0s linear 0.6s;
    overflow-y: auto;
  }
  .nav-open .nav { opacity: 1; visibility: visible; clip-path: inset(0); transition-delay: 0s; }
  /* backdrop-filter would make the header the containing block of the fixed menu */
  .nav-open .site-header { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-bottom: 1px solid var(--line); }
  .nav__link { width: 100%; padding: 18px 0; font-size: 24px; font-weight: 500; border-radius: 0; background: none !important; }
  .nav__caret { display: none; }
  .nav__sub {
    position: static;
    width: auto;
    padding: 0 0 12px;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: none;
    border: 0;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .nav__sublink { padding: 10px 0; }
  .nav__mobile-footer { display: grid; gap: 12px; margin-top: 40px; }
  .nav__phone { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; }
  .nav__phone i { color: var(--accent); }
  .nav-open { overflow: hidden; }
  .site-header__actions .btn { display: none; }
}

/* ---------- Load-in & reveal motion ---------- */

.load-in {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
  animation: load-in 1s var(--ease) forwards;
  animation-delay: calc(var(--i, 0) * 110ms + var(--load-delay));
}
.has-intro { --load-delay: 1250ms; }

@keyframes load-in {
  to { opacity: 1; transform: none; filter: blur(0); }
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease), transform 1.1s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Intro curtain (home, once per session) */
.intro { display: none; }
.has-intro .intro {
  position: fixed;
  inset: 0;
  z-index: var(--z-intro);
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 28px;
  background: var(--bg);
  animation: intro-out 0.9s var(--ease-in-out) 1s forwards;
  pointer-events: none;
}
.intro img { width: 200px; height: auto; opacity: 0; animation: intro-logo 0.8s var(--ease) 0.1s forwards; }
.intro__bar { width: 200px; height: 2px; background: var(--line-2); position: relative; overflow: hidden; }
.intro__bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform-origin: left;
  transform: scaleX(0);
  animation: intro-bar 0.8s var(--ease-in-out) 0.2s forwards;
}

@keyframes intro-logo { from { opacity: 0; transform: translateY(12px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes intro-bar { to { transform: scaleX(1); } }
@keyframes intro-out { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100svh;
  min-height: 100dvh;
  padding: calc(var(--header-h) + 48px) 0 clamp(56px, 9vh, 104px);
  overflow: hidden;
  isolation: isolate;
}

.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.14);
  animation: hero-zoom 2.4s var(--ease) calc(var(--load-delay) - 100ms) forwards;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 11, 14, 0.6), rgba(11, 11, 14, 0) 22%),
    linear-gradient(90deg, rgba(11, 11, 14, 0.92) 0%, rgba(11, 11, 14, 0.72) 42%, rgba(11, 11, 14, 0.25) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(11, 11, 14, 0) 38%);
}

@keyframes hero-zoom { to { transform: scale(1.02); } }

.hero__inner { display: grid; gap: 24px; justify-items: start; }
.hero__title { max-width: 15ch; font-size: clamp(2.75rem, 1.3rem + 5vw, 5.75rem); }
.hero__text { max-width: 44ch; font-size: clamp(1.075rem, 1rem + 0.35vw, 1.3rem); color: rgba(244, 244, 246, 0.78); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* ---------- Sections ---------- */

.section { padding-block: var(--section); }
.section--flush { padding-block: 0 var(--section); }
.section--top-tight { padding-top: 24px; }
.section--tint { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { display: grid; gap: 16px; margin-bottom: clamp(40px, 5vw, 64px); }

/* ---------- Stats + marquee ---------- */

.stats { border-bottom: 1px solid var(--line); }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-block: clamp(40px, 6vw, 72px);
}
.stat { border-left: 1px solid var(--line-2); padding-left: 20px; }
.stat__value {
  font-size: clamp(2.25rem, 1.5rem + 2.4vw, 3.75rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat__label { margin-top: 10px; color: var(--muted); font-size: 15px; }

.marquee { padding-bottom: clamp(32px, 5vw, 56px); }
.marquee__label { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.marquee__viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__list { display: flex; }
.marquee__list li {
  display: flex;
  align-items: center;
  gap: 48px;
  padding-right: 48px;
  font-size: clamp(1.25rem, 1rem + 1vw, 1.9rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: rgba(244, 244, 246, 0.55);
  white-space: nowrap;
}
.marquee__list li::after { content: ""; width: 8px; height: 8px; border: 1.5px solid var(--accent); transform: rotate(45deg); }

@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Latest events (home, under stats): text cards rotating by four ---------- */

.latest { padding-top: clamp(28px, 4vw, 40px); padding-bottom: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); }
.latest__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.latest__title { font-size: 15px; font-weight: 500; color: var(--muted); }
.latest__controls { display: flex; align-items: center; gap: 16px; }
.latest__progress { width: 72px; height: 2px; border-radius: 2px; background: var(--line-2); overflow: hidden; }
.latest__progress span { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.latest__progress span.is-running { animation: latest-progress var(--rotate-ms, 10000ms) linear forwards; }
.latest.is-paused .latest__progress span { animation-play-state: paused; }
@keyframes latest-progress { to { transform: scaleX(1); } }
.latest__pause { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 1px solid var(--line-2); border-radius: 50%; background: none; color: var(--muted); font-size: 14px; cursor: pointer; }
.latest__pause:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.32); }

.latest__stage { display: grid; }
.latest__page { grid-area: 1 / 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; visibility: hidden; }
.latest__page.is-current, .latest__page.is-leaving { visibility: visible; }
.latest__page li { opacity: 0; transform: translateY(14px); }
.latest__page.is-current li { opacity: 1; transform: none; transition: opacity 0.6s var(--ease), transform 0.8s var(--ease); transition-delay: calc(var(--i) * 90ms + 150ms); }
.latest__page.is-leaving li { opacity: 0; transform: translateY(-12px); transition: opacity 0.35s var(--ease-in-out), transform 0.45s var(--ease-in-out); transition-delay: calc(var(--i) * 50ms); }
.no-js .latest__page:not(:first-child) { display: none; }

.latest__item {
  position: relative;
  display: grid;
  gap: 8px;
  align-content: start;
  height: 100%;
  min-height: 112px;
  padding: 18px 44px 20px 0;
  border-top: 1px solid var(--line-2);
  transition: border-color 0.3s var(--ease);
}
.latest__item::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}
.latest__item:hover::before, .latest__item:focus-visible::before { transform: scaleX(1); }
.latest__meta { font-size: 13px; color: var(--muted); }
.latest__item strong { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; transition: color 0.3s; }
.latest__item:hover strong { color: var(--accent); }
.latest__arrow { position: absolute; top: 18px; right: 0; color: var(--muted); transition: transform 0.4s var(--ease), color 0.3s; }
.latest__item:hover .latest__arrow { color: var(--accent); transform: translate(3px, -3px); }

@media (max-width: 767px) {
  .latest__page { grid-template-columns: 1fr 1fr; gap: 0 16px; }
  .no-js .latest__page li:nth-child(n + 3) { display: none; }
}
@media (max-width: 480px) {
  .latest__progress { display: none; }
}

/* ---------- Services (home) ---------- */

.services__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.services__intro { position: sticky; top: calc(var(--header-h) + 40px); display: grid; gap: 20px; justify-items: start; }

.service-row {
  display: grid;
  grid-template-columns: minmax(160px, 38%) 1fr;
  gap: 28px;
  padding: 20px;
  margin-inline: -20px;
  border-radius: var(--radius);
  transition: background-color 0.4s var(--ease);
}
.service-row + .service-row { margin-top: 8px; }
.service-row:hover { background: var(--surface); }
.service-row__media { border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3.4; }
.service-row__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.service-row:hover .service-row__media img { transform: scale(1.06); }
.service-row__body { display: flex; flex-direction: column; gap: 10px; }
.service-row__body h3 { font-size: clamp(1.4rem, 1.15rem + 0.8vw, 1.9rem); letter-spacing: -0.03em; line-height: 1.1; }
.service-row__body > p { color: var(--muted); font-size: 16px; }
.service-row__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 22px;
  flex: none;
}
.service-row__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
  font-size: 15px;
  color: var(--muted);
}
.service-row__foot strong { color: var(--text); font-weight: 600; }
.service-row__arrow {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  color: var(--text);
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.5s var(--ease);
}
.service-row:hover .service-row__arrow,
.service-card:hover .service-row__arrow { background: var(--accent-strong); border-color: var(--accent-strong); transform: rotate(45deg); }

/* ---------- Audience accordion gallery ---------- */

.audience__title { margin-bottom: clamp(40px, 5vw, 64px); max-width: 18ch; }

.accordion-gallery { display: flex; gap: 12px; height: clamp(440px, 60vh, 600px); }
.accordion-gallery__panel {
  position: relative;
  flex: 1;
  min-width: 0;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  isolation: isolate;
  transition: flex 0.9s var(--ease), opacity 0.9s var(--ease), transform 1.1s var(--ease);
}
.accordion-gallery__panel.is-open { flex: 3.2; cursor: default; }
.accordion-gallery__panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transform: scale(1.08);
  transition: transform 1.2s var(--ease);
}
.accordion-gallery__panel.is-open img { transform: scale(1); }
.accordion-gallery__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(11, 11, 14, 0.92) 0%, rgba(11, 11, 14, 0.2) 60%, rgba(11, 11, 14, 0.35) 100%);
}
.accordion-gallery__body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(20px, 3vw, 36px); }
.accordion-gallery__body h3 { font-size: clamp(1.25rem, 1rem + 0.8vw, 1.6rem); letter-spacing: -0.03em; line-height: 1.15; transition: font-size 0.6s var(--ease); }
.accordion-gallery__panel.is-open .accordion-gallery__body h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.2rem); }
.accordion-gallery__body p {
  max-width: 46ch;
  margin-top: 10px;
  color: rgba(244, 244, 246, 0.8);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s var(--ease), transform 0.6s var(--ease);
}
.accordion-gallery__panel.is-open .accordion-gallery__body p { opacity: 1; transform: none; transition-delay: 0.35s; }

/* ---------- OB van teaser ---------- */

.obvan-teaser {
  position: relative;
  padding-block: clamp(120px, 16vw, 220px);
  overflow: hidden;
  isolation: isolate;
}
.obvan-teaser__media { position: absolute; inset: 0; z-index: -1; }
.obvan-teaser__media img { width: 100%; height: 115%; object-fit: cover; }
.obvan-teaser__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 11, 14, 0.9), rgba(11, 11, 14, 0.35) 70%),
    linear-gradient(180deg, var(--bg), transparent 18%, transparent 82%, var(--bg));
}
.obvan-teaser__card {
  display: grid;
  gap: 20px;
  max-width: 580px;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(16, 16, 20, 0.55);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  justify-items: start;
}
.spec-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; width: 100%; padding-block: 8px; }
.spec-list li { display: grid; gap: 2px; }
.spec-list span { font-size: 13px; color: var(--muted); }
.spec-list strong { font-weight: 500; font-size: 15px; line-height: 1.35; }

/* ---------- Reference slider ---------- */

.slider__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.slider__controls { display: flex; gap: 10px; }

.slider__track {
  --offset: max(var(--gutter), calc((100vw - var(--container)) / 2));
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(82vw, 420px);
  gap: 20px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--offset);
  padding: 4px var(--offset) 8px;
  scrollbar-width: none;
  cursor: grab;
}
.slider__track::-webkit-scrollbar { display: none; }
.slider__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.slider__track.is-dragging * { pointer-events: none; }
.slider__track [data-slide] { scroll-snap-align: start; }
.js .slider__track [data-slide] { opacity: 0.4; transform: scale(0.94); transition: opacity 0.7s var(--ease), transform 0.9s var(--ease); }
.js .slider__track [data-slide].is-visible { opacity: 1; transform: none; }

.slider__foot { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 32px; }
.slider__progress { flex: 1; max-width: 360px; height: 2px; background: var(--line-2); border-radius: 2px; overflow: hidden; }
.slider__progress span { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0.1); transition: transform 0.3s var(--ease); }

.ref-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.ref-card__media { aspect-ratio: 4 / 3; overflow: hidden; }
.ref-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); user-select: none; }
.ref-card:hover .ref-card__media img { transform: scale(1.05); }
.ref-card__body { display: flex; flex-direction: column; gap: 12px; padding: 24px; flex: 1; }
.ref-card__body h3, .ref-card__body h2 { font-size: 1.35rem; letter-spacing: -0.02em; line-height: 1.2; }
.ref-card__body > p { color: var(--muted); font-size: 15px; }
.ref-card__meta { display: flex; gap: 8px; font-size: 13px; color: var(--muted) !important; }
.ref-card__meta span { opacity: 0.5; }
.ref-card .chips { margin-top: auto; padding-top: 8px; }
.ref-card__quote { margin: 8px 0 0; padding-left: 16px; border-left: 2px solid var(--accent); }
.ref-card__quote p { font-size: 15px; }
.ref-card__quote cite { display: block; margin-top: 6px; font-size: 13px; font-style: normal; color: var(--muted); }

.ref-card { position: relative; }
.ref-card__open {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: 4px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.ref-card__open i { color: var(--accent); font-size: 18px; }
.ref-card__open span { border-bottom: 1px solid var(--line-2); transition: border-color 0.3s var(--ease); }
.ref-card__open:hover span { border-color: var(--accent); }
/* The whole card opens the gallery. */
.ref-card__open::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.ref-card:has(.ref-card__open) { cursor: zoom-in; }
.ref-card:has(.ref-card__open:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.ref-card__open:focus-visible { outline: none; }

/* Card links to the reference detail; the whole card is clickable. */
.ref-card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.ref-card__link:focus-visible { outline: none; }
.ref-card:has(.ref-card__link:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.ref-card:hover .ref-card__more span { border-color: var(--accent); }
.ref-card__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 14px; font-weight: 500; color: var(--text) !important; }
.ref-card__more i { color: var(--accent); font-size: 18px; }
.ref-card__more span { border-bottom: 1px solid var(--line-2); transition: border-color 0.3s var(--ease); }
.ref-card__media { position: relative; }
.ref-card__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.5s var(--ease); }
.ref-card.is-previewing .ref-card__media video { opacity: 1; }

/* ---------- Reference detail ---------- */

.edition { display: grid; gap: 40px; }
.tabs .edition { margin-top: 8px; }
.edition__info { display: grid; gap: 20px; max-width: 760px; }
.edition__facts { display: flex; flex-wrap: wrap; gap: 12px 40px; margin: 0; }
.edition__facts dt { font-size: 13px; color: var(--muted); }
.edition__facts dd { margin: 2px 0 0; font-weight: 500; }
.edition__videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 16px; }
.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; gap: 12px; }
.photo-grid__item { padding: 0; border: 0; background: var(--surface); border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; cursor: zoom-in; }
.photo-grid__item:nth-child(6n + 1) { grid-column: span 2; grid-row: span 2; }
.photo-grid__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.photo-grid__item:hover img { transform: scale(1.05); }

.video { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--surface); aspect-ratio: 16 / 9; }
.video video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.video__lite { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: #000; cursor: pointer; }
.video__lite img { width: 100%; height: 100%; object-fit: cover; opacity: 0.75; transition: opacity 0.4s var(--ease), transform 1s var(--ease); }
.video__lite:hover img { opacity: 0.9; transform: scale(1.02); }
.video__play { position: absolute; inset: 0; margin: auto; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--accent-strong); color: #fff; font-size: 30px; box-shadow: 0 16px 50px -12px rgba(236, 0, 140, 0.7); transition: transform 0.4s var(--ease); }
.video__lite:hover .video__play { transform: scale(1.08); }
.video__notice { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 14px; background: linear-gradient(0deg, rgba(8, 8, 10, 0.85), transparent); color: rgba(244, 244, 246, 0.8); font-size: 12px; text-align: left; }
.video iframe { width: 100%; height: 100%; border: 0; display: block; }

@media (max-width: 767px) {
  .photo-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
}

/* ---------- Lightbox ---------- */

.lightbox {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 16px var(--gutter) 20px;
  border: 0;
  background: rgba(8, 8, 10, 0.96);
  color: var(--text);
  display: none;
  grid-template-rows: auto 1fr auto;
  gap: 16px;
}
.lightbox[open] { display: grid; animation: lightbox-in 0.4s var(--ease); }
.lightbox::backdrop { background: rgba(0, 0, 0, 0.6); }
@keyframes lightbox-in { from { opacity: 0; } }
.lightbox__top { display: flex; align-items: center; gap: 16px; }
.lightbox__title { font-weight: 600; font-size: 1.1rem; }
.lightbox__count { margin-left: auto; color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.lightbox__stage { position: relative; display: grid; place-items: center; min-height: 0; }
.lightbox__stage img { max-width: 100%; max-height: calc(100dvh - 190px); object-fit: contain; border-radius: 12px; user-select: none; }
.lightbox__stage img.is-changing { animation: lightbox-img 0.45s var(--ease); }
@keyframes lightbox-img { from { opacity: 0; transform: scale(0.98); } }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(21, 21, 26, 0.8); z-index: 1; }
.lightbox__nav--prev { left: 0; }
.lightbox__nav--next { right: 0; }
.lightbox__thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; justify-content: safe center; }
.lightbox__thumbs button { flex: none; width: 88px; height: 60px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: none; opacity: 0.5; cursor: pointer; transition: opacity 0.3s, border-color 0.3s; }
.lightbox__thumbs button[aria-current="true"] { opacity: 1; border-color: var(--accent); }
.lightbox__thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 767px) {
  .lightbox__nav { display: none; }
  .lightbox__thumbs button { width: 64px; height: 44px; }
}

/* ---------- Process ---------- */

.process__steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: clamp(48px, 6vw, 80px);
  counter-reset: step;
}
.process__steps::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 22px;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--line-2));
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.8s var(--ease-in-out) 0.2s;
}
.process__steps.is-in::before { transform: scaleX(1); }
.process__step { position: relative; display: grid; gap: 12px; align-content: start; }
.process__num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.process__step h3 { font-size: 1.35rem; letter-spacing: -0.02em; }
.process__step p { color: var(--muted); font-size: 16px; }

/* ---------- Pricing ---------- */

.pricing-section { background: radial-gradient(60% 50% at 50% 0%, rgba(236, 0, 140, 0.08), transparent 70%); }

.tabs__list {
  position: relative;
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  margin-bottom: 40px;
  border: 1px solid var(--line-2);
  border-radius: var(--pill);
  background: var(--surface);
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs__tab {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border: 0;
  border-radius: var(--pill);
  background: none;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.3s;
}
.tabs__tab[aria-selected="true"] { color: var(--text); }
.tabs__tab:hover { color: var(--text); }
.tabs__indicator {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 0;
  width: 0;
  border-radius: var(--pill);
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  transition: transform 0.5s var(--ease), width 0.5s var(--ease);
}
.no-js .tabs__panel[hidden] { display: block; margin-top: 48px; }
.tabs__panel:not([hidden]) .plan { animation: plan-in 0.7s var(--ease) both; animation-delay: calc(var(--i, 0) * 80ms); }
@keyframes plan-in { from { opacity: 0; transform: translateY(20px); } }

.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.4s var(--ease), transform 0.5s var(--ease);
}
.plan:hover { border-color: rgba(255, 255, 255, 0.28); }
.plan--featured {
  border-color: rgba(236, 0, 140, 0.6);
  background: linear-gradient(180deg, rgba(236, 0, 140, 0.14), var(--surface) 48%);
  box-shadow: 0 30px 80px -40px rgba(236, 0, 140, 0.55);
}
.plan--featured:hover { border-color: var(--accent); }
.plan__badge {
  position: absolute;
  top: -14px;
  left: 32px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--pill);
  background: var(--accent-strong);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.plan__name { font-size: 1.5rem; letter-spacing: -0.02em; }
.plan__desc { color: var(--muted); font-size: 15px; min-height: 3em; }
.plan__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 8px; padding-block: 12px 20px; border-bottom: 1px solid var(--line); }
.plan__price strong { font-size: clamp(2.2rem, 1.8rem + 1vw, 2.75rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan__from, .plan__unit { color: var(--muted); font-size: 14px; }
.plan__features { display: grid; gap: 12px; flex: 1; padding-bottom: 12px; }
.plan__features li { display: flex; gap: 10px; font-size: 15px; line-height: 1.45; }
.plan__features i { flex: none; margin-top: 3px; color: var(--accent); }

.pricing__note { display: flex; gap: 10px; align-items: center; margin-top: 28px; color: var(--muted); font-size: 14px; }
.pricing__note i { color: var(--accent); font-size: 18px; flex: none; }

/* ---------- FAQ ---------- */

.faq__grid { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(40px, 6vw, 96px); }
.faq__intro { display: grid; gap: 16px; align-content: start; }
.faq__intro a { color: var(--text); border-bottom: 1px solid var(--accent); }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
  font-weight: 500;
  list-style: none;
  cursor: pointer;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary i { flex: none; font-size: 20px; color: var(--accent); transition: transform 0.4s var(--ease); }
.faq__item[open] summary i { transform: rotate(45deg); }
.faq__answer { padding: 0 48px 24px 0; color: var(--muted); }
.faq__item[open] .faq__answer { animation: faq-in 0.5s var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- Final CTA ---------- */

.cta { position: relative; padding-block: clamp(120px, 14vw, 200px); overflow: hidden; isolation: isolate; text-align: center; }
.cta__bg { position: absolute; inset: 0; z-index: -1; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.28; filter: grayscale(0.3); }
.cta__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 60% at 50% 100%, rgba(236, 0, 140, 0.22), transparent 70%),
    linear-gradient(180deg, var(--bg), rgba(11, 11, 14, 0.6) 40%, rgba(11, 11, 14, 0.85));
}
.cta__inner { display: grid; gap: 24px; justify-items: center; }
.cta .display { max-width: 16ch; }
.cta .lead { margin-inline: auto; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
.cta__note { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.cta__note i { color: var(--accent); }

/* ---------- Page hero (sub pages) ---------- */

.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(72svh, 720px);
  padding: calc(var(--header-h) + 64px) 0 clamp(48px, 7vw, 88px);
  overflow: hidden;
  isolation: isolate;
}
.page-hero--plain { min-height: 0; padding-bottom: clamp(32px, 4vw, 56px); }
.page-hero__media { position: absolute; inset: 0; z-index: -1; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); animation: hero-zoom 2.2s var(--ease) forwards; }
.page-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 11, 14, 0.75), rgba(11, 11, 14, 0) 28%),
    linear-gradient(90deg, rgba(11, 11, 14, 0.9), rgba(11, 11, 14, 0.4) 75%),
    linear-gradient(0deg, var(--bg), rgba(11, 11, 14, 0) 50%);
}
.page-hero__inner { display: grid; gap: 20px; justify-items: start; }
.page-hero .display { max-width: 16ch; }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.crumbs a:hover { color: var(--text); }
.crumbs i { font-size: 11px; opacity: 0.6; }
.crumbs [aria-current] { color: var(--text); }

/* ---------- Split + bento (service pages) ---------- */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split__text { display: grid; gap: 24px; }
.split--reverse .split__media { order: -1; }
.split__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 5 / 4; }
.split__media--tall { aspect-ratio: 4 / 5; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }

.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: clamp(40px, 5vw, 64px); }
.bento__cell {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  isolation: isolate;
  transition: border-color 0.4s var(--ease);
}
.bento__cell:hover { border-color: var(--line-2); }
.bento__cell h3 { font-size: 1.2rem; letter-spacing: -0.02em; line-height: 1.25; }
.bento__cell p { color: var(--muted); font-size: 15px; }
.bento__cell--hero { grid-column: span 2; grid-row: span 2; justify-content: flex-end; min-height: 380px; padding: 36px; }
.bento__cell--hero h3 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.3rem); letter-spacing: -0.03em; }
.bento__cell--hero p { color: rgba(244, 244, 246, 0.82); font-size: 17px; max-width: 42ch; }
.bento__bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.bento__cell--hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(11, 11, 14, 0.95) 10%, rgba(11, 11, 14, 0.25)); }
.bento__cell--hero:hover .bento__bg { transform: scale(1.04); }
.bento__cell:nth-child(8):last-child { grid-column: span 2; }
.bento__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 8px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 22px;
}

.events { display: grid; gap: 16px; margin-top: 48px; }
.events__title { font-size: 15px; font-weight: 500; color: var(--muted); }

.muted-heading { color: var(--muted); margin-bottom: 24px; }
.other-services { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.other-service {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.4s var(--ease), background-color 0.4s var(--ease);
}
.other-service:hover { border-color: var(--line-2); background: var(--surface-2); }
.other-service strong { display: block; font-size: 1.15rem; }
.other-service small { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.other-service__arrow { margin-left: auto; font-size: 22px; color: var(--accent); flex: none; transition: transform 0.4s var(--ease); }
.other-service:hover .other-service__arrow { transform: translate(3px, -3px); }

/* ---------- Services overview ---------- */

.service-cards { display: grid; grid-template-columns: 7fr 5fr; grid-template-rows: auto auto; gap: 20px; }
.service-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.4s var(--ease);
}
.service-card:hover { border-color: var(--line-2); }
.service-card:first-child { grid-row: span 2; }
.service-card__media { aspect-ratio: 16 / 9; overflow: hidden; }
.service-card:first-child .service-card__media { aspect-ratio: auto; flex: 1; min-height: 320px; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.service-card:hover .service-card__media img { transform: scale(1.05); }
.service-card__body { display: flex; flex-direction: column; gap: 12px; padding: 28px; }

/* ---------- OB van ---------- */

.strengths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.strength { display: grid; gap: 12px; align-content: start; padding: 8px clamp(20px, 3vw, 40px); border-left: 1px solid var(--line-2); }
.strength h3 { font-size: 1.35rem; letter-spacing: -0.02em; }

.spec-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: clamp(40px, 5vw, 64px); }
.spec-group { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: start; }
.spec-group h3 { grid-column: 1 / -1; font-size: 15px; font-weight: 500; color: var(--muted); margin-bottom: 4px; }
.spec-tile {
  display: grid;
  gap: 8px;
  align-content: space-between;
  min-height: 140px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.spec-tile span { font-size: 14px; color: var(--muted); }
.spec-tile strong { font-size: 1.2rem; font-weight: 500; letter-spacing: -0.02em; line-height: 1.3; }

.gallery { display: grid; grid-template-columns: 7fr 5fr; gap: 16px; }
.gallery__item { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.gallery__item:nth-child(4n + 2), .gallery__item:nth-child(4n + 3) { aspect-ratio: auto; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery__item:hover img { transform: scale(1.04); }

/* OB van: specs as tabbed tiles, counts highlighted */
.specs-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 48px); }
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-flow: dense; gap: 16px; }
.spec-item {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.4s var(--ease);
}
.spec-item:hover { border-color: var(--line-2); }
.tabs__panel:not([hidden]) .spec-item { animation: plan-in 0.6s var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms); }
.spec-item--tall { grid-row: span 2; }
.spec-item__name { font-size: 14px; color: var(--muted); }
.spec-item__values { display: grid; gap: 8px; }
.spec-item__values li { display: flex; align-items: baseline; gap: 10px; font-size: 1.05rem; font-weight: 500; letter-spacing: -0.01em; line-height: 1.35; }
.spec-item__count { flex: none; min-width: 2.4em; color: var(--accent); font-weight: 600; font-variant-numeric: tabular-nums; }
.service-cards--three { grid-template-columns: repeat(3, 1fr); grid-template-rows: none; margin-top: clamp(40px, 5vw, 64px); }
.service-cards--three .service-card:first-child { grid-row: auto; }
.service-cards--three .service-card:first-child .service-card__media { aspect-ratio: 16 / 9; flex: none; min-height: 0; }
@media (max-width: 1023px) {
  .spec-grid { grid-template-columns: 1fr 1fr; }
  .service-cards--three { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .spec-grid { grid-template-columns: 1fr; }
  .spec-item--tall { grid-row: auto; }
}

/* ---------- Case studies ---------- */

.cases { display: grid; gap: clamp(64px, 8vw, 112px); }
.case { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.case__media { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 16px; }
.case__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.case__metric { display: flex; align-items: baseline; gap: 14px; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.case__metric strong { font-size: clamp(2rem, 1.5rem + 1.5vw, 2.75rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; color: var(--accent); }
.case__metric span { color: var(--muted); font-size: 15px; }
.case__body { display: grid; gap: 24px; justify-items: start; }
.case__service { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.case__service i { color: var(--accent); font-size: 18px; }
.case__service:hover { color: var(--text); }
.case__facts { display: grid; gap: 20px; margin: 0; }
.case__facts dt { font-size: 14px; font-weight: 500; color: var(--muted); margin-bottom: 4px; }
.case__facts dd { margin: 0; }
.case__result { padding: 20px; border-radius: var(--radius-sm); background: var(--accent-soft); border: 1px solid rgba(236, 0, 140, 0.3); }
.case__result dt { color: var(--accent); }

/* ---------- References page ---------- */

.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filter__btn {
  padding: 10px 18px;
  border: 1px solid var(--line-2);
  border-radius: var(--pill);
  background: transparent;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.filter__btn:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.32); }
.filter__btn[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }

.ref-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-flow: dense; gap: 20px; }
.ref-card--wide { grid-column: span 2; flex-direction: row; }
.ref-card--wide .ref-card__media { flex: 1.3; aspect-ratio: auto; min-height: 100%; }
.ref-card--wide .ref-card__body { flex: 1; }
.ref-card.is-filtered-out { display: none; }
.more { display: flex; justify-content: center; margin-top: 40px; }
.more [data-more-count] { color: var(--muted); font-weight: 500; }
.empty-state { padding: 48px; text-align: center; color: var(--muted); border: 1px dashed var(--line-2); border-radius: var(--radius); }

/* ---------- Contact ---------- */

.contact-hero { padding: calc(var(--header-h) + 56px) 0 var(--section); background: radial-gradient(50% 40% at 80% 10%, rgba(236, 0, 140, 0.1), transparent 70%); }
.contact { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__aside { display: grid; gap: 24px; justify-items: start; position: sticky; top: calc(var(--header-h) + 32px); }
.contact__aside .display { font-size: clamp(2.25rem, 1.4rem + 3vw, 4rem); }
.assurance { display: grid; gap: 14px; padding-block: 8px; }
.assurance li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.assurance strong { color: var(--text); font-weight: 600; }
.assurance i { flex: none; margin-top: 3px; font-size: 20px; color: var(--accent); }
.contact__direct { display: grid; gap: 6px; justify-items: start; padding-top: 24px; border-top: 1px solid var(--line); width: 100%; }
.contact__phone { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); font-weight: 600; letter-spacing: -0.03em; }
.contact__phone:hover { color: var(--accent); }

.contact__form { padding: clamp(24px, 4vw, 48px); border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--surface); }
.form { display: grid; gap: 32px; }
.form__group { display: grid; gap: 20px; margin: 0; padding: 0; border: 0; min-width: 0; }
.form__group legend { padding: 0; margin-bottom: 20px; font-size: 1.2rem; font-weight: 600; letter-spacing: -0.02em; }
.field { display: grid; gap: 8px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field label { font-size: 14px; font-weight: 500; }
.req { color: var(--accent); }
.field input:not([type="checkbox"]), .field select, .field textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: #85858f; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(255, 255, 255, 0.3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.field [aria-invalid="true"] { border-color: var(--error) !important; }
.field input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(1); opacity: 0.6; cursor: pointer; }
.select { position: relative; }
.select select { appearance: none; padding-right: 44px; cursor: pointer; }
.select i { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); }
.field__hint { font-size: 13px; color: var(--muted); }
.field__error { display: flex; gap: 6px; align-items: center; font-size: 14px; color: var(--error); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px !important; font-weight: 400 !important; color: var(--muted); cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); }
.form__alert { display: flex; gap: 10px; align-items: center; padding: 14px 16px; border: 1px solid rgba(255, 143, 143, 0.4); border-radius: var(--radius-sm); background: rgba(255, 143, 143, 0.08); color: var(--error); }
.form__fineprint { display: flex; gap: 8px; align-items: center; justify-content: center; margin-top: -16px; font-size: 13px; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn.is-loading { pointer-events: none; opacity: 0.8; }
.btn.is-loading .btn__label::after { content: "…"; }

/* ---------- Message pages ---------- */

.message-page { display: grid; align-items: center; min-height: 86svh; padding: calc(var(--header-h) + 48px) 0 80px; background: radial-gradient(40% 40% at 50% 30%, rgba(236, 0, 140, 0.12), transparent 70%); }
.message-page__inner { display: grid; gap: 24px; justify-items: center; text-align: center; }
.message-page .lead { margin-inline: auto; }
.message-page__icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--accent-strong); font-size: 32px; }

/* ---------- Footer ---------- */

.site-footer { padding: clamp(64px, 8vw, 104px) 0 32px; border-top: 1px solid var(--line); background: var(--bg-2); font-size: 15px; }
.site-footer__top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.site-footer__brand { display: grid; gap: 20px; align-content: start; max-width: 340px; }
.site-footer__brand img { width: 140px; height: auto; }
.site-footer__brand p { color: var(--muted); }
.site-footer__social { display: flex; gap: 8px; }
.site-footer__social a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 50%; font-size: 20px; transition: all 0.3s var(--ease); }
.site-footer__social a:hover { border-color: var(--accent); color: var(--accent); }
.site-footer__col h2 { margin-bottom: 16px; font-size: 14px; font-weight: 500; color: var(--muted); }
.site-footer__col ul { display: grid; gap: 10px; }
.site-footer__col a:hover { color: var(--accent); }
.site-footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }

/* ---------- Mobile sticky CTA ---------- */

.mobile-cta { display: none; }

@media (max-width: 767px) {
  .mobile-cta {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    z-index: var(--z-mobile-cta);
    display: flex;
    gap: 8px;
    padding: 8px;
    border: 1px solid var(--line-2);
    border-radius: var(--pill);
    background: rgba(21, 21, 26, 0.88);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    transform: translateY(calc(100% + 24px));
    transition: transform 0.5s var(--ease);
  }
  .mobile-cta.is-visible { transform: none; }
  .mobile-cta .btn { flex: 1; }
  .mobile-cta__call { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); font-size: 20px; color: var(--accent); }
  .site-footer { padding-bottom: 104px; }
}

/* ---------- Collaboration page ---------- */

.positions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.position {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.4s var(--ease), transform 0.5s var(--ease);
}
.position:hover { border-color: var(--line-2); }
.position h3 { font-size: 1.2rem; letter-spacing: -0.02em; line-height: 1.25; }
.position p { color: var(--muted); font-size: 15px; }
.position__link { margin-top: auto; align-self: flex-start; padding-top: 8px; font-size: 15px; }
.position--cta { grid-column: span var(--span-lg, 1); border-style: dashed; border-color: rgba(236, 0, 140, 0.45); background: linear-gradient(180deg, var(--accent-soft), var(--surface) 70%); }
.strengths--spaced { margin-top: clamp(40px, 5vw, 64px); }

.segmented { display: inline-flex; padding: 4px; border: 1px solid var(--line-2); border-radius: var(--pill); background: var(--bg); justify-self: start; }
.segmented__option { position: relative; cursor: pointer; }
.segmented__option input { position: absolute; opacity: 0; pointer-events: none; }
.segmented__option span { display: block; padding: 9px 18px; border-radius: var(--pill); font-size: 15px; font-weight: 500; color: var(--muted); transition: all 0.3s var(--ease); }
.segmented__option input:checked + span { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.segmented__option input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.field__label { font-size: 14px; font-weight: 500; }
.pick-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pick-chips[aria-invalid="true"] .pick-chip span { border-color: rgba(255, 143, 143, 0.5); }
.pick-chip { position: relative; cursor: pointer; }
.pick-chip input { position: absolute; opacity: 0; pointer-events: none; }
.pick-chip span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--line-2); border-radius: var(--pill); font-size: 14px; color: var(--muted); transition: all 0.25s var(--ease); }
.pick-chip span i { font-size: 16px; }
.pick-chip:hover span { color: var(--text); border-color: rgba(255, 255, 255, 0.32); }
.pick-chip input:checked + span { color: var(--text); border-color: var(--accent); background: var(--accent-soft); }
.pick-chip input:checked + span i { color: var(--accent); }
.pick-chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.pick-chip.is-pulsed span { animation: chip-pulse 0.9s var(--ease); }
@keyframes chip-pulse { 30% { transform: scale(1.06); box-shadow: 0 0 0 6px var(--accent-soft); } }

.site-footer__subhead { margin-top: 28px; }
.small-note { font-size: 14px; }
.small-note a { color: var(--text); border-bottom: 1px solid var(--accent); }

@media (max-width: 1023px) {
  .positions { grid-template-columns: 1fr 1fr; }
  .position--cta { grid-column: span var(--span-md, 1); }
}
@media (max-width: 767px) {
  .positions { grid-template-columns: 1fr; }
  .position--cta { grid-column: auto; }
}

/* ---------- 404: "No signal" ---------- */

.nosignal { padding: calc(var(--header-h) + 56px) 0 var(--section); overflow: hidden; }
.nosignal__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.nosignal__text { display: grid; gap: 24px; justify-items: start; }
.nosignal__path {
  padding: 2px 8px;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.85em;
  word-break: break-all;
}
.rec--lost { background: var(--muted); animation: rec-lost 1.2s steps(2, jump-none) infinite; box-shadow: none; }
@keyframes rec-lost { 50% { opacity: 0.2; } }

.nosignal__suggest {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid rgba(236, 0, 140, 0.45);
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  transition: border-color 0.3s var(--ease), transform 0.4s var(--ease);
}
.nosignal__suggest:hover { border-color: var(--accent); transform: translateX(4px); }
.nosignal__suggest i { color: var(--accent); font-size: 20px; }
.nosignal__suggest strong { font-weight: 600; }

/* Monitor with a broadcast test pattern in the brand colours */
.monitor {
  --bar-white: #c9c9cf;
  --bar-yellow: #d9d92e;
  --bar-cyan: #2ec9d0;
  --bar-green: #3ec23a;
  --bar-magenta: #d12ad4;
  --bar-red: #d42a2e;
  --bar-blue: #3434d4;
  padding: 14px 14px 12px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #1b1b21, #111115);
  box-shadow: 0 40px 100px -40px rgba(236, 0, 140, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  opacity: 0;
  animation: monitor-in 0.8s var(--ease) calc(var(--load-delay) + 150ms) forwards;
}
@keyframes monitor-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.monitor__screen {
  position: relative;
  display: grid;
  grid-template-rows: 3fr 1fr;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  overflow: hidden;
  background: #050507;
  transform-origin: center;
  animation: crt-on 1.1s var(--ease) calc(var(--load-delay) + 450ms) both;
}
/* Old-TV power-on: a bright line opens into the picture. */
@keyframes crt-on {
  0% { transform: scale(1, 0.006); filter: brightness(4); }
  45% { transform: scale(1, 0.006); filter: brightness(4); }
  70% { transform: scale(1, 1.04); filter: brightness(1.6); }
  100% { transform: none; filter: none; }
}

.monitor__bars { display: grid; grid-template-columns: repeat(7, 1fr); animation: bars-glitch 5s steps(1, end) calc(var(--load-delay) + 2s) infinite; }
.monitor__bars span:nth-child(1) { background: var(--bar-white); }
.monitor__bars span:nth-child(2) { background: var(--bar-yellow); }
.monitor__bars span:nth-child(3) { background: var(--bar-cyan); }
.monitor__bars span:nth-child(4) { background: var(--bar-green); }
.monitor__bars span:nth-child(5) { background: var(--bar-magenta); }
.monitor__bars span:nth-child(6) { background: var(--bar-red); }
.monitor__bars span:nth-child(7) { background: var(--bar-blue); }
.monitor__bars--low { animation-delay: calc(var(--load-delay) + 2.1s); }
.monitor__bars--low span:nth-child(1) { background: var(--bar-blue); }
.monitor__bars--low span:nth-child(2) { background: #111; }
.monitor__bars--low span:nth-child(3) { background: var(--bar-magenta); }
.monitor__bars--low span:nth-child(4) { background: #111; }
.monitor__bars--low span:nth-child(5) { background: var(--bar-cyan); }
.monitor__bars--low span:nth-child(6) { background: #111; }
.monitor__bars--low span:nth-child(7) { background: var(--bar-white); }

/* Short signal drop-outs: the picture jumps sideways and loses colour for a moment. */
@keyframes bars-glitch {
  0%, 100% { transform: none; filter: none; }
  2% { transform: translateX(-6%) skewX(-6deg); filter: saturate(3) hue-rotate(40deg); }
  3% { transform: translateX(4%); filter: grayscale(1) brightness(1.6); }
  4% { transform: none; filter: none; }
  51% { transform: translateX(2%); filter: contrast(2); }
  52% { transform: none; filter: none; }
}

.monitor__scan {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.22) 0 1px, transparent 1px 3px),
    radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(0, 0, 0, 0.55));
  mix-blend-mode: multiply;
}
.monitor__scan::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 18%;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  animation: scan-roll 3.2s linear infinite;
}
@keyframes scan-roll { from { transform: translateY(-100%); } to { transform: translateY(600%); } }

.monitor__center {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 6px;
}
.monitor__center strong {
  padding: 4px 22px;
  background: rgba(8, 8, 10, 0.88);
  color: #fff;
  font-size: clamp(3rem, 2rem + 4vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  text-shadow: 3px 0 rgba(236, 0, 140, 0.8), -3px 0 rgba(46, 201, 208, 0.7);
}
.monitor__center span {
  padding: 4px 12px;
  background: rgba(8, 8, 10, 0.88);
  color: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: clamp(0.75rem, 0.6rem + 0.4vw, 0.95rem);
  letter-spacing: 0.3em;
  animation: rec-lost 1.6s steps(2, jump-none) infinite;
}
.monitor__meta {
  display: flex;
  justify-content: space-between;
  padding: 10px 4px 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.08em;
}
.monitor__meta span { display: inline-flex; align-items: center; gap: 8px; }
.monitor__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: rec-lost 1.2s steps(2, jump-none) infinite; }
.monitor__tc { font-variant-numeric: tabular-nums; color: var(--text); }

/* Other channels */
.nosignal__channels { margin-top: clamp(64px, 8vw, 112px); }
.nosignal__channels-title { margin-bottom: 20px; font-size: 15px; font-weight: 500; color: var(--muted); }
.channels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.channel {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.channel:hover { border-color: var(--line-2); background: var(--surface-2); }
.channel__num { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; color: var(--muted); letter-spacing: 0.08em; }
.channel__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); font-size: 20px; }
.channel__body { display: grid; gap: 2px; min-width: 0; }
.channel__body strong { font-weight: 600; }
.channel__body small { color: var(--muted); font-size: 13px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.channel__arrow { color: var(--muted); transition: transform 0.4s var(--ease), color 0.3s; }
.channel:hover .channel__arrow { color: var(--accent); transform: translate(3px, -3px); }

@media (max-width: 1023px) {
  .nosignal__grid { grid-template-columns: 1fr; }
  .monitor { max-width: 560px; }
  .channels { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .channels { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .monitor { opacity: 1; }
  .monitor__scan::after { display: none; }
}

/* ---------- Legal pages ---------- */

.legal { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.legal__toc { position: sticky; top: calc(var(--header-h) + 32px); padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.legal__toc-title { margin-bottom: 10px; font-size: 13px; font-weight: 500; color: var(--muted); }
.legal__toc ol { display: grid; gap: 2px; counter-reset: toc; }
.legal__toc a { display: block; padding: 6px 8px; margin-inline: -8px; border-radius: 8px; font-size: 14px; color: var(--muted); line-height: 1.35; }
.legal__toc a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.legal__body { max-width: 72ch; color: rgba(244, 244, 246, 0.86); }
.legal__body h2 { margin: 48px 0 14px; font-size: clamp(1.3rem, 1.1rem + 0.6vw, 1.6rem); letter-spacing: -0.02em; color: var(--text); scroll-margin-top: calc(var(--header-h) + 24px); }
.legal__body h2:first-child { margin-top: 0; }
.legal__body p + p, .legal__body p + ul, .legal__body ul + p { margin-top: 14px; }
.legal__body ul { display: grid; gap: 10px; margin-top: 12px; }
.legal__body li { position: relative; padding-left: 22px; }
.legal__body li::before { content: ""; position: absolute; left: 4px; top: 0.72em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.legal__body strong { color: var(--text); font-weight: 600; }
.legal__body a, .check a, .pricing__note a { color: var(--text); border-bottom: 1px solid var(--accent); }
.legal__contact { margin-top: 48px !important; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer__legal a:hover { color: var(--text); }

@media (max-width: 1023px) {
  .legal { grid-template-columns: 1fr; }
  .legal__toc { position: static; }
}

/* ---------- Scroll-driven parallax (progressive enhancement) ---------- */

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    [data-parallax] {
      animation: parallax linear both;
      animation-timeline: view();
    }
    @keyframes parallax {
      from { transform: translateY(-6%) scale(1.12); }
      to { transform: translateY(6%) scale(1.12); }
    }
    .hero__inner {
      animation: hero-out linear both;
      animation-timeline: scroll(root);
      animation-range: 0 90vh;
    }
    @keyframes hero-out { to { opacity: 0; transform: translateY(-8vh); } }
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 1023px) {
  .services__grid, .faq__grid, .contact, .split, .case { grid-template-columns: 1fr; }
  .services__intro, .contact__aside, .case__media { position: static; }
  .split--reverse .split__media { order: 0; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .process__steps { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .process__steps::before { display: none; }
  .pricing { grid-template-columns: 1fr; max-width: 560px; }
  .plan--featured { order: -1; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento__cell--hero { grid-row: auto; min-height: 320px; }
  .ref-grid { grid-template-columns: 1fr 1fr; }
  .ref-card--wide { grid-column: span 2; }
  .site-footer__top { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
  .spec-groups { grid-template-columns: 1fr; }
  .service-cards { grid-template-columns: 1fr 1fr; }
  .service-card:first-child { grid-row: auto; grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  :root { --header-h: 64px; }
  body { font-size: 16px; }
  .site-header__logo img { width: 112px; }
  .hero { align-items: flex-end; }
  .hero__media::after {
    background: linear-gradient(0deg, var(--bg) 8%, rgba(11, 11, 14, 0.7) 55%, rgba(11, 11, 14, 0.45) 100%);
  }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1 1 100%; }
  .service-row { grid-template-columns: 1fr; gap: 20px; margin-inline: 0; padding: 0; }
  .service-row:hover { background: none; }
  .service-row + .service-row { margin-top: 48px; }
  .accordion-gallery { flex-direction: column; height: auto; }
  .accordion-gallery__panel, .accordion-gallery__panel.is-open { flex: none; height: 360px; }
  .accordion-gallery__body p { opacity: 1; transform: none; }
  .spec-list { grid-template-columns: 1fr; }
  .slider__controls { display: none; }
  .process__steps { grid-template-columns: 1fr; }
  .bento, .ref-grid, .other-services, .service-cards, .strengths, .gallery, .field-row, .spec-group { grid-template-columns: 1fr; }
  .bento__cell--hero, .bento__cell:nth-child(8):last-child, .ref-card--wide, .service-card:first-child { grid-column: auto; }
  .ref-card--wide { flex-direction: column; }
  .ref-card--wide .ref-card__media { aspect-ratio: 4 / 3; flex: none; }
  .strength { border-left: 0; border-top: 1px solid var(--line-2); padding: 24px 0; }
  .gallery__item, .gallery__item:nth-child(4n + 2), .gallery__item:nth-child(4n + 3) { aspect-ratio: 4 / 3; }
  .plan { padding: 28px 24px; }
  .site-footer__top { grid-template-columns: 1fr; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; }
  .cta { text-align: left; }
  .cta__inner { justify-items: start; }
  .cta__actions { justify-content: flex-start; width: 100%; }
  .cta__actions .btn { flex: 1 1 100%; }
  .faq__answer { padding-right: 0; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
  .load-in { opacity: 1; transform: none; filter: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; }
  .marquee__list[aria-hidden] { display: none; }
  .marquee__list { flex-wrap: wrap; row-gap: 12px; padding-inline: var(--gutter); }
  .rec { animation: none; }
}
