/* ============================================================
   RENNER DANCE — DESIGN SYSTEM
   Premium dance studio website
   ============================================================ */

/* ---- Google Fonts ---- */
/* Fonts loaded via <link> in each page <head> for faster rendering */

/* ---- Design Tokens ---- */
:root {
  /* Colors */
  --white:       #FAFAF9;
  --off-white:   #F5F4F1;
  --ink:         #0A0A0A;
  --ink-soft:    #3D3D3D;
  --ink-muted:   #6B6B6B;
  --blue:        #0F3D6B;
  --blue-dark:   #0A2A4A;
  --blue-light:  #1A5499;
  --gold:        #C9A84C;
  --gold-light:  #E8CC85;
  --gold-dark:   #A07830;
  --surface:     #F5F4F1;
  --surface-2:   #EDECE8;
  --border:      rgba(0, 0, 0, 0.08);
  --border-dark: rgba(0, 0, 0, 0.15);
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.05);
  --shadow-lg:   0 12px 40px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06);
  --shadow-xl:   0 24px 64px rgba(0,0,0,0.16);

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', -apple-system, sans-serif;

  /* Spacing */
  --space-1:   4px;
  --space-2:   8px;
  --space-3:   12px;
  --space-4:   16px;
  --space-5:   24px;
  --space-6:   32px;
  --space-7:   48px;
  --space-8:   64px;
  --space-9:   96px;
  --space-10:  128px;

  /* Container */
  --max-w:     1200px;
  --max-w-sm:  800px;

  /* Transitions */
  --ease:      cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out:  cubic-bezier(0.0, 0.0, 0.2, 1);
  --dur-fast:  150ms;
  --dur-base:  250ms;
  --dur-slow:  400ms;
  --dur-xslow: 700ms;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }
/* Keep linked sections clear of the fixed hiring bar + header */
[id] { scroll-margin-top: calc(var(--topbar-h, 0px) + 96px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ---- Container ---- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-6);
}
.container-sm {
  width: 100%;
  max-width: var(--max-w-sm);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* ---- Typography ---- */
.display-1 { font-family: var(--font-display); font-weight: 300; font-size: clamp(3rem, 7vw, 6rem); line-height: 1.05; letter-spacing: -0.02em; }
.display-2 { font-family: var(--font-display); font-weight: 300; font-size: clamp(2.25rem, 5vw, 4rem); line-height: 1.1; letter-spacing: -0.02em; }
.heading-1  { font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; letter-spacing: -0.015em; }
.heading-2  { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.5rem, 3vw, 2.25rem); line-height: 1.2; letter-spacing: -0.01em; }
.heading-3  { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.25rem, 2vw, 1.75rem); line-height: 1.25; }
.overline   { font-family: var(--font-body); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.lead       { font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.7; color: var(--ink-soft); font-weight: 300; }
.body-lg    { font-size: 1.05rem; line-height: 1.75; color: var(--ink-soft); }
.caption    { font-size: 0.8rem; color: var(--ink-muted); letter-spacing: 0.02em; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all var(--dur-base) var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 2px 12px rgba(15,61,107,0.25);
}
.btn-primary:hover {
  background: var(--blue-dark);
  box-shadow: 0 4px 20px rgba(15,61,107,0.35);
  transform: translateY(-1px);
}
.btn-gold {
  background: var(--gold);
  color: var(--white);
  box-shadow: 0 2px 12px rgba(201,168,76,0.3);
}
.btn-gold:hover {
  background: var(--gold-dark);
  box-shadow: 0 4px 20px rgba(201,168,76,0.4);
  transform: translateY(-1px);
}
.btn-outline {
  border: 1.5px solid var(--blue);
  color: var(--blue);
  background: transparent;
}
.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
}
.btn-outline-white {
  border: 1.5px solid rgba(255,255,255,0.7);
  color: var(--white);
  background: transparent;
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: white;
}
.btn-sm { padding: 10px 22px; font-size: 0.8rem; }

/* ---- Navigation ---- */
#navbar {
  position: fixed;
  top: var(--topbar-h, 0px);
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background var(--dur-base) var(--ease),
              box-shadow var(--dur-base) var(--ease),
              padding var(--dur-base) var(--ease),
              top var(--dur-base) var(--ease);
}
#navbar.transparent { background: transparent; padding: 20px 0; }
#navbar.scrolled {
  background: rgba(250, 250, 249, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border), 0 2px 16px rgba(0,0,0,0.06);
  padding: 12px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}
.nav-logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  line-height: 1;
  flex-shrink: 0;
}
.nav-logo-mark {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: transform var(--dur-base) var(--ease), height var(--dur-base) var(--ease);
}
#navbar.scrolled .nav-logo-mark {
  height: 42px;
}
.nav-logo:hover .nav-logo-mark {
  transform: scale(1.04);
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}
.nav-logo-wordmark {
  height: 19px;
  width: auto;
  object-fit: contain;
}
.nav-logo--light { display: none; }
.nav-logo--dark  { display: block; }
#navbar.transparent:not(.mobile-menu-active) .nav-logo--light { display: block; }
#navbar.transparent:not(.mobile-menu-active) .nav-logo--dark  { display: none; }
.nav-logo-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
  transition: color var(--dur-fast);
}
.nav-logo-sub {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  padding-left: 1px;
}
#navbar.transparent:not(.mobile-menu-active) .nav-logo-name { color: var(--white); }
#navbar.transparent:not(.mobile-menu-active) .nav-logo-sub { color: var(--gold-light); }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.nav-link {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
  white-space: nowrap;
  transition: color var(--dur-fast);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-base) var(--ease);
}
.nav-link:hover { color: var(--ink); }
.nav-link:hover::after { transform: scaleX(1); }
#navbar.transparent .nav-link { color: rgba(255,255,255,0.85); }
#navbar.transparent .nav-link:hover { color: white; }
.nav-hiring-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d92638;
  box-shadow: 0 0 6px rgba(217, 38, 56, 0.7);
  margin-right: 6px;
  flex-shrink: 0;
}

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: var(--space-3) 0;
  padding-top: calc(var(--space-3) + 12px); /* bridge gap */
  margin-top: 0;
  min-width: 220px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-6px);
  transition: opacity var(--dur-base) var(--ease),
              transform var(--dur-base) var(--ease);
}
/* Invisible bridge so cursor doesn't lose hover when moving to dropdown */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
  background: transparent;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-item {
  display: block;
  padding: 10px 20px;
  font-size: 0.825rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: all var(--dur-fast);
}
.nav-dropdown-item:hover {
  color: var(--blue);
  background: var(--surface);
  padding-left: 24px;
}
.nav-dropdown-group-label {
  padding: 10px 20px 4px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  pointer-events: none;
  user-select: none;
}
.nav-dropdown-group-label:first-child { padding-top: 4px; }
.nav-dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: 6px 12px;
}
/* Summer Camps link in dropdown — give it a subtle gold accent */
.nav-dropdown-item--camps {
  color: var(--blue);
  font-weight: 600;
}
.nav-dropdown-item--camps:hover { color: var(--gold-dark); }
.nav-cta {
  margin-left: var(--space-2);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-shrink: 0;
}
.btn-portal {
  background: transparent;
  border: 1.5px solid var(--blue);
  color: var(--blue);
  font-size: 0.72rem;
  padding: 8px 14px;
  letter-spacing: 0.04em;
}
.btn-portal:hover {
  background: var(--blue);
  color: white;
}
#navbar.transparent .btn-portal {
  border-color: rgba(255,255,255,0.6);
  color: rgba(255,255,255,0.9);
}
#navbar.transparent .btn-portal:hover {
  background: rgba(255,255,255,0.15);
  border-color: white;
  color: white;
}

/* Mobile Nav */
.hamburger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 44px;
  min-height: 44px;
  padding: 10px;
  margin: -10px;
  background: transparent;
  border: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--ink);
  transition: all var(--dur-base) var(--ease);
  transform-origin: center;
}
#navbar.transparent .hamburger span { background: white; }
.hamburger.open span,
#navbar.transparent .hamburger.open span { background: var(--ink); }
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--white);
  padding: 104px var(--space-6) var(--space-8);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.mobile-nav.open { display: flex; flex-direction: column; gap: var(--space-4); }
.mobile-nav-link {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--ink);
  border-bottom: 1px solid var(--border);
  padding-bottom: var(--space-2);
  margin-bottom: var(--space-1);
  display: block;
  transition: color var(--dur-fast);
}
.mobile-nav-link:hover { color: var(--blue); }
.mobile-nav-sub {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 8px 0 8px var(--space-4);
  min-height: 40px;
  display: flex;
  align-items: center;
  border-left: 2px solid var(--border);
  margin-left: var(--space-2);
  transition: border-color var(--dur-fast), color var(--dur-fast);
}
.mobile-nav-sub:hover { color: var(--blue); border-color: var(--blue); }

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--blue-dark);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-dancer.jpg');
  background-size: cover;
  background-position: center 20%;
  opacity: 0.45;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.hero-bg--company {
  background-image: url('../images/competitive-team.jpg');
  background-position: center 28%;
  opacity: 0.52;
}
/* ---- Company Hero: Editorial Floating Collage (real student stage photos) ---- */
.hero-bg--company-ambient {
  background-image: url('../images/company-collage-3.jpg');
  background-position: center;
  filter: blur(40px) saturate(1.3);
  opacity: 0.42;
  transform: scale(1.25);
}
.hero.loaded .hero-bg--company-ambient { transform: scale(1.2); }
.hero--company-collage .hero-overlay {
  background:
    radial-gradient(ellipse 55% 65% at 76% 50%, rgba(124, 77, 196, 0.28) 0%, rgba(124, 77, 196, 0) 70%),
    radial-gradient(ellipse 35% 35% at 92% 96%, rgba(201, 168, 76, 0.14) 0%, rgba(201, 168, 76, 0) 70%),
    linear-gradient(90deg, rgba(10, 42, 74, 0.97) 0%, rgba(10, 42, 74, 0.9) 42%, rgba(10, 42, 74, 0.72) 100%);
}
.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-8);
  align-items: center;
  min-height: 100vh;
}
.hero--company-collage .hero-content { max-width: 600px; }

.hero-collage {
  position: relative;
  width: 100%;
  max-width: 580px;
  aspect-ratio: 560 / 600;
  justify-self: end;
  margin-top: 64px;
}
.hero-collage::before {
  content: '';
  position: absolute;
  inset: 12% 8%;
  background: radial-gradient(circle, rgba(124, 77, 196, 0.35) 0%, rgba(124, 77, 196, 0) 70%);
  filter: blur(30px);
  pointer-events: none;
}
.hero-collage-item {
  position: absolute;
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  background: var(--blue-dark);
  box-shadow:
    0 32px 64px -20px rgba(0, 0, 0, 0.65),
    0 14px 28px -14px rgba(0, 0, 0, 0.45);
  opacity: 0;
  translate: 0 32px;
  transition: opacity 1s var(--ease), translate 1.1s var(--ease);
  animation: collageFloat 9s ease-in-out infinite;
}
.hero-collage-item::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  pointer-events: none;
}
.hero-collage-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s var(--ease);
}
.hero-collage-item:hover img { transform: scale(1.04); }

/* Diagonal, layered composition (percentages scale with the container) */
.hero-collage-item--a { top: 0;    right: 0; width: 70%; aspect-ratio: 4 / 3; z-index: 3; animation-delay: -1s;   transition-delay: 0.3s; }
.hero-collage-item--d { top: 9%;   left: 0;  width: 34%; aspect-ratio: 4 / 3; z-index: 4; animation-delay: -2.5s; transition-delay: 0.75s; }
.hero-collage-item--b { top: 38%;  left: 4%; width: 56%; aspect-ratio: 3 / 2; z-index: 2; animation-delay: -4s;   transition-delay: 0.45s; }
.hero-collage-item--c { bottom: 3%; right: 0; width: 56%; aspect-ratio: 3 / 2; z-index: 1; animation-delay: -6.5s; transition-delay: 0.6s; }
.hero-collage-item--a img { object-position: center 55%; }
.hero-collage-item--b img { object-position: center 60%; }
.hero-collage-item--c img { object-position: center 70%; }
.hero-collage-item--d img { object-position: center 62%; }

.hero-collage-chip {
  position: absolute;
  left: 0;
  bottom: 4%;
  max-width: 38%;
  z-index: 5;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  opacity: 0;
  translate: 0 20px;
  transition: opacity 1s var(--ease) 0.9s, translate 1s var(--ease) 0.9s;
}
.hero-collage-chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 0 4px rgba(232, 204, 133, 0.18);
  margin-top: 5px;
  flex-shrink: 0;
}
.hero-collage-chip-kicker {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 3px;
}
.hero-collage-chip-text {
  display: block;
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.85);
}

.hero.loaded .hero-collage-item,
.hero.loaded .hero-collage-chip {
  opacity: 1;
  translate: 0 0;
}

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

@media (min-width: 1025px) {
  .hero--company-collage .hero-title { font-size: clamp(3rem, 5vw, 4.6rem); }
}
@media (max-width: 1024px) {
  .hero-split {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: auto;
  }
  .hero--company-collage .hero-content {
    max-width: 640px;
    padding-bottom: var(--space-7);
  }
  .hero-collage {
    justify-self: center;
    max-width: 560px;
    margin: 0 auto var(--space-9);
  }
  .hero--company-collage .hero-scroll { display: none; }
}
@media (max-width: 600px) {
  .hero-collage { margin-bottom: var(--space-8); }
  .hero-collage-item { border-radius: 14px; }
  .hero-collage-chip { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-collage-item,
  .hero-collage-chip {
    animation: none;
    transition: none;
    opacity: 1;
    translate: 0 0;
  }
}
.hero.loaded .hero-bg { transform: scale(1); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10,42,74,0.92) 0%,
    rgba(10,42,74,0.75) 40%,
    rgba(10,42,74,0.3) 70%,
    rgba(10,42,74,0.1) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 140px 0 80px;
  max-width: 660px;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s var(--ease) 0.2s;
}
.hero-eyebrow-line {
  width: 32px;
  height: 1px;
  background: var(--gold);
}
.hero-eyebrow-text {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: white;
  margin-bottom: var(--space-5);
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.9s var(--ease) 0.35s;
}
.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}
.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.7;
  color: rgba(255,255,255,0.8);
  font-weight: 300;
  max-width: 480px;
  margin-bottom: var(--space-7);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.9s var(--ease) 0.5s;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.9s var(--ease) 0.65s;
}
.hero.loaded .hero-eyebrow,
.hero.loaded .hero-title,
.hero.loaded .hero-subtitle,
.hero.loaded .hero-actions {
  opacity: 1;
  transform: translateY(0);
}
.hero-scroll {
  position: absolute;
  bottom: var(--space-6);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.3; transform: scaleY(0.8); }
}

/* ---- Section Structure ---- */
.section { padding: var(--space-10) 0; }
.section + .section:not(.section-dark):not(.cta-section) {
  border-top: 1px solid var(--border);
}
.section-sm { padding: var(--space-8) 0; }
.section-lg { padding: 140px 0; }
.section-dark { background: var(--blue-dark); color: white; }
.section-surface { background: var(--surface); }
.section-surface-2 { background: var(--surface-2); }

.section-header { text-align: center; max-width: 600px; margin: 0 auto var(--space-9); }
.section-header .overline { margin-bottom: var(--space-3); }
.section-header .heading-1 { margin-bottom: var(--space-4); }
.section-header .lead { margin: 0 auto; }

/* ---- Stats Bar ---- */
.stats-bar {
  background: var(--blue);
  padding: var(--space-7) 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.1);
}
.stat-item {
  text-align: center;
  padding: var(--space-6) var(--space-4);
  background: var(--blue);
  transition: background var(--dur-base);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.stat-item:hover { background: var(--blue-light); }
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 300;
  color: white;
  line-height: 1;
  margin-bottom: var(--space-3);
  min-height: 3.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stat-number span { color: var(--gold-light); }
.stat-number--text span {
  font-size: clamp(1.25rem, 1.85vw, 1.65rem);
  line-height: 1.15;
  display: block;
}
.stat-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.68);
  line-height: 1.45;
}

/* ---- Why Renner ---- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
}
.why-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--surface);
}
.why-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transition: transform 0.6s var(--ease);
  display: block;
}
.why-image-wrap:hover img { transform: scale(1.03); }
.why-badge {
  position: absolute;
  bottom: var(--space-5);
  left: var(--space-5);
  background: rgba(10, 42, 74, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(201, 168, 76, 0.45);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: var(--shadow-lg);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.why-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-light);
  flex-shrink: 0;
}
.why-content { padding: var(--space-4) 0; }
.why-content .overline { margin-bottom: var(--space-4); }
.why-content .heading-1 { margin-bottom: var(--space-5); }
.why-content .lead { margin-bottom: var(--space-6); }

/* ---- Editorial Ledger for Why Renner ---- */
.why-editorial-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-dark);
  margin-bottom: var(--space-6);
}
.why-editorial-item {
  display: block;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
  transition: transform var(--dur-base) var(--ease);
}
.why-editorial-item::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--dur-slow) var(--ease);
}
.why-editorial-item:hover {
  transform: translateX(4px);
}
.why-editorial-item:hover::before {
  width: 100%;
}
.why-editorial-num {
  display: none;
}
.why-editorial-kicker {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 4px;
}
.why-editorial-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 5px;
}
.why-editorial-desc {
  font-size: 0.875rem;
  color: var(--ink-muted);
  line-height: 1.65;
  margin: 0;
}
.trust-items { display: flex; flex-direction: column; gap: var(--space-4); margin-bottom: var(--space-6); }
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}
.trust-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue);
  font-size: 1.1rem;
}
.trust-text-title {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
  margin-bottom: 2px;
}
.trust-text-desc {
  font-size: 0.85rem;
  color: var(--ink-muted);
  line-height: 1.5;
}
.unc-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}
.unc-badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

/* ---- Programs ---- */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.program-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  transition: all var(--dur-slow) var(--ease);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.program-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}
.program-card-img {
  aspect-ratio: 3/2;
  overflow: hidden;
  background: var(--surface);
}
.program-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.6s var(--ease);
  display: block;
}
.program-card:hover .program-card-img img { transform: scale(1.05); }
.program-card-body {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.program-card-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-2);
}
.program-card-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: var(--space-3);
  line-height: 1.2;
}
.program-card-desc {
  font-size: 0.875rem;
  color: var(--ink-soft);
  line-height: 1.65;
  margin-bottom: var(--space-5);
  flex: 1;
}
.program-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
}
.program-card-detail {
  font-size: 0.75rem;
  color: var(--ink-muted);
}
.program-card-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--dur-fast);
}
.program-card-link:hover { gap: 8px; }

/* ---- Testimonials ---- */
.testimonials { background: var(--blue-dark); position: relative; overflow: hidden; }
.testimonials::before {
  content: '"';
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 400px;
  color: rgba(255,255,255,0.03);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.testimonials-slider { position: relative; }
.testimonial-track { overflow: hidden; }
.testimonials-inner {
  display: flex;
  transition: transform 0.6s var(--ease);
}
.testimonial-slide {
  min-width: 100%;
  padding: 0 var(--space-5);
  display: flex;
  justify-content: center;
}
.testimonial-card {
  max-width: 680px;
  text-align: center;
}
.testimonial-stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: var(--space-5);
}
.testimonial-star { color: var(--gold); font-size: 1rem; }
.testimonial-quote {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 300;
  font-style: italic;
  color: white;
  line-height: 1.55;
  margin-bottom: var(--space-6);
}
.testimonial-author { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-light); }
.testimonial-role { font-size: 0.75rem; color: rgba(255,255,255,0.45); margin-top: 4px; }
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-top: var(--space-7);
}
.slider-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--dur-base);
  font-size: 1rem;
}
.slider-btn:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.4); }
.slider-dots { display: flex; gap: var(--space-2); }
.slider-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  transition: all var(--dur-base);
}
.slider-dot.active { background: var(--gold); width: 24px; border-radius: 3px; }

/* ---- About / Story ---- */
.story-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: var(--space-10);
  align-items: start;
}
.story-image-wrap {
  position: sticky;
  top: 100px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 3/4;
  background: var(--surface);
}
.story-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}
.story-content { padding-top: var(--space-4); }
.story-content .overline { margin-bottom: var(--space-4); }
.story-content .heading-1 { margin-bottom: var(--space-4); color: var(--ink); }
.story-content p { color: var(--ink-soft); line-height: 1.8; margin-bottom: var(--space-5); font-size: 1rem; }
.story-quote {
  border-left: 3px solid var(--gold);
  padding: var(--space-4) var(--space-5);
  background: var(--surface);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: var(--space-7) 0;
}
.story-quote-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--ink);
  line-height: 1.5;
}
.story-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin-top: var(--space-6);
}
.story-value {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.story-value-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* ---- Faculty ---- */
.faculty-founder {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: var(--space-8);
  align-items: center;
  margin-bottom: var(--space-10);
  padding-bottom: var(--space-10);
  border-bottom: 1px solid var(--border);
}
.faculty-founder-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 3/4;
  background: var(--surface);
}
.faculty-founder-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}
.faculty-founder-content .overline { margin-bottom: var(--space-3); }
.faculty-founder-content .heading-2 { margin-bottom: 4px; color: var(--ink); }
.faculty-founder-role {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: var(--space-5);
}
.faculty-founder-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: var(--space-4);
}
.credential-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-5);
}
.faculty-full-bio {
  margin-top: var(--space-5);
}
.faculty-full-bio-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(10, 42, 74, 0.22);
  background: var(--white);
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
  transition: background var(--dur-base) var(--ease), border-color var(--dur-base), color var(--dur-base);
}
.faculty-full-bio-toggle::-webkit-details-marker { display: none; }
.faculty-full-bio-toggle:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: var(--white);
}
.faculty-full-bio-label-open { display: none; }
.faculty-full-bio[open] .faculty-full-bio-label-closed { display: none; }
.faculty-full-bio[open] .faculty-full-bio-label-open { display: inline; }
.faculty-full-bio-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
  color: var(--gold-dark);
  transition: transform var(--dur-base) var(--ease), color var(--dur-base);
}
.faculty-full-bio-toggle:hover .faculty-full-bio-icon { color: var(--gold-light); }
.faculty-full-bio[open] .faculty-full-bio-icon { transform: rotate(45deg); }
.faculty-full-bio-body {
  margin-top: var(--space-5);
  padding: var(--space-6);
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-lg);
}
.faculty-full-bio-body h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--blue-dark);
  margin: var(--space-5) 0 var(--space-2);
}
.faculty-full-bio-body h4:first-child { margin-top: 0; }
.faculty-full-bio-body p {
  font-size: 0.9375rem;
  line-height: 1.78;
  color: var(--ink-soft);
  margin-bottom: var(--space-3);
}
.faculty-full-bio-body p:last-child { margin-bottom: 0; }
@media (max-width: 768px) {
  .faculty-full-bio-body {
    padding: var(--space-4);
  }
  .faculty-full-bio-body h4 {
    font-size: 1.12rem;
  }
  .faculty-full-bio-body p {
    font-size: 0.9rem;
    line-height: 1.7;
  }
}
@media (max-width: 600px) {
  .faculty-full-bio-toggle {
    width: 100%;
    justify-content: center;
    min-height: 44px;
  }
}
.credential-tag {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.faculty-section-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--ink-muted);
  margin-bottom: var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.faculty-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.faculty-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.faculty-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--dur-slow) var(--ease);
  background: var(--white);
}
.faculty-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.faculty-card-img {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--surface);
}
.faculty-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  transition: transform 0.5s var(--ease);
  display: block;
}
.faculty-card:hover .faculty-card-img img { transform: scale(1.04); }
.faculty-card-body { padding: var(--space-4) var(--space-4); }
.faculty-card-name { font-family: var(--font-display); font-size: 1.1rem; font-weight: 500; color: var(--ink); margin-bottom: 2px; }
.faculty-card-role { font-size: 0.75rem; font-weight: 600; color: var(--gold); letter-spacing: 0.06em; text-transform: uppercase; }
.faculty-card-styles { margin-top: var(--space-2); display: flex; flex-wrap: wrap; gap: 4px; }
.faculty-style-tag {
  font-size: 0.7rem;
  color: var(--ink-muted);
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 2px 8px;
  font-weight: 500;
}

/* ---- Live Dance Studio Pro (DSP) Embedded Schedule ---- */
.dsp-schedule-shell {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.dsp-schedule-toolbar {
  background: var(--blue-dark);
  padding: var(--space-4) var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
  border-bottom: 2px solid var(--gold);
}
.dsp-schedule-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.dsp-schedule-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.22);
  flex-shrink: 0;
}
.dsp-schedule-toolbar-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}
.dsp-schedule-hint {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.75);
}
.dsp-schedule-frame-wrap {
  position: relative;
  width: 100%;
  background: #ffffff;
  min-height: 760px;
}
.dsp-schedule-iframe {
  width: 100%;
  height: 820px;
  border: none;
  display: block;
  background: #ffffff;
}
@media (max-width: 768px) {
  .dsp-schedule-toolbar {
    padding: var(--space-4);
    flex-direction: column;
    align-items: flex-start;
  }
  .dsp-schedule-frame-wrap {
    min-height: 680px;
  }
  .dsp-schedule-iframe {
    height: 720px;
  }
}

/* ---- Recreational Style Cards ---- */
.style-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all var(--dur-slow) var(--ease);
  background: var(--white);
  display: flex;
  flex-direction: column;
}
.style-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
.style-card-img { aspect-ratio: 3/2; overflow: hidden; background: #081c33; }
.style-card-img img { width: 100%; height: 100%; object-fit: cover; object-position: center center; transition: transform 0.5s var(--ease); display: block; }
.style-card:hover .style-card-img img { transform: scale(1.04); }
.style-card-body { padding: var(--space-6); display: flex; flex-direction: column; flex: 1; }
.style-card-name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; color: var(--ink); margin-bottom: var(--space-3); }
.style-card-desc { font-size: 0.875rem; line-height: 1.7; color: var(--ink-soft); margin-bottom: var(--space-4); flex: 1; }
.style-card-approach { font-size: 0.85rem; line-height: 1.65; color: var(--ink-muted); padding: var(--space-3) var(--space-4); background: var(--surface); border-radius: var(--radius-md); margin-bottom: var(--space-5); }
.style-card-approach strong { color: var(--ink-soft); display: block; margin-bottom: 4px; font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; }
.style-card-actions { display: flex; gap: var(--space-3); flex-wrap: wrap; margin-top: auto; }

/* ---- Alumni ---- */
.alumni-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.alumni-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: var(--space-6);
  transition: all var(--dur-slow) var(--ease);
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.alumni-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--dur-slow) var(--ease);
}
.alumni-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.alumni-card:hover::before { transform: scaleY(1); }
.alumni-card--photo {
  padding: 0;
  display: flex;
  flex-direction: column;
}
.alumni-card--photo::before {
  z-index: 2;
}
.alumni-card-img {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--surface);
}
.alumni-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  transition: transform 0.5s var(--ease);
}
.alumni-card--photo:hover .alumni-card-img img {
  transform: scale(1.04);
}
.alumni-card-body {
  padding: var(--space-5);
  flex: 1;
  display: flex;
  flex-direction: column;
}
.alumni-card--more {
  padding: 0;
  display: flex;
  flex-direction: column;
}
.alumni-card-more-banner {
  aspect-ratio: 4 / 5;
  background: linear-gradient(155deg, #07182d 0%, #0f3d6b 55%, #0a2a4a 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: var(--space-6);
  text-align: center;
}
.alumni-card-more-badge {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1.5px solid rgba(212, 175, 55, 0.65);
  background: rgba(212, 175, 55, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--gold-light);
}
.alumni-card-more-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}
.alumni-name { font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; color: var(--ink); margin-bottom: 4px; }
.alumni-achievement {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.04em;
  margin-bottom: var(--space-3);
}
.alumni-desc { font-size: 0.875rem; color: var(--ink-soft); line-height: 1.6; }
@media (max-width: 960px) {
  .alumni-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .alumni-grid { grid-template-columns: 1fr; }
  .alumni-card-body { padding: var(--space-4); }
  .alumni-card-more-banner { aspect-ratio: auto; padding: var(--space-6) var(--space-4); }
}

/* ---- CTA Section: "Empty Stage" (pure CSS, brand navy & gold, no image request) ----
   Previous version (saved for revert): .cta-section::before used
   background-image: url('../images/competitive-team.jpg'); background-size: cover;
   background-position: center; opacity: 0.15;  on a var(--blue-dark) base. */
.cta-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: var(--space-10) 0 calc(var(--space-10) + var(--space-6));
  text-align: center;
  background:
    /* cyclorama wash behind the stage */
    radial-gradient(ellipse 70% 60% at 50% 18%, rgba(26, 84, 153, 0.55) 0%, rgba(26, 84, 153, 0) 70%),
    linear-gradient(180deg, #04101f 0%, #0A2A4A 44%, #0b2442 74%, #050d18 100%);
}

/* Lighting rig: one warm key spotlight, two cool cross beams, and their pools on the floor */
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 5% 10% at 50% 95%, rgba(255, 236, 190, 0.20) 0%, rgba(255, 236, 190, 0) 75%),
    radial-gradient(ellipse 30% 7% at 50% 92%, rgba(232, 204, 133, 0.50) 0%, rgba(232, 204, 133, 0.16) 45%, rgba(232, 204, 133, 0) 72%),
    radial-gradient(ellipse 16% 4% at 36% 93%, rgba(160, 195, 255, 0.16) 0%, rgba(160, 195, 255, 0) 70%),
    radial-gradient(ellipse 16% 4% at 64% 93%, rgba(160, 195, 255, 0.16) 0%, rgba(160, 195, 255, 0) 70%),
    conic-gradient(from 163deg at 50% -8%,
      rgba(255, 236, 190, 0) 0deg,
      rgba(255, 236, 190, 0.13) 10deg,
      rgba(255, 244, 214, 0.26) 17deg,
      rgba(255, 236, 190, 0.13) 24deg,
      rgba(255, 236, 190, 0) 34deg,
      rgba(255, 236, 190, 0) 360deg),
    conic-gradient(from 146deg at 16% -6%,
      rgba(160, 195, 255, 0) 0deg,
      rgba(160, 195, 255, 0.09) 7deg,
      rgba(160, 195, 255, 0) 15deg,
      rgba(160, 195, 255, 0) 360deg),
    conic-gradient(from 199deg at 84% -6%,
      rgba(160, 195, 255, 0) 0deg,
      rgba(160, 195, 255, 0.09) 8deg,
      rgba(160, 195, 255, 0) 15deg,
      rgba(160, 195, 255, 0) 360deg);
  animation: ctaStageGlow 8s ease-in-out infinite alternate;
}

/* Set dressing: proscenium, velvet wings, glossy stage floor with a gold lip, haze motes, vignette */
.cta-section::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    /* haze motes caught in the key light */
    radial-gradient(1.5px 1.5px at 47% 34%, rgba(255, 240, 210, 0.75), rgba(255, 240, 210, 0)),
    radial-gradient(1px 1px at 53% 46%, rgba(255, 240, 210, 0.6), rgba(255, 240, 210, 0)),
    radial-gradient(1.5px 1.5px at 50% 58%, rgba(255, 240, 210, 0.55), rgba(255, 240, 210, 0)),
    radial-gradient(1px 1px at 45% 64%, rgba(255, 240, 210, 0.5), rgba(255, 240, 210, 0)),
    radial-gradient(1px 1px at 56% 27%, rgba(255, 240, 210, 0.55), rgba(255, 240, 210, 0)),
    radial-gradient(1px 1px at 30% 52%, rgba(190, 215, 255, 0.45), rgba(190, 215, 255, 0)),
    radial-gradient(1px 1px at 70% 40%, rgba(190, 215, 255, 0.45), rgba(190, 215, 255, 0)),
    /* vignette */
    radial-gradient(ellipse 85% 80% at 50% 45%, rgba(3, 10, 20, 0) 55%, rgba(3, 10, 20, 0.72) 100%),
    /* proscenium / top valance */
    linear-gradient(180deg, rgba(3, 10, 20, 0.95) 0%, rgba(3, 10, 20, 0.5) 6%, rgba(3, 10, 20, 0) 16%),
    /* gold stage lip at the horizon */
    linear-gradient(180deg, rgba(232, 204, 133, 0) 86.2%, rgba(232, 204, 133, 0.30) 86.5%, rgba(232, 204, 133, 0) 87%),
    /* glossy floor */
    linear-gradient(180deg, rgba(5, 13, 24, 0) 86.4%, rgba(255, 255, 255, 0.035) 86.6%, rgba(5, 13, 24, 0.6) 100%),
    /* wing shadows */
    linear-gradient(90deg, rgba(3, 10, 20, 0.92) 0%, rgba(3, 10, 20, 0.5) 7%, rgba(3, 10, 20, 0) 17%),
    linear-gradient(270deg, rgba(3, 10, 20, 0.92) 0%, rgba(3, 10, 20, 0.5) 7%, rgba(3, 10, 20, 0) 17%),
    /* velvet curtain folds */
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.32) 0px, rgba(255, 255, 255, 0.045) 12px, rgba(0, 0, 0, 0.32) 24px) left top / 14% 100% no-repeat,
    repeating-linear-gradient(270deg, rgba(0, 0, 0, 0.32) 0px, rgba(255, 255, 255, 0.045) 12px, rgba(0, 0, 0, 0.32) 24px) right top / 14% 100% no-repeat;
}
.cta-section > .container { position: relative; z-index: 2; }
.cta-section .heading-1,
.cta-section .display-2 { text-shadow: 0 2px 28px rgba(3, 10, 20, 0.55); }

@keyframes ctaStageGlow {
  0%   { opacity: 0.82; }
  100% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .cta-section::before { animation: none; }
}

.cta-content { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.cta-content .overline { margin-bottom: var(--space-4); color: var(--gold-light); }
.cta-content .heading-1 { color: white; margin-bottom: var(--space-4); }
.cta-content .lead { color: rgba(255,255,255,0.7); max-width: 560px; margin: 0 auto var(--space-7); }
.cta-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: center; }

/* ---- Company Programs ---- */
.company-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--space-6);
  font-size: 0.875rem;
}
.company-table th {
  background: var(--blue);
  color: white;
  padding: var(--space-4) var(--space-5);
  text-align: left;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.company-table th:first-child { border-radius: var(--radius-md) 0 0 0; }
.company-table th:last-child { border-radius: 0 var(--radius-md) 0 0; }
.company-table td {
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--border);
  color: var(--ink-soft);
  vertical-align: middle;
}
.company-table tr:hover td { background: var(--surface); }
.level-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--ink);
}
.level-dot { width: 8px; height: 8px; border-radius: 50%; }
.level-dot-excel   { background: #22c55e; }
.level-dot-extreme { background: #f59e0b; }
.level-dot-edge    { background: #ef4444; }
.level-dot-elite   { background: var(--gold); }

/* ---- Level Cards ---- */
.level-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-5); margin-top: var(--space-8); }
.level-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all var(--dur-slow) var(--ease);
}
.level-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.level-card-header { padding: var(--space-6); background: var(--surface); border-bottom: 1px solid var(--border); border-top: 5px solid transparent; }
/* Per-level color accents — equal visual weight, no single team elevated */
#excel   .level-card-header { border-top-color: #4ade80; }   /* fresh green   */
#extreme .level-card-header { border-top-color: #f59e0b; }   /* warm amber    */
#edge    .level-card-header { border-top-color: #38bdf8; }   /* sky blue      */
#elite   .level-card-header { border-top-color: #c9a84c; border-top-color: var(--gold); }  /* gold */
.level-card-name { font-family: var(--font-display); font-size: 1.75rem; font-weight: 400; color: var(--ink); margin-bottom: 4px; }
.level-card-sub { font-size: 0.8rem; color: var(--ink-muted); font-weight: 500; }
.level-card-body { padding: var(--space-6); }
.level-card-detail {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: 0.875rem;
  color: var(--ink-soft);
  margin-bottom: var(--space-3);
}
.level-card-icon { color: var(--gold); font-size: 0.9rem; margin-top: 1px; flex-shrink: 0; }
.level-card-footer {
  padding: var(--space-5) var(--space-6);
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
}
.level-invite { display: inline-flex; align-items: center; gap: var(--space-2); font-size: 0.75rem; font-weight: 700; color: var(--gold); letter-spacing: 0.06em; text-transform: uppercase; }

/* ---- Editorial Cards (Consistent Across Light & Dark Sections) ---- */
.pillar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}
.pillar-card {
  position: relative;
  padding: var(--space-6);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-4);
  transition: transform var(--dur-slow) var(--ease), box-shadow var(--dur-slow) var(--ease), border-color var(--dur-base);
}
.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(201, 168, 76, 0.45);
}
.pillar-header {
  display: block;
  margin-bottom: var(--space-2);
}
.pillar-number {
  display: none;
}
.pillar-kicker {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.pillar-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.25;
  margin-top: 0 !important;
  margin-bottom: var(--space-3);
}
.pillar-desc {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.75;
  margin: 0;
}
.pillar-meta {
  padding-top: var(--space-3);
  border-top: 1px solid var(--border);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* ---- Clean Editorial Specs Inside Level Cards ---- */
.level-spec-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}
.level-spec-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: var(--space-3);
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
  align-items: baseline;
}
.level-spec-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.level-spec-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.level-spec-value {
  color: var(--ink-soft);
  line-height: 1.5;
}

/* ---- On-Stage Photography Showcases ---- */
.stage-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}
.stage-photo-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  transition: transform var(--dur-slow) var(--ease), box-shadow var(--dur-slow) var(--ease);
}
.stage-photo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}
.stage-photo-card--dark {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.14);
}
.stage-photo-card--dark .stage-photo-caption {
  background: rgba(10, 42, 74, 0.9);
  border-top-color: rgba(255, 255, 255, 0.12);
}
.stage-photo-card--dark .stage-photo-caption-title {
  color: var(--white);
}
.stage-photo-card--dark .stage-photo-caption-tag {
  color: var(--gold-light);
}
.stage-photo-frame {
  aspect-ratio: 3 / 2;
  width: 100%;
  overflow: hidden;
  background: #0a0a0a;
}
.stage-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.7s var(--ease);
}
.stage-photo-card:hover .stage-photo-frame img {
  transform: scale(1.03);
}
.stage-photo-caption {
  padding: var(--space-4) var(--space-5);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  border-top: 1px solid var(--border);
}
.stage-photo-caption-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink);
}
.stage-photo-caption-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  white-space: nowrap;
}
@media (max-width: 768px) {
  .pillar-grid,
  .stage-showcase-grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
  .pillar-card {
    padding: var(--space-5);
  }
  .level-spec-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .stage-photo-caption {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}

/* ---- Ballet Academy ---- */
.hero-bg--ballet {
  background-image: url('../images/ballet-academy.jpg');
  background-position: center 22%;
  opacity: 0.48;
}
.ballet-hero {
  background: var(--blue-dark);
  padding: 160px 0 var(--space-10);
  position: relative;
  overflow: hidden;
}
.ballet-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/ballet-academy.jpg');
  background-size: cover;
  background-position: center 20%;
  opacity: 0.32;
}
.ballet-hero-content { position: relative; z-index: 1; text-align: center; }
.ballet-hero-content .heading-1 { color: white; margin-bottom: var(--space-4); }
.ballet-hero-content .lead { color: rgba(255,255,255,0.75); max-width: 580px; margin: 0 auto var(--space-7); }

/* ---- 3-Column Editorial Pillar Grid (Variations Track, Why Dance, Careers) ---- */
.pillar-grid--3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
@media (max-width: 960px) {
  .pillar-grid--3col {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
}

/* ---- Aligned Ballet Level Cards (Levels A, B, C & D) ---- */
.ballet-levels-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-8);
  align-items: stretch;
}
.ballet-levels-grid .level-card {
  background: var(--white);
  display: flex;
  flex-direction: column;
}
.ballet-levels-grid .level-card-header {
  min-height: 116px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ballet-levels-grid .level-card-sub {
  line-height: 1.45;
  margin-top: 2px;
}
.ballet-levels-grid .level-card-body {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex: 1;
}
.ballet-level-intro {
  font-size: 0.875rem;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: var(--space-5);
  min-height: 148px;
}
.ballet-level-details {
  border-top: 1px solid var(--border);
  padding-top: var(--space-4);
  display: flex;
  flex-direction: column;
}
.ballet-level-details .level-card-detail {
  min-height: 44px;
  line-height: 1.45;
  margin-bottom: var(--space-3);
}
.ballet-level-details .level-card-detail:last-child {
  margin-bottom: 0;
}

/* ---- International Honors & Accolades Banner ---- */
.honors-banner {
  margin-top: var(--space-7);
  background: var(--blue-dark);
  border-radius: var(--radius-xl);
  padding: var(--space-7) var(--space-8);
  color: var(--white);
  border: 1px solid rgba(201, 168, 76, 0.28);
  box-shadow: var(--shadow-lg);
}
.honors-banner-grid {
  display: grid;
  grid-template-columns: 1.15fr 1.85fr;
  gap: var(--space-8);
  align-items: center;
}
.honors-badges-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.honors-badge-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  text-align: center;
}
.honors-badge-org {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: var(--space-2);
}
.honors-badge-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 6px;
}
.honors-badge-sub {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.4;
}

/* ---- Prestigious Institution Logos Showcase ---- */
.institution-logos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}
.institution-logo-card {
  background: linear-gradient(180deg, #ffffff 0%, #faf8f2 100%);
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 144px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(10, 42, 74, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease), border-color var(--dur-base);
}
.institution-logo-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.15) 0%, var(--gold) 50%, rgba(212, 175, 55, 0.15) 100%);
  opacity: 0.75;
  transition: opacity var(--dur-base) var(--ease);
}
.institution-logo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(10, 42, 74, 0.12), 0 0 0 1px rgba(212, 175, 55, 0.35);
  border-color: var(--gold);
}
.institution-logo-card:hover::before {
  opacity: 1;
}
.institution-crest {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(145deg, #071d36 0%, #0f3660 65%, #16487a 100%);
  border: 1.5px solid rgba(212, 175, 55, 0.65);
  box-shadow: 0 6px 18px rgba(10, 42, 74, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  color: var(--gold-light);
  transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease), border-color var(--dur-base);
}
.institution-logo-card:hover .institution-crest {
  color: #fff3c4;
  border-color: var(--gold-light);
  box-shadow: 0 8px 22px rgba(10, 42, 74, 0.24), 0 0 0 4px rgba(212, 175, 55, 0.16);
  transform: scale(1.06);
}
.institution-crest svg {
  height: 30px;
  width: auto;
  display: block;
}
.institution-wordmark {
  font-family: var(--font-display);
  font-size: 1.24rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-dark);
  line-height: 1.2;
  margin-bottom: 8px;
}
.institution-wordmark--sans {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}
.institution-sub {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dark);
  padding-top: 8px;
  position: relative;
}
.institution-sub::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 1px;
  background: rgba(212, 175, 55, 0.55);
}

@media (max-width: 1120px) {
  .ballet-levels-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .institution-logos-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .honors-banner-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
}
@media (max-width: 768px) {
  .pillar-grid--3col,
  .ballet-levels-grid,
  .honors-badges-grid {
    grid-template-columns: 1fr;
  }
  .ballet-level-intro {
    min-height: 0;
  }
  .ballet-levels-grid .level-card-header {
    min-height: 0;
  }
  .institution-logos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
  }
  .institution-logo-card {
    padding: var(--space-4) var(--space-3);
    min-height: 112px;
  }
  .institution-wordmark {
    font-size: 1.05rem;
  }
  .institution-wordmark--sans {
    font-size: 0.8rem;
    letter-spacing: 0.12em;
  }
  .honors-banner {
    padding: var(--space-6) var(--space-5);
  }
}
@media (max-width: 480px) {
  .institution-logos-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Scannable Mission Traits & Faculty Style-Level Matrix ---- */
.mission-traits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}
.mission-trait-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease), border-color var(--dur-base);
}
.mission-trait-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(201, 168, 76, 0.45);
}
.mission-trait-kicker {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: var(--space-2);
}
.mission-trait-num {
  display: none;
}
.mission-trait-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: var(--space-3);
  line-height: 1.25;
}
.mission-trait-desc {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 0;
}

.style-level-matrix {
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius-md);
  background: var(--surface);
  overflow: hidden;
  margin-top: var(--space-2);
}
.style-level-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}
.style-level-row:last-child {
  border-bottom: none;
}
.style-level-row:nth-child(even) {
  background: rgba(245, 244, 241, 0.55);
}
.style-level-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  min-width: 110px;
}
.style-level-checks {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}
.style-level-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-soft);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--white);
  transition: border-color var(--dur-fast), background var(--dur-fast);
}
.style-level-pill:hover {
  border-color: var(--blue);
}
.style-level-pill input[type="checkbox"] {
  width: 14px;
  height: 14px;
  accent-color: var(--blue);
  cursor: pointer;
}

@media (max-width: 1024px) {
  .mission-traits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .mission-traits-grid {
    grid-template-columns: 1fr;
  }
  .style-level-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* ---- Accomplishments ---- */
.accomplishment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}
.accomplishment-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: all var(--dur-slow) var(--ease);
}
.accomplishment-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.accomplishment-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  margin-bottom: var(--space-4);
}
.accomplishment-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: var(--space-3);
}
.accomplishment-card-items { display: flex; flex-direction: column; gap: var(--space-2); }
.accomplishment-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: 0.875rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.accomplishment-item::before {
  content: '✦';
  color: var(--gold);
  font-size: 0.6rem;
  margin-top: 4px;
  flex-shrink: 0;
}

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: var(--space-8); align-items: start; }
.contact-info { padding: var(--space-4) 0; }
.contact-info .heading-2 { margin-bottom: var(--space-3); }
.contact-info .lead { margin-bottom: var(--space-7); }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.contact-detail-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-7);
  box-shadow: var(--shadow-md);
}
.form-group { margin-bottom: var(--space-5); }
.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  margin-bottom: var(--space-2);
}
.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--ink);
  background: var(--white);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
  appearance: none;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(15,61,107,0.1);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }

/* ---- Anti-Spam Honeypot & Human Verification Widget ---- */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  overflow: hidden !important;
}
.security-verify-box {
  background: var(--surface);
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: var(--space-5);
  transition: border-color var(--dur-base), background var(--dur-base), box-shadow var(--dur-base);
}
.security-verify-box.is-verified {
  border-color: #22c55e;
  background: rgba(34, 197, 94, 0.05);
}
.security-verify-box.has-error {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.04);
}
.security-verify-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  flex-wrap: wrap;
}
.security-verify-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.security-check-btn {
  width: 24px;
  height: 24px;
  border-radius: 5px;
  border: 2px solid var(--border-dark);
  background: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all var(--dur-fast);
  color: transparent;
}
.security-check-btn:hover {
  border-color: var(--blue);
}
.security-verify-box.is-verified .security-check-btn {
  background: #22c55e;
  border-color: #22c55e;
  color: var(--white);
}
.security-verify-label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  user-select: none;
}
.security-verify-sub {
  font-size: 0.72rem;
  color: var(--ink-muted);
  display: block;
  font-weight: 400;
}
.security-challenge-wrap {
  display: none;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.security-verify-box.is-challenging .security-challenge-wrap {
  display: flex;
  flex-wrap: wrap;
}
.security-question-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue-dark);
  background: var(--white);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.security-answer-input {
  width: 76px;
  padding: 6px 10px;
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  background: var(--white);
}
.security-answer-input:focus {
  outline: none;
  border-color: var(--blue);
}
.security-verify-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.security-verify-box.is-verified .security-verify-badge {
  color: #16a34a;
}
.form-security-msg {
  font-size: 0.78rem;
  color: #dc2626;
  margin-top: 8px;
  display: none;
  font-weight: 500;
}
.security-verify-box.has-error .form-security-msg {
  display: block;
}

/* ---- File Upload ---- */
.form-file-label {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 12px 16px;
  border: 1.5px dashed var(--border-dark);
  border-radius: var(--radius-md);
  background: var(--surface);
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--ink-soft);
  transition: border-color var(--dur-fast), background var(--dur-fast);
}
.form-file-label:hover {
  border-color: var(--blue);
  background: rgba(15,61,107,0.04);
}
.form-file-label svg { flex-shrink: 0; color: var(--ink-muted); }
.form-file-input { display: none; }
.form-file-name {
  font-size: 0.8rem;
  color: var(--gold-dark);
  font-weight: 600;
  margin-top: var(--space-2);
  display: none;
}
.form-file-name.visible { display: block; }
.form-hint { font-size: 0.78rem; color: var(--ink-muted); margin-top: var(--space-2); }

/* ---- Checkbox Group ---- */
.form-check-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2) var(--space-4);
  margin-top: var(--space-2);
}
.form-check-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.875rem;
  color: var(--ink-soft);
  cursor: pointer;
}
.form-check-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--border-dark);
  border-radius: 4px;
  accent-color: var(--blue);
  cursor: pointer;
  flex-shrink: 0;
}

/* ---- Page Headers ---- */
.page-header {
  background: var(--blue-dark);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(201,168,76,0.12) 0%, transparent 60%);
}
.page-header-content { position: relative; z-index: 1; }
/* Interior page headers have no load animation, so their CTA rows must always be visible */
.page-header-content .hero-actions { opacity: 1; transform: none; }
.page-header-content .overline { margin-bottom: var(--space-3); color: var(--gold-light); }
.page-header-content .display-2 { color: white; margin-bottom: var(--space-4); }
.page-header-content .lead { color: rgba(255,255,255,0.7); max-width: 560px; }

/* ---- Trial Class Form ---- */
.trial-section {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  max-width: 600px;
  margin: 0 auto;
}
.trial-section .heading-2 { margin-bottom: var(--space-2); }
.trial-section .lead { margin-bottom: var(--space-7); }

/* ---- Footer ---- */
footer {
  background: var(--ink);
  color: rgba(255,255,255,0.65);
  padding: var(--space-10) 0 var(--space-6);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-9);
}
.footer-logo-link {
  display: inline-block;
  margin-bottom: var(--space-3);
  transition: opacity var(--dur-fast), transform var(--dur-base) var(--ease);
}
.footer-logo-link:hover {
  opacity: 0.92;
  transform: translateY(-2px);
}
.footer-logo {
  width: 132px;
  height: auto;
  display: block;
}
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: white;
  margin-bottom: 4px;
}
.footer-brand-logo { width: 120px; height: auto; margin-bottom: var(--space-3); }
.footer-brand-sub { font-size: 0.65rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: var(--space-4); }
.footer-brand-desc { font-size: 0.85rem; line-height: 1.65; max-width: 280px; }
.footer-col-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: white;
  margin-bottom: var(--space-4);
}
.footer-links { display: flex; flex-direction: column; gap: var(--space-2); }
.footer-link {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--dur-fast);
}
.footer-link:hover { color: var(--gold-light); }
.footer-bottom {
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
}
.footer-socials { display: flex; gap: var(--space-3); }
.footer-social {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.55);
  font-size: 0.875rem;
  transition: all var(--dur-fast);
}
.footer-social:hover { border-color: var(--gold); color: var(--gold); }

/* ---- Scroll Animations ---- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-left { opacity: 0; transform: translateX(-32px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(32px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ---- Utilities ---- */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-blue { color: var(--blue); }
.text-white { color: white; }
.text-muted { color: var(--ink-muted); }
.divider { height: 1px; background: var(--border); margin: var(--space-8) 0; }
.gold-line { width: 48px; height: 2px; background: var(--gold); margin-bottom: var(--space-5); }
.gold-line-center { margin: 0 auto var(--space-5); }


/* ============================================================
   RESPONSIVE — MOBILE FIRST
   Breakpoints: 1024px (tablet landscape) | 768px (tablet portrait) | 480px (phone)
   ============================================================ */

/* ---- 1024px: Tablet landscape ---- */
/* Collapse the desktop nav before it runs out of room (7 links + 2 buttons) */
@media (max-width: 1200px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-cta { display: none; }
}

@media (max-width: 1024px) {

  /* Layout */
  .story-grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .story-image-wrap {
    position: relative;
    top: 0;
    max-width: 460px;
    margin: 0 auto var(--space-6);
    aspect-ratio: 3/4;
  }
  .faculty-founder { grid-template-columns: 1fr; gap: var(--space-6); }
  .faculty-founder-img {
    max-width: 440px;
    margin: 0 auto var(--space-6);
    aspect-ratio: 3/4;
  }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  /* Inline 2-col grids → single column on tablet */
  .grid-2col { grid-template-columns: 1fr !important; }
  .grid-3col { grid-template-columns: 1fr 1fr !important; }
  .grid-4col { grid-template-columns: 1fr 1fr !important; }

  /* Spacing */
  .section-lg { padding: var(--space-10) 0; }
  .ballet-hero { padding: 100px 0 var(--space-9); }
  .page-header { padding: 110px 0 60px; }
}

/* ---- 768px: Tablet portrait ---- */
@media (max-width: 768px) {
  /* Container */
  .container, .container-sm { padding: 0 var(--space-5); }

  /* Typography */
  .display-1 { font-size: clamp(2.25rem, 8vw, 3.5rem); }
  .display-2 { font-size: clamp(1.9rem, 6vw, 2.5rem); }
  .heading-1  { font-size: clamp(1.65rem, 5vw, 2.25rem); }

  /* Sections */
  .section    { padding: var(--space-8) 0; }
  .section-sm { padding: var(--space-7) 0; }
  .section-lg { padding: var(--space-9) 0; }
  .section-header { margin-bottom: var(--space-7); }
  .page-header { padding: 100px 0 52px; }
  .ballet-hero { padding: 90px 0 var(--space-8); }
  .hero-content { padding: 110px 0 60px; max-width: 100%; }
  .hero-subtitle { max-width: 100%; }

  /* Editorial layout: disable sticky on mobile */
  .editorial-sidebar { position: relative !important; top: auto !important; }

  /* Reduce heavy padding-bottom/padding-top on editorial grid sections */
  [style*="padding-bottom:var(--space-10)"] { padding-bottom: var(--space-7) !important; }
  [style*="padding-top:var(--space-10)"]    { padding-top:    var(--space-7) !important; }
  [style*="padding-bottom:var(--space-9)"]  { padding-bottom: var(--space-6) !important; }
  [style*="padding-top:var(--space-9)"]     { padding-top:    var(--space-6) !important; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(3, 1fr); }

  /* Grids */
  .why-grid          { grid-template-columns: 1fr; }
  .programs-grid     { grid-template-columns: 1fr; }
  .faculty-grid      { grid-template-columns: 1fr 1fr; }
  .alumni-grid       { grid-template-columns: 1fr; }
  .level-cards       { grid-template-columns: 1fr; }
  .accomplishment-grid { grid-template-columns: 1fr; }
  .story-values      { grid-template-columns: 1fr; }

  /* Inline grids: force single column without min-content blowout */
  .grid-2col  { grid-template-columns: minmax(0, 1fr) !important; }
  .grid-3col  { grid-template-columns: minmax(0, 1fr) !important; }
  .grid-4col  { grid-template-columns: minmax(0, 1fr) !important; }

  /* Universal inline-grid collapse for any remaining inline style grids */
  [style*="grid-template-columns"]:not(.keep-grid) {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  /* When a parent grid collapses, grid-column:span instructions become irrelevant */
  [style*="grid-column:1/-1"] {
    grid-column: auto !important;
  }

  /* Forms */
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .contact-form-wrap { padding: var(--space-5); }
  .form-check-group { grid-template-columns: minmax(0, 1fr); }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: var(--space-4); text-align: center; }

  /* Tables: horizontal scroll */
  .company-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: nowrap; }

  /* CTA buttons: stack nicely and never overflow mobile screens */
  .btn {
    max-width: 100%;
    white-space: normal;
    text-align: center;
    justify-content: center;
    line-height: 1.35;
    overflow-wrap: break-word;
  }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .cta-actions  { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: auto; min-width: 240px; max-width: 100%; justify-content: center; }
}

/* ---- 480px: Phone ---- */
@media (max-width: 480px) {
  /* Container */
  .container, .container-sm { padding: 0 var(--space-4); }

  /* Spacing tokens */
  :root {
    --space-6: 20px;
    --space-7: 36px;
    --space-8: 48px;
    --space-9: 64px;
    --space-10: 80px;
  }

  /* Sections */
  .section    { padding: var(--space-7) 0; }
  .section-sm { padding: var(--space-6) 0; }
  .page-header { padding: 90px 0 44px; }
  .hero-content { padding: 96px 0 48px; }
  .ballet-hero  { padding: 80px 0 var(--space-7); }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item  { padding: var(--space-4) var(--space-3); }
  .stat-number { font-size: clamp(1.8rem, 6vw, 2.5rem); }
  .stat-number--text span { font-size: clamp(1.1rem, 4vw, 1.5rem); }
  .stat-label { font-size: 0.65rem; }

  /* Faculty */
  .faculty-grid { grid-template-columns: 1fr; }

  /* Hero */
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  /* Buttons: full-width only in hero & CTA, not globally */
  .cta-actions .btn { min-width: 0; width: 100%; max-width: 320px; }

  /* Cards */
  .program-card-body { padding: var(--space-4); }
  .level-card-header { padding: var(--space-4) var(--space-5); }
  .level-card-body   { padding: var(--space-4) var(--space-5); }
  .accomplishment-card { padding: var(--space-4); }
  .contact-form-wrap { padding: var(--space-4); border-radius: var(--radius-lg); }

  /* Image wrappers full-width on phone screens */
  .why-image-wrap,
  .story-image-wrap,
  .faculty-founder-img {
    max-width: 100%;
  }

  /* Trust items */
  .trust-icon { width: 36px; height: 36px; }

  /* Mobile nav link size */
  .mobile-nav-link { font-size: 1.5rem; }
  .nav-logo-mark { height: 40px; }
  #navbar.scrolled .nav-logo-mark { height: 38px; }
  .nav-logo-wordmark { height: 16px; }
  .nav-logo { gap: 10px; }

  /* Ensure touch targets and comfortable mobile button sizing */
  .btn {
    min-height: 44px;
    padding: 13px 20px;
    font-size: 0.82rem;
  }
  .btn-sm {
    padding: 10px 16px;
    font-size: 0.76rem;
  }
  .nav-dropdown-item { min-height: 44px; display: flex; align-items: center; }
  .slider-btn { width: 44px; height: 44px; }
}

/* ---- Mobile-specific overrides ---- */
@media (max-width: 768px) {
  /* Hero: vertical gradient so text is readable at full width */
  .hero-overlay {
    background: linear-gradient(
      to bottom,
      rgba(10,42,74,0.85) 0%,
      rgba(10,42,74,0.7) 50%,
      rgba(10,42,74,0.5) 100%
    );
  }
  /* Reduce hero min-height on small screens */
  .hero { min-height: 90vh; }

  /* Section header: full width on mobile */
  .section-header { max-width: 100%; }

  /* Page header content: full width */
  .page-header-content .lead { max-width: 100%; }

  /* Stat callout: remove fixed layouts */
  .stat-callout { padding: var(--space-6); }

  /* Responsive image wrapping & framing (Mobile First) */
  .why-image-wrap {
    aspect-ratio: 4/5;
    max-width: 460px;
    margin: 0 auto var(--space-6);
  }
  .story-image-wrap {
    aspect-ratio: 3/4;
    max-width: 440px;
    margin: 0 auto var(--space-6);
  }
  .faculty-founder-img {
    aspect-ratio: 3/4;
    max-width: 440px;
    margin: 0 auto var(--space-6);
  }

  /* Bump up gap reduction for inline-gap-heavy layouts */
  [style*="gap:var(--space-10)"] { gap: var(--space-6) !important; }
  [style*="gap:var(--space-8)"]  { gap: var(--space-5) !important; }

  /* Wider buttons on mobile forms */
  .contact-form-wrap .btn,
  .trial-section .btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  /* Hero: max readable text */
  .hero { min-height: 100svh; }
  .hero-title { font-size: clamp(2.25rem, 9vw, 3rem); }

  /* Gap reduction on phones */
  [style*="gap:var(--space-10)"] { gap: var(--space-5) !important; }
  [style*="gap:var(--space-8)"]  { gap: var(--space-4) !important; }
  [style*="gap:var(--space-7)"]  { gap: var(--space-4) !important; }

  /* Stats bar compact */
  .stats-bar { padding: var(--space-5) 0; }

  /* Footer compact */
  footer { padding: var(--space-7) 0 var(--space-5); }

  /* Full-width CTA button blocks */
  .page-header-content .hero-actions,
  .cta-section .cta-actions { gap: var(--space-3); }
}

/* ======================================================
   SITE-WIDE "ALWAYS HIRING" TOP BAR & CAREERS PAGE
====================================================== */
@keyframes hiringPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 92, 108, 0.85); }
  60%      { box-shadow: 0 0 0 6px rgba(255, 92, 108, 0); }
}

/* Fixed announcement bars stack: hiring bar + seasonal promo bar. --topbar-h = their total height. */
body {
  --hiring-h: 0px;
  --promo-h: 0px;
  --topbar-h: calc(var(--hiring-h) + var(--promo-h));
}
body.has-hiring-topbar { --hiring-h: 42px; }
body.has-promo-bar { --promo-h: 38px; }

body .page-header {
  padding-top: calc(140px + var(--topbar-h));
}

body .hero-content {
  padding-top: calc(140px + var(--topbar-h));
}

@media (max-width: 1024px) {
  body .page-header {
    padding-top: calc(110px + var(--topbar-h));
  }
}

body .mobile-nav {
  top: var(--topbar-h);
}

.hiring-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--hiring-h, 42px);
  z-index: 1002;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: linear-gradient(90deg, #061322 0%, #0d2645 50%, #061322 100%);
  border-bottom: 1px solid rgba(212, 175, 55, 0.42);
  padding: 0 var(--space-4);
  overflow: hidden;
  transition: border-color var(--dur-base) var(--ease), background var(--dur-base) var(--ease);
}

.hiring-topbar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(212, 175, 55, 0.14) 50%, transparent 100%);
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease);
  pointer-events: none;
}

.hiring-topbar:hover::before,
.hiring-topbar:focus-visible::before {
  opacity: 1;
}

.hiring-topbar:hover,
.hiring-topbar:focus-visible {
  border-bottom-color: rgba(212, 175, 55, 0.85);
  outline: none;
}

.hiring-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 1280px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hiring-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 11px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #d92638 0%, #a81523 100%);
  border: 1px solid rgba(255, 148, 158, 0.45);
  box-shadow: 0 0 14px rgba(217, 38, 56, 0.42);
  color: var(--white);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.hiring-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
  animation: hiringPulse 2s ease-out infinite;
  flex-shrink: 0;
}

.hiring-topbar-text {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hiring-topbar-text strong {
  color: var(--white);
  font-weight: 600;
}

.hiring-topbar-text--mobile {
  display: none;
}

.hiring-topbar-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(212, 175, 55, 0.18);
  border: 1px solid rgba(212, 175, 55, 0.55);
  color: var(--gold-light);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background var(--dur-base) var(--ease), color var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease);
}

.hiring-topbar-arrow {
  display: inline-block;
  transition: transform var(--dur-base) var(--ease);
}

.hiring-topbar:hover .hiring-topbar-cta,
.hiring-topbar:focus-visible .hiring-topbar-cta {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.hiring-topbar:hover .hiring-topbar-arrow,
.hiring-topbar:focus-visible .hiring-topbar-arrow {
  transform: translateX(3px);
}

/* ---- Careers Page Role Cards ---- */
.career-roles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  align-items: stretch;
}

.career-role-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-7);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease);
}

.career-role-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-dark), var(--gold));
  opacity: 0.85;
}

.career-role-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(15, 61, 107, 0.25);
}

.career-role-kicker {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: var(--space-2);
}

.career-role-title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: var(--space-4);
}

.career-role-summary {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.72;
  margin-bottom: var(--space-5);
}

.career-role-subheading {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-dark);
  margin-bottom: var(--space-3);
}

.career-role-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-5);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.career-role-list li {
  position: relative;
  padding-left: 16px;
  font-size: 0.86rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

.career-role-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.career-role-ideal {
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
  font-size: 0.83rem;
  color: var(--ink-muted);
  line-height: 1.6;
  margin-bottom: var(--space-5);
}

.career-role-ideal strong {
  color: var(--ink);
  font-weight: 600;
}

.career-role-card .btn {
  width: 100%;
  margin-top: auto;
  justify-content: center;
  text-align: center;
  padding: 13px 20px;
  font-size: 0.78rem;
  white-space: normal;
}

/* Conditional teaching fields container */
.teaching-fields-group {
  transition: opacity 0.25s ease;
}
.teaching-fields-group.is-hidden {
  display: none;
}

@media (max-width: 1024px) {
  .career-roles-grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
}

@media (max-width: 768px) {
  html, body {
    overflow-x: clip;
  }
  body.has-hiring-topbar { --hiring-h: 38px; }
  body.has-promo-bar { --promo-h: 34px; }
  body .page-header {
    padding-top: calc(108px + var(--topbar-h));
  }
  body .hero-content {
    padding-top: calc(104px + var(--topbar-h));
  }
  .hiring-topbar {
    padding: 0 var(--space-3);
  }
  .hiring-topbar-inner {
    gap: 8px;
  }
  .hiring-topbar-text--desktop {
    display: none;
  }
  .hiring-topbar-text--mobile {
    display: inline;
    font-size: 0.74rem;
  }
  .hiring-badge {
    padding: 2px 8px;
    font-size: 0.58rem;
    letter-spacing: 0.12em;
  }
  .hiring-topbar-cta {
    padding: 3px 9px;
    font-size: 0.62rem;
  }
  .career-role-card {
    padding: var(--space-6);
  }
  /* Prevent iOS Safari auto-zoom on form focus */
  .form-input,
  .form-select,
  .form-textarea,
  .security-answer-input {
    font-size: 16px;
  }
  /* Improved mobile touch targets */
  .style-level-pill {
    padding: 7px 11px;
    min-height: 36px;
    font-size: 0.82rem;
  }
  .security-check-btn {
    width: 28px;
    height: 28px;
  }
  .mobile-nav {
    padding: 96px var(--space-5) var(--space-8);
  }
  .mobile-nav.open {
    gap: var(--space-3);
  }
  .mobile-nav-link {
    font-size: 1.25rem;
    padding: 8px 0;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .mobile-nav-cta {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin-top: var(--space-4);
  }
  .mobile-nav-cta .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  body .page-header {
    padding-top: calc(92px + var(--topbar-h));
    padding-bottom: 44px;
  }
  body .hero-content {
    padding-top: calc(92px + var(--topbar-h));
    padding-bottom: 48px;
  }
  .hiring-topbar-inner {
    justify-content: space-between;
    gap: 6px;
  }
  .hiring-topbar-text--mobile {
    font-size: 0.7rem;
  }
  .hiring-topbar-cta {
    padding: 3px 8px;
    font-size: 0.58rem;
    letter-spacing: 0.06em;
  }
  .dsp-schedule-toolbar-actions {
    width: 100%;
  }
  .dsp-schedule-toolbar-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .dsp-schedule-frame-wrap {
    min-height: 600px;
  }
  .dsp-schedule-iframe {
    height: 620px;
  }
  .institution-logos-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3);
  }
  .institution-logo-card {
    padding: var(--space-4) var(--space-3);
  }
  /* Compact pricing table padding on narrow phones */
  #pricing [style*="padding:var(--space-5) var(--space-7)"] {
    padding: var(--space-4) var(--space-4) !important;
  }
}

@media (max-width: 390px) {
  .hiring-topbar-cta {
    display: none;
  }
  .hiring-topbar-inner {
    justify-content: center;
    gap: 8px;
  }
}

/* ======================================================
   RECREATIONAL FLOATING EDITORIAL COLLAGE (LIGHT SECTION)
====================================================== */
.rec-collage {
  position: relative;
  width: 100%;
  max-width: 580px;
  aspect-ratio: 560 / 610;
  margin-left: auto;
}

.rec-collage::before {
  content: '';
  position: absolute;
  inset: 10% 8%;
  background:
    radial-gradient(circle at 30% 35%, rgba(15, 61, 107, 0.14) 0%, transparent 65%),
    radial-gradient(circle at 75% 70%, rgba(201, 168, 76, 0.18) 0%, transparent 65%);
  filter: blur(28px);
  pointer-events: none;
}

.rec-collage-item {
  position: absolute;
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  background: var(--blue-dark);
  box-shadow:
    0 24px 48px -18px rgba(10, 42, 74, 0.34),
    0 10px 22px -10px rgba(10, 42, 74, 0.2),
    0 0 0 3px var(--white);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
  animation: collageFloat 9s ease-in-out infinite;
}

.rec-collage-item::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  pointer-events: none;
}

.rec-collage-item:hover {
  z-index: 6 !important;
  box-shadow:
    0 32px 60px -18px rgba(10, 42, 74, 0.42),
    0 14px 28px -12px rgba(10, 42, 74, 0.24),
    0 0 0 3px var(--gold-light);
}

.rec-collage-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--ease);
}

.rec-collage-item:hover img {
  transform: scale(1.04);
}

/* 4-photo floating editorial composition */
.rec-collage-item--1 {
  top: 0%;
  left: 0%;
  width: 52%;
  aspect-ratio: 4 / 5;
  z-index: 2;
  animation-delay: 0s;
}

.rec-collage-item--2 {
  top: 5%;
  right: 0%;
  width: 47%;
  aspect-ratio: 4 / 5;
  z-index: 3;
  animation-delay: -2.5s;
}

.rec-collage-item--3 {
  bottom: 4%;
  left: 4%;
  width: 46%;
  aspect-ratio: 4 / 5;
  z-index: 4;
  animation-delay: -5s;
}

.rec-collage-item--4 {
  bottom: 0%;
  right: 2%;
  width: 49%;
  aspect-ratio: 4 / 5;
  z-index: 3;
  animation-delay: -7.2s;
}

.rec-collage-chip {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  border-radius: var(--radius-full);
  background: rgba(10, 42, 74, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(212, 175, 55, 0.55);
  box-shadow: 0 18px 36px -10px rgba(10, 42, 74, 0.5);
  white-space: nowrap;
}

.rec-collage-chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 0 4px rgba(232, 204, 133, 0.22);
  flex-shrink: 0;
}

.rec-collage-chip-text {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
}

@media (max-width: 1024px) {
  .rec-collage {
    margin: var(--space-4) auto 0;
    max-width: 520px;
  }
}

@media (max-width: 600px) {
  .rec-collage {
    aspect-ratio: 560 / 630;
    max-width: 100%;
  }
  .rec-collage-item {
    border-radius: 14px;
  }
  .rec-collage-chip {
    padding: 8px 14px;
  }
  .rec-collage-chip-text {
    font-size: 0.62rem;
    letter-spacing: 0.11em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rec-collage-item {
    animation: none;
  }
}

/* Full-width horizontal feature style card (7th card in 2-col grid: Combo Classes) */
.style-card--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
}
.style-card--featured .style-card-img {
  aspect-ratio: auto;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 360px;
}
.style-card--featured .style-card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: var(--space-7);
}
@media (max-width: 900px) {
  .style-card--featured {
    grid-template-columns: 1fr;
  }
  .style-card--featured .style-card-img {
    aspect-ratio: 3 / 2;
    height: auto;
    min-height: 0;
  }
  .style-card--featured .style-card-body {
    padding: var(--space-6);
  }
}
@media (max-width: 480px) {
  .style-card-actions {
    flex-direction: column;
  }
  .style-card-actions .btn {
    width: 100%;
    justify-content: center;
  }
}


/* ---- About page: compact "Join Our Faculty" CTA ---- */
.careers-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-xl);
  padding: var(--space-7);
  box-shadow: var(--shadow-sm);
}
.careers-cta-text .lead { margin: 0; max-width: 620px; }
.careers-cta-text .heading-1 { margin-bottom: var(--space-3); }
.careers-cta .btn { flex-shrink: 0; }
@media (max-width: 768px) {
  .careers-cta { flex-direction: column; align-items: flex-start; padding: var(--space-6); }
  .careers-cta .btn { width: 100%; justify-content: center; }
}


/* ======================================================
   SEASONAL: NUTCRACKER PROMO BAR  (remove after Dec 18)
====================================================== */
.promo-bar {
  position: fixed;
  top: var(--hiring-h, 0px);
  left: 0;
  right: 0;
  height: var(--promo-h, 38px);
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--space-4);
  text-decoration: none;
  background: linear-gradient(90deg, #3d0a14 0%, #6e1224 50%, #3d0a14 100%);
  border-bottom: 1px solid rgba(212, 175, 55, 0.5);
  overflow: hidden;
}
.promo-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(232, 204, 133, 0.16) 50%, transparent 100%);
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease);
  pointer-events: none;
}
.promo-bar:hover::before, .promo-bar:focus-visible::before { opacity: 1; }
.promo-bar:focus-visible { outline: 2px solid var(--gold-light); outline-offset: -3px; }
.promo-bar-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.promo-bar-icon { width: 15px; height: 15px; color: var(--gold-light); flex-shrink: 0; }
.promo-bar-text {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.8rem;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.promo-bar-text strong {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--gold-light);
  letter-spacing: 0.01em;
}
.promo-bar-sep { margin: 0 8px; color: rgba(232, 204, 133, 0.7); }
.promo-bar-text--mobile { display: none; }
.promo-bar-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(232, 204, 133, 0.6);
  background: rgba(232, 204, 133, 0.12);
  color: var(--gold-light);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background var(--dur-base) var(--ease), color var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease);
}
.promo-bar-arrow { display: inline-block; transition: transform var(--dur-base) var(--ease); }
.promo-bar:hover .promo-bar-cta, .promo-bar:focus-visible .promo-bar-cta { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.promo-bar:hover .promo-bar-arrow, .promo-bar:focus-visible .promo-bar-arrow { transform: translateX(3px); }

@media (max-width: 768px) {
  .promo-bar { padding: 0 var(--space-3); }
  .promo-bar-inner { gap: 8px; }
  .promo-bar-text--desktop { display: none; }
  .promo-bar-text--mobile { display: inline; font-size: 0.74rem; }
  .promo-bar-text strong { font-size: 0.95rem; }
  .promo-bar-sep { margin: 0 6px; }
  .promo-bar-cta { padding: 3px 9px; font-size: 0.6rem; }
}
@media (max-width: 360px) {
  .promo-bar-icon { display: none; }
  .promo-bar-sep { margin: 0 4px; }
}

/* ---- Nutcracker section + ticket embed (Ballet Academy page) ---- */
.nutcracker-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
  max-width: 760px;
  margin: 0 auto var(--space-7);
}
.nutcracker-fact {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid #6e1224;
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.nutcracker-fact-label {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.nutcracker-fact-value {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--ink);
  line-height: 1.2;
}
.dsp-schedule-dot--soon {
  background: #f5b942;
  box-shadow: 0 0 0 4px rgba(245, 185, 66, 0.22);
}
.dsp-tickets-frame-wrap { min-height: 640px; }
.dsp-tickets-iframe { height: 700px; }
@media (max-width: 768px) {
  .nutcracker-facts { gap: var(--space-2); margin-bottom: var(--space-6); }
  .nutcracker-fact { padding: var(--space-3) var(--space-2); }
  .nutcracker-fact-value { font-size: 1.05rem; }
  .dsp-tickets-frame-wrap { min-height: 560px; }
  .dsp-tickets-iframe { height: 600px; }
}
@media (max-width: 380px) {
  .nutcracker-facts { grid-template-columns: 1fr; }
}

/* ======================================================
   SEASONAL: CHRISTMAS ORNAMENTS  (remove after the holidays)
   Purely decorative, never blocks clicks.
====================================================== */
.xmas-garland {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 0;
  z-index: 1003;
  pointer-events: none;
}
/* string of mini lights along the very top edge */
.xmas-garland::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: repeating-linear-gradient(90deg,
    #e8394d 0 5px, transparent 5px 18px,
    #f5c84c 18px 23px, transparent 23px 36px,
    #3fbf7a 36px 41px, transparent 41px 54px,
    #ffffff 54px 59px, transparent 59px 72px);
  opacity: 0.9;
  animation: xmasTwinkle 2.4s ease-in-out infinite alternate;
}
@keyframes xmasTwinkle { from { opacity: 0.55; } to { opacity: 1; } }

.xmas-ornament {
  position: absolute;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform-origin: top center;
  animation: xmasSway 4.5s ease-in-out infinite;
  --len: 10px;
  --size: 13px;
}
.xmas-ornament::before {
  content: '';
  width: 1px;
  height: var(--len);
  background: rgba(232, 204, 133, 0.85);
}
.xmas-ornament::after {   /* cap */
  content: '';
  order: 1;
  width: 5px;
  height: 3px;
  border-radius: 1px 1px 0 0;
  background: linear-gradient(180deg, #f3dc94, #b8912c);
}
.xmas-ornament i {
  order: 2;
  display: block;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, rgba(255,255,255,0.95) 0 9%, var(--c1) 34%, var(--c2) 100%);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.35), 0 0 8px var(--glow);
}
@keyframes xmasSway { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }

.xo-red    { --c1: #e8394d; --c2: #8c0f1f; --glow: rgba(232, 57, 77, 0.45); }
.xo-gold   { --c1: #f5d27a; --c2: #a77b17; --glow: rgba(245, 210, 122, 0.5); }
.xo-green  { --c1: #3fbf7a; --c2: #0f5a34; --glow: rgba(63, 191, 122, 0.4); }
.xo-silver { --c1: #f1f4f8; --c2: #8a96a8; --glow: rgba(241, 244, 248, 0.45); }

/* positions: clusters at both outer edges, clear of the centered bar text */
.xo-1 { left: 1.2%;  --len: 12px; --size: 14px; animation-delay: -0.4s; }
.xo-2 { left: 3.8%;  --len: 20px; --size: 11px; animation-delay: -1.8s; }
.xo-3 { left: 6.4%;  --len: 8px;  --size: 15px; animation-delay: -2.9s; }
.xo-4 { left: 9.2%;  --len: 16px; --size: 12px; animation-delay: -1.1s; }
.xo-5 { right: 9.2%; --len: 16px; --size: 12px; animation-delay: -2.2s; }
.xo-6 { right: 6.4%; --len: 8px;  --size: 15px; animation-delay: -0.7s; }
.xo-7 { right: 3.8%; --len: 20px; --size: 11px; animation-delay: -3.3s; }
.xo-8 { right: 1.2%; --len: 12px; --size: 14px; animation-delay: -1.5s; }

/* Realistic chunky English Bulldog in a Santa hat (sits naturally in the top bar, not a hanging ornament) */
.xo-bulldog {
  left: 12.2%;
  top: 3px;
  animation: none;
}
.xo-bulldog::before,
.xo-bulldog::after { display: none; }
.xo-bulldog img {
  display: block;
  width: auto;
  height: 46px;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.45));
}

@media (max-width: 1200px) {
  .xo-4, .xo-5 { display: none; }
  .xo-bulldog { left: 9%; }
  .xo-bulldog img { height: 42px; }
}
@media (max-width: 1024px) {
  .xo-3, .xo-6 { display: none; }
  .xo-bulldog { left: 6.5%; }
  .xo-bulldog img { height: 40px; }
}
/* phones: realistic English Bulldog tucked in top-left corner + tiny ornament on right + light string */
@media (max-width: 768px) {
  .xo-1, .xo-2, .xo-7 { display: none; }
  .xo-bulldog { left: 3px; top: 3px; }
  .xo-bulldog img { height: 32px; }
  .xo-8 { right: 3px; --len: 6px; --size: 9px; }
  .xmas-garland::before { height: 2px; }
}
@media (max-width: 390px) {
  .xo-bulldog { left: 2px; top: 4px; }
  .xo-bulldog img { height: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .xmas-ornament, .xmas-garland::before { animation: none; }
}

/* ======================================================
   COMPANY MEMBER PORTAL (company.html)
====================================================== */
.hero-portal-strip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: var(--space-5);
  padding: 9px 16px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.8rem;
  flex-wrap: wrap;
}
.hero-portal-strip svg {
  color: var(--gold-light);
  flex-shrink: 0;
}
.hero-portal-strip a {
  color: var(--gold-light);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(232, 204, 133, 0.45);
  padding-bottom: 1px;
  transition: color var(--dur-fast), border-color var(--dur-fast);
}
.hero-portal-strip a:hover {
  color: var(--white);
  border-bottom-color: var(--white);
}

.company-portal-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: var(--space-8);
  align-items: center;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  position: relative;
  overflow: hidden;
  box-shadow: 0 28px 64px -24px rgba(0, 0, 0, 0.55);
}
.company-portal-shell::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--gold-dark));
}

.company-portal-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: rgba(212, 175, 55, 0.14);
  border: 1px solid rgba(212, 175, 55, 0.38);
  color: var(--gold-light);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}
.company-portal-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.2);
}

.company-portal-info .heading-1 {
  margin-bottom: var(--space-4);
}
.company-portal-desc {
  font-size: 0.96rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.75;
  margin-bottom: var(--space-6);
}
.company-portal-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.company-portal-host {
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.5);
}

.portal-features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
}
.portal-feature-card {
  background: rgba(6, 20, 38, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  transition: border-color var(--dur-base) var(--ease), transform var(--dur-base) var(--ease), background var(--dur-base) var(--ease);
}
.portal-feature-card:hover {
  border-color: rgba(212, 175, 55, 0.45);
  background: rgba(10, 32, 60, 0.72);
  transform: translateY(-2px);
}
.portal-feature-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(212, 175, 55, 0.14);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-3);
}
.portal-feature-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 6px;
  line-height: 1.25;
}
.portal-feature-desc {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 960px) {
  .company-portal-shell {
    grid-template-columns: 1fr;
    padding: var(--space-6);
    gap: var(--space-6);
  }
}
@media (max-width: 520px) {
  .hero-portal-strip {
    width: 100%;
    justify-content: center;
    padding: 10px 14px;
    border-radius: var(--radius-lg);
  }
  .company-portal-shell {
    padding: var(--space-5);
  }
  .company-portal-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .company-portal-host {
    width: 100%;
    text-align: center;
  }
  .portal-features-grid {
    grid-template-columns: 1fr;
  }
}
