/* ============================================================
   MemeHouse Productions style.css
   Design system: black bg, white text, green accents, mono labels
   ============================================================ */

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

:root {
  --black:       #000;
  --off-black:   #0a0a0a;
  --surface:     #111;
  --surface2:    #1a1a1a;
  --border:      #222;
  --white:       #fff;
  --off-white:   #ccc;
  --muted:       #666;
  --green:       #00E295;
  --green-dim:   rgba(0,226,149,0.15);
  --nav-h:       64px;
  --ticker-h:    36px;
  --font-ui:     -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif;
  --font-mono:   'SF Mono', 'DM Mono', ui-monospace, monospace;
  --max-w:       1280px;
  --pad:         clamp(20px, 5vw, 80px);
}

html { scroll-behavior: smooth; }

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

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

/* Space at bottom so content doesn't hide behind fixed ticker */
body { padding-bottom: var(--ticker-h); }

/* ============================================================
   NAV A24-style: hamburger left, logo center, spacer right
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 var(--pad);
  background: transparent;
  transition: background 0.4s ease;
}

.nav.scrolled {
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* Left: hamburger button */
.nav-menu-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: var(--white);
  justify-self: start;
}

.nav-hamburger-icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.nav-hamburger-icon span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  transition: all 0.3s;
}

.nav-menu-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
}

/* Center: logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  justify-self: center;
}

.nav-logo-img {
  height: 28px;
  width: auto;
}

.nav-logo-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  border-left: 1px solid rgba(255,255,255,0.2);
  padding-left: 10px;
}

/* Right spacer (mirrors left col for perfect centering) */
.nav-right-spacer { justify-self: end; }

/* ============================================================
   MENU OVERLAY full-height left panel + dim
   ============================================================ */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
}

.menu-overlay.open { pointer-events: all; }

/* Black panel slides in from left */
.menu-panel {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 420px;
  max-width: 90vw;
  background: var(--black);
  display: flex;
  flex-direction: column;
  padding: 36px 48px 48px;
  transform: translateX(-100%);
  transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
  z-index: 2;
}

.menu-overlay.open .menu-panel {
  transform: translateX(0);
}

/* Dim the rest of the page */
.menu-dim {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
  cursor: pointer;
}

.menu-overlay.open .menu-dim { opacity: 1; }

/* Close button */
.menu-close {
  display: flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 0;
  margin-bottom: 60px;
  align-self: flex-start;
}

.menu-close span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* Nav items large bold stacked */
.menu-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}

.menu-item {
  font-size: clamp(44px, 7vw, 64px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--white);
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s, padding-left 0.2s;
  display: flex;
  align-items: baseline;
  gap: 14px;
  overflow: hidden;
}

.menu-item::before {
  content: attr(data-index);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--muted);
  flex-shrink: 0;
  padding-bottom: 4px;
  transition: color 0.2s;
}

.menu-item:hover {
  color: var(--green);
  padding-left: 8px;
}

.menu-item:hover::before { color: var(--green); }

/* Footer */
.menu-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 32px;
}

.menu-cta {
  display: inline-block;
  background: var(--green);
  color: var(--black);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 24px;
  border-radius: 2px;
  width: fit-content;
  transition: opacity 0.2s;
}

.menu-cta:hover { opacity: 0.85; }

.menu-tagline {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============================================================
   TICKER
   ============================================================ */
.ticker-wrap {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  z-index: 98;
  height: var(--ticker-h);
  background: var(--green);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.ticker {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  animation: ticker-scroll 40s linear infinite;
}

.ticker span {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--black);
  padding: 0 20px;
}

.ticker-dot {
  width: 4px !important;
  height: 4px !important;
  background: rgba(0,0,0,0.4) !important;
  border-radius: 50% !important;
  padding: 0 !important;
  flex-shrink: 0;
}

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

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: calc(var(--nav-h) + 20px);
  padding-bottom: 60px;
  padding-left: var(--pad);
  padding-right: var(--pad);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    /* flat dark base across the whole image */
    linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
    /* heavy fade to black at the bottom where text lives */
    linear-gradient(
      to bottom,
      transparent 0%,
      transparent 25%,
      rgba(0,0,0,0.6) 55%,
      rgba(0,0,0,1)   85%
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin-bottom: 48px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 24px;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(0,226,149,0.2);
  padding: 8px 16px;
  border-radius: 2px;
  width: fit-content;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0,226,149,0.6); }
  50%       { opacity: 0.7; box-shadow: 0 0 0 6px rgba(0,226,149,0); }
}

.hero-headline {
  font-size: clamp(40px, 7vw, 88px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  text-shadow: 0 2px 32px rgba(0,0,0,0.9), 0 0 80px rgba(0,0,0,0.6);
}

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--off-white);
  line-height: 1.6;
  max-width: 540px;
  margin-bottom: 36px;
  text-shadow: 0 1px 20px rgba(0,0,0,0.9);
}

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

.btn-primary {
  display: inline-block;
  background: var(--green);
  color: var(--black);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 2px;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.btn-primary:hover { opacity: 0.85; }

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 13px 28px;
  border-radius: 2px;
  border: 1px solid rgba(255,255,255,0.3);
  transition: border-color 0.2s, color 0.2s;
  white-space: nowrap;
}

.btn-ghost:hover {
  border-color: var(--white);
  color: var(--white);
}

.hero-stats {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 32px;
  flex-wrap: wrap;
  gap: 0;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 40px 0 0;
}

.hero-stat:first-child { padding-left: 0; }

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
  margin-right: 40px;
  flex-shrink: 0;
}

.stat-num {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============================================================
   SERVICES SPEC SHEET LAYOUT
   ============================================================ */
.services {
  background: var(--off-black);
  padding: 120px var(--pad);
}

.services-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.spec-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border);
}

.spec-header-left {}

.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}

.eyebrow-line {
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--green);
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.025em;
}

.spec-header-right {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 28px;
}

.spec-intro {
  font-size: 17px;
  line-height: 1.7;
  color: var(--off-white);
}

.spec-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.spec-row {
  display: grid;
  grid-template-columns: 60px 200px 1fr 200px;
  gap: 32px;
  align-items: start;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  color: inherit;
}

.spec-row:hover {
  background: rgba(255,255,255,0.02);
}

.spec-row:hover .spec-accent {
  opacity: 1;
}

.spec-accent {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--green);
  opacity: 0;
  transition: opacity 0.2s;
}

.spec-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.1em;
  padding-top: 4px;
}

.spec-name {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.spec-detail p {
  font-size: 15px;
  color: var(--off-white);
  line-height: 1.65;
  margin-bottom: 16px;
}

.spec-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.spec-tags li {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 2px;
}

.spec-credit {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--green);
  letter-spacing: 0.08em;
  padding-top: 4px;
  line-height: 1.6;
}

/* Markets strip */
.markets-strip {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.markets-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  padding-top: 2px;
}

.markets-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.markets-list span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--off-white);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: 2px;
}

/* ============================================================
   WORK STREAM SHOWCASE
   ============================================================ */
.work {
  background: var(--black);
  padding: 120px var(--pad);
}

.work-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.work-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.work-header-left {}
.work-header-right {
  display: flex;
  align-items: flex-end;
}

.work-header-desc {
  font-size: 17px;
  line-height: 1.7;
  color: var(--off-white);
}

/* Grid */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 320px;
  gap: 12px;
}

.work-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--surface);
  border-radius: 2px;
}

/* Hero card: spans 2 rows + 1 col */
.work-card--hero {
  grid-row: span 2;
}

/* Wide card: spans 2 cols */
.work-card--wide {
  grid-column: span 2;
}

.work-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease;
}

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

.work-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 30%,
    rgba(0,0,0,0.85) 100%
  );
  z-index: 1;
}

.work-card-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  pointer-events: none;
}

.work-card-hover-panel {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.work-hover-title,
.work-hover-label,
.work-hover-cta {
  display: none;
}

.work-card-top {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.work-card-bottom {}

.work-card-title {
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.work-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.work-stat {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--off-white);
  letter-spacing: 0.06em;
}

.work-divider {
  color: var(--muted);
}

.work-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--off-white);
  padding: 4px 10px;
  border-radius: 2px;
}

.work-tag--green {
  background: var(--green-dim);
  border-color: var(--green);
  color: var(--green);
}

.work-tag--live {
  background: rgba(0,0,0,0.5);
  border-color: rgba(255,255,255,0.2);
  color: var(--white);
}

/* ============================================================
   MODAL
   ============================================================ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--off-black);
  border: 1px solid var(--border);
  border-radius: 4px;
  width: 100%;
  max-width: 1100px;
  height: 88vh;
  max-height: 700px;
  overflow: hidden;
  position: relative;
  display: grid;
  /* Left: video panel | Right: info panel */
  grid-template-columns: 1fr 420px;
  grid-template-rows: 1fr;
}

.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 20;
  background: rgba(0,0,0,0.7);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.modal-close:hover { background: rgba(255,255,255,0.15); }

.modal-video-wrap {
  position: relative;
  background: #000;
  overflow: hidden;
  /* fills left column, full height */
  grid-column: 1;
  grid-row: 1;
  height: 100%;
}

.modal-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.4) 100%);
}

.modal-unmute {
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 8; /* above loader (z-index: 5) and overlay */
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0,0,0,0.65);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 8px 14px;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  pointer-events: all;
}
.modal-unmute:hover {
  background: rgba(0,0,0,0.9);
  border-color: rgba(255,255,255,0.6);
}
.modal-unmute.hidden {
  display: none;
}

.modal-video-loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.6);
  z-index: 5;
  opacity: 1;
  transition: opacity 0.3s ease;
  pointer-events: none; /* always let clicks pass through to unmute pill */
}

.modal-video-loader.hidden {
  opacity: 0;
  pointer-events: none;
}

.modal-loader-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255,255,255,0.15);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.modal-body {
  grid-column: 2;
  grid-row: 1;
  padding: 28px 28px 36px;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
  border-left: 1px solid var(--border);
}
.modal-body::-webkit-scrollbar { width: 4px; }
.modal-body::-webkit-scrollbar-track { background: transparent; }
.modal-body::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

/* ── Header: meta tags + title ── */
.modal-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 18px;
}

.modal-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.modal-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--off-white);
  padding: 4px 10px;
  border-radius: 2px;
}

.modal-tag--year {
  color: var(--green);
  border-color: rgba(0,226,149,0.4);
  background: var(--green-dim);
}

.modal-title {
  font-size: clamp(22px, 3.5vw, 36px);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0;
}

/* ── Stats row ── */
.modal-stats-row {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 2px;
  margin-bottom: 20px;
  overflow: hidden;
}

.modal-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 18px;
  border-right: 1px solid var(--border);
  flex: 1 1 auto;
  min-width: 80px;
}
.modal-stat:last-child { border-right: none; }

.modal-stat-num {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--white);
}

.modal-stat-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Narrative ── */
.modal-narrative {
  font-size: 13.5px;
  color: var(--off-white);
  line-height: 1.75;
  margin-bottom: 20px;
}
.modal-narrative p { margin-bottom: 10px; }
.modal-narrative p:last-child { margin-bottom: 0; }

/* ── Media gallery strip ── */
.modal-gallery {
  margin-bottom: 28px;
}

.modal-gallery-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.modal-gallery-strip::-webkit-scrollbar { height: 4px; }
.modal-gallery-strip::-webkit-scrollbar-track { background: transparent; }
.modal-gallery-strip::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.modal-gallery-item {
  flex: 0 0 auto;
  width: 200px;
  height: 130px;
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s;
}
.modal-gallery-item:hover { border-color: var(--green); }

.modal-gallery-item img,
.modal-gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Bottom 2-col: What We Did + Services ── */
.modal-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  margin-bottom: 0;
}

.modal-what, .modal-services {
  display: flex;
  flex-direction: column;
}

.modal-section-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
  display: block;
}

.modal-what-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.modal-what-list li {
  font-size: 13px;
  color: var(--off-white);
  padding-left: 14px;
  position: relative;
  line-height: 1.5;
}

.modal-what-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 5px; height: 1px;
  background: var(--green);
}

.modal-service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-content: flex-start;
}

.modal-service-tags span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--off-white);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: 2px;
  line-height: 1;
}

/* ── IG reel link ── */
.modal-ig-wrap,
.modal-ig {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.modal-ig-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  text-decoration: none;
  border: 1px solid rgba(0,226,149,0.35);
  padding: 9px 18px;
  border-radius: 2px;
  transition: background 0.2s, border-color 0.2s;
}
.modal-ig-link:hover {
  background: var(--green-dim);
  border-color: var(--green);
}

/* Responsive modal — stack on small screens */
@media (max-width: 800px) {
  .modal {
    grid-template-columns: 1fr;
    grid-template-rows: 56vw auto;
    height: auto;
    max-height: 92vh;
    overflow-y: auto;
  }
  .modal-video-wrap {
    grid-column: 1;
    grid-row: 1;
    height: 56vw;
  }
  .modal-body {
    grid-column: 1;
    grid-row: 2;
    border-left: none;
    border-top: 1px solid var(--border);
    overflow-y: unset;
    padding: 24px 20px 32px;
  }
  .modal-bottom-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ============================================================
   PRESS
   ============================================================ */
.press {
  background: var(--off-black);
  padding: 120px var(--pad);
}

.press-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.press-top-label {
  margin-bottom: 48px;
}

/* ── Featured broadcast card ── */
.press-feature {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  padding: 60px;
  margin-bottom: 0;
}

.press-feature-bg-text {
  position: absolute;
  right: -20px; top: 50%;
  transform: translateY(-50%);
  font-size: clamp(80px, 12vw, 160px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: rgba(255,255,255,0.03);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.press-feature-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 60px;
  align-items: start;
}

.press-feature-left {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.press-feature-signal {
  display: flex;
  align-items: center;
  gap: 10px;
}

.press-signal-text {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
}

.press-feature-quote {
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.65;
  color: var(--white);
  font-style: italic;
  border-left: 2px solid var(--green);
  padding-left: 24px;
}

.press-feature-byline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.press-feature-who {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.press-who-name {
  font-size: 14px;
  font-weight: 600;
}

.press-who-role {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.press-feature-link {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  border-bottom: 1px solid var(--green);
  padding-bottom: 2px;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.press-feature-link:hover { opacity: 0.7; }

.press-feature-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px;
  background: var(--surface2);
  border-radius: 2px;
  border: 1px solid var(--border);
}

.press-feature-outlet {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
}

.press-feature-headline {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--white);
}

.press-feature-stats {
  display: flex;
  gap: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.press-fstat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.press-fstat-num {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
}

.press-fstat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.press-feature-accent {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--green);
}

/* ── Outlet marquee ── */
.press-marquee-wrap {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 48px 0;
  padding: 16px 0;
}

.press-marquee {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: ticker-scroll 25s linear infinite;
}

.press-marquee span {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 28px;
}

.press-marquee-dot {
  width: 4px;
  height: 4px;
  background: var(--border);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── Dossier grid ── */
.press-dossier {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.press-dossier-tall {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  padding: 40px;
  display: flex;
  flex-direction: column;
  min-height: 600px;
}

.press-dossier-small {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.press-dossier-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.press-dossier-bg {
  position: absolute;
  right: -10px; bottom: -10px;
  font-size: clamp(60px, 10vw, 110px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: rgba(255,255,255,0.04);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.press-dossier-bg--sm {
  font-size: clamp(40px, 6vw, 72px);
}

.press-dossier-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}

.press-dossier-outlet {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
}

.press-dossier-quote {
  font-size: 16px;
  line-height: 1.7;
  color: var(--white);
  font-style: italic;
  flex: 1;
}

.press-dossier-quote--secondary {
  font-size: 14px;
  color: var(--off-white);
}

.press-dossier-quote--sm {
  font-size: 14px;
  color: var(--off-white);
  flex: 1;
}

/* Backpack graphic */
.press-dossier-graphic {
  display: flex;
  justify-content: center;
  padding: 20px 0;
}

.press-backpack-svg {
  width: 320px;
  max-width: 100%;
  height: auto;
  background: transparent;
}

.press-dossier-foot {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.press-dossier-headline {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--white);
}

.press-read-btn {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  border-bottom: 1px solid var(--green);
  padding-bottom: 2px;
  display: inline-block;
  width: fit-content;
  transition: opacity 0.2s;
}

.press-read-btn:hover { opacity: 0.7; }

.press-dossier-accent {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--green);
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: var(--black);
  padding: 140px var(--pad);
  text-align: center;
  border-top: 1px solid var(--border);
}

.cta-inner {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.cta-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
}

.cta-dot {
  color: var(--muted);
}

.cta-headline {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.cta-sub {
  font-size: 18px;
  color: var(--off-white);
  line-height: 1.65;
  max-width: 480px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.cta-details {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 1024px) {
  .spec-row {
    grid-template-columns: 48px 160px 1fr;
  }
  .spec-credit { display: none; }

  .press-feature-content {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .press-feature-right {
    max-width: 100%;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root { --nav-h: 56px; }

  /* Nav hamburger always shown, nothing to hide */
  .nav-logo-sub { display: none; }

  /* Hero */
  .hero-stats {
    gap: 0;
  }
  .hero-stat {
    padding: 12px 20px 12px 0;
  }
  .hero-stat-divider {
    display: none;
  }
  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 24px;
  }
  .hero-stat-divider { display: none; }
  .hero-stat { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }

  /* Services */
  .spec-header {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 48px;
  }
  .spec-row {
    grid-template-columns: 40px 1fr;
    gap: 16px;
  }
  .spec-name { font-size: 16px; }
  .spec-detail { display: none; }
  .spec-credit { display: none; }

  /* Work grid */
  .work-header {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .work-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 220px;
    gap: 8px;
  }
  .work-card--hero { grid-row: span 1; grid-column: span 2; }
  .work-card--wide { grid-column: span 2; }

  /* Press */
  .press-feature { padding: 32px; }
  .press-feature-bg-text { display: none; }
  .press-dossier {
    grid-template-columns: 1fr;
  }
  .press-dossier-tall { min-height: auto; }
  .press-backpack-svg { width: 200px; }

  /* CTA */
  .cta-section { padding: 80px var(--pad); }
}

/* Small mobile */
@media (max-width: 480px) {
  .work-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }
  .work-card--hero { grid-column: span 1; }
  .work-card--wide { grid-column: span 1; }

  .hero-headline { font-size: 36px; }
  .hero-sub { font-size: 15px; }

  .spec-row { grid-template-columns: 1fr; gap: 8px; }
  .spec-num { display: none; }
}

/* ============================================================
   LEAD FORM MODAL
============================================================ */
.lead-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.lead-backdrop.open {
  opacity: 1;
  pointer-events: all;
}

.lead-modal {
  background: #0d0d0d;
  border: 1px solid rgba(255,255,255,0.08);
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 48px 44px;
  position: relative;
  transform: translateY(16px);
  transition: transform 0.25s ease;
}
.lead-backdrop.open .lead-modal {
  transform: translateY(0);
}

.lead-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s;
}
.lead-close:hover { color: var(--white); }

.lead-header {
  margin-bottom: 36px;
}
.lead-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}
.lead-title {
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: var(--white);
}
.lead-sub {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.lead-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.lead-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lead-field label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.lead-req { color: var(--green); }

.lead-field input,
.lead-field select,
.lead-field textarea {
  background: #111;
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 14px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  box-sizing: border-box;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}
.lead-field input::placeholder,
.lead-field textarea::placeholder { color: rgba(255,255,255,0.2); }
.lead-field input:focus,
.lead-field select:focus,
.lead-field textarea:focus {
  border-color: var(--green);
}
.lead-field select {
  cursor: pointer;
  color: rgba(255,255,255,0.5);
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 7L11 1' stroke='%23666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.lead-field select option { background: #111; color: var(--white); }
.lead-field textarea { resize: vertical; min-height: 100px; }

.lead-submit {
  background: var(--green);
  color: #000;
  border: none;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 16px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  margin-top: 4px;
}
.lead-submit:hover { opacity: 0.85; transform: translateY(-1px); }
.lead-submit:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* Success state */
.lead-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 24px 0;
}
.lead-success.visible { display: flex; }
.lead-success h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
}
.lead-success p {
  font-size: 14px;
  color: var(--muted);
}

@media (max-width: 480px) {
  .lead-modal { padding: 36px 24px; }
  .lead-row { grid-template-columns: 1fr; }
}

/* ============================================================
   ABOUT SECTION
============================================================ */
.about {
  padding: 120px clamp(20px, 6vw, 80px);
  border-top: 1px solid var(--border);
}
.about-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.about-title {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 48px;
}
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 24px;
}
.about-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.about-stat-num {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
}
.about-stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.about-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 52px;
}
.about-body {
  font-size: 15px;
  line-height: 1.8;
  color: var(--off-white);
}
.about-link {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  text-decoration: none;
  margin-top: 8px;
  transition: opacity 0.2s;
}
.about-link:hover { opacity: 0.7; }

@media (max-width: 768px) {
  .about-inner { grid-template-columns: 1fr; gap: 48px; }
  .about-right { padding-top: 0; }
}

/* ============================================================
   CTA SOCIAL / IG LINK
============================================================ */
.cta-social {
  margin-top: 20px;
}
.cta-ig {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.cta-ig:hover { color: var(--white); }

/* ============================================================
   LEAD FORM MODAL SCROLLBAR
============================================================ */
.lead-modal::-webkit-scrollbar {
  width: 4px;
}
.lead-modal::-webkit-scrollbar-track {
  background: transparent;
}
.lead-modal::-webkit-scrollbar-thumb {
  background: var(--green);
  border-radius: 0;
}
.lead-modal::-webkit-scrollbar-thumb:hover {
  background: #fff;
}
.lead-modal {
  scrollbar-width: thin;
  scrollbar-color: var(--green) transparent;
}
