/* ════════════════════════════════════════════════════════════════
   low_key.studio — Phase 1 Stylesheet
   Core Design System · Navigation · Hero · Section Shells
   ════════════════════════════════════════════════════════════════ */

/* ─── 1. DESIGN TOKENS ───────────────────────────────────────── */
:root {
  /* Surface & Background */
  --bg-primary:    #080809;
  --bg-elevated:   #111114;
  --bg-glass:      rgba(12, 12, 14, 0.72);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover:  rgba(255, 255, 255, 0.22);

  /* Typography Colors */
  --text-primary:   #F4F4F0;
  --text-secondary: #9A9AA2;
  --text-muted:     #5C5C66;

  /* Accents */
  --accent-amber:     #E5A93C;
  --accent-whatsapp:  #25D366;

  /* Font Families */
  --font-display: 'Syne', sans-serif;
  --font-body:    'Plus Jakarta Sans', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  /* Fluid Type Scale */
  --text-hero:  clamp(3.1rem, 11vw, 9.5rem);
  --text-h2:    clamp(2rem, 5vw, 3.75rem);
  --text-h3:    clamp(1.2rem, 2.2vw, 1.5rem);
  --text-body:  clamp(0.95rem, 1.1vw, 1.05rem);
  --text-label: 0.75rem;

  /* Layout */
  --container-max: 1320px;
  --gutter:        clamp(1.25rem, 4vw, 3.5rem);
  --nav-height:    72px;

  /* Motion */
  --ease-cinema: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── 2. GLOBAL RESET & BASE ─────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.65;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Film grain overlay — inline SVG feTurbulence, no external request */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23grain)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

/* Text selection */
::selection {
  background: var(--accent-amber);
  color: #080809;
}
::-moz-selection {
  background: var(--accent-amber);
  color: #080809;
}

/* Accessible focus ring */
:focus-visible {
  outline: 2px solid var(--accent-amber);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Remove list decoration utility */
ul[role="list"] {
  list-style: none;
}

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

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

/* ─── 3. NAVIGATION ──────────────────────────────────────────── */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition:
    background-color 0.35s var(--ease-cinema),
    backdrop-filter  0.35s var(--ease-cinema),
    border-color     0.35s var(--ease-cinema);
  border-bottom: 1px solid transparent;
}

#site-header.is-scrolled {
  background-color: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border-subtle);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Brand logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  text-decoration: none;
  transition: opacity 0.2s ease;
  flex-shrink: 0;
}

.brand-logo:hover {
  opacity: 0.8;
}

/* Pulsing amber availability dot */
.brand-dot {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-amber);
  flex-shrink: 0;
  animation: pulse-dot 2.8s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.45; transform: scale(0.75); }
}

/* Desktop nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--text-primary);
}

/* Book Shoot CTA pill */
.nav-cta {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  border: 1px solid var(--border-hover);
  border-radius: 999px;
  padding: 0.5rem 1.15rem;
  text-decoration: none;
  transition:
    background-color 0.22s ease,
    color 0.22s ease,
    border-color 0.22s ease;
  white-space: nowrap;
}

.nav-cta:hover {
  background-color: var(--text-primary);
  color: #080809;
  border-color: var(--text-primary);
}

/* ─── Hamburger ────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 6px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  transition: opacity 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.hamburger:hover { opacity: 0.7; }

.ham-line {
  display: block;
  height: 1.5px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-cinema), opacity 0.3s ease, width 0.3s var(--ease-cinema);
}

.ham-line:nth-child(1) { width: 24px; }
.ham-line:nth-child(2) { width: 16px; }

/* Animated X state */
.hamburger[aria-expanded="true"] .ham-line:nth-child(1) {
  width: 22px;
  transform: translateY(3.75px) rotate(45deg);
}
.hamburger[aria-expanded="true"] .ham-line:nth-child(2) {
  width: 22px;
  transform: translateY(-3.75px) rotate(-45deg);
}

/* ─── Mobile Drawer ────────────────────────────── */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 999;
  background-color: var(--bg-primary);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--gutter);
  transform: translateX(100%);
  transition: transform 0.45s var(--ease-cinema);
  will-change: transform;
}

.mobile-drawer:not([hidden]) {
  transform: translateX(0);
}

/* hidden attribute manages display; override for animation */
.mobile-drawer[hidden] {
  display: flex;
  pointer-events: none;
}

.mobile-drawer:not([hidden]) {
  pointer-events: auto;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 2.5rem;
}

.drawer-links li {
  opacity: 0;
  transform: translateX(24px);
  transition:
    opacity 0.35s var(--ease-cinema) calc(var(--i) * 0.07s),
    transform 0.35s var(--ease-cinema) calc(var(--i) * 0.07s);
}

.mobile-drawer:not([hidden]) .drawer-links li {
  opacity: 1;
  transform: translateX(0);
}

.drawer-link {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 8vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1.1;
  padding: 0.4rem 0;
  transition: color 0.2s ease;
}

.drawer-link:hover { color: var(--accent-amber); }

.drawer-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent-whatsapp);
  border: 1px solid var(--accent-whatsapp);
  border-radius: 999px;
  padding: 0.75rem 1.4rem;
  width: fit-content;
  margin-top: 0.75rem;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.35s var(--ease-cinema) calc(var(--i) * 0.07s),
    transform 0.35s var(--ease-cinema) calc(var(--i) * 0.07s),
    background-color 0.22s ease,
    color 0.22s ease;
}

.mobile-drawer:not([hidden]) .drawer-whatsapp {
  opacity: 1;
  transform: translateY(0);
}

.drawer-whatsapp:hover {
  background-color: var(--accent-whatsapp);
  color: #080809;
}

.drawer-location {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 2rem;
  opacity: 0;
  transition: opacity 0.4s ease 0.32s;
}

.mobile-drawer:not([hidden]) .drawer-location {
  opacity: 1;
}

/* ─── 4. HERO ─────────────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--nav-height) + 1.5rem) var(--gutter) 2.25rem;
  overflow: hidden;
}

/* Full-bleed media */
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  /* Fallback gradient when image is absent */
  background: radial-gradient(circle at 65% 35%, #231f1a 0%, #101013 48%, #080809 100%);
}

#hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: contrast(1.06) brightness(0.72);
  transform: scale(1.06);
  transform-origin: center center;
  will-change: transform;
  /* Hide broken image icon but keep element for JS */
  color: transparent;
}

/* Hide broken image icon without hiding placeholder gradient */
#hero-image::before {
  content: '';
  display: block;
  position: absolute;
  inset: 0;
}

/* Cinematic vignette scrim */
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 50% 80%, rgba(8,8,9,0.45) 0%, transparent 65%),
    linear-gradient(180deg,
      rgba(8,8,9,0.55) 0%,
      rgba(8,8,9,0.18) 45%,
      rgba(8,8,9,0.92) 100%
    );
  pointer-events: none;
}

/* Top metadata strip */
.hero-meta-top {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.meta-location,
.meta-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.meta-location { color: var(--text-secondary); }
.meta-tag      { color: var(--accent-amber); }

/* ─── Kinetic Typography Stack ─────────────────── */
.hero-kinetic-stack {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* Push to vertical center */
  margin: auto 0;
  padding: 2rem 0;
  pointer-events: none;
  /* Overflow allowed horizontally — parent overflow:hidden contains it */
}

.kinetic-line {
  font-family:     var(--font-display);
  font-size:       var(--text-hero);
  font-weight:     800;
  line-height:     0.92;
  letter-spacing:  -0.04em;
  text-transform:  uppercase;
  white-space:     nowrap;
  user-select:     none;
  color:           var(--text-primary);
  will-change:     transform;
  transition:      transform 0s; /* instant — JS drives via rAF */
}

/* Line 2: hollow stroke */
.kinetic-stroke {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(244, 244, 240, 0.78);
}

.amber-dot    { color: var(--text-primary); }
.amber-period { color: var(--accent-amber); }

/* ─── Hero Footer ──────────────────────────────── */
.hero-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-statement {
  max-width: 420px;
  font-size: clamp(0.88rem, 1.1vw, 1rem);
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-secondary);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
}

.hero-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  text-decoration: none;
  border-bottom: 1px solid var(--border-hover);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.hero-cta-link:hover {
  color: var(--accent-amber);
  border-color: var(--accent-amber);
}

.cta-arrow {
  transition: transform 0.3s var(--ease-cinema);
}

.hero-cta-link:hover .cta-arrow {
  transform: translateY(3px);
}

/* Animated scroll hairline */
.scroll-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1px;
  height: 48px;
  background-color: transparent;
  position: relative;
  overflow: hidden;
  opacity: 0.5;
}

.scroll-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--text-primary);
  border-radius: 1px;
  animation: scroll-hairline 1.8s var(--ease-cinema) infinite;
}

@keyframes scroll-hairline {
  0%   { top: -100%; height: 40%; }
  50%  { top: 60%;   height: 40%; }
  100% { top: 100%;  height: 40%; }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   FOUNDER SECTION — 00 // FOUNDER
   Two-column desktop portrait + bio, sleek scroll reveal
   ═════════════════════════════════════════════════════════════════════════════════ */

.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gutter);
  align-items: center;
}

/* ── Left column: portrait frame (4:5) ── */
.founder-portrait-col {
  position: relative;
}

.portrait-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  width: 100%;
  max-width: 420px;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-elevated);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
}

.portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.05) brightness(0.85) saturate(0.9);
  transition: transform 0.6s var(--ease-cinema);
}

.portrait-frame:hover .portrait-img {
  transform: scale(1.03);
}

/── Dark styled fallback placeholder (when founder.webp is absent) ── */
.portrait-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: radial-gradient(
    ellipse at 40% 30%,
    rgba(26, 18, 8, 0.35) 0%,
    rgba(13, 13, 16, 0.45) 55%,
    rgba(8, 8, 9, 0.75) 100%
  );
  opacity: 1;
  pointer-events: none;
}

.portrait-reticle {
  width: 64px;
  height: 64px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  position: relative;
}

.portrait-reticle::before,
.portrait-reticle::after {
  content: '';
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  left: 8px;
  right: 8px;
  height: 7px;
}

.portrait-reticle::before { top: -12px; }
.portrait-reticle::after  { bottom: -12px; }

.portrait-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 0.25em 0.65em;
  background: rgba(8, 8, 9, 0.6);
}

/* ── Right column: founder bio ── */
.founder-bio-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

.founder-kicker {
  font-family: var(--font-mono);
  font-size: var(--text-label);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-amber);
}

.founder-title {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--text-primary);
  margin: 0;
}

.founder-lede {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  font-weight: 500;
  line-height: 1.65;
  color: var(--text-primary);
  margin: 0;
}

.founder-body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.75;
  color: var(--text-secondary);
  margin: 0;
}

.founder-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  list-style: none;
  margin-top: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.founder-meta strong {
  color: var(--text-primary);
}

/* ── Scroll-triggered reveal (clip-path + translateY + opacity) ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  clip-path: inset(8% 0 8% 0);
  transition:
    opacity 0.7s var(--ease-cinema),
    transform 0.7s var(--ease-cinema),
    clip-path 0.7s var(--ease-cinema);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
  clip-path: inset(0 0 0 0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    clip-path: inset(0 0 0 0);
    transition: none;
  }
}

/* ── Tablet / mobile: stack vertically ── */
@media (max-width: 767px) {
  .founder-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .portrait-frame {
    max-width: 320px;
    margin: 0 auto;
  }

  .founder-bio-col {
    text-align: left;
  }
}

/* ─── 5. SECTION SHELLS ───────────────────────────────────────── */
#work,
#pricing,
#upload {
  padding: clamp(5rem, 10vw, 8.5rem) var(--gutter);
  border-top: 1px solid var(--border-subtle);
}

.section-inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

/* Section header */
.section-header {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-index {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--text-label);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-amber);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: var(--text-body);
  color: var(--text-secondary);
  max-width: 580px;
  line-height: 1.7;
}

/* Phase note badge */
.phase-note {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.phase-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-amber);
  border: 1px solid rgba(229, 169, 60, 0.3);
  border-radius: 4px;
  padding: 0.2em 0.55em;
  flex-shrink: 0;
}

/* ─── Work: Placeholder Grid ────────────────────── */
.placeholder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 1.25rem;
}

.placeholder-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.placeholder-thumb {
  position: relative;
  aspect-ratio: 9 / 16;
  background-color: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.placeholder-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.02) 0%, transparent 60%);
  pointer-events: none;
}

.placeholder-card:hover .placeholder-thumb {
  border-color: var(--border-hover);
}

.placeholder-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.placeholder-meta {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ─── Pricing: Placeholder Tiers ───────────────── */
.placeholder-pricing-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: 1px;
  background-color: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
}

.placeholder-tier {
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background-color: var(--bg-elevated);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: background-color 0.25s ease;
}

.placeholder-tier:hover {
  background-color: #161619;
}

.tier-featured {
  background-color: #13120f;
  position: relative;
}

.tier-featured::before {
  content: 'POPULAR';
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--accent-amber);
  border: 1px solid rgba(229, 169, 60, 0.35);
  border-radius: 3px;
  padding: 0.15em 0.45em;
}

.tier-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
}

.tier-price {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.tier-note {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ─── Upload: Placeholder Drop Zone ────────────── */
.placeholder-upload-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 240px;
  border: 1px dashed var(--border-hover);
  border-radius: 12px;
  background-color: var(--bg-elevated);
  padding: 3rem;
  text-align: center;
  color: var(--text-muted);
}

.upload-icon {
  opacity: 0.4;
}

.upload-placeholder-text {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: 600;
  color: var(--text-secondary);
}

.upload-placeholder-sub {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* ─── 6. FOOTER ───────────────────────────────────────────────── */
#site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: clamp(2.5rem, 5vw, 4rem) var(--gutter);
}

.footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-logo {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  transition: opacity 0.2s ease;
}

.footer-logo:hover { opacity: 0.7; }

.footer-location {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.footer-contact {
  display: flex;
  justify-content: center;
}

.footer-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent-whatsapp);
  border: 1px solid rgba(37, 211, 102, 0.3);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.footer-whatsapp:hover {
  background-color: var(--accent-whatsapp);
  color: #080809;
  border-color: var(--accent-whatsapp);
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-align: right;
}

/* ── Studio footer (minimalist dark close) ── */
.studio-copy {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
}

.studio-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.studio-links a {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.studio-links a:hover {
  color: var(--text-primary);
}

.studio-wa {
  color: var(--accent-whatsapp);
  border: 1px solid rgba(37, 211, 102, 0.3);
  border-radius: 999px;
  padding: 0.25rem 0.9rem;
  display: inline-block;
}

.studio-wa:hover {
  background-color: var(--accent-whatsapp);
  color: #080809;
  border-color: var(--accent-whatsapp);
}

.studio-mail:hover,
.studio-ig:hover {
  color: var(--accent-amber);
}

.studio-anchor {
  margin-top: 0.25rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
}

.studio-anchor a {
  color: var(--text-primary);
}

.studio-anchor a:hover {
  color: var(--accent-amber);
}

/* ── Modern 3-column Studio Footer ── */
.studio-footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.studio-footer-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.studio-logo {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.studio-tagline {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.studio-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.studio-footer-links a {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.studio-footer-links a:hover {
  color: var(--accent-amber);
}

.studio-footer-contact-links,
.studio-footer-ig-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.studio-footer-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  transition: all 0.25s ease;
}

.studio-footer-pill .pill-tag {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.studio-footer-pill:hover {
  background-color: var(--accent-whatsapp);
  color: #080809;
  border-color: var(--accent-whatsapp);
}

.studio-footer-pill:hover .pill-tag {
  color: #080809;
}

.studio-footer-mail {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.25s ease;
}

.studio-footer-mail:hover {
  color: var(--accent-amber);
}

.studio-footer-ig-links a {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.25s ease;
}

.studio-footer-ig-links a:hover {
  color: var(--accent-amber);
}

.studio-legal {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-align: center;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
  margin-top: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Input wrap for reference field */
.input-wrap {
  margin-top: 0.5rem;
}

.input-wrap input[type="url"] {
  width: 100%;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 0.6rem 0.9rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.88rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.input-wrap input[type="url"]:focus {
  outline: none;
  border-color: var(--accent-amber);
  box-shadow: 0 0 0 3px rgba(229, 169, 60, 0.12);
}

.input-wrap input[type="url"]::placeholder {
  color: var(--text-muted);
}

/* ─── 7. RESPONSIVE BREAKPOINTS ──────────────────────────────── */

/* Tablet / Mobile: hide desktop nav, show hamburger */
@media (max-width: 767px) {
  .nav-links  { display: none; }
  .hamburger  { display: flex; }

  /* Meta strip: wrap on very small screens */
  .hero-meta-top {
    flex-wrap: wrap;
    gap: 0.4rem;
  }

  /* Hero footer: stack on mobile */
  .hero-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .hero-statement { max-width: none; }

  /* Footer: single column */
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .footer-contact { justify-content: flex-start; }
  .footer-copy    { text-align: left; }

  /* Pricing grid: stack on mobile */
  .placeholder-pricing-row {
    grid-template-columns: 1fr;
  }
}

/* Large screens: cap kinetic lines at container width */
@media (min-width: 1400px) {
  .hero-kinetic-stack {
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
  }
}

/* ─── 8. REDUCED MOTION ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .kinetic-line {
    transform: none !important;
  }

  #hero-image {
    transform: scale(1.06) !important;
  }
}

/* ════════════════════════════════════════════════════════════════
   PHASE 2 — SELECTED REELS SHOWCASE
   Work Header · Filter Bar · Reels Grid · Cards · Lightbox
   ════════════════════════════════════════════════════════════════ */

/* ─── Work Section Header ─────────────────────────────────────── */
.work-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.work-header-left {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Override base section-title for work heading */
.work-title {
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 0; /* no subtitle here */
}

/* ─── Filter Pills ────────────────────────────────────────────── */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.filter-pill {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition:
    background-color 0.3s var(--ease-cinema),
    color 0.3s var(--ease-cinema),
    border-color 0.3s var(--ease-cinema);
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}

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

.filter-pill.is-active {
  background: var(--text-primary);
  color: #080809;
  border-color: var(--text-primary);
}

.filter-count {
  opacity: 0.65;
  margin-left: 0.2em;
}

/* ─── Horizontal Reels Track ──────────────────────────────────── */
.reel-track-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Scrollable single-row flex track */
.reels-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
  -webkit-overflow-scrolling: touch;
  padding: 0.5rem 0;
}

.reels-grid::-webkit-scrollbar {
  height: 6px;
}

.reels-grid::-webkit-scrollbar-track {
  background: transparent;
}

.reels-grid::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

/* Scroll arrows */
.reel-scroll-btn {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  color: var(--text-primary);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.reel-scroll-btn:hover {
  background: var(--text-primary);
  color: #080809;
  border-color: var(--text-primary);
}

.reel-scroll-btn:disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

.reel-scroll-prev { margin-left: -0.25rem; }
.reel-scroll-next { margin-right: -0.25rem; }

/* ─── Reel Card (horizontal track) ────────────────────────────── */
.reel-card {
  position: relative;
  flex: 0 0 auto;
  width: min(320px, 92vw);
  aspect-ratio: 9 / 16;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition:
    transform    0.45s var(--ease-cinema),
    border-color 0.35s ease;
  outline: none;
  scroll-snap-align: start;
  /* Card is filtered in/out — manage visibility via JS class */
}

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

.reel-card:focus-visible {
  outline: 2px solid var(--accent-amber);
  outline-offset: 3px;
}

/* Filter hide/show states */
.reel-card.is-hidden {
  display: none;
}

.reel-card.is-filtering {
  opacity: 0;
  transform: translateY(8px) scale(0.97);
}

.reel-card.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition:
    opacity    0.4s var(--ease-cinema),
    transform  0.4s var(--ease-cinema),
    border-color 0.35s ease;
}

/* Inner wrapper fills entire card */
.reel-card-inner {
  position: absolute;
  inset: 0;
}

/* ─── Reel Cover (image replacing video) ────────────────────────── */
.reel-cover-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--bg-elevated);
  overflow: hidden;
}

.reel-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease-cinema);
}

.reel-card:hover .reel-cover {
  transform: scale(1.04);
}

/* Dark styled fallback placeholder when cover image is absent */
.reel-cover-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: radial-gradient(
    ellipse at 40% 30%,
    rgba(26, 18, 8, 0.35) 0%,
    rgba(13, 13, 16, 0.45) 55%,
    rgba(8, 8, 9, 0.75) 100%
  );
  opacity: 1;
  pointer-events: none;
}

.reel-cover-reticle {
  width: 56px;
  height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  position: relative;
}

.reel-cover-reticle::before,
.reel-cover-reticle::after {
  content: '';
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  left: 8px;
  right: 8px;
  height: 7px;
}

.reel-cover-reticle::before { top: -12px; }
.reel-cover-reticle::after  { bottom: -12px; }

.reel-cover-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 0.25em 0.65em;
  background: rgba(8, 8, 9, 0.6);
}

/* ─── Video Element ───────────────────────────────────────────── */
.reel-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* When video errors, JS adds .has-error to .reel-card-inner */
.reel-card-inner.has-error .reel-video {
  display: none;
}

.reel-card-inner.has-error .reel-fallback {
  opacity: 1;
  pointer-events: auto;
}

/* ─── Fallback Poster ─────────────────────────────────────────── */
.reel-fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse at 40% 30%,
    var(--grad-a, #1a1208) 0%,
    var(--grad-b, #0d0d10) 50%,
    var(--grad-c, #080809) 100%
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  transition: opacity 0.3s ease;
}

/* Film frame reticle — pure CSS */
.reel-fallback-reticle {
  width: 64px;
  height: 64px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 2px;
  position: relative;
}

.reel-fallback-reticle::before,
.reel-fallback-reticle::after {
  content: '';
  position: absolute;
  background: rgba(255,255,255,0.08);
}

/* Horizontal sprocket strips */
.reel-fallback-reticle::before {
  inset: -10px 6px;
  height: 6px;
  top: -10px;
}

.reel-fallback-reticle::after {
  inset: -10px 6px;
  height: 6px;
  top: auto;
  bottom: -10px;
}

/* Corner cross-hair marks */
.reel-fallback::before {
  content: '';
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 4px;
  pointer-events: none;
}

.reel-fallback-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 0.25em 0.65em;
}

/* ─── Top HUD (duration + audio toggle) ──────────────────────── */
.reel-hud-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem;
  /* Fade in on hover */
  opacity: 0;
  transition: opacity 0.25s ease;
}

.reel-card:hover .reel-hud-top,
.reel-card:focus-visible .reel-hud-top {
  opacity: 1;
}

.reel-duration {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  background: rgba(8, 8, 9, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 0.25em 0.55em;
  line-height: 1;
}

/* Audio toggle button */
.reel-audio-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(8, 8, 9, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  color: var(--text-primary);
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.reel-audio-btn:hover {
  background: rgba(229, 169, 60, 0.2);
  border-color: rgba(229, 169, 60, 0.5);
}

/* Show/hide the correct icon based on muted state */
.reel-audio-btn[data-muted="true"]  .icon-unmuted { display: none; }
.reel-audio-btn[data-muted="false"] .icon-muted   { display: none; }

/* ─── Bottom HUD (scrim + meta) ───────────────────────────────── */
.reel-hud-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
}

.reel-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(8, 8, 9, 0.88) 100%);
  pointer-events: none;
}

.reel-meta {
  position: relative;
  z-index: 1;
  padding: 2.5rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.reel-tech-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-amber);
  line-height: 1;
}

.reel-title-card {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text-primary);
}

.reel-watch-cue {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  margin-top: 0.25rem;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.reel-card:hover .reel-watch-cue,
.reel-card:focus-visible .reel-watch-cue {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Lightbox Modal ──────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--gutter);
}

/* hidden: no display; not-hidden: visible */
.lightbox[hidden] {
  display: none;
}

.lightbox[aria-hidden="false"] {
  display: flex;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 6, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  cursor: pointer;
  /* Animate in/out */
  opacity: 0;
  transition: opacity 0.35s var(--ease-cinema);
}

.lightbox.is-open .lightbox-backdrop {
  opacity: 1;
}

.lightbox-stage {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  max-height: calc(100svh - 4rem);
  /* Animate in */
  opacity: 0;
  transform: scale(0.95) translateY(12px);
  transition:
    opacity   0.4s var(--ease-cinema),
    transform 0.4s var(--ease-cinema);
}

.lightbox.is-open .lightbox-stage {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* Close button */
.lightbox-close {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: rgba(8, 8, 9, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  color: var(--text-primary);
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.lightbox-close:hover {
  background: rgba(244, 244, 240, 0.12);
  border-color: var(--border-hover);
}

/* 9:16 video well */
.lightbox-video-wrap {
  position: relative;
  aspect-ratio: 9 / 16;
  height: min(80svh, calc(100svw - 2 * var(--gutter) - 300px));
  max-height: calc(100svh - 4rem);
  border-radius: 14px;
  overflow: hidden;
  background: #050506;
  border: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.lightbox-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Fallback overlay inside lightbox */
.lightbox-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  background: radial-gradient(ellipse at 50% 40%, #181210 0%, #0d0c10 55%, #050506 100%);
}

.lightbox-fallback.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-fallback-reticle {
  width: 72px;
  height: 72px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 2px;
  position: relative;
}

.lightbox-fallback-reticle::before,
.lightbox-fallback-reticle::after {
  content: '';
  position: absolute;
  left: 8px;
  right: 8px;
  height: 7px;
  background: rgba(255,255,255,0.07);
}

.lightbox-fallback-reticle::before { top: -12px; }
.lightbox-fallback-reticle::after  { bottom: -12px; }

.lightbox-fallback-text {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-align: center;
  max-width: 180px;
  line-height: 1.6;
}

/* Info panel beside the video */
.lightbox-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-self: flex-end;
  padding-bottom: 0.5rem;
  min-width: 220px;
  max-width: 300px;
}

.lightbox-meta-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.lightbox-tech-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-amber);
}

.lightbox-duration {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 0.15em 0.5em;
}

.lightbox-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text-primary);
}

/* WhatsApp CTA button inside lightbox */
.lightbox-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--accent-whatsapp);
  border: 1px solid rgba(37, 211, 102, 0.35);
  border-radius: 999px;
  padding: 0.65rem 1.2rem;
  width: fit-content;
  transition:
    background-color 0.22s ease,
    color 0.22s ease,
    border-color 0.22s ease;
}

.lightbox-wa-btn:hover {
  background-color: var(--accent-whatsapp);
  color: #080809;
  border-color: var(--accent-whatsapp);
}

/* ─── Grid Responsive Breakpoints ─────────────────────────────── */
@media (max-width: 1023px) {
  .reels-grid {
    gap: 1rem;
  }

  /* Lightbox: stack on tablet */
  .lightbox-stage {
    flex-direction: column;
    align-items: center;
  }

  .lightbox-video-wrap {
    height: min(60svh, 320px);
    width: auto;
  }

  .lightbox-info {
    align-self: flex-start;
    max-width: 100%;
    min-width: 0;
  }
}

@media (max-width: 639px) {
  .reels-grid {
    gap: 1rem;
  }

  .work-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .filter-bar {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    /* Hide scrollbar but allow scroll */
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 2px;
  }

  .filter-bar::-webkit-scrollbar { display: none; }

  /* Lightbox: full-screen portrait on mobile */
  .lightbox {
    padding: 0;
    align-items: flex-end;
  }

  .lightbox-stage {
    flex-direction: column;
    width: 100%;
    max-height: 100svh;
    overflow-y: auto;
    border-radius: 20px 20px 0 0;
    background: var(--bg-elevated);
    padding: 0;
    gap: 0;
  }

  .lightbox-video-wrap {
    width: 100%;
    height: auto;
    aspect-ratio: 9 / 16;
    border-radius: 20px 20px 0 0;
    border: none;
    max-height: 70svh;
  }

  .lightbox-info {
    padding: 1.25rem;
    width: 100%;
    max-width: none;
    min-width: 0;
    align-self: auto;
    gap: 0.75rem;
  }

  /* HUD always visible on touch (no hover) */
  .reel-hud-top {
    opacity: 1;
  }

  .reel-watch-cue {
    opacity: 1;
    transform: none;
  }
}

/* ─── Reduced motion: disable filter animation ────────────────── */
@media (prefers-reduced-motion: reduce) {
  .reel-card,
  .reel-card.is-filtering,
  .reel-card.is-visible {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }

  .lightbox-stage,
  .lightbox-backdrop {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* ════════════════════════════════════════════════════════════════
   PHASE 3 — SHOOT SCOPE CATALOG & WHATSAPP BRIEF BUILDER
   Pricing header · Workbench layout · Controls · Receipt slate
   ════════════════════════════════════════════════════════════════ */

/* ─── Section header ──────────────────────────────────────────── */
.pricing-header {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.pricing-title {
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.pricing-subtitle {
  max-width: 560px;
}

/* ─── Two-column workbench ────────────────────────────────────── */
.scope-workbench {
  display: grid;
  grid-template-columns: 1.35fr 0.95fr;
  gap: 2.5rem;
  align-items: start;
}

/* ─── Left column: controls card ─────────────────────────────── */
.scope-controls {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Control group */
.control-group {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.control-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  /* Reset for <label> usage */
  margin: 0;
  cursor: default;
}

.control-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid var(--border-hover);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--accent-amber);
  border-color: rgba(229, 169, 60, 0.4);
  flex-shrink: 0;
  line-height: 1;
}

.control-optional {
  color: var(--text-muted);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
}

.control-caption {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.55;
  padding-top: 0.1rem;
}

/* ─── Scope pill row (wrap) ───────────────────────────────────── */
.scope-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ─── Scope pill grid (fixed number columns for day/reel pickers) */
.scope-pill-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.45rem;
}

/* 5-item grid for reels */
[data-group="reels-count"] .scope-pill-grid {
  grid-template-columns: repeat(5, 1fr);
}

/* ─── Scope pill base ─────────────────────────────────────────── */
.scope-pill {
  background: var(--bg-primary);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 0.5rem 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 400;
  white-space: nowrap;
  cursor: pointer;
  text-align: center;
  transition:
    background-color 0.25s var(--ease-cinema),
    color            0.25s var(--ease-cinema),
    border-color     0.25s var(--ease-cinema),
    box-shadow       0.25s var(--ease-cinema),
    font-weight      0s;
  -webkit-tap-highlight-color: transparent;
  line-height: 1;
}

.scope-pill:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
}

.scope-pill.is-selected {
  background: var(--text-primary);
  color: #080809;
  border-color: var(--text-primary);
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(244, 244, 240, 0.12);
}

/* Square-ish tactile variant (day & reel count pills) */
.scope-pill--square {
  min-height: 48px;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.5rem 0.25rem;
  border-radius: 10px;
}

.scope-pill--square.is-selected {
  font-weight: 700;
}

/* ─── Textarea & char counter ─────────────────────────────────── */
.textarea-wrap {
  position: relative;
}

.textarea-wrap textarea {
  width: 100%;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  padding-bottom: 2rem; /* space for char counter */
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.6;
  resize: vertical;
  min-height: 90px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  /* Reset appearance */
  appearance: none;
  -webkit-appearance: none;
}

.textarea-wrap textarea::placeholder {
  color: var(--text-muted);
}

.textarea-wrap textarea:focus {
  outline: none;
  border-color: var(--accent-amber);
  box-shadow: 0 0 0 3px rgba(229, 169, 60, 0.12);
}

.char-counter {
  position: absolute;
  bottom: 0.6rem;
  right: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  pointer-events: none;
  transition: color 0.2s ease;
}

.char-counter.is-near-limit {
  color: var(--accent-amber);
}

/* ─── Right column: receipt / brief slate ─────────────────────── */
.scope-receipt {
  position: sticky;
  top: calc(var(--nav-height) + 1.5rem);
  background: linear-gradient(180deg, #131317 0%, #0C0C0E 100%);
  border: 1px solid var(--border-hover);
  border-radius: 16px;
  padding: clamp(1.5rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Slate header bar */
.receipt-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.receipt-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.receipt-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-amber);
  border: 1px solid rgba(229, 169, 60, 0.3);
  border-radius: 4px;
  padding: 0.2em 0.55em;
}

/* Pulsing green dot (booking-available indicator) */
.receipt-dot {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-whatsapp);
  animation: pulse-dot 2.8s ease-in-out infinite;
  flex-shrink: 0;
}

.receipt-divider {
  border: none;
  border-top: 1px dashed var(--border-subtle);
  margin: 1.15rem 0;
}

/* Key-value readout rows */
.brief-rows {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
}

.brief-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.brief-key {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.brief-val {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-primary);
  text-align: right;
  font-style: normal;
  transition: color 0.2s ease;
}

.brief-val--amber {
  color: var(--accent-amber);
}

/* WhatsApp message preview block */
.wa-preview-block {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.wa-preview-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.wa-preview-text {
  background: rgba(8, 8, 9, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--text-secondary);
  white-space: pre-line;
  word-break: break-word;
  margin: 0;
  /* no scrollbars — text wraps */
  overflow: hidden;
}

/* Primary WhatsApp CTA */
.scope-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  margin-top: 1.35rem;
  padding: 1rem 1.4rem;
  background: var(--accent-whatsapp);
  color: #05140B;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 12px;
  text-decoration: none;
  transition:
    transform 0.25s var(--ease-cinema),
    filter    0.25s ease;
  -webkit-tap-highlight-color: transparent;
}

.scope-wa-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.scope-wa-btn:active {
  transform: translateY(0);
  filter: brightness(0.96);
}

/* Copy brief button */
.copy-brief-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  margin-top: 0.65rem;
  padding: 0.65rem 1rem;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  cursor: pointer;
  transition:
    color        0.2s ease,
    border-color 0.2s ease,
    background   0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.copy-brief-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
}

.copy-brief-btn.is-copied {
  color: var(--accent-whatsapp);
  border-color: rgba(37, 211, 102, 0.4);
  background: rgba(37, 211, 102, 0.06);
}

/* ─── Responsive: tablet & mobile ────────────────────────────── */
@media (max-width: 959px) {
  .scope-workbench {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Receipt card not sticky on mobile — flows naturally */
  .scope-receipt {
    position: static;
  }

  /* Day pills: still 7 columns but allow scroll on very small screens */
  [data-group="shoot-days"] .scope-pill-grid {
    grid-template-columns: repeat(7, minmax(36px, 1fr));
  }
}

@media (max-width: 479px) {
  /* Wrap category pills */
  .scope-pill-row {
    gap: 0.4rem;
  }

  .scope-pill {
    font-size: 0.75rem;
    padding: 0.45rem 0.7rem;
  }

  /* Compact day/reel grid on very small phones */
  [data-group="shoot-days"] .scope-pill-grid {
    grid-template-columns: repeat(7, 1fr);
    gap: 0.3rem;
  }

  .scope-pill--square {
    min-height: 42px;
    font-size: 0.88rem;
  }
}
