/* ============================================
   VOID. - AI Content & Automation Studio
   Design language (from user's Framer project):
   pure black canvas, white type, red accent,
   heavy condensed caps display (Anton) +
   Syne for soft display, glassy sheen cards,
   pill buttons, graded cinematic frames.
   ============================================ */

/* Display face used by the actual Void Framer site (ITC Avant Garde Gothic
   revival) - same file the template loads from Framer's CDN */
@font-face {
  font-family: "TeX Gyre Adventor";
  src: url("https://framerusercontent.com/assets/5Ahn64ZohxGoGyDwb1nNy9xzALs.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #000000;
  --bg-soft: #0b0b0b;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #ffffff;
  --text-dim: #b5b5b5;
  --text-faint: #787878;
  --accent: #ff0000;
  --accent-soft: rgba(255, 0, 0, 0.14);
  --accent-glow: rgba(255, 0, 0, 0.4);
  --radius: 28px;
  --radius-sm: 16px;
  --font-display: "Syne", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-impact: "TeX Gyre Adventor", "Futura", "Century Gothic", sans-serif;
  --container: 1240px;

  /* glassy sheen used on cards & pills, top-left light like the template */
  --sheen: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.045) 28%, rgba(255, 255, 255, 0.015) 55%, rgba(255, 255, 255, 0.03) 100%);
  --sheen-strong: linear-gradient(120deg, rgba(255, 255, 255, 0.38) 0%, rgba(255, 255, 255, 0.14) 22%, rgba(255, 255, 255, 0.05) 48%, rgba(255, 255, 255, 0.02) 100%);
}

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

html { scroll-behavior: smooth; }

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

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

a { color: inherit; text-decoration: none; }

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

/* ---------- Typography ---------- */

h3, .display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

/* Void display style: TeX Gyre Adventor Bold caps, tight tracking
   (matches the actual site: 700, -0.05em, line-height 1) */
h1, h2 {
  font-family: var(--font-impact);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: -0.05em;
}

/* Soft display override - Syne, sentence case (template card/footer headings) */
.h-soft {
  font-family: var(--font-display) !important;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.18;
}

.h1 { font-size: clamp(3rem, 8vw, 6rem); text-wrap: balance; }
.h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }

.caps-sub {
  font-family: var(--font-impact);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.05rem, 1.9vw, 1.55rem);
  letter-spacing: 0.01em;
  line-height: 1.45;
  color: #f0f0f0;
}

.lead {
  color: var(--text-dim);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.65;
}

.accent { color: var(--accent); }
.dim { color: #8f8f8f; }

.gradient-text {
  background: linear-gradient(98deg, #ffffff 10%, rgba(255, 255, 255, 0.5) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8f8f8f;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
}

.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head .lead { margin-top: 18px; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: var(--font-impact);
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: #fff;
  color: #0a0a0a;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 255, 255, 0.16);
}

/* glassy sheen pill - "Let's Collaborate" style */
.btn-sheen {
  background: var(--sheen-strong), rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--text);
  padding: 17px 36px;
}

.btn-sheen:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 24px rgba(255, 255, 255, 0.06);
}

.btn-ghost {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  border-color: var(--border-strong);
  background: var(--surface-strong);
  transform: translateY(-2px);
}

/* glossy 3D pill - template's centre CTA */
.btn-gloss {
  background: linear-gradient(180deg, #303030 0%, #161616 45%, #0b0b0b 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, 0.28), inset 0 -10px 18px rgba(0, 0, 0, 0.55), 0 18px 44px rgba(0, 0, 0, 0.65);
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.01em;
  font-size: 1.02rem;
  padding: 20px 52px;
}

.btn-gloss:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, 0.32), inset 0 -10px 18px rgba(0, 0, 0, 0.5), 0 22px 54px rgba(0, 0, 0, 0.7);
}

.btn .arrow { transition: transform 0.25s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* LEARN MORE mini pill with circled arrow (template style) */
.pill-more {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 8px 20px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.02) 60%);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.pill-more .circ {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  color: var(--text);
  font-size: 0.95rem;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.pill-more:hover { border-color: rgba(255, 255, 255, 0.4); transform: translateY(-2px); }
.pill-more:hover .circ { background: var(--accent); color: #fff; transform: rotate(-45deg); }

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.logo {
  font-family: var(--font-impact);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  text-transform: lowercase;
}

.logo span { color: var(--accent); }

/* SVG wordmark replica (swap for the real logo file when provided) */
.logo .logo-mark { height: 32px; width: auto; display: block; color: #fff; }
.mega-logo .logo-mark { height: clamp(52px, 7vw, 92px); width: auto; display: block; margin-inline: auto; color: #fff; }


.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-impact);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-dim);
  transition: color 0.2s ease;
}

.nav-links a:hover, .nav-links a.active { color: var(--text); }

.nav-cta { display: flex; align-items: center; gap: 14px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav.menu-open .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.menu-open .hamburger span:nth-child(2) { opacity: 0; }
.nav.menu-open .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

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

.hero {
  position: relative;
  padding: 190px 0 80px;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(46% 52% at 50% 0%, rgba(255, 255, 255, 0.04) 0%, transparent 100%),
    radial-gradient(60% 60% at 50% 110%, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(62% 55% at 50% 30%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(62% 55% at 50% 30%, black 0%, transparent 100%);
}

.hero .container { position: relative; }

/* Template-style kicker: Adventor, white, sentence case */
.hero-kicker {
  font-family: var(--font-impact);
  font-weight: 700;
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  letter-spacing: 0.005em;
  color: #ffffff;
  margin-bottom: 28px;
}

.hero h1 { max-width: 980px; margin: 0 auto 26px; }

.hero .caps-sub { max-width: 640px; margin: 0 auto 40px; }

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 80px;
}

/* ---------- Media / graded cinematic frames ---------- */

.media-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--sheen), var(--bg-soft);
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 90% at 50% 110%, var(--accent-soft) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.media-frame:hover::after { opacity: 1; }

.ratio-16x9 { aspect-ratio: 16 / 9; }
.ratio-9x16 { aspect-ratio: 9 / 16; }
.ratio-1x1  { aspect-ratio: 1 / 1; }
.ratio-4x5  { aspect-ratio: 4 / 5; }
.ratio-scope { aspect-ratio: 2.36 / 1; }
.ratio-4x3  { aspect-ratio: 4 / 3; }
.ratio-3x4  { aspect-ratio: 3 / 4; }

.media-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #9a9a9a;
  font-size: 0.85rem;
  text-align: center;
  padding: 20px;
  z-index: 1;
}

.play-badge {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(6px);
  transition: transform 0.3s ease, background 0.3s ease;
}

.media-frame:hover .play-badge, .bento-card:hover .play-badge {
  transform: scale(1.1);
  background: var(--accent);
}

.play-badge svg { margin-left: 3px; }

.hero-showreel {
  max-width: 980px;
  margin: 0 auto;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.65), 0 0 90px rgba(255, 255, 255, 0.035);
}

/* Cinematic color grades - stand-ins with intent until real stills drop in.
   Layered: color wash + light beam + vignette + grain. */
.grade { position: absolute; inset: 0; }

.grade::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.10'/%3E%3C/svg%3E");
  opacity: 0.6;
}

.grade::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 50% 50%, transparent 40%, rgba(0, 0, 0, 0.5) 100%);
}

.grade-amber  { background: radial-gradient(90% 70% at 50% 88%, #d99a2b 0%, #7a4d0d 30%, #2c1c06 62%, #120b03 100%); }
.grade-teal   { background: radial-gradient(75% 65% at 50% 30%, #35708f 0%, #17364a 42%, #081420 78%, #04090f 100%); }
.grade-crimson{ background: radial-gradient(85% 75% at 72% 82%, #b3271d 0%, #5e1410 34%, #230605 68%, #0d0202 100%); }
.grade-sage   { background: radial-gradient(60% 120% at 50% 100%, #b9c46a 0%, #58622a 30%, #20260e 62%, #0b0d04 100%); }
.grade-violet { background: radial-gradient(80% 70% at 30% 20%, #6d4bb8 0%, #33235c 40%, #120c24 74%, #07050e 100%); }
.grade-mono   { background: radial-gradient(80% 70% at 50% 40%, #8f8f8f 0%, #4a4a4a 36%, #1c1c1c 70%, #0c0c0c 100%); }
.grade-rose   { background: radial-gradient(80% 70% at 60% 30%, #b34a6e 0%, #5e2038 40%, #230a12 75%, #0d0305 100%); }
.grade-ice    { background: radial-gradient(75% 65% at 40% 25%, #7fa8bd 0%, #3a5e73 40%, #14222c 75%, #070d11 100%); }
.grade-ember  { background: radial-gradient(85% 75% at 30% 80%, #c76b1e 0%, #6e3308 40%, #281103 72%, #0e0501 100%); }

/* ---------- Showreel - pinned word, video rises over it on scroll ---------- */

.showreel-section { position: relative; height: 230vh; }

.showreel-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.showreel-word {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  font-family: var(--font-impact);
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  line-height: 0.85;
  font-size: clamp(5rem, 18.5vw, 22rem);
  letter-spacing: -0.03em;
  background: linear-gradient(90deg, #ffffff 6%, #c4c4c4 34%, #5a5a5a 66%, #232323 96%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  user-select: none;
  will-change: transform;
}

.showreel-player {
  position: relative;
  z-index: 2;
  width: min(880px, 86vw);
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #050505;
  box-shadow: 0 50px 140px rgba(0, 0, 0, 0.7);
  cursor: pointer;
  transform: translateY(115vh);
  will-change: transform;
}

.showreel-player video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* placeholder motion until the real reel drops in */
.showreel-motion {
  will-change: transform;
  animation: reelPan 16s ease-in-out infinite alternate;
  transform-origin: 50% 60%;
}

@keyframes reelPan {
  from { transform: scale(1.1) translateX(-2.5%); }
  to   { transform: scale(1.18) translateX(2.5%); }
}

.showreel-player .beam {
  position: absolute;
  inset: -20%;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, 0.06) 50%, transparent 58%);
  animation: beamDrift 7s ease-in-out infinite alternate;
}

@keyframes beamDrift {
  from { transform: translateX(-16%); }
  to   { transform: translateX(16%); }
}

.showreel-player .play-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.showreel-player:hover .play-badge {
  background: var(--accent);
  transform: translate(-50%, -50%) scale(1.08);
}

.showreel-caption {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  color: #9a9a9a;
  font-size: 0.85rem;
  white-space: nowrap;
  z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
  .showreel-motion, .showreel-player .beam { animation: none; }
}

@media (max-width: 860px) {
  .showreel-section { height: auto; }
  .showreel-stage { position: static; height: auto; display: block; padding: 70px 0 90px; }
  .showreel-word { position: static; transform: none; margin-bottom: 34px; }
  .showreel-player { transform: none !important; margin: 0 auto; }
}

/* ---------- Logo marquee (brand partners) ---------- */

.logos { padding: 60px 0; border-block: 1px solid var(--border); }

.logos-label {
  text-align: center;
  font-family: var(--font-impact);
  font-weight: 700;
  font-size: clamp(1.05rem, 1.9vw, 1.55rem);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #f0f0f0;
  margin-bottom: 36px;
}

.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
}

.marquee-track {
  will-change: transform;
  display: flex;
  align-items: center;
  gap: 72px;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

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

.marquee-track span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-faint);
  white-space: nowrap;
  transition: color 0.3s ease;
}

.marquee-track span:hover { color: var(--text); }

/* Ghost marquee - giant faded words with red dot separators */
.ghost-marquee { padding: 84px 0; overflow: hidden; }

.ghost-track {
  will-change: transform;
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  animation: marquee 40s linear infinite;
}

.ghost-track span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 7vw, 5.5rem);
  white-space: nowrap;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.04) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ghost-track i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  flex-shrink: 0;
}

.ghost-track i.hot { background: rgba(255, 255, 255, 0.55); box-shadow: none; }

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

section { padding: 130px 0; position: relative; }

section.tight { padding: 70px 0; }

/* ---------- Pillars (two engines) ---------- */

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.pillar {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--sheen), rgba(255, 255, 255, 0.01);
  padding: 48px 44px;
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease;
  display: flex;
  flex-direction: column;
}

.pillar:hover { transform: translateY(-6px); border-color: var(--border-strong); }

.pillar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 60% at 100% 0%, var(--pillar-glow, var(--accent-soft)) 0%, transparent 70%);
  opacity: 0.9;
  pointer-events: none;
}

.pillar.creative { --pillar-glow: rgba(255, 255, 255, 0.10); }
.pillar.automation { --pillar-glow: rgba(255, 255, 255, 0.10); }

.pillar > * { position: relative; }

.pillar-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  margin-bottom: 28px;
}

.pillar h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 14px; font-weight: 600; }

.pillar p { color: var(--text-dim); margin-bottom: 26px; }

.pillar ul {
  list-style: none;
  display: grid;
  gap: 13px;
  margin-bottom: 36px;
}

.pillar ul li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-dim);
  font-size: 0.96rem;
}

.pillar ul li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  flex-shrink: 0;
}

.pillar.automation ul li::before { background: #ffffff; }

.pillar .pill-more { margin-top: auto; align-self: flex-start; }

/* ---------- Process - sticky split (template style) ---------- */

.process-split {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.process-side { position: sticky; top: 120px; }

.process-side h2 { margin-bottom: 22px; }

.process-side .lead { margin-bottom: 34px; }

.process-cards { display: grid; gap: 26px; }

.process-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--sheen), rgba(255, 255, 255, 0.01);
  padding: 46px 44px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.process-card:hover { border-color: var(--border-strong); transform: translateY(-4px); }

.process-card h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-weight: 600;
  margin-bottom: 18px;
}

.process-card p { color: var(--text-dim); margin-bottom: 28px; max-width: 60ch; }

/* ---------- Bento work grid (template "industries" style) ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 76px;
  gap: 20px;
}

.bento-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.bento-card:hover { transform: translateY(-5px); border-color: var(--border-strong); }

.bento-card .grade { position: absolute; inset: 0; }

.bento-label {
  position: absolute;
  top: 26px;
  left: 28px;
  z-index: 2;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.7);
}

.bento-card .play-badge {
  position: absolute;
  right: 24px;
  bottom: 22px;
  z-index: 2;
  width: 48px;
  height: 48px;
}

.b-6x4 { grid-column: span 6; grid-row: span 4; }
.b-3x4 { grid-column: span 3; grid-row: span 4; }
.b-3x8 { grid-column: span 3; grid-row: span 8; }
.b-9x4 { grid-column: span 9; grid-row: span 4; }
.b-12x4 { grid-column: span 12; grid-row: span 4; }

/* ---------- Services grid ---------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--sheen), rgba(255, 255, 255, 0.005);
  padding: 32px 28px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
}

.service-card .num {
  font-family: var(--font-impact);
  font-size: 0.9rem;
  color: var(--text-faint);
  display: block;
  margin-bottom: 16px;
  letter-spacing: 0.06em;
  transition: color 0.3s ease;
}

.service-card:hover .num { color: var(--accent); }

.service-card h3 { font-size: 1.12rem; margin-bottom: 10px; font-weight: 600; }

.service-card p { color: var(--text-faint); font-size: 0.9rem; line-height: 1.55; }

/* ---------- Old process grid (kept for inner pages) ---------- */

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--sheen), rgba(255, 255, 255, 0.01);
  padding: 40px 34px;
  position: relative;
}

.step-num {
  font-family: var(--font-impact);
  font-size: 3rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.12) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  margin-bottom: 18px;
}

.step h3 { margin-bottom: 12px; font-size: 1.3rem; font-weight: 600; }
.step p { color: var(--text-dim); font-size: 0.95rem; }

/* ---------- Automation flow (automation page) ---------- */

.flow {
  display: flex;
  align-items: stretch;
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.flow-node {
  border: 1px solid var(--border);
  background: var(--sheen), rgba(255, 255, 255, 0.01);
  border-radius: var(--radius-sm);
  padding: 22px 24px;
  min-width: 190px;
  flex: 1 1 190px;
  max-width: 240px;
  text-align: center;
}

.flow-node strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.98rem;
  margin-bottom: 6px;
}

.flow-node span { color: var(--text-faint); font-size: 0.82rem; line-height: 1.4; display: block; }

.flow-arrow {
  display: grid;
  place-items: center;
  padding: 0 14px;
  color: var(--text-dim);
  font-size: 1.3rem;
}

/* ---------- Stats band ---------- */

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  border-block: 1px solid var(--border);
  padding: 60px 0;
}

.stat { text-align: center; }

.stat .value {
  font-family: var(--font-impact);
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  color: var(--text);
}

.stat .value em { color: #fff; font-style: normal; }

.stat .label { color: var(--text-faint); font-size: 0.9rem; margin-top: 6px; }

/* ---------- Testimonials ---------- */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testimonial {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--sheen), rgba(255, 255, 255, 0.005);
  padding: 38px 34px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.testimonial .quote-mark {
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.22);
}

.testimonial p { color: var(--text-dim); font-size: 0.97rem; flex: 1; }

.testimonial .who { display: flex; align-items: center; gap: 14px; }

.testimonial .avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(140deg, #3d3d3d 0%, #141414 100%);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.testimonial .who strong { display: block; font-size: 0.95rem; }
.testimonial .who span { color: var(--text-faint); font-size: 0.82rem; }

/* ---------- FAQ - glass pill rows (template style) ---------- */

.faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 16px; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--sheen), rgba(255, 255, 255, 0.01);
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item.open { border-color: var(--border-strong); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 32px;
  background: none;
  border: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-q .chevron {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1;
}

.faq-item.open .faq-q .chevron { transform: rotate(180deg); color: var(--text); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-a p {
  padding: 0 32px 28px;
  color: var(--text-dim);
  font-size: 0.95rem;
  max-width: 70ch;
}

/* ---------- Mega footer (template style) ---------- */

.mega-footer {
  margin-top: 60px;
  padding: 90px 0 40px;
  border-top: 1px solid var(--border);
}

.mega-logo {
  display: block;
  text-align: center;
  font-family: var(--font-impact);
  font-weight: 700;
  font-size: clamp(3rem, 7vw, 5rem);
  letter-spacing: -0.03em;
  text-transform: lowercase;
  line-height: 1;
  margin-bottom: 56px;
}

.mega-logo span { color: var(--accent); }

.comrades {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--sheen), rgba(255, 255, 255, 0.01);
  text-align: center;
  padding: clamp(48px, 7vw, 88px) 32px;
  margin-bottom: 28px;
}

.comrades h2 { max-width: 720px; margin: 0 auto 18px; font-size: clamp(2rem, 4.4vw, 3.4rem); }

.comrades p { color: var(--text-dim); max-width: 520px; margin: 0 auto 38px; font-size: 1.05rem; }

.contact-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--sheen), rgba(255, 255, 255, 0.01);
  padding: 44px 44px 40px;
  margin-bottom: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.contact-rows { display: grid; gap: 12px; font-size: 0.95rem; color: var(--text-dim); }

.contact-rows strong { color: var(--text); font-weight: 600; }

.newsletter h4 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.newsletter form { display: flex; gap: 10px; }

.newsletter input {
  flex: 1;
  min-width: 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 13px 22px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.25s ease;
}

.newsletter input:focus { border-color: var(--border-strong); }

.newsletter input::placeholder { color: var(--text-faint); }

.newsletter .btn { padding: 13px 26px; font-size: 0.88rem; }

.social-bars { display: grid; gap: 14px; margin-bottom: 44px; }

.social-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--sheen), rgba(255, 255, 255, 0.005);
  padding: 18px 30px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.social-bar svg { flex-shrink: 0; opacity: 0.8; }

.social-bar .bar-arrow { margin-left: auto; font-size: 1.05rem; color: var(--text); transition: transform 0.25s ease; }

.social-bar:hover { border-color: var(--border-strong); color: var(--text); transform: translateY(-2px); }
.social-bar:hover .bar-arrow { transform: translateX(6px); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--text-faint);
  font-size: 0.85rem;
}

/* ---------- Work grids (inner pages) ---------- */

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.work-row-vertical {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.work-item { position: relative; }

.work-item .tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(10, 10, 10, 0.7);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

/* ---------- CTA band (inner pages) ---------- */

.cta-band {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background:
    radial-gradient(80% 140% at 50% -20%, rgba(255, 255, 255, 0.05) 0%, transparent 70%),
    var(--sheen), rgba(255, 255, 255, 0.01);
  padding: 90px 40px;
  text-align: center;
  overflow: hidden;
}

.cta-band h2 { max-width: 680px; margin: 0 auto 18px; }
.cta-band .lead { max-width: 560px; margin: 0 auto 38px; }

/* ---------- Scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible { opacity: 1; transform: none; }
.reveal.instant { transition: none !important; }

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

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

.page-hero { padding: 180px 0 60px; text-align: center; position: relative; overflow: hidden; }
.page-hero h1 { max-width: 1240px; margin: 0 auto 26px; }
.page-hero .lead, .page-hero .caps-sub { max-width: 680px; margin: 0 auto; }

/* full-viewport hero - next section reveals on scroll */
.page-hero--full {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 0 40px;
}

.page-hero--full .container { width: 100%; }


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

@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .work-row-vertical { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .process-grid { grid-template-columns: 1fr; }

  .process-split { grid-template-columns: 1fr; }
  .process-side { position: static; }

  .bento { grid-auto-rows: 64px; }
  .b-6x4 { grid-column: span 12; }
  .b-3x4 { grid-column: span 6; }
  .b-3x8 { grid-column: span 6; grid-row: span 6; }
  .b-9x4 { grid-column: span 12; }
}

@media (max-width: 860px) {
  .pillars-grid { grid-template-columns: 1fr; }
  .contact-card { grid-template-columns: 1fr; gap: 32px; }

  .nav-links, .nav-cta .btn-ghost { display: none; }
  .hamburger { display: flex; }

  .mobile-menu {
    position: fixed;
    inset: 78px 0 auto 0;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 28px 24px 36px;
    display: none;
    z-index: 99;
  }

  .mobile-menu.open { display: block; }

  .mobile-menu ul { list-style: none; display: grid; gap: 20px; }
  .mobile-menu a { font-size: 1.1rem; font-weight: 600; font-family: var(--font-display); }
}

@media (min-width: 861px) {
  .mobile-menu { display: none !important; }
}

@media (max-width: 560px) {
  section { padding: 90px 0; }
  .hero { padding: 150px 0 60px; }
  .services-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .work-row-vertical { grid-template-columns: 1fr; }
  .cta-band { padding: 64px 24px; }

  .bento { grid-auto-rows: 56px; gap: 14px; }
  .b-3x4 { grid-column: span 12; }
  .b-3x8 { grid-column: span 12; grid-row: span 5; }

  .process-card { padding: 36px 28px; }
  .comrades { padding: 52px 24px; }
  .contact-card { padding: 34px 26px; }
  .newsletter form { flex-direction: column; }
  .flow-arrow { transform: rotate(90deg); padding: 10px 0; width: 100%; }
}


/* ---------- Horizontal work rail (pinned, scroll-scrubbed) ---------- */

.hscroll { position: relative; }

.hscroll-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hscroll-inner {
  display: flex;
  align-items: center;
  gap: clamp(36px, 5vw, 80px);
  width: 100%;
  padding-left: max(24px, calc((100vw - 1240px) / 2 + 24px));
}

.hscroll-intro { flex: 0 0 clamp(230px, 23vw, 330px); }

.hscroll-intro h2 { margin-bottom: 18px; }

.hscroll-intro .lead { font-size: 1.05rem; margin-bottom: 28px; }

.hscroll-viewport { flex: 1; overflow: hidden; min-width: 0; }

.hscroll-track {
  display: flex;
  gap: 22px;
  width: max-content;
  padding-right: 60px;
  will-change: transform;
}

.rail-card {
  position: relative;
  flex: 0 0 auto;
  width: clamp(250px, 25vw, 350px);
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: border-color 0.3s ease, transform 0.3s ease;
  display: block;
}

.rail-card:hover { border-color: var(--border-strong); transform: translateY(-6px); }

.rail-card .grade { position: absolute; inset: 0; }

.rail-info {
  position: absolute;
  inset: auto 0 0 0;
  padding: 22px 24px 24px;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.72) 55%);
  z-index: 2;
}

.rail-num {
  font-family: var(--font-impact);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: #8f8f8f;
  display: block;
  margin-bottom: 8px;
}

.rail-info h3 {
  font-size: 1.28rem;
  font-weight: 600;
  margin-bottom: 16px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
}

.rail-card .pill-more { padding: 6px 6px 6px 16px; font-size: 0.66rem; }
.rail-card .pill-more .circ { width: 26px; height: 26px; font-size: 0.85rem; }

/* touch / narrow: free horizontal scroll instead of pinning */
@media (max-width: 860px) {
  .hscroll { height: auto !important; }
  .hscroll-pin { position: static; height: auto; padding: 80px 0; overflow: visible; }
  .hscroll-inner { flex-direction: column; align-items: flex-start; gap: 36px; padding-right: 24px; }
  .hscroll-viewport { width: 100%; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
  .hscroll-track { transform: none !important; padding-right: 24px; }
  .rail-card { width: 72vw; scroll-snap-align: start; }
}


/* ---------- Work page category grids ---------- */

.work-cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.work-cat .section-head { margin-bottom: 36px; }

.work-cat .rail-num { margin-bottom: 12px; }

@media (max-width: 1024px) { .work-cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .work-cat-grid { grid-template-columns: 1fr; } }


/* ---------- Projects listing (reference: filter pills + 3-col card grid) ---------- */

.filter-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 52px; }

.filter-pill {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dim);
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.filter-pill:hover { border-color: var(--border-strong); color: var(--text); }

.filter-pill.active { background: #fff; color: #000; border-color: #fff; }

.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px 22px; }

.project-card { display: block; }

.project-card .thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: border-color 0.3s ease;
}

.project-card .thumb .grade { position: absolute; inset: 0; transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }

.project-card:hover .thumb { border-color: var(--border-strong); }
.project-card:hover .thumb .grade { transform: scale(1.06); }

.project-card .pc-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-top: 15px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
}

.project-card .pc-title .go { color: var(--text-faint); transition: transform 0.25s ease, color 0.25s ease; }
.project-card:hover .pc-title .go { transform: translateX(4px); color: var(--accent); }

.project-card .pc-cat { color: var(--text-faint); font-size: 0.8rem; margin-top: 4px; }

@media (max-width: 1024px) { .projects-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .projects-grid { grid-template-columns: 1fr; } }

/* ---------- Project detail (reference: meta rows, case study, snaps, similar) ---------- */

.meta-rows {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-block: 1px solid var(--border);
  padding: 30px 0;
  margin: 8px 0 52px;
}

.meta-rows .label {
  display: block;
  color: var(--text-faint);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 7px;
}

.meta-rows .value { font-family: var(--font-display); font-weight: 600; font-size: 0.98rem; }

.project-video { margin-bottom: 72px; }

.case-study { max-width: 820px; }

.case-study .lead { margin-bottom: 44px; }

.case-study h2 { margin: 44px 0 18px; }

.case-study ul { list-style: none; display: grid; gap: 12px; }

.case-study ul li {
  display: flex;
  gap: 12px;
  color: var(--text-dim);
  font-size: 0.98rem;
  line-height: 1.6;
}

.case-study ul li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  flex-shrink: 0;
  margin-top: 10px;
}

.snaps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.quote-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--sheen), rgba(255, 255, 255, 0.01);
  text-align: center;
  padding: clamp(44px, 6vw, 72px) 32px;
  margin-top: 72px;
}

.quote-card blockquote {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  line-height: 1.4;
  max-width: 760px;
  margin: 0 auto 22px;
}

.quote-card cite { color: var(--text-faint); font-style: normal; font-size: 0.92rem; }

.similar-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 40px; }

.similar-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

@media (max-width: 860px) {
  .meta-rows { grid-template-columns: repeat(2, 1fr); }
  .snaps-grid { grid-template-columns: repeat(2, 1fr); }
  .similar-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .snaps-grid { grid-template-columns: 1fr; } }


/* real media in cards and frames */
.project-card .thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.project-card:hover .thumb img { transform: scale(1.06); }

.media-frame > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* video media in cards, rail and frames */
.rail-card video,
.project-card .thumb video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.rail-card video { z-index: 1; }
.rail-card .rail-info { z-index: 2; }

.project-card:hover .thumb video { transform: scale(1.06); }

.media-frame > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-video.ratio-1x1 { max-width: 640px; margin-left: auto; margin-right: auto; }
.project-video.ratio-4x3 { max-width: 760px; margin-left: auto; margin-right: auto; }
.project-video.ratio-9x16 { max-width: 420px; margin-left: auto; margin-right: auto; }


/* Instagram embed frame (project pages) */
.ig-frame {
  display: flex;
  justify-content: center;
  margin-bottom: 72px;
}


/* ---------- Achievements ---------- */

.achievements-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

.achieve-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--sheen), rgba(255, 255, 255, 0.01);
  padding: 40px 38px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.achieve-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }

.achieve-card .rail-num { margin-bottom: 14px; }

.achieve-card h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 12px; }

.achieve-card p { color: var(--text-dim); font-size: 0.96rem; }

@media (max-width: 860px) { .achievements-grid { grid-template-columns: 1fr; } }


/* explicit hero line breaks on large screens only */
@media (max-width: 700px) { .br-lg { display: none; } }


/* board galleries: show the whole artwork, letterboxed on soft black */
.media-frame.fit-contain > img { object-fit: contain; background: var(--bg-soft); }


/* LinkedIn embed (project pages) */
.li-embed { display: flex; justify-content: center; }
.li-embed iframe { width: min(560px, 100%); height: 640px; border-radius: 16px; background: var(--bg-soft); }

/* ============================================
   Motion pass (template parity) - nav underline,
   pinned showreel zoom, word reveal, testimonial
   carousel, hover polish
   ============================================ */

/* nav link underline (hover + active) */
.nav-links li { position: relative; }
.nav-links a { position: relative; display: inline-block; padding-bottom: 4px; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--text);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

/* pinned showreel zoom */
.zoom-section { height: 260vh; position: relative; }
.zoom-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.zoom-word {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-impact);
  font-weight: 700;
  font-size: clamp(4.5rem, 15.5vw, 17rem);
  letter-spacing: -0.05em;
  line-height: 1;
  white-space: nowrap;
  background: linear-gradient(98deg, #ffffff 8%, rgba(255, 255, 255, 0.06) 92%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  user-select: none;
  pointer-events: none;
}
.zoom-player {
  position: relative;
  width: min(96vw, 1560px);
  transform: scale(0.38);
  will-change: transform;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.65);
}
.zoom-player video { width: 100%; height: 100%; object-fit: cover; display: block; }
.zoom-play { opacity: 1; }
.zoom-player.playing .zoom-play { opacity: 0; pointer-events: none; }
@media (max-width: 860px) {
  .zoom-section { height: auto; }
  .zoom-stage { position: static; height: auto; padding: 70px 18px 40px; display: block; overflow: visible; }
  .zoom-word { position: static; display: block; text-align: center; transform: none; margin-bottom: 26px; }
  .zoom-player { transform: none !important; width: 100%; }
}

/* per-word color reveal (scroll-scrubbed) */
[data-word-reveal] .wr { color: #4a4a4a; transition: color 0.3s ease; }
[data-word-reveal] .wr.on { color: inherit; }

/* testimonial carousel */
.t-carousel { position: relative; }
.t-viewport {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.t-track {
  display: flex;
  gap: 24px;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.t-track .testimonial {
  flex: 0 0 min(680px, 76%);
  opacity: 0.4;
  transform: scale(0.96);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.t-track .testimonial.current { opacity: 1; transform: none; }
.t-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: rgba(0, 0, 0, 0.55);
  color: var(--text);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  backdrop-filter: blur(6px);
  transition: background 0.25s ease, border-color 0.25s ease;
}
.t-arrow:hover { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.42); }
.t-prev { left: 6px; }
.t-next { right: 6px; }
@media (max-width: 860px) {
  .t-track .testimonial { flex-basis: 86%; }
  .t-prev { left: 2px; }
  .t-next { right: 2px; }
}

/* hover polish: glow + bento zoom */
.btn-gloss:hover { box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, 0.32), inset 0 -10px 18px rgba(0, 0, 0, 0.5), 0 22px 54px rgba(0, 0, 0, 0.7), 0 0 36px rgba(255, 255, 255, 0.1); }
.btn-sheen:hover { box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 255, 255, 0.1); }
.bento-card { overflow: hidden; }
.bento-card .grade { transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.bento-card:hover .grade { transform: scale(1.05); }

/* ============================================
   Nav: template parity - floating glass pill on
   scroll + Syne 600 links (template spec:
   rgba(13,13,13) blur pill, radius 44, #6e6e6e)
   ============================================ */
.nav { padding: 12px 0; }
.nav.scrolled {
  background: transparent;
  backdrop-filter: none;
  border-bottom-color: transparent;
}
.nav-inner {
  border-radius: 44px;
  border: 1px solid transparent;
  padding: 0 14px 0 24px;
  transition: background 0.35s ease, border-color 0.35s ease, height 0.35s ease, box-shadow 0.35s ease;
}
.nav.scrolled .nav-inner {
  background: rgba(13, 13, 13, 0.38);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-color: rgba(255, 255, 255, 0.08);
  height: 66px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}
.nav-links a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.05em;
  color: #6e6e6e;
  text-transform: none;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }

/* ---------- AI avatar use cases - tabbed panels (creative.html) ---------- */
.uc-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 34px;
}
.uc-panel {
  display: none;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  background: var(--sheen), var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 56px);
}
.uc-panel.active { display: grid; animation: ucIn 0.45s ease; }
@keyframes ucIn { from { opacity: 0; transform: translateY(10px); } }
.uc-copy h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 14px; }
.uc-copy p { color: var(--text-dim); margin-bottom: 26px; max-width: 52ch; }
.uc-media {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--border);
}
@media (max-width: 860px) {
  .uc-panel { grid-template-columns: 1fr; }
  .uc-media { order: -1; }
}

/* ---------- Brand partners - capsule logo band (template style) ---------- */
.logos-band {
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  max-width: var(--container);
  margin: 0 auto;
}
.logos-clip {
  overflow: hidden;
  border-radius: 999px;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.logos-track {
  display: flex;
  width: max-content;
  animation: logosScroll 30s linear infinite;
}
.logos-band:hover .logos-track { animation-play-state: paused; }
@keyframes logosScroll { to { transform: translateX(-50%); } }
.logo-cell {
  min-width: clamp(250px, 24vw, 370px);
  height: clamp(88px, 9vw, 118px);
  display: grid;
  place-items: center;
  border-right: 1px solid var(--border);
  padding: 0 36px;
}
.logo-cell img {
  height: clamp(24px, 2.4vw, 34px);
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}
.logo-cell .cc-mark { height: clamp(20px, 2vw, 28px); width: auto; color: #fff; opacity: 0.92; }
.hf-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  opacity: 0.92;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  letter-spacing: -0.02em;
}
.hf-mark .hf-glyph { height: clamp(22px, 2.2vw, 30px); width: auto; }
.flora-mark {
  color: #fff;
  opacity: 0.92;
  font-family: var(--font-impact);
  font-weight: 700;
  font-size: clamp(1.2rem, 1.9vw, 1.6rem);
  letter-spacing: 0.14em;
}

/* ---------- Testimonial cards - template style (photo bg, brand mark, big Syne quote) ---------- */
.t-track .testimonial {
  position: relative;
  overflow: hidden;
  padding: 0;
}
.t-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  filter: blur(2px) brightness(0.6);
  transform: scale(1.06);
}
.t-inner {
  position: relative;
  z-index: 1;
  padding: clamp(28px, 4vw, 54px);
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
}
.t-brand { height: 34px; width: auto; }
.t-quote {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.02rem, 1.5vw, 1.4rem);
  line-height: 1.5;
  color: #ececec;
}
.t-close {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3.2rem;
  line-height: 0.4;
  color: #fff;
}
.t-who { display: flex; align-items: center; gap: 14px; }
.t-who strong {
  display: block;
  font-family: var(--font-impact);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.95rem;
}
.t-who span { display: block; color: var(--text-faint); font-size: 0.85rem; margin-top: 3px; }
.t-avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }

/* ---------- Automation page: production workflow cards + without/with ---------- */
.wf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.wf-card {
  background: var(--sheen), var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(26px, 3.4vw, 46px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.wf-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8f8f8f;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 6px 14px;
}
.wf-card h3 { font-size: clamp(1.3rem, 1.9vw, 1.7rem); }
.wf-card p { color: var(--text-dim); font-size: 0.97rem; }
.wf-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.wf-chips span {
  font-size: 0.78rem;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 13px;
}
.vs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
}
.vs-col {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 40px);
}
.vs-without { background: rgba(255, 255, 255, 0.02); }
.vs-with { background: var(--sheen), var(--bg-soft); border-color: var(--border-strong); }
.vs-col h4 {
  font-family: var(--font-impact);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 1.02rem;
  margin-bottom: 18px;
}
.vs-without h4 { color: var(--text-faint); }
.vs-col ul { list-style: none; }
.vs-col li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.55;
}
.vs-without li::before { content: "×"; position: absolute; left: 0; color: var(--text-faint); }
.vs-with li::before { content: "✓"; position: absolute; left: 0; color: #fff; }
@media (max-width: 860px) {
  .wf-grid, .vs-grid { grid-template-columns: 1fr; }
}

/* ---------- Real covers inside bento cards + avatar panels ---------- */
.bento-card > img, .bento-card > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.bento-card:hover > img, .bento-card:hover > video { transform: scale(1.05); }
.uc-media img, .uc-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
