/* ==========================================================================
   MASON VFX — EDITORIAL DESIGN SYSTEM & STYLESHEET
   Aesthetic: Editorial White & Warm Amber Accent / High-End 3D & Craft
   Client: Mason (@masonnvfx)
   ========================================================================== */

:root {
  /* Color System: Refined Off-White & Warm Amber */
  --bg-page: #FAF9F5;
  --bg-card: #FFFFFF;
  --bg-subtle: #F3F1EA;
  --bg-muted: #ECE9DE;

  /* Accent: Warm Solar Amber (Refined, Non-Neon) */
  --amber-core: #F59E0B;
  --amber-warm: #EAB308;
  --amber-deep: #D97706;
  --amber-subtle: #FEF9C3;
  --amber-tint: rgba(234, 179, 8, 0.12);

  /* Typography Colors */
  --text-main: #121215;
  --text-muted: #555562;
  --text-tertiary: #828290;
  --text-inverse: #FFFFFF;

  /* Borders & Dividers */
  --border-light: rgba(18, 18, 21, 0.07);
  --border-card: rgba(18, 18, 21, 0.1);
  --border-focus: rgba(217, 119, 6, 0.4);

  /* Shadows (Subtle, Layered Elevation) */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px -2px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 12px 32px -6px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.03);

  /* Typography Stacks */
  --font-display: 'Syne', system-ui, -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Motion Timing (Natural Spring Curves) */
  --ease-out-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 160ms;
  --dur-normal: 260ms;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  background-color: var(--bg-page);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  background-color: var(--bg-page);
  color: var(--text-main);
  overflow-x: hidden;
  position: relative;
}

::selection {
  background: var(--amber-subtle);
  color: var(--text-main);
}

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

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

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

.wrap {
  width: min(1200px, 100% - 3rem);
  margin-inline: auto;
}

/* ==========================================================================
   NAVIGATION BAR (STREAMLINED & CLEAN)
   ========================================================================== */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 64px;
  background: rgba(250, 249, 245, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: background var(--dur-fast), border-color var(--dur-fast);
}

.top-nav.scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--border-card);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Brand */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.brand-divider {
  color: var(--border-card);
  font-weight: 400;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--amber-deep);
  letter-spacing: 0.04em;
}

/* Desktop Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--dur-fast);
}

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

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px;
  background: #121215;
  color: #FFFFFF;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform var(--dur-fast), background var(--dur-fast);
}

.nav-cta-btn:hover {
  background: #000000;
  transform: translateY(-1px);
}

.nav-cta-btn:active {
  transform: scale(0.98);
}

.nav-cta-btn svg {
  fill: var(--amber-warm);
}

/* Mobile Toggle Hamburger */
.mobile-toggle-btn {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid transparent;
}

.mobile-toggle-btn .bar {
  display: block;
  width: 20px;
  height: 1.75px;
  background: var(--text-main);
  transition: transform var(--dur-fast), opacity var(--dur-fast);
}

/* Mobile Slide Drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-card);
  box-shadow: var(--shadow-lg);
  padding: 20px 24px 28px;
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--dur-normal) var(--ease-out-smooth), opacity var(--dur-normal) var(--ease-out-smooth);
}

.mobile-drawer.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mobile-link {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  padding: 8px 0;
}

.mobile-drawer-footer {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ==========================================================================
   BUTTONS & FORM CONTROLS
   ========================================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  background: var(--amber-core);
  color: #121215;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.92rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-fast), background var(--dur-fast), box-shadow var(--dur-fast);
}

.btn-primary:hover {
  background: var(--amber-warm);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-primary.large {
  height: 50px;
  padding: 0 28px;
  font-size: 1rem;
}

.btn-primary.btn-sm {
  height: 36px;
  padding: 0 14px;
  font-size: 0.82rem;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 20px;
  background: var(--bg-card);
  color: var(--text-main);
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-fast), background var(--dur-fast), border-color var(--dur-fast);
}

.btn-secondary:hover {
  background: var(--bg-subtle);
  border-color: rgba(18, 18, 21, 0.2);
  transform: translateY(-1px);
}

.btn-secondary:active {
  transform: scale(0.98);
}

.btn-secondary.large {
  height: 50px;
  padding: 0 26px;
  font-size: 1rem;
}

.btn-secondary.btn-sm {
  height: 36px;
  padding: 0 14px;
  font-size: 0.82rem;
}

.full-width {
  width: 100%;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-sec {
  padding-top: 124px;
  padding-bottom: 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  width: fit-content;
}

.dot-amber {
  width: 7px;
  height: 7px;
  background: var(--amber-core);
  border-radius: 50%;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-main);
}

.hero-desc {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 520px;
}

.hero-desc strong {
  color: var(--text-main);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 4px;
}

.hero-social-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 6px;
}

.icon-link {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: color var(--dur-fast), border-color var(--dur-fast), background var(--dur-fast);
}

.icon-link:hover {
  color: var(--text-main);
  border-color: rgba(18, 18, 21, 0.25);
  background: var(--bg-subtle);
}

/* Metrics Row */
.metrics-row {
  display: flex;
  gap: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  margin-top: 8px;
}

.metric-col {
  display: flex;
  flex-direction: column;
}

.metric-number {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-main);
}

.metric-caption {
  font-size: 0.78rem;
  color: var(--text-tertiary);
  margin-top: 2px;
}

/* ==========================================================================
   HERO SPOTLIGHT WORK CARD
   ========================================================================== */
.hero-spotlight-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--dur-fast), border-color var(--dur-fast), box-shadow var(--dur-fast);
  cursor: pointer;
  max-width: 440px;
  margin-left: auto;
}

.hero-spotlight-card:hover {
  transform: translateY(-4px);
  border-color: rgba(18, 18, 21, 0.25);
  box-shadow: var(--shadow-lg);
}

.hero-spotlight-card:active {
  transform: scale(0.99);
}

.spotlight-media-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 13;
  background: #000000;
  overflow: hidden;
}

.spotlight-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-out-smooth);
}

.hero-spotlight-card:hover .spotlight-thumb {
  transform: scale(1.04);
}

.spotlight-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0) 45%, rgba(0,0,0,0.85) 100%);
  pointer-events: none;
}

.spotlight-tag-top {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.badge-spotlight {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--amber-warm);
  color: #121215;
}

.badge-metric {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  color: #FFFFFF;
}

.spotlight-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #121215;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transition: transform var(--dur-fast), background var(--dur-fast);
  z-index: 3;
}

.spotlight-play-btn svg {
  margin-left: 3px;
}

.hero-spotlight-card:hover .spotlight-play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--amber-core);
}

.spotlight-caption-bottom {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.spotlight-client-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.spotlight-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.spotlight-client-name {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  color: #FFFFFF;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.spotlight-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.25;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.spotlight-sub {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.4;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   CLIENT MARQUEE TICKER (SUBTLE PROOF)
   ========================================================================== */
.clients-ticker-sec {
  padding: 24px 0 28px;
  background: var(--bg-card);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}

.ticker-caption {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 16px;
}

.ticker-wrapper {
  display: flex;
  width: max-content;
  animation: marqueeRoll 38s linear infinite;
}

.ticker-wrapper:hover {
  animation-play-state: paused;
}

.ticker-block {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-right: 24px;
}

.ticker-client {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background: var(--bg-page);
  border: 1px solid var(--border-card);
  border-radius: 999px;
  white-space: nowrap;
  transition: border-color var(--dur-fast), background var(--dur-fast);
}

.ticker-client:hover {
  border-color: rgba(18, 18, 21, 0.25);
  background: var(--bg-subtle);
}

.ticker-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
}

.ticker-name {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-main);
}

.ticker-subs {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-tertiary);
}

@keyframes marqueeRoll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   SECTION LEAD & HEADINGS
   ========================================================================== */
.section-lead {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 36px;
}

.section-kicker {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--amber-deep);
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-main);
}

.section-description {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 580px;
}

/* ==========================================================================
   SELECTED WORK (23 VIDEOS + CLEAN CONTROLS)
   ========================================================================== */
.work-sec {
  padding: 80px 0;
}

.work-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}

.filter-tab {
  font-size: 0.84rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 8px;
  background: var(--bg-card);
  color: var(--text-muted);
  border: 1px solid var(--border-card);
  transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast);
}

.filter-tab:hover {
  color: var(--text-main);
  border-color: rgba(18, 18, 21, 0.25);
}

.filter-tab.active {
  background: #121215;
  color: #FFFFFF;
  border-color: #121215;
}

.layout-toggle {
  display: flex;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 8px;
  padding: 2px;
}

.layout-btn {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 6px;
  color: var(--text-muted);
  transition: background var(--dur-fast), color var(--dur-fast);
}

.layout-btn.active {
  background: var(--bg-subtle);
  color: var(--text-main);
}

/* Video Grid Layout */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}

/* Horizontal Rail Layout */
.video-rail {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding-bottom: 16px;
  scroll-snap-type: x mandatory;
}

.video-rail .work-card {
  min-width: 280px;
  max-width: 300px;
  scroll-snap-align: start;
}

/* Video Card */
.work-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--dur-fast), border-color var(--dur-fast), box-shadow var(--dur-fast);
  cursor: pointer;
}

.work-card:hover {
  transform: translateY(-4px);
  border-color: rgba(18, 18, 21, 0.25);
  box-shadow: var(--shadow-md);
}

.work-card:active {
  transform: scale(0.99);
}

.card-media-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 13;
  background: #000000;
  overflow: hidden;
}

.card-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s var(--ease-out-smooth);
}

.work-card:hover .card-thumb-img {
  transform: scale(1.04);
}

.card-media-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0) 40%, rgba(0,0,0,0.7) 100%);
  pointer-events: none;
}

.card-pills-top {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.pill-metric {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 7px;
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  color: #FFFFFF;
}

.pill-metric.amber {
  background: var(--amber-warm);
  color: #121215;
}

.card-play-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #121215;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform var(--dur-fast), background var(--dur-fast);
  z-index: 3;
}

.card-play-center svg {
  margin-left: 2px;
}

.work-card:hover .card-play-center {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--amber-core);
}

.card-info {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--bg-card);
  flex: 1;
}

.card-channel {
  display: flex;
  align-items: center;
  gap: 7px;
}

.card-channel-img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
}

.card-channel-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
}

.card-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-main);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: auto;
  padding-top: 4px;
}

.tag-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  padding: 2px 6px;
  background: var(--bg-page);
  border-radius: 4px;
  color: var(--text-tertiary);
}

/* ==========================================================================
   CREATOR REVIEWS & TESTIMONIALS
   ========================================================================== */
.reviews-sec {
  padding: 80px 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
}

.review-card {
  background: var(--bg-page);
  border: 1px solid var(--border-card);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform var(--dur-fast), border-color var(--dur-fast);
}

.review-card:hover {
  transform: translateY(-2px);
  border-color: rgba(18, 18, 21, 0.22);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-card);
}

.review-meta h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
}

.review-sub {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--amber-deep);
}

.review-body {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.review-metric {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-main);
  background: #FFFFFF;
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid var(--border-light);
  width: fit-content;
}

/* ==========================================================================
   PRODUCTION PIPELINE
   ========================================================================== */
.pipeline-sec {
  padding: 80px 0;
}

.pipeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.pipeline-box {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 14px;
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform var(--dur-fast), border-color var(--dur-fast);
}

.pipeline-box:hover {
  transform: translateY(-2px);
  border-color: rgba(18, 18, 21, 0.25);
}

.pipe-step-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--amber-deep);
  line-height: 1;
}

.pipe-step-timing {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-tertiary);
}

.pipe-step-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
}

.pipe-step-desc {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.pipe-tools-row {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding-top: 6px;
}

.tool-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 2px 6px;
  background: var(--bg-page);
  border-radius: 4px;
  color: var(--text-muted);
}

/* ==========================================================================
   ABOUT & TOOLKIT
   ========================================================================== */
.about-sec {
  padding: 80px 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 32px;
  align-items: start;
}

.profile-card {
  background: var(--bg-page);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.profile-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--amber-warm);
}

.profile-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
}

.profile-handle {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--amber-deep);
}

.profile-text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.discord-card {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.discord-label {
  font-size: 0.85rem;
  font-weight: 700;
  display: block;
}

.discord-id-val {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-tertiary);
}

.btn-copy-sm {
  padding: 5px 12px;
  background: var(--bg-page);
  border: 1px solid var(--border-card);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-main);
  transition: background var(--dur-fast);
}

.btn-copy-sm:hover {
  background: var(--amber-subtle);
}

.tools-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tools-heading {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.tool-item {
  background: var(--bg-page);
  border: 1px solid var(--border-card);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tool-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tool-name {
  font-size: 0.92rem;
  font-weight: 700;
}

.tool-role-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--amber-deep);
}

.tool-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Commission Brief Box */
.brief-card {
  margin-top: 48px;
  background: var(--bg-page);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 32px;
}

.brief-header h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
}

.brief-header p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.brief-inputs-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 20px 0;
}

.input-col label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.select-field {
  width: 100%;
  padding: 9px 12px;
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: 8px;
  font-size: 0.86rem;
  outline: none;
}

.brief-preview-box {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: 10px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.preview-caption {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-tertiary);
  display: block;
}

.brief-text-wrap p {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-main);
  margin-top: 4px;
}

.brief-btn-group {
  display: flex;
  gap: 8px;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-sec {
  padding: 90px 0;
  text-align: center;
}

.contact-box {
  max-width: 680px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.contact-headline {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.8vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.contact-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
}

.contact-actions-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 10px;
}

.social-tags-row {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.social-pill {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 6px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 6px;
  transition: color var(--dur-fast), border-color var(--dur-fast);
}

.social-pill:hover {
  color: var(--text-main);
  border-color: rgba(18, 18, 21, 0.25);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  padding: 32px 0;
  background: #FFFFFF;
  border-top: 1px solid var(--border-light);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.footer-bullet {
  margin: 0 4px;
  color: var(--border-card);
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-right a:hover {
  color: var(--text-main);
}

/* ==========================================================================
   THEATER MODAL LIGHTBOX
   ========================================================================== */
.modal-scrim {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(18, 18, 21, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.modal-scrim.open {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: #FFFFFF;
  border-radius: 18px;
  width: min(880px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 360px 1fr;
  position: relative;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
  transform: scale(0.96);
  transition: transform 0.25s var(--ease-out-smooth);
}

.modal-scrim.open .modal-box {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  z-index: 10;
  transition: background var(--dur-fast);
}

.modal-close:hover {
  background: var(--bg-muted);
}

.modal-media-col {
  background: #000000;
  min-height: 480px;
}

.modal-frame-holder {
  width: 100%;
  height: 100%;
}

.modal-frame-holder iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.modal-details-col {
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal-creator-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-creator-img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
}

.modal-creator-name {
  font-size: 0.95rem;
  font-weight: 700;
}

.modal-creator-sub {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--amber-deep);
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.25;
}

.modal-metrics-strip {
  display: flex;
  gap: 20px;
  padding: 10px 14px;
  background: var(--bg-page);
  border-radius: 8px;
}

.modal-metric .val {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  display: block;
}

.modal-metric .lbl {
  font-size: 0.72rem;
  color: var(--text-tertiary);
}

.modal-breakdown-card {
  background: var(--bg-page);
  border-radius: 10px;
  padding: 14px;
}

.breakdown-kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--amber-deep);
  display: block;
  margin-bottom: 4px;
}

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

.modal-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 10px;
}

.modal-steppers {
  display: flex;
  gap: 6px;
}

.stepper-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  transition: background var(--dur-fast);
}

.stepper-btn:hover {
  background: var(--bg-subtle);
}

/* Toast Notification */
.toast-pill {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2000;
  background: #121215;
  color: #FFFFFF;
  padding: 10px 18px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  transform: translateY(60px);
  opacity: 0;
  transition: transform var(--dur-normal) var(--ease-out-smooth), opacity var(--dur-normal);
  pointer-events: none;
}

.toast-pill.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVENESS (UX FIRST)
   ========================================================================== */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-layout {
    grid-template-columns: 1fr;
  }

  .modal-box {
    grid-template-columns: 1fr;
    max-height: 85vh;
  }

  .modal-media-col {
    min-height: 380px;
  }
}

@media (max-width: 768px) {
  .wrap {
    width: min(100% - 2rem, 1200px);
  }

  .nav-links {
    display: none;
  }

  .mobile-toggle-btn {
    display: flex;
  }

  .mobile-drawer {
    display: block;
  }

  .hero-sec {
    padding-top: 96px;
    padding-bottom: 48px;
  }

  .metrics-row {
    gap: 20px;
  }

  .hero-spotlight-card {
    margin-left: 0;
    max-width: 100%;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .contact-actions-row {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary.large, .btn-secondary.large {
    width: 100%;
  }

  .brief-card {
    padding: 20px;
  }

  .brief-preview-box {
    flex-direction: column;
    align-items: stretch;
  }

  .brief-btn-group {
    flex-direction: column;
  }
}
