/* ==========================================================================
   HighRise Media — Design System
   ========================================================================== */

:root {
  --bg: #0a0a0c;
  --bg-panel: #111318;
  --bg-light: #14171e;
  --bg-light-alt: #eceef2;
  --text: #f5f5f7;
  --text-muted: #9a9ca3;
  --text-dark: #0f1115;
  --text-dark-muted: #55585f;
  --line: rgba(255, 255, 255, 0.09);
  --line-light: rgba(15, 17, 21, 0.1);
  --accent: #3b82f6;
  --accent-light: #7dd3fc;
  --accent-deep: #1338a8;
  --accent-gradient: linear-gradient(135deg, #0f2447 0%, #2d6fd1 45%, #7dd3fc 100%);
  --accent-gradient-soft: linear-gradient(135deg, rgba(45, 111, 209, 0.25), rgba(125, 211, 252, 0.08));
  --radius: 18px;
  --radius-sm: 10px;
  --container: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

html {
  /* fallback + base ground behind the live canvas */
  background: radial-gradient(ellipse 70% 60% at 70% 25%, #0d1730 0%, #06070a 60%), #06070a;
}

#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
  pointer-events: none;
}

/* everything sits above the canvas */
body > header,
body > section,
body > footer,
body > div { position: relative; z-index: 1; }

body {
  background: transparent;
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: 'Archivo Black', 'Inter', sans-serif;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4,
.section-light h1, .section-light h2, .section-light h3, .section-light h4 { color: var(--text); }

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 14px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* Translucent scrims: the live background shows through every section. */
/* Slightly more transparent so the scroll narrative stays readable behind content. */
.section-dark  { background: rgba(8, 9, 12, 0.66); }
.section-panel { background: rgba(14, 16, 22, 0.58); }
.section-light { background: rgba(11, 13, 18, 0.50); }

section { padding: 120px 0; position: relative; }
@media (max-width: 768px) { section { padding: 80px 0; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease), color .35s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--text); color: var(--text-dark); }
.btn-primary:hover { background: var(--accent-light); }
/* background must be explicit: on a <button> the UA default (ButtonFace)
   is near-white, which made white label text invisible. */
.btn-outline { background: transparent; border-color: rgba(255,255,255,0.28); color: var(--text); }
.btn-outline:hover { border-color: var(--text); }
.btn-accent { background: var(--accent-gradient); color: #fff; }
.btn-sm { padding: 11px 22px; font-size: 0.75rem; }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 26px 0;
  transition: padding 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.navbar.is-scrolled {
  padding: 16px 0;
  background: rgba(10, 10, 12, 0.82);
  backdrop-filter: blur(14px);
  border-color: var(--line);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 26px; width: auto; }
.nav-logo-text {
  font-family: 'Archivo Black', sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}
.nav-logo-dot { color: var(--accent-light); }
.nav-links { display: flex; align-items: center; gap: 40px; }
.nav-links a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.25s var(--ease);
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 20px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--text); transition: all 0.3s var(--ease); }

@media (max-width: 900px) {
  .nav-links { position: fixed; top: 0; right: -100%; width: 78%; max-width: 340px; height: 100vh;
    background: #0a0a0c; flex-direction: column; justify-content: center; align-items: flex-start;
    padding: 40px; gap: 28px; transition: right 0.4s var(--ease); border-left: 1px solid var(--line); }
  .nav-links.is-open { right: 0; }
  .nav-toggle { display: flex; }
  .nav-cta .btn-outline { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 140px;
  overflow: hidden;
}
.hero .parallax-overlay {
  background-image:
    linear-gradient(90deg, rgba(6,7,10,0.88) 0%, rgba(6,7,10,0.55) 45%, rgba(6,7,10,0.05) 75%, rgba(6,7,10,0.2) 100%),
    linear-gradient(0deg, rgba(6,7,10,0.7) 0%, rgba(6,7,10,0.0) 40%, rgba(6,7,10,0.1) 100%);
}
/* .hero is a flex container — without this the .container shrinks to its
   content and margin:auto centres it, pushing the copy inward. */
.hero > .container { width: 100%; }
.hero-inner { position: relative; z-index: 2; max-width: 820px; }
.hero-eyebrow { display: flex; align-items: center; gap: 10px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 26px; }
.hero-eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-light); box-shadow: 0 0 12px var(--accent-light); }
.hero h1 { font-size: clamp(2.4rem, 4.8vw, 4.1rem); line-height: 1.12; margin-bottom: 26px; white-space: normal; }
/* Accent words: contrasting italic serif against the heavy grotesque. */
.grad {
  font-family: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -0.005em;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* serif x-height differs from Archivo Black — nudge for optical balance */
  font-size: 1.08em;
  padding-right: 0.04em;
}
.section-light .grad { background: linear-gradient(135deg, #1338a8, #2d6fd1); -webkit-background-clip: text; background-clip: text; }
.hero p.lead { font-family: 'Inter', sans-serif; text-transform: none; font-size: 1.08rem; color: var(--text-muted); max-width: 480px; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-trust { display: flex; gap: 36px; flex-wrap: wrap; }
.hero-trust div { display: flex; flex-direction: column; }
.hero-trust strong { font-family: 'Archivo Black', sans-serif; font-size: 1.5rem; }
.hero-trust span { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 4px; }

@media (max-width: 900px) {
  .hero .parallax-bg { background-position: 70% center; }
}

/* ---------- Section scrims over the live background ---------- */
.parallax-bg { display: none; }   /* superseded by the WebGL background */
.parallax-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* ---------- Glassmorphism capabilities section ---------- */
.capabilities {
  position: relative;
  padding: 110px 0;
  overflow: hidden;
}
.capabilities .parallax-overlay {
  background-image: linear-gradient(100deg, rgba(6,7,10,0.88) 0%, rgba(6,7,10,0.45) 45%, rgba(6,7,10,0.72) 100%);
}
.capabilities-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 0.95fr; gap: 60px; align-items: center; }
@media (max-width: 900px) { .capabilities-inner { grid-template-columns: 1fr; } }

.glass-panel {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(24px) saturate(110%);
  -webkit-backdrop-filter: blur(24px) saturate(110%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.glass-panel:hover {
  transform: translateY(-8px);
  border-color: rgba(125, 211, 252, 0.45);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(125, 211, 252, 0.2);
}
.glass-panel + .glass-panel { margin-top: 20px; }
.glass-panel h3 { font-size: 1.25rem; margin-bottom: 12px; text-transform: none; }
.glass-panel p { color: rgba(255, 255, 255, 0.75); text-transform: none; font-size: 0.95rem; }
.glass-mock { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.glass-mock .bar { height: 12px; border-radius: 100px; background: rgba(255, 255, 255, 0.16); }
.glass-mock .bar.short { width: 45%; }
.glass-mock .bar.accent { background: var(--accent-gradient); width: 65%; height: 34px; }

/* ---------- Marquee ---------- */
.marquee-section { padding: 56px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.marquee-label { text-align: center; font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 30px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 26px; width: max-content; animation: scroll 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: 'Archivo Black', sans-serif; font-size: 1.3rem; color: var(--text-muted); opacity: 0.55; white-space: nowrap; text-transform: uppercase; }

/* Client logos are dark-ink marks made for light backgrounds — give each a
   white chip so they stay legible and consistent on the dark theme. */
.client-logo {
  flex: 0 0 auto;
  height: 84px;
  min-width: 150px;
  padding: 0 26px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.88;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.client-logo:hover { opacity: 1; transform: translateY(-3px); }
.client-logo img {
  max-height: 46px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  display: block;
}
@media (max-width: 700px) {
  .client-logo { height: 68px; min-width: 120px; padding: 0 18px; }
  .client-logo img { max-height: 36px; max-width: 140px; }
}
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Section headers ---------- */
.section-head { max-width: 640px; margin-bottom: 64px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.section-head p { margin-top: 18px; color: var(--text-muted); text-transform: none; font-family: 'Inter', sans-serif; font-size: 1.02rem; }

/* ---------- Service / feature cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }
@media (min-width: 601px) and (max-width: 900px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }

.card {
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.card:hover {
  transform: translateY(-8px);
  border-color: rgba(125,211,252,0.4);
  background: rgba(255, 255, 255, 0.075);
  box-shadow: 0 20px 45px rgba(0,0,0,0.35), 0 0 0 1px rgba(125,211,252,0.15);
}
.card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--accent-gradient-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.card-icon svg { width: 24px; height: 24px; stroke: var(--accent-light); }
.card h3 { font-size: 1.15rem; margin-bottom: 12px; text-transform: none; font-family: 'Archivo Black', sans-serif; }
.card p { color: var(--text-muted); font-size: 0.95rem; text-transform: none; }
.card .card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent-light); transition: gap 0.3s var(--ease); }
.card:hover .card-link { gap: 10px; }

/* ---------- Service illustrations (always-on looping animation) ---------- */
.svc-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
  align-items: start;
}
@media (max-width: 1050px) { .svc-row { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
@media (max-width: 640px)  { .svc-row { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (max-width: 400px)  { .svc-row { grid-template-columns: 1fr; } }

.svc { text-align: center; }
.svc-art { width: 100%; max-width: 190px; margin: 0 auto 6px; }
.svc-art svg { width: 100%; height: auto; overflow: visible; }

.svc-pill {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-family: 'Archivo Black', sans-serif;
  font-size: 0.82rem;
  line-height: 1.25;
  letter-spacing: 0.01em;
  color: var(--text);
  margin-bottom: 14px;
}
.svc:nth-child(odd) .svc-pill { color: var(--accent-light); }
.svc p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 230px;
  margin: 0 auto;
}

/* --- the loops --- */
@keyframes svcBob   { 0%,100% { transform: translateY(0)     rotate(0deg); }
                      50%     { transform: translateY(-6px)  rotate(-1.5deg); } }
@keyframes svcRise  { 0%   { transform: translateY(6px)  scale(0.85); opacity: 0; }
                      18%  { opacity: 1; }
                      75%  { opacity: 1; }
                      100% { transform: translateY(-30px) scale(1.05); opacity: 0; } }
@keyframes svcSpin  { to { transform: rotate(360deg); } }
@keyframes svcBlink { 0%,44%,100% { opacity: 1; } 50%,94% { opacity: 0.15; } }
@keyframes svcFlash { 0%,70%,100% { opacity: 0; } 76%,86% { opacity: 1; } }
@keyframes svcBarUp { 0%,100% { transform: scaleY(0.45); } 50% { transform: scaleY(1); } }
@keyframes svcGrow  { 0%,100% { width: 30px; } 50% { width: 58px; } }
@keyframes svcClick { 0%,100% { transform: translate(0,0); } 45% { transform: translate(-5px,-5px); } }
@keyframes svcRipple{ 0%   { r: 6;  opacity: 0.9; }
                      100% { r: 20; opacity: 0; } }
@keyframes svcDash  { 0%   { stroke-dashoffset: 150; }
                      55%  { stroke-dashoffset: 0; }
                      100% { stroke-dashoffset: 0; } }
@keyframes svcPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.5); } }

.a-bob     { animation: svcBob 3.6s ease-in-out infinite; transform-origin: 80px 80px; }
.a-float-1 { animation: svcRise 3.2s ease-in-out infinite; }
.a-float-2 { animation: svcRise 3.2s ease-in-out infinite 1.1s; }
.a-float-3 { animation: svcRise 3.8s ease-in-out infinite 0.5s; }
.a-spin    { animation: svcSpin 6s linear infinite; transform-origin: 80px 86px; }
.a-blink   { animation: svcBlink 1.8s steps(1,end) infinite; }
.a-flash   { animation: svcFlash 2.6s ease-in-out infinite; }
.a-bar     { transform-origin: 50% 102px; }
.a-bar.b1  { animation: svcBarUp 2.4s ease-in-out infinite; }
.a-bar.b2  { animation: svcBarUp 2.4s ease-in-out infinite 0.25s; }
.a-bar.b3  { animation: svcBarUp 2.4s ease-in-out infinite 0.5s; }
.a-bar.b4  { animation: svcBarUp 2.4s ease-in-out infinite 0.75s; }
.a-grow    { animation: svcGrow 3s ease-in-out infinite; }
.a-click   { animation: svcClick 2.2s ease-in-out infinite; }
.a-ripple  { animation: svcRipple 2.2s ease-out infinite; }
.a-draw    { stroke-dasharray: 150; animation: svcDash 4s ease-in-out infinite; }
.a-pulse   { transform-box: fill-box; transform-origin: center; }
.a-pulse.p1 { animation: svcPulse 2s ease-in-out infinite 0.2s; }
.a-pulse.p2 { animation: svcPulse 2s ease-in-out infinite 0.6s; }
.a-pulse.p3 { animation: svcPulse 2s ease-in-out infinite 1s; }

@media (prefers-reduced-motion: reduce) {
  .svc-art * { animation: none !important; }
  .a-draw { stroke-dashoffset: 0; }
}

/* ---------- Numbered process rows ---------- */
.process-row {
  display: grid;
  grid-template-columns: 90px 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 48px 0;
  border-top: 1px solid var(--line);
}
.process-row:last-child { border-bottom: 1px solid var(--line); }
.process-num { font-family: 'Archivo Black', sans-serif; font-size: 2.4rem; color: rgba(255,255,255,0.16); }
.process-row h3 { font-size: 1.4rem; margin-bottom: 14px; text-transform: none; }
.process-row p { color: var(--text-muted); text-transform: none; font-size: 0.98rem; margin-bottom: 20px; }
.process-visual { justify-self: end; width: 100%; max-width: 320px; height: 180px; border-radius: var(--radius); background: var(--accent-gradient-soft); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
.process-visual svg { width: 56px; height: 56px; stroke: var(--accent-light); }
@media (max-width: 800px) {
  .process-row { grid-template-columns: 1fr; text-align: left; }
  .process-visual { justify-self: start; max-width: 100%; }
}

/* ---------- Work / portfolio ---------- */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: start; }
@media (max-width: 900px) { .work-grid { grid-template-columns: 1fr; } }
.work-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; border: 1px solid var(--line); transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease); }
/* vertical (9:16) video cards — declared after .work-card so it wins */
.work-card.work-card--vertical { aspect-ratio: 9 / 16; }
.work-card:hover { transform: translateY(-8px); border-color: rgba(125,211,252,0.4); box-shadow: 0 20px 45px rgba(0,0,0,0.4); }
.work-card .thumb { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 0.6s var(--ease); }
.work-card:hover .thumb { transform: scale(1.08); }
.work-card .overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4,5,8,0.98) 0%, rgba(4,5,8,0.85) 30%, rgba(4,5,8,0.25) 65%, rgba(4,5,8,0.15) 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; }
/* video work cards: fill the card, play muted on hover */
.work-card video.thumb-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.work-card:hover video.thumb-video { transform: scale(1.06); }
.work-card .play-badge {
  position: absolute;
  top: 18px; right: 18px;
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.28);
  z-index: 3;
}
.work-card .play-badge svg { width: 15px; height: 15px; fill: #fff; }

.work-card .tag { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-light); margin-bottom: 8px; }
.work-card h3 { font-size: 1.2rem; text-transform: none; font-family: 'Archivo Black', sans-serif; }

.filter-bar { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }
.filter-btn { padding: 10px 22px; border-radius: 100px; border: 1px solid var(--line); background: transparent; color: var(--text-muted); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; transition: all 0.3s var(--ease); }
.filter-btn:hover { color: var(--text); border-color: rgba(255,255,255,0.3); }
.filter-btn.active { background: var(--text); color: var(--text-dark); border-color: var(--text); }

/* "View All Work" under the curated grid */
.work-more { text-align: center; padding: 46px 0 4px; }
.work-more-note { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 18px; }

/* ---------- Stats band ---------- */
.stats-band { background: var(--accent-gradient); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
@media (max-width: 800px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
.stat strong { display: block; font-family: 'Archivo Black', sans-serif; font-size: clamp(2.2rem, 4vw, 3.2rem); color: #fff; }
.stat span { display: block; margin-top: 8px; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.85); }

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.testimonial-card:hover { transform: translateY(-8px); border-color: rgba(125,211,252,0.4); }
.stars { color: var(--accent-light); letter-spacing: 3px; margin-bottom: 18px; font-size: 1rem; }
.testimonial-card p.quote { flex: 1; font-size: 1rem; color: var(--text); margin-bottom: 26px; text-transform: none; }
.testimonial-person { display: flex; align-items: center; gap: 14px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--accent-gradient); flex-shrink: 0; }
.testimonial-person strong { display: block; font-size: 0.92rem; }
.testimonial-person span { display: block; font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; margin-top: 2px; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); margin-bottom: 26px; }
.cta-band p { color: var(--text-muted); text-transform: none; max-width: 520px; margin: 0 auto 40px; font-size: 1.05rem; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { padding: 80px 0 30px; border-top: 1px solid var(--line); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
@media (max-width: 800px) { .footer-top { grid-template-columns: 1fr 1fr; } }
.footer-brand img, .footer-brand video { height: 72px; width: auto; margin-bottom: 22px; border-radius: 10px; }
.footer-brand p { color: var(--text-muted); font-size: 0.92rem; max-width: 280px; margin-bottom: 20px; }
.footer-socials { display: flex; gap: 14px; }
.footer-socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; transition: all 0.3s var(--ease); }
.footer-socials a:hover { background: var(--text); }
.footer-socials a:hover svg { stroke: var(--bg); }
.footer-socials svg { width: 16px; height: 16px; stroke: var(--text); transition: stroke 0.3s var(--ease); }
.footer-col h4 { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 22px; color: var(--text-muted); }
.footer-col ul { display: flex; flex-direction: column; gap: 14px; }
.footer-col a { font-size: 0.92rem; color: var(--text); transition: color 0.25s var(--ease); }
.footer-col a:hover { color: var(--accent-light); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 30px; border-top: 1px solid var(--line); font-size: 0.8rem; color: var(--text-muted); flex-wrap: wrap; gap: 12px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding: 200px 0 100px;
  overflow: hidden;
  text-align: left;
}
.page-hero .parallax-overlay {
  background-image: linear-gradient(100deg, rgba(6,7,10,0.9) 0%, rgba(6,7,10,0.55) 48%, rgba(6,7,10,0.78) 100%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .eyebrow { margin-bottom: 18px; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); max-width: 780px; }
.page-hero p.lead { max-width: 560px; margin-top: 22px; text-transform: none; color: var(--text-muted); font-size: 1.05rem; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 26px; text-transform: uppercase; letter-spacing: 0.05em; }
.breadcrumb a:hover { color: var(--text); }

/* ---------- Two column content ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.split-visual { border-radius: var(--radius); background: var(--accent-gradient); aspect-ratio: 1/1; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; }
.split-visual img { width: 70%; opacity: 0.95; }

/* ---------- Values / list items ---------- */
.check-list { display: flex; flex-direction: column; gap: 18px; margin-top: 28px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 0.98rem; color: var(--text-muted); }
.check-list svg { flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px; stroke: var(--accent-light); }

/* ---------- Team ---------- */
.team-card { text-align: center; }
.team-photo { aspect-ratio: 1/1; border-radius: var(--radius); background: var(--accent-gradient-soft); border: 1px solid var(--line); margin-bottom: 20px; display: flex; align-items: center; justify-content: center; transition: transform 0.4s var(--ease), border-color 0.4s var(--ease); }
.team-card:hover .team-photo { transform: translateY(-6px); border-color: rgba(125,211,252,0.4); }
.team-photo span { font-family: 'Archivo Black', sans-serif; font-size: 2rem; color: var(--accent-light); }
.team-card h3 { font-size: 1.05rem; text-transform: none; font-family: 'Archivo Black', sans-serif; margin-bottom: 4px; }
.team-card span.role { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }

/* ---------- Team photo ---------- */
.team-hero { margin: 0; }
.team-shot {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-panel);
  cursor: pointer;
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease);
}
.team-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-shot:hover { transform: translateY(-4px); border-color: rgba(125,211,252,0.45); }
.team-shot--hero { aspect-ratio: 16 / 9; }

/* ---------- Service detail list ---------- */
.service-detail { display: grid; grid-template-columns: 40px 1fr; gap: 24px; padding: 44px 32px; margin: 0 -32px; border-top: 1px solid var(--line); border-radius: var(--radius); transition: background 0.35s var(--ease); }
.service-detail:hover { background: rgba(255,255,255,0.03); }
.service-detail:last-child { border-bottom: 1px solid var(--line); }
.service-detail .idx { font-family: 'Archivo Black', sans-serif; color: var(--accent-light); font-size: 1rem; }
.service-detail h3 { font-size: 1.4rem; margin-bottom: 12px; text-transform: none; }
.service-detail p { color: var(--text-muted); text-transform: none; margin-bottom: 18px; max-width: 640px; }
.tag-row { display: flex; gap: 10px; flex-wrap: wrap; }
.tag-pill { font-size: 0.75rem; padding: 7px 14px; border-radius: 100px; background: var(--bg-panel); border: 1px solid var(--line); color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.03em; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info-card {
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 40px;
  height: fit-content;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.contact-info-card:hover { transform: translateY(-6px); border-color: rgba(125,211,252,0.35); }
.contact-info-row { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 28px; }
.contact-info-row:last-child { margin-bottom: 0; }
.contact-info-row .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--accent-gradient-soft); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-row .ic svg { width: 20px; height: 20px; stroke: var(--accent-light); }
.contact-info-row strong { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 4px; }
.contact-info-row a, .contact-info-row span.val { font-size: 1rem; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); margin-bottom: 10px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: var(--radius-sm);
  background: var(--bg-panel); border: 1px solid var(--line); color: var(--text);
  font-family: inherit; font-size: 0.95rem; transition: border-color 0.3s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent-light); }
.field textarea { resize: vertical; min-height: 130px; }
.form-note { margin-top: 18px; font-size: 0.85rem; color: var(--text-muted); display: none; }
.form-note.show { display: block; }

/* ---------- Scroll stage indicator (IDEA -> RESULT) ---------- */
.stage-indicator {
  position: fixed;
  right: 26px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 14px;
  pointer-events: none;
}
.stage-rail {
  width: 2px;
  height: 132px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 2px;
  overflow: hidden;
}
.stage-rail-fill {
  width: 100%;
  height: 100%;
  background: var(--accent-gradient);
  transform-origin: top;
  transform: scaleY(0);
  transition: transform 0.25s linear;
}
.stage-name {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  writing-mode: vertical-rl;
  text-orientation: mixed;
}
@media (max-width: 900px) { .stage-indicator { display: none; } }

/* ---------- AI Video Ads showcase ---------- */
.ai-showcase { margin-bottom: 60px; }
.ai-showcase-head { margin-bottom: 26px; }
.ai-showcase-head h3 { font-size: 1.5rem; text-transform: none; margin-bottom: 8px; }
.ai-showcase-head p { color: var(--text-muted); font-size: 0.98rem; max-width: 620px; }

/* 16:9 hero video */
.ai-feature {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  background: #000;
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
}
.ai-feature video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* small asset thumbnails */
.ai-assets-label {
  margin: 32px 0 14px;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.ai-assets {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
}
@media (max-width: 900px) { .ai-assets { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 520px) { .ai-assets { grid-template-columns: repeat(3, 1fr); } }

.asset-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  padding: 0;
  cursor: pointer;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}
.asset-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.asset-thumb:hover { transform: translateY(-4px); border-color: rgba(125,211,252,0.5); }

.ai-subgrid { margin-top: 40px; }

/* ---------- Video lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: rgba(4, 5, 8, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.lightbox.is-open { display: flex; }
.lightbox video {
  max-width: min(92vw, 480px);
  max-height: 86vh;
  width: auto;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  background: #000;
}
.lightbox-close {
  position: absolute;
  top: 26px; right: 30px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.24);
  color: #fff;
  font-size: 1.3rem;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s var(--ease);
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Misc ---------- */
.divider-line { height: 1px; background: var(--line); }
