/* ═══════════════════════════════════════════════════════════
   AVENTUS — Main Stylesheet
   Colours, typography, layout, sections
═══════════════════════════════════════════════════════════ */

:root {
  --bg: #06060b;
  --bg-soft: #0c0c14;
  --gold: #e8a838;
  --gold-soft: #d4983a;
  --gold-glow: rgba(232, 168, 56, 0.12);
  --gold-dim: rgba(232, 168, 56, 0.4);
  --blue: #4d9fff;
  --blue-glow: rgba(77, 159, 255, 0.2);
  --white: #ece8e0;
  --white-dim: rgba(236, 232, 224, 0.55);
  --white-muted: rgba(236, 232, 224, 0.22);
  --white-faint: rgba(236, 232, 224, 0.08);
  --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
}

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

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  position: relative;
}

/* ═══════════════════════════════════════════════════════════
   AMBIENT BACKGROUND SYSTEM — 3 layers
   Layer 1: Topographic lines (body::before) - subtle structure
   Layer 2: Floating orbs (.orb) - drifting gold/blue glows
   Layer 3: Noise grain (body::after) - premium texture
═══════════════════════════════════════════════════════════ */

/* ── Layer 1: Topographic pattern — slow drift, fills all "empty" space ── */
body::before {
  content: '';
  position: fixed;
  inset: -10%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 800' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23e8a838' stroke-width='0.6' opacity='0.08'%3E%3Cpath d='M -100 400 Q 200 300 400 400 T 800 400 T 1300 400'/%3E%3Cpath d='M -100 450 Q 200 350 400 450 T 800 450 T 1300 450'/%3E%3Cpath d='M -100 350 Q 200 250 400 350 T 800 350 T 1300 350'/%3E%3Cpath d='M -100 500 Q 200 400 400 500 T 800 500 T 1300 500'/%3E%3Cpath d='M -100 300 Q 200 200 400 300 T 800 300 T 1300 300'/%3E%3Cpath d='M -100 550 Q 250 450 500 550 T 900 550 T 1300 550'/%3E%3Cpath d='M -100 250 Q 250 150 500 250 T 900 250 T 1300 250'/%3E%3Cpath d='M -100 600 Q 300 500 600 600 T 1000 600 T 1300 600'/%3E%3Cpath d='M -100 200 Q 300 100 600 200 T 1000 200 T 1300 200'/%3E%3Cpath d='M -100 650 Q 350 550 650 650 T 1050 650 T 1300 650'/%3E%3Cpath d='M -100 150 Q 350 50 650 150 T 1050 150 T 1300 150'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 110vw 110vh;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
  z-index: 1;
  animation: topoShift 70s ease-in-out infinite;
  opacity: 0.9;
}

@keyframes topoShift {
  0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
  25%      { transform: translate(-2%, 1.5%) scale(1.03) rotate(0.5deg); }
  50%      { transform: translate(1.5%, -1%) scale(1.01) rotate(-0.3deg); }
  75%      { transform: translate(-1%, -2%) scale(1.02) rotate(0.2deg); }
}

/* ── Layer 2: Floating orbs — cinematic gold/blue drift ── */
.orb-field {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
  will-change: transform;
}

.orb-1 {
  width: 60vw;
  height: 60vw;
  top: -20vw;
  left: -20vw;
  background: radial-gradient(circle, rgba(232, 168, 56, 0.4), rgba(232, 168, 56, 0) 70%);
  animation: orbDrift1 36s ease-in-out infinite;
}

.orb-2 {
  width: 50vw;
  height: 50vw;
  bottom: -15vw;
  right: -15vw;
  background: radial-gradient(circle, rgba(232, 168, 56, 0.32), rgba(232, 168, 56, 0) 70%);
  animation: orbDrift2 44s ease-in-out infinite;
}

.orb-3 {
  width: 45vw;
  height: 45vw;
  top: 40%;
  left: 55%;
  background: radial-gradient(circle, rgba(77, 159, 255, 0.15), rgba(77, 159, 255, 0) 70%);
  animation: orbDrift3 56s ease-in-out infinite;
}

.orb-4 {
  width: 38vw;
  height: 38vw;
  top: 80%;
  left: 5%;
  background: radial-gradient(circle, rgba(232, 168, 56, 0.28), rgba(232, 168, 56, 0) 70%);
  animation: orbDrift4 48s ease-in-out infinite;
}

/* NEW — vertical light ray that sweeps across periodically like a spotlight */
.orb-ray {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(232, 168, 56, 0.1) 40%,
    rgba(232, 168, 56, 0.25) 50%,
    rgba(232, 168, 56, 0.1) 60%,
    transparent 100%);
  filter: blur(18px);
  opacity: 0;
  animation: rayScan 28s linear infinite;
}

@keyframes rayScan {
  0%    { left: -10%; opacity: 0; }
  15%   { opacity: 0.6; }
  85%   { opacity: 0.6; }
  100%  { left: 110%; opacity: 0; }
}

@keyframes orbDrift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(35vw, 25vh) scale(1.2); }
  66%      { transform: translate(15vw, 60vh) scale(0.85); }
}
@keyframes orbDrift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-40vw, -50vh) scale(1.3); }
}
@keyframes orbDrift3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40%      { transform: translate(-30vw, 20vh) scale(0.8); }
  75%      { transform: translate(20vw, -25vh) scale(1.2); }
}
@keyframes orbDrift4 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  45%      { transform: translate(30vw, -40vh) scale(1.35); }
}

/* ── Layer 3: Noise grain ── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 10000;
  mix-blend-mode: overlay;
}

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

/* ═══ NAV ═══ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9000;
  padding: 24px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.4s ease, padding 0.4s ease;
}

nav.scrolled {
  background: rgba(6, 6, 11, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 16px 48px;
}

.nav-logo {
  display: flex;
  align-items: center;
  height: 28px;
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

nav.scrolled .nav-logo {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.nav-logo img {
  height: 100%;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
  opacity: 0;
  transform: translateX(12px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

nav.scrolled .nav-links {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.nav-links a {
  color: var(--white-dim);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.nav-links a:hover { color: var(--gold); }

/* ═══ HERO ═══ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  will-change: clip-path, opacity;
}

.hero-img.twilight { z-index: 1; }
.hero-img.day {
  z-index: 2;
  clip-path: inset(0 0 0 0);
  animation: dayWipe 9s cubic-bezier(0.65, 0, 0.35, 1) infinite;
  animation-delay: -1s;
}

/* Scanning line that follows the wipe edge exactly - matches clip-path movement pixel-for-pixel */
.hero-scan {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gold);
  box-shadow:
    0 0 12px rgba(232, 168, 56, 0.9),
    0 0 32px rgba(232, 168, 56, 0.45);
  z-index: 4;
  left: 0;
  opacity: 0;
  pointer-events: none;
  animation: scanLine 9s cubic-bezier(0.65, 0, 0.35, 1) infinite;
  animation-delay: -1s;
  transform: translateX(-50%);
  will-change: left, opacity;
}

/* 9s cycle:
   0%   → 33.33%  HOLD DAY    (3s at top of cycle)
   33.33% → 50%   WIPE        (1.5s)
   50%  → 83.33%  HOLD TWILIGHT (3s)
   83.33% → 100%  WIPE BACK   (1.5s)
   Since 100% == 0% (loop), the "hold day at 100%" connects directly to "hold day at 0%"
   With animation-delay: -1s, initial load starts at 1s mark → user sees 2s of day before first wipe
   Subsequent day holds are full 3s each. */
@keyframes dayWipe {
  0%, 33.33%   { clip-path: inset(0 0 0 0%); }     /* Hold day */
  50%, 83.33%  { clip-path: inset(0 0 0 100%); }   /* Wipe complete, hold twilight */
  100%         { clip-path: inset(0 0 0 0%); }     /* Wipe back complete */
}

@keyframes scanLine {
  0%, 32%      { left: 0%; opacity: 0; }            /* Hidden during day hold */
  33.33%       { left: 0%; opacity: 1; }            /* Appear at wipe start */
  50%          { left: 100%; opacity: 1; }          /* Reach right edge at wipe end */
  51%, 82%     { left: 100%; opacity: 0; }          /* Hidden during twilight hold */
  83.33%       { left: 100%; opacity: 1; }          /* Reappear at wipe-back start */
  100%         { left: 0%; opacity: 1; }            /* Arrive at left edge */
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(180deg,
      rgba(6,6,11,0) 0%,
      rgba(6,6,11,0) 85%,
      rgba(6,6,11,0.5) 93%,
      rgba(6,6,11,1) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  padding: 0 24px;
  max-width: 1400px;
  margin: 0 auto;
  transform: translateY(-8vh);
}

.hero-title {
  display: block;
  width: clamp(300px, 60vw, 900px);
  height: auto;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(60px);
  animation: heroIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
  filter:
    drop-shadow(0 0 40px rgba(232, 168, 56, 0.35))
    drop-shadow(0 0 80px rgba(6, 6, 11, 0.6))
    drop-shadow(0 4px 30px rgba(0, 0, 0, 0.5));
}

.hero-sub {
  font-size: clamp(14px, 1.7vw, 20px);
  font-weight: 600;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--white);
  margin-top: 32px;
  text-shadow:
    0 2px 30px rgba(6, 6, 11, 0.95),
    0 0 50px rgba(6, 6, 11, 0.7);
  opacity: 0;
  transform: translateY(30px);
  animation: heroIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.7s forwards;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 4px;
}

.hero-tag {
  font-size: clamp(13px, 1.2vw, 15px);
  color: var(--white-dim);
  margin-top: 20px;
  letter-spacing: 1px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  animation: heroIn 1s cubic-bezier(0.16, 1, 0.3, 1) 1s forwards;
}

@keyframes heroIn {
  to { opacity: 1; transform: translateY(0); }
}

.hero-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  margin: 0 14px;
  vertical-align: middle;
  box-shadow: 0 0 10px rgba(232, 168, 56, 0.6);
  flex-shrink: 0;
}

/* Scroll indicator - SCROLL label above a pulsing gold line */
.hero-scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  opacity: 0;
  animation: heroIn 1s cubic-bezier(0.16, 1, 0.3, 1) 1.6s forwards;
  transition: opacity 0.4s ease;
}

/* Fade out scroll indicator when user starts scrolling */
nav.scrolled ~ .hero .hero-scroll-indicator,
body.scrolled .hero-scroll-indicator {
  opacity: 0 !important;
  pointer-events: none;
}

.hero-scroll-label {
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.hero-scroll-pulse {
  position: relative;
  width: 3px;
  height: 72px;
  overflow: hidden;
  border-radius: 2px;
}

.hero-scroll-pulse::before {
  content: '';
  position: absolute;
  left: 0;
  top: -72px;
  width: 3px;
  height: 72px;
  background: linear-gradient(180deg,
    rgba(232, 168, 56, 0) 0%,
    rgba(232, 168, 56, 1) 45%,
    rgba(232, 168, 56, 1) 55%,
    rgba(232, 168, 56, 0) 100%);
  box-shadow:
    0 0 12px rgba(232, 168, 56, 0.7),
    0 0 24px rgba(232, 168, 56, 0.35);
  border-radius: 2px;
  animation: scrollPulse 2.2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%   { transform: translateY(0);     opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { transform: translateY(144px); opacity: 0; }
}

/* ═══ INTRO ═══ */
.intro {
  padding: 110px 48px;
  display: flex;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.intro::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-glow), transparent);
}

.intro::after {
  content: '';
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 1200px;
  height: 600px;
  background: radial-gradient(ellipse at center,
    rgba(232, 168, 56, 0.05) 0%,
    transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.intro-inner {
  max-width: 1400px;
  width: 100%;
  position: relative;
  z-index: 1;
}

/* Header block (eyebrow + title + subheading) */
.intro-header {
  text-align: center;
  margin-bottom: 48px;
}

.intro-eyebrow {
  display: inline-block;
  font-size: clamp(11px, 1vw, 14px);
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.intro-title {
  font-size: clamp(42px, 6vw, 84px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--white);
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.15s,
    transform 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}

.intro-title-accent {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
  font-size: 1.3em;
  letter-spacing: -0.02em;
}

.intro-subheading {
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 400;
  letter-spacing: 0.5px;
  color: var(--white);
  line-height: 1.2;
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s,
    transform 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
}

/* Horizontal gold hairline above columns */
.intro-hairline {
  height: 1px;
  width: 0;
  background: linear-gradient(90deg, transparent, rgba(232, 168, 56, 0.5), transparent);
  margin: 60px auto 40px;
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.9s;
}

/* 3-column grid */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  position: relative;
}

.intro-col {
  text-align: center;
  padding: 32px 20px;
  position: relative;
  opacity: 0;
  transform: translateY(50px);
  transition:
    opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.intro-col-1 { transition-delay: 1.4s; }
.intro-col-2 { transition-delay: 1.9s; }
.intro-col-3 { transition-delay: 2.4s; }

/* Vertical gold dividers between columns */
.intro-col + .intro-col::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 0;
  background: linear-gradient(180deg, transparent, rgba(232, 168, 56, 0.4), transparent);
  transform: translateY(-50%);
  transition: height 1s cubic-bezier(0.16, 1, 0.3, 1) 3s;
}

.intro-verb {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
  font-size: clamp(48px, 6.5vw, 100px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.intro-brand {
  display: block;
  font-size: clamp(11px, 1vw, 15px);
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(236, 232, 224, 0.75);
  font-weight: 500;
  white-space: nowrap;
}

/* Reveal states when intro block becomes visible */
#introBlock.visible .intro-eyebrow,
#introBlock.visible .intro-title,
#introBlock.visible .intro-subheading {
  opacity: 1;
  transform: translateY(0);
}

#introBlock.visible .intro-hairline {
  width: 100%;
}

#introBlock.visible .intro-col {
  opacity: 1;
  transform: translateY(0);
}

#introBlock.visible .intro-col + .intro-col::before {
  height: 70%;
}


/* ═══ DIVISIONS ═══ */
.divisions {
  padding: 120px 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--white-faint);
  border-bottom: 1px solid var(--white-faint);
}

.division {
  padding: 32px;
  text-align: left;
}

.division-num {
  display: block;
  font-size: 12px;
  letter-spacing: 4px;
  color: var(--gold);
  margin-bottom: 24px;
  font-weight: 500;
}

.division h3 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.division p {
  font-size: 15px;
  color: var(--white-dim);
  letter-spacing: 0.5px;
}

/* ═══ FOUNDATION ═══ */
.foundation {
  padding: 120px 48px;
  display: flex;
  justify-content: center;
  position: relative;
  overflow: visible;
}

.foundation::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle at center,
    rgba(232, 168, 56, 0.08) 0%,
    rgba(232, 168, 56, 0.02) 30%,
    transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.foundation-inner {
  max-width: 1000px;
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 1;
}

.foundation-label {
  display: block;
  font-size: 12px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
}

.foundation-heading {
  font-size: clamp(40px, 7vw, 96px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 40px;
}

.foundation-heading .counter {
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.foundation-plus {
  color: var(--gold);
  font-weight: 300;
  font-size: 0.7em;
}

.foundation-body {
  max-width: 680px;
  margin: 0 auto;
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--white-dim);
  line-height: 1.7;
}

.foundation-body em {
  font-style: normal;
  color: var(--white);
  font-weight: 500;
}

/* ═══ SECTION HEADER (Media / Studio / Agency) ═══ */
.section-header {
  padding: 80px 48px 60px;
  max-width: 1400px;
  margin: 0 auto;
}

.section-label {
  display: block;
  font-size: 12px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
}

.section-heading {
  font-size: clamp(56px, 10vw, 160px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 0.95;
  margin-bottom: 32px;
  text-transform: uppercase;
}

/* Variant for shorter headings like "AI Enhancement" - scales font to prevent wrap */
.section-heading-short {
  font-size: clamp(48px, 9vw, 140px);
  white-space: nowrap;
}

.section-sub {
  font-size: clamp(16px, 1.6vw, 22px);
  color: var(--white-dim);
  max-width: 600px;
  line-height: 1.5;
}

.section-sub-wide {
  max-width: 900px;
}

/* ═══ GALLERY (Media) ═══ */
.gallery {
  padding: 40px 48px 60px;
  max-width: 1600px;
  margin: 0 auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  grid-auto-rows: 240px;
  grid-auto-flow: dense;
}

.gal-tile {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: var(--bg-soft);
}

/* Repeating rhythmic pattern that always fills rows evenly */
.gal-tile:nth-child(1) { grid-column: span 8; grid-row: span 2; }
.gal-tile:nth-child(2) { grid-column: span 4; grid-row: span 2; }
.gal-tile:nth-child(3) { grid-column: span 4; grid-row: span 2; }
.gal-tile:nth-child(4) { grid-column: span 4; grid-row: span 2; }
.gal-tile:nth-child(5) { grid-column: span 4; grid-row: span 2; }
.gal-tile:nth-child(6) { grid-column: span 6; grid-row: span 2; }
.gal-tile:nth-child(7) { grid-column: span 6; grid-row: span 2; }
.gal-tile:nth-child(8) { grid-column: span 4; grid-row: span 2; }
.gal-tile:nth-child(9) { grid-column: span 4; grid-row: span 2; }
.gal-tile:nth-child(10) { grid-column: span 4; grid-row: span 2; }
.gal-tile:nth-child(11) { grid-column: span 8; grid-row: span 2; }
.gal-tile:nth-child(12) { grid-column: span 4; grid-row: span 2; }

.gal-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white-muted);
  font-size: 13px;
  letter-spacing: 3px;
  text-align: center;
  background: repeating-linear-gradient(
    45deg,
    rgba(232, 168, 56, 0.03),
    rgba(232, 168, 56, 0.03) 10px,
    transparent 10px,
    transparent 20px
  );
  border: 1px dashed var(--white-faint);
}

.gal-placeholder small {
  font-size: 10px;
  margin-top: 8px;
  color: var(--white-faint);
  letter-spacing: 2px;
}

/* ═══ PINNED SECTIONS (Studio demos) ═══ */
.pin-wrap {
  position: relative;
  /* Height set by JS based on data-pin-height */
}

.pin-sticky {
  /* No position:sticky - GSAP ScrollTrigger handles pinning */
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 48px 80px;
  width: 100%;
  position: relative;
  --progress: 0%;
}

/* Ambient progress bar at top when pinned - shows scroll progress */
.pin-sticky::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  width: var(--progress);
  background: linear-gradient(90deg, var(--gold), rgba(232, 168, 56, 0.4));
  box-shadow: 0 0 12px rgba(232, 168, 56, 0.6);
  z-index: 20;
  transition: opacity 0.3s ease;
  opacity: 0;
}

.pin-wrap.is-pinned .pin-sticky::after {
  opacity: 1;
}

.pin-header {
  text-align: center;
  margin-bottom: 32px;
  flex-shrink: 0;
  transition: transform 0.1s linear;
}

.pin-label {
  display: block;
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.pin-label-blue { color: var(--blue); }

.pin-heading {
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 600;
  color: var(--white);
  letter-spacing: 1px;
}

.pin-frame {
  position: relative;
  width: min(85vw, 1200px);
  flex: 1;
  min-height: 0;
  max-height: calc(100vh - 260px);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

/* Ambient scroll progress indicator within pinned frame */
.pin-frame::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  background: linear-gradient(180deg,
    transparent,
    rgba(232, 168, 56, 0.35),
    transparent);
  z-index: 10;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.pin-wrap.is-pinned .pin-frame::before {
  opacity: 1;
}

.pin-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  will-change: opacity;
}

.pin-states {
  display: flex;
  gap: 48px;
  margin-top: 32px;
  flex-shrink: 0;
}

.pin-state {
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--white-muted);
  transition: color 0.4s ease;
  white-space: nowrap;
  position: relative;
  padding-bottom: 8px;
  cursor: default;
}

.pin-wrap.pin-complete .pin-state {
  cursor: pointer;
}

.pin-wrap.pin-complete .pin-state:hover {
  color: var(--gold);
}

.pin-state::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.pin-state.active {
  color: var(--gold);
}

.pin-state.active::after {
  width: 100%;
}

/* Remove underline bar from Virtual Staging progress labels since we have the center bar */
.pin-progress .pin-state::after {
  display: none;
}

.pin-progress {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 32px;
  flex-shrink: 0;
}

/* All progress text/bar is gold now (was blue for Virtual Staging) */
.pin-progress .pin-state.active {
  color: var(--gold);
}

.pin-progress-bar {
  width: 160px;
  height: 2px;
  background: var(--white-faint);
  border-radius: 1px;
  overflow: hidden;
}

.pin-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(232, 168, 56, 0.6);
  border-radius: 1px;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Pin scan line - follows the edge of the clip-path reveal */
.pin-scan {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: var(--gold);
  box-shadow:
    0 0 14px rgba(232, 168, 56, 0.95),
    0 0 36px rgba(232, 168, 56, 0.5);
  z-index: 5;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%);
  will-change: left, opacity;
}

/* ═══ CAPABILITIES GRID ═══ */
.capabilities {
  padding: 110px 48px;
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.capabilities::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 80%;
  background: radial-gradient(ellipse at center,
    rgba(232, 168, 56, 0.08) 0%,
    rgba(232, 168, 56, 0.02) 40%,
    transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.capabilities::after {
  content: '';
  position: absolute;
  top: 30%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 168, 56, 0.4), transparent);
  z-index: 0;
  pointer-events: none;
  animation: rayDrift 14s ease-in-out infinite;
}

@keyframes rayDrift {
  0%, 100% { top: 25%; opacity: 0.6; }
  50%      { top: 70%; opacity: 0.2; }
}

.cap-header {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
  z-index: 1;
}

.cap-grid {
  position: relative;
  z-index: 1;
}

.cap-label {
  display: block;
  font-size: 12px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.cap-heading {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.cap-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-soft);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--white-faint);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
  cursor: pointer;
}

/* Cap-image always visible, the content below has its own reveal */
.cap-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-soft);
}

/* Cap-item stagger via nth-child on the reveal of cap-content */
.cap-item:nth-child(1) .cap-content { transition-delay: 0s; }
.cap-item:nth-child(2) .cap-content { transition-delay: 0.08s; }
.cap-item:nth-child(3) .cap-content { transition-delay: 0.16s; }
.cap-item:nth-child(4) .cap-content { transition-delay: 0.24s; }
.cap-item:nth-child(5) .cap-content { transition-delay: 0.32s; }

.cap-item:hover {
  border-color: rgba(232, 168, 56, 0.4);
  transform: translateY(-4px);
}

.cap-before,
.cap-after {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: filter 0.4s ease;
}

.cap-before {
  filter: brightness(0.75) saturate(0.85);
}

.cap-after {
  clip-path: inset(0 100% 0 0);
  will-change: clip-path;
}

/* Gold scan line that travels with the clip edge */
.cap-scan {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: var(--gold);
  box-shadow:
    0 0 10px rgba(232, 168, 56, 0.95),
    0 0 24px rgba(232, 168, 56, 0.5);
  z-index: 3;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%);
  will-change: left, opacity;
}

/* Hover preview after reveal completes: click/hover to see before state */
.cap-item.revealed .cap-after {
  transition: clip-path 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.cap-item.revealed:hover .cap-after {
  clip-path: inset(0 100% 0 0);
}

.cap-content {
  padding: 24px 20px 28px;
}

.cap-num {
  display: block;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 14px;
  font-weight: 500;
}

.cap-item h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: 0.2px;
}

.cap-item p {
  font-size: 13px;
  color: var(--white-dim);
  line-height: 1.5;
}

/* ═══ MOBILE MOMENT ═══ */
.mobile-moment {
  padding: 120px 48px;
  display: flex;
  justify-content: center;
  background: linear-gradient(180deg, transparent, rgba(232, 168, 56, 0.03), transparent);
  position: relative;
  overflow: visible;
}

.mobile-inner {
  position: relative;
  z-index: 1;
}

.mobile-inner {
  max-width: 900px;
  text-align: center;
}

.mobile-label {
  display: block;
  font-size: 12px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
}

.mobile-heading {
  font-size: clamp(48px, 9vw, 120px);
  font-weight: 800;
  color: var(--white);
  line-height: 0.9;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-heading span {
  display: block;
  opacity: 0;
  transform: translateY(30px);
  animation: wordUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.mobile-heading.visible span:nth-child(1) { animation-delay: 0.1s; }
.mobile-heading.visible span:nth-child(2) { animation-delay: 0.3s; }
.mobile-heading.visible span:nth-child(3) { animation-delay: 0.5s; }

@keyframes wordUp {
  to { opacity: 1; transform: translateY(0); }
}

.mobile-time {
  font-size: clamp(18px, 2vw, 24px);
  color: var(--gold);
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 32px;
}

.mobile-body {
  max-width: 600px;
  margin: 0 auto;
  font-size: 16px;
  color: var(--white-dim);
  line-height: 1.7;
}

/* ═══ AGENCY METRICS ═══ */
.agency-metrics {
  padding: 40px 48px 60px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

/* Gold vertical scan line that grows as user scrolls through the metrics */
.metric-scan {
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 0%;
  background: linear-gradient(180deg, var(--gold), rgba(232, 168, 56, 0.4));
  box-shadow: 0 0 12px rgba(232, 168, 56, 0.6);
  z-index: 1;
  pointer-events: none;
  transition: height 0.2s linear;
}

.metric-row {
  display: grid;
  grid-template-columns: minmax(320px, auto) minmax(200px, 260px) 1fr;
  gap: 48px;
  align-items: baseline;
  padding: 56px 0;
  border-top: 1px solid var(--white-faint);
  position: relative;
}

.metric-row:last-child {
  border-bottom: 1px solid var(--white-faint);
}

/* Staggered reveals: number scales up, label slides from left, description slides from right */
.metric-row .metric-number,
.metric-row .metric-label,
.metric-row .metric-desc {
  opacity: 0;
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.metric-row .metric-number { transform: scale(0.8); }
.metric-row .metric-label  { transform: translateX(-30px); }
.metric-row .metric-desc   { transform: translateX(40px); }

.metric-row.visible .metric-number,
.metric-row.visible .metric-label,
.metric-row.visible .metric-desc {
  opacity: 1;
  transform: none;
}

.metric-row.visible .metric-label { transition-delay: 0.12s; }
.metric-row.visible .metric-desc  { transition-delay: 0.24s; }

.metric-number {
  font-size: clamp(56px, 7.5vw, 110px);
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 40px rgba(232, 168, 56, 0.25);
}

.metric-label {
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--white);
  font-weight: 500;
}

.metric-desc {
  font-size: 15px;
  color: var(--white-dim);
  line-height: 1.6;
}

/* ═══ UNIFIED MODEL ═══ */
.unified {
  padding: 120px 48px;
  display: flex;
  justify-content: center;
  position: relative;
  overflow: visible;
}

.unified::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse at 30% 50%,
    rgba(232, 168, 56, 0.06) 0%,
    transparent 60%);
  pointer-events: none;
}

.unified::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 1px;
  height: 120px;
  background: linear-gradient(180deg, transparent, var(--gold-glow), transparent);
}

.unified-inner {
  max-width: 1100px;
  text-align: left;
  position: relative;
  z-index: 1;
}

.unified-heading {
  font-size: clamp(36px, 6vw, 84px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 48px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.u-line {
  display: block;
  opacity: 0;
  will-change: transform, opacity;
  transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

.u-from-left {
  transform: translateX(-80px);
}
.u-from-right {
  transform: translateX(80px);
}
.u-from-bottom {
  transform: translateY(60px);
}
.u-from-scale {
  transform: scale(0.82);
}

.unified-heading.visible .u-line {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

.unified-heading.visible .u-from-right { transition-delay: 0.18s; }
.unified-heading.visible .u-from-bottom { transition-delay: 0.36s; }
.unified-heading.visible .u-from-scale { transition-delay: 0.54s; }

.unified-body {
  max-width: 680px;
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--white-dim);
  line-height: 1.7;
}

/* ═══ BUILT FOR ═══ */
.built-for {
  padding: 110px 48px;
  max-width: 1400px;
  margin: 0 auto;
}

.bf-header {
  text-align: center;
  margin-bottom: 80px;
}

.bf-label {
  display: block;
  font-size: 12px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.bf-heading {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}

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

.bf-item {
  padding: 48px 40px;
  border: 1px solid var(--white-faint);
  border-radius: 8px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  background: rgba(6, 6, 11, 0.3);
}

.bf-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.bf-item:hover {
  border-color: rgba(232, 168, 56, 0.35);
  background: rgba(232, 168, 56, 0.03);
  transform: translateY(-4px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.bf-item:hover::before {
  opacity: 1;
}

.bf-num {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.bf-item h3 {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 18px;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.bf-item p {
  font-size: 15px;
  color: var(--white-dim);
  line-height: 1.6;
  margin-bottom: 28px;
}

.bf-services {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid var(--white-faint);
}

.bf-services li {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white-dim);
  padding: 8px 14px;
  border: 1px solid var(--white-faint);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.3s ease;
}

.bf-item:hover .bf-services li {
  border-color: rgba(232, 168, 56, 0.25);
  color: var(--white);
}

/* ═══ STATS ═══ */
.stats {
  padding: 140px 48px;
  display: flex;
  justify-content: center;
  border-top: 1px solid var(--white-faint);
  border-bottom: 1px solid var(--white-faint);
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1200px;
  height: 400px;
  background: radial-gradient(ellipse at center,
    rgba(232, 168, 56, 0.1) 0%,
    transparent 60%);
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  max-width: 1200px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  position: relative;
  padding-top: 24px;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

.stat-item.reveal.visible::before {
  width: 60px;
}

/* Number with scale-in entrance */
.stat-number {
  font-size: clamp(52px, 7vw, 100px);
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  text-shadow: 0 0 40px rgba(232, 168, 56, 0.25);
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-item.reveal.visible .stat-number {
  opacity: 1;
  transform: scale(1);
}

.stat-number.stat-text {
  letter-spacing: -0.01em;
  font-size: clamp(42px, 5.5vw, 80px);
}

.stat-plus {
  font-size: 0.65em;
  font-weight: 300;
  color: var(--gold);
}

/* Bigger, more prominent label */
.stat-label {
  font-size: 14px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--white);
  margin-top: 20px;
  font-weight: 500;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.25s,
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.25s;
}

.stat-item.reveal.visible .stat-label {
  opacity: 1;
  transform: translateY(0);
}

/* ═══ CTA ═══ */
.cta {
  padding: 120px 48px;
  text-align: center;
  position: relative;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 120px;
  background: linear-gradient(180deg, transparent, var(--gold-glow));
}

.cta-inner {
  max-width: 800px;
  margin: 0 auto;
}

.cta-heading {
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.cta-sub {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--white-dim);
  margin-top: 20px;
  letter-spacing: 0.5px;
}

.cta-email {
  display: inline-block;
  margin-top: 56px;
  font-size: clamp(14px, 1.3vw, 17px);
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--gold-glow);
  padding-bottom: 6px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.cta-email:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

/* ═══ FOOTER ═══ */
footer {
  padding: 64px 48px 48px;
  text-align: center;
  border-top: 1px solid var(--white-faint);
}

.footer-mark {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.footer-mark img {
  height: 24px;
  width: auto;
  opacity: 0.6;
}

.footer-tag {
  font-size: 11px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  opacity: 0.8;
}

.footer-loc {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--white-muted);
  margin-bottom: 32px;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-socials a {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--white-dim);
  transition: color 0.3s ease;
}

.footer-socials a:hover { color: var(--gold); }

.footer-copy {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--white-muted);
}

/* ═══ REVEAL SYSTEM ═══ */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition:
    opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Dramatic headings - larger translate with subtle scale */
h1.reveal, h2.reveal,
.section-heading.reveal,
.cap-heading.reveal,
.bf-heading.reveal,
.foundation-heading.reveal,
.unified-heading.reveal,
.cta-heading.reveal,
.mobile-heading.reveal,
.pin-heading.reveal {
  transform: translateY(80px) scale(0.96);
  transition:
    opacity 1.3s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.3s cubic-bezier(0.16, 1, 0.3, 1);
}

h1.reveal.visible, h2.reveal.visible,
.section-heading.reveal.visible,
.cap-heading.reveal.visible,
.bf-heading.reveal.visible,
.foundation-heading.reveal.visible,
.unified-heading.reveal.visible,
.cta-heading.reveal.visible,
.mobile-heading.reveal.visible,
.pin-heading.reveal.visible {
  transform: translateY(0) scale(1);
}

/* Labels slide in from below with slight delay */
.section-label.reveal,
.cap-label.reveal,
.bf-label.reveal,
.mobile-label.reveal,
.foundation-label.reveal {
  transform: translateY(30px);
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Editorial italic serif accent for emphasis words ── */
.accent-serif {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: -0.01em;
  font-size: 1.08em;
}

/* ═══ Layer content above ambient layers ═══ */
main, section, footer {
  position: relative;
  z-index: 3;
}

/* ═══ SCATTER PHOTOS — ambient portfolio imagery in text sections ═══ */
.scatter-img {
  position: absolute;
  overflow: hidden;
  border-radius: 6px;
  background: var(--bg-soft);
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transform: translateY(40px) scale(1);
  transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1), transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.scatter-img.visible {
  opacity: 0.55;
  transform: translateY(0) scale(1);
  animation: scatterBreathe 8s ease-in-out infinite;
}

@keyframes scatterBreathe {
  0%, 100% { filter: brightness(1); }
  50%      { filter: brightness(1.08); }
}

.scatter-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white-muted);
  font-size: 11px;
  letter-spacing: 3px;
  text-align: center;
  background: repeating-linear-gradient(
    45deg,
    rgba(232, 168, 56, 0.04),
    rgba(232, 168, 56, 0.04) 10px,
    transparent 10px,
    transparent 20px
  );
  border: 1px dashed var(--white-faint);
  text-transform: uppercase;
}

.scatter-placeholder small {
  font-size: 9px;
  margin-top: 6px;
  color: var(--white-faint);
  letter-spacing: 2px;
}

/* ─── Foundation scatter positions ─── */
.scatter-foundation-1 {
  width: 180px;
  height: 240px;
  top: 14%;
  left: 8%;
}
.scatter-foundation-2 {
  width: 240px;
  height: 160px;
  top: 8%;
  right: 10%;
}
.scatter-foundation-3 {
  width: 140px;
  height: 140px;
  bottom: 18%;
  left: 14%;
}
.scatter-foundation-4 {
  width: 160px;
  height: 220px;
  bottom: 10%;
  right: 7%;
}

/* ─── Unified Model scatter positions ─── */
.scatter-unified-1 {
  width: 280px;
  height: 180px;
  top: 12%;
  right: 6%;
}
.scatter-unified-2 {
  width: 150px;
  height: 200px;
  bottom: 14%;
  left: 6%;
}
.scatter-unified-3 {
  width: 130px;
  height: 130px;
  top: 55%;
  right: 12%;
}

/* ─── Mobile App moment scatter positions ─── */
.scatter-mobile-1 {
  width: 140px;
  height: 180px;
  top: 12%;
  left: 6%;
}
.scatter-mobile-2 {
  width: 180px;
  height: 140px;
  top: 16%;
  right: 8%;
}
.scatter-mobile-3 {
  width: 130px;
  height: 160px;
  bottom: 14%;
  left: 9%;
}
.scatter-mobile-4 {
  width: 150px;
  height: 200px;
  bottom: 10%;
  right: 6%;
}

/* ═══ MARQUEE STRIPS — auto-scrolling text strip ═══ */
.marquee {
  position: relative;
  overflow: hidden;
  padding: 36px 0;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(232, 168, 56, 0.02) 50%,
    transparent 100%);
}

.marquee::before,
.marquee::after {
  content: '';
  position: absolute;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.marquee::before { top: 0; }
.marquee::after { bottom: 0; }

.marquee-track {
  display: flex;
  align-items: center;
  gap: 36px;
  white-space: nowrap;
  font-size: clamp(22px, 3.2vw, 42px);
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.005em;
  line-height: 1;
  will-change: transform;
  width: max-content;
}

.marquee-track span {
  display: inline-block;
  padding-right: 36px;
}

/* Gold-colored emphasis words (no italic, just gold) */
.marquee-track .m-gold {
  color: var(--gold);
}

/* Auto-scrolling variant - continuous CSS animation, not scroll-linked */
.marquee-auto-track {
  animation: marqueeScroll 60s linear infinite;
}

@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-track .m-dot {
  display: inline-block;
  color: var(--gold);
  font-size: 0.6em;
  padding: 0;
  transform: translateY(-0.15em);
  opacity: 0.8;
}

/* ═══ RESPONSIVE ═══ */

/* Tablet breakpoint */
@media (max-width: 1024px) {
  nav { padding: 20px 32px; }
  nav.scrolled { padding: 14px 32px; }
  .nav-links { gap: 28px; }

  .divisions {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 100px 32px;
  }
  .division { padding: 24px; }

  .cap-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }

  .metric-row {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 40px 0;
  }
  .metric-number { font-size: clamp(48px, 7vw, 72px); }

  .bf-grid { grid-template-columns: 1fr; gap: 24px; }
  .bf-item { padding: 40px 32px; }

  .gallery-grid {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 200px;
    gap: 12px;
  }
  .gal-tile:nth-child(n) { grid-column: span 3; grid-row: span 2; }
  .gal-tile:nth-child(3n+1) { grid-column: span 6; grid-row: span 2; }

  .pin-frame { width: 92vw; }
}

/* Mobile breakpoint */
@media (max-width: 768px) {

  /* Nav */
  nav { padding: 14px 20px; }
  nav.scrolled { padding: 10px 20px; }
  .nav-links { display: none; }
  .nav-logo { height: 20px; }

  /* Hero */
  .hero { min-height: 560px; }
  .hero-content {
    padding: 0 20px;
    transform: translateY(-6vh);
  }
  .hero-title {
    width: clamp(240px, 85vw, 400px);
  }
  .hero-sub {
    font-size: 11px;
    letter-spacing: 3px;
    line-height: 1.8;
    margin-top: 24px;
  }
  .hero-dot {
    margin: 0 8px;
    font-size: 1.4em;
  }
  .hero-scroll-indicator {
    bottom: 28px;
    gap: 10px;
  }
  .hero-scroll-label {
    font-size: 10px;
    letter-spacing: 4px;
  }
  .hero-scroll-pulse { height: 48px; }
  .hero-scroll-pulse::before { height: 48px; top: -48px; }
  @keyframes scrollPulse {
    0%   { transform: translateY(0);    opacity: 0; }
    15%  { opacity: 1; }
    85%  { opacity: 1; }
    100% { transform: translateY(96px); opacity: 0; }
  }

  /* Intro - Aventus Method */
  .intro { padding: 100px 20px; }
  .intro-header { margin-bottom: 32px; }
  .intro-hairline { margin: 40px auto 32px; }
  .intro-title { font-size: clamp(36px, 11vw, 56px); margin-bottom: 20px; }
  .intro-subheading { font-size: clamp(18px, 5vw, 24px); }
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .intro-col { padding: 24px 20px; }
  .intro-col + .intro-col::before {
    top: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    width: auto;
    transform: none;
    background: linear-gradient(90deg, transparent, rgba(232, 168, 56, 0.4), transparent);
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1) 3s;
  }
  #introBlock.visible .intro-col + .intro-col::before {
    height: 1px;
    opacity: 1;
  }
  .intro-verb {
    font-size: clamp(48px, 14vw, 80px);
    margin-bottom: 12px;
  }
  .intro-brand {
    letter-spacing: 3px;
    font-size: 12px;
  }

  /* Foundation */
  .foundation { padding: 120px 20px; }
  .foundation-label { font-size: 10px; letter-spacing: 4px; margin-bottom: 24px; }
  .foundation-heading {
    font-size: clamp(32px, 10vw, 48px);
    line-height: 1.1;
    margin-bottom: 32px;
  }
  .foundation-body {
    font-size: 15px;
    line-height: 1.7;
  }

  /* Divisions */
  .divisions {
    padding: 80px 20px;
    gap: 40px;
  }
  .division { padding: 16px 0; text-align: center; }
  .division h3 { font-size: 40px; }

  /* Section headers */
  .section-header {
    padding: 120px 20px 60px;
  }
  .section-label {
    font-size: 10px;
    letter-spacing: 4px;
    margin-bottom: 20px;
  }
  .section-heading {
    font-size: clamp(48px, 15vw, 72px);
    line-height: 1;
    margin-bottom: 24px;
  }
  .section-sub {
    font-size: 15px;
    line-height: 1.5;
  }

  /* Gallery */
  .gallery { padding: 20px 20px 100px; }
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
    gap: 12px;
  }
  .gal-tile:nth-child(n) {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }

  /* Pinned sections */
  .pin-sticky {
    padding: 60px 16px 32px;
  }
  .pin-header {
    margin-bottom: 20px;
  }
  .pin-label {
    font-size: 10px;
    letter-spacing: 4px;
    margin-bottom: 8px;
  }
  .pin-heading {
    font-size: clamp(20px, 5.5vw, 28px);
  }
  .pin-frame {
    width: calc(100vw - 32px);
    max-height: calc(100vh - 200px);
  }
  .pin-states {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
  }
  .pin-state {
    font-size: 10px;
    letter-spacing: 3px;
  }
  .pin-progress {
    gap: 14px;
    margin-top: 20px;
  }
  .pin-progress-bar { width: 80px; }

  /* Studio Capabilities */
  .capabilities { padding: 100px 20px; }
  .cap-header { margin-bottom: 48px; }
  .cap-label { font-size: 10px; letter-spacing: 4px; margin-bottom: 20px; }
  .cap-heading {
    font-size: clamp(28px, 8vw, 44px);
    line-height: 1.15;
  }
  .cap-grid { grid-template-columns: 1fr; gap: 14px; }
  .cap-item { padding: 32px 24px; }
  .cap-num { font-size: 10px; letter-spacing: 3px; margin-bottom: 16px; }
  .cap-item h3 { font-size: 18px; margin-bottom: 10px; }
  .cap-item p { font-size: 13px; line-height: 1.5; }

  /* Mobile app moment */
  .mobile-moment { padding: 120px 20px; }
  .mobile-label { font-size: 10px; letter-spacing: 4px; margin-bottom: 24px; }
  .mobile-heading {
    font-size: clamp(42px, 14vw, 68px);
    gap: 4px;
    margin-bottom: 24px;
  }
  .mobile-time {
    font-size: 14px;
    letter-spacing: 3px;
    margin-bottom: 24px;
  }
  .mobile-body { font-size: 14px; line-height: 1.6; }

  /* Agency metrics */
  .agency-metrics { padding: 60px 20px 100px; }
  .metric-row {
    padding: 36px 0;
    gap: 8px;
  }
  .metric-number { font-size: clamp(44px, 12vw, 64px); }
  .metric-label {
    font-size: 12px;
    letter-spacing: 2.5px;
  }
  .metric-desc { font-size: 14px; line-height: 1.5; }

  /* Unified statement */
  .unified { padding: 120px 20px; }
  .unified-heading {
    font-size: clamp(28px, 8.5vw, 48px);
    line-height: 1.15;
    margin-bottom: 32px;
  }
  .unified-body { font-size: 15px; line-height: 1.6; }

  /* Built For */
  .built-for { padding: 100px 20px; }
  .bf-header { margin-bottom: 48px; }
  .bf-label { font-size: 10px; letter-spacing: 4px; margin-bottom: 20px; }
  .bf-heading {
    font-size: clamp(28px, 8vw, 40px);
    line-height: 1.15;
  }
  .bf-item { padding: 32px 24px; }
  .bf-item h3 {
    font-size: clamp(18px, 5vw, 22px);
    margin-bottom: 12px;
  }
  .bf-item p { font-size: 14px; line-height: 1.5; }

  /* Stats */
  .stats { padding: 80px 20px; }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 20px;
  }
  .stat-number { font-size: clamp(36px, 10vw, 52px); }
  .stat-label {
    font-size: 10px;
    letter-spacing: 3px;
    margin-top: 12px;
  }

  /* CTA */
  .cta { padding: 120px 20px; }
  .cta-heading {
    font-size: clamp(34px, 10vw, 56px);
    line-height: 1.1;
  }
  .cta-sub {
    font-size: 14px;
    margin-top: 16px;
  }
  .cta-email {
    font-size: 13px;
    letter-spacing: 2.5px;
    margin-top: 40px;
    word-break: break-word;
  }

  /* Footer */
  footer { padding: 40px 20px 32px; }
  .footer-mark img { height: 20px; }
  .footer-tag {
    font-size: 10px;
    letter-spacing: 4px;
    margin-bottom: 12px;
  }
  .footer-loc {
    font-size: 10px;
    letter-spacing: 2.5px;
    margin-bottom: 24px;
  }
  .footer-socials {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .footer-socials a {
    font-size: 10px;
    letter-spacing: 2.5px;
  }
  .footer-copy {
    font-size: 9px;
    letter-spacing: 1.5px;
    padding: 0 16px;
  }

  /* Marquee */
  .marquee { padding: 32px 0; }
  .marquee-track { gap: 32px; font-size: clamp(32px, 9vw, 56px); }
  .marquee-track span { padding-right: 32px; }

  /* Scatter photos - shrink and reduce opacity on mobile so they don't clutter */
  .scatter-img.visible { opacity: 0.35; }
  .scatter-foundation-1 { width: 90px; height: 120px; top: 6%; left: 4%; }
  .scatter-foundation-2 { width: 110px; height: 80px; top: 4%; right: 4%; }
  .scatter-foundation-3 { width: 80px; height: 80px; bottom: 8%; left: 6%; }
  .scatter-foundation-4 { width: 80px; height: 110px; bottom: 4%; right: 4%; }

  .scatter-unified-1 { width: 130px; height: 90px; top: 6%; right: 4%; }
  .scatter-unified-2 { width: 80px; height: 110px; bottom: 6%; left: 4%; }
  .scatter-unified-3 { display: none; }

  .scatter-mobile-1 { width: 70px; height: 90px; top: 4%; left: 4%; }
  .scatter-mobile-2 { width: 90px; height: 70px; top: 6%; right: 4%; }
  .scatter-mobile-3 { width: 70px; height: 90px; bottom: 6%; left: 4%; }
  .scatter-mobile-4 { width: 80px; height: 100px; bottom: 4%; right: 4%; }
}

/* Small mobile (iPhone SE, Galaxy Fold etc.) */
@media (max-width: 400px) {
  .hero-title { width: 90vw; }
  .hero-sub {
    font-size: 10px;
    letter-spacing: 2px;
  }
  .hero-dot { margin: 0 6px; }
  .foundation-heading { font-size: clamp(28px, 9vw, 38px); }
  .section-heading { font-size: clamp(40px, 13vw, 56px); }
  .stats-grid { grid-template-columns: 1fr; }
}

/* ═══ REDUCED MOTION ═══ */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
