/* ==========================================================================
   Dan Rubin VFX Portfolio — Tier-1 Studio Benchmark Design System
   Synthesized from:
   - Image Engine (https://image-engine.com/): Crisp White Canvas, Expansive Whitespace
   - Digital Domain (https://digitaldomain.com/): High-Contrast Precision Ruby Accents
   - Wētā FX (https://www.wetafx.co.nz/): Monolithic Grotesque Typography, Wide-Tracked
     Metadata, Deep Cinema Letterbox Framing
   - Eyeline Studios (https://eyelinestudios.com/en): Innovation Lab Tech Badges,
     Monospace Pipeline Tags, Sleek Floating Controls
   ========================================================================== */

:root {
  /* Canvas & Surfaces (Image Engine Studio White) */
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --bg-tertiary: #f1f3f5;
  --bg-surface: #ffffff;
  --bg-elevated: #ffffff;
  --bg-cinema: #080a0e;         /* Wētā FX Deep Cinema Screen Matte */
  --bg-backdrop: rgba(8, 10, 14, 0.94);

  /* Typography */
  --text-main: #111827;         /* Deep Jet Black */
  --text-body: #374151;         /* Dark Slate */
  --text-muted: #6b7280;        /* Mid Slate */
  --text-light: #9ca3af;
  --text-inverse: #ffffff;

  /* Architectural Hairlines & Dividers */
  --border-light: #e2e8f0;
  --border-medium: #cbd5e1;
  --border-dark: #0f172a;
  --border: #e2e8f0;            /* Alias for component compatibility */
  --border-mid: #cbd5e1;

  /* Studio Accents (Tier-1 Synthesis) */
  --accent: #0f172a;            /* Executive Studio Black */
  --accent-hover: #1e293b;
  --accent-crimson: #b91c1c;     /* Digital Domain Precision Ruby */
  --accent-crimson-bg: rgba(185, 28, 28, 0.08);
  --accent-crimson-border: rgba(185, 28, 28, 0.35);
  --accent-tech: #0284c7;        /* Eyeline Tech Innovation Blue */
  --accent-tech-bg: rgba(2, 132, 199, 0.08);
  --accent-tech-border: rgba(2, 132, 199, 0.35);
  --accent-gold: #c59b27;       /* Emmy & Industry Recognition Gold */
  --accent-gold-bg: rgba(197, 155, 39, 0.12);
  --accent-gold-border: rgba(197, 155, 39, 0.4);

  /* Typography Stacks: Ultra-clean modern neo-grotesque matching reference screenshot (Inter) */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-heading: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Space Mono", "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;

  /* Spring Micro-Interaction Timing */
  --spring-easing: cubic-bezier(0.34, 1.56, 0.64, 1);
  --smooth-easing: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: 1.6;
}

body.modal-open {
  overflow: hidden;
}

body.modal-open #floating-contact-pill {
  display: none !important;
}

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

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

::selection {
  background: #111827;
  color: #ffffff;
}

/* ── Tactile Button Bounce Physics ───────────────────────────────────────── */
.btn-primary,
.btn-outline,
.btn-download,
.action-pill,
.contact-chip,
.project-filter-btn,
.video-tab-btn,
.banner-arrow-btn,
.kinetic-nav-btn,
.floating-pill-item,
.reaction-chip {
  transition: transform 0.22s var(--spring-easing), box-shadow 0.2s ease, background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-primary:hover,
.btn-outline:hover,
.btn-download:hover,
.action-pill:hover,
.contact-chip:hover,
.project-filter-btn:hover,
.video-tab-btn:hover,
.banner-arrow-btn:hover,
.kinetic-nav-btn:hover,
.floating-pill-item:hover,
.reaction-chip:hover {
  transform: translateY(-2px);
}

.btn-primary:active,
.btn-outline:active,
.btn-download:active,
.action-pill:active,
.contact-chip:active,
.project-filter-btn:active,
.video-tab-btn:active,
.banner-arrow-btn:active,
.kinetic-nav-btn:active,
.floating-pill-item:active,
.reaction-chip:active {
  transform: scale(0.96) translateY(0);
}

/* ── Button Styles ───────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--text-main);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  border: 1px solid var(--text-main);
  box-shadow: 0 2px 4px rgba(17, 24, 39, 0.08);
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 4px 12px rgba(17, 24, 39, 0.15);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: var(--text-main);
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid var(--border-medium);
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.04);
}

.btn-outline:hover {
  background: var(--bg-secondary);
  border-color: var(--text-main);
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-secondary);
  color: var(--text-main);
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid var(--border-medium);
}

.btn-download:hover {
  background: #ffffff;
  border-color: var(--text-main);
}

/* ── Typography & Section Standards ──────────────────────────────────────── */
.section-divider {
  border-top: 1px solid var(--border-light);
  padding: 80px 0;
  scroll-margin-top: 90px;
}

.section-wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.section-heading {
  font-family: var(--font-sans);
  font-size: 32px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 8px;
}

.section-sub {
  font-size: 15px;
  color: var(--text-body);
  max-width: 680px;
  line-height: 1.6;
  margin-bottom: 32px;
}

/* ── Digital Business Card Header ────────────────────────────────────────── */
#site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 1px 3px rgba(17, 24, 39, 0.03);
}

.header-inner {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.header-brand-block {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-avatar {
  width: 38px;
  height: 38px;
  background: var(--text-main);
  color: #ffffff;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}

.brand-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.brand-title {
  font-size: 10px;
  font-family: var(--font-mono);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

.header-contact-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--text-body);
}

.contact-chip:hover {
  background: #ffffff;
  border-color: var(--text-main);
  color: var(--text-main);
}

.chip-location {
  background: #ffffff;
  border-color: var(--border-light);
  color: var(--text-muted);
  font-weight: 500;
}

/* Mobile Quick Action Buttons (Hidden on desktop, enabled on mobile) */
.header-mobile-actions {
  display: none;
}

.mobile-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-medium);
  color: var(--text-main);
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
  flex-shrink: 0;
}

.mobile-action-btn:hover {
  background: #ffffff;
  border-color: var(--text-main);
}

.mobile-action-btn:active {
  transform: scale(0.92);
}

.mobile-action-btn.mobile-action-resume {
  width: auto;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11px;
  font-family: var(--font-mono);
  font-weight: 700;
  background: var(--text-main);
  color: #ffffff;
  border-color: var(--text-main);
}

.header-action-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.action-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: 999px;
  padding: 6px 13px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
}

.action-pill:hover {
  background: var(--bg-secondary);
  border-color: var(--text-main);
}

.pill-supervisory {
  background: var(--text-main);
  color: #ffffff;
  border-color: var(--text-main);
}

.pill-supervisory:hover {
  background: var(--accent-hover);
  color: #ffffff;
}

.pill-artist-reel {
  background: var(--bg-secondary);
  border-color: var(--text-main);
  color: var(--text-main);
}

.pill-resume {
  background: #ffffff;
  border-color: var(--border-dark);
}

.pill-vimeo {
  background: #ffffff;
}

.vimeo-pw-chip {
  font-size: 9px;
  font-family: var(--font-mono);
  background: var(--bg-secondary);
  border: 1px solid var(--border-medium);
  padding: 1px 5px;
  border-radius: 4px;
  color: var(--text-muted);
  margin-left: 2px;
}

.imdb-text {
  font-family: Impact, Arial Black, sans-serif;
  font-size: 12px;
  background: #f5c518;
  color: #000000;
  padding: 1px 4px;
  border-radius: 3px;
  line-height: 1;
}

.pill-contact {
  background: var(--text-main);
  color: #ffffff;
  border-color: var(--text-main);
}

.pill-contact:hover {
  background: var(--accent-hover);
  color: #ffffff;
}

/* ── Top Horizontal Production Stills Ribbon ────────────────────────────── */
#top-cycling-banner {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  padding: 14px 0 16px;
  overflow: hidden;
}

.banner-label-row {
  max-width: 1360px;
  margin: 0 auto 10px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.banner-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-main);
}

@keyframes liveDotPulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 6px rgba(185, 28, 28, 0.7); }
  50% { opacity: 0.5; transform: scale(0.85); box-shadow: 0 0 2px rgba(185, 28, 28, 0.2); }
}

.banner-label-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-crimson);
  box-shadow: 0 0 6px rgba(185, 28, 28, 0.6);
  animation: liveDotPulse 2.4s infinite ease-in-out;
}

.banner-subtext {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
}

.banner-scroll-btns {
  display: flex;
  align-items: center;
  gap: 6px;
}

.banner-arrow-btn {
  width: 26px;
  height: 26px;
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--text-main);
}

.banner-arrow-btn:hover {
  background: var(--bg-secondary);
  border-color: var(--text-main);
}

.top-banner-viewport {
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}

.top-banner-viewport::-webkit-scrollbar {
  display: none;
}

.top-banner-viewport:active {
  cursor: grabbing;
}

.top-banner-track {
  display: flex;
  gap: 12px;
  padding: 0 24px;
  width: max-content;
}

.banner-item {
  width: 180px;
  height: 102px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.banner-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(17, 24, 39, 0.12);
  border-color: var(--text-main);
}

.banner-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.banner-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17, 24, 39, 0.9) 0%, rgba(17, 24, 39, 0.2) 60%, transparent 100%);
  opacity: 0;
  transition: opacity 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 8px;
  color: #ffffff;
}

.banner-item:hover .banner-item-overlay {
  opacity: 1;
}

.banner-item-title {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}

.banner-item-role {
  font-size: 9px;
  font-family: var(--font-mono);
  color: #e5e7eb;
}

/* ── Hero Section (Executive Digital Business Card) ──────────────────────── */
#hero {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 24px 72px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: center;
  scroll-margin-top: 90px;
}

.hero-left {
  display: flex;
  flex-direction: column;
}

.hero-name {
  font-family: var(--font-sans);
  font-size: 48px;
  font-weight: 900;
  color: var(--text-main);
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 12px;
}

.hero-title-line {
  font-size: 20px;
  color: var(--text-main);
  margin-bottom: 18px;
  font-weight: 700;
}

.hero-title-line strong {
  font-weight: 800;
  color: var(--text-main);
}

.hero-bio {
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.7;
  max-width: 660px;
  margin-bottom: 24px;
}

.hero-badges {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-body);
}

.hero-badge.gold {
  background: var(--accent-gold-bg);
  border-color: var(--accent-gold-border);
  color: #92400e;
  font-weight: 700;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-stats-panel {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-family: var(--font-sans);
  font-size: 36px;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
  font-weight: 500;
}

/* ── Video Showcase & Players (Artist Reel & Supervisory Breakdowns) ────── */
#artist-reel,
#supervisory-reels,
#showreel {
  background: #ffffff;
}

.showreel-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.showreel-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.showreel-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.showreel-sub {
  font-size: 14px;
  color: var(--text-body);
  max-width: 640px;
  line-height: 1.6;
}

.video-tabs-container {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.video-tabs-container::-webkit-scrollbar {
  display: none;
}

.video-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-medium);
  border-radius: 6px;
  padding: 9px 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-body);
  white-space: nowrap;
}

.video-tab-btn:hover {
  background: #ffffff;
  border-color: var(--text-main);
  color: var(--text-main);
}

.video-tab-btn.active {
  background: var(--text-main);
  border-color: var(--text-main);
  color: #ffffff;
  position: relative;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
}

.video-tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--accent-crimson);
  border-radius: 2px;
}

.video-tab-badge {
  font-size: 10px;
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.18);
  padding: 1px 6px;
  border-radius: 4px;
}

/* ── Full-Width Artist Compositing Reel ─────────────────────────────────── */
.artist-reel-section {
  width: 100%;
  padding-bottom: 40px;
  scroll-margin-top: 84px;
}

.artist-reel-title-bar {
  width: 100%;
  background: var(--bg-primary);
}

.artist-reel-tag {
  font-size: 11px;
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  padding: 4px 10px;
  border-radius: 999px;
}

.artist-player-fullwidth {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 85vh;
  background: #000000;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.artist-player-fullwidth video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000000;
}

/* ── Cinema Overlay Control Bar (Hidden on load, reveals on hover/tap, auto-hides after 2.5s) ── */
.cinema-controls-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.45) 60%, transparent 100%);
  padding: 36px 18px 14px 18px;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* When visible */
.cinema-controls-overlay.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Scrubber / Progress Bar */
.cinema-scrubber-track {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 4px;
  position: relative;
  cursor: pointer;
  transition: height 0.15s ease;
  touch-action: none;
}

.cinema-scrubber-track:hover,
.cinema-scrubber-track.scrubbing {
  height: 8px;
}

.cinema-scrubber-buffered {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: rgba(255, 255, 255, 0.32);
  border-radius: 4px;
  width: 0%;
  pointer-events: none;
}

.cinema-scrubber-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: #00d2ff;
  border-radius: 4px;
  width: 0%;
  pointer-events: none;
  box-shadow: 0 0 8px rgba(0, 210, 255, 0.6);
}

.cinema-scrubber-handle {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 13px;
  height: 13px;
  background: #ffffff;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.6);
  transition: transform 0.15s ease;
  pointer-events: none;
}

.cinema-scrubber-track:hover .cinema-scrubber-handle,
.cinema-scrubber-track.scrubbing .cinema-scrubber-handle {
  transform: translate(-50%, -50%) scale(1);
}

/* Control buttons row */
.cinema-controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.cinema-controls-left,
.cinema-controls-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cinema-ctrl-btn {
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s ease, transform 0.15s ease, color 0.15s ease;
  line-height: 1;
}

.cinema-ctrl-btn svg {
  width: 18px;
  height: 18px;
  stroke: #ffffff;
}

.cinema-ctrl-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.08);
}

.cinema-ctrl-btn:active {
  transform: scale(0.94);
}

.cinema-time-readout {
  font-family: var(--font-mono, monospace);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.04em;
  user-select: none;
  font-weight: 500;
}

/* Central play/pause splash feedback */
.cinema-center-splash {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.7);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 9;
}

.cinema-center-splash.animate {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}

.cinema-splash-badge {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.cinema-splash-badge svg {
  width: 26px;
  height: 26px;
  stroke: #ffffff;
}

@media (max-width: 768px) {
  .cinema-controls-overlay {
    padding: 24px 12px 10px 12px;
    gap: 8px;
  }
  .cinema-ctrl-btn {
    padding: 8px;
    min-width: 38px;
    min-height: 38px;
  }
  .cinema-time-readout {
    font-size: 11px;
  }
  .cinema-scrubber-track {
    height: 6px;
  }
}

/* ── Supervisory Video Showcase (Unified 1-Reel Cinema Carousel) ──────────── */
.supervisory-showcase-carousel,
.mobile-supervisory-carousel,
.desktop-supervisory-grid {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  box-sizing: border-box;
}

.supervisory-carousel-header,
.mobile-reel-header-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  width: 100%;
  padding: 0 4px;
}

.supervisory-nav-btn,
.mobile-reel-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-primary, #ffffff);
  border: 1px solid var(--border-medium, #d1d5db);
  border-radius: 8px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main, #111827);
  cursor: pointer;
  transition: all 0.18s ease;
  user-select: none;
}

.supervisory-nav-btn:hover:not(:disabled),
.mobile-reel-btn:hover:not(:disabled) {
  background: var(--bg-secondary, #f3f4f6);
  border-color: var(--accent, #b91c1c);
  color: var(--accent, #b91c1c);
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.supervisory-nav-btn:disabled,
.mobile-reel-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.supervisory-reel-tracker,
.mobile-reel-tracker {
  font-size: 13px;
  font-family: var(--font-mono, monospace);
  font-weight: 700;
  color: var(--text-muted, #6b7280);
  letter-spacing: 0.02em;
  user-select: none;
  text-align: center;
}

.supervisory-reel-tracker span,
.mobile-reel-tracker span {
  color: var(--text-main, #111827);
}

.supervisory-reel-viewport,
.mobile-reel-viewport {
  position: relative;
  overflow: hidden;
  touch-action: pan-y;
  border-radius: 12px;
  width: 100%;
  background: #000000;
  box-shadow: 0 10px 32px rgba(17, 24, 39, 0.12);
  border: 1px solid var(--border-light, #e5e7eb);
  cursor: grab;
  outline: none;
}

.supervisory-reel-viewport:focus-visible,
.mobile-reel-viewport:focus-visible {
  border-color: var(--accent, #b91c1c);
  box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.2), 0 10px 32px rgba(17, 24, 39, 0.12);
}

.supervisory-reel-viewport.is-dragging,
.mobile-reel-viewport.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.supervisory-reel-card-wrap,
.mobile-reel-card-wrap {
  width: 100%;
}

.supervisory-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(17, 24, 39, 0.04);
  transition: transform 0.22s var(--spring-easing), box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}

.supervisory-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-medium);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.08);
}

.supervisory-player-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
  position: relative;
  overflow: hidden;
}

.supervisory-player-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

/* Cinema Controls inside Supervisory Single-Reel Player */
.supervisory-player-wrap .cinema-controls-overlay {
  padding: 24px 14px 10px 14px;
  gap: 6px;
}

.supervisory-player-wrap .cinema-ctrl-btn {
  padding: 6px;
}

.supervisory-player-wrap .cinema-ctrl-btn svg {
  width: 16px;
  height: 16px;
}

.supervisory-player-wrap .cinema-time-readout {
  font-size: 11.5px;
}

.supervisory-player-wrap .cinema-center-splash .cinema-splash-badge {
  width: 52px;
  height: 52px;
}

.supervisory-player-wrap .cinema-center-splash .cinema-splash-badge svg {
  width: 24px;
  height: 24px;
}

/* Fullscreen support for both artist player and supervisory cards */
.supervisory-player-wrap:fullscreen,
.supervisory-player-wrap:-webkit-full-screen,
.artist-player-fullwidth:fullscreen,
.artist-player-fullwidth:-webkit-full-screen {
  width: 100vw !important;
  height: 100vh !important;
  max-height: none !important;
  background: #000000 !important;
}

.supervisory-player-wrap:fullscreen video,
.supervisory-player-wrap:-webkit-full-screen video,
.artist-player-fullwidth:fullscreen video,
.artist-player-fullwidth:-webkit-full-screen video {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

.supervisory-card-meta {
  padding: 16px 24px 18px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 4px;
  background: var(--bg-primary, #ffffff);
  border-top: 1px solid var(--border-light, #e5e7eb);
}

.supervisory-card-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.01em;
  text-align: center;
}

.supervisory-card-sub {
  font-size: 12.5px;
  font-family: var(--font-mono, monospace);
  color: var(--text-muted);
  text-align: center;
}

.supervisory-swipe-hint-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
}

/* ── Section 2: Career Experience Timeline ───────────────────────────────── */
.exp-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  margin-top: 32px;
}

#experience-timeline {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}

#experience-timeline::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 20px;
  width: 2px;
  background: var(--border-light);
  z-index: 0;
}

.desktop-exp-timeline {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-exp-carousel {
  display: none !important;
}

.exp-card {
  position: relative;
  z-index: 1;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 24px 28px;
  margin-left: 48px;
  box-shadow: 0 1px 3px rgba(17, 24, 39, 0.03);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.exp-card:hover {
  border-color: var(--border-medium);
  box-shadow: 0 6px 20px rgba(17, 24, 39, 0.06);
}

.exp-card::before {
  content: "";
  position: absolute;
  top: 28px;
  left: -37px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--text-main);
}

.exp-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.exp-card-company {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.exp-card-period {
  font-size: 11px;
  font-family: var(--font-mono);
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  padding: 2px 8px;
  border-radius: 4px;
  color: var(--text-muted);
}

.exp-card-role {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-body);
  margin-bottom: 12px;
}

.exp-card-summary {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 12px;
}

.exp-card-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.exp-card-highlights li {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.55;
  padding-left: 14px;
  position: relative;
}

.exp-card-highlights li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--text-main);
  font-weight: bold;
}

.exp-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 24px;
}

.sidebar-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 10px;
}

.award-item {
  margin-bottom: 14px;
}

.award-item:last-child {
  margin-bottom: 0;
}

.award-year {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.award-item.win .award-year {
  color: #92400e;
  font-weight: 700;
}

.award-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  margin: 2px 0;
}

.award-cat {
  font-size: 12px;
  color: var(--text-muted);
}

/* ── Shot Gallery Header & Controls ────────────────────────────────────────── */
.gallery-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.gallery-nav-controls {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-secondary);
  padding: 4px 6px;
  border-radius: 999px;
  border: 1px solid var(--border-light);
}

.gallery-nav-btn {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  cursor: pointer;
  transition: transform 0.22s var(--spring-easing), background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  user-select: none;
}

.gallery-nav-btn:hover {
  transform: translateY(-2px);
  background: var(--text-main);
  color: var(--text-inverse);
  border-color: var(--text-main);
  box-shadow: 0 4px 12px rgba(17, 24, 39, 0.12);
}

.gallery-nav-btn:active {
  transform: scale(0.92);
}


/* ── Swipable Viewport for Touch & Drag ───────────────────────────────────── */
.stills-swipe-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
  outline: none;
}

.stills-swipe-viewport.is-dragging {
  cursor: grabbing;
}

/* ── Featured Stills (High-Frequency Grid Pattern) ────────────────────────── */
.stills-grid-highfreq {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  transition: transform 0.32s var(--smooth-easing), opacity 0.28s ease;
  will-change: transform, opacity;
}

.stills-grid-highfreq.anim-sliding-out-left {
  transform: translateX(-40px);
  opacity: 0;
}

.stills-grid-highfreq.anim-sliding-out-right {
  transform: translateX(40px);
  opacity: 0;
}

.stills-grid-highfreq.anim-pre-enter-left {
  transform: translateX(40px);
  opacity: 0;
  transition: none;
}

.stills-grid-highfreq.anim-pre-enter-right {
  transform: translateX(-40px);
  opacity: 0;
  transition: none;
}

/* ── Gallery Swipe Hint Bar ──────────────────────────────────────────────── */
.gallery-swipe-hint-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  padding-top: 12px;
}

.gallery-hint-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--text-muted);
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  padding: 6px 14px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

@media (max-width: 1024px) {
  .stills-grid-highfreq {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
}

@media (max-width: 640px) {
  .stills-grid-highfreq {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }
}

.still-grid-card {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: hidden;
  background: #000000;
  cursor: pointer;
  border: 1px solid var(--border-light);
  transition: transform 0.22s var(--spring-easing), box-shadow 0.2s ease, border-color 0.2s ease;
}

.still-grid-card:hover {
  transform: translateY(-3px);
  border-color: var(--text-main);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.15);
}

.still-grid-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.still-grid-card:hover .still-grid-img {
  transform: scale(1.04);
}

/* Hover-Only Scrim: Text ONLY appears when hovered over */
.still-grid-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17, 24, 39, 0.95) 0%, rgba(17, 24, 39, 0.6) 55%, transparent 100%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12px 14px;
  color: #ffffff;
  z-index: 2;
}

.still-grid-card:hover .still-grid-overlay,
.still-grid-card:focus-within .still-grid-overlay,
.still-grid-card.touch-active .still-grid-overlay {
  opacity: 1;
  pointer-events: auto;
}

.still-grid-title {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 2px;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.still-grid-sub {
  font-size: 9.5px;
  font-family: var(--font-mono);
  color: #d1d5db;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.still-grid-reactions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.kinetic-reactions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.reaction-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  color: #ffffff;
  cursor: pointer;
}

.reaction-chip:hover {
  background: rgba(255, 255, 255, 0.28);
  border-color: #ffffff;
}

.reaction-chip.active {
  background: #ffffff;
  color: var(--text-main);
  border-color: #ffffff;
}

.reaction-chip.voted {
  cursor: pointer;
}

.reaction-chip.voted:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.reaction-count {
  font-size: 11px;
  font-family: var(--font-mono);
  font-weight: 700;
}

.reaction-count:empty {
  display: none !important;
  margin-left: 0 !important;
}

@keyframes reactionPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

.reaction-chip.pop {
  animation: reactionPop 0.25s var(--spring-easing);
}

@keyframes reactionUnpop {
  0% { transform: scale(1); }
  50% { transform: scale(0.88); }
  100% { transform: scale(1); }
}

.reaction-chip.unpop {
  animation: reactionUnpop 0.22s var(--spring-easing);
}

@keyframes alreadyVotedShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-3px); }
  75% { transform: translateX(3px); }
}

.reaction-chip.already-voted-shake {
  animation: alreadyVotedShake 0.25s ease-in-out;
}

/* ── Section 3: Credits & Production Stills Gallery ───────────────────────── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 28px;
  margin-bottom: 48px;
}

.project-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(17, 24, 39, 0.03);
  transition: transform 0.22s var(--spring-easing), box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-medium);
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.08);
}

.project-thumb-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  background: #000000;
  cursor: pointer;
}

.project-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.project-thumb-wrap:hover .project-thumb {
  transform: scale(1.04);
}

.project-role-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 10px;
  font-family: var(--font-mono);
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Tier-1 Studio Badges & Pedigree Chips */
.studio-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-family: var(--font-mono);
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  white-space: nowrap;
  transition: all 0.2s ease;
}

.project-thumb-wrap .studio-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.studio-badge-weta {
  background: rgba(15, 23, 42, 0.92);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.45);
}

.studio-badge-eyeline {
  background: rgba(2, 132, 199, 0.18);
  color: #0284c7;
  border: 1px solid rgba(2, 132, 199, 0.5);
}

.project-thumb-wrap .studio-badge-eyeline {
  background: rgba(15, 23, 42, 0.92);
  color: #38bdf8;
  border: 1px solid rgba(2, 132, 199, 0.6);
}

.studio-badge-dd {
  background: rgba(185, 28, 28, 0.18);
  color: #b91c1c;
  border: 1px solid rgba(185, 28, 28, 0.5);
}

.project-thumb-wrap .studio-badge-dd {
  background: rgba(15, 23, 42, 0.92);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.6);
}

.studio-badge-ie {
  background: rgba(30, 41, 59, 0.88);
  color: #f1f5f9;
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.project-thumb-wrap .studio-badge-ie {
  background: rgba(15, 23, 42, 0.92);
  color: #e2e8f0;
  border: 1px solid rgba(203, 213, 225, 0.4);
}

.studio-badge-spi {
  background: rgba(37, 99, 235, 0.18);
  color: #2563eb;
  border: 1px solid rgba(37, 99, 235, 0.5);
}

.project-thumb-wrap .studio-badge-spi {
  background: rgba(15, 23, 42, 0.92);
  color: #60a5fa;
  border: 1px solid rgba(96, 165, 250, 0.5);
}

.studio-badge-fuse {
  background: rgba(217, 119, 6, 0.18);
  color: #d97706;
  border: 1px solid rgba(217, 119, 6, 0.5);
}

.project-thumb-wrap .studio-badge-fuse {
  background: rgba(15, 23, 42, 0.92);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.5);
}

.studio-badge-default {
  background: rgba(17, 24, 39, 0.08);
  color: var(--text-body);
  border: 1px solid var(--border-medium);
}

.project-thumb-wrap .studio-badge-default {
  background: rgba(15, 23, 42, 0.88);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.project-expand-hint {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(17, 24, 39, 0.82);
  color: #ffffff;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.2s ease;
  display: flex;
  align-items: center;
  gap: 5px;
}

.project-thumb-wrap:hover .project-expand-hint {
  opacity: 1;
}

.project-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.project-meta {
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--text-muted);
  margin-bottom: 12px;
}

.project-desc {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

/* Click-to-reveal contribution drawer */
.project-contrib-drawer {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 12px;
  color: var(--text-body);
  line-height: 1.5;
  margin-bottom: 14px;
  display: none;
}

.project-contrib-drawer.open {
  display: block;
}

.project-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  border-top: 1px solid var(--border-light);
  padding-top: 14px;
}

.btn-reveal-contrib {
  font-size: 11px;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--text-main);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Vimeo Showcase Vault Card ───────────────────────────────────────────── */
.vimeo-vault {
  background: var(--bg-secondary);
  border: 1px solid var(--border-medium);
  border-radius: 12px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.vimeo-vault-text {
  max-width: 720px;
}

.vimeo-vault-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.vimeo-vault-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.vimeo-vault-desc {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 12px;
}

.vimeo-vault-pw {
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 6px;
}

.vimeo-vault-pw code {
  background: #ffffff;
  border: 1px solid var(--border-medium);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
  color: var(--text-main);
}

/* ── Section 4: Educator Experience & Mentorship ─────────────────────────── */
.teaching-quote {
  position: relative;
  background: var(--bg-secondary);
  border-left: 4px solid var(--text-main);
  border-radius: 0 10px 10px 0;
  padding: 32px 36px;
  margin: 24px 0 40px;
}

.teaching-quote-mark {
  font-size: 64px;
  line-height: 1;
  color: var(--border-medium);
  position: absolute;
  top: 16px;
  right: 24px;
  pointer-events: none;
}

.teaching-quote-text {
  font-size: 17px;
  color: var(--text-main);
  line-height: 1.7;
  max-width: 900px;
}

.teaching-quote-text strong {
  font-weight: 800;
  color: var(--text-main);
}

.teaching-quote-text em {
  font-style: italic;
}

.teaching-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 24px;
}

.teaching-card-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
}

.teaching-card-desc {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.6;
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.topic-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 16px;
}

.topic-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.topic-sub {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

/* ── Section 5: Supervisory Methodology & Pillars ────────────────────────── */
.supervision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.supervision-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 24px;
}

.supervision-card-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}

.supervision-card-desc {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.6;
}

.milestones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.milestone-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 20px;
}

.milestone-year {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.milestone-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  margin: 2px 0 6px;
}

.milestone-desc {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.55;
}

/* ── Section 6: AI & VFX Notes ───────────────────────────────────────────── */
.notes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.note-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.note-date {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--text-muted);
  margin-bottom: 6px;
}

.note-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
  line-height: 1.35;
}

.note-desc {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.6;
  flex: 1;
}

/* ── Section 7: Contact & Direct Inquiries ────────────────────────────────── */
.contact-layout {
  display: flex;
  flex-direction: column;
  max-width: 680px;
  margin: 0 auto;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 16px 20px;
}

.contact-icon {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  flex-shrink: 0;
}

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

.contact-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
}

.contact-value a:hover {
  text-decoration: underline;
}

.contact-form-wrap {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 32px;
}

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--text-main);
  font-family: inherit;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--text-main);
  outline: none;
}

/* ── Minimalist Floating Quick-Contact Pill (Docked Bottom-Right) ────────── */
.floating-contact-pill {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: 999px;
  padding: 6px 14px;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.12);
  display: flex;
  align-items: center;
  gap: 10px;
}

.floating-pill-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
  padding: 4px 6px;
}

.floating-pill-divider {
  width: 1px;
  height: 14px;
  background: var(--border-medium);
}

/* ── Theater-Grade Lightbox Fullscreen Modal ─────────────────────────────── */
.lightbox-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(17, 24, 39, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 80px 24px 24px;
}

.lightbox-modal-backdrop.hidden {
  display: none !important;
}

/* High-Contrast Pinned Top Exit Bar (z-index: 100001) */
.lightbox-top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100001;
  height: 64px;
  background: rgba(17, 24, 39, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lightbox-title-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lightbox-title {
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.lightbox-counter {
  color: #9ca3af;
  font-size: 11px;
  font-family: var(--font-mono);
}

.lightbox-close-floating-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: #111827;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 11px;
  font-family: var(--font-mono);
  font-weight: 800;
  letter-spacing: 0.05em;
  border: 1px solid #ffffff;
}

.lightbox-close-floating-btn:hover {
  background: #f3f4f6;
  transform: scale(1.04);
}

.lightbox-nav-btn {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100001;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: #ffffff;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-nav-btn:hover {
  background: #ffffff;
  color: #111827;
}

.lightbox-prev {
  left: 24px;
}

.lightbox-next {
  right: 24px;
}

.lightbox-content-box {
  max-width: 1200px;
  max-height: calc(100vh - 120px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.lightbox-img-wrapper {
  max-width: 100%;
  max-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img-frame {
  max-width: 100%;
  max-height: calc(100vh - 200px);
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
}

.lightbox-caption-card {
  background: rgba(17, 24, 39, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 12px 20px;
  text-align: center;
  max-width: 720px;
}

.lightbox-caption-text {
  color: #ffffff;
  font-size: 13px;
  line-height: 1.5;
}

.lightbox-caption-hint {
  color: #9ca3af;
  font-size: 11px;
  font-family: var(--font-mono);
  margin-top: 4px;
}

/* ── Modals & Document Presentation ─────────────────────────────────────── */
#resume-modal,
#project-modal,
#ai-notes-archive-modal {
  z-index: 100000 !important;
}

.resume-paper {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 32px;
}

.resume-header-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 2px solid #111827;
  padding-bottom: 12px;
  margin-bottom: 20px;
  gap: 12px;
}

/* ── Résumé Modal & Tabs ─────────────────────────────────────────────────── */
.resume-modal-inner {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid var(--border-medium);
  box-shadow: 0 20px 50px rgba(17, 24, 39, 0.25);
}

.resume-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.resume-tab-btn.active {
  color: var(--text-main);
  border-bottom-color: var(--text-main);
}

.resume-pdf-frame-wrap {
  width: 100%;
  height: 72vh;
  min-height: 540px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-medium);
  background: #323639;
  position: relative;
}

.resume-pdf-frame {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ── Site Footer ─────────────────────────────────────────────────────────── */
#site-footer {
  border-top: 1px solid var(--border-light);
  background: var(--bg-secondary);
  padding: 32px 0;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-body);
}

.footer-links a:hover,
.footer-links button:hover {
  color: var(--text-main);
}

/* ── Print-to-PDF Engine ─────────────────────────────────────────────────── */
@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
    font-size: 11pt !important;
  }

  .print-hide,
  #site-header,
  #top-cycling-banner,
  #artist-reel,
  #supervisory-reels,
  #showreel,
  #hero-stats-panel,
  .hero-ctas,
  #featured-stills-carousel,
  .kinetic-carousel-section,
  #projects,
  #ai-notes,
  #contact,
  #site-footer,
  #floating-contact-pill,
  #lightbox-modal,
  #project-modal,
  #ai-notes-archive-modal,
  #resume-modal {
    display: none !important;
  }

  .print-show {
    display: block !important;
  }

  @page {
    margin: 1.5cm;
    size: letter portrait;
  }
}

/* ── Responsive Rules ────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  #hero {
    grid-template-columns: 1fr;
    padding: 48px 24px;
  }

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

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

@media (max-width: 768px) {
  /* ── Mobile Global Centering & Restraint ────────────────────────────────── */
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw;
  }

  .section-divider {
    padding: 44px 0;
    scroll-margin-top: 84px;
  }

  .section-wrap {
    padding: 0 16px;
    max-width: 100%;
    box-sizing: border-box;
  }

  .section-eyebrow {
    display: flex !important;
    justify-content: center !important;
    text-align: center !important;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
  }

  .section-heading {
    font-size: 24px;
    text-align: center !important;
  }

  .section-sub {
    font-size: 14px;
    margin-bottom: 24px;
    text-align: center !important;
    margin-left: auto;
    margin-right: auto;
    max-width: 520px;
  }

  /* ── Mobile Fixed Header: Always Remains on Screen at Top (~76px) ───────── */
  #site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 10000 !important;
    padding: 0 !important;
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    box-shadow: 0 2px 10px rgba(17, 24, 39, 0.08) !important;
  }

  body {
    padding-top: 78px !important;
  }

  .header-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 8px 12px 6px;
  }

  .header-brand-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 8px;
    flex-wrap: nowrap;
  }

  .brand-link {
    gap: 8px;
    min-width: 0;
  }

  .brand-avatar {
    width: 32px;
    height: 32px;
    font-size: 12px;
    border-radius: 4px;
    flex-shrink: 0;
  }

  .brand-name {
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand-title {
    font-size: 8.5px;
    letter-spacing: 0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header-contact-chips {
    display: none !important;
  }

  .header-mobile-actions {
    display: flex !important;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    flex-shrink: 0;
  }

  /* Row 2: Swipeable Horizontal Pill Tray (Zero Vertical Wrap) */
  .header-action-pills {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 6px;
    padding: 2px 0 4px;
    width: 100%;
  }

  .header-action-pills::-webkit-scrollbar {
    display: none;
  }

  .action-pill {
    padding: 5px 11px;
    font-size: 11px;
    white-space: nowrap;
    flex-shrink: 0;
    border-radius: 999px;
  }

  /* ── Hero Section Centering ─────────────────────────────────────────────── */
  #hero {
    grid-template-columns: 1fr;
    padding: 24px 16px 36px;
    gap: 24px;
    scroll-margin-top: 84px;
    text-align: center;
  }

  .hero-name {
    font-size: 32px;
    margin-bottom: 6px;
    text-align: center;
  }

  .hero-title-line {
    font-size: 15px;
    margin-bottom: 12px;
    justify-content: center;
    text-align: center;
  }

  .hero-bio {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
    text-align: center;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-badges {
    gap: 6px;
    margin-bottom: 20px;
    justify-content: center;
  }

  .hero-badge {
    padding: 4px 9px;
    font-size: 11px;
  }

  .hero-ctas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
  }

  .hero-ctas .btn-primary,
  .hero-ctas .btn-outline {
    width: 100%;
    justify-content: center;
    text-align: center;
    font-size: 11.5px;
    padding: 10px 6px;
    white-space: nowrap;
  }

  .hero-stats-panel {
    padding: 16px;
    gap: 12px;
  }

  .stat-value {
    font-size: 26px;
  }

  .stat-label {
    font-size: 11px;
  }

  /* ── Artist Compositing Reel Centering ──────────────────────────────────── */
  #artist-reel {
    padding-top: 20px !important;
    padding-bottom: 32px !important;
    scroll-margin-top: 84px;
    text-align: center;
  }

  .artist-reel-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* ── Supervisory Showcase Centering ─────────────────────────────────────── */
  #supervisory-reels {
    scroll-margin-top: 84px;
  }

  .showreel-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }

  .showreel-title {
    font-size: 20px;
    text-align: center;
  }

  .showreel-sub {
    font-size: 13px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .video-active-meta {
    padding: 12px 14px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }

  /* ── Supervisory Breakdowns: 1 Reel At A Time & Centered on Mobile ────────── */
  #supervisory-reels {
    scroll-margin-top: 84px;
    text-align: center;
  }

  #supervisory-reels .section-eyebrow {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }

  #supervisory-reels .section-heading {
    text-align: center;
  }

  .supervisory-showcase-carousel,
  .mobile-supervisory-carousel {
    display: block !important;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  .supervisory-carousel-header,
  .mobile-reel-header-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 12px;
    padding: 0 4px;
  }

  .supervisory-nav-btn,
  .mobile-reel-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #ffffff;
    border: 1px solid var(--border-medium);
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.15s ease;
  }

  .supervisory-nav-btn:hover:not(:disabled),
  .mobile-reel-btn:hover:not(:disabled) {
    background: var(--bg-secondary);
    border-color: var(--accent);
  }

  .supervisory-reel-tracker,
  .mobile-reel-tracker {
    font-size: 11.5px;
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--text-muted);
  }

  .supervisory-reel-tracker span,
  .mobile-reel-tracker span {
    color: var(--text-main);
  }

  .supervisory-reel-viewport,
  .mobile-reel-viewport {
    position: relative;
    overflow: hidden;
    touch-action: pan-y;
    border-radius: 10px;
  }

  .supervisory-reel-card-wrap,
  .mobile-reel-card-wrap {
    width: 100%;
  }

  .mobile-supervisory-card {
    margin: 0 auto;
    width: 100%;
    box-shadow: 0 4px 16px rgba(17, 24, 39, 0.08);
  }

  .supervisory-card-title {
    font-size: 14px;
    text-align: center;
  }

  .supervisory-card-sub {
    font-size: 10.5px;
    text-align: center;
  }

  /* ── Shot Gallery: 3 Across / 4 Down & Centered ─────────────────────────── */
  #featured-stills-carousel {
    scroll-margin-top: 84px;
  }

  .stills-grid-highfreq {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 6px !important;
    max-width: 520px;
    margin: 0 auto;
  }

  .still-grid-card {
    border-radius: 4px;
    aspect-ratio: 16 / 9;
  }

  .still-grid-overlay {
    padding: 4px !important;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.6) 70%, transparent 100%) !important;
    justify-content: flex-end !important;
  }

  .still-grid-title {
    font-size: 8.5px !important;
    line-height: 1.15 !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    margin-bottom: 1px !important;
  }

  .still-grid-sub {
    font-size: 7px !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    opacity: 0.85 !important;
    margin-bottom: 2px !important;
  }

  .still-grid-reactions {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    flex-wrap: nowrap !important;
    margin-top: 2px !important;
  }

  .still-grid-card .reaction-chip {
    padding: 2px 4px !important;
    font-size: 9.5px !important;
    min-height: unset !important;
    height: 18px !important;
    border-radius: 999px !important;
    background: rgba(0, 0, 0, 0.45) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    color: #ffffff !important;
  }

  .still-grid-card .reaction-chip.active {
    background: #ffffff !important;
    border-color: #ffffff !important;
    color: #0f172a !important;
  }

  .still-grid-card .reaction-count {
    font-size: 8px !important;
    font-weight: 700 !important;
    margin-left: 2px !important;
  }

  .reaction-count:empty {
    display: none !important;
    margin-left: 0 !important;
  }

  .gallery-swipe-hint-bar {
    display: flex;
    justify-content: center;
    text-align: center;
  }

  /* ── Professional Experience: 1 Job At A Time & Centered ────────────────── */
  #experience {
    scroll-margin-top: 84px;
  }

  .exp-header-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }

  .exp-header-actions {
    justify-content: center !important;
    width: 100%;
  }

  .exp-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Desktop timeline hidden on mobile */
  .desktop-exp-timeline {
    display: none !important;
  }

  /* Mobile 1-job carousel shown */
  .mobile-exp-carousel {
    display: block !important;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
  }

  .mobile-exp-header-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 12px;
    padding: 0 4px;
  }

  .mobile-exp-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #ffffff;
    border: 1px solid var(--border-medium);
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.15s ease;
  }

  .mobile-exp-btn:hover:not(:disabled) {
    background: var(--bg-secondary);
    border-color: var(--accent);
  }

  .mobile-exp-tracker {
    font-size: 11.5px;
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--text-muted);
  }

  .mobile-exp-tracker span {
    color: var(--text-main);
  }

  .mobile-exp-viewport {
    position: relative;
    overflow: hidden;
    cursor: grab;
    touch-action: pan-y;
  }

  .mobile-exp-viewport:active {
    cursor: grabbing;
  }

  .mobile-exp-card-wrap {
    width: 100%;
  }

  .mobile-job-card {
    margin-left: 0 !important;
    width: 100% !important;
    box-sizing: border-box;
    box-shadow: 0 2px 10px rgba(17, 24, 39, 0.05);
    padding: 18px 16px;
  }

  .mobile-job-card::before {
    display: none !important;
  }

  #experience-timeline::before {
    display: none !important;
  }

  .exp-sidebar {
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
  }

  .sidebar-card {
    margin: 0 auto;
    width: 100%;
  }

  /* ── Contact Section Centering ──────────────────────────────────────────── */
  #contact {
    scroll-margin-top: 84px;
  }

  .contact-item {
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
  }

  .contact-actions-row {
    justify-content: center !important;
    max-width: 520px;
    margin: 16px auto 0 !important;
  }

  /* ── Footer Centering ───────────────────────────────────────────────────── */
  .footer-inner {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 16px !important;
    padding: 0 16px !important;
  }

  .footer-copy {
    text-align: center !important;
  }

  .footer-links {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 10px 14px !important;
  }

  input, textarea, select {
    font-size: 16px !important;
  }

  /* ── Floating Contact Dock (Hidden on mobile to keep views clean) ──────── */
  .floating-contact-pill {
    display: none !important;
  }

  /* ── Modals & Lightbox on Mobile ────────────────────────────────────────── */
  .resume-modal-inner {
    padding: 16px 14px;
    max-height: 94vh;
    border-radius: 8px;
  }

  .resume-paper {
    padding: 16px 14px !important;
  }

  .resume-header-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }

  .resume-header-row > div:last-child {
    text-align: left !important;
  }

  .resume-tabs-bar {
    overflow-x: auto !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .resume-tabs-bar::-webkit-scrollbar {
    display: none !important;
  }

  .lightbox-top-bar {
    padding: 0 12px;
    height: 52px;
  }

  .lightbox-title {
    font-size: 13px;
  }

  .lightbox-counter {
    font-size: 10px;
  }

  .lightbox-close-floating-btn .close-text {
    display: none;
  }

  .lightbox-close-floating-btn {
    padding: 6px 10px;
  }

  .lightbox-nav-btn {
    width: 38px;
    height: 38px;
    font-size: 20px;
  }

  .lightbox-prev {
    left: 8px;
  }

  .lightbox-next {
    right: 8px;
  }

  .lightbox-caption-card {
    padding: 10px 14px;
    margin: 0 12px;
  }

  .lightbox-caption-text {
    font-size: 11.5px;
  }

  .lightbox-caption-hint {
    font-size: 9.5px;
  }
}

@media (max-width: 480px) {
  .hero-name {
    font-size: 28px;
  }

  .hero-title-line {
    font-size: 14px;
  }

  .hero-stats-panel {
    grid-template-columns: 1fr 1fr;
    padding: 12px;
    gap: 10px;
  }

  .stat-value {
    font-size: 22px;
  }

  .stat-label {
    font-size: 10px;
  }
}

/* ==========================================================================
   CONTENT & MEDIA SECURITY PROTECTION LAYER
   - Prevents unauthorized right-click downloading of proprietary VFX studio stills
   - Prevents image dragging and extraction
   - Prevents accidental text selection / scraping on presentation cards
   - Hardens HTML5 video and provides protective shield overlays
   ========================================================================== */

/* Prevent image dragging across the entire site */
img, video {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
}

/* Prevent accidental text highlight / scraping on portfolio assets */
.site-header,
.hero-section,
.showreel-section,
.artist-reel-section,
.supervisory-showcase-carousel,
.supervisory-card,
.stills-grid-highfreq,
.still-grid-card,
.supervision-section,
.teaching-section,
.projects-grid,
.project-card,
.kinetic-carousel-wrap,
.kinetic-slide,
.top-cycling-banner,
.banner-item,
.exp-card,
.lightbox-modal-backdrop {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Ensure resume text remains selectable for recruiters */
.resume-paper,
.resume-paper * {
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
  user-select: text !important;
}

/* Form inputs and buttons must remain selectable and interactive */
input, textarea, select {
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
  user-select: text !important;
}

/* Security chip indicator in video header */
.security-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #065f46;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 6px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Transparent protective shield over lightbox image */
.lightbox-img-wrapper {
  position: relative;
  display: inline-block;
  max-width: 100%;
}

.lightbox-shield {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: 10;
  pointer-events: auto;
}

/* Lightbox Security Watermark */
.lightbox-watermark {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  margin-top: 6px;
  text-align: center;
}
