/* ============================================================
   INTELLIGENT AF — design system
   Canvas #080808 · Bebas Neue display · Inter body
   Cyan #00E0F0 (IntelligentAF) · Pink #FF1478 (TechnoCat)
   ============================================================ */

:root {
  --bg: #080808;
  --surface: #141414;
  --surface-2: #1c1c1c;
  --text: #f5f5f2;
  --muted: #b4b4b0;
  --line: #2e2e2e;
  --control: #767676;
  --cyan: #00e0f0;
  --cyan-deep: #00c4d6;
  --pink: #ff1478;
  --accent: var(--cyan);
  --accent-deep: var(--cyan-deep);
  --underline: url('../brand/spray-underline-cyan.png?v=teal-1');
  --underline-thin: url('../brand/spray-underline-thin.png?v=teal-1');
  --underline-double: url('../brand/spray-underline-double.png?v=teal-1');
  --dot: url('../brand/spray-dot.png?v=teal-1');
  --stroke-short: url('../brand/spray-stroke-short.png?v=teal-1');
  --swash: url('../brand/spray-swash-cyan.png?v=teal-1');
  --wipe: url('../brand/wipe-cyan.png?v=teal-1');
  --sprayframe: url('../brand/spray-frame.png?v=teal-1');
  --font-display: 'Bebas Neue', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, 'Helvetica Neue', sans-serif;
  --gutter: clamp(20px, 4.5vw, 64px);
  --max: 1440px;
  --space-section: clamp(72px, 9vw, 128px);
}

.theme-pink {
  --accent: var(--pink);
  --accent-deep: #e00e6a;
  --underline: url('../brand/spray-underline-pink.png?v=teal-1');
  --underline-thin: url('../brand/spray-underline-thin-pink.png?v=teal-1');
  --underline-double: url('../brand/spray-underline-double-pink.png?v=teal-1');
  --dot: url('../brand/spray-dot-pink.png?v=teal-1');
  --stroke-short: url('../brand/spray-stroke-short-pink.png?v=teal-1');
  --swash: url('../brand/spray-swash-pink.png?v=teal-1');
  --wipe: url('../brand/wipe-pink.png?v=teal-1');
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { max-width: 100%; display: block; }

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

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 0.84;
  margin: 0;
  text-transform: uppercase;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--text); }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--accent); color: #050505; padding: 12px 20px;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { left: 12px; top: 12px; }

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

/* ---------- header ---------- */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background-color 180ms ease, border-color 180ms ease;
  border-bottom: 1px solid transparent;
  background: transparent;
}
.site-header.is-solid {
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
}
.header-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; height: 76px;
}
.logo-link { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo-link img { height: 34px; width: auto; }

.main-nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.main-nav a {
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: 0.09em;
  text-decoration: none;
  color: var(--text);
  padding: 6px 2px;
  position: relative;
}
.main-nav a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: -3px; height: 8px;
  background: var(--underline-thin) no-repeat center / 100% 100%;
  transition: right 220ms ease;
}
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { right: 0; }
.main-nav a.nav-cta {
  color: var(--accent);
}

.menu-btn {
  display: none;
  background: none; border: 1px solid var(--control); color: var(--text);
  font-family: var(--font-display); font-size: 18px; letter-spacing: 0.1em;
  padding: 10px 16px; cursor: pointer;
}

@media (max-width: 960px) {
  .main-nav { display: none; }
  .menu-btn { display: inline-flex; align-items: center; gap: 10px; }
}

/* mega menu (portfolio) */
.nav-mega { position: static; }
.mega-panel {
  position: absolute; top: 100%; left: 0; right: 0;
  background: #0a0a0a;
  border-bottom: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 0s linear 180ms;
}
.nav-mega:hover .mega-panel,
.nav-mega:focus-within .mega-panel {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity 180ms ease, transform 180ms ease;
}
.mega-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  column-gap: clamp(24px, 4vw, 64px);
  padding-block: 26px 34px;
}
.mega-item {
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
  text-decoration: none; color: var(--text);
  padding: 13px 0; border-bottom: 1px solid var(--line);
}
.mega-item .mega-name { font-family: var(--font-display); font-size: 27px; letter-spacing: 0.02em; }
.mega-item .mega-tag { font-size: 12px; letter-spacing: 0.16em; color: var(--muted); text-transform: uppercase; }
.mega-item:hover .mega-name { color: var(--cyan); }
.mega-af-pink { color: var(--pink); font-style: italic; }
.mega-item--pink:hover .mega-name { color: var(--pink); }
.mega-all { grid-column: 1 / -1; margin-top: 22px; justify-self: start; }
@media (max-width: 960px) { .mega-panel { display: none; } }

/* drawer */
.drawer {
  position: fixed; inset: 0; z-index: 150;
  background: #0a0a0a;
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--gutter);
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 220ms ease, visibility 0s linear 220ms;
}
.drawer.is-open { transform: translateY(0); visibility: visible; transition: transform 220ms ease; }
.drawer nav { display: flex; flex-direction: column; gap: 6px; }
.drawer nav a {
  font-family: var(--font-display); font-size: clamp(40px, 9vw, 64px);
  text-decoration: none; color: var(--text); line-height: 1.1;
}
.drawer nav a:hover { color: var(--accent); }
.drawer .drawer-close {
  position: absolute; top: 20px; right: var(--gutter);
  background: none; border: 1px solid var(--control); color: var(--text);
  font-family: var(--font-display); font-size: 18px; letter-spacing: 0.1em;
  padding: 10px 16px; cursor: pointer;
}
.drawer .drawer-foot { margin-top: 40px; color: var(--muted); font-size: 15px; }
.drawer-sub { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 2px 0 12px; }
.drawer-sub a {
  font-family: var(--font-display); font-size: 21px !important;
  color: var(--muted) !important; letter-spacing: 0.06em;
  line-height: 1.4 !important; text-decoration: none;
}
.drawer-sub a:hover { color: var(--cyan) !important; }

/* ---------- buttons & links ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-size: 20px; letter-spacing: 0.08em;
  text-decoration: none; cursor: pointer;
  padding: 14px 26px; border: none;
  background: var(--accent); color: #050505;
  transition: transform 180ms ease, background-color 180ms ease;
}
.btn:hover { background: var(--accent-deep); }
.btn .arr { transition: transform 180ms ease; }
.btn:hover .arr { transform: translateX(4px); }

.btn-ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--control);
}
.btn-ghost:hover { background: rgba(255,255,255,0.06); }

.link-paint {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 19px; letter-spacing: 0.09em;
  color: var(--accent); text-decoration: none;
  padding-bottom: 8px; position: relative;
}
.link-paint::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -3px; height: 8px;
  background: var(--underline-thin) no-repeat center / 100% 100%;
}
.link-paint .arr { transition: transform 180ms ease; }
.link-paint:hover .arr { transform: translateX(4px); }

/* ---------- paint accents ---------- */

.paint-under {
  position: relative; display: inline-block;
}
.paint-under::after {
  content: ''; position: absolute; left: -3%; right: -3%; bottom: -0.3em; height: 0.4em;
  background: var(--underline) no-repeat center / 100% 100%;
  pointer-events: none;
}

.af-word { color: var(--accent); font-style: italic; }

.paint-under--double::after {
  background-image: var(--underline-double);
  height: 0.6em; bottom: -0.58em;
}

/* footer splash button: dark text on paint only, no button block */
.btn-splat {
  background: transparent;
  color: #050505;
  position: relative; isolation: isolate;
  padding: 20px 46px;
  font-size: 22px;
}
.btn-splat:hover { background: transparent; }
.btn-splat::before {
  content: ''; position: absolute; inset: -26px -48px -40px;
  background: var(--stroke-short) no-repeat center / 100% 100%;
  z-index: -1;
  transform: rotate(-2deg);
  transition: transform 200ms ease, filter 200ms ease;
}
.btn-splat:hover::before { transform: rotate(-2deg) scale(1.05); filter: brightness(1.1); }

/* spray dot bullets */
.detail-list li { padding-left: 38px; position: relative; }
.detail-list li::before {
  content: ''; position: absolute; left: 0; top: 32px;
  width: 18px; height: 19px;
  background: var(--dot) no-repeat center / contain;
}

/* sprayed mic art */
.mic-art {
  position: absolute; right: clamp(16px, 7vw, 120px); top: 14%;
  width: clamp(80px, 9vw, 140px); height: auto;
  transform: rotate(10deg);
  pointer-events: none;
}
@media (max-width: 700px) { .mic-art { display: none; } }

.swash-corner {
  position: absolute; pointer-events: none; z-index: 2;
  width: clamp(280px, 34vw, 560px); aspect-ratio: 962 / 557;
  background: var(--swash) no-repeat center / contain;
}

.af-watermark {
  position: absolute; pointer-events: none; z-index: 1;
  opacity: 0.1; width: clamp(260px, 30vw, 520px);
}

/* ---------- paint reveal (image wipe) ---------- */

.reveal-paint { position: relative; overflow: hidden; }
.reveal-paint > img,
.reveal-paint > video { width: 100%; height: 100%; object-fit: cover; }
.reveal-paint > video { position: absolute; inset: 0; }
.reveal-paint .rp-cover {
  position: absolute; top: 0; bottom: 0; left: -24%; width: 170%;
  background: var(--wipe) no-repeat left center / 100% 100%;
  pointer-events: none;
}
.no-js .rp-cover, [data-motion="off"] .rp-cover { display: none; }

/* ---------- hero ---------- */

.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  overflow: clip;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img,
.hero-media video {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.55;
}
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8,8,8,0.55) 0%, rgba(8,8,8,0.15) 40%, rgba(8,8,8,0.92) 88%),
    linear-gradient(90deg, rgba(8,8,8,0.9) 0%, rgba(8,8,8,0.25) 55%, rgba(8,8,8,0.35) 100%);
}
.hero .swash-corner { right: -4%; bottom: -6%; }
.hero .af-watermark { right: 3%; top: 16%; }

.hero-inner {
  position: relative; z-index: 3;
  width: 100%;
  padding-block: 110px clamp(52px, 7vh, 90px);
}
.hero-kicker {
  font-family: var(--font-display); font-size: 20px; letter-spacing: 0.34em;
  color: var(--accent); margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(44px, 9vw, 120px);
}
.hero h1 .line { display: block; overflow: hidden; white-space: nowrap; }
@media (max-width: 520px) { .hero h1 .line { white-space: normal; } }
.hero h1 .line > span { display: inline-block; }
.hero-sub {
  max-width: 46ch; color: var(--muted);
  margin-top: 28px; font-size: clamp(17px, 1.4vw, 20px);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 36px; }

.scroll-cue {
  position: absolute; z-index: 3; left: 50%; bottom: 22px; translate: -50% 0;
  width: 1px; height: 56px; background: var(--control); overflow: hidden;
}
.scroll-cue::after {
  content: ''; position: absolute; inset: 0;
  background: var(--accent);
  animation: cue 2s ease-in-out infinite;
}
@keyframes cue { 0% { transform: translateY(-100%);} 60% { transform: translateY(100%);} 100% { transform: translateY(100%);} }

/* ---------- sections ---------- */

.section { padding-block: var(--space-section); position: relative; }
.section + .section { border-top: 1px solid var(--line); }

.section-head { margin-bottom: clamp(40px, 5vw, 72px); }
.kicker {
  font-family: var(--font-display); font-size: 18px; letter-spacing: 0.3em;
  color: var(--accent); display: block; margin-bottom: 16px;
}
.section-head h2 { font-size: clamp(40px, 5.4vw, 78px); max-width: 18ch; }
.section-head .lede { color: var(--muted); max-width: 56ch; margin-top: 20px; }

/* marquee */
.marquee {
  border-block: 1px solid var(--line);
  padding-block: clamp(20px, 3vw, 40px);
  overflow: clip; white-space: nowrap;
}
.marquee-track {
  display: inline-flex; gap: 0.6em; will-change: transform;
  font-family: var(--font-display);
  font-size: clamp(84px, 14vw, 220px);
  line-height: 0.9; text-transform: uppercase;
}
.marquee-track .solid { color: var(--text); }
.marquee-track .ghost {
  color: transparent;
  -webkit-text-stroke: 1.5px #3c3c3c;
}
.marquee-track .spray { color: var(--accent); }

/* fluency zoom: the marquee pins and the scroll carries you inside the F of Fluency,
   revealing the human-opportunity section through the letterform */
.fz-mask { display: none; }
.fzoom-on { position: relative; height: 100svh; overflow: hidden; }
.fzoom-on .statement--video {
  position: absolute; inset: 0; z-index: 1;
  display: flex; align-items: center; padding-block: 0;
}
.fzoom-on .statement--video .wrap { width: 100%; }
.fzoom-on .marquee--zoom { position: absolute; inset: 0; z-index: 3; border: 0; padding: 0; overflow: hidden; }
.fzoom-on .mz-stage { position: absolute; inset: 0; display: flex; align-items: center; will-change: transform; }
.fzoom-on .fz-mask { display: block; position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.fzoom-on .mz-band {
  position: relative; width: 100%; white-space: nowrap;
  border-block: 1px solid var(--line);
  padding-block: clamp(20px, 3vw, 40px);
}
.fzoom-on .fz-f { visibility: hidden; }

/* ---------- pathways (pinned) ---------- */

.pathways .pw-stage {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 80px); align-items: center;
  min-height: 78vh;
}
.pw-list { list-style: none; margin: 0; padding: 0; counter-reset: pw; }
.pw-item { border-bottom: 1px solid var(--line); }
.pw-item a {
  display: grid; grid-template-columns: minmax(240px, 42%) 1fr; align-items: center;
  column-gap: clamp(18px, 2.4vw, 36px);
  padding-block: clamp(10px, 1.6vw, 18px);
  text-decoration: none; color: var(--text);
}
.pw-word {
  font-family: var(--font-display);
  font-size: clamp(44px, 5.6vw, 92px);
  line-height: 1;
  color: #4a4a4a;
  transition: color 260ms ease, transform 260ms ease;
}
.pw-item .pw-benefit {
  color: var(--muted); font-size: 16px; max-width: 34ch;
  opacity: 0; transform: translateY(6px);
  transition: opacity 260ms ease, transform 260ms ease;
}
.pw-item.is-active .pw-word { color: var(--accent); transform: translateX(6px); }
.pw-item.is-active .pw-benefit { opacity: 1; transform: none; }
.pw-item a:hover .pw-word { color: var(--accent); }

.pw-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.pw-media figure {
  position: absolute; inset: 0; margin: 0;
  clip-path: inset(0 0 100% 0);
}
.pw-media figure.is-active { clip-path: inset(0); }
.pw-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.pw-media .pw-tag {
  position: absolute; left: 18px; bottom: 18px; z-index: 2;
  font-family: var(--font-display); font-size: 18px; letter-spacing: 0.2em;
  color: #050505; background: var(--accent); padding: 6px 14px;
}
.pw-media .swash-corner { width: 68%; right: -16%; bottom: -10%; opacity: 0.9; }

@media (max-width: 900px) {
  .pathways .pw-stage { grid-template-columns: 1fr; min-height: 0; }
  .pw-media { display: none; }
  .pw-item .pw-benefit { opacity: 1; transform: none; }
  .pw-word { color: var(--text); }
}

/* ---------- company cards ---------- */

.company-grid {
  display: grid; gap: 2px;
  grid-template-columns: repeat(3, 1fr);
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 1100px) { .company-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .company-grid { grid-template-columns: 1fr; } }

.company-card {
  background: var(--bg);
  padding: clamp(22px, 2.4vw, 34px);
  display: flex; flex-direction: column; gap: 18px;
  position: relative; overflow: hidden;
  text-decoration: none; color: var(--text);
}
.company-card .cc-img { aspect-ratio: 3 / 2; overflow: hidden; position: relative; }
.company-card .cc-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 180ms ease;
}
.company-card:hover .cc-img img { transform: scale(1.03); }
.company-card .cc-img::after {
  content: ''; position: absolute; right: -30%; bottom: -34%;
  width: 75%; aspect-ratio: 900 / 640;
  background: var(--swash) no-repeat center / contain;
  opacity: 0; transition: opacity 200ms ease, transform 260ms ease;
  transform: translate(8%, 8%);
}
.company-card:hover .cc-img::after { opacity: 1; transform: none; }
.cc-meta { display: flex; gap: 10px; flex-wrap: wrap; }
.tag {
  font-family: var(--font-display); font-size: 14px; letter-spacing: 0.18em;
  border: 1px solid var(--control); color: var(--muted);
  padding: 4px 10px;
}
.tag-accent { border-color: var(--accent); color: var(--accent); }
.company-card h3 { font-size: clamp(30px, 2.6vw, 42px); }
.company-card h3 .af-word { color: var(--accent); }
.company-card .cc-desc { color: var(--muted); font-size: 16px; flex: 1; }
.cc-link {
  font-family: var(--font-display); font-size: 18px; letter-spacing: 0.1em;
  color: var(--accent); display: inline-flex; gap: 10px; align-items: center;
}
.cc-link .arr { transition: transform 180ms ease; }
.company-card:hover .cc-link .arr { transform: translateX(4px); }

/* ---------- split feature (Cat) ---------- */

.split {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(36px, 6vw, 96px); align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split .reveal-paint { aspect-ratio: 4 / 5; }
.split h2 { font-size: clamp(44px, 5.4vw, 84px); }
.split .role {
  font-family: var(--font-display); letter-spacing: 0.24em; font-size: 19px;
  color: var(--accent); margin: 14px 0 20px;
}
.split .bio { color: var(--muted); max-width: 52ch; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 32px; }
.chip {
  border: 1px solid var(--line); background: var(--surface);
  padding: 10px 16px; font-size: 14px; color: var(--muted);
}
.chip strong { color: var(--text); font-weight: 600; }

/* ---------- editorial cards ---------- */

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); }
@media (max-width: 960px) { .post-grid { grid-template-columns: 1fr; } }
.post-card { text-decoration: none; color: var(--text); display: flex; flex-direction: column; }
.post-card .pc-img { display: block; aspect-ratio: 3 / 2; overflow: hidden; margin-bottom: 20px; }
.post-card .pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 180ms ease; }
.post-card:hover .pc-img img { transform: scale(1.03); }
.pc-meta { display: flex; gap: 14px; font-size: 13.5px; color: var(--muted); margin-bottom: 12px; flex-wrap: wrap; }
.pc-meta .pc-type { color: var(--accent); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; font-size: 12.5px; }
.post-card h3 { font-size: clamp(26px, 2.2vw, 34px); line-height: 0.95; }
.post-card:hover h3 { color: var(--accent); }
.pc-standfirst { color: var(--muted); font-size: 15.5px; margin-top: 10px; }

/* ---------- statement band ---------- */

.statement { text-align: left; }
.statement .big {
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 72px);
  line-height: 0.9; text-transform: uppercase;
  max-width: 24ch;
}
.statement .big em { font-style: normal; color: var(--accent); }

/* ---------- CTA band + newsletter ---------- */

.cta-band { position: relative; overflow: visible; background: var(--surface); padding-top: clamp(48px, 6vw, 88px); }
.cta-band .swash-corner {
  left: -3%; top: clamp(-170px, -11vw, -70px);
  width: clamp(420px, 48vw, 820px);
  transform: scaleX(-1); opacity: 0.95;
}
.cta-grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(36px, 6vw, 96px); align-items: center;
  position: relative; z-index: 2;
}
@media (max-width: 900px) { .cta-grid { grid-template-columns: 1fr; } }
.cta-band h2 { font-size: clamp(44px, 5.6vw, 86px); }
.newsletter label { display: block; font-weight: 600; margin-bottom: 10px; }
.newsletter .nl-hint { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.nl-row { display: flex; gap: 0; }
.nl-row input[type="email"] {
  flex: 1; min-width: 0;
  background: var(--bg); border: 1px solid var(--control); color: var(--text);
  padding: 14px 16px; font-size: 16px; font-family: var(--font-body);
}
.nl-row .btn { flex-shrink: 0; }

/* ---------- background video bands ---------- */

.cta-band .band-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.18; z-index: 0; pointer-events: none;
}
.cta-band .swash-corner, .cta-band .cta-grid { position: relative; }
.cta-band .cta-grid { z-index: 2; }

.mascot-figure { margin: 0; position: relative; }
.mascot-figure video { width: 100%; height: auto; display: block; }
.mascot-figure figcaption {
  font-family: var(--font-display); font-size: 17px; letter-spacing: 0.18em;
  color: var(--muted); margin-top: 12px; text-transform: uppercase;
}

/* ---------- stacked portfolio rows ---------- */

.company-stack { border-top: 1px solid var(--line); }
.company-row {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 96px); align-items: center;
  padding: clamp(44px, 6vw, 88px) 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none; color: var(--text);
}
.company-row .cr-body { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.company-row h3 { font-size: clamp(48px, 5.8vw, 92px); }
.company-row .cc-desc { color: var(--muted); font-size: 17px; max-width: 48ch; }
.company-row .cc-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.company-row .cc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 180ms ease; }
.company-row:hover .cc-img img { transform: scale(1.03); }
.company-row .cc-img::after {
  content: ''; position: absolute; right: -26%; bottom: -30%;
  width: 70%; aspect-ratio: 962 / 557;
  background: var(--swash) no-repeat center / contain;
  opacity: 0; transition: opacity 200ms ease, transform 260ms ease;
  transform: translate(8%, 8%);
}
.company-row:hover .cc-img::after { opacity: 1; transform: none; }
.company-row:nth-of-type(even) .cc-img { order: -1; }
.company-row:hover .cc-link .arr { transform: translateX(4px); }
@media (max-width: 860px) {
  .company-row { grid-template-columns: 1fr; gap: 26px; }
  .company-row:nth-of-type(even) .cc-img { order: -1; }
  .company-row .cc-img { order: -1; }
}

/* ---------- prose (legal pages) ---------- */

.prose { max-width: 68ch; color: var(--muted); }
.prose h2 { font-size: clamp(28px, 3vw, 42px); color: var(--text); margin: clamp(40px, 5vw, 56px) 0 16px; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 8px; }

/* ---------- AI fluency check ---------- */

.quiz { max-width: 760px; }
.q-progress { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.q-progress .qp-label { font-family: var(--font-display); font-size: 18px; letter-spacing: 0.14em; color: var(--muted); white-space: nowrap; }
.q-progress .qp-track { flex: 1; height: 6px; background: var(--line); overflow: hidden; }
.q-progress .qp-fill { height: 100%; width: 0; background: var(--accent); transition: width 260ms ease; }

.q-step { display: none; }
.q-step.is-active { display: block; }
.no-js .q-step, [data-motion="off"] .q-step { display: block; margin-bottom: 40px; }
.q-step legend {
  font-family: var(--font-display); font-size: clamp(26px, 2.8vw, 38px);
  line-height: 1.0; margin-bottom: 8px; text-transform: uppercase;
}
.q-step .q-kind { color: var(--muted); font-size: 13.5px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 20px; }
.q-options { display: grid; gap: 10px; }
.q-opt input { position: absolute; opacity: 0; }
.q-opt span {
  display: block; cursor: pointer;
  border: 1px solid var(--control); background: var(--surface);
  padding: 15px 18px; font-size: 15.5px; color: var(--text);
  transition: border-color 140ms ease, background-color 140ms ease;
}
.q-opt span:hover { border-color: var(--text); }
.q-opt input:checked + span { border-color: var(--accent); background: color-mix(in srgb, var(--cyan) 9%, transparent); }
.q-opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.q-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 32px; }

.q-results { }
.q-score { font-family: var(--font-display); font-size: clamp(90px, 12vw, 180px); line-height: 1; color: var(--accent); }
.q-verdict { font-family: var(--font-display); font-size: clamp(30px, 3.6vw, 52px); margin-top: 4px; }
.dim-row { border-top: 1px solid var(--line); padding: 26px 0; }
.dim-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.dim-head h3 { font-size: clamp(24px, 2.2vw, 32px); }
.dim-head .dim-pct { font-family: var(--font-display); font-size: clamp(28px, 2.6vw, 40px); color: var(--accent); }
.dim-track { height: 8px; background: var(--line); margin: 14px 0; overflow: hidden; }
.dim-fill { height: 100%; width: 0; background: var(--accent); transition: width 700ms ease; }
.dim-row p { color: var(--muted); font-size: 15px; max-width: 62ch; }
.dim-steps { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 12px; }

/* ---------- article detail ---------- */

.article-meta { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.article-meta img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.article-meta .am-name { font-weight: 600; font-size: 15px; }
.article-meta .am-sub { color: var(--muted); font-size: 13.5px; }

.article-lead { margin: 0; }
.article-lead img, .article-lead .reveal-paint { aspect-ratio: 21 / 9; }

.prose blockquote {
  margin: clamp(40px, 5vw, 56px) 0;
  padding: 0;
  border: 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 0.95; text-transform: uppercase; color: var(--text);
}
.prose blockquote .af-word { font-style: italic; }
.prose figure { margin: clamp(36px, 4vw, 52px) 0; }
.prose figcaption { font-size: 13.5px; color: var(--muted); margin-top: 10px; }

.author-box {
  display: flex; gap: 22px; align-items: center;
  border: 1px solid var(--line); background: var(--surface);
  padding: 24px; margin-top: clamp(48px, 6vw, 72px);
}
.author-box img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-box .ab-name { font-family: var(--font-display); font-size: 26px; }
.author-box p { color: var(--muted); font-size: 15px; margin: 6px 0 0; }

/* ---------- social icons ---------- */

.social-row { display: flex; gap: 18px; margin-top: 28px; }
.social-row a { color: var(--muted); display: inline-flex; padding: 4px; }
.social-row a:hover { color: var(--accent); }
.social-row svg { width: 21px; height: 21px; fill: currentColor; }

/* ---------- footer ---------- */

.site-footer { border-top: 1px solid var(--line); padding-block: 64px 40px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  margin-bottom: 48px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .logo-link img { height: 42px; }
.footer-tag { color: var(--muted); font-size: 15px; margin-top: 16px; max-width: 34ch; }
.footer-col h4 {
  font-family: var(--font-display); font-size: 17px; letter-spacing: 0.22em;
  color: var(--muted); margin: 0 0 16px; text-transform: uppercase; font-weight: 400;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--text); text-decoration: none; font-size: 15.5px; }
.footer-col a:hover { color: var(--accent); }
.footer-legal {
  display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between;
  border-top: 1px solid var(--line); padding-top: 28px;
  color: var(--muted); font-size: 13.5px;
}
.footer-legal .powered { color: var(--muted); }
.footer-legal .powered strong { color: var(--pink); font-weight: 600; letter-spacing: 0.06em; }
.footer-legal nav { display: flex; gap: 18px; }
.footer-legal nav a { color: var(--muted); }

/* ---------- page hero (interior) ---------- */

.page-hero { position: relative; padding-top: 170px; padding-bottom: clamp(48px, 6vw, 88px); overflow: clip; }
.page-hero h1 { font-size: clamp(56px, 9vw, 128px); max-width: 14ch; }
.page-hero .lede { color: var(--muted); max-width: 56ch; margin-top: 24px; font-size: clamp(17px, 1.4vw, 20px); }
.page-hero .swash-corner { right: -6%; top: 6%; opacity: 0.8; }

/* ---------- portfolio filters ---------- */

.filter-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(32px, 4vw, 56px); }
.filter-btn {
  background: none; border: 1px solid var(--control); color: var(--muted);
  font-family: var(--font-display); font-size: 17px; letter-spacing: 0.12em;
  padding: 9px 18px; cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}
.filter-btn:hover { color: var(--text); border-color: var(--text); }
.filter-btn[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #050505; }
.filter-empty { color: var(--muted); padding: 48px 0; }

/* ---------- detail page (technocat) ---------- */

.detail-hero { position: relative; min-height: 92svh; display: flex; align-items: flex-end; overflow: clip; }
.detail-hero .hero-media img { object-position: 70% 20%; }
.detail-hero .lockup-img { width: min(640px, 82vw); height: auto; margin-bottom: 26px; }
.detail-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.detail-list li {
  border-top: 1px solid var(--line); padding: 22px 0 22px 38px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px;
}
@media (max-width: 700px) { .detail-list li { grid-template-columns: 1fr; gap: 6px; } }
.detail-list .dl-term { font-family: var(--font-display); font-size: 26px; letter-spacing: 0.04em; }
.detail-list .dl-desc { color: var(--muted); }

.fact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 900px) { .fact-grid { grid-template-columns: repeat(2, 1fr); } }
.fact { background: var(--bg); padding: clamp(20px, 2.4vw, 32px); }
.fact .fv { display: block; font-family: var(--font-display); font-size: clamp(40px, 4vw, 64px); color: var(--accent); line-height: 1; }
.fact .fl { display: block; color: var(--muted); font-size: 14px; margin-top: 8px; letter-spacing: 0.04em; }

/* ---------- forms (contact) ---------- */

.form-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); }
@media (max-width: 900px) { .form-grid { grid-template-columns: 1fr; } }
.inquiry-form { display: grid; gap: 22px; }
.field label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--surface); border: 1px solid var(--control);
  color: var(--text); padding: 13px 15px; font-size: 16px; font-family: var(--font-body);
}
.field textarea { min-height: 150px; resize: vertical; }
.field .hint { color: var(--muted); font-size: 13.5px; margin-top: 6px; }
.type-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; }
.type-opt input { position: absolute; opacity: 0; }
.type-opt span {
  display: block; text-align: center; cursor: pointer;
  border: 1px solid var(--control); color: var(--muted);
  font-family: var(--font-display); font-size: 16px; letter-spacing: 0.1em;
  padding: 12px 8px;
  transition: 160ms ease;
}
.type-opt input:checked + span { background: var(--accent); border-color: var(--accent); color: #050505; }
.type-opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.consent { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 15px; }
.consent input { margin-top: 4px; accent-color: var(--cyan); }
.form-success {
  border: 1px solid var(--accent); background: var(--surface); padding: 28px;
}
.form-success h3 { font-size: 32px; margin-bottom: 8px; }

/* ---------- careers ---------- */

.job-list { list-style: none; margin: 0; padding: 0; }
.job-list li { border-top: 1px solid var(--line); }
.job-list li:last-child { border-bottom: 1px solid var(--line); }
.job-row {
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr) minmax(0, 2fr) auto;
  gap: 20px; align-items: center; padding: 26px 0;
  text-decoration: none; color: var(--text);
}
@media (max-width: 800px) { .job-row { grid-template-columns: 1fr; gap: 8px; } }
.job-row h3 { font-size: clamp(28px, 2.6vw, 40px); }
.job-row .jr-meta { color: var(--muted); font-size: 15px; }
.job-row:hover h3 { color: var(--accent); }

/* ---------- generic reveals ---------- */

[data-reveal] { opacity: 0; transform: translateY(16px); }
[data-motion="off"] [data-reveal], .no-js [data-reveal] { opacity: 1; transform: none; }

/* test-only: flatten viewport-height heroes for full-page capture */
.flat .hero, .flat .detail-hero { min-height: 720px; }
.flat .pw-stage { min-height: 0; }

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .scroll-cue::after { animation: none; }
}

/* ---------- WP additions ---------- */

.consent-bar {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 180;
  max-width: 560px; margin-inline: auto;
  background: var(--surface); border: 1px solid var(--line);
  padding: 20px 22px; display: flex; gap: 18px; align-items: center; flex-wrap: wrap;
}
.consent-bar p { margin: 0; font-size: 14.5px; color: var(--muted); flex: 1; min-width: 220px; }
.consent-bar .cb-actions { display: flex; gap: 10px; }
.consent-bar .btn { font-size: 16px; padding: 10px 18px; }

.wp-pagination { display: flex; gap: 8px; margin-top: clamp(40px, 5vw, 64px); flex-wrap: wrap; }
.wp-pagination .page-numbers {
  font-family: var(--font-display); font-size: 18px; letter-spacing: 0.1em;
  border: 1px solid var(--control); color: var(--muted); text-decoration: none;
  padding: 10px 16px;
}
.wp-pagination .page-numbers.current { background: var(--accent); border-color: var(--accent); color: #050505; }
.wp-pagination a.page-numbers:hover { color: var(--text); border-color: var(--text); }

.search-result { border-top: 1px solid var(--line); padding: 28px 0; }
.search-result:last-of-type { border-bottom: 1px solid var(--line); }
.search-result h3 { font-size: clamp(26px, 2.6vw, 38px); }
.search-result h3 a { text-decoration: none; color: var(--text); }
.search-result h3 a:hover { color: var(--accent); }
.search-result .sr-meta { color: var(--accent); font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; }
.search-result p { color: var(--muted); font-size: 15.5px; margin-top: 8px; max-width: 68ch; }

.person-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); }
@media (max-width: 900px) { .person-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .person-grid { grid-template-columns: 1fr; } }
.person-card { text-decoration: none; color: var(--text); display: flex; flex-direction: column; }
.person-card .pcard-img { display: block; aspect-ratio: 4 / 5; overflow: hidden; margin-bottom: 18px; }
.person-card .pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 180ms ease; }
.person-card:hover .pcard-img img { transform: scale(1.03); }
.person-card h3 { font-size: clamp(28px, 2.6vw, 40px); }
.person-card:hover h3 { color: var(--accent); }
.person-card .pcard-role { color: var(--muted); font-size: 14.5px; margin-top: 6px; }

.entry-content { max-width: 68ch; color: var(--muted); font-size: 17px; }
.entry-content h2 { font-size: clamp(28px, 3vw, 42px); color: var(--text); margin: clamp(36px, 4vw, 52px) 0 14px; }
.entry-content p { margin-bottom: 1em; }
.entry-content ul { padding-left: 22px; }
.entry-content li { margin-bottom: 8px; }
.entry-content a { color: var(--text); }
.entry-content img { height: auto; }
.entry-content strong { color: var(--text); }

.form-error {
  border: 1px solid var(--pink); background: var(--surface);
  padding: 16px 20px; margin-bottom: 24px; color: var(--text); font-size: 15px;
}

.consent-bar[hidden] { display: none; }



.person-grid--four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .person-grid--four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .person-grid--four { grid-template-columns: 1fr; } }

/* ---------- horizontal company scroller (home only, Huge-style) ---------- */

.hscroll { position: relative; overflow: hidden; background: var(--bg); }
.hs-track { will-change: transform; }
.hs-panel {
  position: relative;
  padding: clamp(44px, 6vw, 88px) 0;
  border-top: 1px solid var(--line);
}
.hs-inner {
  display: grid; grid-template-columns: 1fr; gap: 28px;
  align-items: center; width: 100%;
}
.hs-panel .cr-num {
  font-family: var(--font-display); font-size: clamp(64px, 10vw, 160px);
  line-height: 1; color: transparent; -webkit-text-stroke: 1.5px #333;
  position: absolute; top: 8vh; right: var(--gutter);
  pointer-events: none; display: none;
}
.hs-panel .cc-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.hs-panel .cc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 180ms ease; }
.hs-panel:hover .cc-img img { transform: scale(1.03); }
.hs-panel .cc-img::after {
  content: ''; position: absolute; right: -26%; bottom: -30%;
  width: 70%; aspect-ratio: 962 / 557;
  background: var(--swash) no-repeat center / contain;
  opacity: 0; transition: opacity 200ms ease, transform 260ms ease;
  transform: translate(8%, 8%);
}
.hs-panel:hover .cc-img::after { opacity: 1; transform: none; }
.hs-panel .cr-body { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.hs-panel h3 { font-size: clamp(48px, 7.5vw, 128px); }
.hs-panel .cc-desc { color: var(--muted); font-size: 17px; max-width: 46ch; }
.hs-panel a.hs-link { text-decoration: none; color: var(--text); display: block; }
.hs-hint {
  display: none;
  font-family: var(--font-display); font-size: 16px; letter-spacing: 0.24em;
  color: var(--muted); text-transform: uppercase;
  position: absolute; bottom: 5vh; right: var(--gutter);
}

@media (min-width: 901px) {
  html:not([data-motion="off"]):not(.no-js) .hs-track { display: flex; }
  html:not([data-motion="off"]):not(.no-js) .hs-panel {
    flex: 0 0 100vw; width: 100vw; min-height: 100svh;
    display: flex; align-items: center;
    padding: 0; border-top: 0; border-left: 1px solid var(--line);
  }
  html:not([data-motion="off"]):not(.no-js) .hs-panel .cr-num { display: block; }
  html:not([data-motion="off"]):not(.no-js) .hs-hint { display: block; }
  html:not([data-motion="off"]):not(.no-js) .hs-inner {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: clamp(32px, 5vw, 96px);
  }
  /* stacked (non-pinned) desktop fallback still gets two columns */
  [data-motion="off"] .hs-inner, .no-js .hs-inner {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: clamp(32px, 5vw, 96px);
  }
}

/* intro panel for the horizontal scroller */
.hs-intro .cr-body { gap: 22px; }
.hs-intro h2 { font-size: clamp(44px, 5.6vw, 92px); max-width: 14ch; }
.hs-arrow { display: block; }
.hs-arrow img { width: clamp(240px, 34vw, 560px); height: auto; display: block; margin-inline: auto; }
@media (max-width: 900px) { .hs-arrow img { width: clamp(160px, 40vw, 260px); margin: 0; } }

.hs-intro h2 { margin-bottom: 0.4em; }

/* ---------- fluency check: typeform mode ---------- */

.quiz { max-width: 880px; }
.q-progress { margin-bottom: 40px; }
.q-progress .qp-track { background: #1c1c1c; height: 8px; }
.q-progress .qp-fill { background: var(--underline) no-repeat left center / 100% 100%; height: 100%; }
.q-step.is-active { min-height: 44vh; }
.q-step legend {
  font-size: clamp(34px, 4.4vw, 62px);
  line-height: 0.9;
  max-width: 22ch;
  text-wrap: balance;
}
.q-options { gap: 12px; }
@media (min-width: 760px) { .q-options { grid-template-columns: 1fr 1fr; } }
.q-opt span {
  position: relative;
  padding: 20px 22px 20px 66px;
  font-size: 16px;
  min-height: 74px;
  display: flex; align-items: center;
}
.q-opt span::before {
  content: attr(data-key);
  position: absolute; left: 18px; top: 50%; translate: 0 -50%;
  width: 32px; height: 34px;
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 20px;
  color: var(--muted); border: 1px solid var(--line);
  transition: 140ms ease;
}
.q-opt input:checked + span::before { background: var(--accent); border-color: var(--accent); color: #050505; }
.q-keys-hint { color: var(--muted); font-size: 13px; margin-top: 18px; }

/* milestone reward toast */
.q-toast { position: fixed; inset: 0; display: grid; place-items: center; z-index: 165; pointer-events: none; }
.q-toast .qt-card { position: relative; padding: 40px 80px; transform: rotate(-2deg); }
.q-toast .qt-card::before {
  content: ''; position: absolute; inset: -34px -64px -50px;
  background: var(--stroke-short) no-repeat center / 100% 100%;
  z-index: -1;
}
.q-toast .qt-text {
  font-family: var(--font-display); font-size: clamp(28px, 4vw, 52px);
  color: #050505; text-transform: uppercase; letter-spacing: 0.02em; white-space: nowrap;
}

/* results spray burst */
.q-dot {
  position: fixed; z-index: 170; pointer-events: none;
  width: 40px; height: 42px;
  background: var(--dot) no-repeat center / contain;
}

/* ---------- header logo load animation ---------- */

.logo-anim { display: inline-flex; align-items: flex-start; }
.logo-anim img { height: 34px; width: auto; display: block; }
.logo-anim svg.la { height: 34px; width: 66.9px; display: block; }
.logo-anim .la { transform-origin: 40% 60%; }

/* ---------- quiz: no box, big clean question ---------- */

.q-step { border: 0; padding: 0; margin: 0; min-inline-size: auto; }
.q-step legend { padding: 0; float: left; width: 100%; }
.q-step .q-kind { clear: both; }

/* ---------- portfolio launch countdown ---------- */

.countdown { margin-top: clamp(28px, 4vw, 44px); }
.countdown .cd-label {
  font-family: var(--font-display); font-size: 16px; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 14px;
}
.cd-row { display: flex; gap: clamp(16px, 3vw, 40px); align-items: baseline; flex-wrap: wrap; }
.cd-unit { text-align: left; }
.cd-num {
  display: block; font-family: var(--font-display);
  font-size: clamp(44px, 6vw, 96px); line-height: 0.9;
  color: var(--text); font-variant-numeric: tabular-nums;
}
.cd-word { color: var(--muted); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; }
.cd-sep {
  font-family: var(--font-display); font-size: clamp(36px, 5vw, 80px);
  color: var(--accent); line-height: 0.9; align-self: flex-start;
}
.countdown .cd-underline {
  display: block; width: min(420px, 90%); height: 14px; margin-top: 16px;
  background: var(--underline) no-repeat left center / 100% 100%;
}
.countdown.is-live .cd-row, .countdown.is-live .cd-underline { display: none; }
.countdown--compact .cd-num { font-size: clamp(34px, 3.6vw, 56px); }
.hs-panel .countdown { margin-top: clamp(16px, 2vw, 26px); }
.hs-panel .countdown .cd-label { margin-bottom: 8px; }

/* per-company launch countdown band (company detail pages) */
.section--launch { padding-block: clamp(48px, 6vw, 84px); border-block: 1px solid var(--line); }
.section--launch .launch-early { margin-top: clamp(36px, 5vw, 64px); max-width: 720px; }
.section--launch .launch-early h2 { font-size: clamp(34px, 3.6vw, 54px); }
.section--launch .launch-early p { color: var(--muted); margin: 18px 0 26px; max-width: 56ch; }
.hero-kicker .kicker-soon { color: var(--text); }

/* ---------- brand flip: TechnoCat becomes Amplified AF ---------- */

.brand-flip {
  display: inline-grid;
  grid-template-columns: auto auto;
  column-gap: 0.14em;
  align-items: start;
  margin-bottom: 20px;
  max-width: 100%;
}
.brand-flip .bf-words { grid-row: 1; grid-column: 1; display: inline-grid; overflow: hidden; }
.brand-flip .bf-word { grid-row: 1; grid-column: 1; white-space: nowrap; }
.brand-flip .bf-word--new { opacity: 0; }
.brand-flip .bf-af { grid-row: 1; grid-column: 2; width: 1.6em; margin-top: 0.03em; }
.brand-flip .bf-af-svg { display: block; width: 100%; height: auto; overflow: visible; }
html:not([data-motion="off"]):not(.no-js) .brand-flip .bf-af-svg { visibility: hidden; }
.bf-note { color: var(--muted); font-size: 15px; margin: 0 0 20px; }
.bf-note strong { color: var(--text); }
[data-motion="off"] .bf-word--old, .no-js .bf-word--old { opacity: 0; }
[data-motion="off"] .bf-word--new, .no-js .bf-word--new { opacity: 1; }

.person-card .ext { color: var(--muted); font-size: 0.55em; vertical-align: super; margin-left: 6px; }

.q-opt span:not([data-key])::before, .q-opt span[data-key=""]::before { display: none; }
[data-motion="off"] .q-opt span, .no-js .q-opt span { padding-left: 22px; }

/* ---------- spray page transition ---------- */
.page-wipe { position: fixed; left: 0; top: 0; width: 100%; height: 118vh; z-index: 6000; pointer-events: none; transform: translateY(-135vh); will-change: transform; }
.page-wipe .pw-panel { position: absolute; inset: 0; background: #050505; }
.page-wipe .pw-edge { position: absolute; left: -2vw; right: -2vw; height: 9vh; background: var(--underline) no-repeat center / 100% 100%; }
.page-wipe .pw-edge-bot { bottom: -4.5vh; }
.page-wipe .pw-edge-top { top: -4.5vh; }
html.wiping body::after { content: ''; position: fixed; inset: 0; background: #050505; z-index: 5999; }
html[data-motion="off"] .page-wipe { display: none; }

/* homepage carousel: photos sprayed on in white */
.hs-panel .cc-img { overflow: visible; background: var(--sprayframe) no-repeat center / 100% 100%; }
.hs-panel .cc-img img {
  -webkit-mask: var(--sprayframe) no-repeat center / 93% 93%;
  mask: var(--sprayframe) no-repeat center / 93% 93%;
}
.hs-panel .cc-img::after { display: none; }

/* statement sections with a quiet video wash behind the words */
.statement--video { position: relative; overflow: hidden; }
.statement--video .stmt-media { position: absolute; inset: 0; z-index: 0; }
.statement--video .stmt-media video { width: 100%; height: 100%; object-fit: cover; opacity: 0.26; }
.statement--video .stmt-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,8,8,.92), rgba(8,8,8,.55) 55%, rgba(8,8,8,.38)); }
.statement--video .wrap { position: relative; z-index: 1; }

.page-hero--video { position: relative; overflow: hidden; }
.page-hero--video .stmt-media { position: absolute; inset: 0; z-index: 0; }
.page-hero--video .stmt-media video { width: 100%; height: 100%; object-fit: cover; opacity: 0.26; }
.page-hero--video .stmt-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,8,8,.9), rgba(8,8,8,.5)); }
.page-hero--video .wrap, .page-hero--video .swash-corner { position: relative; z-index: 1; }
