/* ============================================================
   EKELLO HARRID — Personal Website
   Theme: Sleek Modern + Steampunk Accents
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Inter:wght@300;400;500;600&family=Space+Grotesk:wght@500;600;700&family=Bebas+Neue&family=Permanent+Marker&display=swap');

/* ── CSS Variables ─────────────────────────────────────── */
:root {
  --bg-primary:    #f7fbff;
  --bg-secondary:  #edf4f8;
  --bg-card:       #ffffff;
  --bg-card-hover: #ffffff;

  --brass:         #1e6f8f;
  --brass-light:   #2d8fb6;
  --brass-dark:    #16556f;
  --copper:        #b67a4b;
  --steel:         #5e7483;
  --steel-light:   #879ca8;

  --text-primary:  #13222d;
  --text-secondary:#425b6b;
  --text-muted:    #6d8290;

  --border:        rgba(30, 111, 143, 0.2);
  --border-bright: rgba(30, 111, 143, 0.42);
  --glow:          0 0 22px rgba(30, 111, 143, 0.16);
  --glow-strong:   0 0 34px rgba(30, 111, 143, 0.3);

  --font-display:  'Space Grotesk', sans-serif;
  --font-heading:  'Rajdhani', sans-serif;
  --font-body:     'Inter', sans-serif;
  --font-brand:    'Space Grotesk', sans-serif;

  --nav-height: 70px;
  --max-width:  1200px;
  --radius:     4px;
  --radius-lg:  8px;
  --transition: 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  min-height: 100vh;
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(30,111,143,0.12) 0%, transparent 62%),
    radial-gradient(ellipse at 80% 20%, rgba(182,122,75,0.08) 0%, transparent 50%);
}

a { color: var(--brass); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--brass-light); }
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.nav-links a:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: var(--radius);
}

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

body:has(.retro-show-hero) {
  --bg-primary: #120d0a;
  --bg-secondary: #21140d;
  --bg-card: #fff4d7;
  --brass: #f4a737;
  --brass-light: #ffd06c;
  --brass-dark: #9d5c18;
  --copper: #c76624;
  --text-primary: #fff2c8;
  --text-secondary: #e5c08f;
  --text-muted: #b98f61;
  --border: rgba(244, 167, 55, 0.22);
  --border-bright: rgba(255, 208, 108, 0.5);
  background-color: #120d0a;
  background-image:
    radial-gradient(circle at 18% 14%, rgba(244,167,55,0.16), transparent 26%),
    radial-gradient(circle at 86% 18%, rgba(199,62,31,0.14), transparent 30%),
    linear-gradient(180deg, #120d0a 0%, #170f0b 52%, #22130d 100%);
}

body.retro-inner-theme {
  --bg-primary: #120d0a;
  --bg-secondary: #1a100b;
  --bg-card: rgba(12, 22, 21, 0.72);
  --bg-card-hover: rgba(16, 38, 35, 0.82);
  --brass: #f4a737;
  --brass-light: #ffd06c;
  --brass-dark: #9d5c18;
  --copper: #c76624;
  --steel: #75523a;
  --steel-light: #d7a06e;
  --text-primary: #fff2c8;
  --text-secondary: #e5c08f;
  --text-muted: #b98f61;
  --border: rgba(244, 167, 55, 0.22);
  --border-bright: rgba(255, 208, 108, 0.5);
  --glow: 0 0 28px rgba(244, 167, 55, 0.14);
  --glow-strong: 0 0 42px rgba(244, 167, 55, 0.24);
  background-color: #120d0a;
  background-image:
    radial-gradient(circle at 16% 14%, rgba(244,167,55,0.16), transparent 28%),
    radial-gradient(circle at 86% 10%, rgba(199,62,31,0.16), transparent 32%),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(180deg, #120d0a 0%, #170f0b 54%, #22130d 100%);
  color: var(--text-primary);
}

body.retro-inner-theme::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 62%, rgba(87,14,10,0.28) 62% 100%),
    repeating-linear-gradient(0deg, rgba(255,208,108,0.025) 0 1px, transparent 1px 7px);
  opacity: 0.72;
}

body:has(.retro-show-hero) .nav,
body.retro-inner-theme .nav {
  background: rgba(5, 5, 5, 0.92);
  border-bottom-color: rgba(244, 167, 55, 0.24);
  box-shadow: 0 12px 34px rgba(0,0,0,0.34);
}

body:has(.retro-show-hero) .nav-logo,
body.retro-inner-theme .nav-logo {
  color: #fff2c8;
}

body:has(.retro-show-hero) .nav-logo span,
body:has(.retro-show-hero) .nav-links a,
body.retro-inner-theme .nav-logo span,
body.retro-inner-theme .nav-links a {
  color: #e5c08f;
}

body:has(.retro-show-hero) .nav-links a:hover,
body:has(.retro-show-hero) .nav-links a.active,
body.retro-inner-theme .nav-links a:hover,
body.retro-inner-theme .nav-links a.active {
  color: #62e2d0;
  border-color: rgba(98, 226, 208, 0.32);
  background: rgba(98, 226, 208, 0.08);
}

body:has(.retro-show-hero) .nav-hamburger span,
body.retro-inner-theme .nav-hamburger span {
  background: #f4a737;
}

/* ── Gear SVG Decoration ───────────────────────────────── */
.gear-decor {
  position: absolute;
  opacity: 0.06;
  pointer-events: none;
}

/* ── Scrollbar ─────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--brass-dark); border-radius: 3px; }

/* ── Navigation ────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: rgba(247, 251, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
}

.nav-logo {
  font-family: var(--font-brand);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brass);
  letter-spacing: 0.015em;
  white-space: nowrap;
}

.nav-logo span {
  color: var(--text-secondary);
  font-weight: 400;
  font-size: 0.75rem;
  display: block;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: -4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius);
  transition: all var(--transition);
  border: 1px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--brass);
  border-color: var(--border);
  background: rgba(30,111,143,0.1);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  border: 0;
  background: transparent;
}

.nav-hamburger span {
  width: 24px; height: 2px;
  background: var(--brass);
  transition: all var(--transition);
}

/* ── Page Wrapper ──────────────────────────────────────── */
.page {
  padding-top: var(--nav-height);
  min-height: 100vh;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── Brass Divider ─────────────────────────────────────── */
.brass-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
}
.brass-divider::before,
.brass-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--brass-dark), var(--brass), var(--brass-dark), transparent);
  opacity: 0.5;
}
.brass-divider .gear-icon {
  color: var(--brass);
  font-size: 1rem;
  opacity: 0.6;
}

/* ── Section Headers ───────────────────────────────────── */
.section-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
}

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  border: 1px solid;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--brass);
  border-color: var(--brass);
  color: #f4f8fb;
}
.btn-primary:hover {
  background: var(--brass-light);
  border-color: var(--brass-light);
  color: #f8fbfd;
  box-shadow: var(--glow-strong);
}

.btn-outline {
  background: transparent;
  border-color: var(--brass);
  color: var(--brass);
}
.btn-outline:hover {
  background: rgba(30,111,143,0.12);
  box-shadow: var(--glow);
  color: var(--brass-light);
}

/* ── Cards ─────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--brass), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.card:hover {
  border-color: var(--border-bright);
  background: var(--bg-card-hover);
  box-shadow: var(--glow);
}
.card:hover::before { opacity: 1; }

/* ── Tags / Badges ─────────────────────────────────────── */
.tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 2px;
  background: rgba(30,111,143,0.12);
  border: 1px solid var(--border);
  color: var(--brass);
}

/* ── Hero Section (Home) ───────────────────────────────── */
.hero {
  min-height: calc(100vh - var(--nav-height));
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding: 5rem 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
}

.hero-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.hero-eyebrow::before {
  content: '';
  width: 30px; height: 1px;
  background: var(--brass);
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.05;
  margin-bottom: 0.5rem;
}

.hero-name .highlight {
  background: linear-gradient(135deg, var(--brass), var(--brass-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--steel-light);
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: 2.5rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-command-wrap {
  justify-content: flex-end;
}

.hero-command-shell {
  width: min(100%, 470px);
  min-height: 560px;
  border-radius: 36px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 100% 34px,
    radial-gradient(circle at 50% 34%, rgba(45, 143, 182, 0.2), transparent 32%),
    #071113;
  border: 1px solid rgba(30,111,143,0.32);
  box-shadow:
    0 0 0 10px rgba(30,111,143,0.05),
    0 28px 72px rgba(19,34,45,0.22),
    inset 0 1px 0 rgba(255,255,255,0.08);
  isolation: isolate;
}

.hero-command-shell::before {
  content: '';
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 20% 12%, rgba(45,143,182,0.18), transparent 24%),
    radial-gradient(circle at 78% 18%, rgba(182,122,75,0.16), transparent 28%),
    radial-gradient(circle at 50% 72%, rgba(45,143,182,0.16), transparent 32%);
  opacity: 0.82;
  z-index: -1;
}

.hero-command-top {
  display: flex;
  gap: 7px;
  margin-bottom: 28px;
}

.hero-command-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(244,251,251,0.34);
}

.hero-command-lines {
  display: grid;
  gap: 0.35rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: clamp(0.68rem, 1vw, 0.86rem);
  font-weight: 700;
  color: rgba(244,251,251,0.76);
  line-height: 1.55;
}

.hero-command-lines div {
  opacity: 0.5;
  animation: liveLine 5.8s cubic-bezier(0.32,0.72,0,1) infinite;
}

.hero-command-lines div:nth-child(2) { animation-delay: 0.8s; }
.hero-command-lines div:nth-child(3) { animation-delay: 1.6s; }
.hero-command-lines div:nth-child(4) { animation-delay: 2.4s; }

.teleport-portrait {
  width: min(76%, 300px);
  aspect-ratio: 0.78;
  margin: 24px auto 0;
  border-radius: 34px 34px 20px 20px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(45,143,182,0.42);
  background: radial-gradient(circle at 50% 28%, rgba(45,143,182,0.22), rgba(7,17,19,0.82));
  box-shadow:
    0 0 0 8px rgba(45,143,182,0.06),
    0 0 44px rgba(45,143,182,0.18),
    0 28px 72px rgba(0,0,0,0.36),
    inset 0 1px 0 rgba(255,255,255,0.1);
  animation: teleportFloat 5.6s cubic-bezier(0.32,0.72,0,1) infinite;
}

.teleport-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 31%;
  filter: saturate(0.8) contrast(1.08) hue-rotate(10deg);
  opacity: 0.9;
  mix-blend-mode: screen;
}

.teleport-portrait::before,
.teleport-portrait::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.teleport-portrait::before {
  background: repeating-linear-gradient(
    to bottom,
    rgba(45,143,182,0.2) 0 1px,
    transparent 1px 7px
  );
  mix-blend-mode: screen;
  animation: scanDrop 2.8s linear infinite;
}

.teleport-portrait::after {
  background:
    radial-gradient(circle at 50% 18%, rgba(244,251,251,0.34), transparent 24%),
    linear-gradient(90deg, transparent 10%, rgba(45,143,182,0.24) 48%, rgba(244,251,251,0.18) 50%, rgba(45,143,182,0.24) 52%, transparent 90%);
  opacity: 0.72;
  transform: translateY(-70%);
  animation: teleportBeam 3.6s cubic-bezier(0.32,0.72,0,1) infinite;
}

.hero-command-tags {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.hero-command-tags span {
  min-height: 64px;
  border-radius: 16px;
  padding: 0.9rem;
  background: rgba(30,111,143,0.16);
  border: 1px solid rgba(244,251,251,0.1);
  color: rgba(244,251,251,0.74);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.35;
  text-transform: uppercase;
  animation: liftPulse 4.5s cubic-bezier(0.32,0.72,0,1) infinite;
}

.hero-command-tags span:nth-child(2) { animation-delay: -1.1s; background: rgba(182,122,75,0.16); }
.hero-command-tags span:nth-child(3) { animation-delay: -2.2s; }
.hero-command-tags span:nth-child(4) { animation-delay: -3.3s; background: rgba(182,122,75,0.16); }

.hero-portrait {
  width: 380px;
  height: 480px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  border: 2px solid var(--border-bright);
  box-shadow: var(--glow-strong), 0 16px 40px rgba(19,34,45,0.16);
  position: relative;
  z-index: 1;
}

.hero-portrait-placeholder {
  width: 380px;
  height: 480px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 2px dashed var(--border-bright);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
}

.hero-portrait-placeholder .placeholder-icon {
  font-size: 4rem;
  opacity: 0.4;
}
.hero-portrait-placeholder p {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.5;
}

/* ── Retro Show Hero ───────────────────────────────────── */
.retro-show-hero {
  position: relative;
  min-height: calc(100dvh - var(--nav-height));
  overflow: hidden;
  padding: clamp(1.25rem, 3vw, 2.2rem);
  color: #fff2c8;
  background:
    radial-gradient(circle at 13% 24%, rgba(244,167,55,0.2), transparent 26%),
    radial-gradient(circle at 88% 20%, rgba(153,32,21,0.36), transparent 30%),
    linear-gradient(90deg, rgba(6,8,8,0.92), rgba(31,15,8,0.94) 48%, rgba(8,8,7,0.96)),
    #0a0706;
  border-bottom: 1px solid rgba(244,167,55,0.26);
  isolation: isolate;
}

.retro-show-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px) 0 0 / 72px 72px,
    radial-gradient(circle at 5% 58%, rgba(98,226,208,0.1), transparent 24%),
    repeating-linear-gradient(90deg, transparent 0 30px, rgba(255,208,108,0.025) 30px 31px);
  opacity: 0.72;
}

.retro-stage {
  max-width: 1480px;
  margin: 0 auto;
  min-height: calc(100dvh - var(--nav-height) - 5rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: stretch;
  padding: clamp(0.75rem, 2vw, 1.5rem) 0 3.4rem;
}

.retro-copy {
  position: relative;
  order: 2;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(0.8rem, 1.5vw, 1.05rem);
  border: 1px solid rgba(244,167,55,0.3);
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(6,8,8,0.72), rgba(12,39,38,0.48)),
    rgba(6,8,8,0.52);
  box-shadow: 0 20px 50px rgba(0,0,0,0.24);
  backdrop-filter: blur(12px);
}

.retro-host-label {
  display: inline-flex;
  width: fit-content;
  margin: 0 0.75rem 0.7rem 0;
  color: #ffd06c;
  font-family: 'Bebas Neue', var(--font-heading);
  font-size: clamp(1rem, 1.7vw, 1.35rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.retro-marquee-label {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  margin: 0 0 0.7rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  color: #e9fff7;
  background: linear-gradient(180deg, #145047, #092a27);
  border: 2px solid #f4a737;
  box-shadow:
    0 0 0 4px rgba(244,167,55,0.08),
    inset 0 0 18px rgba(98,226,208,0.12),
    0 0 34px rgba(244,167,55,0.18);
  font-family: 'Bebas Neue', var(--font-heading);
  font-size: clamp(0.95rem, 1.35vw, 1.2rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.retro-title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
  font-family: 'Bebas Neue', var(--font-display);
  font-size: clamp(5rem, 13vw, 11rem);
  line-height: 0.78;
  letter-spacing: 0.015em;
  text-transform: uppercase;
}

.retro-title span {
  width: fit-content;
  padding: 0.04em 0.12em 0;
  color: #64e7d3;
  text-shadow:
    0 4px 0 #472406,
    0 0 0.12em rgba(98,226,208,0.24);
  background:
    linear-gradient(180deg, #9effef 0%, #48ccba 52%, #1f7f76 100%);
  border: 2px solid rgba(255,208,108,0.32);
  box-shadow:
    inset 0 0 0 3px rgba(6,8,8,0.16),
    0 0 0 6px rgba(244,167,55,0.05);
}

.retro-title span:last-child {
  color: #ffb33d;
  background:
    linear-gradient(180deg, #ffd177 0%, #f4a737 48%, #ba5a17 100%);
}

.retro-script {
  max-width: 760px;
  margin: 0;
  color: #fff2c8;
  font-family: 'Permanent Marker', var(--font-heading);
  font-size: clamp(0.95rem, 1.25vw, 1.15rem);
  line-height: 1.35;
  text-shadow: 0 2px 14px rgba(0,0,0,0.42);
}

.retro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.9rem;
}

.retro-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-height: 48px;
  padding: 0.45rem 0.55rem 0.45rem 1rem;
  border-radius: 16px;
  font-family: 'Bebas Neue', var(--font-heading);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.55s cubic-bezier(0.32,0.72,0,1), box-shadow 0.55s cubic-bezier(0.32,0.72,0,1);
}

.retro-btn:hover {
  transform: translateY(-3px);
}

.retro-btn span:last-child {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(255,255,255,0.12);
}

.retro-btn-primary {
  color: #e9fff7;
  background: linear-gradient(180deg, #19665c, #0a332f);
  border: 1px solid rgba(98,226,208,0.62);
  box-shadow: 0 18px 40px rgba(6,8,8,0.34), 0 0 24px rgba(98,226,208,0.16);
}

.retro-btn-outline {
  color: #ffd06c;
  background: rgba(6,8,8,0.56);
  border: 1px solid rgba(244,167,55,0.64);
}

.retro-feature-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
  max-width: none;
  margin-top: 0.9rem;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
}

.retro-feature-strip span {
  min-height: 44px;
  display: grid;
  place-items: center;
  padding: 0.5rem;
  color: #6ce9d7;
  font-family: 'Bebas Neue', var(--font-heading);
  font-size: clamp(0.9rem, 1.5vw, 1.2rem);
  letter-spacing: 0.08em;
  text-align: center;
  border-radius: 12px;
  background: rgba(98,226,208,0.06);
}

.retro-show-wall {
  position: relative;
  isolation: isolate;
  order: 1;
  min-height: clamp(680px, calc(100dvh - var(--nav-height) - 7rem), 820px);
  border-radius: 34px;
  padding: 1rem;
  background:
    radial-gradient(circle at 68% 18%, rgba(244,167,55,0.24), transparent 28%),
    linear-gradient(135deg, rgba(63,31,12,0.9), rgba(7,8,8,0.96));
  border: 1px solid rgba(244,167,55,0.32);
  box-shadow: 0 28px 70px rgba(0,0,0,0.44), inset 0 1px 0 rgba(255,255,255,0.08);
  overflow: hidden;
}

.retro-show-wall::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 0 62%, rgba(87,14,10,0.78) 62% 100%);
  opacity: 0.86;
}

.retro-crt-grid {
  position: absolute;
  left: 4%;
  top: 7%;
  width: 54%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  z-index: 2;
}

.retro-crt {
  min-height: 126px;
  padding: 1rem;
  border-radius: 20px;
  color: #70eedc;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 7px),
    radial-gradient(circle at 50% 20%, rgba(98,226,208,0.16), transparent 50%),
    #082b28;
  border: 8px solid #1b110c;
  box-shadow: inset 0 0 24px rgba(98,226,208,0.14), 0 10px 24px rgba(0,0,0,0.36);
}

.retro-crt small {
  display: block;
  margin-bottom: 0.5rem;
  color: #b2fff2;
  font-family: 'Bebas Neue', var(--font-heading);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}

.retro-crt strong {
  display: block;
  font-family: 'Bebas Neue', var(--font-heading);
  font-size: clamp(1.25rem, 2.3vw, 1.95rem);
  line-height: 0.96;
  letter-spacing: 0.04em;
}

.retro-host-card {
  position: absolute;
  right: 4%;
  bottom: 14%;
  width: min(44%, 370px);
  z-index: 3;
  border-radius: 42% 42% 28px 28px;
  padding: 0.55rem;
  background:
    radial-gradient(circle at 50% 16%, rgba(98,226,208,0.18), transparent 44%),
    linear-gradient(180deg, rgba(255,208,108,0.32), rgba(6,8,8,0.24));
  border: 1px solid rgba(255,208,108,0.42);
  box-shadow: 0 24px 58px rgba(0,0,0,0.42), inset 0 1px 0 rgba(255,255,255,0.12);
  transform: rotate(1.5deg);
  overflow: hidden;
}

.retro-host-glow {
  position: absolute;
  inset: 9%;
  border-radius: 50%;
  background: rgba(98,226,208,0.22);
  filter: blur(40px);
}

.retro-host-card img {
  position: relative;
  width: 100%;
  aspect-ratio: 0.82;
  object-fit: cover;
  object-position: 50% 28%;
  border-radius: 42% 42% 22px 22px;
  filter: saturate(0.9) contrast(1.08) sepia(0.12);
  box-shadow: inset 0 -30px 50px rgba(0,0,0,0.4);
}

.retro-host-card::after {
  content: '';
  position: absolute;
  left: 0.55rem;
  right: 0.55rem;
  bottom: 0.55rem;
  height: 38%;
  border-radius: 0 0 22px 22px;
  background: linear-gradient(to top, rgba(6,8,8,0.56), transparent);
  pointer-events: none;
}

.retro-on-air {
  position: absolute;
  right: -12px;
  bottom: 30px;
  padding: 0.45rem 0.7rem;
  min-width: max-content;
  color: #fff2c8;
  background: #7f2618;
  border: 1px solid rgba(255,208,108,0.62);
  border-radius: 8px;
  font-family: 'Bebas Neue', var(--font-heading);
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 12px 26px rgba(0,0,0,0.34);
}

.retro-console {
  position: absolute;
  left: 8%;
  right: 4%;
  bottom: 4%;
  z-index: 4;
  min-height: 128px;
  border-radius: 22px;
  padding: 1rem;
  background:
    linear-gradient(180deg, rgba(166,97,30,0.95), rgba(63,31,12,0.98));
  border: 1px solid rgba(255,208,108,0.46);
  box-shadow: 0 -10px 30px rgba(0,0,0,0.24), inset 0 1px 0 rgba(255,255,255,0.12);
}

.retro-console-plaque {
  width: min(58%, 350px);
  margin: 0 auto 1rem;
  padding: 0.55rem 0.75rem;
  color: #231207;
  background: #d59a44;
  border: 1px solid rgba(35,18,7,0.42);
  font-family: 'Bebas Neue', var(--font-heading);
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  letter-spacing: 0.05em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.retro-dials {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.retro-dials span {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff2c8, #f4a737 42%, #5a240b 72%);
  box-shadow: 0 0 14px rgba(244,167,55,0.42);
  animation: bulbPulse 2.4s cubic-bezier(0.32,0.72,0,1) infinite;
}

.retro-dials span:nth-child(2) { animation-delay: -0.4s; }
.retro-dials span:nth-child(3) { animation-delay: -0.8s; }
.retro-dials span:nth-child(4) { animation-delay: -1.2s; }
.retro-dials span:nth-child(5) { animation-delay: -1.6s; }

.retro-ticker {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  overflow: hidden;
  color: #ffd06c;
  background: rgba(6,8,8,0.82);
  border-top: 1px solid rgba(244,167,55,0.34);
}

.retro-ticker span {
  display: inline-block;
  min-width: 200%;
  padding: 0.62rem 0;
  font-family: 'Bebas Neue', var(--font-heading);
  font-size: 1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  animation: retroTicker 22s linear infinite;
}

@keyframes bulbPulse {
  0%, 100% { opacity: 0.62; transform: scale(0.92); }
  50% { opacity: 1; transform: scale(1.08); }
}

@keyframes retroTicker {
  to { transform: translateX(-50%); }
}

@media (max-width: 1050px) {
  .retro-stage {
    grid-template-columns: 1fr;
  }
  .retro-show-wall {
    min-height: 720px;
  }
}

@media (max-width: 700px) {
  .retro-show-hero {
    padding: 1rem 1rem 2.8rem;
  }
  .retro-stage {
    padding-top: 2rem;
    gap: 1.4rem;
  }
  .retro-title {
    font-size: clamp(4.6rem, 24vw, 7rem);
  }
  .retro-feature-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .retro-show-wall {
    min-height: 670px;
  }
  .retro-crt-grid {
    left: 5%;
    right: 5%;
    top: 5%;
    width: auto;
    grid-template-columns: 1fr;
  }
  .retro-crt {
    min-height: 92px;
    padding: 0.8rem;
  }
  .retro-host-card {
    right: 7%;
    bottom: 17%;
    width: 58%;
  }
  .retro-console {
    left: 5%;
    right: 5%;
  }
  .retro-console-plaque {
    width: 100%;
  }
}

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

.retro-stage-video,
.retro-sign-video video,
.retro-start-hotspot video,
.retro-side-sign video,
.retro-crt-loop,
.retro-console-button video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.retro-stage-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  object-fit: fill;
  filter: saturate(1.08) contrast(1.06);
}

.retro-stage-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 30% 44%, rgba(98,226,208,0.08), transparent 28%),
    radial-gradient(circle at 72% 22%, rgba(255,208,108,0.16), transparent 28%),
    linear-gradient(90deg, rgba(6,8,8,0.42), transparent 36%, rgba(6,8,8,0.5)),
    linear-gradient(to bottom, rgba(6,8,8,0.08), rgba(6,8,8,0.42));
}

.retro-sign-video,
.retro-start-hotspot,
.retro-side-sign,
.retro-console-button {
  position: absolute;
  z-index: 6;
  display: block;
  overflow: hidden;
  border: 0;
  background: transparent;
  padding: 0;
  color: inherit;
  cursor: pointer;
  transition:
    transform 0.35s cubic-bezier(0.32,0.72,0,1),
    filter 0.35s cubic-bezier(0.32,0.72,0,1),
    opacity 0.35s cubic-bezier(0.32,0.72,0,1);
}

.retro-sign-video:focus-visible,
.retro-start-hotspot:focus-visible,
.retro-side-sign:focus-visible,
.retro-console-button:focus-visible,
.retro-crt-links a:focus-visible {
  outline: 3px solid #9effef;
  outline-offset: 4px;
}

.retro-sign-video:hover,
.retro-start-hotspot:hover,
.retro-side-sign:hover,
.retro-console-button:hover,
.retro-show-wall.is-console-lit .retro-console-button {
  filter: brightness(1.15) saturate(1.12);
  transform: translateY(-3px) scale(1.015);
}

.retro-sign-video::after,
.retro-start-hotspot::after,
.retro-side-sign::after {
  content: '';
  position: absolute;
  inset: 6%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255,238,178,0.2), transparent 58%);
  opacity: 0;
  transition: opacity 0.35s ease;
  mix-blend-mode: screen;
}

.retro-sign-video:hover::after,
.retro-start-hotspot:hover::after,
.retro-side-sign:hover::after,
.retro-show-wall.is-console-lit .retro-start-hotspot::after {
  opacity: 1;
}

.retro-sign-video video,
.retro-start-hotspot video,
.retro-side-sign video {
  object-fit: contain;
}

.retro-sign-main {
  left: 3%;
  top: 9%;
  width: 34%;
  height: 22%;
  border-radius: 20px;
  mix-blend-mode: screen;
}

.retro-start-hotspot {
  left: 6%;
  bottom: 27%;
  width: 29%;
  height: 11%;
  border-radius: 24px;
  box-shadow: 0 18px 36px rgba(0,0,0,0.26);
}

.retro-side-sign {
  right: 5%;
  top: 8%;
  width: 18%;
  aspect-ratio: 1;
  border-radius: 50%;
  mix-blend-mode: screen;
}

.retro-crt-stage {
  position: absolute;
  left: 36%;
  top: 17%;
  width: 42%;
  height: 36%;
  z-index: 4;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(0,0,0,0.32);
}

.retro-crt-loop {
  filter: saturate(1.06) contrast(1.08);
}

.retro-crt-stage::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.055) 0 1px, transparent 1px 6px),
    radial-gradient(circle at 50% 42%, transparent 40%, rgba(6,8,8,0.2));
  opacity: 0.62;
  mix-blend-mode: screen;
  animation: crtBreath 2.8s ease-in-out infinite;
}

.retro-crt-links {
  position: absolute;
  inset: 8% 7%;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 0.45rem;
}

.retro-crt-links a {
  display: grid;
  align-content: end;
  min-width: 0;
  padding: clamp(0.35rem, 0.8vw, 0.65rem);
  color: #b8fff2;
  border-radius: 12px;
  background: rgba(3,22,20,0.28);
  border: 1px solid rgba(98,226,208,0.18);
  opacity: 0.88;
  transition:
    background 0.28s ease,
    border-color 0.28s ease,
    transform 0.28s ease;
}

.retro-crt-links a:hover {
  transform: translateY(-2px);
  background: rgba(6,45,40,0.62);
  border-color: rgba(98,226,208,0.5);
}

.retro-crt-links small {
  display: block;
  font-family: 'Bebas Neue', var(--font-heading);
  font-size: clamp(0.58rem, 0.9vw, 0.82rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.retro-crt-links strong {
  display: block;
  margin-top: 0.15rem;
  font-family: 'Bebas Neue', var(--font-heading);
  font-size: clamp(0.78rem, 1.45vw, 1.18rem);
  line-height: 0.96;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.retro-host-plate {
  position: absolute;
  right: 7%;
  bottom: 7%;
  z-index: 7;
  width: min(34%, 310px);
  pointer-events: none;
  transform: rotate(1deg);
  animation: hostFloat 5.2s ease-in-out infinite;
}

.retro-host-plate img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  filter: saturate(1.02) contrast(1.04) drop-shadow(0 22px 30px rgba(0,0,0,0.46));
}

.retro-host-plate .retro-host-glow {
  inset: 10% 4% 16%;
  z-index: 1;
}

.retro-host-plate .retro-on-air {
  z-index: 3;
  right: -2%;
  bottom: 30%;
}

.retro-console-button {
  left: 25%;
  right: 6%;
  bottom: 1.5%;
  z-index: 8;
  height: 25%;
  border-radius: 22px;
  box-shadow: 0 -12px 30px rgba(0,0,0,0.26);
}

.retro-console-button video {
  object-fit: cover;
  object-position: 50% 46%;
}

.retro-console-label {
  position: absolute;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  padding: 0.35rem 0.6rem;
  color: #21140b;
  background: rgba(255,208,108,0.82);
  border: 1px solid rgba(35,18,7,0.3);
  border-radius: 6px;
  font-family: 'Bebas Neue', var(--font-heading);
  font-size: clamp(0.9rem, 1.55vw, 1.28rem);
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
  pointer-events: none;
}

.retro-console-button:active {
  transform: translateY(1px) scale(0.995);
}

.retro-show-wall.is-console-lit .retro-console-button {
  box-shadow: 0 0 44px rgba(244,167,55,0.2), 0 -12px 30px rgba(0,0,0,0.26);
}

.retro-light-sweep {
  position: absolute;
  inset: -25%;
  z-index: 9;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 0 42%, rgba(255,240,190,0.12) 48%, transparent 56% 100%);
  transform: translateX(-45%) rotate(2deg);
  opacity: 0.54;
  mix-blend-mode: screen;
  animation: stageSweep 8s cubic-bezier(0.32,0.72,0,1) infinite;
}

@keyframes crtBreath {
  0%, 100% { opacity: 0.48; }
  50% { opacity: 0.74; }
}

@keyframes hostFloat {
  0%, 100% { transform: translateY(0) rotate(1deg); }
  50% { transform: translateY(-7px) rotate(0.4deg); }
}

@keyframes stageSweep {
  0%, 58% { transform: translateX(-55%) rotate(2deg); opacity: 0; }
  72% { opacity: 0.5; }
  100% { transform: translateX(55%) rotate(2deg); opacity: 0; }
}

@media (max-width: 1050px) {
  .retro-stage-video {
    object-fit: cover;
  }
  .retro-sign-main {
    left: 4%;
    top: 4%;
    width: 54%;
    height: 24%;
  }
  .retro-crt-stage {
    left: 8%;
    top: 29%;
    width: 54%;
    height: 30%;
  }
  .retro-side-sign {
    right: 7%;
    top: 7%;
    width: 22%;
  }
  .retro-host-plate {
    right: 4%;
    bottom: 13%;
    width: min(36%, 310px);
  }
  .retro-start-hotspot {
    left: 8%;
    bottom: 29%;
    width: 32%;
    height: 11%;
  }
  .retro-console-button {
    left: 20%;
    right: 4%;
    bottom: 2%;
    height: 24%;
  }
}

@media (max-width: 700px) {
  .retro-sign-main {
    left: 4%;
    top: 3%;
    width: 66%;
    height: 19%;
  }
  .retro-side-sign {
    right: 5%;
    top: 4%;
    width: 24%;
  }
  .retro-crt-stage {
    left: 5%;
    right: 5%;
    top: 24%;
    width: auto;
    height: 31%;
  }
  .retro-crt-links {
    inset: 10% 8%;
  }
  .retro-crt-links a {
    padding: 0.3rem;
  }
  .retro-crt-links small {
    font-size: 0.54rem;
  }
  .retro-crt-links strong {
    font-size: 0.72rem;
  }
  .retro-host-plate {
    right: 3%;
    bottom: 12%;
    width: 44%;
  }
  .retro-host-plate .retro-on-air {
    right: -4%;
    bottom: 13%;
    font-size: 0.78rem;
  }
  .retro-start-hotspot {
    left: 6%;
    bottom: 18%;
    width: 45%;
    height: 10%;
  }
  .retro-console-button {
    left: 5%;
    right: 5%;
    bottom: 3%;
    height: 14%;
  }
  .retro-console-label {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .retro-stage-video,
  .retro-sign-video video,
  .retro-start-hotspot video,
  .retro-side-sign video,
  .retro-crt-loop,
  .retro-console-button video {
    animation: none;
  }
  .retro-host-plate,
  .retro-light-sweep,
  .retro-crt-stage::after,
  .retro-dials span,
  .retro-ticker span {
    animation: none;
  }
}

/* Decorative corner brackets */
.portrait-frame {
  position: relative;
  display: inline-block;
}
.portrait-frame::before,
.portrait-frame::after {
  content: '';
  position: absolute;
  width: 30px; height: 30px;
  border-color: var(--brass);
  border-style: solid;
  opacity: 0.6;
}
.portrait-frame::before {
  top: -8px; left: -8px;
  border-width: 2px 0 0 2px;
}
.portrait-frame::after {
  bottom: -8px; right: -8px;
  border-width: 0 2px 2px 0;
}

/* ── Stats Bar ─────────────────────────────────────────── */
.stats-bar {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2rem;
}

.stats-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}

.stat-item .stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--brass);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-item .stat-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── Page Hero (inner pages) ───────────────────────────── */
.page-hero {
  padding: 5rem 2rem 3rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(to bottom, rgba(30,111,143,0.08), transparent);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

body.retro-inner-theme .page {
  position: relative;
  overflow: hidden;
}

body.retro-inner-theme .page-hero {
  min-height: 430px;
  display: grid;
  align-items: end;
  padding: clamp(6.4rem, 12vw, 9rem) 2rem clamp(2.6rem, 5vw, 4rem);
  border-bottom: 1px solid rgba(244,167,55,0.28);
  background:
    linear-gradient(90deg, rgba(6,8,8,0.84), rgba(10,16,15,0.58) 48%, rgba(87,14,10,0.48)),
    radial-gradient(circle at 78% 22%, rgba(244,167,55,0.22), transparent 26%),
    url('assets/retro-show/posters/stage-curtain-loop-v1-poster.jpg') center / cover;
  box-shadow: inset 0 -90px 100px rgba(18,13,10,0.92);
  isolation: isolate;
}

body.retro-inner-theme .page-hero::before,
body.retro-inner-theme .page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

body.retro-inner-theme .page-hero::before {
  z-index: 0;
  background:
    radial-gradient(circle at 18% 24%, rgba(98,226,208,0.12), transparent 24%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 8px);
  mix-blend-mode: screen;
  opacity: 0.5;
}

body.retro-inner-theme .page-hero::after {
  z-index: 0;
  border: 1px solid rgba(244,167,55,0.22);
  border-radius: 0 0 34px 34px;
  margin: 0 2rem;
  box-shadow:
    inset 0 0 0 1px rgba(255,208,108,0.08),
    inset 0 -32px 80px rgba(0,0,0,0.48);
}

body.retro-inner-theme .page-hero .container {
  max-width: min(1120px, calc(100vw - 4rem));
}

body.retro-inner-theme .section-label {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.9rem;
  padding: 0.38rem 0.68rem;
  color: #62e2d0;
  background: rgba(6, 38, 34, 0.72);
  border: 1px solid rgba(98,226,208,0.32);
  border-radius: 8px;
  font-family: 'Bebas Neue', var(--font-heading);
  font-size: 0.94rem;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

body.retro-inner-theme .page-hero .section-label {
  color: #e9fff7;
  background: linear-gradient(180deg, #145047, #092a27);
  border: 2px solid #f4a737;
  box-shadow: 0 0 34px rgba(244,167,55,0.18);
}

body.retro-inner-theme .section-title {
  max-width: 920px;
  color: #fff2c8;
  font-family: 'Bebas Neue', var(--font-display);
  font-size: clamp(3.6rem, 8vw, 7.2rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow: 0 4px 0 rgba(71,36,6,0.9), 0 0 24px rgba(244,167,55,0.16);
}

body.retro-inner-theme .page-hero .section-title {
  color: #ffd06c;
}

body.retro-inner-theme .section-subtitle {
  max-width: 720px;
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.65;
  text-wrap: pretty;
}

body.retro-inner-theme .section {
  position: relative;
  padding: clamp(3.4rem, 6vw, 5.5rem) 2rem;
}

body.retro-inner-theme .container {
  max-width: 1240px;
}

body.retro-inner-theme .section-header {
  max-width: 860px;
}

body.retro-inner-theme .card,
body.retro-inner-theme .post-card,
body.retro-inner-theme .coaching-card,
body.retro-inner-theme .resume-sidebar .sidebar-card,
body.retro-inner-theme .sidebar-widget,
body.retro-inner-theme .lesson-card,
body.retro-inner-theme .session-card,
body.retro-inner-theme .process-step,
body.retro-inner-theme .track-card,
body.retro-inner-theme .pricing-card,
body.retro-inner-theme .exclusive-notice,
body.retro-inner-theme .podcast-entry,
body.retro-inner-theme .podcast-card,
body.retro-inner-theme .course-card,
body.retro-inner-theme .course-feature-card,
body.retro-inner-theme .value-item,
body.retro-inner-theme .essay-placeholder {
  background:
    linear-gradient(180deg, rgba(255,208,108,0.06), transparent 36%),
    rgba(6, 14, 13, 0.76);
  border-color: rgba(244,167,55,0.26);
  box-shadow: 0 24px 60px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
}

body.retro-inner-theme .card:hover,
body.retro-inner-theme .post-card:hover,
body.retro-inner-theme .coaching-card:hover,
body.retro-inner-theme .lesson-card:hover,
body.retro-inner-theme .track-card:hover,
body.retro-inner-theme .pricing-card:hover {
  border-color: rgba(98,226,208,0.42);
  box-shadow: 0 28px 70px rgba(0,0,0,0.34), 0 0 34px rgba(98,226,208,0.08);
  transform: translateY(-3px);
}

body.retro-inner-theme .btn,
body.retro-inner-theme .podcast-links a,
body.retro-inner-theme .podcast-links button,
body.retro-inner-theme .yt-subscribe,
body.retro-inner-theme .lesson-link {
  border-radius: 12px;
}

body.retro-inner-theme .btn-primary,
body.retro-inner-theme .yt-subscribe {
  color: #21140b;
  background: linear-gradient(180deg, #ffd06c, #f4a737 55%, #ba5a17);
  border-color: rgba(255,208,108,0.72);
  box-shadow: 0 16px 34px rgba(244,167,55,0.16);
}

body.retro-inner-theme .btn-outline,
body.retro-inner-theme .podcast-links a,
body.retro-inner-theme .podcast-links button {
  color: #ffd06c;
  background: rgba(6,8,8,0.52);
  border-color: rgba(244,167,55,0.5);
}

body.retro-inner-theme .tag {
  color: #62e2d0;
  background: rgba(98,226,208,0.08);
  border-color: rgba(98,226,208,0.24);
  border-radius: 7px;
}

body.retro-inner-theme .brass-divider {
  opacity: 0.72;
}

body.retro-inner-theme .video-wrap,
body.retro-inner-theme .post-card-thumb,
body.retro-inner-theme .podcast-hero-art {
  background:
    radial-gradient(circle at 50% 42%, rgba(98,226,208,0.12), transparent 44%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 7px),
    #061715;
  border-color: rgba(98,226,208,0.24);
}

body.retro-inner-theme .footer {
  background:
    linear-gradient(180deg, rgba(18,13,10,0.84), rgba(6,8,8,0.96)),
    #080706;
  border-top-color: rgba(244,167,55,0.3);
}

body.retro-inner-theme .footer-logo {
  color: #ffd06c;
  font-family: 'Bebas Neue', var(--font-heading);
  font-size: 1.45rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 700px) {
  body.retro-inner-theme .page-hero {
    min-height: auto;
    padding: 5.6rem 1rem 2.4rem;
  }
  body.retro-inner-theme .page-hero::after {
    margin: 0 0.75rem;
    border-radius: 0 0 24px 24px;
  }
  body.retro-inner-theme .page-hero .container {
    max-width: calc(100vw - 2rem);
  }
  body.retro-inner-theme .section-label {
    font-size: 0.82rem;
  }
  body.retro-inner-theme .section-title {
    font-size: clamp(3rem, 15vw, 4.6rem);
    line-height: 0.92;
  }
  body.retro-inner-theme .section-subtitle {
    font-size: 1rem;
    line-height: 1.55;
  }
  body.retro-inner-theme .section {
    padding: 3rem 1rem;
  }
}

/* ── Sections ──────────────────────────────────────────── */
.section {
  padding: 5rem 2rem;
}

.section-header {
  margin-bottom: 3rem;
}

/* ── Resume Styles ─────────────────────────────────────── */
.resume-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  align-items: start;
}

.resume-sidebar .sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.resume-sidebar .sidebar-card h3 {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.skill-bar-wrap {
  margin-bottom: 0.75rem;
}

.skill-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.35rem;
}

.skill-bar {
  height: 4px;
  background: rgba(30,111,143,0.14);
  border-radius: 2px;
  overflow: hidden;
}

.skill-bar-fill {
  height: 100%;
  background: linear-gradient(to right, var(--brass-dark), var(--brass));
  border-radius: 2px;
}

.resume-main .experience-item {
  margin-bottom: 2.5rem;
  padding-left: 1.5rem;
  border-left: 2px solid var(--border);
  position: relative;
}

.resume-main .experience-item::before {
  content: '';
  width: 10px; height: 10px;
  background: var(--brass);
  border-radius: 50%;
  position: absolute;
  left: -6px; top: 6px;
}

.exp-date {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 0.25rem;
}

.exp-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.15rem;
}

.exp-org {
  font-size: 0.9rem;
  color: var(--steel-light);
  margin-bottom: 0.75rem;
}

.exp-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── Blog / Vlog Card Grid ─────────────────────────────── */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

.post-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  border-color: var(--border-bright);
  box-shadow: var(--glow);
  transform: translateY(-2px);
}

.post-card-thumb {
  width: 100%;
  height: 200px;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  opacity: 0.5;
  position: relative;
  overflow: hidden;
}

.post-card-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.post-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.post-date {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.post-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
  margin-bottom: 0.75rem;
  flex: 1;
}

.post-excerpt {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.post-read-more {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
}

/* ── Video Embed ───────────────────────────────────────── */
.video-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.video-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

.video-placeholder {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.play-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  border: 2px solid var(--border-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--brass);
  opacity: 0.5;
}

/* ── YouTube Grid ──────────────────────────────────────── */
.yt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

/* ── Coaching Cards ────────────────────────────────────── */
.coaching-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.coaching-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.coaching-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--brass-dark), var(--brass));
  opacity: 0;
  transition: opacity var(--transition);
}

.coaching-card:hover {
  border-color: var(--border-bright);
  box-shadow: var(--glow);
}

.coaching-card:hover::before { opacity: 1; }

.coaching-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.coaching-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.coaching-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── Contact Form ──────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(30,111,143,0.2);
}

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

/* ── Footer ────────────────────────────────────────────── */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 3rem 2rem 2rem;
  margin-top: auto;
}

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

.footer-logo {
  font-family: var(--font-brand);
  font-size: 1.2rem;
  color: var(--brass);
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

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

.footer-bottom {
  max-width: var(--max-width);
  margin: 1.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── Gear Background Decoration ────────────────────────── */
.bg-gear {
  position: fixed;
  opacity: 0.025;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
    padding: 3rem 1.5rem 4rem;
  }
  .hero-eyebrow { justify-content: center; }
  .hero-desc { margin: 0 auto 2.5rem; }
  .hero-cta { justify-content: center; }
  .hero-image-wrap { order: -1; }
  .hero-portrait,
  .hero-portrait-placeholder {
    width: 280px; height: 350px;
  }
  .hero-command-wrap {
    order: 0;
    justify-content: center;
  }
  .hero-command-shell {
    width: min(100%, 430px);
    min-height: auto;
    padding: 22px;
    border-radius: 28px;
  }
  .hero-command-tags {
    grid-template-columns: 1fr 1fr;
  }
  .stats-bar .container { grid-template-columns: repeat(2, 1fr); }
  .resume-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-links { justify-content: center; }

  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: rgba(247,251,255,0.98);
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    gap: 0.5rem;
  }
  body.retro-inner-theme .nav-links.open,
  body:has(.retro-show-hero) .nav-links.open {
    background: rgba(5, 5, 5, 0.97);
    border-bottom-color: rgba(244, 167, 55, 0.24);
    box-shadow: 0 22px 44px rgba(0,0,0,0.42);
  }
}

@media (max-width: 600px) {
  .section { padding: 3rem 1.5rem; }
  .post-grid { grid-template-columns: 1fr; }
  .coaching-grid { grid-template-columns: 1fr; }
  .yt-grid { grid-template-columns: 1fr; }
}


/* ============================================================
   ANIMATIONS & ENHANCEMENTS — scripts.js companion styles
   ============================================================ */

/* ── Scroll Reveal ─────────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.4,0,0.2,1),
              transform 0.65s cubic-bezier(0.4,0,0.2,1);
}
[data-reveal="left"]  { transform: translateX(-28px); }
[data-reveal="right"] { transform: translateX(28px); }
[data-reveal="scale"] { transform: scale(0.93); opacity: 0; }
[data-reveal="up"]    { transform: translateY(28px); }

[data-reveal].is-revealed {
  opacity: 1 !important;
  transform: none !important;
}

/* ── Nav Scroll Compact ────────────────────────────────────── */
.nav {
  transition: height var(--transition), background var(--transition),
              box-shadow var(--transition), border-color var(--transition);
}
.nav.scrolled {
  height: 56px;
  background: rgba(247,251,255,0.98);
  box-shadow: 0 8px 28px rgba(19,34,45,0.1);
  border-bottom-color: rgba(30,111,143,0.35);
}

/* ── Typewriter ────────────────────────────────────────────── */
.typewriter-active {
  border-right: 2px solid var(--brass);
  padding-right: 3px;
}
.typewriter-done {
  animation: cursorBlink 0.75s step-end 6;
  border-right: 2px solid var(--brass);
  padding-right: 3px;
}
@keyframes cursorBlink {
  0%, 100% { border-color: var(--brass); }
  50%       { border-color: transparent; }
}

/* ── Hero Canvas ───────────────────────────────────────────── */
#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  border-radius: inherit;
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero [data-reveal] {
  opacity: 1;
  transform: none;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(30,111,143,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 30%, rgba(182,122,75,0.09) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.hero-content,
.hero-image-wrap {
  position: relative;
  z-index: 1;
}

/* ── Floating gear decorations in hero ─────────────────────── */
.hero-gear {
  position: absolute;
  pointer-events: none;
  opacity: 0.04;
  z-index: 0;
}
.hero-gear-1 { top: 8%;  right: 5%;  width: 220px; animation: gearSpin  28s linear infinite; }
.hero-gear-2 { bottom: 12%; left: 4%; width: 160px; animation: gearSpin  20s linear infinite reverse; }
.hero-gear-3 { top: 50%; right: 48%; width: 80px;  animation: gearSpin  15s linear infinite; }

@keyframes gearSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ── Enhanced Card Hover ────────────────────────────────────── */
.card,
.coaching-card,
.service-item,
.post-card,
.vlog-card,
.pricing-card {
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1),
              border-color 0.3s ease,
              box-shadow 0.3s ease,
              background 0.3s ease;
}
.card:hover,
.coaching-card:hover,
.service-item:hover,
.pricing-card:hover {
  transform: translateY(-5px) scale(1.01);
}
.post-card:hover,
.vlog-card:hover {
  transform: translateY(-6px);
}

.post-card-link {
  cursor: pointer;
}

/* ── Button shimmer on hover ───────────────────────────────── */
.btn {
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}
.btn:hover::after { left: 150%; }

/* ── Section entrance polish ──────────────────────────────── */
.page-hero .section-title,
.page-hero .section-label,
.page-hero .section-subtitle {
  animation: fadeSlideUp 0.7s cubic-bezier(0.4,0,0.2,1) both;
}
.page-hero .section-label   { animation-delay: 0.05s; }
.page-hero .section-title   { animation-delay: 0.15s; }
.page-hero .section-subtitle { animation-delay: 0.25s; }
.page-hero .btn             { animation: fadeSlideUp 0.7s 0.35s cubic-bezier(0.4,0,0.2,1) both; }

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes liveLine {
  0%, 100% { opacity: 0.42; transform: translateX(0); }
  42%, 62% { opacity: 1; transform: translateX(10px); }
}

@keyframes teleportFloat {
  0%, 100% {
    transform: translateY(0) scale(0.985);
    opacity: 0.84;
  }
  42%, 62% {
    transform: translateY(-8px) scale(1);
    opacity: 1;
  }
}

@keyframes scanDrop {
  to { transform: translateY(14px); }
}

@keyframes teleportBeam {
  0%, 18% { transform: translateY(-86%); opacity: 0; }
  36%, 62% { opacity: 0.75; }
  78%, 100% { transform: translateY(72%); opacity: 0; }
}

@keyframes liftPulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ── Portrait glow pulse ───────────────────────────────────── */
.hero-portrait,
.about-portrait {
  animation: portraitGlow 4s ease-in-out infinite;
}
@keyframes portraitGlow {
  0%, 100% { box-shadow: 0 0 26px rgba(30,111,143,0.26), 0 16px 36px rgba(19,34,45,0.14); }
  50%       { box-shadow: 0 0 40px rgba(30,111,143,0.36), 0 16px 36px rgba(19,34,45,0.14); }
}

/* ── Stats bar count-up shimmer ────────────────────────────── */
.stat-item .stat-value {
  transition: color 0.3s ease;
}
.stat-item:hover .stat-value { color: var(--brass-light); }

/* ── Brass divider pulse ───────────────────────────────────── */
.brass-divider::before,
.brass-divider::after {
  transition: opacity 0.4s ease;
}
.brass-divider:hover::before,
.brass-divider:hover::after { opacity: 0.8; }

/* ── Skill bar glow ─────────────────────────────────────────── */
.skill-bar-fill {
  position: relative;
}
.skill-bar-fill::after {
  content: '';
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 20px;
  background: linear-gradient(to right, transparent, rgba(45,143,182,0.5));
  animation: skillShimmer 2s ease-in-out infinite;
}
@keyframes skillShimmer {
  0%, 100% { opacity: 0.5; }
  50%       { opacity: 1; }
}

/* ── Smooth image load ──────────────────────────────────────── */
img {
  transition: opacity 0.4s ease;
}
img[src] {
  opacity: 1;
}
