/* ==========================================================================
   Veilcast Media: site styles
   Palette: ink (black), paper (off-white), signal red
   Type: Archivo (variable width + weight), IBM Plex Mono for labels
   ========================================================================== */

:root {
  --ink: #0a0a0b;
  --ink-2: #111113;
  --ink-3: #1a1a1d;
  --ink-4: #26262a;
  --paper: #f3f0e8;
  --paper-2: #e9e5da;
  --paper-3: #dcd6c8;
  --red: #e3262e;
  --red-deep: #c11a21;      /* red text on paper */
  --red-bright: #ff4d52;    /* small red text on ink */
  --muted-d: #a19d94;       /* secondary text on ink */
  --muted-l: #5f5b53;       /* secondary text on paper */
  --line-d: rgba(243, 240, 232, .12);
  --line-d2: rgba(243, 240, 232, .28);
  --line-l: rgba(10, 10, 11, .14);
  --line-l2: rgba(10, 10, 11, .32);

  --f-sans: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --container: 1320px;
  --pad: clamp(20px, 4vw, 56px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; line-height: 1.04; letter-spacing: -.025em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
::selection { background: var(--red); color: #fff; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 10px; z-index: 100; background: var(--red); color: #fff; padding: 10px 16px; font-family: var(--f-mono); font-size: 13px; }
.skip:focus { left: 10px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad); }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 0 0 26px;
  font-family: var(--f-mono); font-size: 12px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted-d);
}
.eyebrow::before { content: ""; width: 9px; height: 9px; background: var(--red); flex: none; }
.display {
  font-size: clamp(46px, 7.4vw, 116px);
  line-height: .93;
  letter-spacing: -.045em;
  font-weight: 800;
  text-wrap: balance;
}
.display em, .h2 em, .bigquote em { font-style: normal; color: var(--red); }
.h2 { font-size: clamp(38px, 5.2vw, 76px); line-height: .96; letter-spacing: -.04em; text-wrap: balance; }
.lead { font-size: clamp(18px, 1.45vw, 21px); line-height: 1.55; color: var(--muted-d); max-width: 36em; }
.small { font-size: 14px; }
.muted { color: var(--muted-d); }
.mono-label { display: block; font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }

/* ---------- buttons & links ---------- */
.ico { width: 16px; height: 16px; flex: none; transition: transform .3s var(--ease); }
.btn {
  --h: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--h); padding: 0 24px;
  font-family: var(--f-mono); font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  border: 1px solid transparent; border-radius: 0;
  white-space: nowrap; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover .ico { transform: translateX(4px); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-deep); }
.btn--ghost { border-color: var(--line-d2); color: var(--paper); }
.btn--ghost:hover { border-color: var(--paper); background: rgba(243, 240, 232, .06); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: #000; }
.btn--ghost-light { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn--sm { --h: 42px; padding: 0 18px; font-size: 12px; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.btn-row--tight { margin-top: 8px; }
.text-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  padding-bottom: 6px; border-bottom: 1px solid currentColor;
  white-space: nowrap;
}
.text-link:hover .ico { transform: translateX(4px); }

/* ---------- pills ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 10px;
  font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid var(--line-d2); color: var(--paper);
}
.pill--live::before, .live-dot {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); flex: none;
  animation: pulse 2s var(--ease) infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(227, 38, 46, .7); }
  70% { box-shadow: 0 0 0 9px rgba(227, 38, 46, 0); }
  100% { box-shadow: 0 0 0 0 rgba(227, 38, 46, 0); }
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(10, 10, 11, .84);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line-d); background: rgba(10, 10, 11, .94); }
.header-inner { display: flex; align-items: center; gap: 40px; height: var(--header-h); }

.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--paper); flex: none; }
.logo-mark { width: 34px; height: 34px; flex: none; }
.logo-mark .m-veil { fill: currentColor; }
.logo-mark .m-v { fill: var(--red); }
.logo-word {
  display: flex; flex-direction: column; gap: 5px;
  font-weight: 800; font-size: 19px; line-height: 1; letter-spacing: .08em; font-stretch: 118%;
}
.logo-word small {
  font-family: var(--f-mono); font-weight: 500; font-size: 9.5px; letter-spacing: .5em; color: var(--muted-d); font-stretch: normal;
}

.nav { display: flex; gap: 34px; margin-left: auto; }
.nav a { position: relative; padding: 8px 0; font-size: 15px; font-weight: 500; color: var(--muted-d); transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--paper); }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

.menu-toggle {
  display: none; position: relative; width: 46px; height: 46px; margin-left: auto;
  background: transparent; border: 1px solid var(--line-d2); cursor: pointer;
}
.menu-toggle i { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--paper); transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-toggle i:nth-of-type(1) { top: 18px; }
.menu-toggle i:nth-of-type(2) { top: 26px; }
.menu-toggle[aria-expanded="true"] i:nth-of-type(1) { top: 22px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] i:nth-of-type(2) { top: 22px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 59;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 24px var(--pad) 40px;
  background: var(--ink); overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  padding: 14px 0; border-bottom: 1px solid var(--line-d);
  font-size: clamp(34px, 9vw, 52px); font-weight: 800; letter-spacing: -.04em; line-height: 1.05;
}
.mobile-menu nav a[aria-current="page"] { color: var(--red); }
.mobile-menu-foot { font-family: var(--f-mono); font-size: 13px; color: var(--muted-d); margin: 32px 0 0; }
html.menu-open { overflow: hidden; }

@media (max-width: 920px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: block; }
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section { position: relative; padding-block: clamp(84px, 11vw, 160px); }
.section--tight { padding-block: clamp(64px, 8vw, 110px); }
.section--light { background: var(--paper); color: var(--ink); }
.section--paper2 { background: var(--paper-2); color: var(--ink); }
.section--dark { background: var(--ink); color: var(--paper); }
.section--ink2 { background: var(--ink-2); color: var(--paper); }
.section--light .eyebrow, .section--paper2 .eyebrow { color: var(--muted-l); }
.section--light .lead, .section--paper2 .lead { color: var(--muted-l); }
.section--light .btn--ghost, .section--paper2 .btn--ghost { border-color: var(--line-l2); color: var(--ink); }
.section--light .btn--ghost:hover, .section--paper2 .btn--ghost:hover { border-color: var(--ink); background: rgba(10, 10, 11, .04); }

.section-head {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 28px 64px;
  margin-bottom: clamp(44px, 6vw, 80px);
}
.section-head .eyebrow { margin-bottom: 22px; }
.section-note { max-width: 25em; margin: 0; font-size: 16px; color: var(--muted-d); }
.section--light .section-note, .section--paper2 .section-note { color: var(--muted-l); }
@media (max-width: 800px) { .section-head { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px 80px; align-items: start; }
.split .lead { margin-top: 8px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* ==========================================================================
   Home hero
   ========================================================================== */
.hero { position: relative; overflow: hidden; background: var(--ink); border-bottom: 1px solid var(--line-d); }
.hero-inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: center;
  min-height: min(calc(100vh - var(--header-h) - 74px), 820px);
  padding-block: clamp(64px, 9vw, 120px);
}
.hero-copy { max-width: 760px; }
.hero .display { max-width: 9.5em; }
.hero .lead { margin-top: 32px; max-width: 31em; }

.hero-wall {
  position: absolute; z-index: 1; top: 0; right: 0; bottom: 0; width: 52%;
  overflow: hidden; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .18) 24%, #000 58%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .18) 24%, #000 58%);
}
.hero-wall::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, var(--ink) 0%, transparent 16%, transparent 84%, var(--ink) 100%),
    radial-gradient(120% 80% at 100% 50%, transparent 40%, rgba(10, 10, 11, .55) 100%);
}
.wall-inner {
  position: absolute; inset: -30% -12% -30% 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px;
  transform: rotate(-9deg);
}
.wall-track { display: flex; flex-direction: column; gap: 14px; padding-bottom: 14px; animation: wall-up 70s linear infinite; will-change: transform; }
.wall-col:nth-child(2) .wall-track { animation-name: wall-down; animation-duration: 84s; }
.wall-col:nth-child(3) .wall-track { animation-duration: 76s; }
@keyframes wall-up { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes wall-down { from { transform: translateY(-50%); } to { transform: translateY(0); } }
.wall-item { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink-3); }
.wall-item img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.12) brightness(.62); }
.wall-item.is-red::after { content: ""; position: absolute; inset: 0; background: var(--red); mix-blend-mode: multiply; }

.hero-foot { position: relative; z-index: 2; }
.now {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding-block: 24px; border-top: 1px solid var(--line-d);
  font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-d);
}
.now strong { color: var(--paper); font-weight: 500; }
.now-meta::before { content: "/"; margin-right: 14px; color: var(--ink-4); }
.now .ico { margin-left: auto; color: var(--paper); }
.now:hover .ico { transform: translateX(4px); }

@media (max-width: 920px) {
  .hero-inner { min-height: 0; padding-bottom: 32px; }
  .hero-wall {
    position: relative; width: 100%; height: 300px;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
  }
  .wall-inner { inset: -60% -20%; }
  .now-meta { display: none; }
}

/* ---------- ticker ---------- */
.ticker { overflow: hidden; background: var(--red); color: #fff; }
.ticker-track { display: flex; width: max-content; animation: ticker 46s linear infinite; }
.ticker-group {
  display: flex; align-items: center; gap: 30px; padding: 20px 30px 20px 0;
  font-size: clamp(18px, 2vw, 26px); font-weight: 800; font-stretch: 112%; letter-spacing: -.01em; text-transform: uppercase; white-space: nowrap;
}
.ticker-group i { width: 10px; height: 10px; background: var(--ink); transform: rotate(45deg); flex: none; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ==========================================================================
   Stats
   ========================================================================== */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 32px; }
.stat { padding-top: 24px; border-top: 1px solid var(--ink); }
.section--dark .stat, .section--ink2 .stat, .statband .stat { border-top-color: var(--line-d2); }
.stat-num {
  margin: 0 0 16px;
  font-size: clamp(54px, 6.4vw, 104px); font-weight: 800; line-height: .9; letter-spacing: -.05em;
  font-variant-numeric: tabular-nums;
}
.stat-num .suf { color: var(--red); font-size: .62em; letter-spacing: -.02em; margin-left: .04em; }
.stat-label { margin: 0; font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-l); }
.section--dark .stat-label, .section--ink2 .stat-label, .statband .stat-label { color: var(--muted-d); }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ==========================================================================
   Featured brand (home)
   ========================================================================== */
.feature-brand {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  background: var(--ink-2); border: 1px solid var(--line-d);
}
.fb-media { position: relative; display: block; overflow: hidden; min-height: 480px; background: var(--ink-3); }
.fb-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.fb-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(10, 10, 11, .9) 100%); }
.fb-media:hover img { transform: scale(1.04); }
.fb-play, .vcard-play {
  position: absolute; z-index: 2; display: grid; place-items: center;
  width: 64px; height: 64px; background: var(--red); color: #fff;
}
.fb-play { top: 50%; left: 50%; transform: translate(-50%, -50%); transition: transform .35s var(--ease); }
.fb-play svg { width: 26px; height: 26px; }
.fb-media:hover .fb-play { transform: translate(-50%, -50%) scale(1.08); }
.fb-caption {
  position: absolute; z-index: 2; left: 28px; right: 28px; bottom: 24px;
  font-size: clamp(18px, 1.7vw, 24px); font-weight: 700; line-height: 1.2; letter-spacing: -.015em;
}
.fb-caption .mono-label { margin-bottom: 10px; color: var(--red-bright); }
.fb-body { display: flex; flex-direction: column; gap: 18px; padding: clamp(28px, 3.6vw, 52px); }
.fb-top { display: flex; align-items: center; gap: 18px; }
.fb-logo { width: 68px; height: 68px; border-radius: 50%; box-shadow: 0 0 0 1px var(--line-d2); }
.fb-vertical { margin: 10px 0 0; font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-d); }
.fb-name { font-size: clamp(32px, 3.4vw, 50px); letter-spacing: -.04em; margin-top: 10px; }
.fb-tagline { margin: 0; font-size: 20px; font-weight: 600; color: var(--paper); }
.fb-short { margin: 0; color: var(--muted-d); }
.fb-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line-d); }
.fb-stats dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-d); margin-bottom: 6px; }
.fb-stats dd { font-size: 26px; font-weight: 800; letter-spacing: -.03em; }
@media (max-width: 1000px) { .feature-brand { grid-template-columns: 1fr; } .fb-media { min-height: 0; aspect-ratio: 16 / 9; } }
@media (max-width: 600px) {
  .fb-play { top: 36%; width: 48px; height: 48px; }
  .fb-play svg { width: 20px; height: 20px; }
  .fb-caption { left: 16px; right: 16px; bottom: 14px; font-size: 15px; }
  .fb-caption .mono-label { margin-bottom: 6px; font-size: 10px; }
}

.dev-strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.dev-tile {
  display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 12px 20px;
  padding: 22px 26px; border: 1px dashed var(--line-d2); color: var(--muted-d);
}
.dev-label { font-weight: 800; font-size: 20px; letter-spacing: -.02em; color: var(--paper); }
.dev-tile p { margin: 0; font-size: 15px; justify-self: end; text-align: right; }
@media (max-width: 1100px) {
  .dev-tile { grid-template-columns: auto 1fr; }
  .dev-tile .pill { justify-self: start; }
  .dev-tile p { grid-column: 1 / -1; justify-self: start; text-align: left; }
}
@media (max-width: 700px) { .dev-strip { grid-template-columns: 1fr; } }

/* ==========================================================================
   Capabilities / principles
   ========================================================================== */
.caps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 32px; }
.cap { padding-top: 24px; border-top: 1px solid var(--ink); }
.section--dark .cap, .section--ink2 .cap { border-top-color: var(--line-d2); }
.cap-num { display: block; margin-bottom: clamp(36px, 5vw, 72px); font-family: var(--f-mono); font-size: 13px; font-weight: 500; color: var(--red-deep); }
.section--dark .cap-num, .section--ink2 .cap-num { color: var(--red-bright); }
.cap h3 { margin-bottom: 14px; font-size: clamp(24px, 2.2vw, 32px); letter-spacing: -.03em; }
.cap p { margin: 0; font-size: 16px; color: var(--muted-l); }
.section--dark .cap p, .section--ink2 .cap p { color: var(--muted-d); }
@media (max-width: 1000px) { .caps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .caps { grid-template-columns: 1fr; } .cap-num { margin-bottom: 20px; } }

/* ==========================================================================
   Video cards
   ========================================================================== */
.vgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 22px; }
.vgrid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1060px) { .vgrid, .vgrid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .vgrid, .vgrid--3 { grid-template-columns: 1fr; } }
.vcard { display: block; }
.vcard-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink-3); }
.section--light .vcard-media { background: var(--paper-3); }
.vcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.vcard:hover .vcard-media img { transform: scale(1.05); }
.vcard-play { left: 14px; bottom: 14px; width: 44px; height: 44px; opacity: 0; transform: translateY(8px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.vcard-play svg { width: 18px; height: 18px; }
.vcard:hover .vcard-play, .vcard:focus-visible .vcard-play { opacity: 1; transform: none; }
.vcard-dur {
  position: absolute; right: 10px; bottom: 10px; padding: 3px 7px;
  background: rgba(10, 10, 11, .86); color: #fff;
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .04em;
}
.vcard-body { padding-top: 16px; }
.vcard-brand { margin: 0 0 8px; font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--red-bright); }
.section--light .vcard-brand, .section--paper2 .vcard-brand { color: var(--red-deep); }
.vcard-title {
  margin: 0 0 8px; font-size: 18px; font-weight: 700; line-height: 1.28; letter-spacing: -.012em;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  transition: color .2s;
}
.vcard:hover .vcard-title { color: var(--red-bright); }
.section--light .vcard:hover .vcard-title { color: var(--red-deep); }
.vcard-meta { margin: 0; font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; color: var(--muted-d); }
.section--light .vcard-meta { color: var(--muted-l); }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta { position: relative; overflow: hidden; background: var(--red); color: #fff; padding-block: clamp(80px, 10vw, 140px); }
.cta-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.5fr) auto; gap: 40px 64px; align-items: end; }
.cta .eyebrow { color: rgba(255, 255, 255, .85); }
.cta .eyebrow::before { background: var(--ink); }
.cta h2 { font-size: clamp(42px, 6.2vw, 96px); line-height: .94; letter-spacing: -.045em; max-width: 11em; text-wrap: balance; }
.cta .btn-row { margin-top: 0; }
.cta .hero-mark { right: -6%; top: -20%; width: min(60vw, 720px); opacity: .22; }
.cta .hero-mark path { stroke: #fff; }
@media (max-width: 900px) { .cta-inner { grid-template-columns: 1fr; } }

/* ==========================================================================
   Inner-page hero
   ========================================================================== */
.page-hero {
  position: relative; overflow: hidden;
  padding-block: clamp(72px, 10vw, 150px) clamp(64px, 8vw, 110px);
  background: var(--ink); border-bottom: 1px solid var(--line-d);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px 80px; align-items: end; }
.page-hero .lead { margin: 0; }
.page-hero--compact { padding-bottom: clamp(40px, 5vw, 64px); border-bottom: 0; }
@media (max-width: 900px) { .page-hero-grid { grid-template-columns: 1fr; } }

.hero-mark { position: absolute; z-index: 0; right: -4%; top: 50%; width: min(52vw, 640px); transform: translateY(-50%); pointer-events: none; }
.hero-mark path { fill: none; stroke: var(--red); stroke-width: 1px; vector-effect: non-scaling-stroke; opacity: .55; }
@media (max-width: 900px) { .hero-mark { width: 90vw; right: -30%; opacity: .6; } }

.hero-facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 40px; margin-top: 40px; }
.hero-facts dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-d); margin-bottom: 6px; }
.hero-facts dd { font-size: clamp(30px, 3vw, 44px); font-weight: 800; letter-spacing: -.04em; line-height: 1; }

/* ==========================================================================
   Brands page
   ========================================================================== */
.vertical { padding-block: 0 clamp(56px, 7vw, 96px); }
.vertical + .vertical { padding-top: clamp(8px, 1vw, 16px); }
.vertical:last-child { padding-bottom: 0; }
.vertical-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 24px;
  padding-top: 22px; margin-bottom: 32px; border-top: 1px solid var(--ink);
}
.vertical-name { font-size: clamp(28px, 3.2vw, 46px); letter-spacing: -.04em; }
.vertical-count { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-l); white-space: nowrap; }

.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 1060px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tiles { grid-template-columns: 1fr; } }
.tile { position: relative; display: flex; flex-direction: column; background: var(--ink); color: var(--paper); overflow: hidden; }
.tile::before {
  content: ""; position: absolute; z-index: 3; left: 0; right: 0; top: 0; height: 4px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
a.tile:hover::before, a.tile:focus-visible::before { transform: scaleX(1); }
.tile-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-3); }
.tile-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.42); transition: filter .6s var(--ease), transform 1s var(--ease); }
a.tile:hover .tile-bg { filter: grayscale(0) brightness(.5); transform: scale(1.05); }
.tile-logo {
  position: absolute; left: 50%; top: 50%; width: 120px; height: 120px; border-radius: 50%;
  transform: translate(-50%, -50%); box-shadow: 0 18px 50px rgba(0, 0, 0, .55), 0 0 0 1px rgba(243, 240, 232, .25);
  transition: transform .6s var(--ease);
}
a.tile:hover .tile-logo { transform: translate(-50%, -50%) scale(1.06); }
.pill--on-media { position: absolute; z-index: 2; left: 16px; top: 16px; background: rgba(10, 10, 11, .6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.tile-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 24px 26px 26px; }
.tile-vertical { margin: 0; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--red-bright); }
.tile-name { font-size: 28px; letter-spacing: -.035em; }
.tile-desc { margin: 0; font-size: 15.5px; color: var(--muted-d); }
.tile-foot {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  margin: 14px 0 0; padding-top: 16px; border-top: 1px solid var(--line-d); margin-top: auto;
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-d);
}
.tile-go { display: inline-flex; align-items: center; gap: 8px; color: var(--paper); }
a.tile:hover .tile-go .ico { transform: translateX(4px); }
.tiles--solo { grid-template-columns: 1fr; }
.tiles--solo .tile { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.tiles--solo .tile-media { aspect-ratio: auto; min-height: 420px; }
.tiles--solo .tile-logo { width: 150px; height: 150px; }
.tiles--solo .tile-body { padding: clamp(28px, 3.4vw, 52px); justify-content: center; gap: 14px; }
.tiles--solo .tile-name { font-size: clamp(34px, 3.4vw, 52px); letter-spacing: -.045em; }
.tiles--solo .tile-desc { font-size: 17px; }
@media (max-width: 860px) {
  .tiles--solo .tile { display: flex; }
  .tiles--solo .tile-media { min-height: 0; aspect-ratio: 16 / 10; }
}
.tiles--dev { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.tile--dev {
  justify-content: flex-end; min-height: 260px; padding: 26px;
  background: transparent; color: var(--ink); border: 1px dashed var(--line-l2);
}
.tile--dev .tile-vertical { color: var(--red-deep); margin-bottom: 4px; }
.tile--dev .tile-desc { color: var(--muted-l); }
.tile-dev-mark { display: block; margin-bottom: auto; padding-bottom: 48px; color: var(--paper-3); }
.tile-dev-mark .logo-mark { width: 56px; height: 56px; }
.tile-dev-mark .m-v { fill: var(--paper-3); }

/* ==========================================================================
   Brand page
   ========================================================================== */
.crumbs { display: flex; gap: 10px; margin-bottom: 40px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-d); }
.crumbs a:hover { color: var(--paper); }
.crumbs [aria-current] { color: var(--paper); }
.brand-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px 72px; align-items: center; }
@media (max-width: 1000px) { .brand-hero-grid { grid-template-columns: 1fr; } }
.brand-id { display: flex; align-items: center; gap: 20px; margin-bottom: 30px; }
.brand-avatar { width: 92px; height: 92px; border-radius: 50%; box-shadow: 0 0 0 1px var(--line-d2); }
.brand-handle { margin: 10px 0 0; font-family: var(--f-mono); font-size: 13px; color: var(--muted-d); }
.display--brand { font-size: clamp(44px, 6vw, 92px); }
.brand-hero .lead { margin-top: 26px; }
.brand-hero .lead strong { color: var(--paper); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chips li { padding: 7px 12px; border: 1px solid var(--line-d2); font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; color: var(--muted-d); }
.brand-feature { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink-3); box-shadow: 0 40px 90px rgba(0, 0, 0, .5); }
.brand-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.brand-feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(10, 10, 11, .92) 100%); }
.brand-feature:hover img { transform: scale(1.04); }
.brand-feature:hover .fb-play { transform: translate(-50%, -50%) scale(1.08); }

.statband { background: var(--ink-2); color: var(--paper); padding-block: clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line-d); }
.statband .stat-num { font-size: clamp(44px, 5vw, 76px); }

.glance { border-top: 1px solid var(--ink); }
.glance div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-l); }
.glance dt { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-l); padding-top: 3px; }
.glance dd { font-weight: 600; }
.glance a { border-bottom: 1px solid var(--line-l2); }
.glance a:hover { color: var(--red-deep); border-color: currentColor; }
.prose-lg p { font-size: clamp(18px, 1.45vw, 21px); line-height: 1.6; color: var(--ink); }
.prose-lg p + p { margin-top: 0; }
.prose-lg a { color: var(--red-deep); border-bottom: 1px solid currentColor; }
.about-cols { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 56px 96px; }
@media (max-width: 900px) { .about-cols { grid-template-columns: 1fr; } }

.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 760px) { .products { grid-template-columns: 1fr; } }
.product {
  display: flex; flex-direction: column; gap: 12px; padding: clamp(26px, 3vw, 40px);
  background: var(--paper); border: 1px solid var(--line-l2); transition: border-color .25s, background-color .25s;
}
.product:hover { border-color: var(--ink); background: #fff; }
.product-k { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--red-deep); }
.product h3 { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.03em; }
.product p { margin: 0; color: var(--muted-l); }
.product-go { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; }

/* ==========================================================================
   About page
   ========================================================================== */
.bigquote {
  margin: 0; max-width: 18em;
  font-size: clamp(34px, 4.6vw, 70px); font-weight: 800; line-height: 1.02; letter-spacing: -.04em; text-wrap: balance;
}
.bigquote-cite { margin: 36px 0 0; font-family: var(--f-mono); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-d); }
.timeline { border-top: 1px solid var(--line-d2); }
.timeline li {
  display: grid; grid-template-columns: 160px minmax(0, 1fr) minmax(0, 1.2fr); gap: 16px 40px; align-items: baseline;
  padding: 28px 0; border-bottom: 1px solid var(--line-d);
}
.tl-year { font-family: var(--f-mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--red-bright); }
.tl-title { font-size: clamp(22px, 2.2vw, 30px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.tl-text { margin: 0; color: var(--muted-d); }
@media (max-width: 800px) { .timeline li { grid-template-columns: 1fr; gap: 8px; } }

/* ==========================================================================
   Advertise page
   ========================================================================== */
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr; } }
.why { padding: clamp(26px, 3vw, 40px); background: #fff; border: 1px solid var(--line-l); }
.why-num { margin: 0 0 clamp(28px, 4vw, 56px); font-size: clamp(56px, 6vw, 96px); font-weight: 800; letter-spacing: -.05em; line-height: .9; }
.why-num span { color: var(--red); font-size: .5em; letter-spacing: -.02em; }
.why h3 { margin-bottom: 12px; font-size: 24px; letter-spacing: -.025em; }
.why p { margin: 0; color: var(--muted-l); font-size: 16px; }

.formats { border-top: 1px solid var(--line-d2); counter-reset: f; }
.format {
  display: grid; grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1.15fr); gap: 12px 40px; align-items: baseline;
  padding: clamp(24px, 3vw, 38px) 0; border-bottom: 1px solid var(--line-d);
  transition: padding-left .4s var(--ease);
}
.format:hover { padding-left: 14px; }
.format-num { font-family: var(--f-mono); font-size: 13px; color: var(--red-bright); }
.format h3 { font-size: clamp(24px, 2.6vw, 38px); letter-spacing: -.035em; }
.format p { margin: 0; color: var(--muted-d); }
@media (max-width: 800px) { .format { grid-template-columns: 1fr; } .format:hover { padding-left: 0; } }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--ink); }
.step { padding: clamp(24px, 2.6vw, 36px); border-left: 1px solid var(--ink); }
.step:first-child { border-left: 0; }
.step-num { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: clamp(40px, 5vw, 72px); background: var(--ink); color: var(--paper); font-family: var(--f-mono); font-size: 13px; }
.step:last-child .step-num { background: var(--red); }
.step h3 { margin-bottom: 10px; font-size: 24px; letter-spacing: -.025em; }
.step p { margin: 0; font-size: 16px; color: var(--muted-l); }
@media (max-width: 1000px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(3) { border-left: 0; }
  .step:nth-child(n+3) { border-top: 1px solid var(--ink); }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .step { border-left: 0; }
  .step + .step { border-top: 1px solid var(--ink); }
  .step-num { margin-bottom: 24px; }
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); gap: 56px 88px; align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list .lead { margin-bottom: 40px; }
.contacts { border-top: 1px solid var(--line-d2); }
.contacts div { padding: 20px 0; border-bottom: 1px solid var(--line-d); }
.contacts dt { margin-bottom: 6px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-d); }
.contacts dd a { font-size: clamp(19px, 1.7vw, 24px); font-weight: 700; letter-spacing: -.02em; transition: color .2s; word-break: break-word; }
.contacts dd a:hover { color: var(--red-bright); }
.reply-note { margin-top: 28px; font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .06em; color: var(--muted-d); }

.form { display: grid; gap: 20px; padding: clamp(26px, 3.6vw, 52px); background: var(--paper); color: var(--ink); }
.form-title { margin: 0 0 6px; font-size: clamp(26px, 2.4vw, 34px); font-weight: 800; letter-spacing: -.035em; line-height: 1.1; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field label { display: block; margin-bottom: 8px; font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.field .opt { color: var(--muted-l); text-transform: none; letter-spacing: .02em; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px;
  font: inherit; font-size: 16px; color: var(--ink);
  background: #fff; border: 1px solid var(--line-l2); border-radius: 0;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%230a0a0b' stroke-width='1.8'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px;
}
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(227, 38, 46, .25); }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--red-deep); }
.form-foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 4px; }
.form-status { margin: 0; font-family: var(--f-mono); font-size: 13px; color: var(--muted-l); }
.form-status[data-state="ok"] { color: #1e7a3c; }
.form-status[data-state="err"] { color: var(--red-deep); }
.form-note { margin: 0; font-size: 13.5px; color: var(--muted-l); }
.form-note a { border-bottom: 1px solid currentColor; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ==========================================================================
   Careers
   ========================================================================== */
.openings { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 80px; align-items: end; }
@media (max-width: 900px) { .openings { grid-template-columns: 1fr; } }
.openings .small { margin-top: 20px; }
.openings .small a { border-bottom: 1px solid currentColor; }

/* ==========================================================================
   Legal prose
   ========================================================================== */
.prose { max-width: 760px; }
.prose h2 { margin: 56px 0 16px; font-size: clamp(24px, 2.2vw, 30px); letter-spacing: -.03em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--muted-l); }
.prose ul { margin: 0 0 1em; padding-left: 0; }
.prose li { position: relative; padding-left: 22px; margin-bottom: 8px; }
.prose li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 2px; background: var(--red); }
.prose a { color: var(--red-deep); border-bottom: 1px solid currentColor; }
.prose strong { color: var(--ink); }
.updated { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-d); margin-top: 28px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { padding-top: clamp(72px, 9vw, 120px); background: var(--ink); color: var(--paper); border-top: 1px solid var(--line-d); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px 80px; }
.footer-brand p { max-width: 24em; margin-top: 24px; color: var(--muted-d); font-size: 15.5px; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 36px; }
.footer-col h2 { margin-bottom: 18px; font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-d); }
.footer-col a { display: block; padding: 6px 0; font-size: 15.5px; transition: color .2s; }
.footer-col a:hover { color: var(--red-bright); }
.footer-col--mail a span { display: block; font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-d); }
.footer-col--mail a { padding: 7px 0; word-break: break-word; }
.footer-giant { width: 100%; height: auto; margin-top: clamp(64px, 9vw, 120px); overflow: visible; }
.footer-giant text { font-family: var(--f-sans); font-weight: 900; font-size: 150px; fill: none; stroke: rgba(243, 240, 232, .16); stroke-width: 1px; letter-spacing: -2px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-top: clamp(24px, 3vw, 40px); padding-block: 26px; border-top: 1px solid var(--line-d);
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; color: var(--muted-d);
}
.footer-bottom p { margin: 0; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a:hover { color: var(--paper); }
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-col--mail { grid-column: 1 / -1; }
}

/* ==========================================================================
   Motion
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.vgrid .reveal:nth-child(4n+2), .stats .reveal:nth-child(4n+2), .caps .reveal:nth-child(4n+2), .tiles .reveal:nth-child(3n+2) { transition-delay: .08s; }
.vgrid .reveal:nth-child(4n+3), .stats .reveal:nth-child(4n+3), .caps .reveal:nth-child(4n+3), .tiles .reveal:nth-child(3n+3) { transition-delay: .16s; }
.vgrid .reveal:nth-child(4n+4), .stats .reveal:nth-child(4n+4), .caps .reveal:nth-child(4n+4) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .wall-track, .ticker-track, .pill--live::before, .live-dot { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
