/* ═══════════════════════════════════════
   DOUBLE ZERO MEDIA — MAIN STYLESHEET
   ═══════════════════════════════════════ */

/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --white:   #ffffff;
  --black:   #0a0a0a;
  --ink:     #323232;
  --cyan:    #00fff7;
  --mid:     #999999;
  --light:   #f7f7f7;
  --border:  rgba(0,0,0,0.07);

  --font-head: 'Montserrat', sans-serif;
  --font-sub:  'Barlow Semi Condensed', sans-serif;
  --font-body: 'Mulish', sans-serif;

  --nav-h:       84px;
  --nav-h-small: 56px;
  --ease:        cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* ─── Scroll reveal ─── */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
[data-reveal].revealed { opacity: 1; transform: translateY(0); }
[data-delay="100"] { transition-delay: 0.12s; }
[data-delay="200"] { transition-delay: 0.24s; }
[data-delay="300"] { transition-delay: 0.36s; }
[data-delay="400"] { transition-delay: 0.48s; }


/* ═══════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════ */
#main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  background: rgba(255,255,255,0);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

#main-nav.scrolled {
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 56px;
  height: var(--nav-h);
  max-width: 1440px;
  margin: 0 auto;
  transition: height 0.4s var(--ease);
}

#main-nav.scrolled .nav-inner { height: var(--nav-h-small); }

/* Logo */
.nav-logo { flex-shrink: 0; display: flex; align-items: center; }
.logo-img  { height: 77px; width: auto; align-self: flex-start; transition: height 0.4s var(--ease); }
#main-nav.scrolled .logo-img { height: 58px; }

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 6px;
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.nav-link:hover { background: var(--light); color: var(--black); }

.chevron {
  width: 9px; height: 5px;
  opacity: 0.4;
  transition: transform 0.25s ease, opacity 0.2s ease;
  flex-shrink: 0;
}
.has-dropdown:hover .chevron { transform: rotate(180deg); opacity: 0.7; }

/* Dropdown */
.has-dropdown { position: relative; }

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease 0.3s, transform 0.22s ease 0.3s;
  z-index: 100;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-inner {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 8px 48px rgba(0,0,0,0.10), 0 0 0 1px var(--border);
  padding: 8px;
  min-width: 268px;
}

.dropdown-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 16px;
  border-radius: 8px;
  transition: background 0.16s ease;
}
.dropdown-item:hover { background: var(--light); }

.dropdown-label {
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.dropdown-desc {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--mid);
  line-height: 1.45;
}

/* Nav CTA */
.nav-right { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }

.btn-nav-cta {
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: 6px;
  background: var(--black);
  color: var(--white);
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}
.btn-nav-cta:hover {
  background: var(--cyan);
  color: var(--black);
  box-shadow: 0 4px 20px rgba(0,255,247,0.3);
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: none; border: none;
  cursor: pointer; padding: 4px;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.28s ease, opacity 0.28s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 12px 24px 28px;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s ease;
}
.mobile-menu.open { opacity: 1; transform: translateY(0); pointer-events: auto; }

.mob-link {
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(0,0,0,0.55);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.mob-link:hover { color: var(--black); }

.mob-cta {
  margin-top: 20px;
  align-self: flex-start;
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 6px;
  background: var(--black);
  color: var(--white);
}


/* ═══════════════════════════════════════
   HERO + TOUR (unified)
   ═══════════════════════════════════════ */

/* Tall section drives the scroll animation */
/* ─── Hero: default static layout (mobile-first) ─── */
#hero {
  background: var(--white);
  padding: 0 32px 64px;
}

.hero-sticky {
  background: var(--white);
}

/* ─── Hero: scroll-animation layout — added by JS on large screens ─── */
body.scroll-hero #hero {
  height: 300vh;
  position: relative;
  padding: 0;
}

body.scroll-hero .hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

body.scroll-hero .hero-eyebrow { margin-top: 180px; }

/* Hero text — centered in upper portion */
.hero-text {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: var(--nav-h);
  padding-bottom: 0;
  will-change: opacity, transform;
}

.hero-eyebrow {
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #bbb;
  margin-bottom: 28px;
  margin-top: 40px;
}

.hero-headline {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 24px;
}

.hero-headline em {
  font-style: normal;
  position: relative;
  display: inline-block;
}

.hero-headline em::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--cyan);
  border-radius: 2px;
}

.hero-sub {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(13px, 1.3vw, 15px);
  line-height: 1.75;
  color: #aaa;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Primary button */
.btn-primary {
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 13px 30px;
  background: var(--black);
  color: var(--white);
  border-radius: 6px;
  display: inline-block;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}
.btn-primary:hover {
  background: var(--cyan);
  color: var(--black);
  box-shadow: 0 6px 28px rgba(0,255,247,0.35);
  transform: translateY(-2px);
}

/* Text link button */
.btn-text {
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #bbb;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s ease;
}
.btn-text svg { width: 15px; height: 15px; transition: transform 0.2s ease; }
.btn-text:hover { color: var(--ink); }
.btn-text:hover svg { transform: translateX(3px); }

/* Tour window-wrap: static by default */
.tour-window-wrap { margin-top: 32px; }
.tour-window {
  position: relative;
  width: 100%;
  height: min(56vw, 70vh);
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 20px 72px rgba(0,0,0,0.09), 0 0 0 1px rgba(0,0,0,0.05);
}

/* Tour window: scroll-animation mode */
body.scroll-hero .tour-window-wrap { height: 0; overflow: visible; margin-top: 0; }
body.scroll-hero .tour-window {
  position: absolute;
  width: auto;
  height: auto;
  border-radius: 20px;
  transform-origin: center center;
  will-change: transform, border-radius;
  z-index: 1;
}

.tour-window iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Overlay — fades out as tour expands */
.tour-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 24px;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.scroll-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.90);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 100px;
  padding: 9px 20px;
  border: 1px solid rgba(0,0,0,0.06);
}

.pill-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1;   transform: scale(1);   }
  50%       { opacity: 0.4; transform: scale(0.65); }
}

.pill-text {
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}


/* ═══════════════════════════════════════
   DATA / MARKET INTELLIGENCE
   ═══════════════════════════════════════ */
#data-section {
  background: #1c1c1e;
  position: relative;
  overflow: hidden;
}

/* Parallax background layer */
#data-section::before {
  content: '';
  position: absolute;
  inset: -20%;
  background: radial-gradient(ellipse 70% 50% at 80% 60%, rgba(0,255,247,0.04) 0%, transparent 70%);
  pointer-events: none;
  will-change: transform;
  transform: translateY(var(--parallax-y, 0px));
}

.data-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 120px 80px;
}

/* Intro block */
.data-intro { max-width: 620px; margin-bottom: 72px; }

.data-eyebrow {
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 28px;
}

.data-headline {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 24px;
}

.data-body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255,255,255,0.4);
}
.data-body strong {
  color: rgba(255,255,255,0.72);
  font-weight: 500;
}

/* Stats grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,0.07);
}

.stat-card {
  padding: 48px 40px 48px 0;
  border-right: 1px solid rgba(255,255,255,0.07);
  display: flex;
  flex-direction: column;
  gap: 14px;

  /* Initial state for stagger animation */
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.stat-card:last-child  { border-right: none; padding-right: 0; }
.stat-card + .stat-card { padding-left: 40px; }
.stat-card.visible { opacity: 1; transform: translateY(0); }

.stat-card:nth-child(2) { transition-delay: 0.1s; }
.stat-card:nth-child(3) { transition-delay: 0.2s; }
.stat-card:nth-child(4) { transition-delay: 0.3s; }

.stat-number {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(52px, 5.5vw, 76px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--white);
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.stat-unit {
  color: var(--cyan);
  font-size: 0.55em;
  margin-left: 1px;
}

.stat-label {
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
}

.stat-copy {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,0.38);
  max-width: 220px;
}

/* Responsive */
@media (max-width: 1000px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-card  { padding: 40px 32px 40px 0; }
  .stat-card:nth-child(2) { border-right: none; padding-right: 0; }
  .stat-card:nth-child(3) { border-top: 1px solid rgba(255,255,255,0.07); }
  .stat-card:nth-child(4) { border-right: none; border-top: 1px solid rgba(255,255,255,0.07); padding-right: 0; }
}

@media (max-width: 640px) {
  .data-inner  { padding: 80px 32px; }
  .stats-grid  { grid-template-columns: 1fr; }
  .stat-card   { border-right: none; padding: 32px 0; border-top: 1px solid rgba(255,255,255,0.07); }
  .stat-card:first-child { border-top: none; }
}


/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
#main-footer {
  background: var(--black);
  color: var(--white);
  padding: 72px 0 0;
}

.footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px 60px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-brand  { display: flex; flex-direction: column; gap: 20px; }
.footer-logo   { height: 65px; width: auto; align-self: flex-start; }

.footer-tagline {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255,255,255,0.35);
  max-width: 220px;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer-col { display: flex; flex-direction: column; gap: 12px; }

.footer-col h4 {
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  margin-bottom: 4px;
}

.footer-col a {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--white); }

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.social-icon {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.4);
  transition: background 0.2s ease, color 0.2s ease;
}
.social-icon svg { width: 15px; height: 15px; }
.social-icon:hover { background: rgba(255,255,255,0.1); color: var(--white); }

.footer-bottom {
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px 80px;
}
.footer-bottom p {
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(255,255,255,0.2);
}


/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
/* ═══════════════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════════════ */

#how-it-works {
  height: 550vh;
  background: var(--white);
}

.hiw-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  grid-template-columns: 32% 68%;
  overflow: hidden;
}

/* ─ Left panel ─ */
.hiw-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 48px 0 80px;
  border-right: 1px solid var(--border);
}

.hiw-eyebrow {
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 40px;
}

/* Timeline */
.hiw-timeline {
  display: flex;
  flex-direction: column;
}

.hiw-step {
  display: grid;
  grid-template-columns: 20px 1fr;
  column-gap: 16px;
  cursor: default;
}

.hiw-step-track {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hiw-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid #c0c0c0;
  background: transparent;
  flex-shrink: 0;
  transition: background 0.35s, border-color 0.35s;
  margin-top: 3px;
}

.hiw-step.active .hiw-dot {
  background: var(--ink);
  border-color: var(--ink);
}

.hiw-line {
  flex: 1;
  width: 1.5px;
  background: #e8e8e8;
  margin: 6px 0;
  position: relative;
  overflow: hidden;
}

.hiw-line-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: var(--ink);
  transition: height 0.4s ease;
}

.hiw-step-meta {
  display: flex;
  flex-direction: column;
  padding-bottom: 28px;
}

.hiw-step-num {
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #c0c0c0;
  transition: color 0.35s;
  line-height: 1;
  margin-bottom: 2px;
}

.hiw-step.active .hiw-step-num { color: var(--ink); }

.hiw-step-label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  color: #c0c0c0;
  transition: color 0.35s;
}

.hiw-step.active .hiw-step-label { color: var(--ink); }

/* ─ Right panel ─ */
.hiw-right {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 80px 0 64px;
  overflow: hidden;
}

.hiw-ghost {
  position: absolute;
  top: 50%;
  right: 40px;
  transform: translateY(-50%);
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 220px;
  color: rgba(0,0,0,0.04);
  line-height: 1;
  user-select: none;
  pointer-events: none;
  transition: opacity 0.3s;
}

.hiw-content {
  position: relative;
  z-index: 1;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.hiw-content.exiting {
  opacity: 0;
  transform: translateY(12px);
}

.hiw-tag {
  display: inline-block;
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--cyan);
  padding: 4px 12px;
  border-radius: 40px;
  margin-bottom: 28px;
}

.hiw-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(36px, 4.5vw, 64px);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.05;
  margin-bottom: 28px;
}

.hiw-copy {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.75;
  color: #666;
  max-width: 500px;
}

.hiw-footnote {
  display: block;
  margin-top: 20px;
  font-size: 12px;
  color: #aaa;
  line-height: 1.6;
}


/* ═══════════════════════════════════════
   OUR SERVICES
   ═══════════════════════════════════════ */

#services {
  height: 380vh;
  background: #1c1c1e;
}

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

.services-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 80px;
}

.services-header {
  margin-bottom: 64px;
}

.services-eyebrow {
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 16px;
}

.services-headline {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(36px, 4vw, 56px);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--white);
  line-height: 1.05;
}

/* Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.service-card {
  background: #242426;
  transition: background 0.3s ease;
}

.service-card:hover { background: #1a1a1c; }

.service-card-inner {
  padding: 48px 40px 52px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-num {
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: #555;
  margin-bottom: 32px;
}

.service-tag {
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}

.service-name {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(24px, 2.4vw, 34px);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 20px;
}

.service-copy {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.75;
  color: #888;
  flex: 1;
  margin-bottom: 40px;
}

.btn-service {
  display: inline-block;
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
  border: 1px solid #444;
  padding: 12px 24px;
  border-radius: 4px;
  align-self: flex-start;
  transition: background 0.22s, color 0.22s, border-color 0.22s, box-shadow 0.22s;
}

.btn-service:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 4px 20px rgba(0,255,247,0.12);
}


/* ═══════════════════════════════════════
   WHO WE WORK WITH
   ═══════════════════════════════════════ */

#clients {
  height: 500vh;
  background: var(--white);
}

.clients-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  grid-template-columns: 55% 45%;
  overflow: hidden;
}

/* ─ Left: card deck ─ */
.clients-left {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
}

.clients-deck {
  position: relative;
  width: 360px;
  height: 460px;
}

.client-card {
  position: absolute;
  inset: 0;
  border-radius: 0;
  overflow: hidden;
  will-change: transform, opacity;
  box-shadow: 0 24px 64px rgba(0,0,0,0.18), 0 4px 16px rgba(0,0,0,0.12);
}

.client-card-photo {
  position: absolute;
  inset: 0;
}

.client-card-photo--0 { background: linear-gradient(150deg, #2e2218 0%, #1a1410 100%); }
.client-card-photo--1 { background: linear-gradient(150deg, #1e2230 0%, #13161e 100%); }
.client-card-photo--2 { background: linear-gradient(150deg, #242020 0%, #161414 100%); }
.client-card-photo--3 { background: linear-gradient(150deg, #1a1e2c 0%, #10131c 100%); }

.client-card-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 48px 28px 28px;
  background: linear-gradient(transparent, rgba(0,0,0,0.88) 45%);
}

.client-card-num {
  display: block;
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 8px;
}

.client-card-name {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 10px;
}

.client-card-copy {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255,255,255,0.6);
}

/* ─ Right: list ─ */
.clients-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 80px 0 56px;
}

.clients-eyebrow {
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 48px;
}

.clients-list {
  list-style: none;
}

.client-list-item {
  font-family: var(--font-head);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: #d0d0d0;
  font-size: 15px;
  padding: 18px 0;
  transition: color 0.4s ease, font-size 0.4s ease;
  cursor: default;
}

.client-list-item.active {
  color: var(--ink);
  font-size: 26px;
}


/* ═══════════════════════════════════════
   SELECTED WORK
   ═══════════════════════════════════════ */

#selected-work {
  background: var(--white);
  padding: 120px 0 0;
}

.work-header {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 80px 80px;
}

.work-eyebrow {
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 16px;
}

.work-headline {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(36px, 4vw, 56px);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.05;
}

/* Project panel */
.work-project {
  display: grid;
  grid-template-columns: 38% 62%;
  min-height: 80vh;
  border-top: 1px solid var(--border);
}

.work-meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 56px 64px 80px;
  position: sticky;
  top: 0;
  height: 100vh;
  align-self: start;
}

.work-num {
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--mid);
  margin-bottom: 24px;
}

.work-type {
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  background: var(--ink);
  display: inline-block;
  padding: 4px 12px;
  border-radius: 40px;
  margin-bottom: 24px;
  align-self: flex-start;
}

.work-name {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(28px, 3vw, 42px);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.05;
  margin-bottom: 10px;
}

.work-location {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--mid);
  margin-bottom: 40px;
}

/* Tour switcher */
.work-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.work-tab {
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
  background: transparent;
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.work-tab:hover {
  color: var(--ink);
  border-color: #aaa;
}

.work-tab.active {
  color: var(--black);
  background: var(--cyan);
  border-color: var(--cyan);
}

/* Embed */
.work-embed-wrap {
  position: relative;
  background: #111;
}

.work-embed {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 80vh;
  border: none;
}


/* ═══════════════════════════════════════
   GET IN TOUCH
   ═══════════════════════════════════════ */

#contact {
  background: #1c1c1e;
  padding: 120px 0;
}

.contact-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 80px;
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 80px;
  align-items: start;
}

/* ─ Left ─ */
.contact-eyebrow {
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 24px;
}

.contact-headline {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(32px, 3.5vw, 48px);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 24px;
}

.contact-sub {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.75;
  color: #888;
  margin-bottom: 48px;
  max-width: 340px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-detail {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: #666;
  text-decoration: none;
  transition: color 0.2s;
}

.contact-detail:hover { color: var(--cyan); }

.contact-address {
  font-style: normal;
  line-height: 1.8;
  pointer-events: none;
}

/* ─ Form ─ */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row { display: flex; flex-direction: column; gap: 24px; }
.form-row--half { flex-direction: row; gap: 24px; }
.form-row--half .form-group { flex: 1; }

.form-group { display: flex; flex-direction: column; gap: 8px; }

.form-label {
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #666;
}

.form-required { color: var(--cyan); }
.form-optional { color: #444; font-weight: 400; text-transform: none; letter-spacing: 0; }

.form-input {
  background: #2a2a2c;
  border: 1px solid #3a3a3c;
  border-radius: 4px;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  appearance: none;
}

.form-input::placeholder { color: #555; }
.form-input:focus { border-color: var(--cyan); }
.form-input.invalid { border-color: #ff4d4d; }

.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-select option { background: #2a2a2c; }

.form-textarea { resize: vertical; min-height: 140px; }

/* Submit button */
.btn-submit {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--ink);
  border: none;
  padding: 16px 36px;
  border-radius: 4px;
  cursor: pointer;
  align-self: flex-start;
  overflow: hidden;
  transition: background 0.22s, color 0.22s, box-shadow 0.22s;
}

.btn-submit:hover {
  background: var(--cyan);
  color: var(--black);
  box-shadow: 0 6px 28px rgba(0,255,247,0.3);
}

.btn-submit-sent {
  position: absolute;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s;
}

.btn-submit.sent .btn-submit-label {
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.3s, transform 0.3s;
  display: block;
}

.btn-submit.sent .btn-submit-sent {
  opacity: 1;
  transform: translateY(0);
}

.btn-submit.sent {
  background: var(--cyan);
  color: var(--black);
  pointer-events: none;
}


/* ═══════════════════════════════════════
   RESPONSIVE — TABLET (≤900px)
   ═══════════════════════════════════════ */
@media (max-width: 1100px) {

  /* Nav */
  :root { --nav-h: 56px; --nav-h-small: 52px; }
  .nav-links, .btn-nav-cta { display: none; }
  .hamburger   { display: flex; }
  .mobile-menu { display: flex; }
  .nav-inner   { padding: 0 24px; overflow: hidden; }
  .logo-img    { height: 36px; }
  #main-nav.scrolled .logo-img { height: 34px; }

  /* Hero */
  .hero-headline               { font-size: clamp(36px, 9vw, 64px); }
  #tour-overlay                { display: none; }

  /* Data */
  .stat-grid { grid-template-columns: repeat(2, 1fr); }

  /* How It Works — collapse to static vertical layout */
  #how-it-works        { height: auto; }
  .hiw-sticky          { position: static; height: auto; display: block; padding: 80px 40px; }
  .hiw-left            { padding: 0 0 48px; border-right: none; border-bottom: 1px solid var(--border); margin-bottom: 48px; }
  .hiw-ghost           { display: none; }
  .hiw-right           { padding: 0; }
  .hiw-content         { opacity: 1 !important; transform: none !important; }
  .hiw-timeline        { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .hiw-step            { display: flex; flex-direction: column; align-items: center; flex: 1; min-width: 80px; }
  .hiw-step-track      { flex-direction: row; width: 100%; justify-content: center; }
  .hiw-line            { width: 100%; height: 1.5px; margin: 0 4px; }
  .hiw-line-fill       { width: 0; height: 100%; }
  .hiw-step-meta       { padding: 8px 0 0; text-align: center; }
  .hiw-step-label      { font-size: 11px; }

  /* Services — collapse to static single column */
  #services            { height: auto; }
  .services-sticky     { position: static; height: auto; padding: 80px 0; }
  .services-inner      { padding: 0 40px; }
  .services-grid       { grid-template-columns: 1fr; gap: 2px; overflow: visible; }
  .service-card        { transform: none !important; }

  /* Who We Work With — stack panels */
  #clients             { height: auto; }
  .clients-sticky      { position: static; height: auto; grid-template-columns: 1fr; }
  .clients-left        { min-height: 70vw; padding: 60px 0; }
  .clients-deck        { width: 280px; height: 360px; }
  .client-card         { transform: none !important; }
  .client-card[data-index="1"],
  .client-card[data-index="2"],
  .client-card[data-index="3"] { display: none; }
  .clients-right       { padding: 48px 40px; border-left: none; border-top: 1px solid var(--border); }
  .clients-eyebrow     { margin-bottom: 24px; }
  .client-list-item    { font-size: 18px; }
  .client-list-item.active { font-size: 22px; }

  /* Selected Work */
  .work-header         { padding: 0 40px 56px; }
  .work-project        { grid-template-columns: 1fr; }
  .work-meta           { position: static; height: auto; padding: 48px 40px 32px; }
  .work-embed          { min-height: 56vw; }

  /* Contact */
  #contact             { padding: 80px 0; }
  .contact-inner       { grid-template-columns: 1fr; gap: 56px; padding: 0 40px; }
  .contact-sub         { max-width: 100%; }

  /* Footer */
  .footer-inner  { grid-template-columns: 1fr; gap: 48px; padding: 0 32px 48px; }
  .footer-cols   { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { padding: 20px 32px; }
}

/* ═══════════════════════════════════════
   RESPONSIVE — MOBILE (≤580px)
   ═══════════════════════════════════════ */
@media (max-width: 580px) {

  /* Hero */
  .hero-headline { font-size: clamp(32px, 11vw, 52px); }
  .hero-sub      { font-size: 14px; }
  .hero-actions  { flex-direction: column; align-items: flex-start; gap: 16px; }

  /* Data */
  .data-inner    { padding: 80px 24px; }
  .stat-grid     { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stat-count    { font-size: clamp(40px, 12vw, 64px); }

  /* How It Works */
  .hiw-sticky    { padding: 60px 24px; }
  .hiw-title     { font-size: clamp(28px, 8vw, 42px); }
  .hiw-step-label { display: none; }

  /* Services */
  .services-sticky  { padding: 60px 0; }
  .services-inner   { padding: 0 24px; }
  .services-header  { margin-bottom: 40px; }
  .services-headline { font-size: clamp(28px, 8vw, 40px); }
  .service-card-inner { padding: 36px 28px 40px; }

  /* Who We Work With */
  .clients-left  { min-height: 85vw; }
  .clients-deck  { width: 240px; height: 310px; }
  .clients-right { padding: 40px 24px; }

  /* Selected Work */
  .work-header   { padding: 0 24px 40px; }
  .work-meta     { padding: 40px 24px 28px; }
  .work-embed    { min-height: 65vw; }
  .work-name     { font-size: clamp(24px, 7vw, 36px); }

  /* Contact */
  .contact-inner   { padding: 0 24px; }
  .form-row--half  { flex-direction: column; }

  /* Footer */
  .footer-cols   { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-bottom { padding: 16px 24px; flex-direction: column; gap: 8px; text-align: center; }
}
