/* ==========================================================================
   ELISABETH TERLAND — SIGNATURE TACTILE EDITION (v16)
   ========================================================================== */

:root {
  --bg: #070709;
  --surface: #0e0f13;
  --surface-elevated: #14151b;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.22);

  --text: #f5f5f7;
  --text-secondary: #9a9ea8;
  --text-muted: #626670;

  --accent: #e13a2e;
  --accent-glow: rgba(225, 58, 46, 0.35);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);

  --surface-gradient: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.032) 0%,
      rgba(255, 255, 255, 0) 100%
    ),
    var(--surface);
  --specular-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.08),
    0 12px 32px -12px rgba(0, 0, 0, 0.65);
}

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

html {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  background-color: var(--bg);
  color: var(--text);
  max-width: 100%;
  overflow-x: hidden;
  background-image: radial-gradient(
    900px circle at 50% 0%,
    rgba(225, 58, 46, 0.045),
    transparent 65%
  );
}

::selection {
  background: rgba(225, 58, 46, 0.28);
  color: #ffffff;
}

button:active {
  transform: scale(0.97);
}

.site-container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px 96px;
}

/* ==========================================================================
   TOP BAR
   ========================================================================== */
.top-nav {
  position: sticky;
  top: 16px;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px 9px 18px;
  margin-top: 16px;
  background: rgba(13, 14, 18, 0.78);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.08),
    0 14px 34px -12px rgba(0, 0, 0, 0.7);
  border-radius: 999px;
}

.brand-id {
  display: flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.brand-name {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand-meta {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 400;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Tactile Sound Toggle Button */
.sound-toggle-btn {
  appearance: none;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s var(--ease-smooth);
}

.sound-toggle-btn:hover {
  border-color: var(--border-hover);
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

.sound-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 11px;
}

.sound-bars span {
  width: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: height 0.22s var(--ease-spring), opacity 0.2s ease;
}

.sound-bars span:nth-child(1) {
  height: 5px;
}
.sound-bars span:nth-child(2) {
  height: 11px;
}
.sound-bars span:nth-child(3) {
  height: 7px;
}

.sound-toggle-btn:not(.is-on) .sound-bars span {
  height: 3px;
  opacity: 0.4;
}

.pill-btn {
  appearance: none;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s var(--ease-smooth);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.pill-btn:hover {
  background: rgba(255, 255, 255, 0.085);
  border-color: var(--border-hover);
}

.pill-btn--primary {
  background: var(--text);
  color: #08080a;
  border-color: var(--text);
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.14);
}

.pill-btn--primary:hover {
  background: #ffffff;
  color: #08080a;
  transform: translateY(-1px);
}

/* ==========================================================================
   TWO-COLUMN WORKSPACE
   ========================================================================== */
.career-workspace {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 60px;
  align-items: start;
  padding-top: 36px;
}

.sticky-card-stage,
.editorial-column {
  min-width: 0;
  width: 100%;
}

/* ==========================================================================
   LEFT STICKY STAGE: 4-TAB DOCK + 3D CARD + LIVELINE
   ========================================================================== */
.sticky-card-stage {
  position: sticky;
  top: 82px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.era-dock {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 4px;
  background: var(--surface-gradient);
  border: 1px solid var(--border);
  box-shadow: var(--specular-shadow);
  border-radius: 13px;
  --active-tab: 0;
}

.era-dock-pill {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc((100% - 8px) / 4);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.14) 0%,
    rgba(255, 255, 255, 0.06) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 2px 8px rgba(0, 0, 0, 0.45);
  border-radius: 9px;
  transform: translateX(calc(var(--active-tab, 0) * 100%));
  transition: transform 0.45s var(--ease-spring);
  pointer-events: none;
  z-index: 0;
}

.era-dock-btn {
  position: relative;
  z-index: 1;
  appearance: none;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  padding: 6px 4px;
  border-radius: 8px;
  cursor: pointer;
  transition: color 0.2s ease;
  text-align: center;
}

.era-dock-btn:hover {
  color: var(--text-secondary);
}

.era-dock-btn.active {
  color: var(--text);
  font-weight: 600;
}

/* 3D Player Card */
.player-card-scene {
  perspective: 1400px;
  width: 100%;
}

.player-card-3d {
  position: relative;
  width: 100%;
  height: 438px;
  transform-style: preserve-3d;
  transition: transform 0.65s var(--ease-spring);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg))
    scale(var(--card-scale, 1));
  --px: 0;
  --py: 0;
}

.player-card-3d.is-tilting {
  transition: transform 0.1s ease-out;
}

.player-card-3d.is-flipped {
  transform: rotateX(var(--rx, 0deg)) rotateY(calc(180deg + var(--ry, 0deg)));
}

.card-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.15),
    0 28px 56px -14px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-glare {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background: radial-gradient(
    380px circle at var(--glare-x, 50%) var(--glare-y, 24%),
    rgba(255, 255, 255, 0.16) 0%,
    transparent 58%
  );
  mix-blend-mode: screen;
}

.card-photo-viewport {
  position: absolute;
  inset: 0;
  z-index: 1;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.card-era-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  transition: transform 0.55s var(--ease-spring);
}

/* 3D Parallax Studio Cutout Layer (Default Hero Layer) */
.card-cutout-stage {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(
    circle at 50% 34%,
    var(--card-glow, rgba(225, 58, 46, 0.32)),
    #08090c 74%
  );
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-spring), background 0.45s ease;
}

.player-card-3d.is-cutout .card-cutout-stage {
  opacity: 1;
  pointer-events: auto;
  cursor: pointer;
}

.player-card-3d.is-cutout .card-photo-viewport {
  opacity: 0;
  pointer-events: none;
}

.cutout-bg-num {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translate3d(
    calc(-50% + var(--px, 0) * -16px),
    calc(var(--py, 0) * -10px),
    0
  );
  font-family: var(--font-sans);
  font-size: 14.5rem;
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 1;
  color: rgba(255, 255, 255, 0.09);
  user-select: none;
  pointer-events: none;
  transition: transform 0.14s ease-out;
}

.cutout-hero-img {
  position: absolute;
  top: 22px;
  left: 50%;
  z-index: 1;
  height: 79%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 32px rgba(0, 0, 0, 0.85));
  transform: translate3d(
      calc(-50% + var(--px, 0) * 11px),
      calc(var(--py, 0) * 6px),
      0
    );
  transition: transform 0.16s ease-out;
}

.card-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(8, 8, 10, 0.28) 0%,
    rgba(8, 8, 10, 0) 24%,
    rgba(8, 8, 10, 0.12) 52%,
    rgba(8, 8, 10, 0.95) 75%,
    #08080a 92%
  );
  pointer-events: none;
}

.card-hud-top {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px 0;
}

.studio-toggle-pill {
  appearance: none;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(8, 8, 10, 0.56);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: all 0.2s ease;
}

.studio-toggle-pill:hover,
.studio-toggle-pill.active {
  background: rgba(255, 255, 255, 0.95);
  color: #08080a;
  border-color: #ffffff;
  font-weight: 600;
}

/* Mechanical Rolling Odometer Pill */
.jersey-odometer {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: #ffffff;
  background: rgba(8, 8, 10, 0.58);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  height: 28px;
  overflow: hidden;
}

.odometer-hash {
  color: var(--text-secondary);
  margin-right: 1px;
}

.odometer-col {
  display: inline-flex;
  flex-direction: column;
  height: 18px;
  line-height: 18px;
  overflow: hidden;
}

.odometer-strip {
  display: flex;
  flex-direction: column;
  transition: transform 0.48s var(--ease-spring);
}

.odometer-strip span {
  height: 18px;
  line-height: 18px;
  display: block;
  text-align: center;
}

/* Card Bottom Row */
.card-hud-bottom {
  position: relative;
  z-index: 5;
  padding: 0 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.card-club-years {
  font-size: 0.72rem;
  color: var(--text-secondary);
  margin-bottom: 1px;
}

.card-club-title {
  font-size: 1.32rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: #ffffff;
}

.filmstrip-dots {
  display: flex;
  gap: 5px;
  padding-bottom: 4px;
}

.filmstrip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: all 0.2s ease;
}

.filmstrip-dot.active {
  background: #ffffff;
  transform: scale(1.25);
}

.card-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.card-stat-cell {
  display: flex;
  flex-direction: column;
}

.stat-cell-val {
  font-size: 1.04rem;
  font-weight: 600;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.stat-cell-lbl {
  font-size: 0.68rem;
  color: var(--text-secondary);
}

/* Card Back Face: Collector's Player Passport */
.card-face--back {
  transform: rotateY(180deg);
  padding: 20px;
  background: var(--surface-gradient);
}

.passport-top {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.passport-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.passport-vitals-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.vital-item {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.vital-lbl {
  font-size: 0.66rem;
  color: var(--text-muted);
}

.vital-val {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text);
}

.honours-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.honours-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.honours-list li strong {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text);
}

.passport-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.ledger-mini-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
  margin-top: 12px;
}

.ledger-mini-table th {
  text-align: left;
  font-weight: 500;
  font-size: 0.68rem;
  color: var(--text-muted);
  padding: 7px 6px;
  border-bottom: 1px solid var(--border);
}

.ledger-mini-table td {
  padding: 11px 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
}

.ledger-mini-table td strong {
  color: var(--text);
  font-weight: 500;
}

.ledger-shirt-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1px 7px;
  border-radius: 999px;
}

.active-row .ledger-shirt-pill {
  color: #ffffff;
  background: rgba(225, 58, 46, 0.18);
  border-color: rgba(225, 58, 46, 0.45);
}

.goal-bar-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.goal-bar-track {
  flex: 1;
  max-width: 96px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.goal-bar-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
  transition: width 0.35s var(--ease-spring), background 0.2s ease;
}

.active-row .goal-bar-fill {
  background: var(--accent);
}

.ledger-mini-table tr.total-row td {
  color: var(--text);
  font-weight: 600;
  border-top: 1px solid var(--border-hover);
  border-bottom: none;
  padding-top: 11px;
}

.text-action-btn {
  appearance: none;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 500;
  cursor: pointer;
  padding: 2px 0;
  transition: color 0.2s ease;
}

.text-action-btn:hover {
  color: var(--text);
}

/* Liveline Trajectory Card */
.liveline-card {
  background: var(--surface-gradient);
  border: 1px solid var(--border);
  box-shadow: var(--specular-shadow);
  border-radius: 18px;
  padding: 13px 15px 11px;
  transition: border-color 0.2s ease;
}

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

.liveline-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 4px;
}

.liveline-label {
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.liveline-live-readout {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
}

.liveline-canvas-wrap {
  position: relative;
  width: 100%;
  height: 62px;
  cursor: ew-resize;
  touch-action: none;
}

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

.liveline-scrub-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* ==========================================================================
   RIGHT INTERACTIVE STAGE
   ========================================================================== */
.editorial-column {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.editorial-intro {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.intro-kicker {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: -0.01em;
}

.intro-headline {
  font-size: clamp(2.8rem, 4.8vw, 3.85rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.0;
  color: var(--text);
}

/* Architectural Typographic Stat Ledger (Zero Grey Boxes) */
.intro-metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 18px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat-strip-cell {
  appearance: none;
  background: transparent;
  border: none;
  border-left: 1px solid var(--border);
  padding: 2px 0 2px 16px;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: opacity 0.2s ease;
}

.stat-strip-cell:first-child {
  border-left: none;
  padding-left: 0;
}

.stat-strip-cell:hover {
  opacity: 0.85;
}

.metric-val {
  font-family: var(--font-sans);
  font-size: 1.85rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
  transition: color 0.2s ease;
}

.stat-strip-cell.active .metric-val,
.stat-strip-cell:hover .metric-val {
  color: #ffffff;
}

.metric-lbl {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Interactive 103-Goal Proportional Breakdown Bar */
.goal-breakdown-module {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.goal-breakdown-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 0.72rem;
}

.goal-breakdown-title {
  color: var(--text-muted);
}

.goal-breakdown-active {
  font-family: var(--font-mono);
  color: var(--text-secondary);
}

.goal-segments-bar {
  display: flex;
  gap: 5px;
  width: 100%;
}

.goal-seg {
  appearance: none;
  background: transparent;
  border: none;
  width: var(--w, 20%);
  min-width: 0;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
  padding: 0;
}

.goal-seg-fill {
  display: block;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: var(--seg-color, #e13a2e);
  opacity: 0.38;
  transition: all 0.22s var(--ease-spring);
}

.goal-seg:hover .goal-seg-fill,
.goal-seg.active .goal-seg-fill {
  opacity: 1;
  transform: scaleY(1.25);
  box-shadow: 0 0 12px var(--seg-color, #e13a2e);
}

.goal-seg-lbl {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s ease;
}

.goal-seg-lbl em {
  font-style: normal;
  color: var(--text-secondary);
}

.goal-seg.active .goal-seg-lbl {
  color: var(--text);
}

/* Chapter Modules */
.chapter-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  scroll-margin-top: 86px;
  min-width: 0;
}

.module-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.chapter-eyebrow {
  font-size: 0.74rem;
  color: var(--text-muted);
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}

.chapter-title {
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
}

/* ==========================================================================
   MODULE 1: INTERACTIVE MATCHDAY STAGE (3:2)
   ========================================================================== */
.interactive-reel-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: 18px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: var(--specular-shadow);
  cursor: pointer;
}

.interactive-reel-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s var(--ease-spring);
}

.interactive-reel-stage:hover img {
  transform: scale(1.018);
}

.reel-stage-bar {
  position: absolute;
  inset: auto 0 0 0;
  padding: 32px 18px 15px;
  background: linear-gradient(180deg, transparent, rgba(7, 7, 9, 0.88));
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.reel-stage-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: #ffffff;
}

.reel-stage-meta {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.68);
}

.reel-expand-btn {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(8, 8, 10, 0.58);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.reel-expand-btn:hover {
  background: rgba(255, 255, 255, 0.92);
  color: #08080a;
}

.reel-thumb-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.reel-thumb-btn {
  position: relative;
  appearance: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 11px;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  cursor: pointer;
  opacity: 0.48;
  transition: all 0.25s var(--ease-spring);
  padding: 0;
}

.reel-thumb-btn:hover {
  opacity: 0.85;
}

.reel-thumb-btn.active {
  opacity: 1;
  border-color: #ffffff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
  transform: translateY(-2px);
}

.reel-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   MODULE 2: INTERACTIVE 2004 <-> 2024 CONNECTED TIME-MACHINE DIPTYCH
   ========================================================================== */
.curtain-snap-pills {
  display: flex;
  gap: 4px;
  background: var(--surface-gradient);
  padding: 3px;
  border-radius: 999px;
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.snap-pill {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  padding: 4px 11px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.snap-pill.active {
  background: rgba(255, 255, 255, 0.14);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.origins-deck-stage {
  position: relative;
  width: 100%;
  background: radial-gradient(
    circle at 50% 42%,
    rgba(225, 58, 46, 0.16),
    #090a0e 74%
  );
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 22px;
  padding: 20px 18px 16px;
  box-shadow: var(--specular-shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}

.origins-deck-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 14 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1400px;
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}

.origins-print {
  position: absolute;
  width: 50%;
  aspect-ratio: 4 / 5;
  transform-style: preserve-3d;
  transition: transform 0.22s var(--ease-spring), filter 0.22s ease;
  will-change: transform, filter;
  cursor: pointer;
}

.origins-deck-stage.is-dragging .origins-print {
  transition: transform 0.06s ease-out, filter 0.06s ease-out;
}

.origins-print-frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  padding: 5px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.14) 0%,
    rgba(255, 255, 255, 0.04) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.85),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  overflow: hidden;
}

.origins-print-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 14%;
  border-radius: 11px;
  display: block;
  pointer-events: none;
}

.origins-print-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  z-index: 3;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  white-space: nowrap;
  color: #ffffff;
  background: rgba(8, 8, 10, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  pointer-events: none;
}

.origins-print-zoom {
  position: absolute;
  bottom: 14px;
  right: 14px;
  z-index: 4;
  appearance: none;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(8, 8, 10, 0.68);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  cursor: pointer;
  opacity: 0;
  transform: translateY(3px);
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.origins-print:hover .origins-print-zoom {
  opacity: 1;
  transform: translateY(0);
}

.origins-print-zoom:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

/* 20-Year Mechanical Watch-Crown Scrubber */
.origins-scrubber-wrap {
  background: rgba(14, 15, 20, 0.78);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px 16px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}

.origins-scrubber-readout {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.origins-scrubber-year {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: #ffffff;
}

.origins-scrubber-caption {
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.origins-ticks-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 26px;
  padding: 0 2px;
}

.origins-tick {
  width: 2px;
  height: 10px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.16);
  transition: height 0.14s var(--ease-spring), background 0.14s ease,
    box-shadow 0.14s ease;
}

.origins-tick.is-major {
  height: 14px;
  background: rgba(255, 255, 255, 0.28);
}

.origins-tick.is-near {
  height: 18px;
  background: rgba(255, 255, 255, 0.55);
}

.origins-tick.is-active {
  width: 2.5px;
  height: 24px;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.origins-scrubber-labels {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--text-muted);
}

/* ==========================================================================
   MODULE 3 & 4: PHOTO PAIRS & INTERACTIVE CAREER LEDGER
   ========================================================================== */
.photo-pair-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.photo-figure {
  display: flex;
  flex-direction: column;
  gap: 7px;
  cursor: zoom-in;
}

.photo-frame {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--specular-shadow);
}

.photo-frame--sky-grade::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(7, 7, 9, 0.54) 0%,
    rgba(7, 7, 9, 0.18) 26%,
    transparent 52%
  );
}

.photo-frame.ratio-3-4 {
  aspect-ratio: 3 / 4;
}

.photo-frame.ratio-3-2 {
  aspect-ratio: 3 / 2;
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s var(--ease-spring);
}

.photo-figure:hover .photo-frame img {
  transform: scale(1.025);
}

.photo-caption {
  font-size: 0.74rem;
  line-height: 1.45;
  color: var(--text-muted);
}

/* Interactive Career Table */
.inline-ledger-card {
  width: 100%;
  max-width: 100%;
  background: var(--surface-gradient);
  border: 1px solid var(--border);
  box-shadow: var(--specular-shadow);
  border-radius: 18px;
  padding: 12px 18px;
  overflow-x: auto;
}

.interactive-ledger tbody tr[data-club-idx] {
  cursor: pointer;
  transition: background 0.18s ease;
}

.interactive-ledger tbody tr[data-club-idx]:hover {
  background: rgba(255, 255, 255, 0.04);
}

.interactive-ledger tbody tr[data-club-idx].active-row td {
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
}

/* Minimal Index Sections (Partnerships & Waitlist) */
.minimal-index-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
  min-width: 0;
}

.index-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.index-section-title {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--text);
}

.inline-waitlist-form {
  display: flex;
  gap: 10px;
  max-width: 420px;
}

.inline-waitlist-form .tray-input {
  flex: 1;
}

/* Footer */
.site-footer {
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 0.76rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* ==========================================================================
   MODALS & TRAYS (FAMILY-STYLE 1-SCREEN TRAYS)
   ========================================================================== */
.tray-backdrop,
.lightbox-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(4, 4, 6, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.tray-backdrop.is-open,
.lightbox-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.family-tray {
  width: 100%;
  max-width: 420px;
  background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.04) 0%,
      rgba(255, 255, 255, 0) 100%
    ),
    #111217;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 24px;
  padding: 24px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 32px 64px rgba(0, 0, 0, 0.85);
  transform: translateY(16px) scale(0.97);
  transition: transform 0.38s var(--ease-spring);
}

.tray-backdrop.is-open .family-tray {
  transform: translateY(0) scale(1);
}

.tray-top-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
}

.tray-kicker {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.tray-title {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-top: 2px;
}

.tray-close-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  transition: all 0.2s ease;
}

.tray-close-btn:hover {
  color: var(--text);
  border-color: var(--border-hover);
}

.tray-desc {
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.tray-desc strong {
  color: var(--text);
  font-weight: 500;
}

.tray-form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tray-input,
.tray-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 10px 13px;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.86rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.tray-textarea {
  min-height: 82px;
  resize: vertical;
}

.tray-input:focus,
.tray-textarea:focus {
  border-color: rgba(255, 255, 255, 0.28);
}

.tray-footer-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.lightbox-frame {
  max-width: 960px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lightbox-img-box {
  max-height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lightbox-img-box img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 14px;
  object-fit: contain;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.85);
}

.lightbox-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lightbox-title {
  font-size: 0.88rem;
  font-weight: 500;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 900px) {
  .career-workspace {
    grid-template-columns: minmax(0, 1fr);
    gap: 42px;
    padding-top: 24px;
  }

  .sticky-card-stage {
    position: relative;
    top: 0;
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
  }

  .curtain-compare-box {
    aspect-ratio: 4 / 5;
  }
}

@media (max-width: 600px) {
  .site-container {
    padding: 0 16px 64px;
  }

  .top-nav {
    padding: 8px 10px 8px 14px;
  }

  .brand-meta {
    display: none;
  }

  .pill-btn {
    padding: 6px 12px;
    font-size: 0.75rem;
  }

  .player-card-3d {
    height: 396px;
  }

  .intro-metrics-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 0;
  }

  .stat-strip-cell:nth-child(3) {
    border-left: none;
    padding-left: 0;
  }

  .photo-pair-grid {
    grid-template-columns: 1fr;
  }

  .inline-ledger-card {
    padding: 10px 12px;
  }

  .ledger-mini-table {
    font-size: 0.72rem;
  }

  .ledger-mini-table th,
  .ledger-mini-table td {
    padding: 9px 4px;
  }

  .goal-bar-track {
    display: none;
  }
}
