/* ============================================
   MAIN CSS
   Project Stardust — Page-Specific Styles
   ============================================ */

/* ─── Base Page ─── */

html {
  scroll-behavior: auto !important;
}

html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

body {
  background-color: var(--color-bg-primary);
  color: var(--color-text-primary);
}

/* ─── Background Page Blur When Menu Opens ─── */
main {
  transition:
    filter 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center top;
}

body.is-menu-open main {
  filter: blur(14px) brightness(0.65);
  transform: scale(0.985);
  pointer-events: none;
  user-select: none;
}

/* ─── Redesigned Minimal Poster Hero Section ─── */

.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: clamp(4.8rem, 8vw, 6.5rem);
  padding-bottom: 2rem;
  overflow: hidden;
  text-align: center;
  background: #000000;
}

/* Split Background: Clean (Left) vs Dust (Right) */
.hero__split-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  pointer-events: none;
}

.hero__split-clean {
  background: #000000;
}

.hero__split-dust {
  background: #000000;
  position: relative;
}

.hero__split-dust::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 16px 16px;
  opacity: 0.25;
}

/* Center Razor Dividing Line */
.hero__split-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(255, 255, 255, 0.15) 30%,
    rgba(255, 255, 255, 0.15) 70%,
    transparent 100%
  );
  z-index: 1;
}

/* Top Corner Poster Labels */
.hero__corner-label {
  position: absolute;
  top: clamp(5.2rem, 8vw, 7rem);
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--color-text-dim);
  text-transform: uppercase;
}

.hero__corner-label--left {
  left: clamp(1.5rem, 5vw, 4rem);
}

.hero__corner-label--right {
  right: clamp(1.5rem, 5vw, 4rem);
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* Poster Meta Top Header */
.poster-meta-header {
  font-family: var(--font-mono);
  font-size: clamp(0.68rem, 1vw, 0.78rem);
  font-weight: 700;
  letter-spacing: 0.28em;
  color: #A1A1AA;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

/* Monumental Headline */
.poster-title-wrap {
  position: relative;
  z-index: 2;
  margin-bottom: 0.2rem;
  width: 100%;
}

.poster-title {
  font-family: var(--font-display);
  font-size: clamp(3.8rem, 11vw, 11rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.88;
  text-transform: uppercase;
  color: #FFFFFF;
  text-shadow: 0 0 60px rgba(255, 255, 255, 0.08);
}

.poster-subtitle {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.2vw, 2.8rem);
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent-gold);
  margin-top: 0.25rem;
}

/* ─── 3D Interactive Camera Lens Canvas Container ─── */
.hero-3d-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 100; /* Floats ON TOP OF EVERYTHING! */
  pointer-events: none; /* Allows buttons, links, billing block clicks to pass through */
  margin: 0;
  overflow: visible;
}

#hero-lens-canvas {
  width: 100vw !important;
  height: 100vh !important;
  outline: none;
  pointer-events: none;
  touch-action: none;
}

#hero-lens-canvas:active {
  cursor: grabbing;
}

/* Dynamic Radial Glow Behind Camera Lens */
.hero-3d-glow {
  display: none !important;
}

@keyframes lensGlowPulse {
  0% {
    opacity: 0.55;
    transform: translate(-50%, -50%) scale(0.88);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.18);
  }
}

/* Floating Lens Spec Badge */
.hero-3d-badge {
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100vw - 2rem);
  white-space: nowrap;
  background: rgba(18, 18, 24, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  padding: 5px 16px;
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #E4E4E7;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.65);
}

.hero-3d-badge .badge-cache-tag {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #C7F255;
  background: rgba(199, 242, 85, 0.12);
  border: 1px solid rgba(199, 242, 85, 0.35);
  padding: 2px 7px;
  border-radius: 999px;
  margin-left: 4px;
  text-transform: uppercase;
}

.hero-3d-badge .badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #C7F255;
  box-shadow: 0 0 10px #C7F255;
  animation: badgeDotPulse 1.8s ease-in-out infinite alternate;
}

@keyframes badgeDotPulse {
  0% { opacity: 0.4; }
  100% { opacity: 1; }
}

/* ─── 3D Optics Showcase Section (GSAP ScrollTriggered + Pinned) ─── */
.optics-showcase {
  position: relative;
  padding: 6rem 0;
  background: #000000;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  will-change: transform;
  overflow: hidden;
}

/* ─── Split Curved Background for Section 2 ─── */
.optics-split-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  background: #000000;
}

.optics-bg-left {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000000;
  z-index: 1;
}

.optics-bg-right-wrap {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  will-change: transform, opacity;
  transform: translateX(100%);
  opacity: 0;
}

.optics-bg-curve-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.optics-grid {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  min-height: 520px;
}

@media (max-width: 900px) {
  .optics-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.optics-target-wrapper {
  position: relative;
  width: 100%;
  height: clamp(340px, 45vw, 500px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.optics-hud-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 82%;
  height: 82%;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  pointer-events: none;
  animation: hudRotate 30s linear infinite;
}

@keyframes hudRotate {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.optics-hud-badge {
  position: absolute;
  top: 15px;
  left: 20px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.7);
}

.optics-content-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  height: 100%;
}

.optics-header--compact {
  margin-bottom: 0.75rem;
  text-align: center;
  width: 100%;
  z-index: 30;
}

.optics-header--compact .eyebrow {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(199, 242, 85, 0.08);
  border: 1px solid rgba(199, 242, 85, 0.2);
  border-radius: 20px;
  font-family: var(--font-mono, monospace);
  font-size: 0.7rem;
}

/* ─── Circular Scroll Wheel Carousel System ─── */
.optics-wheel-wrapper {
  position: relative;
  width: 100%;
  height: clamp(560px, 62vh, 660px);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  perspective: 1200px;
  overflow: visible;
  user-select: none;
}

.wheel-glow-radial {
  display: none !important;
}

/* Central Scroll Wheel Icon & Arrow Controls */
.optics-scroll-indicator {
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 25;
}

.wheel-nav-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.25, 1, 0.5, 1);
}

.wheel-nav-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #FFFFFF;
  transform: scale(1.15);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.25);
}

.wheel-nav-btn svg {
  width: 18px;
  height: 18px;
}

.mouse-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  cursor: grab;
}

.mouse-icon {
  width: 22px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: 12px;
  position: relative;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.mouse-wheel-dot {
  width: 4px;
  height: 8px;
  background: #FFFFFF;
  border-radius: 2px;
  animation: mouseWheelAnim 2s infinite ease-in-out;
}

@keyframes mouseWheelAnim {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(10px); opacity: 0; }
  71% { transform: translateY(-2px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* Side Labels (Matching Reference Image) */
.optics-side-labels {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  z-index: 15;
}

.side-label {
  writing-mode: vertical-rl;
  font-family: var(--font-mono, monospace);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #111111;
  text-transform: uppercase;
}

.side-divider {
  width: 1px;
  height: 45px;
  background: rgba(0, 0, 0, 0.3);
}

/* Active Wheel Pointer Ring (Highlighting on arc edge) */
.wheel-active-pointer {
  position: absolute;
  left: 60px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 18;
  pointer-events: none;
}

.pointer-ring {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.3), inset 0 0 6px rgba(255, 255, 255, 0.2);
  position: relative;
}

.pointer-ring::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FFFFFF;
}

/* Wheel Items Track & Items */
.optics-wheel-track {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
}

.wheel-item {
  position: absolute;
  top: 50%;
  left: 90px;
  width: min(420px, 78vw);
  height: 250px;
  margin-top: -125px;
  transform-origin: 100px 50%;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.45s ease, filter 0.45s ease;
  cursor: pointer;
  will-change: transform, opacity;
  border: none !important;
  border-radius: 0 !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Full Media Card Design (Border-Free, Sharp Rectangular Image) */
.wheel-item__card--full-media {
  position: relative;
  width: 100%;
  height: 100%;
  border: none !important;
  border-radius: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  overflow: hidden;
  background: transparent;
}

.wheel-item.is-active .wheel-item__card--full-media {
  border: none !important;
  box-shadow: none !important;
}

.wheel-item__full-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: none !important;
  border-radius: 0 !important;
  outline: none !important;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.wheel-item.is-active .wheel-item__full-img {
  transform: scale(1.05);
}

/* Right-Side Active Glass-Blur Text Overlay (Overlapping to the End of Active Image) */
.wheel-item__active-overlay {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 58%;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.25rem 1.4rem;
  gap: 0.5rem;
  z-index: 10;
  opacity: 0;
  transform: translateX(15px);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  border-left: 1px solid rgba(0, 0, 0, 0.06);
}

.wheel-item.is-active .wheel-item__active-overlay {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.active-overlay__counter {
  font-family: var(--font-display, sans-serif);
  font-size: 1.5rem;
  font-weight: 800;
  color: #111111;
  letter-spacing: -0.02em;
  line-height: 1;
}

.active-overlay__counter .dim {
  font-size: 0.85rem;
  color: rgba(0, 0, 0, 0.45);
  font-weight: 500;
}

.active-overlay__text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.active-overlay__title {
  font-family: var(--font-display, sans-serif);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #111111;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.active-overlay__desc {
  font-family: var(--font-sans, sans-serif);
  font-size: 0.75rem;
  color: #333333;
  line-height: 1.35;
}

/* Supporting Result Line & Process Badge */
.active-overlay__result {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px dashed rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
}

.active-overlay__result-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono, monospace);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #111111;
  background: rgba(0, 0, 0, 0.05);
  padding: 3.5px 8.5px;
  border-radius: 4px;
  text-transform: uppercase;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.wheel-item:hover .active-overlay__result-badge {
  background: #111111;
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* Connecting Arc SVG between 3D Lens HUD and Spec Cards */
.optics-lens-connector {
  position: absolute;
  top: 50%;
  left: 60%;
  width: 360px;
  height: 180px;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 8;
}

.lens-connector-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.connector-line-glow {
  stroke: rgba(255, 255, 255, 0.25);
  stroke-width: 3px;
  filter: blur(3px);
}

.connector-line-dash {
  stroke: rgba(255, 255, 255, 0.85);
  stroke-width: 1.5px;
  stroke-dasharray: 6 8;
  animation: connectorDashAnim 20s linear infinite;
}

@keyframes connectorDashAnim {
  0% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -200; }
}

.connector-pulse-dot {
  fill: #FFFFFF;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.9));
  animation: pulseDotAnim 2s infinite ease-in-out;
}

@keyframes pulseDotAnim {
  0%, 100% { r: 3.5px; opacity: 0.7; }
  50% { r: 5.5px; opacity: 1; }
}

/* Mobile Responsive Adjustments for Optics Section */
@media (max-width: 768px) {
  .optics-lens-connector {
    display: none;
  }
  
  .optics-side-labels {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 auto 16px auto;
    z-index: 15;
  }

  .side-label {
    writing-mode: horizontal-tb;
    font-size: 0.62rem;
    letter-spacing: 0.16em;
  }

  .side-divider {
    width: 24px;
    height: 1px;
  }

  /* Curved Card Fan Mobile Responsive Treatment */
  .optics-wheel-wrapper {
    overflow: visible;
  }

  .optics-wheel-track {
    position: relative;
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding: 12px 16px;
    -webkit-overflow-scrolling: touch;
  }

  .wheel-item {
    position: relative;
    top: auto;
    left: auto;
    width: 85vw;
    max-width: 380px;
    height: 240px;
    margin-top: 0;
    transform: none !important;
    scroll-snap-align: center;
    flex-shrink: 0;
  }
}

.wheel-item__counter {
  font-size: 1.35rem;
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1;
}

.wheel-item__counter span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 600;
}

.wheel-item__tag {
  font-family: var(--font-mono, monospace);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #FFFFFF;
  text-transform: uppercase;
}
  font-family: var(--font-display, sans-serif);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #FFFFFF;
  line-height: 1.25;
}

.wheel-item__desc {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.45;
}

.wheel-item__pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 0.2rem;
}

.orbit-pill {
  font-family: var(--font-mono, monospace);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #E4E4E7;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
}

/* Cinematic Movie Billing Block (Film Credits) */
.poster-billing-block {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 820px;
  margin: 0 auto 2.5rem auto;
  font-family: var(--font-mono);
  font-size: clamp(0.62rem, 1vw, 0.72rem);
  letter-spacing: 0.08em;
  color: #8E8E9F;
  text-transform: uppercase;
  line-height: 1.65;
  text-align: center;
}

.billing-line strong {
  color: #E4E4E7;
  font-weight: 700;
}

.billing-dot {
  color: var(--color-accent-gold);
  margin: 0 0.4em;
}

.billing-categories {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  color: var(--color-accent-gold);
  margin-top: 0.5rem;
}

/* Minimal Action Buttons */
.poster-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.poster-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.85em 2.2em;
  border-radius: 9999px;
  transition: transform 0.3s var(--ease-out-back), background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.poster-btn:hover {
  transform: scale(1.04);
}

.poster-btn--primary {
  background: #C7F255;
  color: #050508;
  box-shadow: 0 6px 24px rgba(199, 242, 85, 0.3);
}

.poster-btn--primary:hover {
  background: #d6f76e;
  box-shadow: 0 8px 30px rgba(199, 242, 85, 0.45);
}

.poster-btn--secondary {
  background: transparent;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.poster-btn--secondary:hover {
  border-color: #C7F255;
  color: #C7F255;
}

.hero__actions.revealed {
  opacity: 1;
  transform: translateY(0);
}

.hero__scroll {
  position: absolute;
  bottom: var(--space-xl);
  right: clamp(1.25rem, 4vw, 3rem);
  z-index: 2;
}

/* ─── Paper Reveal Section 3 (Off-White 4-Line Dotted Blueprint Portfolio) ─── */

.paper-reveal-section {
  position: relative;
  background: #F4F3ED; /* Complete Warm Editorial Off-White Paper Background */
  color: #08080C;
  min-height: 100vh;
  z-index: 40; /* Sits above Section 2 */
  box-shadow: 0 -40px 100px rgba(0, 0, 0, 0.85);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
}

.grid-section-container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Outer Top and Bottom Label Bars */
.grid-outer-topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
  padding: 0 0.5rem;
  position: relative;
  z-index: 35;
}

.grid-outer-bottombar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 0.5rem;
  position: relative;
  z-index: 35;
}

.grid-tag-left {
  display: flex;
  flex-direction: column;
}

.grid-tag-right {
  display: flex;
  flex-direction: column;
  text-align: right;
}

.grid-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #08080C;
  display: block;
}

.grid-sub {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: #777788;
  display: block;
  margin-top: 0.25rem;
  letter-spacing: 0.05em;
}

.grid-meta-code {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: rgba(0, 0, 0, 0.45);
  letter-spacing: 0.06em;
}

/* CENTER WIDESCREEN WRAPPER (ULTRA-WIDE HORIZONTALLY, COMPACT VERTICALLY) */
.center-portfolio-wrap {
  width: 100%;
  max-width: 1320px; /* Expanded wide on both sides */
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  min-height: 200px; /* Prevents collapse when whiteFrame becomes absolute during morph */
}

/* 4 DOTTED LINES ONLY: 2 Horizontal (Top & Bottom) + 2 Vertical (Left & Right) */

/* Horizontal Top Dotted Line (extends across full screen width) */
.center-portfolio-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: -2000px;
  right: -2000px;
  border-top: 1.5px dotted rgba(8, 8, 12, 0.3);
  pointer-events: none;
  z-index: 1;
}

/* Horizontal Bottom Dotted Line (extends across full screen width) */
.center-portfolio-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -2000px;
  right: -2000px;
  border-bottom: 1.5px dotted rgba(8, 8, 12, 0.3);
  pointer-events: none;
  z-index: 1;
}

/* Blue Focal Dot Indicator (Animated from bottom-center to top-left on scroll) */
.focal-dot-wrapper {
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 30;
  pointer-events: none;
  will-change: transform, left, top;
}

.focal-dot-ring {
  position: absolute;
  width: 30px;
  height: 30px;
  border: 1.5px solid #D4AF37; /* Gold ring matching reference */
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.focal-dot-core {
  width: 10px;
  height: 10px;
  background: #1B4FD0; /* Deep blue dot matching reference */
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(27, 79, 208, 0.6);
}

/* 2.39:1 Anamorphic Widescreen Frame Container */
.cinematic-widescreen-frame {
  width: 100%;
  background: #FFFFFF;
  border: none; /* NO BORDER ON BOX ITSELF - FORMED ONLY BY THE 4 EXTENDED DOTTED LINES */
  border-radius: 0; /* Sharp Corners */
  padding: 1.6rem 3rem; /* Compact vertical padding (height not increased) */
  position: relative;
  z-index: 30; /* Sits in front of carousel canvas for seamless physical morph */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  min-height: auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.06), 0 6px 20px rgba(0, 0, 0, 0.02);
  overflow: hidden;
  will-change: width, height, border-radius, box-shadow;
}

.cine-frame-card-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  z-index: 5;
  border-radius: inherit;
  overflow: hidden;
  background: #000000;
}

.cine-frame-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* State 2: Circular Carousel Showcase from React Bits (Revealed on Pin Scroll) */
.cine-black-screen {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.92);
  width: 100vw;
  height: 100vh;
  max-width: none;
  background: #F4F3ED; /* Clean Studio Off-White Background */
  border: none;
  box-shadow: none;
  opacity: 0;
  pointer-events: none;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Vertical Left Dotted Line (extends top & bottom across section height) */
.cinematic-widescreen-frame::before {
  content: '';
  position: absolute;
  top: -2000px;
  bottom: -2000px;
  left: 0;
  border-left: 1.5px dotted rgba(8, 8, 12, 0.3);
  pointer-events: none;
  z-index: 1;
}

/* Vertical Right Dotted Line (extends top & bottom across section height) */
.cinematic-widescreen-frame::after {
  content: '';
  position: absolute;
  top: -2000px;
  bottom: -2000px;
  right: 0;
  border-right: 1.5px dotted rgba(8, 8, 12, 0.3);
  pointer-events: none;
  z-index: 1;
}

.cinematic-widescreen-frame:hover {
  transform: translateY(-4px) scale(1.005);
  box-shadow: 0 45px 110px rgba(0, 0, 0, 0.1), 0 12px 35px rgba(0, 0, 0, 0.04);
}

/* During GSAP morph animation: disable hover and dotted lines so frame moves cleanly */
.cinematic-widescreen-frame.is-morphing:hover {
  transform: none;
  box-shadow: none;
}
.cinematic-widescreen-frame.is-morphing::before,
.cinematic-widescreen-frame.is-morphing::after {
  display: none;
}

/* Optical Reticle Corner Markers */
.reticle {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: rgba(8, 8, 12, 0.4);
  line-height: 1;
  user-select: none;
  pointer-events: none;
}

.reticle--tl { top: 0.6rem; left: 0.75rem; }
.reticle--tr { top: 0.6rem; right: 0.75rem; }
.reticle--bl { bottom: 0.6rem; left: 0.75rem; }
.reticle--br { bottom: 0.6rem; right: 0.75rem; }

/* Top Letterbox Bar Specs */
.cine-frame-topbar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: none; /* REMOVED INNER HORIZONTAL LINE */
  padding-bottom: 0.5rem;
  margin-bottom: 1.25rem;
}

.cine-aspect-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #08080C;
  background: #F4F3ED;
  border: none; /* REMOVED PILL BORDER */
  padding: 0.35rem 0.85rem;
  border-radius: 0; /* Sharp Corners */
}

.frame-pulse {
  width: 7px;
  height: 7px;
  border-radius: 0; /* Sharp Corners */
  background: #C7F255;
  box-shadow: 0 0 10px #C7F255;
}

.cine-frame-spec {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #888899;
}

/* Widescreen Frame Body */
.cine-frame-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 840px;
  margin: auto 0;
}

.portfolio-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--color-accent-gold, #D4AF37);
  background: #08080C;
  padding: 0.4rem 1rem;
  border-radius: 0; /* Sharp Corners */
  display: inline-block;
  margin-bottom: 1rem;
}

.portfolio-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 7vw, 5.8rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: #08080C;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.15em 0.35em;
  word-break: keep-all;
}

.portfolio-title-noir {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  text-transform: none;
  color: #08080C;
  font-weight: 400;
  display: inline-block;
  white-space: nowrap;
}

/* Variable Proximity Character Spans */
.prox-char {
  display: inline-block;
  white-space: pre;
  will-change: transform, font-weight, color;
  transform-origin: center bottom;
  transition: color 0.15s ease;
}

/* Horizontal Anamorphic Flare Line Accent - Hidden to avoid extra line */
.anamorphic-flare-line {
  display: none;
}

.portfolio-desc {
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: #555566;
  line-height: 1.55;
  max-width: 680px;
  margin: 0.5rem auto 0 auto;
}

/* Bottom Letterbox Bar Footer & Actions */
.cine-frame-footer {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: none;
  padding-top: 0.5rem;
  margin-top: 1.5rem;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cine-footer-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.portfolio-secondary-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #333344;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.3s ease, transform 0.3s ease;
  padding: 6px 0;
}

.portfolio-secondary-link:hover {
  color: #000000;
  transform: translateX(2px);
}

.portfolio-secondary-link svg {
  transition: transform 0.3s ease;
}

.portfolio-secondary-link:hover svg {
  transform: translate(2px, -2px);
}

.cine-footer-meta {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.meta-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  color: #9999AA;
  letter-spacing: 0.08em;
}

.meta-val {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  color: #08080C;
  letter-spacing: 0.05em;
  margin-top: 0.15rem;
}

.portfolio-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: #08080C;
  color: #FFFFFF;
  padding: 0.95rem 1.75rem;
  border-radius: 0; /* Sharp Corners */
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.portfolio-cta-btn:hover {
  background: #C7F255;
  color: #08080C;
  box-shadow: 0 8px 25px rgba(199, 242, 85, 0.4);
}

.portfolio-cta-btn svg {
  width: 16px;
  height: 16px;
}

/* Strict Horizontal Overflow & Screen Boundary Controls */
html, body, main {
  max-width: 100vw !important;
  overflow-x: hidden !important;
}

main, section, .section, .marquee-wrapper, .nav-header, .hero, .paper-reveal-section, .optics-showcase, .services-section, .work-section, .stats-section, .process-section, .testimonials-section, .cta-section {
  max-width: 100vw !important;
  overflow-x: hidden !important;
}

/* Responsive Grid Adaptation */
@media (max-width: 1024px) {
  .dotted-grid-9col {
    grid-template-columns: 1fr 1fr minmax(280px, 3fr) 1fr 1fr;
  }
  .grid-col--2, .grid-col--4, .grid-col--6, .grid-col--8 {
    display: none;
  }
}

@media (max-width: 768px) {
  .dotted-grid-9col {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .grid-col {
    border-right: none;
    border-bottom: 1.5px dotted rgba(0, 0, 0, 0.16);
    padding: 1.5rem 0.5rem;
  }
  .grid-col--center {
    border-left: none;
    border-right: none;
    padding: 2.5rem 1rem;
  }
  .grid-col-top--right {
    text-align: left;
    align-items: flex-start;
  }
  .grid-col-bottom--right {
    text-align: left;
  }
}
    grid-template-columns: 1fr;
  }
  .surf-mid-col {
    border-right: none;
    border-bottom: 1px solid #EEEEEE;
    padding-right: 0;
    padding-bottom: 1.5rem;
  }
}
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8A8A9A;
  text-align: center;
  padding: 0.75rem 0.4rem;
  border-right: 1px solid rgba(13, 13, 20, 0.1);
  background: rgba(13, 13, 20, 0.04);
}

.paper-filmstrip__frame:last-child {
  border-right: none;
}

/* ─── Showreel Section (Paper Sheet Slide-Up Overlay) ─── */

.showreel-section {
  background: #080810;
  position: relative;
  overflow: hidden;
  z-index: 50; /* Sits ON TOP of optics showcase for paper sheet overlay */
  box-shadow: 0 -30px 80px rgba(0, 0, 0, 0.95), 0 -1px 0 rgba(199, 242, 85, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  will-change: transform;
}

.showreel-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--color-border-gold) 50%,
    transparent 100%
  );
}

/* ─── Services Section (Section 4 High-Fashion Editorial Redesign) ─── */

.services-section {
  background: #D5D5CE;
  color: #0A0A0E;
  position: relative;
  padding: 50px 0 120px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.16);
  border-bottom: 1px solid rgba(0, 0, 0, 0.16);
  overflow: hidden;
}

/* Top Editorial Watermark Bar & Rule Line */
.persona-topbar {
  width: 100%;
  padding: 0 48px 20px 100px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.18);
  margin-bottom: 60px;
}

.persona-watermark {
  display: flex;
  flex-direction: column;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 0.05em;
  color: #000000;
  text-transform: uppercase;
}

/* Monumental Editorial Typographic Hero Statement (Matching Reference Image) */
.persona-hero-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 80px;
}

.persona-poster {
  position: relative;
  display: flex;
  flex-direction: column;
  user-select: none;
  padding: 10px 0 10px 48px;
}

.persona-asterisk {
  position: absolute;
  top: 8px;
  left: 10px;
  width: clamp(20px, 2.5vw, 28px);
  height: clamp(20px, 2.5vw, 28px);
}

.persona-topbar,
.persona-asterisk,
.poster-row,
.persona-cards-reveal {
  will-change: transform, filter, opacity;
}

.poster-row {
  display: flex;
  align-items: baseline;
  white-space: nowrap;
}

.poster-row-1 {
  line-height: 0.86;
  font-size: clamp(4.5rem, 11vw, 10.5rem);
  letter-spacing: -0.04em;
}

.word-systems {
  font-family: 'Ogg', Georgia, serif;
  font-weight: 400;
  color: #000000;
}

.word-that {
  font-family: 'Ogg', Georgia, serif;
  font-weight: 400;
  color: #000000;
  margin-left: 0.22em;
}

.poster-row-2 {
  display: flex;
  align-items: baseline;
  line-height: 0.80;
  margin-top: -0.04em;
  position: relative;
  z-index: 2;
}

.word-connect {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(5.2rem, 12.6vw, 12rem);
  font-weight: 800;
  color: #000000;
  letter-spacing: -0.06em;
  text-transform: lowercase;
  line-height: 0.80;
  margin-left: 0.30em;
}

.poster-row-3 {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  line-height: 0.85;
  margin-top: -0.04em;
  position: relative;
}

.word-people {
  font-family: 'Ogg', Georgia, serif;
  font-size: clamp(5.4rem, 13vw, 12.4rem);
  font-weight: 400;
  color: #000000;
  letter-spacing: -0.04em;
}

/* Floating Technical Notes (Matching Reference Image Annotations 1 & 2) */
.poster-note {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  font-size: clamp(8px, 0.75vw, 9.5px);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #000000;
  text-transform: uppercase;
  line-height: 1.25;
}

.note-1 {
  margin-left: clamp(20px, 3.2vw, 36px);
  max-width: 145px;
  position: relative;
  top: clamp(-18px, -2.4vw, -32px);
}

.note-2 {
  max-width: 180px;
  margin-right: clamp(24px, 3.5vw, 40px);
  align-self: flex-start;
  margin-top: 14px;
}

.note-id {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  color: #000000;
}

.note-text {
  display: inline-block;
}


/* Revealed Content & Service Cards (Pop Up on Scroll) */
.persona-cards-reveal {
  opacity: 0;
  transform: translateY(70px) scale(0.96);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.persona-cards-reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.persona-cards-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px auto;
}

.persona-cards-header .services-eyebrow {
  display: block;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #333333;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.persona-cards-header .services-title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #000000;
  line-height: 1.15;
  margin-bottom: 14px;
}

.persona-cards-header .services-subtitle {
  font-size: clamp(0.9rem, 1.2vw, 1.05rem);
  color: #555555;
  line-height: 1.6;
}

/* Service Cards Styling for Light Editorial Background (Modern 2x2 Grid) */
.services-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

@media (max-width: 768px) {
  .services-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.service-card-item {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 40px 36px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.03);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.45s ease, box-shadow 0.45s ease, background-color 0.45s ease;
  position: relative;
  overflow: hidden;
}

.service-card-item:hover {
  transform: translateY(-8px);
  background-color: #FAFAFA;
  border-color: rgba(0, 0, 0, 0.28);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.09);
}

.service-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.service-card__number {
  font-size: 1.5rem;
  font-weight: 800;
  color: #000000;
  letter-spacing: -0.02em;
}

.service-card__total {
  font-size: 0.85rem;
  font-weight: 600;
  color: #777777;
  margin-left: 4px;
}

.service-card__icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  transition: transform 0.45s ease, background 0.45s ease, color 0.45s ease;
}

.service-card-item:hover .service-card__icon-wrap {
  transform: rotate(45deg) scale(1.05);
  background: #111115;
}

.service-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-card__title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #000000;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  line-height: 1.25;
}

.service-card__desc {
  font-size: 0.92rem;
  color: #444444;
  line-height: 1.6;
}

.service-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  flex-wrap: wrap;
}

.service-card__tag {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.10em;
  color: #000000;
  background: rgba(0, 0, 0, 0.05);
  padding: 6px 12px;
  border-radius: 100px;
  text-transform: uppercase;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  color: #000000;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 0.3s ease;
}

.service-card__link .link-arrow {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card-item:hover .service-card__link .link-arrow {
  transform: translate(4px, -4px);
}

/* Lower Action CTAs */
.services-footer-block {
  margin-top: 40px;
}

.services-cta-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.services-primary-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: #000000;
  color: #FFFFFF;
  border-radius: 100px;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.35s ease, background-color 0.35s ease, box-shadow 0.35s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.services-primary-cta:hover {
  transform: translateY(-3px) scale(1.02);
  background-color: #1a1a22;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.services-secondary-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  color: #000000;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  transition: opacity 0.3s ease;
}

.services-secondary-link:hover {
  opacity: 0.75;
}

@media (max-width: 768px) {
  .services-section {
    padding: 50px 0 80px 0;
  }
  .persona-topbar {
    padding: 0 20px 16px 20px;
    margin-bottom: 40px;
  }
  .persona-line {
    white-space: normal;
  }
  .persona-note {
    display: none;
  }
  .services-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .services-metrics-bar {
    flex-direction: column;
    gap: 16px;
  }
  .metric-divider {
    width: 40px;
    height: 1px;
  }
}

/* ─── Work / Projects Section ─── */

.work-section {
  background: var(--color-bg-primary);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

/* First card spans 2 columns */
.work-grid .project-card:first-child {
  grid-column: span 2;
}

@media (max-width: 1024px) {
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .work-grid .project-card:first-child {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .work-grid {
    grid-template-columns: 1fr;
  }
  .work-grid .project-card:first-child {
    grid-column: span 1;
  }
}

/* ─── Stats Section ─── */

.stats-section {
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(201, 168, 76, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  position: relative;
  z-index: 1;
}

.stats-grid .stat-item {
  padding-right: var(--space-lg);
  border-right: 1px solid var(--color-border);
}

.stats-grid .stat-item:last-child {
  border-right: none;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }
  .stats-grid .stat-item {
    border-right: none;
  }
  .stats-grid .stat-item:nth-child(odd) {
    border-right: 1px solid var(--color-border);
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ─── Process Section ─── */

.process-section {
  background: var(--color-bg-primary);
  position: relative;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

@media (max-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── Testimonials Section ─── */

.testimonials-section {
  background: var(--color-bg-secondary);
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(201, 168, 76, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.testimonial-carousel {
  position: relative;
}

.testimonial-slide {
  display: none;
  animation: fadeIn 0.6s var(--ease-out-expo) both;
}

.testimonial-slide.active {
  display: block;
}

.testimonial-dots {
  display: flex;
  gap: var(--space-xs);
  justify-content: center;
  margin-top: var(--space-xl);
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-border-strong);
  cursor: pointer;
  transition:
    background 0.3s ease,
    transform 0.3s ease;
}

.testimonial-dot.active {
  background: var(--color-accent-gold);
  transform: scale(1.3);
}

/* ─── CTA Section ─── */

.cta-heading {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 7rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.0;
  margin-bottom: var(--space-xl);
}

.cta-heading em {
  font-style: italic;
  color: var(--color-accent-gold);
}

/* ─── Client Logos Strip ─── */

.clients-strip {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.client-logo {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 300;
  color: var(--color-text-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.client-logo:hover {
  color: var(--color-text-secondary);
}

/* Project card fallback gradient backgrounds */
.project-card__fallback-bg {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.grad-1 { background: linear-gradient(135deg, #0a0a18 0%, #1a1030 50%, #0d0820 100%); }
.grad-2 { background: linear-gradient(135deg, #0a1018 0%, #10202e 50%, #080e18 100%); }
.grad-3 { background: linear-gradient(135deg, #180a0a 0%, #2a1018 50%, #180808 100%); }
.grad-4 { background: linear-gradient(135deg, #0a1800 0%, #101e00 50%, #0a1400 100%); }
.grad-5 { background: linear-gradient(135deg, #10100a 0%, #1e1e0a 50%, #181800 100%); }

.project-card__fallback-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 40% 60%, rgba(201,168,76,0.08) 0%, transparent 60%);
}

/* ─── Work Page ─── */

.work-page-hero {
  padding-top: calc(var(--nav-height) + var(--space-2xl));
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--color-border);
}

/* ─── About Page ─── */

.about-hero {
  padding-top: calc(var(--nav-height) + var(--space-2xl));
  padding-bottom: var(--space-xl);
}

.team-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.team-card__avatar {
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg-card);
  position: relative;
}

.team-card__avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-in-out-expo);
}

.team-card:hover .team-card__avatar-img {
  transform: scale(1.05);
}

.team-card__name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
}

.team-card__role {
  font-size: var(--text-sm);
  color: var(--color-accent-gold);
  letter-spacing: 0.08em;
}

/* ─── Contact Page ─── */

.contact-page {
  min-height: 100vh;
  padding-top: calc(var(--nav-height) + var(--space-xl));
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.form-label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-dim);
}

.form-input,
.form-textarea,
.form-select {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1em 1.25em;
  color: var(--color-text-primary);
  font-size: var(--text-base);
  font-family: var(--font-body);
  width: 100%;
  transition:
    border-color 0.3s ease,
    background 0.3s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-border-gold);
  background: var(--color-bg-card-hover);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-text-dim);
}

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

/* ─── Section 5: The Stardust Process (PinSpacer Scroll & Pure Black & White) ─── */

.process-section {
  background: #000000;
  color: #FFFFFF;
  position: relative;
  padding: 90px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  overflow: hidden;
}

.process-pin-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 75vh;
}

.process-header {
  margin-bottom: 32px;
}

.process-header-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.process-eyebrow {
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #888888;
  text-transform: uppercase;
}

.process-step-indicator {
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 14px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-transform: uppercase;
}

.process-title {
  font-size: clamp(2.4rem, 4.8vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  line-height: 1.1;
  margin-bottom: 14px;
}

.process-title-accent {
  font-family: 'Ogg', Georgia, serif;
  font-weight: 400;
  font-style: italic;
  color: #FFFFFF;
}

.process-subtitle {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.2vw, 1.15rem);
  color: #AAAAAA;
  max-width: 720px;
  line-height: 1.6;
  font-style: italic;
  border-left: 2px solid #FFFFFF;
  padding-left: 18px;
}

/* Monochrome Step Navigation Track */
.process-nav-track {
  position: relative;
  margin-bottom: 36px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.process-nav-progress-bar {
  position: absolute;
  bottom: -1px;
  left: 0;
  height: 2px;
  width: 20%;
  background: #FFFFFF;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1), left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 12px #FFFFFF;
}

.process-nav-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}

.process-nav-steps::-webkit-scrollbar {
  display: none;
}

.process-nav-item {
  background: transparent;
  border: none;
  color: #666666;
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 8px 14px;
  border-radius: 100px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.3s ease, background 0.3s ease;
}

.process-nav-item:hover,
.process-nav-item.is-active {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.12);
}

/* Pinned Cards Stage Showcase */
.process-stage-wrapper {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
}

.process-cards-stage {
  width: 100%;
  position: relative;
  min-height: 360px;
}

.process-stage-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0A0A0A;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  padding: 44px 38px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  transform: translateY(40px) scale(0.96);
  filter: blur(10px);
  pointer-events: none;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.process-stage-card.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0px);
  pointer-events: auto;
  border-color: rgba(255, 255, 255, 0.6);
}

.stage-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stage-card-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.03em;
}

.stage-card-total {
  font-size: 1rem;
  font-weight: 600;
  color: #666666;
  margin-left: 6px;
}

.stage-card-tag {
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #FFFFFF;
  background: #1A1A1A;
  border: 1px solid #333333;
  padding: 8px 16px;
  border-radius: 100px;
  text-transform: uppercase;
}

.stage-card-body {
  margin: 24px 0;
}

.stage-card-title {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.stage-card-desc {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: #CCCCCC;
  line-height: 1.6;
  max-width: 780px;
}

.stage-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stage-footer-mono {
  font-family: var(--font-mono, monospace);
  font-size: 0.7rem;
  font-weight: 700;
  color: #888888;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.stage-footer-status {
  font-family: var(--font-mono, monospace);
  font-size: 0.7rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

/* Monochrome Process Footer */
.process-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  flex-wrap: wrap;
}

.process-proof-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #AAAAAA;
  font-size: 0.88rem;
  font-weight: 500;
}

.proof-star {
  color: #FFFFFF;
  font-size: 1rem;
}

.process-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: #FFFFFF;
  color: #000000;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.35s ease, background-color 0.35s ease, box-shadow 0.35s ease;
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.process-cta-btn:hover {
  transform: translateY(-3px) scale(1.02);
  background-color: #E5E5E5;
  color: #000000;
  box-shadow: 0 15px 35px rgba(255, 255, 255, 0.25);
}

.process-cta-btn .cta-arrow {
  transition: transform 0.35s ease;
}

.process-cta-btn:hover .cta-arrow {
  transform: translate(4px, -4px);
}

@media (max-width: 768px) {
  .process-section {
    padding: 60px 0;
  }
  .process-stage-card {
    padding: 28px 22px;
  }
  .stage-card-num {
    font-size: 1.8rem;
  }
  .process-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ─── Section 6: What the Work Delivers (Awwwards-Level Editorial Layout) ─── */

.delivers-section {
  background: #F4F4EE;
  color: #0A0A0E;
  position: relative;
  padding: 120px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

.delivers-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 64px auto;
}

.delivers-header-meta {
  margin-bottom: 14px;
}

.delivers-eyebrow {
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #555555;
  text-transform: uppercase;
}

.delivers-title {
  font-size: clamp(2.6rem, 5.2vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0A0A0E;
  line-height: 1.1;
  margin-bottom: 20px;
}

.delivers-title-accent {
  font-family: 'Ogg', Georgia, serif;
  font-weight: 400;
  font-style: italic;
  color: #0A0A0E;
}

.delivers-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: #444444;
  line-height: 1.6;
  font-style: italic;
  max-width: 680px;
  margin: 0 auto;
}

/* 4 Metric Cards Horizontal Row */
.delivers-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 88px;
}

.delivers-metric-card {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  padding: 38px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease, border-color 0.45s ease;
  position: relative;
}

.delivers-metric-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 0, 0, 0.3);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.08);
}

.metric-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.delivers-card-index {
  font-family: var(--font-mono, monospace);
  font-size: 0.75rem;
  font-weight: 800;
  color: #888888;
}

.delivers-card-badge {
  font-family: var(--font-mono, monospace);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #111111;
  background: rgba(0, 0, 0, 0.05);
  padding: 4px 10px;
  border-radius: 100px;
}

.delivers-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0A0A0E;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.delivers-card-desc {
  font-size: 0.92rem;
  color: #555555;
  line-height: 1.55;
}

/* Project Highlights Header & 3-Column Grid */
.delivers-highlights-header {
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.delivers-highlights-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #333333;
}

.delivers-projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 72px;
}

.delivers-project-card {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.04);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease, border-color 0.45s ease;
  display: flex;
  flex-direction: column;
}

.delivers-project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 0, 0, 0.35);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.1);
}

.delivers-project-media {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.delivers-project-bg {
  width: 100%;
  height: 100%;
  position: relative;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.delivers-project-card:hover .delivers-project-bg {
  transform: scale(1.04);
}

.grad-glass {
  background: linear-gradient(135deg, #1C1C24 0%, #2D303E 50%, #121218 100%);
}

.grad-night {
  background: linear-gradient(135deg, #0A0A12 0%, #1A1A2A 50%, #05050A 100%);
}

.grad-horizon {
  background: linear-gradient(135deg, #2A1A18 0%, #3D2622 50%, #150E0C 100%);
}

.project-overlay-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  z-index: 2;
}

.project-category-tag {
  font-family: var(--font-mono, monospace);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  padding: 5px 12px;
  border-radius: 100px;
}

.project-year-tag {
  font-family: var(--font-mono, monospace);
  font-size: 0.65rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
}

.delivers-project-content {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.delivers-project-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #0A0A0E;
  letter-spacing: -0.025em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 0.3s ease;
}

.delivers-project-title .project-title-arrow {
  transition: transform 0.35s ease, opacity 0.35s ease;
  opacity: 0.6;
}

.delivers-project-card:hover .delivers-project-title .project-title-arrow {
  transform: translate(4px, -4px);
  opacity: 1;
}

.delivers-project-desc {
  font-size: 0.92rem;
  color: #555555;
  line-height: 1.55;
}

/* Bottom CTA */
.delivers-footer {
  text-align: center;
  margin-top: 20px;
}

.delivers-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: #0A0A0E;
  color: #FFFFFF;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.35s ease, background-color 0.35s ease, box-shadow 0.35s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.delivers-cta-btn:hover {
  transform: translateY(-3px) scale(1.02);
  background-color: #1A1A24;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.delivers-cta-btn .cta-arrow {
  transition: transform 0.35s ease;
}

.delivers-cta-btn:hover .cta-arrow {
  transform: translate(4px, -4px);
}

/* Responsive Breakdown */
@media (max-width: 1024px) {
  .delivers-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .delivers-projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .delivers-section {
    padding: 75px 0;
  }
  .delivers-metrics-grid,
  .delivers-projects-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* ─── Section 7: Gamified Maintenance Lab ─── */

.maintenance-lab-section {
  background: #05050A;
  color: #FFFFFF;
  position: relative;
  padding: 120px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.lab-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
}

.lab-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.lab-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00FF88;
  box-shadow: 0 0 10px #00FF88;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
}

.lab-status-text {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #FFFFFF;
  text-transform: uppercase;
}

.lab-title {
  font-size: clamp(2.6rem, 5.2vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  line-height: 1.1;
  margin-bottom: 18px;
}

.lab-title-accent {
  font-family: 'Ogg', Georgia, serif;
  font-weight: 400;
  font-style: italic;
  color: #D4AF37;
}

.lab-subtitle {
  font-family: var(--font-body);
  font-size: clamp(0.98rem, 1.3vw, 1.15rem);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

/* Arcade Wrapper & Stage */
.lab-arcade-wrapper {
  background: rgba(12, 12, 18, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  padding: 24px;
  backdrop-filter: blur(16px);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.9);
}

.arcade-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
}

.arcade-meta-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.meta-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
}

.meta-val {
  font-size: 0.8rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: 0.08em;
}

.arcade-progress-track {
  width: 180px;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  overflow: hidden;
}

.arcade-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #FFFFFF, #D4AF37);
  transition: width 0.3s ease;
  box-shadow: 0 0 10px #D4AF37;
}

.arcade-stage-container {
  position: relative;
  width: 100%;
  height: 480px;
  border-radius: 16px;
  overflow: hidden;
  background: #020204;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: crosshair;
}

#maintenance-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.arcade-canvas-guidance {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 8px 18px;
  border-radius: 100px;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.guide-icon {
  color: #D4AF37;
  font-size: 0.85rem;
}

.guide-text {
  font-family: var(--font-mono, monospace);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #FFFFFF;
}

/* Secret Reward Modal Overlay */
.arcade-reward-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 8, 0.92);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.95);
  transition: opacity 0.5s ease, transform 0.5s ease;
  z-index: 10;
  padding: 30px;
}

.arcade-reward-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.reward-content {
  text-align: center;
  max-width: 520px;
}

.reward-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #D4AF37;
  background: rgba(212, 175, 55, 0.12);
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  margin-bottom: 16px;
}

.reward-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.reward-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 24px;
}

.reward-email-form {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.reward-email-input {
  flex: 1;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  color: #FFFFFF;
  font-size: 0.85rem;
}

.reward-email-input:focus {
  outline: none;
  border-color: #D4AF37;
}

.reward-submit-btn {
  padding: 12px 24px;
  background: #FFFFFF;
  color: #000000;
  border: none;
  border-radius: 100px;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.reward-submit-btn:hover {
  background: #D4AF37;
  transform: scale(1.03);
}

.reward-reset-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: color 0.3s ease;
}

.reward-reset-btn:hover {
  color: #FFFFFF;
}

/* Controls Bar */
.arcade-controls-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.arcade-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  padding: 10px 20px;
  color: #FFFFFF;
  font-family: var(--font-mono, monospace);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.arcade-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

/* ─── Grain Texture Overlay ─── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}
