/* ============================================================
   SAKSHAM BRUDYAAN — CINEMATIC SCROLL PORTFOLIO
   ink black · emerald accent · cream type · Anton + Space Grotesk
   ============================================================ */

@font-face {
  font-family: 'Anton';
  src: url('../fonts/anton-400.woff2') format('woff2');
  font-weight: 400;
  font-display: block;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('../fonts/spacegrotesk-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('../fonts/spacegrotesk-500.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('../fonts/spacegrotesk-700.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

:root {
  --ink: #060807;
  --ink-2: #0a0e0c;
  --cream: #f4efe4;
  --cream-dim: rgba(244, 239, 228, 0.55);
  --cream-faint: rgba(244, 239, 228, 0.12);
  --emerald: #1de9a4;
  --emerald-deep: #0c8a5f;
  --emerald-faint: rgba(29, 233, 164, 0.28);
  --display: 'Anton', 'Arial Narrow', sans-serif;
  --body: 'Space Grotesk', 'Helvetica Neue', sans-serif;
}

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

html { scrollbar-color: var(--emerald-deep) var(--ink); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }

::selection { background: var(--emerald); color: var(--ink); }

a { color: inherit; }

.tick { color: var(--emerald); }

/* ---------- loader ---------- */
#loader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
}
.loader-inner { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.loader-mono {
  font-family: var(--display); font-size: 64px; color: var(--emerald);
  letter-spacing: 0.04em; line-height: 1;
}
.loader-track { width: 220px; height: 2px; background: var(--cream-faint); overflow: hidden; }
.loader-bar { width: 100%; height: 100%; background: var(--emerald); transform: scaleX(0); transform-origin: left center; }
.loader-mono::before { content: 'SB'; }
.loader-pct::before { content: attr(data-pct); }
.loader-pct { font-size: 12px; letter-spacing: 0.35em; color: var(--cream-dim); }

/* ---------- grain ---------- */
#grain {
  position: fixed; top: -60%; left: -60%; width: 220%; height: 220%;
  z-index: 90; pointer-events: none; opacity: 0.055; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift 0.9s steps(9) infinite;
}
@keyframes grainShift {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -4%); }
  60% { transform: translate(-4%, -2%); }
  80% { transform: translate(3%, 3%); }
  100% { transform: translate(0, 0); }
}

/* ---------- nav ---------- */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 40px;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, padding 0.4s ease;
}
body.nav-solid #nav {
  background: rgba(6, 8, 7, 0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 14px 40px;
  border-bottom: 1px solid var(--cream-faint);
}
.nav-brand {
  font-family: var(--display); font-size: 22px; text-decoration: none;
  color: var(--cream); letter-spacing: 0.05em;
}
.nav-links { display: flex; gap: 34px; }
.nav-links a {
  font-size: 13px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  text-decoration: none; color: var(--cream-dim); transition: color 0.25s ease;
}
.nav-links a:hover { color: var(--emerald); }
.nav-pill {
  display: flex; align-items: center; gap: 9px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.08em;
  color: var(--cream); text-decoration: none;
  border: 1px solid var(--emerald-faint); border-radius: 999px;
  padding: 9px 18px; transition: border-color 0.25s ease, background 0.25s ease;
}
.nav-pill:hover { border-color: var(--emerald); background: rgba(29, 233, 164, 0.08); }
.pill-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--emerald);
  box-shadow: 0 0 10px var(--emerald);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ---------- shared kicker ---------- */
.section-kicker {
  font-size: 12px; font-weight: 500; letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--emerald); display: flex; align-items: center; gap: 14px;
}
.section-kicker::before { content: ''; width: 44px; height: 1px; background: var(--emerald); }

/* ============ HERO ============ */
#hero {
  position: relative; height: 100vh; height: 100svh; overflow: hidden;
  background: var(--ink);
}
#orbit { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

.hero-fallback { display: none; }
body.no-frames .hero-fallback {
  display: block; position: absolute; inset: 0;
  background:
    radial-gradient(52% 62% at 50% 46%, rgba(29, 233, 164, 0.16), transparent 68%),
    radial-gradient(30% 42% at 32% 70%, rgba(12, 138, 95, 0.18), transparent 70%),
    var(--ink);
  animation: fallbackBreath 6s ease-in-out infinite alternate;
}
@keyframes fallbackBreath { from { filter: brightness(0.85); } to { filter: brightness(1.15); } }

.hero-vignette {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(6, 8, 7, 0.72) 100%),
    linear-gradient(to top, rgba(6, 8, 7, 0.92) 0%, transparent 32%),
    linear-gradient(to bottom, rgba(6, 8, 7, 0.55) 0%, transparent 18%);
}

.hero-copy {
  position: absolute; left: 5vw; bottom: 9vh; z-index: 5; max-width: 92vw;
}
.hero-name {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(3.2rem, 16.5vw, 19rem);
  line-height: 0.84; letter-spacing: 0.005em; text-transform: uppercase;
}
.name-line { display: block; white-space: nowrap; }
.name-line .char { display: inline-block; will-change: transform; }
.name-line--accent {
  color: transparent;
  -webkit-text-stroke: 2px var(--cream);
}
.name-line--accent .char:nth-child(4),
.name-line--accent .char:nth-child(5) {
  -webkit-text-stroke-color: var(--emerald);
}
.hero-sub {
  margin-top: 3vh;
  font-size: clamp(1rem, 1.55vw, 1.3rem); line-height: 1.5;
  color: var(--cream-dim); max-width: 44ch;
}
.hero-sub em { font-style: normal; color: var(--emerald); font-weight: 500; }

.hero-exit { position: absolute; inset: 0; z-index: 6; background: var(--ink); opacity: 0; pointer-events: none; }

.scroll-cue {
  position: absolute; right: 5vw; bottom: 9vh; z-index: 5;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  font-size: 11px; letter-spacing: 0.4em; color: var(--cream-dim);
}
.cue-line { width: 1px; height: 56px; background: var(--cream-faint); position: relative; overflow: hidden; }
.cue-line::after {
  content: ''; position: absolute; left: 0; top: -50%; width: 100%; height: 50%;
  background: var(--emerald); animation: cueDrop 1.8s ease-in-out infinite;
}
@keyframes cueDrop { 0% { top: -50%; } 100% { top: 110%; } }

/* ============ MARQUEE ============ */
#marquee {
  padding: 7vh 0; overflow: hidden;
  border-top: 1px solid var(--cream-faint); border-bottom: 1px solid var(--cream-faint);
  background: var(--ink);
}
.marquee-row { display: flex; width: max-content; will-change: transform; }
.marquee-chunk {
  display: flex; align-items: baseline; gap: 3vw; padding-right: 3vw;
  font-family: var(--display); font-size: clamp(2.6rem, 6.5vw, 6.5rem);
  text-transform: uppercase; white-space: nowrap; line-height: 1;
}
.marquee-chunk i { font-family: var(--body); font-style: normal; font-weight: 400; color: var(--emerald); font-size: 0.5em; }
.marquee-chunk .hollow { color: transparent; -webkit-text-stroke: 1.5px var(--emerald); }

/* ============ STATS ============ */
#stats { padding: 17vh 5vw; }
.stats-grid {
  margin-top: 7vh; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px;
}
.stat { border-left: 1px solid var(--emerald-faint); padding-left: 26px; }
.stat-num {
  display: block; font-family: var(--display);
  font-size: clamp(3.2rem, 6.8vw, 7.2rem); line-height: 1; color: var(--cream);
}
.stat-label {
  display: block; margin-top: 14px;
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cream-dim);
}

/* ---------- background videos (Builder / Closer) ---------- */
.bg-video {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 0.9s ease;
}
.video-ok .bg-video { opacity: 1; }
.video-shade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0;
  background:
    radial-gradient(110% 90% at 50% 45%, transparent 45%, rgba(6, 8, 7, 0.82) 100%),
    linear-gradient(to top, rgba(6, 8, 7, 0.9) 0%, transparent 30%),
    linear-gradient(to bottom, rgba(6, 8, 7, 0.72) 0%, transparent 24%),
    rgba(6, 8, 7, 0.28);
  transition: opacity 0.9s ease;
}
.video-ok .video-shade { opacity: 1; }
/* when real footage is playing, retire the CSS stand-ins */
.video-ok .holo, .video-ok .work-floor, .video-ok .work-glowframe { display: none; }

/* ============ BRANDS / TRUST ============ */
#brands { padding: 14vh 0 16vh; overflow: hidden; }
#brands .section-kicker, .brands-heading, .brands-sub { margin-left: 5vw; margin-right: 5vw; }
.brands-heading {
  margin-top: 3vh;
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(3rem, 8.5vw, 9rem); line-height: 0.95; color: var(--cream);
}
.brands-sub { margin-top: 2vh; font-size: clamp(0.95rem, 1.3vw, 1.15rem); color: var(--cream-dim); }
.brands-sub strong { color: var(--emerald); font-weight: 500; }
.brand-river { margin-top: 7vh; display: flex; flex-direction: column; gap: 3.2vh; }
.river-row { display: flex; width: max-content; will-change: transform; }
.river-chunk {
  display: flex; align-items: baseline; gap: 2.6vw; padding-right: 2.6vw;
  font-family: var(--display); font-size: clamp(1.7rem, 3.4vw, 3.4rem);
  text-transform: uppercase; white-space: nowrap; line-height: 1.1; color: var(--cream);
  opacity: 0.85;
}
.river-chunk i { font-family: var(--body); font-style: normal; font-weight: 400; color: var(--emerald); font-size: 0.55em; }
.river-chunk .hollow { color: transparent; -webkit-text-stroke: 1.3px var(--emerald); }

/* ============ PILLARS ============ */
#pillars { position: relative; }
.pillars-stage { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: var(--ink-2); }
.pillars-kicker { position: absolute; top: 12vh; left: 5vw; z-index: 4; }

.holo-field { position: absolute; inset: 0; perspective: 1100px; z-index: 1; }
.holo {
  position: absolute; border-radius: 12px;
  border: 1px solid var(--emerald-faint);
  background: rgba(8, 22, 16, 0.42);
  backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
  box-shadow: 0 0 46px rgba(29, 233, 164, 0.07), inset 0 0 24px rgba(29, 233, 164, 0.05);
  padding: 14px; will-change: transform;
}
.holo-a { width: 250px; height: 172px; left: 7%; top: 17%; transform: rotateY(16deg); animation: holoFloat 7s ease-in-out infinite alternate; }
.holo-b { width: 300px; height: 200px; right: 8%; top: 12%; transform: rotateY(-15deg); animation: holoFloat 9s ease-in-out infinite alternate-reverse; }
.holo-c { width: 330px; height: 158px; left: 12%; bottom: 15%; transform: rotateY(11deg); animation: holoFloat 8s ease-in-out infinite alternate; }
.holo-d { width: 235px; height: 148px; right: 14%; bottom: 19%; transform: rotateY(-19deg); animation: holoFloat 6.4s ease-in-out infinite alternate-reverse; }
@keyframes holoFloat { from { margin-top: -9px; } to { margin-top: 9px; } }

.holo-head { display: flex; gap: 6px; margin-bottom: 12px; }
.holo-head i { width: 7px; height: 7px; border-radius: 50%; background: var(--emerald-faint); }
.holo-head i:first-child { background: var(--emerald); }
.holo-bars { display: flex; align-items: flex-end; gap: 8px; height: calc(100% - 34px); }
.holo-bars b {
  flex: 1; height: var(--h); border-radius: 3px 3px 0 0;
  background: linear-gradient(to top, rgba(29, 233, 164, 0.45), rgba(29, 233, 164, 0.08));
}
.holo-code u { display: block; text-decoration: none; height: 7px; border-radius: 4px; margin: 9px 0; width: var(--w); background: rgba(29, 233, 164, 0.3); }
.holo-code u:nth-child(odd) { background: rgba(244, 239, 228, 0.14); }
.holo svg { width: 100%; height: calc(100% - 34px); }
.holo svg polyline { fill: none; stroke: var(--emerald); stroke-width: 2.5; filter: drop-shadow(0 0 6px rgba(29, 233, 164, 0.7)); }
.holo-glow {
  position: absolute; left: 50%; top: 50%; width: 62vw; height: 62vh;
  transform: translate(-50%, -50%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(29, 233, 164, 0.1), transparent 70%);
}

.pillar {
  position: absolute; z-index: 3; left: 5vw; right: 5vw; top: 50%;
  transform: translateY(-50%); visibility: hidden;
}
.pillar-index {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%); z-index: -1;
  font-family: var(--display); font-size: clamp(7rem, 17vw, 17rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(244, 239, 228, 0.16);
}
.pillar-title {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(4rem, 11vw, 11.5rem); line-height: 0.9; color: var(--cream);
}
.pillar-copy {
  margin-top: 3.5vh; max-width: 52ch;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem); line-height: 1.6; color: var(--cream-dim);
}
.pillar-copy strong { color: var(--emerald); font-weight: 500; }

.pillar-progress { position: absolute; right: 5vw; bottom: 8vh; z-index: 4; display: flex; gap: 10px; }
.pillar-progress b { width: 44px; height: 2px; background: var(--cream-faint); position: relative; overflow: hidden; }
.pillar-progress b::after {
  content: ''; position: absolute; inset: 0; background: var(--emerald);
  transform: scaleX(0); transform-origin: left center; transition: transform 0.5s ease;
}
.pillar-progress b.on::after { transform: scaleX(1); }

/* ============ THE CREATOR ============ */
#creator {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: 16vh 5vw 12vh; overflow: hidden; background: var(--ink-2);
}
.creator-fallback {
  position: absolute; inset: 0;
  background:
    radial-gradient(42% 55% at 68% 38%, rgba(255, 176, 92, 0.1), transparent 70%),
    radial-gradient(50% 60% at 22% 70%, rgba(29, 233, 164, 0.1), transparent 72%),
    var(--ink-2);
}
#creator.video-ok .creator-fallback { display: none; }
#creator .video-shade { opacity: 0; }
#creator.video-ok .video-shade { opacity: 0.72; }
.creator-inner { position: relative; z-index: 3; }
.creator-title {
  margin-top: 2.5vh;
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(3.6rem, 11vw, 11.5rem); line-height: 0.9; color: var(--cream);
}
.creator-copy {
  margin-top: 3vh; max-width: 46ch;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem); line-height: 1.6; color: var(--cream-dim);
}
.creator-copy strong { color: var(--emerald); font-weight: 500; }
.creator-meta {
  margin-top: 3.5vh; display: flex; flex-wrap: wrap; gap: 14px; align-items: baseline;
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cream);
}
.creator-meta i { font-style: normal; color: var(--emerald); }
.creator-btn { display: inline-block; margin-top: 4.5vh; }

/* ============ WORK ============ */
#work { position: relative; padding: 16vh 5vw 18vh; overflow: hidden; background: var(--ink); }
#work .section-kicker, .work-heading { position: relative; z-index: 3; }
.work-floor {
  position: absolute; left: -25%; right: -25%; bottom: -24%; height: 92%;
  background:
    repeating-linear-gradient(to right, rgba(29, 233, 164, 0.09) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(to bottom, rgba(29, 233, 164, 0.09) 0 1px, transparent 1px 64px);
  transform: perspective(880px) rotateX(63deg);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0.8) 12%, transparent 82%);
  mask-image: linear-gradient(to top, rgba(0,0,0,0.8) 12%, transparent 82%);
  pointer-events: none;
}
.work-glowframe {
  position: absolute; border: 1px solid rgba(29, 233, 164, 0.18); border-radius: 10px;
  box-shadow: 0 0 60px rgba(29, 233, 164, 0.1), inset 0 0 40px rgba(29, 233, 164, 0.06);
  pointer-events: none; will-change: transform;
}
.wg-1 { width: 320px; height: 200px; right: 6%; top: 9%; transform: rotate(6deg); }
.wg-2 { width: 240px; height: 320px; left: 4%; top: 34%; transform: rotate(-8deg); }

.work-heading {
  margin-top: 5vh;
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(3.2rem, 9vw, 9.5rem); line-height: 0.9; color: var(--cream);
}
.work-list {
  margin-top: 9vh; position: relative; z-index: 3;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
}
.work-card {
  position: relative; display: block; text-decoration: none;
  border: 1px solid var(--cream-faint); border-radius: 16px;
  padding: 34px 30px 92px;
  background: linear-gradient(165deg, rgba(10, 14, 12, 0.92), rgba(6, 8, 7, 0.6));
  overflow: hidden; will-change: transform;
  transition: border-color 0.35s ease;
}
.work-card::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(240px 240px at var(--mx, 50%) var(--my, 50%), rgba(29, 233, 164, 0.13), transparent 70%);
  transition: opacity 0.35s ease;
}
.work-card:hover { border-color: rgba(29, 233, 164, 0.55); }
.work-card:hover::before { opacity: 1; }
.card-index { font-size: 13px; font-weight: 500; letter-spacing: 0.3em; color: var(--emerald); }
.card-role {
  display: block; margin-top: 12px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--cream-dim);
}
.card-title {
  margin-top: 20px; font-family: var(--display); font-weight: 400;
  font-size: clamp(1.5rem, 2.1vw, 2.2rem); line-height: 1.02; color: var(--cream);
  text-transform: uppercase;
}
.card-pitch { margin-top: 16px; font-size: 15px; line-height: 1.6; color: var(--cream-dim); }
.card-tags { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.card-tags span {
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--emerald);
  border: 1px solid var(--emerald-faint); border-radius: 999px; padding: 5px 12px;
}
.card-arrow {
  position: absolute; right: 28px; bottom: 22px; font-size: 30px; color: var(--emerald);
  opacity: 0.45; transform: translateX(-8px); transition: opacity 0.3s ease, transform 0.3s ease;
}
.work-card:hover .card-arrow { opacity: 1; transform: translateX(0); }

/* ============ CTA ============ */
#cta {
  min-height: 92vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 14vh 5vw;
  background:
    radial-gradient(46% 42% at 50% 62%, rgba(29, 233, 164, 0.09), transparent 72%),
    var(--ink);
}
.cta-heading { font-family: var(--display); font-weight: 400; text-transform: uppercase; }
.cta-line {
  display: block; line-height: 0.92;
  font-size: clamp(3rem, 10.5vw, 11rem); color: var(--cream);
}
.cta-line--accent { color: var(--emerald); text-shadow: 0 0 70px rgba(29, 233, 164, 0.35); }
.cta-paths {
  margin-top: 7vh; display: flex; gap: clamp(28px, 5vw, 64px);
  justify-content: center; align-items: flex-start; flex-wrap: wrap;
}
.cta-path { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.path-label {
  font-size: 11px; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--emerald);
}
.path-alt {
  font-size: 13px; letter-spacing: 0.04em; color: var(--cream-dim); text-decoration: none;
  border-bottom: 1px solid var(--cream-faint); padding-bottom: 2px;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.path-alt:hover { color: var(--emerald); border-color: var(--emerald); }
.cta-watch {
  display: inline-block; margin-top: 6vh;
  font-size: 14px; letter-spacing: 0.06em; color: var(--cream-dim); text-decoration: none;
  border-bottom: 1px solid var(--cream-faint); padding-bottom: 4px;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.cta-watch:hover { color: var(--emerald); border-color: var(--emerald); }
.btn {
  font-family: var(--body); font-size: 14px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none;
  border-radius: 999px; padding: 21px 36px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.btn-primary { background: var(--emerald); color: var(--ink); border: 1px solid var(--emerald); }
.btn-primary span { display: inline-block; margin-left: 6px; transition: transform 0.3s ease; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 44px rgba(29, 233, 164, 0.35); }
.btn-primary:hover span { transform: translateX(5px); }
.btn-ghost { color: var(--cream); border: 1px solid rgba(244, 239, 228, 0.3); }
.btn-ghost:hover { border-color: var(--emerald); color: var(--emerald); transform: translateY(-3px); }

/* ============ FOOTER ============ */
#footer {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding: 30px 5vw; border-top: 1px solid var(--cream-faint);
  font-size: 13px; color: var(--cream-dim);
}
.foot-about { flex-basis: 100%; max-width: 72ch; font-size: 14px; line-height: 1.6; color: var(--cream-dim); }
.foot-about strong { color: var(--cream); font-weight: 500; }
.foot-links { display: flex; gap: 26px; flex-wrap: wrap; }
.foot-links a { text-decoration: none; color: var(--cream-dim); transition: color 0.25s ease; }
.foot-links a:hover { color: var(--emerald); }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .work-list { grid-template-columns: 1fr; }
  .pillar-index { right: auto; left: 0; top: 12%; opacity: 0.6; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  #nav, body.nav-solid #nav { padding: 16px 20px; }
  .hero-copy { left: 6vw; right: 6vw; bottom: 12vh; }
  .scroll-cue { display: none; }
  .stats-grid { gap: 28px; }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  #grain, .pill-dot, .cue-line::after, .holo { animation: none !important; }
  html { scroll-behavior: auto; }
}
