/* ==========================================================================
   PIVAI — site design system
   Black + white + amber. Shared by every page.
   ========================================================================== */

:root {
  --black: #0a0a0b;
  --black-2: #121214;
  --black-3: #1b1b1e;
  --line-dark: rgba(255, 255, 255, 0.12);
  --ink: #f3f1ec;
  --ink-dim: rgba(243, 241, 236, 0.66);
  --ink-faint: rgba(243, 241, 236, 0.42);

  --paper: #f3f1ec;
  --paper-2: #e9e6df;
  --text: #121214;
  --text-dim: #55555b;
  --line-light: rgba(18, 18, 20, 0.12);

  --amber: #f5a524;
  --amber-deep: #d98a0b;

  --good: #3fb67a;
  --sat: #9bc53d;
  --fair: #f5c524;
  --poor: #f08a24;
  --vpoor: #e5484d;

  --crack-iso: #ff3b5c;
  --crack-block: #3a8dff;
  --crack-allig: #a855f7;

  --font: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 14px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--amber); color: var(--black); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.025em; line-height: 1.05; }
.display { font-size: clamp(42px, 6.2vw, 92px); letter-spacing: -0.045em; line-height: 0.98; font-weight: 600; }
.h1 { font-size: clamp(38px, 5.4vw, 76px); letter-spacing: -0.04em; }
.h2 { font-size: clamp(30px, 3.8vw, 54px); letter-spacing: -0.035em; }
.h3 { font-size: clamp(22px, 2.1vw, 30px); letter-spacing: -0.02em; line-height: 1.15; }
.lede { font-size: clamp(18px, 1.5vw, 21px); color: var(--ink-dim); max-width: 62ch; }
.light .lede { color: var(--text-dim); }
p { margin: 0 0 1em; }

/* ■ SECTION LABEL — the Applied-Intuition-style eyebrow */
.label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12.5px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-dim);
  margin-bottom: 22px;
}
.label::before { content: ""; width: 9px; height: 9px; background: var(--amber); flex: none; }
.light .label { color: var(--text-dim); }

.mono { font-family: var(--mono); }
.amber { color: var(--amber); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: -0.005em;
  border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .2s;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn-amber { background: var(--amber); color: var(--black); }
.btn-amber:hover { background: #ffb840; }
.btn-ghost { border-color: rgba(255,255,255,.32); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(255,255,255,.06); }
.light .btn-ghost { border-color: rgba(18,18,20,.28); color: var(--text); }
.light .btn-ghost:hover { border-color: var(--text); background: rgba(18,18,20,.04); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.arrow-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font); font-weight: 600; font-size: 15px; letter-spacing: -0.005em; color: var(--ink);
  border-bottom: 1px solid currentColor; padding-bottom: 3px;
}
.arrow-link svg { width: 14px; height: 14px; transition: transform .2s; }
.arrow-link:hover svg { transform: translateX(4px); }
.light .arrow-link { color: var(--text); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid, .site-header.is-open {
  background: rgba(10, 10, 11, 0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line-dark);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 34px; width: auto; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav-drop > button {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px;
  border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--ink-dim);
  background: none; border: 0; transition: color .2s, background .2s;
}
.nav > a:hover, .nav-drop > button:hover, .nav-drop.is-open > button { color: var(--ink); background: rgba(255,255,255,.07); }
.nav > a[aria-current="page"], .nav-drop.is-current > button { color: var(--ink); }
.nav-drop { position: relative; }
.nav-drop > button svg { width: 12px; height: 12px; transition: transform .2s; }
.nav-drop.is-open > button svg { transform: rotate(180deg); }
.drop-panel {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 6px);
  min-width: 280px; padding: 10px; border-radius: 16px;
  background: var(--black-2); border: 1px solid var(--line-dark);
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
  opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s;
}
.nav-drop.is-open .drop-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.drop-panel a { display: block; padding: 12px 14px; border-radius: 10px; }
.drop-panel a:hover { background: rgba(255,255,255,.06); }
.drop-panel strong { display: block; font-size: 15px; font-weight: 600; color: var(--ink); }
.drop-panel span { display: block; font-size: 13.5px; color: var(--ink-faint); margin-top: 2px; }
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-cta .btn { height: 40px; padding: 0 18px; font-size: 14px; }

.menu-toggle {
  display: none; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line-dark);
  background: none; align-items: center; justify-content: center;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; transition: transform .2s, background .2s;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.is-open .menu-toggle span { background: transparent; }
.is-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.is-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  display: none; position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  background: var(--black); padding: 24px var(--gutter) 40px; overflow-y: auto;
}
.mobile-nav.is-open { display: block; }
.mobile-nav h5 { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); margin: 24px 0 8px; font-weight: 500; }
.mobile-nav a { display: block; padding: 10px 0; font-size: 24px; font-weight: 600; letter-spacing: -0.02em; border-bottom: 1px solid var(--line-dark); }
.mobile-nav .btn { margin-top: 28px; width: 100%; justify-content: center; font-size: 16px; border: 0; }

@media (max-width: 980px) {
  .nav, .header-cta .btn-ghost { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 520px) { .header-cta .btn-amber { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  overflow: hidden; background: var(--black);
}
.hero-media { position: absolute; inset: 0; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-media img { animation: heroZoom 26s ease-out both; transform-origin: 55% 45%; }
@keyframes heroZoom { from { transform: scale(1.14); } to { transform: scale(1.0); } }
/* Home hero: calm the busy detection frame. Dim and desaturate it, push it right and fade the left side
   so the headline sits on a clean dark field while the detections stay visible on the right. */
.hero .hero-media img { object-position: 72% 40%; filter: saturate(.7) brightness(.78) contrast(1.05); transform-origin: 75% 40%; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,10,11,.97) 0%, rgba(10,10,11,.9) 30%, rgba(10,10,11,.55) 55%, rgba(10,10,11,.12) 80%),
    linear-gradient(180deg, rgba(10,10,11,.6) 0%, rgba(10,10,11,0) 22%),
    linear-gradient(0deg, rgba(10,10,11,.96) 4%, rgba(10,10,11,.4) 38%, rgba(10,10,11,0) 70%);
}
@media (max-width: 760px) {
  .hero::after { background: linear-gradient(0deg, rgba(10,10,11,.97) 10%, rgba(10,10,11,.82) 55%, rgba(10,10,11,.55) 100%); }
}
.hero .wrap { position: relative; z-index: 2; padding-bottom: clamp(48px, 8vh, 96px); padding-top: calc(var(--header-h) + 40px); }
.hero .display { max-width: 15ch; }
.hero .lede { margin-top: 26px; color: rgba(243,241,236,.8); }
.hero .btn-row { margin-top: 34px; }
.hero-strip {
  margin-top: clamp(40px, 7vh, 72px); padding-top: 22px; border-top: 1px solid var(--line-dark);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px 32px;
}
.hero-strip a { display: flex; flex-direction: column; gap: 4px; color: var(--ink-dim); font-size: 14.5px; }
.hero-strip a:hover { color: var(--ink); }
.hero-strip b { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .14em; color: var(--amber); }

/* Sub-page hero */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(56px, 10vh, 120px)) 0 clamp(48px, 8vh, 96px); overflow: hidden; }
.page-hero .h1 { max-width: 18ch; }
.page-hero .lede { margin-top: 24px; }
.page-hero.with-media { min-height: 78svh; display: flex; align-items: flex-end; }
.page-hero.with-media .hero-media img { animation-duration: 30s; }
/* Keep the top of the photo (e.g. the Atlas camera unit) in frame */
.hero-media.anchor-top img { object-position: 60% 6%; transform-origin: 60% 0; }
.page-hero.with-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(10,10,11,.97) 6%, rgba(10,10,11,.5) 50%, rgba(10,10,11,.25) 100%);
}
.page-hero.with-media .wrap { position: relative; z-index: 2; }
.crumbs { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 26px; }
.crumbs a:hover { color: var(--ink); }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 12vw, 160px) 0; position: relative; }
.section.tight { padding: clamp(56px, 8vw, 100px) 0; }
.section + .section.dark-continue { padding-top: 0; }
.light { background: var(--paper); color: var(--text); }
.light .h1, .light .h2, .light .h3 { color: var(--text); }
.panel-dark { background: var(--black-2); }
.rule-top { border-top: 1px solid var(--line-dark); }
.light.rule-top { border-top-color: var(--line-light); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.split.v-center { align-items: center; }
.split.wide-left { grid-template-columns: 1.25fr 1fr; }
.split.wide-right { grid-template-columns: 1fr 1.25fr; }
@media (max-width: 900px) { .split, .split.wide-left, .split.wide-right { grid-template-columns: 1fr; } }

.section-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: clamp(40px, 6vw, 72px); flex-wrap: wrap; }
.section-head > :first-child { flex: 1 1 520px; max-width: 700px; }
.section-head .h2 { max-width: 20ch; }
.section-head .lede { flex: 0 1 44ch; max-width: 44ch; margin: 0; }

/* Big statement paragraph (Applied Intuition "vision" block) */
.statement { font-size: clamp(26px, 3.2vw, 44px); line-height: 1.18; letter-spacing: -0.03em; font-weight: 500; max-width: 26ch; }
.statement em { font-style: normal; color: var(--ink-faint); }
.light .statement em { color: #8b8b90; }

/* ---------- Media frames ---------- */
.frame { border-radius: var(--radius); overflow: hidden; background: var(--black-3); position: relative; }
.frame img, .frame video { width: 100%; height: 100%; object-fit: cover; }
.frame.ratio-16x9 { aspect-ratio: 16/9; }
.frame.ratio-4x3 { aspect-ratio: 4/3; }
.frame.ratio-3x2 { aspect-ratio: 3/2; }
.frame .tag {
  position: absolute; left: 14px; top: 14px; z-index: 2;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 6px; background: rgba(10,10,11,.75); color: var(--ink); backdrop-filter: blur(6px);
}
figure { margin: 0; }
figcaption { font-size: 14px; color: var(--ink-faint); margin-top: 12px; }
.light figcaption { color: var(--text-dim); }

/* ---------- Product cards (Argus / Atlas) ---------- */
.products { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 860px) { .products { grid-template-columns: 1fr; } }
.product-card {
  position: relative; border-radius: 20px; overflow: hidden; background: var(--black-2);
  border: 1px solid var(--line-dark); display: flex; flex-direction: column; min-height: 560px;
  transition: border-color .25s, transform .25s;
}
.product-card:hover { border-color: rgba(245,165,36,.5); transform: translateY(-3px); }
.product-card .pc-media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: #000; }
.product-card .pc-media img, .product-card .pc-media video { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.product-card:hover .pc-media img { transform: scale(1.03); }
.product-card .pc-body { padding: 28px 28px 30px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.pc-kicker { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); }
.pc-title { font-size: clamp(30px, 3vw, 42px); letter-spacing: -0.035em; font-weight: 600; }
.pc-body p { color: var(--ink-dim); margin: 0; }
.pc-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line-dark); }
.pc-specs div { font-size: 13px; color: var(--ink-faint); }
.pc-specs b { display: block; font-size: 20px; color: var(--ink); font-weight: 600; letter-spacing: -0.02em; }

/* ---------- Stat cards (Flock-style results) ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: 18px; overflow: hidden; }
.light .stats { background: var(--line-light); border-color: var(--line-light); }
.stat { background: var(--black); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 10px; min-height: 210px; }
.light .stat { background: var(--paper); }
.stat .num { font-size: clamp(44px, 5vw, 72px); font-weight: 600; letter-spacing: -0.045em; line-height: 1; }
.stat .num small { font-size: .42em; letter-spacing: -0.01em; margin-left: 4px; color: var(--ink-dim); }
.light .stat .num small { color: var(--text-dim); }
.stat .what { margin-top: auto; font-size: 15px; color: var(--ink-dim); max-width: 26ch; }
.light .stat .what { color: var(--text-dim); }
.stat .src { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); }
.light .stat .src { color: var(--amber-deep); }
@media (max-width: 980px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .stats { grid-template-columns: 1fr; } .stat { min-height: 0; } }

/* ---------- Feature list / cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.cards.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .cards, .cards.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards, .cards.two, .cards.four { grid-template-columns: 1fr; } }
.card { border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 28px; background: var(--black-2); display: flex; flex-direction: column; gap: 12px; }
.light .card { border-color: var(--line-light); background: #fff; }
.card .ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(245,165,36,.12); color: var(--amber); }
.light .card .ico { background: rgba(245,165,36,.16); color: var(--amber-deep); }
.card .ico svg { width: 20px; height: 20px; }
.card h3 { font-size: 21px; letter-spacing: -0.02em; line-height: 1.2; }
.card p { color: var(--ink-dim); margin: 0; font-size: 15.5px; }
.light .card p { color: var(--text-dim); }
.card .num-tag { font-family: var(--mono); font-size: 12px; color: var(--amber); letter-spacing: .1em; }

.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line-dark); }
.light .feature-list { border-top-color: var(--line-light); }
.feature-list li { display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line-dark); }
.light .feature-list li { border-bottom-color: var(--line-light); }
.feature-list b { font-family: var(--mono); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-dim); font-weight: 500; padding-top: 3px; }
.light .feature-list b { color: var(--text-dim); }
.feature-list span { color: var(--ink); }
.light .feature-list span { color: var(--text); }
@media (max-width: 620px) { .feature-list li { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- Logo strip ---------- */
.logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.logo-chip { height: 110px; border-radius: 14px; background: #fff; display: grid; place-items: center; padding: 20px 26px; border: 1px solid var(--line-light); }
.logo-chip img { max-height: 54px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1) contrast(1.05); opacity: .85; transition: filter .25s, opacity .25s; }
.logo-chip:hover img { filter: none; opacity: 1; }
.logo-chip.dark { background: #4b4f53; }
.logo-chip.dark img { filter: none; opacity: 1; }

/* ---------- Quote ---------- */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; } }
.quote { border-left: 2px solid var(--amber); padding: 6px 0 6px 26px; }
.quote p { font-size: clamp(20px, 1.8vw, 26px); letter-spacing: -0.02em; line-height: 1.3; font-weight: 500; margin: 0 0 16px; }
.quote cite { font-style: normal; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-dim); }
.panel-dark .quote cite, body > .section:not(.light) .quote cite { color: var(--ink-faint); }

/* ---------- News ---------- */
.news-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 28px; }
.news-tabs button { height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-light); background: none; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); }
.news-tabs button.is-active, .news-tabs button:hover { background: var(--text); color: var(--paper); border-color: var(--text); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 980px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .news-grid { grid-template-columns: 1fr; } }
.news-card { display: flex; flex-direction: column; gap: 14px; border-top: 1px solid var(--line-light); padding-top: 18px; }
.news-card[hidden] { display: none; }
.news-card .meta { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.news-card .pill { padding: 3px 8px; border-radius: 4px; background: var(--text); color: var(--paper); }
.news-card .pill.upcoming { background: var(--amber); color: var(--black); }
.news-card h3 { font-size: 22px; letter-spacing: -0.02em; line-height: 1.2; color: var(--text); }
.news-card p { color: var(--text-dim); font-size: 15.5px; margin: 0; }
.news-card .thumb { aspect-ratio: 16/10; border-radius: 12px; overflow: hidden; background: var(--paper-2); display: grid; place-items: center; }
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-card .thumb.logo-thumb img { width: auto; height: auto; max-width: 62%; max-height: 50%; object-fit: contain; }
.news-card:hover .thumb img { transform: scale(1.04); }
.news-card .thumb.type-thumb { background: var(--black); color: var(--ink); place-items: end start; padding: 22px; position: relative; overflow: hidden; }
.news-card .thumb.type-thumb::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 100% 0%, rgba(245,165,36,.35), transparent 60%); }
.news-card .thumb.type-thumb strong { position: relative; font-size: clamp(26px, 2.4vw, 34px); letter-spacing: -0.035em; line-height: 1; font-weight: 600; }
.news-card .thumb.type-thumb small { position: relative; display: block; font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); margin-bottom: 10px; }
.news-card:hover h3 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* Article */
.article { max-width: 760px; }
.article p, .article li { font-size: 18.5px; line-height: 1.65; color: var(--text); }
.article h2 { font-size: 30px; margin: 48px 0 16px; color: var(--text); }
.article .gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 36px 0; }
.article .gallery img { border-radius: 12px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.article .gallery img:first-child { grid-column: 1 / -1; aspect-ratio: 16/9; }

/* ---------- Video grid ---------- */
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
@media (max-width: 760px) { .video-grid { grid-template-columns: 1fr; } }
.video-card .yt { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; background: #000; border: 1px solid var(--line-dark); }
.video-card .yt button { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; background: #000; }
.video-card .yt img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: opacity .25s, transform .5s; }
.video-card .yt button:hover img { opacity: 1; transform: scale(1.03); }
.video-card .yt .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 72px; height: 72px; border-radius: 999px; background: var(--amber); display: grid; place-items: center; box-shadow: 0 10px 40px rgba(0,0,0,.45); transition: transform .2s; }
.video-card .yt button:hover .play { transform: translate(-50%, -50%) scale(1.08); }
.video-card .yt .play svg { width: 24px; height: 24px; color: var(--black); margin-left: 4px; }
.video-card .yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-card h3 { font-size: 22px; margin-top: 18px; letter-spacing: -0.02em; }
.video-card p { color: var(--ink-dim); font-size: 15.5px; margin: 6px 0 0; }
.video-card .vk { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); margin-top: 16px; display: block; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 980px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .team-grid { grid-template-columns: 1fr; } }
.person img { aspect-ratio: 1; object-fit: cover; width: 100%; border-radius: var(--radius); filter: grayscale(1); transition: filter .4s; }
.person:hover img { filter: none; }
.person h3 { font-size: 21px; margin-top: 16px; letter-spacing: -0.02em; color: var(--text); }
.person .role { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--amber-deep); margin-top: 6px; }
.person p { color: var(--text-dim); font-size: 15px; margin-top: 8px; }

/* ---------- Careers / CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: 24px; padding: clamp(40px, 7vw, 96px); background: var(--black-2); border: 1px solid var(--line-dark); isolation: isolate; }
.cta-band .bg { position: absolute; inset: 0; z-index: -1; opacity: .35; }
.cta-band .bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(18,18,20,.97) 30%, rgba(18,18,20,.6)); }
.cta-band .h2 { max-width: 16ch; }
.cta-band p { color: var(--ink-dim); max-width: 52ch; margin: 22px 0 30px; font-size: 18px; }

/* ---------- Contact form ---------- */
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .form .row { grid-template-columns: 1fr; } }
.field label { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-dim); margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--black-2); border: 1px solid var(--line-dark); border-radius: 10px; padding: 14px 16px; transition: border-color .2s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-dim) 50%), linear-gradient(135deg, var(--ink-dim) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--amber); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-dim); }
.consent input { margin-top: 4px; accent-color: var(--amber); }
.form-ok { display: none; padding: 16px 18px; border-radius: 10px; background: rgba(63,182,122,.12); border: 1px solid rgba(63,182,122,.4); color: #bff0d4; }
.form-ok.is-shown { display: block; }
.form-err { display: none; padding: 16px 18px; border-radius: 10px; background: rgba(229,72,77,.12); border: 1px solid rgba(229,72,77,.4); color: #ffc9cb; }
.form-err.is-shown { display: block; }
.contact-aside dl { margin: 0; display: grid; gap: 22px; }
.contact-aside dt { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 4px; }
.contact-aside dd { margin: 0; font-size: 19px; }
.contact-aside dd a { border-bottom: 1px solid var(--line-dark); }
.contact-aside dd a:hover { border-color: var(--amber); }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); border-top: 1px solid var(--line-dark); padding: clamp(56px, 8vw, 96px) 0 32px; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-top > :first-child { grid-column: 1 / -1; } }
.footer-top h4 { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); font-weight: 500; margin-bottom: 16px; }
.footer-top ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-top a { color: var(--ink-dim); font-size: 15px; }
.footer-top a:hover { color: var(--ink); }
.footer-brand img { height: 34px; width: auto; margin-bottom: 18px; }
.footer-brand p { color: var(--ink-dim); max-width: 34ch; font-size: 15px; }
.footer-bottom { margin-top: clamp(48px, 7vw, 80px); padding-top: 24px; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13.5px; color: var(--ink-faint); }
.footer-bottom .social { display: flex; gap: 16px; }
.footer-bottom .social a:hover { color: var(--ink); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-media img { animation: none; }
  html { scroll-behavior: auto; }
}
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mt-s { margin-top: 16px; } .mt-m { margin-top: 32px; } .mt-l { margin-top: 64px; }
.center { text-align: center; }
.max-60 { max-width: 60ch; }
.disclaimer { font-size: 13px; color: var(--ink-faint); font-family: var(--mono); letter-spacing: .04em; }
.light .disclaimer { color: var(--text-dim); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--amber); color: var(--black); padding: 10px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { left: 8px; }
