/* ==========================================================================
   The Wresh Workshop — Shared Styles
   ========================================================================== */

/* Make the [hidden] attribute always win over our custom display rules. */
[hidden] { display: none !important; }

/* === BRAND-STYLED CONFIRM MODAL ========================================== */
.wresh-modal-root {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: wresh-modal-in 0.18s ease-out;
}
.wresh-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 30, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.wresh-modal {
  position: relative;
  background: #2A2F4D;
  background: var(--navy);
  border: 1px solid rgba(248, 207, 64, 0.20);
  border-radius: 12px;
  padding: 28px 28px 24px;
  width: 100%;
  max-width: 460px;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.5);
  color: #F4F4F4;
  color: var(--offwhite);
  animation: wresh-modal-pop 0.22s cubic-bezier(0.2, 0.9, 0.3, 1.05);
}
.wresh-modal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 500;
  margin: 0 0 10px;
  color: #F4F4F4;
  color: var(--offwhite);
}
.wresh-modal-message {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(244, 244, 244, 0.78);
  margin: 0 0 24px;
}
.wresh-modal-input {
  width: 100%;
  box-sizing: border-box;
  background: rgba(244, 244, 244, 0.06);
  border: 1px solid rgba(244, 244, 244, 0.18);
  border-radius: 6px;
  padding: 13px 14px;
  font-family: inherit;
  font-size: 15px;
  color: var(--offwhite);
  margin-bottom: 22px;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.wresh-modal-input::placeholder { color: rgba(244, 244, 244, 0.3); }
.wresh-modal-input:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(244, 244, 244, 0.1);
  box-shadow: 0 0 0 3px rgba(248, 207, 64, 0.12);
}
.wresh-modal-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
}
.wresh-modal-actions .btn-link { padding: 10px 14px; }
.wresh-modal-actions .btn-primary,
.wresh-modal-actions .btn-danger {
  padding: 12px 22px;
  font-size: 12px;
  letter-spacing: 0.16em;
  border-radius: 6px;
}
.btn-danger {
  background: #e77a7a;
  color: var(--navy);
  border: none;
  font-family: inherit;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background 0.18s ease, transform 0.18s ease;
}
.btn-danger:hover { background: #f08c8c; transform: translateY(-1px); }
.btn-danger:disabled { opacity: 0.55; cursor: not-allowed; }

body.wresh-modal-open { overflow: hidden; }
.wresh-modal-closing { animation: wresh-modal-out 0.16s ease-in forwards; }

@keyframes wresh-modal-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes wresh-modal-out { to { opacity: 0; } }
@keyframes wresh-modal-pop {
  from { transform: translateY(8px) scale(0.97); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}

@media (max-width: 480px) {
  .wresh-modal { padding: 22px 20px; }
  .wresh-modal-title { font-size: 22px; }
  .wresh-modal-actions { flex-direction: column-reverse; align-items: stretch; gap: 8px; }
  .wresh-modal-actions .btn-primary,
  .wresh-modal-actions .btn-danger { width: 100%; justify-content: center; }
  .wresh-modal-actions .btn-link { text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .wresh-modal-root, .wresh-modal { animation: none !important; }
}


:root {
  --navy: #2A2F4D;
  --navy-deep: #1d2138;
  --navy-soft: #353b5e;
  --offwhite: #F4F4F4;
  --periwinkle: #5A6992;
  --sky: #A3C1F7;
  --sky-soft: #c7d6f5;
  --gold: #F8CF40;
  --gold-warm: #e0b833;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--navy);
  color: var(--offwhite);
  font-family: 'Manrope', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.5;
}
body::before {
  content: "";
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.05 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  pointer-events: none;
  z-index: 999;
  mix-blend-mode: overlay;
  opacity: 0.4;
}
img { max-width: 100%; display: block; }

/* === TOP BANNER === */
.top-banner {
  background: var(--gold);
  color: var(--navy);
  text-align: center;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  position: relative;
  z-index: 101;
}
.top-banner .banner-text {
  display: inline-block;
  animation: banner-text-float 2.6s ease-in-out infinite;
  will-change: transform;
}
@keyframes banner-text-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
@media (prefers-reduced-motion: reduce) {
  .top-banner .banner-text { animation: none; }
}
.top-banner em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 700;
  margin: 0 4px;
  font-size: 17px;
}
.top-banner a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  margin-left: 10px;
  font-weight: 700;
}

/* === NAV === */
nav {
  position: sticky; top: 0;
  padding: 16px 56px;
  display: flex; justify-content: space-between; align-items: center;
  z-index: 100;
  background: rgba(42,47,77,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(163,193,247,0.08);
}
.nav-mark {
  display: flex; align-items: center; gap: 16px;
  text-decoration: none;
  color: inherit;
}
.nav-mark img { width: 56px; height: 56px; }
.nav-mark .text {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.02em;
  line-height: 1.05;
}
.nav-mark .text .sub {
  display: block;
  font-style: italic;
  font-weight: 400;
  color: var(--sky);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 4px;
}
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  color: var(--offwhite);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 400;
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover { color: var(--sky); }
.nav-links a.current { color: var(--sky); }
.nav-links a.current::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  width: 4px; height: 4px;
  background: var(--gold);
  border-radius: 50%;
}
.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 11px 22px;
  font-weight: 700 !important;
  text-decoration: none;
  transition: all 0.3s;
}
.nav-cta:hover {
  background: var(--offwhite);
  transform: translateY(-1px);
  text-decoration: underline;
  text-decoration-color: var(--navy);
  text-underline-offset: 3px;
}
.nav-cta.current::after { display: none; }

/* Right-side cluster: nav-links + Register CTA + hamburger.
   Built at runtime by nav-auth.js so the same nav HTML works on every page. */
.nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-hamburger {
  display: none;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid rgba(244, 244, 244, 0.35);
  border-radius: 4px;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.nav-hamburger:hover { border-color: var(--gold); }
.nav-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--offwhite);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.18s ease, background 0.18s ease;
}
nav.nav-open .nav-hamburger { border-color: var(--gold); }
nav.nav-open .nav-hamburger span { background: var(--gold); }
nav.nav-open .nav-hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
nav.nav-open .nav-hamburger span:nth-child(2) { opacity: 0; }
nav.nav-open .nav-hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* === BUTTONS === */
/* !important on color + text-decoration because .auth-section a has higher
   specificity and would otherwise paint the button text sky-blue + underlined. */
.btn-primary,
.auth-section a.btn-primary,
.auth-card a.btn-primary {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 16px 32px;
  text-decoration: none !important;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  transition: background 0.22s ease, transform 0.18s ease, box-shadow 0.22s ease;
  display: inline-flex; align-items: center; gap: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
.btn-primary:hover,
.auth-section a.btn-primary:hover,
.auth-card a.btn-primary:hover {
  background: var(--gold-warm);
  color: var(--navy) !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}
.btn-primary .arrow { transition: transform 0.3s; }
.btn-primary:hover .arrow { transform: translateX(4px); }
.btn-primary.disabled {
  background: rgba(163,193,247,0.2);
  color: rgba(244,244,244,0.6);
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
}
.btn-secondary {
  color: var(--offwhite);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 400;
  border-bottom: 1px solid rgba(244,244,244,0.3);
  padding-bottom: 4px;
  transition: border-color 0.3s, color 0.3s;
}
.btn-secondary:hover { border-color: var(--sky); color: var(--sky); }

/* === SECTION HEADERS === */
.section-header {
  text-align: center;
  margin-bottom: 80px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.section-header .eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 24px;
  font-weight: 500;
  justify-content: center;
}
.section-header .eyebrow .line { width: 48px; height: 1px; background: var(--sky); }
h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.015em;
}
h2 em { font-style: italic; color: var(--sky); }
h2 .stack { display: block; }
.section-header p {
  margin-top: 24px;
  font-size: 16px;
  color: rgba(244,244,244,0.7);
  line-height: 1.7;
}

/* === HOMEPAGE: TITLE PAGE === */
.title-page {
  min-height: calc(100vh - 110px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 56px 60px;
  position: relative;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(163,193,247,0.08) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 80%, rgba(248,207,64,0.05) 0%, transparent 50%),
    var(--navy);
}
.deco-frame, .deco-frame-2 {
  position: absolute;
  inset: 40px;
  pointer-events: none;
}
.deco-frame { border: 1px solid rgba(163,193,247,0.12); }
.deco-frame::before, .deco-frame::after,
.deco-frame-2::before, .deco-frame-2::after {
  content: "";
  position: absolute;
  width: 24px; height: 24px;
  border: 1px solid var(--gold);
  opacity: 0.6;
}
.deco-frame::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.deco-frame::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }
.deco-frame-2::before { top: -1px; right: -1px; border-left: none; border-bottom: none; }
.deco-frame-2::after { bottom: -1px; left: -1px; border-right: none; border-top: none; }
.title-overline {
  font-size: 11px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 40px;
  display: flex; align-items: center; gap: 24px;
  justify-content: center;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s forwards;
}
.title-overline .line { width: 60px; height: 1px; background: var(--sky); }
.title-overline .gold-dot { width: 5px; height: 5px; background: var(--gold); border-radius: 50%; }
.title-logo-wrap {
  position: relative;
  width: min(760px, 86%);
  margin: 0 auto;
  opacity: 0;
  animation: fadeIn 1.6s 0.5s forwards, logoFloat 6s ease-in-out 2.1s infinite;
}
.title-logo-wrap img {
  width: 100%; height: auto;
  filter: drop-shadow(0 4px 24px rgba(163, 193, 247, 0.18));
  animation: logoGlow 5s ease-in-out 2.1s infinite;
}
.title-logo-wrap::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 120%; height: 140%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(163,193,247,0.10) 0%, transparent 65%);
  z-index: -1;
  pointer-events: none;
  animation: logoAura 5s ease-in-out 2.1s infinite;
}
@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
@keyframes logoGlow {
  0%, 100% { filter: drop-shadow(0 4px 20px rgba(163, 193, 247, 0.18)); }
  50% { filter: drop-shadow(0 8px 30px rgba(248, 207, 64, 0.20)) drop-shadow(0 0 18px rgba(163, 193, 247, 0.26)); }
}
@keyframes logoAura {
  0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
}
.title-tagline-trio {
  margin-top: 26px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1s 1.2s forwards;
}
/* A twin of .title-overline: same small wide-spaced uppercase Manrope,
   but gold instead of sky — the two lines bracket the wordmark. */
.title-tagline-trio .word {
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0 22px;
}
.title-tagline-trio .dot {
  width: 5px; height: 5px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}
.title-cta-row {
  margin-top: 52px;
  margin-bottom: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1s 1.5s forwards;
}
.scroll-hint {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(244,244,244,0.4);
  opacity: 0;
  animation: fadeIn 1s 2s forwards;
}
.scroll-hint .line {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2.5s ease-in-out infinite;
}
@keyframes scrollPulse { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }

/* === HERO PHOTO === */
.hero-photo {
  position: relative;
  width: 100%;
  height: 92vh;
  min-height: 640px;
  overflow: hidden;
}
.hero-photo .bg-image {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  z-index: 1;
}
.hero-photo .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(29,33,56,0.85) 0%,
    rgba(29,33,56,0.55) 40%,
    rgba(29,33,56,0.15) 70%,
    rgba(29,33,56,0.05) 100%
  );
  z-index: 2;
}
.hero-photo .overlay-bottom {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(to top, var(--navy) 0%, transparent 100%);
  z-index: 2;
}
.hero-photo-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 56px;
}
.hero-photo-text { max-width: 620px; }
.hero-photo .eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  font-weight: 600;
}
.hero-photo .eyebrow .line { width: 36px; height: 1px; background: var(--gold); }
.hero-photo h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(44px, 5.5vw, 78px);
  line-height: 1.0;
  letter-spacing: -0.015em;
  margin-bottom: 32px;
}
.hero-photo h1 em { font-style: italic; color: var(--sky); }
.hero-photo .lede {
  font-size: 18px;
  line-height: 1.65;
  color: rgba(244,244,244,0.92);
  margin-bottom: 40px;
  max-width: 540px;
  font-weight: 300;
}

/* === SUBPAGE HERO (smaller, used on About/Classes/Media/Rates/FAQs/class detail) === */
.page-hero {
  position: relative;
  padding: 24px 56px 36px;
  text-align: center;
  background:
    radial-gradient(ellipse at top, rgba(163,193,247,0.08) 0%, transparent 60%),
    var(--navy);
  border-bottom: 1px solid rgba(163,193,247,0.1);
}
.page-hero .eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 24px;
  font-weight: 500;
}
.page-hero .eyebrow .line { width: 48px; height: 1px; background: var(--sky); }
.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(48px, 6vw, 80px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  max-width: 920px;
  margin: 0 auto 24px;
}
.page-hero h1 em { font-style: italic; color: var(--sky); }
.page-hero .lede {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(244,244,244,0.75);
  max-width: 640px;
  margin: 0 auto;
}
.page-hero .lede em {
  font-style: italic;
  color: var(--sky);
}
.page-hero .breadcrumbs {
  margin-bottom: 36px;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(244,244,244,0.5);
}
.page-hero .breadcrumbs a {
  color: rgba(244,244,244,0.7);
  text-decoration: none;
  transition: color 0.2s;
}
.page-hero .breadcrumbs a:hover { color: var(--sky); }
.page-hero .breadcrumbs .sep {
  margin: 0 12px;
  color: var(--gold);
}

/* === TRUST BAR === */
.trust-bar {
  background: var(--navy-deep);
  padding: 50px 56px;
  border-bottom: 1px solid rgba(163,193,247,0.1);
}
.trust-bar-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  align-items: center;
}
.trust-stat {
  text-align: center;
  position: relative;
}
.trust-stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -20px; top: 50%;
  width: 1px; height: 50px;
  background: rgba(163,193,247,0.18);
  transform: translateY(-50%);
}
.trust-stat .number {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(32px, 4vw, 44px);
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.trust-stat .label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244,244,244,0.65);
  font-weight: 500;
  line-height: 1.45;
}

/* === NEXT-STEP LADDER === */
.next-steps {
  padding: 130px 56px;
  background: var(--navy);
}
.ladder-grid {
  max-width: 1200px;
  margin: 60px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.ladder-card {
  background: var(--navy-deep);
  padding: 44px 36px;
  border: 1px solid rgba(163,193,247,0.12);
  text-decoration: none;
  color: inherit;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.ladder-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s;
}
.ladder-card:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
}
.ladder-card:hover::before { transform: scaleX(1); }
.ladder-card .step-num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.16em;
  margin-bottom: 14px;
}
.ladder-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 26px;
  line-height: 1.15;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.ladder-card h3 em { font-style: italic; color: var(--sky); }
.ladder-card p {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(244,244,244,0.7);
  margin-bottom: 24px;
  flex: 1;
}
.ladder-card .commit {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 18px;
  font-weight: 600;
}
.ladder-card .arrow-cta {
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
  display: inline-flex; align-items: center; gap: 10px;
  transition: gap 0.3s;
  align-self: flex-start;
}
.ladder-card:hover .arrow-cta { gap: 16px; }

/* === PILLARS (Character/Confidence/Craft) — quotes removed per request === */
.pillars {
  padding: 130px 56px;
  background: var(--navy);
  position: relative;
}
.pillars-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.pillar-card {
  background: var(--navy-deep);
  padding: 56px 40px;
  border: 1px solid rgba(163,193,247,0.12);
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.pillar-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.5s;
}
.pillar-card:hover { transform: translateY(-4px); }
.pillar-card:hover::before { transform: scaleX(1); }
.pillar-card .pillar-num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--gold);
  letter-spacing: 0.18em;
  margin-bottom: 18px;
}
.pillar-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 38px;
  line-height: 1.1;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  color: var(--sky);
  font-style: italic;
}
.pillar-card .pillar-divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 22px auto;
  position: relative;
}
.pillar-card .pillar-divider::before,
.pillar-card .pillar-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 4px; height: 4px;
  background: var(--gold);
  border-radius: 50%;
  transform: translateY(-50%);
}
.pillar-card .pillar-divider::before { left: -8px; }
.pillar-card .pillar-divider::after { right: -8px; }
.pillar-card p {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(244,244,244,0.78);
}

/* === CLASSES === */
.classes {
  padding: 130px 56px;
  background: var(--navy-deep);
}
.classes-intro { max-width: 720px; margin: 0 auto 80px; text-align: center; }
.class-category { max-width: 1300px; margin: 0 auto 90px; }
.class-category:last-of-type { margin-bottom: 0; }
.category-heading {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 36px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(163,193,247,0.15);
}
.category-heading .num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 16px;
  color: var(--gold);
  letter-spacing: 0.1em;
}
.category-heading h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 32px;
  letter-spacing: -0.01em;
  flex: 1;
}
.category-heading h3 em { font-style: italic; color: var(--sky); }
.category-heading .ages {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 16px;
  color: var(--sky);
  letter-spacing: 0.04em;
}

.class-single {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  background: var(--navy);
  border: 1px solid rgba(163,193,247,0.12);
  overflow: hidden;
  transition: border-color 0.4s;
}
.class-single:hover { border-color: var(--gold); }
.class-single.reverse { grid-template-columns: 1fr 1.2fr; direction: rtl; }
.class-single.reverse > * { direction: ltr; }
.class-single .photo {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
}
/* Stretch variant — photo fills the full height of the body column (used on Performance Opportunities where body content is taller). */
.class-single--stretch .photo {
  aspect-ratio: auto;
  height: 100%;
  min-height: 420px;
}
@media (max-width: 980px) {
  .class-single--stretch .photo {
    aspect-ratio: 4/3;
    height: auto;
    min-height: 0;
  }
}
.class-single .photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease-out;
}
.class-single:hover .photo img { transform: scale(1.04); }
.class-single .photo .pill {
  position: absolute;
  top: 24px; left: 24px;
  background: var(--gold);
  color: var(--navy);
  padding: 6px 16px;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 700;
  z-index: 2;
}
.tt-row .photo .pill {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--gold);
  color: var(--navy);
  padding: 5px 12px;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  z-index: 2;
}
.class-single .body {
  padding: 56px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.class-single .body h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 32px;
  line-height: 1.1;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
.class-single .body p {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(244,244,244,0.72);
  margin-bottom: 16px;
}
.class-single .body .explore {
  margin-top: 16px;
  color: var(--gold);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
  display: inline-flex; align-items: center; gap: 10px;
  transition: gap 0.3s;
  align-self: flex-start;
}
.class-single .body .explore:hover { gap: 16px; }

/* === Triple Threat row layout === */
.tt-rows {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: rgba(163,193,247,0.15);
  border: 1px solid rgba(163,193,247,0.15);
}
.tt-row {
  display: grid;
  grid-template-columns: 280px 1fr auto;
  gap: 0;
  background: var(--navy);
  text-decoration: none;
  color: inherit;
  transition: background 0.4s;
  align-items: stretch;
}
.tt-row:hover { background: var(--navy-soft); }
.tt-row .photo {
  overflow: hidden;
  position: relative;
  min-height: 200px;
}
.tt-row .photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.tt-row:hover .photo img { transform: scale(1.05); }
.tt-row .body {
  padding: 36px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.tt-row .age-tag {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.16em;
  margin-bottom: 8px;
  font-weight: 500;
}
.tt-row h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 28px;
  line-height: 1.15;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  color: var(--offwhite);
}
.tt-row p {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(244,244,244,0.72);
  max-width: 580px;
}
.tt-row .explore {
  align-self: center;
  padding: 0 44px;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  transition: gap 0.3s;
}
.tt-row:hover .explore { gap: 16px; }

/* === Sub-perks list inside a class block (the performance opportunities for advanced) === */
.sub-perks {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding-top: 24px;
  border-top: 1px solid rgba(163,193,247,0.18);
}
.sub-perk {
  padding: 18px 22px;
  border-left: 2px solid var(--gold);
  background: rgba(53,59,94,0.4);
}
.sub-perk .sub-name {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 18px;
  color: var(--sky);
  margin-bottom: 4px;
  letter-spacing: 0.01em;
}
.sub-perk .sub-desc {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(244,244,244,0.7);
}

/* === RATES === */
.rates {
  padding: 130px 56px;
  background: var(--sky);
  color: var(--navy);
  position: relative;
}
.rates .section-header h2 { color: var(--navy); }
.rates .section-header h2 em { color: var(--periwinkle); }
.rates .section-header p { color: rgba(42,47,77,0.75); }
.rates .section-header .eyebrow { color: var(--navy); }
.rates .section-header .eyebrow .line { background: var(--navy); }

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1100px;
  margin: 0 auto;
  gap: 32px;
}
.price-card {
  background: var(--navy);
  color: var(--offwhite);
  padding: 48px 44px;
  position: relative;
  transition: transform 0.3s;
}
.price-card:hover { transform: translateY(-6px); }
.price-card .label {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  font-weight: 600;
}
.price-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 34px;
  line-height: 1.1;
  margin-bottom: 32px;
}
.price-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 18px 0;
  border-top: 1px solid rgba(163,193,247,0.2);
}
.price-row:last-child { border-bottom: 1px solid rgba(163,193,247,0.2); }
.price-row .duration { font-size: 14px; color: rgba(244,244,244,0.75); }
.price-row .amount {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 500;
}
.price-row .amount .currency {
  font-size: 16px;
  color: var(--sky);
  margin-right: 2px;
  vertical-align: 4px;
}
.flex-bar {
  max-width: 1280px;
  margin: 40px auto 0;
  padding: 28px 40px;
  background: var(--navy);
  color: var(--offwhite);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  border-left: 4px solid var(--gold);
}
.flex-bar .item { flex: 1; }
.flex-bar .item .label {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
  font-weight: 700;
}
.flex-bar .item .value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  font-style: italic;
  color: var(--offwhite);
  line-height: 1.3;
}
.flex-bar .divider {
  width: 1px;
  height: 50px;
  background: rgba(163,193,247,0.2);
}

/* === TESTIMONIALS — transparent quote boxes === */
.testimonials {
  padding: 130px 56px;
  background: var(--sky-soft);
}
/* light section — flip the header to dark ink (mirrors .rates) */
.testimonials .section-header h2 { color: var(--navy); }
.testimonials .section-header h2 em { color: var(--periwinkle); }
.testimonials .section-header .eyebrow { color: var(--navy); }
.testimonials .section-header .eyebrow .line { background: var(--navy); }
.testimonial-deck {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 28px;
  max-width: 1240px;
  margin: 80px auto 0;
  padding: 0 24px;
  perspective: 1100px;
}
.testimonial-card {
  --base-rotate: 0deg;
  --base-y: 0px;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --scale: 1;
  flex: 1 1 0;
  min-width: 0;
  max-width: 290px;
  min-height: 380px;
  background: var(--navy);
  border: 1px solid rgba(248, 207, 64, 0.5);
  border-radius: 16px;
  padding: 36px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 22px 50px -22px rgba(0, 0, 0, 0.7);
  transform: translateY(var(--base-y)) rotate(var(--base-rotate)) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) scale(var(--scale));
  transform-style: preserve-3d;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.4s ease,
              border-color 0.4s ease;
  user-select: none;
  -webkit-user-select: none;
  cursor: pointer;
}
.testimonial-card:nth-child(1) { --base-rotate: -10deg; --base-y: 30px; }
.testimonial-card:nth-child(2) { --base-rotate: -3deg;  --base-y: 4px;  }
.testimonial-card:nth-child(3) { --base-rotate: 3deg;   --base-y: 4px;  }
.testimonial-card:nth-child(4) { --base-rotate: 10deg;  --base-y: 30px; }

.testimonial-card.is-hovering {
  --base-rotate: 0deg;
  --base-y: -6px;
  --scale: 1.06;
  z-index: 10;
  border-color: var(--gold);
  box-shadow: 0 36px 70px -22px rgba(0, 0, 0, 0.8),
              0 0 0 1px rgba(248, 207, 64, 0.25);
  transition: transform 0.14s ease-out,
              box-shadow 0.4s ease,
              border-color 0.4s ease;
}

.testimonial-avatar {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: var(--navy-deep);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  overflow: hidden;
  transform: translateZ(20px);
}
.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.testimonial-quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.5;
  color: #F4F4F4;
  text-align: center;
  margin: 0;
  letter-spacing: -0.003em;
  transform: translateZ(15px);
}
.testimonial-quote::before { content: '"'; color: #F4F4F4; font-weight: 700; }
.testimonial-quote::after  { content: '"'; color: #F4F4F4; font-weight: 700; }
.testimonial-cite {
  font-family: 'Manrope', sans-serif;
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  text-align: center;
  transform: translateZ(15px);
}

@media (prefers-reduced-motion: reduce) {
  .testimonial-card { transition: none; }
  .testimonial-card.is-hovering { transition: none; }
}

@media (max-width: 1100px) {
  .testimonial-deck { gap: 18px; max-width: 100%; }
  .testimonial-card { padding: 30px 22px; max-width: 260px; min-height: 360px; }
  .testimonial-quote { font-size: 17px; }
}

@media (max-width: 720px) {
  .testimonial-deck {
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding: 30px 24px;
    margin-top: 56px;
    perspective: none;
    scrollbar-width: none;
  }
  .testimonial-deck::-webkit-scrollbar { display: none; }
  .testimonial-card {
    --base-rotate: 0deg !important;
    --base-y: 0px !important;
    flex: 0 0 78%;
    max-width: 78%;
    min-height: 380px;
    scroll-snap-align: center;
    cursor: default;
    padding: 32px 24px;
  }
  .testimonial-avatar { width: 80px; height: 80px; transform: none; }
  .testimonial-avatar img { width: 100%; height: 100%; }
  .testimonial-quote { font-size: 17px; transform: none; }
  .testimonial-cite { transform: none; }
}

/* === FEATURED VIDEO STUDENT === */
.featured-student {
  padding: 0 56px;
  background: var(--navy-deep);
}
.featured-student .video-feature {
  margin: 0 auto;
}
.featured-student .video-thumb {
  aspect-ratio: 4/5;
}

.video-feature {
  max-width: 1100px;
  margin: 60px auto 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  padding: 56px 60px;
  border-left: 4px solid var(--gold);
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 50px;
  align-items: center;
}
.video-feature.with-real-video { padding: 0; border-left: 4px solid var(--gold); overflow: hidden; }
.video-thumb {
  position: relative;
  aspect-ratio: 9/16;
  background: var(--navy-deep);
  border: 1px solid rgba(163,193,247,0.2);
  overflow: hidden;
  cursor: pointer;
}
.video-feature.with-real-video .video-thumb { border: 0; }
.video-thumb video {
  width: 100%; height: 100%;
  object-fit: cover;
}
.video-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.video-feature .text {
  padding: 56px 60px;
}
.video-feature.with-real-video .text { padding: 56px 60px; }
.video-feature .text .label {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  font-weight: 600;
}
.video-feature .text h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.15;
  margin-bottom: 22px;
  letter-spacing: -0.01em;
}
.video-feature .text h3 em { font-style: italic; color: var(--sky); }
.video-feature .text p {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(244,244,244,0.78);
  margin-bottom: 18px;
}
.video-feature .text .attribution {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--sky);
  margin-top: 10px;
}

/* === FINAL CTA === */
.final-cta {
  padding: 0;
  position: relative;
  overflow: hidden;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.final-cta-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
}
.final-cta-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.final-cta-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(29,33,56,0.92) 0%, rgba(29,33,56,0.78) 100%);
}
.final-cta-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 100px 40px;
  max-width: 720px;
}
.final-cta h2 { margin-bottom: 24px; }
.final-cta p {
  font-size: 18px;
  color: rgba(244,244,244,0.85);
  max-width: 540px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

/* === MARQUEE === */
.marquee {
  background: var(--navy-deep);
  border-top: 1px solid rgba(163,193,247,0.15);
  border-bottom: 1px solid rgba(163,193,247,0.15);
  padding: 22px 0;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  gap: 60px;
  animation: marquee 50s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.marquee-item {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-style: italic;
  color: var(--sky);
  letter-spacing: 0.04em;
}
.marquee-item .dot {
  color: var(--gold);
  margin: 0 32px;
  font-style: normal;
}

/* === PHILOSOPHY (about page) === */
.philosophy {
  padding: 130px 56px;
  background: var(--navy);
}
.philosophy-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.philosophy-block {
  border-left: 2px solid var(--gold);
  padding-left: 32px;
}
.philosophy-block .label {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  font-weight: 600;
}
.philosophy-block h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 32px;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}
.philosophy-block h3 em { font-style: italic; color: var(--sky); }
.philosophy-block p {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(244,244,244,0.78);
  margin-bottom: 16px;
}
.philosophy-block p:last-child { margin-bottom: 0; }

/* === ABOUT THE STUDIO (about page) === */
.about-school {
  padding: 130px 56px;
  background: var(--navy-deep);
}

/* Centered editorial masthead */
.about-head {
  text-align: center;
}
.about-head .eyebrow {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 22px;
  font-weight: 500;
}
.about-head .eyebrow .line { width: 36px; height: 1px; background: var(--sky); }
.about-head .founder-id {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 30px;
}
.about-head .founder-id .fn {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(30px, 3.4vw, 46px);
  letter-spacing: 0.02em;
  line-height: 1.15;
  color: var(--offwhite);
}
.about-head .founder-id .fr {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.06em;
  color: var(--gold);
  margin-top: 16px;
  padding-top: 16px;
  position: relative;
}
.about-head .founder-id .fr::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 1px;
  background: var(--gold);
}
.about-lead {
  position: relative;
  max-width: 460px;
  margin: 0 auto;
  padding-top: 54px;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(19px, 2.1vw, 25px);
  line-height: 1.55;
  color: rgba(244,244,244,0.9);
  font-style: italic;
}
.about-lead::before {
  content: "\201C";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Cormorant Garamond', serif;
  font-style: normal;
  font-size: 76px;
  line-height: 1;
  color: var(--gold);
  opacity: 0.5;
}
.about-lead::after {
  content: "";
  display: block;
  width: 50px;
  height: 2px;
  background: var(--gold);
  margin: 22px auto 0;
}
.about-lead em { color: var(--sky); font-style: italic; }
.about-head .founder-note-body {
  position: relative;
  text-align: left;
  max-width: 540px;
  margin: 0 auto;
  padding-top: 48px;
}
.about-head .founder-note-body::before {
  content: "\201C";
  position: absolute;
  top: -4px;
  left: -6px;
  font-family: 'Cormorant Garamond', serif;
  font-style: normal;
  font-size: 78px;
  line-height: 1;
  color: var(--gold);
  opacity: 0.5;
}
.about-head .founder-note-body p {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.75;
  color: rgba(244,244,244,0.86);
  margin-bottom: 16px;
}
.about-head .founder-note-body p:last-of-type { margin-bottom: 0; }
.about-head .founder-note-body .founder-note-sign {
  margin-top: 22px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 19px;
  color: var(--gold);
  letter-spacing: 0.02em;
}

/* Portrait fills the bio column height — no dead space */
.founder-hero {
  max-width: 1080px;
  margin: 0 auto 80px;
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 56px;
  align-items: center;
  background: rgba(163,193,247,0.05);
  border: 1px solid rgba(163,193,247,0.14);
  border-radius: 16px;
  padding: 56px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.28);
}
.about-bio {
  max-width: 900px;
  margin: 0 auto;
}
.about-photo {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 14px 36px rgba(0,0,0,0.30);
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}
.about-photo::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(248,207,64,0.35);
  pointer-events: none;
}
.about-text { text-align: left; align-self: center; }
.about-text p {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(244,244,244,0.74);
  margin-bottom: 18px;
}
.about-text p:last-child { margin-bottom: 0; }
.about-text em { color: var(--sky); font-style: italic; }
.about-pull {
  margin: 28px 0;
  padding-left: 24px;
  border-left: 2px solid var(--gold);
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(21px, 2.4vw, 28px);
  line-height: 1.45;
  color: rgba(244,244,244,0.95);
  font-style: italic;
}
.about-pull em { color: var(--sky); font-style: italic; }

/* Pillars: three-up row across the full width */
.about-pillars {
  max-width: 1100px;
  margin: 80px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-top: 56px;
  border-top: 1px solid rgba(163,193,247,0.16);
}
.about-pillar .pillar-label {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 24px;
  color: var(--gold);
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}
.about-pillar .pillar-text {
  display: block;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(244,244,244,0.78);
}

/* Credentials: centered closing line */
.about-credentials {
  max-width: 1100px;
  margin: 56px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 28px;
}
.about-credentials span {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--sky);
  letter-spacing: 0.02em;
}
.about-credentials span::before {
  content: "✦ ";
  color: var(--gold);
  font-style: normal;
  margin-right: 4px;
}

/* === A NOTE FROM RACHEL (about page) === */
.founder-note {
  padding: 110px 56px;
  background: var(--navy);
}
.founder-note-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  background: rgba(199,214,245,0.06);
  border: 1px solid rgba(163,193,247,0.18);
  border-radius: 4px;
  padding: 64px 64px 56px;
}
.founder-note-inner .eyebrow {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 28px;
  font-weight: 500;
}
.founder-note-inner .eyebrow .line { width: 36px; height: 1px; background: var(--sky); }
.founder-note-quote {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.6;
  color: rgba(244,244,244,0.92);
}
.founder-note-quote p { margin-bottom: 20px; }
.founder-note-quote p:last-child { margin-bottom: 0; }
.founder-note-quote em { color: var(--sky); font-style: italic; }
.founder-note-sign {
  margin-top: 28px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: var(--gold);
  letter-spacing: 0.02em;
}
@media (max-width: 720px) {
  .founder-note { padding: 80px 24px; }
  .founder-note-inner { padding: 44px 28px 40px; }
}

/* === FAQ === */
.faq { padding: 130px 56px; background: var(--navy); }
.faq-list { max-width: 900px; margin: 0 auto; }
details {
  border-bottom: 1px solid rgba(163,193,247,0.18);
  padding: 28px 0;
}
details:first-child { border-top: 1px solid rgba(163,193,247,0.18); }
details summary {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px;
  transition: color 0.3s;
  color: var(--offwhite);
  letter-spacing: -0.005em;
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: "+";
  font-family: 'Manrope', sans-serif;
  font-size: 28px;
  font-weight: 300;
  color: var(--gold);
  transition: transform 0.3s;
  flex-shrink: 0;
}
details[open] summary::after { transform: rotate(45deg); }
details summary:hover { color: var(--sky); }
details .faq-body {
  margin-top: 18px;
  padding-right: 60px;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(244,244,244,0.7);
}
details .faq-body strong { color: var(--gold); font-weight: 600; }
details .faq-body em {
  color: var(--sky);
  font-style: italic;
  font-size: 13px;
  display: block;
  margin-top: 14px;
}

/* === CONTACT GRID (media page) === */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1100px;
  margin: 0 auto;
  gap: 20px;
  padding: 80px 56px;
  background: var(--navy-deep);
}
.hours-card {
  grid-column: 1 / -1;
  background: var(--navy);
  border-left: 4px solid var(--gold);
  padding: 28px 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 48px;
  margin-top: 8px;
}
.hours-card .hours-label {
  font-size: 13px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.hours-card .hours-rows {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
}
.hours-card .hours-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}
.hours-card .hours-row .day {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 22px;
  color: var(--sky);
  letter-spacing: 0.005em;
}
.hours-card .hours-row .time {
  font-size: 17px;
  color: rgba(244,244,244,0.92);
  letter-spacing: 0.01em;
}
@media (max-width: 768px) {
  .hours-card {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px 28px;
  }
  .hours-card .hours-rows {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
.contact-card {
  background: var(--navy);
  border: 1px solid rgba(163,193,247,0.12);
  padding: 26px 22px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: all 0.4s;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}
.contact-card .icon {
  width: 44px; height: 44px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--gold);
  font-size: 20px;
}
.contact-card .label {
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 8px;
  font-weight: 600;
}
.contact-card .value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--offwhite);
  letter-spacing: -0.005em;
  line-height: 1.25;
}

/* === MEDIA: VIDEO GALLERY === */
.video-gallery {
  padding: 130px 56px;
  background: var(--navy);
}
.video-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1300px;
  margin: 0 auto;
  gap: 28px;
}
.video-card {
  background: var(--navy-deep);
  border: 1px solid rgba(163,193,247,0.12);
  overflow: hidden;
  transition: all 0.4s;
}
.video-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.video-card .video-wrap {
  position: relative;
  aspect-ratio: 9/16;
  background: var(--navy-deep);
  overflow: hidden;
}
.video-card video {
  width: 100%; height: 100%;
  object-fit: cover;
}
.video-card .body {
  padding: 28px 30px;
}
.video-card .label {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
  font-weight: 600;
}
.video-card h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.2;
  margin-bottom: 8px;
  letter-spacing: -0.005em;
}
.video-card h4 em { font-style: italic; color: var(--sky); }
.video-card p {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(244,244,244,0.7);
}

/* === REGISTER COMING SOON BLOCK === */
.coming-soon {
  max-width: 1100px;
  margin: 60px auto;
  padding: 56px 60px;
  background: linear-gradient(135deg, rgba(53,59,94,0.5) 0%, rgba(29,33,56,0.5) 100%);
  border: 1px solid rgba(163,193,247,0.18);
  border-left: 4px solid var(--gold);
  text-align: center;
}
.coming-soon .label {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  font-weight: 600;
}
.coming-soon h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.2;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
.coming-soon h3 em { font-style: italic; color: var(--sky); }
.coming-soon p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(244,244,244,0.78);
  max-width: 600px;
  margin: 0 auto;
}

/* === SEMESTER INFO BLOCK === */
.semester-info {
  max-width: 1100px;
  margin: 0 auto 80px;
  padding: 32px 48px;
  background: var(--gold);
  color: var(--navy);
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  text-align: center;
}
.semester-info::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(42,47,77,0.3);
  pointer-events: none;
}
.semester-info .item .label {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
  font-weight: 700;
  opacity: 0.8;
}
.semester-info .item .value {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 24px;
  color: var(--navy);
  letter-spacing: -0.005em;
}

/* === SUMMER REFERRAL CARD === */
.referral-card {
  max-width: 900px;
  margin: 80px auto;
  padding: 48px 56px;
  background: var(--gold);
  color: var(--navy);
  text-align: center;
  position: relative;
}
.referral-card::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(42,47,77,0.3);
  pointer-events: none;
}
.referral-card .label {
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 14px;
}
.referral-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(28px, 3vw, 40px);
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
.referral-card h3 em { font-style: italic; }
.referral-card p {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.referral-card a {
  color: var(--navy);
  text-decoration: underline;
  font-weight: 700;
  text-underline-offset: 4px;
}

/* === FOOTER === */
footer {
  background: var(--navy-deep);
  color: var(--offwhite);
  padding: 80px 56px 32px;
  border-top: 1px solid rgba(163,193,247,0.12);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  max-width: 1300px;
  margin: 0 auto;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(163,193,247,0.12);
}
.footer-brand img { width: 50px; margin-bottom: 20px; }
.footer-brand h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 22px;
  margin-bottom: 4px;
}
.footer-brand .tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--sky);
  font-size: 14px;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}
.footer-brand p {
  font-size: 13px;
  color: rgba(244,244,244,0.6);
  line-height: 1.7;
  max-width: 320px;
}
footer h5 {
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
footer ul { list-style: none; }
footer li { margin-bottom: 10px; }
footer a {
  color: rgba(244,244,244,0.7);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
footer a:hover { color: var(--sky); }
.footer-bottom {
  max-width: 1300px;
  margin: 32px auto 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-bottom p {
  font-size: 12px;
  color: rgba(244,244,244,0.5);
  letter-spacing: 0.04em;
}
.footer-trio {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 0.06em;
}

/* === CLASS DETAIL PAGE STYLES === */
.class-detail {
  padding: 100px 56px;
  background: var(--navy);
}
.class-detail-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.class-detail-image {
  aspect-ratio: 4/5;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.class-detail-image img { width: 100%; height: 100%; object-fit: cover; }
.class-detail-image .pill {
  position: absolute;
  top: 24px; left: 24px;
  background: var(--gold);
  color: var(--navy);
  padding: 8px 18px;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 700;
}
.class-detail-text .ages {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--gold);
  font-size: 16px;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.class-detail-text h2 {
  font-size: clamp(36px, 4.5vw, 56px);
  margin-bottom: 24px;
}
.class-detail-text .tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 22px;
  color: var(--sky);
  margin-bottom: 28px;
  line-height: 1.4;
}
.class-detail-text p {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(244,244,244,0.78);
  margin-bottom: 18px;
}
.class-detail-text h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 22px;
  margin: 36px 0 16px;
  color: var(--gold);
  letter-spacing: -0.005em;
}
.class-detail-text ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 24px;
}
.class-detail-text ul li {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(244,244,244,0.78);
  padding: 8px 0 8px 24px;
  position: relative;
}
.class-detail-text ul li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-style: normal;
}

/* === RATE SUMMARY (class detail) === */
.rate-summary {
  background: var(--navy-deep);
  border: 1px solid rgba(163,193,247,0.18);
  padding: 36px 40px;
  margin: 36px 0;
  border-left: 4px solid var(--gold);
}
.rate-summary .label {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  font-weight: 700;
}
.rate-summary .price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--offwhite);
}
.rate-summary .price .currency {
  font-size: 18px;
  color: var(--sky);
  vertical-align: 6px;
  margin-right: 2px;
}
.rate-summary .duration {
  font-size: 13px;
  color: rgba(244,244,244,0.7);
  margin-bottom: 16px;
}
/* Multi-tier per-row layout (used on private-lessons.html) */
.rate-summary-row {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid rgba(163, 193, 247, 0.18);
}
.rate-summary-row:last-of-type {
  border-bottom: 1px solid rgba(163, 193, 247, 0.18);
  margin-bottom: 16px;
}
.rate-summary-row .tier-name {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 20px;
  color: var(--sky);
  flex: 0 0 auto;
  min-width: 100px;
  letter-spacing: 0.005em;
}
.rate-summary-row .tier-time {
  font-size: 13px;
  color: rgba(244, 244, 244, 0.72);
  flex: 1;
}
.rate-summary-row .tier-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 500;
  color: var(--offwhite);
  flex: 0 0 auto;
  white-space: nowrap;
}
.rate-summary-row .tier-price .currency {
  font-size: 16px;
  color: var(--sky);
  vertical-align: 4px;
  margin-right: 2px;
}
@media (max-width: 580px) {
  .rate-summary-row { flex-wrap: wrap; gap: 8px 14px; }
  .rate-summary-row .tier-time { flex-basis: 100%; order: 3; }
  .rate-summary-row .tier-price { margin-left: auto; }
}
.rate-summary .note {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--sky);
}

/* Rate + registration-notice row on class detail pages — sits BELOW the
   photo/text grid (not inside the text column), so it spans the full
   1200px content width. Side-by-side on desktop, stacks below 980px. */
.class-detail-bottom-row {
  max-width: 1200px;
  margin: 60px auto 0;
  display: flex;
  align-items: stretch;
  gap: 24px;
}
.class-detail-bottom-row > .rate-summary,
.class-detail-bottom-row > .coming-soon {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  padding: 32px 36px;
}
.class-detail-bottom-row > .coming-soon {
  max-width: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.class-detail-bottom-row > .coming-soon h3 {
  font-size: 22px;
  margin-bottom: 14px;
}
.class-detail-bottom-row > .coming-soon p { margin: 0; }
a.join-list-cta,
a.join-list-cta:link,
a.join-list-cta:visited {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: 6px;
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.45;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(248, 207, 64, 0.4);
  transition: color 0.2s, border-color 0.2s;
}
a.join-list-cta:hover {
  color: var(--gold-warm);
  border-color: var(--gold-warm);
}
a.join-list-cta .arrow { transition: transform 0.2s; }
a.join-list-cta:hover .arrow { transform: translateX(3px); }
@media (max-width: 980px) {
  .class-detail-bottom-row { flex-direction: column; }
}

/* === ANIMATIONS === */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* === MOBILE === */
@media (max-width: 968px) {
  .top-banner { font-size: 12px; padding: 12px 14px; }
  .top-banner em { font-size: 14px; }
  nav { padding: 14px 20px; }
  .nav-mark img { width: 44px; height: 44px; }
  .nav-mark .text { font-size: 17px; }
  .nav-mark .text .sub { font-size: 10px; }

  /* Hamburger: visible. Drawer: nav-links collapses below the bar. */
  .nav-hamburger { display: inline-flex; }
  .nav-right { gap: 12px; }
  .nav-cta { padding: 10px 16px; font-size: 11px; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px 24px 28px;
    background: var(--navy-deep);
    border-bottom: 1px solid rgba(163, 193, 247, 0.12);
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.45);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.28s ease, opacity 0.18s ease;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }
  nav.nav-open .nav-links {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a {
    display: block;
    padding: 14px 4px;
    font-size: 13px;
    border-bottom: 1px solid rgba(244, 244, 244, 0.08);
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-links a.current::after { display: none; }
  .nav-links a.current {
    color: var(--gold);
    border-left: 3px solid var(--gold);
    padding-left: 12px;
    margin-left: -4px;
  }
  /* Sign In/My Account inside the drawer: full-width pill, gold accent */
  .nav-links .nav-signin {
    margin-top: 10px;
    border: 2px solid var(--offwhite) !important;
    border-radius: 4px;
    padding: 14px 18px !important;
    text-align: center;
    font-size: 13px !important;
  }
  .nav-links .nav-signin:hover {
    color: var(--gold) !important;
    border-color: var(--gold) !important;
  }
  body.nav-drawer-open { overflow: hidden; }
  .title-page { padding: 50px 28px 60px; }
  .deco-frame, .deco-frame-2 { inset: 16px; }
  .title-tagline-trio .word { font-size: 11px; letter-spacing: 0.3em; padding: 0 13px; }
  .title-tagline-trio .dot { width: 4px; height: 4px; }
  .title-cta-row { flex-direction: column; gap: 18px; }
  .hero-photo { height: 80vh; min-height: 540px; }
  .hero-photo .overlay {
    background: linear-gradient(to top, rgba(29,33,56,0.95) 0%, rgba(29,33,56,0.6) 60%, rgba(29,33,56,0.3) 100%);
  }
  .hero-photo-content { padding: 0 24px; align-items: flex-end; padding-bottom: 80px; }
  .hero-photo h1 { font-size: 38px; }
  .page-hero { padding: 20px 24px 40px; }
  .trust-bar { padding: 36px 24px; }
  .trust-bar-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .trust-stat:not(:last-child)::after { display: none; }
  .pillars-grid { grid-template-columns: 1fr; gap: 24px; }
  .pillar-card { padding: 40px 28px; }
  .video-feature { grid-template-columns: 1fr; gap: 32px; padding: 36px 28px; }
  .video-feature.with-real-video { padding: 0; }
  .video-feature .text { padding: 36px 28px !important; }
  .video-thumb { aspect-ratio: 9/16; max-height: 480px; }
  .philosophy-grid { grid-template-columns: 1fr; gap: 50px; }
  .class-single { grid-template-columns: 1fr; }
  .class-single.reverse { grid-template-columns: 1fr; direction: ltr; }
  .class-single .body { padding: 36px 28px; }
  .tt-row { grid-template-columns: 1fr; }
  .tt-row .photo { min-height: 220px; }
  .tt-row .body { padding: 28px; }
  .tt-row .explore { padding: 0 28px 28px; }
  .ladder-grid { grid-template-columns: 1fr; }
  .ladder-card { padding: 32px 28px; }
  .pricing-grid { grid-template-columns: 1fr; gap: 1px; }
  .price-card { padding: 36px 28px; }
  .quote-grid { grid-template-columns: 1fr; gap: 16px; }
  .flex-bar { flex-direction: column; align-items: flex-start; gap: 20px; padding: 24px 28px; }
  .flex-bar .divider { display: none; }
  .about-head { margin-top: 4px; }
  .founder-hero { grid-template-columns: 1fr; gap: 28px; margin-bottom: 56px; padding: 32px 24px; }
  .about-photo { position: relative; aspect-ratio: 4 / 5; max-width: 360px; margin: 0 auto; }
  .about-photo::after { inset: 10px; }
  .about-pillars { grid-template-columns: 1fr; gap: 26px; margin-top: 56px; padding-top: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  details summary { font-size: 19px; }
  details .faq-body { padding-right: 0; font-size: 14px; }
  .classes, .testimonials, .faq, .philosophy, .about-school, .rates, .next-steps, .pillars, .video-gallery {
    padding: 80px 24px;
  }
  .category-heading { flex-direction: column; align-items: flex-start; gap: 8px; }
  .category-heading h3 { font-size: 26px; }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 16px; padding: 60px 20px; }
  .video-gallery-grid { grid-template-columns: 1fr; gap: 20px; }
  .sub-perks { grid-template-columns: 1fr; gap: 12px; }
  .semester-info { grid-template-columns: 1fr; gap: 20px; padding: 28px; }
  .referral-card { margin: 60px 16px; padding: 36px 28px; }
  .class-detail-grid { grid-template-columns: 1fr; gap: 40px; }
  .class-detail { padding: 60px 24px; }
  .coming-soon { padding: 36px 28px; margin: 40px 16px; }
}

/* ==========================================================================
   PRIVATE LESSON TIERS (Private Lessons detail page + Homepage Rates)
   ========================================================================== */

/* === Full tier section on Private Lessons page === */
.lesson-tiers {
  padding: 100px 56px 120px;
  background: var(--navy-deep);
  position: relative;
  overflow: hidden;
}

/* Decorative gold corner brackets — echo the title page */
.lesson-tiers::before,
.lesson-tiers::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 60px;
  border: 1.5px solid var(--gold);
  pointer-events: none;
}
.lesson-tiers::before {
  top: 32px; left: 32px;
  border-right: none; border-bottom: none;
}
.lesson-tiers::after {
  bottom: 32px; right: 32px;
  border-left: none; border-top: none;
}

.lesson-tiers .section-header {
  max-width: 760px;
  margin: 0 auto 72px;
  text-align: center;
}

.tiers-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tier-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(163, 193, 247, 0.18);
  padding: 40px 36px 36px;
  position: relative;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
}
.tier-card:hover {
  background: rgba(248, 207, 64, 0.05);
  border-color: var(--gold);
  transform: translateY(-4px);
}

.tier-card--featured {
  background: var(--sky);
  border-color: var(--sky);
  color: var(--navy);
  transform: translateY(-12px);
}
.tier-card--featured:hover {
  background: var(--sky);
  border-color: var(--gold);
  transform: translateY(-16px);
}

.tier-card .featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy);
  font-family: 'Manrope', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 6px 16px;
  white-space: nowrap;
}

.tier-card .tier-name {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--gold);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}
.tier-card--featured .tier-name { color: var(--periwinkle); }

.tier-card .tier-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
  color: var(--offwhite);
}
.tier-card--featured .tier-title { color: var(--navy); }

.tier-card .tier-duration {
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  color: var(--sky);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.tier-card--featured .tier-duration { color: var(--periwinkle); }

.tier-card .tier-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 56px;
  font-weight: 400;
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
  color: var(--offwhite);
}
.tier-card--featured .tier-price { color: var(--navy); }

.tier-card .tier-price .currency {
  font-size: 24px;
  vertical-align: top;
  margin-right: 2px;
  color: var(--gold);
  font-style: italic;
}
.tier-card--featured .tier-price .currency { color: var(--periwinkle); }

.tier-card .tier-frequency {
  font-size: 13px;
  color: rgba(244, 244, 244, 0.6);
  margin-bottom: 32px;
  letter-spacing: 0.02em;
}
.tier-card--featured .tier-frequency { color: var(--periwinkle); }

.tier-card .tier-divider {
  height: 1px;
  background: rgba(163, 193, 247, 0.2);
  margin-bottom: 28px;
}
.tier-card--featured .tier-divider { background: rgba(42, 47, 77, 0.15); }

.tier-card .tier-features {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  flex-grow: 1;
}
.tier-card .tier-features li {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(244, 244, 244, 0.85);
  padding: 10px 0 10px 28px;
  position: relative;
  border-bottom: 1px dashed rgba(163, 193, 247, 0.12);
}
.tier-card .tier-features li:last-child { border-bottom: none; }
.tier-card--featured .tier-features li {
  color: var(--navy);
  border-bottom-color: rgba(42, 47, 77, 0.1);
}
.tier-card .tier-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 17px;
  width: 16px;
  height: 1px;
  background: var(--gold);
}
.tier-card .tier-features li.highlight {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 16px;
  color: var(--gold);
}
.tier-card--featured .tier-features li.highlight {
  color: var(--navy);
  font-weight: 500;
}

.tier-card .tier-cta {
  display: block;
  text-align: center;
  padding: 16px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
}
.tier-card .tier-cta:hover {
  background: var(--gold);
  color: var(--navy);
}
.tier-card--featured .tier-cta {
  background: var(--navy);
  color: var(--gold);
  border-color: var(--navy);
}
.tier-card--featured .tier-cta:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

/* === Compact tier display for the homepage Rates card === */
.price-card .tier-list {
  margin-top: 8px;
}
.price-card .tier-list .tier-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 16px 0;
  border-top: 1px solid rgba(163, 193, 247, 0.2);
  position: relative;
}
.price-card .tier-list .tier-row:last-child {
  border-bottom: 1px solid rgba(163, 193, 247, 0.2);
}
.price-card .tier-list .tier-row .tier-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}
.price-card .tier-list .tier-row .tier-info .tier-row-name {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 19px;
  color: var(--sky);
  line-height: 1.1;
  letter-spacing: 0.01em;
}
.price-card .tier-list .tier-row .tier-info .tier-row-detail {
  font-size: 13px;
  color: rgba(244, 244, 244, 0.7);
  letter-spacing: 0.01em;
}
.price-card .tier-list .tier-row .amount {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 500;
  color: var(--offwhite);
  white-space: nowrap;
}
.price-card .tier-list .tier-row .amount .currency {
  font-size: 16px;
  color: var(--sky);
  margin-right: 2px;
}

/* ==========================================================================
   WHAT HAPPENS NEXT (program detail pages — after Register block)
   ========================================================================== */
.what-happens-next {
  padding: 110px 56px 130px;
  background: var(--sky);
  color: var(--navy);
  position: relative;
}

.what-happens-next .section-header {
  max-width: 760px;
  margin: 0 auto 64px;
  text-align: center;
}
.what-happens-next .section-header .eyebrow {
  color: var(--periwinkle);
  margin-bottom: 24px;
}
.what-happens-next .section-header .eyebrow .line {
  background: var(--periwinkle);
  opacity: 0.4;
}
.what-happens-next .section-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin-bottom: 18px;
}
.what-happens-next .section-header h2 em {
  font-style: italic;
  color: var(--periwinkle);
}
.what-happens-next .section-header p {
  font-size: 16px;
  color: var(--navy);
  opacity: 0.78;
  line-height: 1.65;
}

.next-steps-list {
  max-width: 880px;
  margin: 0 auto 56px;
  list-style: none;
  padding: 0;
  counter-reset: nextstep;
}
.next-step-item {
  background: var(--offwhite);
  padding: 30px 36px;
  margin-bottom: 14px;
  position: relative;
  counter-increment: nextstep;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: start;
  border-left: 3px solid transparent;
  transition: all 0.3s ease;
}
.next-step-item:hover {
  border-left-color: var(--gold);
  transform: translateX(4px);
}
.next-step-item .step-num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 42px;
  font-weight: 400;
  color: var(--periwinkle);
  line-height: 1;
  min-width: 50px;
}
.next-step-item .step-num::before {
  content: counter(nextstep, decimal-leading-zero);
}
.next-step-item .timing {
  display: inline-block;
  font-family: 'Manrope', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--navy);
  padding: 5px 11px;
  margin-bottom: 10px;
}
.next-step-item h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 23px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.next-step-item h4 em {
  font-style: italic;
  color: var(--periwinkle);
}
.next-step-item p {
  font-size: 14.5px;
  color: var(--periwinkle);
  line-height: 1.65;
}

.next-steps-promise {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding-top: 44px;
  border-top: 1px solid rgba(42, 47, 77, 0.18);
}
.next-steps-promise blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 24px);
  line-height: 1.4;
  color: var(--navy);
  margin-bottom: 20px;
  border: none;
  padding: 0;
}
.next-steps-promise .contact {
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--periwinkle);
}
.next-steps-promise .contact a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 1px;
}
.next-steps-promise .contact a:hover {
  color: var(--periwinkle);
}

/* ==========================================================================
   RESPONSIVE — tier cards + what-happens-next
   ========================================================================== */
@media (max-width: 900px) {
  .tiers-grid { grid-template-columns: 1fr; gap: 16px; }
  .tier-card--featured { transform: none; }
  .tier-card--featured:hover { transform: translateY(-4px); }
}
@media (max-width: 768px) {
  .lesson-tiers { padding: 70px 24px 90px; }
  .lesson-tiers::before, .lesson-tiers::after { width: 36px; height: 36px; }
  .what-happens-next { padding: 70px 24px 90px; }
  .next-step-item { padding: 24px 22px; gap: 18px; grid-template-columns: 1fr; }
  .next-step-item .step-num { font-size: 32px; }
}

/* === RATES: 3-column variant + label-as-title + Performance Opportunities list === */
.pricing-grid.pricing-grid-three {
  grid-template-columns: 1fr 1fr 1fr;
  max-width: 1280px;
  gap: 24px;
}
.price-card .label.label-as-title {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 32px;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--gold);
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(248, 207, 64, 0.2);
  line-height: 1.1;
}
.perf-list {
  display: flex;
  flex-direction: column;
}
.perf-row {
  padding: 16px 0;
  border-top: 1px solid rgba(163,193,247,0.18);
}
.perf-row:last-child { border-bottom: 1px solid rgba(163,193,247,0.18); }
.perf-row .perf-name {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 19px;
  color: var(--sky);
  margin-bottom: 4px;
  letter-spacing: 0.01em;
}
.perf-row .perf-detail {
  font-size: 13px;
  color: rgba(244,244,244,0.75);
  line-height: 1.55;
}

@media (max-width: 980px) {
  .pricing-grid.pricing-grid-three { grid-template-columns: 1fr; max-width: 540px; }
  .price-card .label.label-as-title { font-size: 28px; }
}

/* === TOP MARQUEE — thin banner with same text size as bottom === */
.marquee.marquee-top {
  background: var(--navy-deep);
  border-top: 1px solid rgba(248, 207, 64, 0.15);
  border-bottom: 1px solid rgba(248, 207, 64, 0.15);
}
.marquee.marquee-top .marquee-track {
  padding: 6px 0;
}
.marquee.marquee-top .marquee-item {
  font-size: 18px;
}

/* === FINAL CTA — dual button group === */
.final-cta-buttons {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}
.final-cta-buttons .btn-primary {
  /* same as default primary */
}
.final-cta-buttons .btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  transition: background 0.3s, color 0.3s;
}
.final-cta-buttons .btn-outline:hover {
  background: var(--gold);
  color: var(--navy);
}
.final-cta-buttons .btn-outline .arrow { transition: transform 0.3s; }
.final-cta-buttons .btn-outline:hover .arrow { transform: translateX(4px); }
@media (max-width: 600px) {
  .final-cta-buttons { flex-direction: column; gap: 14px; }
}

/* === POLICY PAGES (terms/refund/privacy) === */
.policy-body {
  padding: 100px 32px 140px;
  background: var(--navy);
}
.policy-content {
  max-width: 760px;
  margin: 0 auto;
  color: rgba(244,244,244,0.85);
}
.policy-content .policy-meta {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(163,193,247,0.15);
}
.policy-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 32px;
  line-height: 1.15;
  margin: 48px 0 18px;
  color: var(--offwhite);
  letter-spacing: -0.01em;
}
.policy-content h2 em {
  font-style: italic;
  color: var(--sky);
}
.policy-content h3 {
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 32px 0 12px;
}
.policy-content p {
  font-size: 15.5px;
  line-height: 1.85;
  margin-bottom: 18px;
  color: rgba(244,244,244,0.78);
}
.policy-content ul, .policy-content ol {
  font-size: 15.5px;
  line-height: 1.85;
  margin: 16px 0 24px 28px;
  color: rgba(244,244,244,0.78);
}
.policy-content li { margin-bottom: 10px; }
.policy-content a {
  color: var(--sky);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.3s;
}
.policy-content a:hover { color: var(--gold); }
.policy-content strong { color: var(--offwhite); font-weight: 600; }

@media (max-width: 768px) {
  .policy-body { padding: 70px 24px 90px; }
  .policy-content h2 { font-size: 26px; }
}

/* === RATE LINES inside class blocks (homepage + classes page) === */
.class-single .body .rate-line,
.class-category > .rate-line {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--gold);
  font-size: 19px;
  margin-top: 20px;
  margin-bottom: 8px;
  letter-spacing: 0.005em;
}
.rate-inline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--gold);
  font-size: 19px;
  letter-spacing: 0.005em;
}

/* Ensure referral card spaces nicely between class blocks */
.classes .referral-card {
  margin: 60px auto 60px;
}

/* === OUR APPROACH overlay section (About page) — modeled on .hero-photo === */
.approach-photo {
  position: relative;
  width: 100%;
  min-height: 700px;
  height: 90vh;
  max-height: 880px;
  overflow: hidden;
}
.approach-photo .bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scaleX(-1);
  z-index: 1;
}
.approach-photo .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(29,33,56,0.88) 0%,
    rgba(29,33,56,0.72) 35%,
    rgba(29,33,56,0.30) 70%,
    rgba(29,33,56,0.10) 100%
  );
  z-index: 2;
}
.approach-photo .overlay-bottom {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 25%;
  background: linear-gradient(to top, var(--navy) 0%, transparent 100%);
  z-index: 2;
}
.approach-photo-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 80px 56px;
  min-height: inherit;
}
.approach-photo-text { max-width: 640px; }
.approach-photo .eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  font-weight: 600;
}
.approach-photo .eyebrow .line {
  width: 36px; height: 1px;
  background: var(--gold);
}
.approach-photo h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(44px, 5.5vw, 78px);
  line-height: 1.0;
  letter-spacing: -0.015em;
  margin-bottom: 32px;
  color: var(--offwhite);
}
.approach-photo h2 em { font-style: italic; color: var(--sky); }
.approach-photo .lede {
  font-size: 18px;
  line-height: 1.65;
  color: rgba(244,244,244,0.92);
  margin-bottom: 40px;
  max-width: 580px;
  font-weight: 300;
}
.approach-photo .lede em { font-style: italic; color: var(--sky); }

.approach-pillar-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  border-left: 2px solid var(--gold);
  padding-left: 26px;
}
.approach-pillar-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  align-items: baseline;
}
.approach-pillar-item .pillar-label {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  color: var(--gold);
  letter-spacing: 0.005em;
}
.approach-pillar-item .pillar-text {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(244,244,244,0.85);
}
.approach-pillar-item .pillar-text em {
  font-style: italic;
  color: var(--sky);
}

@media (max-width: 900px) {
  .approach-photo { min-height: 720px; height: auto; max-height: none; }
  .approach-photo .overlay {
    background: linear-gradient(
      to right,
      rgba(29,33,56,0.88) 0%,
      rgba(29,33,56,0.78) 60%,
      rgba(29,33,56,0.55) 100%
    );
  }
  .approach-photo-content { padding: 60px 28px; }
  .approach-photo h2 { font-size: 42px; }
  .approach-pillar-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .approach-pillar-item .pillar-label { font-size: 20px; }
}

/* ========================================================================
   Student Services Agreement — Signature block
   ======================================================================== */
.signature-block {
  margin-top: 40px;
  padding: 32px;
  border: 1px solid rgba(248, 207, 64, 0.35);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
}
.signature-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  align-items: center;
  gap: 20px;
  margin: 18px 0;
}
.signature-row label {
  color: var(--offwhite);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.01em;
}
.signature-row input[type="text"],
.signature-row input[type="date"] {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(244, 244, 244, 0.2);
  border-bottom: 2px solid rgba(248, 207, 64, 0.6);
  border-radius: 4px;
  color: var(--offwhite);
  padding: 10px 14px;
  font-family: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.signature-row input[type="text"]:focus,
.signature-row input[type="date"]:focus {
  border-bottom-color: var(--gold);
  background: rgba(255, 255, 255, 0.08);
}
.signature-row input::placeholder {
  color: rgba(244, 244, 244, 0.4);
  font-style: italic;
}
.signature-row.signature-checkbox {
  grid-template-columns: 24px 1fr;
  align-items: flex-start;
  margin-top: 28px;
}
.signature-row.signature-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--gold);
  cursor: pointer;
  margin-top: 2px;
}
.signature-row.signature-checkbox label {
  font-size: 14px;
  color: rgba(244, 244, 244, 0.85);
  font-weight: 400;
  line-height: 1.5;
  cursor: pointer;
}
.signature-note {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(244, 244, 244, 0.1);
  color: rgba(244, 244, 244, 0.6);
  font-size: 13px;
  font-style: italic;
  line-height: 1.55;
}
@media (max-width: 720px) {
  .signature-block { padding: 22px; }
  .signature-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .signature-row.signature-checkbox {
    grid-template-columns: 24px 1fr;
  }
}

/* ========================================================================
   Auth pages — Signup, Login, Account
   ======================================================================== */
.auth-section {
  background: var(--navy-deep);
  padding: 32px 24px 80px;
}
/* Make every link inside auth/registration UI readable on the navy background */
.auth-section a,
.auth-card a,
.auth-hint a,
.auth-section-hint a,
.signature-note a {
  color: var(--offwhite);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.auth-section a:hover,
.auth-card a:hover,
.auth-hint a:hover,
.auth-section-hint a:hover,
.signature-note a:hover {
  color: var(--gold);
}

/* Tighter inner spacing on hero when followed by a form/card section */
.page-hero:has(+ .auth-section) h1,
.page-hero:has(+ .auth-section) .eyebrow {
  margin-bottom: 16px;
}
.auth-card {
  max-width: 720px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(248, 207, 64, 0.18);
  border-radius: 12px;
  padding: 48px;
}
.auth-card-narrow {
  max-width: 460px;
}
.auth-section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 6px;
  letter-spacing: 0.01em;
}
.auth-section-hint {
  color: rgba(244, 244, 244, 0.6);
  font-size: 14px;
  margin: 0 0 24px;
  font-style: italic;
}
.auth-hint {
  color: rgba(244, 244, 244, 0.55);
  font-size: 13px;
  margin: 6px 0 0;
}

.form-row {
  margin: 18px 0;
}
.form-row label {
  display: block;
  color: var(--offwhite);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}
.form-row label .required {
  color: var(--gold);
  margin-left: 2px;
}
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="password"],
.form-row input[type="tel"],
.form-row input[type="date"] {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(244, 244, 244, 0.2);
  border-bottom: 2px solid rgba(248, 207, 64, 0.5);
  border-radius: 4px;
  color: var(--offwhite);
  padding: 12px 14px;
  font-family: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color 0.18s ease, background 0.18s ease;
  box-sizing: border-box;
}
.form-row input[type="text"]:focus,
.form-row input[type="email"]:focus,
.form-row input[type="password"]:focus,
.form-row input[type="tel"]:focus,
.form-row input[type="date"]:focus {
  border-bottom-color: var(--gold);
  background: rgba(255, 255, 255, 0.08);
}
.form-row input::placeholder {
  color: rgba(244, 244, 244, 0.35);
  font-style: italic;
}
.form-row input[type="date"] {
  color-scheme: dark;
}

.form-error {
  background: rgba(204, 75, 75, 0.12);
  border: 1px solid rgba(204, 75, 75, 0.4);
  border-radius: 6px;
  color: #ffb4b4;
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 24px;
  display: none;
}
.form-error.visible { display: block; }
.step-inline-error {
  margin-top: 24px;
  margin-bottom: 0;
  animation: stepErrFade 0.22s ease;
}
@keyframes stepErrFade {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
.form-error div { margin: 4px 0; }

.password-strength {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}
.strength-track {
  flex: 1;
  height: 4px;
  background: rgba(244, 244, 244, 0.1);
  border-radius: 2px;
  overflow: hidden;
}
.strength-bar {
  height: 100%;
  width: 0;
  background: transparent;
  transition: width 0.18s ease, background 0.18s ease;
}
.strength-label {
  color: rgba(244, 244, 244, 0.7);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  min-width: 80px;
}

.student-block {
  margin-top: 20px;
  padding: 24px;
  border: 1px solid rgba(244, 244, 244, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
}
.student-block-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.student-block-header h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: var(--offwhite);
  margin: 0;
  font-weight: 500;
}
.remove-student-btn {
  background: transparent;
  border: 1px solid rgba(244, 244, 244, 0.2);
  color: rgba(244, 244, 244, 0.7);
  padding: 6px 14px;
  border-radius: 4px;
  font-family: inherit;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease;
}
.remove-student-btn:hover {
  border-color: rgba(204, 75, 75, 0.6);
  color: #ffb4b4;
}

.add-student-btn {
  width: 100%;
  margin-top: 16px;
  background: transparent;
  border: 1px dashed rgba(248, 207, 64, 0.5);
  color: var(--gold);
  padding: 14px;
  border-radius: 6px;
  font-family: inherit;
  font-size: 14px;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.add-student-btn:hover {
  background: rgba(248, 207, 64, 0.08);
  border-color: var(--gold);
}

.auth-submit {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin: 20px auto 0 !important;
  min-width: 180px;
  padding: 11px 26px !important;
  font-size: 12px !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  font-family: inherit;
  box-shadow: 0 4px 14px rgba(248, 207, 64, 0.18) !important;
}
.auth-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
/* Submit button container — center it inside the form */
.auth-card form,
#signup-success,
#forgot-success {
  text-align: center;
}
.auth-card form .form-row,
.auth-card form .form-error,
.auth-card form .student-block,
.auth-card form .agreement-gate,
.auth-card form > h2,
.auth-card form > .auth-section-title,
.auth-card form > .auth-section-hint,
#signup-success > h2,
#forgot-success > h2 {
  text-align: left;
}
#signup-success p,
#forgot-success p {
  text-align: left;
}

.auth-foot {
  text-align: center;
  margin-top: 24px;
  color: rgba(244, 244, 244, 0.7);
  font-size: 14px;
}
.auth-foot a {
  color: var(--gold);
}

.auth-success-text {
  color: rgba(244, 244, 244, 0.85);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}
.auth-success-text a {
  color: var(--offwhite);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.auth-success-text a:hover {
  color: var(--gold);
}

/* /account page ----------------------------------------------------------- */
.account-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  /* min(100%, 280px) prevents grid from forcing horizontal scroll on narrow viewports */
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 20px;
}
/* Cards in the grid never carry an underline (auth-section adds one to all <a>) */
.account-grid a,
.account-grid a:hover,
.account-card,
.account-card * {
  text-decoration: none !important;
}

/* === MANAGE BUTTONS (secondary actions on /account.html) === */
.account-manage-row {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 16px;
}
.btn-manage {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: rgba(163, 193, 247, 0.06);
  border: 1.5px solid var(--sky);
  border-radius: 10px;
  color: var(--offwhite);
  text-decoration: none !important;
  transition: background 0.22s ease, border-color 0.22s ease, transform 0.18s ease, box-shadow 0.22s ease;
}
.btn-manage:hover {
  background: rgba(248, 207, 64, 0.12);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}
.btn-manage-icon {
  width: 42px; height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(248, 207, 64, 0.12);
  color: var(--gold);
  border-radius: 8px;
  font-size: 20px;
  font-family: 'Cormorant Garamond', serif;
  flex-shrink: 0;
  transition: background 0.22s ease;
}
.btn-manage:hover .btn-manage-icon { background: var(--gold); color: var(--navy); }
.btn-manage-text { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.btn-manage-label {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--offwhite);
}
.btn-manage-sub {
  font-size: 12px;
  color: rgba(244, 244, 244, 0.6);
  letter-spacing: 0;
  text-transform: none;
}
.btn-manage-arrow {
  color: var(--sky);
  font-size: 18px;
  transition: color 0.22s ease, transform 0.22s ease;
}
.btn-manage:hover .btn-manage-arrow { color: var(--gold); transform: translateX(4px); }
.account-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(248, 207, 64, 0.18);
  border-radius: 12px;
  padding: 32px 28px;
  color: var(--offwhite);
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.account-card:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.07);
}
.account-card-icon {
  font-size: 28px;
  color: var(--gold);
  margin-bottom: 16px;
  font-family: 'Cormorant Garamond', serif;
}
.account-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 500;
  color: var(--offwhite);
  margin: 0 0 10px;
}
.account-card p {
  color: rgba(244, 244, 244, 0.7);
  font-size: 14px;
  line-height: 1.55;
  margin: 0 0 20px;
  flex: 1;
}
.account-card-cta {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.account-card-admin {
  border-color: rgba(248, 207, 64, 0.5);
  background: rgba(248, 207, 64, 0.05);
}

.account-actions {
  max-width: 1100px;
  margin: 40px auto 0;
  text-align: center;
}
.btn-link {
  background: transparent;
  border: none;
  color: rgba(244, 244, 244, 0.7);
  font-family: inherit;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 8px 16px;
  transition: color 0.18s ease;
}
.btn-link:hover {
  color: var(--gold);
}

@media (max-width: 720px) {
  .auth-card { padding: 32px 22px; }
  .auth-section { padding: 32px 14px 64px; }
  .student-block { padding: 18px; }
}

/* Account dashboard panels (profile + students)
   Used on /account.html above the action cards. */
.account-page {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.account-panel {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(248, 207, 64, 0.12);
  border-radius: 12px;
  padding: 28px 32px;
}
.account-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(244, 244, 244, 0.08);
}
.account-panel-head h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 500;
  color: var(--offwhite);
  margin: 0;
}
.btn-ghost {
  background: transparent;
  border: 1px solid rgba(244, 244, 244, 0.35);
  color: var(--offwhite);
  font-family: inherit;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 9px 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.btn-ghost:hover:not(:disabled) {
  color: var(--gold);
  border-color: var(--gold);
}
.btn-ghost:disabled { opacity: 0.55; cursor: not-allowed; }
.btn-ghost-sm { padding: 6px 12px; font-size: 11px; }
.btn-ghost-danger { border-color: rgba(231, 122, 122, 0.4); color: rgba(244, 244, 244, 0.85); }
.btn-ghost-danger:hover:not(:disabled) { color: #e77a7a; border-color: #e77a7a; }

.profile-view {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.profile-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  align-items: center;
  gap: 16px;
}
.profile-row .label {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 244, 244, 0.55);
}
.profile-row .value {
  color: var(--offwhite);
  font-size: 16px;
}

.profile-edit-form,
.student-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.profile-edit-form .form-row,
.student-form .form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.profile-edit-form label,
.student-form label {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 244, 244, 0.7);
}
.profile-edit-form input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.profile-edit-form textarea,
.student-form input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.student-form textarea,
.report-compose-form input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.report-compose-form textarea {
  background: rgba(244, 244, 244, 0.06);
  border: 1px solid rgba(244, 244, 244, 0.18);
  border-radius: 6px;
  padding: 13px 14px;
  font-family: inherit;
  font-size: 15px;
  color: var(--offwhite);
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  width: 100%;
  box-sizing: border-box;
}
.profile-edit-form textarea,
.student-form textarea,
.report-compose-form textarea {
  font-family: inherit;
  resize: vertical;
  min-height: 96px;
  line-height: 1.55;
}
.profile-edit-form input:disabled,
.student-form input:disabled,
.report-compose-form input:disabled,
.report-compose-form textarea:disabled,
.report-compose-form select:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  background: rgba(244, 244, 244, 0.03);
}
.profile-edit-form input::placeholder,
.profile-edit-form textarea::placeholder,
.student-form input::placeholder,
.student-form textarea::placeholder,
.report-compose-form input::placeholder,
.report-compose-form textarea::placeholder {
  color: rgba(244, 244, 244, 0.3);
  font-family: inherit;
}
.profile-edit-form input:focus,
.profile-edit-form textarea:focus,
.student-form input:focus,
.student-form textarea:focus,
.report-compose-form input:focus,
.report-compose-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(244, 244, 244, 0.1);
  box-shadow: 0 0 0 3px rgba(248, 207, 64, 0.12);
}

/* Report compose form labels — match brand body label style */
.report-compose-form label {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 244, 244, 0.7);
  display: block;
  margin-bottom: 6px;
}
.report-compose-form .form-row { display: flex; flex-direction: column; gap: 6px; }
.report-compose-form .form-row + .form-row { margin-top: 4px; }
/* Bigger overview/notes textareas — these are where the meat goes */
.report-compose-form textarea[name="what_we_worked_on"],
.report-compose-form textarea[name="homework"] { min-height: 140px; }
.report-compose-form textarea[name="overview"],
.report-compose-form textarea[name="upcoming_performances"],
.report-compose-form textarea[name="event_invitations"] { min-height: 84px; }

/* Inline label hint (small, muted, normal-case) */
.label-hint {
  font-size: 11px;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(244, 244, 244, 0.5);
  font-weight: 400;
  margin-left: 6px;
}

/* Brand-styled checkbox */
.checkbox-row { flex-direction: row; align-items: stretch; }
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 18px;
  cursor: pointer;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(244, 244, 244, 0.10);
  border-radius: 6px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 14px;
  color: var(--offwhite);
  line-height: 1.55;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.checkbox-label > span { flex: 1; min-width: 0; }

/* Two-line label inside a checkbox: title on top, muted hint below.
   Flex column with a small gap keeps line-heights even so the parent's
   align-items: center actually centers the checkbox between the two lines. */
.checkbox-text {
  display: flex !important;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}
.checkbox-text-title {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--offwhite);
  line-height: 1.2;
}
.checkbox-text-sub {
  font-size: 12px;
  color: rgba(244, 244, 244, 0.6);
  line-height: 1.45;
  letter-spacing: 0;
  text-transform: none;
}
.checkbox-label:hover { border-color: var(--gold); background: rgba(255, 255, 255, 0.05); }
.checkbox-label input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px; height: 18px;
  margin: 0;
  flex-shrink: 0;
  background: rgba(244, 244, 244, 0.06);
  border: 1.5px solid rgba(244, 244, 244, 0.35);
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.checkbox-label input[type="checkbox"]:hover { border-color: var(--gold); }
.checkbox-label input[type="checkbox"]:checked {
  background: var(--gold);
  border-color: var(--gold);
}
.checkbox-label input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 45%;
  width: 5px;
  height: 9px;
  border: solid var(--navy);
  border-width: 0 2px 2px 0;
  transform: translate(-50%, -50%) rotate(45deg);
}
.checkbox-label input[type="checkbox"]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(248, 207, 64, 0.25);
}

/* Inline success message */
.form-success {
  background: rgba(106, 178, 122, 0.12);
  border: 1px solid rgba(106, 178, 122, 0.35);
  color: #87d99b;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 14px;
}
.profile-edit-hint {
  font-size: 13px;
  color: rgba(244, 244, 244, 0.6);
  margin: 4px 0 0;
}
.profile-edit-hint a { color: var(--sky); text-decoration: underline; }
.profile-edit-hint a:hover { color: var(--gold); }
.profile-edit-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 4px;
}

.students-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.students-list-cards {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.student-card {
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(244, 244, 244, 0.08);
  border-radius: 10px;
  padding: 22px 24px;
  transition: border-color 0.18s ease;
}
.student-card:hover { border-color: rgba(248, 207, 64, 0.25); }
.student-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(244, 244, 244, 0.06);
  margin-bottom: 14px;
}
.student-card-info { flex: 1; min-width: 0; }
.student-card-section { padding: 10px 0; }
.student-card-section + .student-card-section {
  border-top: 1px solid rgba(244, 244, 244, 0.04);
}
.student-section-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 244, 244, 0.55);
  margin-bottom: 8px;
}
.student-section-body {
  font-size: 14px;
  color: var(--offwhite);
  line-height: 1.55;
  white-space: pre-wrap;
}

/* Caregiver list */
.caregiver-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.caregiver-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(244, 244, 244, 0.06);
  border-radius: 6px;
  font-size: 13px;
  color: var(--offwhite);
}
.caregiver-row-main {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}
.caregiver-row-text { flex: 1; min-width: 0; }
.caregiver-row-meta {
  font-size: 12px;
  color: rgba(244, 244, 244, 0.6);
  margin-top: 2px;
}
.caregiver-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: rgba(248, 207, 64, 0.12);
  border: 1px solid rgba(248, 207, 64, 0.2);
}
.caregiver-avatar-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--gold);
}

/* === BOOK A CALL ========================================================= */
.bc-slot-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 14px;
}
.bc-day {
  border-top: 1px solid rgba(163, 193, 247, 0.08);
  padding-top: 18px;
}
.bc-day:first-child {
  border-top: none;
  padding-top: 4px;
}
.bc-day-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--offwhite);
  font-style: italic;
  margin-bottom: 14px;
}
.bc-day-head::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.bc-day-slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
}
/* Mirror .cal-slot styling so the booking grid matches the registration grid */
.bc-slot-btn {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(244, 244, 244, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--offwhite);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.18s ease;
  text-align: center;
}
.bc-slot-btn:hover {
  background: rgba(248, 207, 64, 0.1);
  border-color: rgba(248, 207, 64, 0.5);
  color: var(--gold);
  transform: scale(1.02);
}

.bc-selected-slot {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(248, 207, 64, 0.06);
  border: 1px solid rgba(248, 207, 64, 0.32);
  border-radius: 10px;
  margin-bottom: 22px;
}
.bc-selected-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.bc-selected-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: var(--offwhite);
  font-weight: 500;
  line-height: 1.15;
}
.bc-selected-sub {
  font-size: 13px;
  color: rgba(244, 244, 244, 0.7);
  letter-spacing: 0.04em;
  margin-top: 4px;
}

/* Success card — echoes the .final-cta visual treatment from the homepage */
.bc-success { text-align: center; padding: 24px 8px 12px; }
.bc-success-icon {
  width: 72px; height: 72px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-size: 36px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(248, 207, 64, 0.3);
}
.bc-success h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px;
  font-weight: 500;
  color: var(--offwhite);
  margin: 0 0 12px;
  letter-spacing: 0.01em;
}
.bc-success h2 em { color: var(--sky); font-style: italic; }
.bc-success-summary {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(248, 207, 64, 0.12);
  border-radius: 10px;
  padding: 20px 24px;
  text-align: left;
  max-width: 460px;
  margin: 0 auto;
}
.bc-success-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  align-items: center;
  font-size: 14px;
  color: var(--offwhite);
}
.bc-success-row + .bc-success-row {
  padding-top: 12px;
  border-top: 1px solid rgba(244, 244, 244, 0.05);
}
.bc-success-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 244, 244, 0.55);
}

@media (max-width: 600px) {
  .bc-day-slots { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
  .bc-success h2 { font-size: 30px; }
  .bc-success-row { grid-template-columns: 1fr; gap: 4px; }
  .bc-selected-slot { padding: 14px 16px; gap: 12px; }
  .bc-selected-icon { width: 38px; height: 38px; font-size: 16px; }
  .bc-selected-title { font-size: 19px; }
}

/* === Caregiver gate (Step 2 of registration, Mommy & Me only) === */
.caregiver-gate {
  margin-top: 24px;
  padding: 22px 24px;
  border: 1px solid rgba(248, 207, 64, 0.25);
  border-radius: 10px;
  background: rgba(248, 207, 64, 0.04);
}
.caregiver-gate-ack {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(244, 244, 244, 0.08);
}
.caregiver-gate-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}
.caregiver-pick {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(244, 244, 244, 0.10);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.caregiver-pick:hover { border-color: var(--gold); }
.caregiver-pick:has(input:checked) {
  border-color: var(--gold);
  background: rgba(248, 207, 64, 0.10);
}
.caregiver-pick input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 1.5px solid rgba(244, 244, 244, 0.35);
  margin: 0;
  flex-shrink: 0;
  position: relative;
  cursor: pointer;
  transition: border-color 0.18s ease;
}
.caregiver-pick input[type="radio"]:checked {
  border-color: var(--gold);
}
.caregiver-pick input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--gold);
}

/* Caregiver-form photo preview + picker */
.caregiver-photo-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 4px 0;
}
.caregiver-photo-preview {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(248, 207, 64, 0.10);
  border: 1.5px dashed rgba(248, 207, 64, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.caregiver-photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.caregiver-photo-placeholder {
  font-size: 22px;
  opacity: 0.5;
}
.caregiver-photo-pick {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}
.caregiver-row .muted { font-size: 12px; }

/* Caregiver form (cloned from <template>) sits inside a student card */
.caregiver-form {
  margin-top: 14px;
  padding: 18px;
  background: rgba(163, 193, 247, 0.04);
  border: 1px solid rgba(163, 193, 247, 0.18);
  border-radius: 8px;
}
.caregiver-form-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--offwhite);
  margin: 0 0 4px;
}

@media (max-width: 600px) {
  .student-card { padding: 18px 16px; }
  .student-card-head { flex-direction: column; gap: 10px; }
  .student-row-actions { width: 100%; }
  .student-row-actions .btn-ghost-sm { flex: 1; }
  .caregiver-row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .student-section-label { flex-direction: column; align-items: flex-start; gap: 8px; }
  .btn-manage { padding: 14px 16px; }
  .btn-manage-icon { width: 36px; height: 36px; font-size: 16px; }
  .btn-manage-label { font-size: 12px; }
}

.student-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 4px;
  border-bottom: 1px solid rgba(244, 244, 244, 0.06);
}
.student-row:last-child { border-bottom: none; }
.student-row-info { flex: 1; min-width: 0; }
.student-row-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: var(--offwhite);
  font-weight: 500;
}
.student-row-meta {
  font-size: 13px;
  color: rgba(244, 244, 244, 0.6);
  margin-top: 2px;
}
.student-row-actions { display: flex; gap: 8px; }

.muted { color: rgba(244, 244, 244, 0.6); margin: 0; }

.account-card-disabled {
  pointer-events: none;
  opacity: 0.65;
}
.account-hero { padding: 24px 56px 32px; }
@media (max-width: 720px) {
  .account-hero { padding: 18px 24px 24px; }
}

/* === SKELETON LOADERS (brand-styled shimmer) ============================ */
@keyframes wresh-shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.skel {
  background: linear-gradient(
    90deg,
    rgba(244, 244, 244, 0.04) 0%,
    rgba(163, 193, 247, 0.10) 35%,
    rgba(248, 207, 64, 0.10) 50%,
    rgba(163, 193, 247, 0.10) 65%,
    rgba(244, 244, 244, 0.04) 100%
  );
  background-size: 200% 100%;
  animation: wresh-shimmer 2.2s ease-in-out infinite;
  border-radius: 6px;
  display: block;
}
.skel-line { height: 14px; margin: 8px 0; }
.skel-line.short { width: 40%; }
.skel-line.medium { width: 70%; }
.skel-line.long { width: 92%; }

.skel-stat {
  height: 92px;
  border-radius: 10px;
  border: 1px solid rgba(244, 244, 244, 0.04);
}
.skel-card {
  height: 96px;
  border-radius: 10px;
  border: 1px solid rgba(244, 244, 244, 0.04);
  margin-bottom: 12px;
}
.skel-row {
  height: 52px;
  border-radius: 8px;
  border: 1px solid rgba(244, 244, 244, 0.04);
  margin-bottom: 10px;
}
@media (prefers-reduced-motion: reduce) {
  .skel { animation: none; }
}

@media (max-width: 720px) {
  .account-panel { padding: 22px 18px; }
  .account-panel-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .account-panel-head h2 { font-size: 22px; }
  .profile-row { grid-template-columns: 1fr; gap: 4px; }
  .student-row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .student-row-actions { width: 100%; }
  .student-row-actions .btn-ghost-sm { flex: 1; }
}

/* Role chooser shown to super_admin on /account.html ---------------------- */
.account-role-chooser {
  max-width: 900px;
  margin: 0 auto;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 20px;
}
.account-role-chooser .account-card {
  padding: 40px 36px;
}
.account-role-chooser .account-card h3 {
  font-size: 30px;
}
.account-role-chooser .account-card-icon {
  font-size: 36px;
}

/* Banner shown when super_admin previews the parent view ------------------ */
.admin-preview-banner {
  max-width: 1100px;
  margin: 0 auto 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 18px;
  background: rgba(248, 207, 64, 0.08);
  border: 1px solid rgba(248, 207, 64, 0.30);
  border-radius: 8px;
  font-size: 13px;
  color: var(--offwhite);
}
.admin-preview-banner span { flex: 1; min-width: 0; }
@media (max-width: 600px) {
  .admin-preview-banner { flex-direction: column; align-items: flex-start; }
}

/* Super Admin dashboard ---------------------------------------------------- */
.admin-page {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Pre-paint tab routing — admin/index.html sets html[data-pretab="X"] from
   the URL hash inside a synchronous <script> in <head>, before the browser
   paints. These rules then show only the matching panel, eliminating the
   Overview→Agenda flash on reload. The JS in admin.js still does the runtime
   bookkeeping, but visually the right panel renders on first paint. */
html[data-pretab] .admin-tabpanel { display: none !important; }
html[data-pretab="overview"]   .admin-tabpanel[data-panel="overview"],
html[data-pretab="roster"]     .admin-tabpanel[data-panel="roster"],
html[data-pretab="schedule"]   .admin-tabpanel[data-panel="schedule"],
html[data-pretab="attendance"] .admin-tabpanel[data-panel="attendance"],
html[data-pretab="credits"]    .admin-tabpanel[data-panel="credits"],
html[data-pretab="reports"]    .admin-tabpanel[data-panel="reports"],
html[data-pretab="broadcast"]  .admin-tabpanel[data-panel="broadcast"],
html[data-pretab="accounts"]   .admin-tabpanel[data-panel="accounts"],
html[data-pretab="audit"]      .admin-tabpanel[data-panel="audit"] {
  display: block !important;
}
/* Active tab indicator: drop the gold from the static "Overview" default
   when a different tab is preselected, then highlight the right one. */
html[data-pretab]:not([data-pretab="overview"]) .admin-tab[data-tab="overview"].active {
  color: rgba(244, 244, 244, 0.7);
  background: transparent;
  box-shadow: none;
}
html[data-pretab="roster"]     .admin-tab[data-tab="roster"],
html[data-pretab="schedule"]   .admin-tab[data-tab="schedule"],
html[data-pretab="attendance"] .admin-tab[data-tab="attendance"],
html[data-pretab="credits"]    .admin-tab[data-tab="credits"],
html[data-pretab="reports"]    .admin-tab[data-tab="reports"],
html[data-pretab="broadcast"]  .admin-tab[data-tab="broadcast"],
html[data-pretab="accounts"]   .admin-tab[data-tab="accounts"],
html[data-pretab="audit"]      .admin-tab[data-tab="audit"] {
  color: var(--navy);
  background: var(--gold);
  box-shadow: 0 4px 14px rgba(248, 207, 64, 0.3);
}
.admin-view-switch {
  margin-top: 14px;
  display: flex;
  justify-content: center;
}
.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(248, 207, 64, 0.18);
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
}
.admin-tab {
  position: relative;
  background: transparent;
  border: none;
  color: rgba(244, 244, 244, 0.7);
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 11px 20px;
  border-radius: 10px;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.admin-tab:hover {
  color: var(--offwhite);
  background: rgba(255, 255, 255, 0.05);
}
.admin-tab.active {
  color: var(--navy);
  background: var(--gold);
  box-shadow: 0 4px 14px rgba(248, 207, 64, 0.3);
}

.admin-panel {
  background:
    radial-gradient(ellipse at top right, rgba(163, 193, 247, 0.04) 0%, transparent 60%),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(248, 207, 64, 0.14);
  border-radius: 14px;
  padding: 32px 36px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}
.admin-panel h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  font-weight: 500;
  color: var(--offwhite);
  margin: 0 0 6px;
  letter-spacing: 0.005em;
}
.admin-panel h2 + .muted { font-size: 13px; }
.admin-panel h2::after {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  background: var(--gold);
  margin: 10px 0 18px;
  border-radius: 2px;
}
.admin-panel > p.muted { margin-bottom: 20px; }
.admin-subhead {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--offwhite);
  margin: 28px 0 12px;
}
.admin-subhead-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
  margin-bottom: 14px;
}
.admin-subhead-row .admin-subhead { margin: 0; }
.admin-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.admin-filter-chip {
  background: rgba(244, 244, 244, 0.04);
  border: 1px solid rgba(244, 244, 244, 0.14);
  color: rgba(244, 244, 244, 0.75);
  font-family: inherit;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.admin-filter-chip:hover {
  color: var(--offwhite);
  border-color: rgba(248, 207, 64, 0.35);
}
.admin-filter-chip.active {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 14px;
  margin: 4px 0 24px;
}
.admin-stat {
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(244, 244, 244, 0.06);
  border-left: 3px solid var(--gold);
  border-radius: 10px;
  padding: 20px 22px;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.admin-stat:hover {
  border-left-color: var(--sky);
  transform: translateY(-1px);
}
.admin-stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 40px;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  font-feature-settings: "lnum" 1;
}
.admin-stat-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 244, 244, 0.6);
  margin-top: 10px;
}

.admin-search-row { margin: 12px 0 18px; }
.admin-search-row input,
.admin-search-row select {
  width: 100%;
  background: rgba(244, 244, 244, 0.06);
  border: 1px solid rgba(244, 244, 244, 0.18);
  border-radius: 6px;
  padding: 12px 44px 12px 14px;
  font-family: inherit;
  font-size: 14px;
  color: var(--offwhite);
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.admin-search-row input { padding: 12px 14px; }
.admin-search-row input:focus,
.admin-search-row select:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(244, 244, 244, 0.1);
  box-shadow: 0 0 0 3px rgba(248, 207, 64, 0.12);
}

/* Brand-styled <select> dropdowns */
.admin-search-row select,
select.attendance-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'><path fill='none' stroke='%23F8CF40' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M1 1l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 14px 9px;
  cursor: pointer;
}
.admin-search-row select option,
select.attendance-select option {
  background: var(--navy-deep);
  color: var(--offwhite);
}

/* Inline attendance select inside the table */
select.attendance-select {
  background-color: rgba(244, 244, 244, 0.06);
  border: 1px solid rgba(244, 244, 244, 0.18);
  border-radius: 6px;
  padding: 8px 36px 8px 12px;
  font-family: inherit;
  font-size: 13px;
  color: var(--offwhite);
  background-position: right 12px center;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}
select.attendance-select:focus {
  outline: none;
  border-color: var(--gold);
  background-color: rgba(244, 244, 244, 0.1);
}

.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(244, 244, 244, 0.06);
  border-radius: 8px;
  /* Brand-styled scrollbar */
  scrollbar-width: thin;
  scrollbar-color: rgba(248, 207, 64, 0.5) rgba(255, 255, 255, 0.04);
}
.admin-table-wrap::-webkit-scrollbar {
  height: 8px;
  width: 8px;
}
.admin-table-wrap::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0 0 8px 8px;
}
.admin-table-wrap::-webkit-scrollbar-thumb {
  background: rgba(248, 207, 64, 0.45);
  border-radius: 4px;
}
.admin-table-wrap::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  color: var(--offwhite);
}
.admin-table th,
.admin-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(244, 244, 244, 0.06);
  vertical-align: middle;
}
.admin-table th {
  background: rgba(0, 0, 0, 0.28);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 244, 244, 0.55);
  font-weight: 600;
  border-bottom: 1px solid rgba(248, 207, 64, 0.14);
}
.admin-table tbody tr { transition: background 0.14s ease; }
.admin-table tbody tr:last-child td { border-bottom: none; }
.admin-table tbody tr:hover td { background: rgba(248, 207, 64, 0.04); }

/* Email links inside admin tables */
.admin-table a {
  color: var(--sky);
  text-decoration: none;
  word-break: break-word;
}
.admin-table a:hover { color: var(--gold); }

/* Stacked contact cell — name on top, phone/email below */
.parent-cell { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.parent-cell-name { color: var(--offwhite); font-weight: 500; }
.parent-cell-meta {
  font-size: 12px;
  color: rgba(244, 244, 244, 0.6);
  word-break: break-word;
}

/* Roster caregiver mini-rows */
.cg-cell {
  font-size: 12.5px;
  margin-bottom: 2px;
  line-height: 1.35;
}
.cg-cell:last-child { margin-bottom: 0; }

/* Roster schedule cell — day/time on top, plan label below */
.schedule-cell { display: flex; flex-direction: column; gap: 2px; }
.schedule-cell-time {
  color: var(--offwhite);
  font-weight: 500;
  white-space: nowrap;
}
.schedule-cell-plan {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(244, 244, 244, 0.55);
}

/* === Lesson Reports tab === */
.report-card {
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(244, 244, 244, 0.06);
  border-left: 3px solid var(--gold);
  border-radius: 10px;
  padding: 18px 22px;
  margin-bottom: 14px;
  transition: border-color 0.18s ease;
}
.report-card:hover { border-color: rgba(248, 207, 64, 0.35); }
.report-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}
.report-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--offwhite);
  line-height: 1.15;
}
.report-card-meta {
  font-size: 12px;
  color: rgba(244, 244, 244, 0.6);
  margin-top: 4px;
}
.report-card-actions { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }
.report-card-overview {
  margin-top: 10px;
  font-size: 13px;
  color: rgba(244, 244, 244, 0.78);
  line-height: 1.55;
  white-space: pre-wrap;
}

/* Top-of-page Back link (smaller, left-aligned, separate from the bottom one) */
.account-page-back-top {
  max-width: 1100px;
  margin: 0 auto 16px;
}
.account-page-back-top .btn-link {
  padding: 0;
  font-size: 12px;
}

/* Prominent lesson date on parent-side report cards */
.report-lesson-date {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.01em;
  line-height: 1.1;
  margin-bottom: 6px;
}
.report-lesson-date::before {
  content: "📅";
  margin-right: 8px;
  font-size: 18px;
  vertical-align: middle;
  filter: saturate(0) brightness(2.4);
}

/* Heading + subtitle pattern for the parent-side panels (Lesson reports etc.) */
.panel-heading {
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(244, 244, 244, 0.08);
}
.panel-heading h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  font-weight: 500;
  color: var(--offwhite);
  margin: 0 0 4px;
  letter-spacing: 0.005em;
}
.panel-heading h2::after {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  background: var(--gold);
  margin: 8px 0 12px;
  border-radius: 2px;
}
.panel-subtitle {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  font-style: italic;
  color: rgba(244, 244, 244, 0.65);
  max-width: 640px;
}

/* Parent-side lesson report sections (on /account/classes.html) */
.parent-report-section { margin-top: 12px; }
.parent-report-section:first-of-type { margin-top: 14px; }
.parent-report-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 244, 244, 0.55);
  margin-bottom: 4px;
}
.parent-report-body {
  font-size: 14px;
  line-height: 1.6;
  color: var(--offwhite);
  white-space: pre-wrap;
}

/* Read / Unread sub-tabs inside the parent Lesson reports panel */
.reports-subtabs {
  display: flex;
  gap: 4px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(244, 244, 244, 0.08);
}
.reports-subtab {
  appearance: none;
  background: transparent;
  border: none;
  color: rgba(244, 244, 244, 0.55);
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 10px 16px 12px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.15s ease, border-color 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.reports-subtab:hover { color: var(--offwhite); }
.reports-subtab.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}
.reports-subtab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 11px;
  background: rgba(244, 244, 244, 0.08);
  color: rgba(244, 244, 244, 0.7);
}
.reports-subtab.active .reports-subtab-count {
  background: rgba(248, 207, 64, 0.18);
  color: var(--gold);
}

/* Clickable parent report card */
.report-card-clickable {
  cursor: pointer;
  position: relative;
}
.report-card-clickable:hover {
  border-color: rgba(248, 207, 64, 0.4);
  background: rgba(0, 0, 0, 0.28);
}
.report-card-clickable:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.report-card-unread {
  border-left-width: 5px;
  background: rgba(248, 207, 64, 0.04);
}
.report-card-open-hint {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(248, 207, 64, 0.7);
  white-space: nowrap;
  align-self: center;
}
.report-unread-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  margin-left: 10px;
  vertical-align: middle;
  box-shadow: 0 0 0 3px rgba(248, 207, 64, 0.18);
}

/* Big, readable lesson-report preview modal — sized for older parents */
.report-preview-root {
  position: fixed;
  inset: 0;
  z-index: 9100;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 16px;
  overflow-y: auto;
}
.report-preview-modal {
  position: relative;
  background: var(--navy);
  border: 1px solid rgba(248, 207, 64, 0.22);
  border-radius: 14px;
  padding: 44px 48px 40px;
  width: 100%;
  max-width: 820px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  color: var(--offwhite);
  font-size: 19px;
  line-height: 1.7;
}
.report-preview-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(244, 244, 244, 0.14);
  background: rgba(0, 0, 0, 0.25);
  color: var(--offwhite);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.report-preview-close:hover {
  transform: rotate(90deg);
  border-color: var(--gold);
  color: var(--gold);
}
.report-preview-date {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 600;
  color: var(--gold);
  line-height: 1.15;
  margin-bottom: 8px;
}
.report-preview-date::before {
  content: "📅";
  margin-right: 12px;
  font-size: 26px;
  vertical-align: middle;
  filter: saturate(0) brightness(2.4);
}
.report-preview-who {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 500;
  color: var(--offwhite);
  margin-bottom: 6px;
}
.report-preview-sent {
  font-size: 14px;
  color: rgba(244, 244, 244, 0.55);
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.report-preview-unread {
  appearance: none;
  background: transparent;
  border: 1px solid rgba(244, 244, 244, 0.18);
  color: rgba(244, 244, 244, 0.75);
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.report-preview-unread:hover {
  color: var(--gold);
  border-color: rgba(248, 207, 64, 0.5);
}
.report-preview-divider {
  height: 1px;
  background: rgba(244, 244, 244, 0.08);
  margin: 22px 0 6px;
}
.report-preview-section { margin-top: 22px; }
.report-preview-label {
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.report-preview-body {
  font-size: 19px;
  line-height: 1.75;
  color: var(--offwhite);
  white-space: pre-wrap;
}
.report-preview-attachments {
  list-style: none;
  padding: 0;
  margin: 0;
}
.report-preview-attachments li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid rgba(244, 244, 244, 0.08);
  border-radius: 8px;
  margin-bottom: 8px;
  background: rgba(0, 0, 0, 0.18);
  font-size: 16px;
}
.report-preview-attachments a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.report-preview-attachments .attachment-size {
  margin-left: auto;
  font-size: 13px;
}
@media (max-width: 640px) {
  .report-preview-modal { padding: 36px 22px 28px; font-size: 18px; }
  .report-preview-date { font-size: 28px; }
  .report-preview-date::before { font-size: 20px; margin-right: 8px; }
  .report-preview-who { font-size: 22px; }
  .report-preview-body { font-size: 18px; }
}

/* Compose modal */
.report-compose {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 32px 16px;
  overflow-y: auto;
}
.report-compose-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 14, 30, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.report-compose-form {
  position: relative;
  background: var(--navy);
  border: 1px solid rgba(248, 207, 64, 0.20);
  border-radius: 12px;
  padding: 28px 32px;
  width: 100%;
  max-width: 720px;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.5);
  animation: wresh-modal-pop 0.22s cubic-bezier(0.2, 0.9, 0.3, 1.05);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.report-compose-form .account-panel-head { margin-bottom: 0; padding-bottom: 14px; padding-right: 44px; }

.report-compose-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(244, 244, 244, 0.18);
  border-radius: 50%;
  background: rgba(244, 244, 244, 0.04);
  color: rgba(244, 244, 244, 0.7);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 1;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
.report-compose-close:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(248, 207, 64, 0.08);
  transform: rotate(90deg);
}
.report-compose-close:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(248, 207, 64, 0.25);
}
.report-compose-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 14px;
  align-items: end;
}
/* Match heights across the Student / Class / Lesson-date row exactly. Input,
   select, and date all get the same fixed box so they sit on a flush line. */
.report-compose-row .form-row > input,
.report-compose-row .form-row > select {
  height: 46px;
  padding-top: 0;
  padding-bottom: 0;
  line-height: 1.4;
}
.report-compose-row .form-row > input[type="date"] {
  /* Hide the browser's giant calendar-picker indicator extra spacing in
     Chromium so the date sits the same vertical position as the selects. */
  padding-right: 12px;
}
.report-compose-form select {
  appearance: none;
  -webkit-appearance: none;
  background-color: rgba(244, 244, 244, 0.06);
  border: 1px solid rgba(244, 244, 244, 0.18);
  border-radius: 6px;
  padding: 12px 36px 12px 14px;
  font-family: inherit;
  font-size: 14px;
  color: var(--offwhite);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'><path fill='none' stroke='%23F8CF40' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M1 1l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px 8px;
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}
.report-compose-form select:focus {
  outline: none;
  border-color: var(--gold);
  background-color: rgba(244, 244, 244, 0.1);
}
.report-compose-form select:disabled { opacity: 0.55; cursor: not-allowed; }
.report-compose-form select option,
.report-compose-form select optgroup {
  background-color: var(--navy-deep);
  color: var(--offwhite);
}
.report-compose-form select optgroup {
  font-style: italic;
  color: var(--gold);
  font-weight: 600;
}
.report-compose-form select option {
  font-style: normal;
  color: var(--offwhite);
  font-weight: 400;
  padding: 4px 0;
}
.report-compose-form .profile-edit-actions { flex-wrap: wrap; gap: 10px; padding-top: 8px; border-top: 1px solid rgba(244, 244, 244, 0.08); }
#report-send-btn { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-warm) 100%); }

/* Template dropdown row — select + Save/Remove buttons inline */
.template-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
}
.template-row > select { flex: 1; min-width: 200px; }
.template-row > .btn-ghost { flex-shrink: 0; }

/* Student multi-picker (replaces the student select after a class is picked) */
.report-students-panel {
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(244, 244, 244, 0.10);
  border-radius: 8px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 260px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(248, 207, 64, 0.5) rgba(255, 255, 255, 0.04);
}
.report-students-panel::-webkit-scrollbar { width: 6px; }
.report-students-panel::-webkit-scrollbar-thumb { background: rgba(248, 207, 64, 0.45); border-radius: 3px; }

/* The form-wide rule .report-compose-form label sets uppercase + 12 px on
   every label — override here so student names render in normal case at
   their natural size. Higher specificity than the form-label rule. */
.report-compose-form .report-student-pick,
.report-compose-form .report-student-pick > span {
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: 15px;
  color: var(--offwhite);
  font-weight: 400;
  margin: 0;
}
.report-student-pick {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.14s ease;
}
.report-student-pick:hover { background: rgba(255, 255, 255, 0.04); }
.report-student-pick input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  /* Match the label text height so the checkbox sits flush with it */
  width: 1em;
  height: 1em;
  margin: 0;
  flex-shrink: 0;
  background: rgba(244, 244, 244, 0.06);
  border: 1.5px solid rgba(244, 244, 244, 0.35);
  border-radius: 3px;
  cursor: pointer;
  position: relative;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.report-student-pick input[type="checkbox"]:checked {
  background: var(--gold);
  border-color: var(--gold);
}
.report-student-pick input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 0.32em; height: 0.6em;
  border: solid var(--navy);
  border-width: 0 0.13em 0.13em 0;
  transform: translate(-50%, -55%) rotate(45deg);
}
.report-student-pick-all {
  border-bottom: 1px solid rgba(244, 244, 244, 0.08);
  margin-bottom: 4px;
  padding-bottom: 12px;
  font-weight: 500;
}

/* Broadcast compose — numbered steps (Audience → Recipients → Message) */
.broadcast-step {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(244, 244, 244, 0.08);
}
.broadcast-step:first-of-type {
  margin-top: 8px;
  padding-top: 14px;
  border-top: none;
}
.broadcast-step-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}
.broadcast-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 600;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(248, 207, 64, 0.25);
}
.broadcast-step-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--offwhite);
  margin: 2px 0 4px;
  line-height: 1.2;
}
.broadcast-step-sub {
  margin: 0;
  font-size: 13px;
  color: rgba(244, 244, 244, 0.62);
  line-height: 1.5;
}
.broadcast-step-sub code {
  font-family: 'Manrope', monospace;
  font-size: 12px;
  background: rgba(0, 0, 0, 0.3);
  padding: 1px 6px;
  border-radius: 4px;
  color: var(--gold);
}
.broadcast-everyone {
  background: rgba(248, 207, 64, 0.06);
  border: 1px solid rgba(248, 207, 64, 0.22);
  border-radius: 8px;
  padding: 12px 14px;
  cursor: pointer;
}
.broadcast-recipients-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.broadcast-recipients-count {
  font-size: 13px;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.broadcast-recipients-actions {
  display: flex;
  gap: 6px;
}

/* Broadcast history card list */
.broadcast-card {
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(244, 244, 244, 0.06);
  border-left: 3px solid var(--gold);
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 14px;
  transition: border-color 0.18s ease;
}
.broadcast-card:hover { border-color: rgba(248, 207, 64, 0.4); }
.broadcast-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.broadcast-card-subject {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--offwhite);
  line-height: 1.2;
}
.broadcast-card-meta {
  font-size: 12px;
  color: rgba(244, 244, 244, 0.6);
  margin-top: 2px;
}
.broadcast-card-body {
  font-size: 13px;
  color: rgba(244, 244, 244, 0.78);
  line-height: 1.5;
  white-space: pre-wrap;
  max-height: 90px;
  overflow: hidden;
  position: relative;
  margin: 6px 0 10px;
}
.broadcast-card-body::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 28px;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.18));
}
.broadcast-card-stats {
  display: flex;
  gap: 14px;
  font-size: 12px;
  color: rgba(244, 244, 244, 0.7);
  flex-wrap: wrap;
}
.broadcast-card-stats strong { color: var(--offwhite); font-weight: 500; }
.broadcast-card-stats .stat-failed { color: #f47878; }
.broadcast-card-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

@media (max-width: 720px) {
  .report-compose-form { padding: 22px 18px; }
  .report-compose { padding: 16px 8px; }
}

/* Schedule (Agenda) tab */
.schedule-filters {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 8px 0 24px;
  padding: 14px 18px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(244, 244, 244, 0.06);
  border-radius: 10px;
}
.schedule-filter-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.schedule-filter-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 244, 244, 0.55);
  min-width: 70px;
}
.schedule-week { margin-bottom: 28px; }
.schedule-week:last-child { margin-bottom: 0; }
.schedule-class { color: var(--offwhite); font-weight: 500; }
.schedule-detail {
  font-size: 12px;
  color: rgba(244, 244, 244, 0.6);
  margin-top: 2px;
}

@media (max-width: 720px) {
  .schedule-filter-group { flex-direction: column; align-items: flex-start; gap: 8px; }
  .schedule-filter-label { min-width: 0; }
}

/* Roster safety cell — medical note shown inline if present, ✓ otherwise */
.safety-cell { display: flex; flex-direction: column; gap: 6px; min-width: 130px; max-width: 220px; }
.safety-medical {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 10px;
  background: rgba(231, 122, 122, 0.10);
  border-left: 2px solid #e77a7a;
  border-radius: 4px;
}
.safety-medical-text {
  font-size: 12px;
  line-height: 1.45;
  color: rgba(244, 244, 244, 0.92);
  white-space: pre-wrap;
}

@media (max-width: 1100px) {
  .admin-table { font-size: 12.5px; }
  .admin-table th, .admin-table td { padding: 11px 10px; }
  .parent-cell-meta { font-size: 11.5px; }
  .schedule-cell-time { white-space: normal; }
}
@media (max-width: 900px) {
  .admin-table th, .admin-table td { padding: 10px 8px; font-size: 12px; }
}

/* Email cells in admin tables wrap by character so they never blow out the column */
.admin-table .parent-cell-meta a,
.admin-table .parent-cell-meta { overflow-wrap: anywhere; word-break: break-word; }

.roster-block {
  margin-bottom: 28px;
  scroll-margin-top: 100px;     /* keep below the sticky nav when scrolled to */
  border-radius: 10px;
  transition: box-shadow 0.4s ease, background 0.4s ease;
}
.roster-block-flash {
  background: rgba(248, 207, 64, 0.06);
  box-shadow: 0 0 0 2px rgba(248, 207, 64, 0.6), 0 0 28px rgba(248, 207, 64, 0.2);
}

/* === Signed agreement (/agreement?id=...) — same dark layout as the
   public SSA page, plus an injected "Signed by" block at the bottom. === */
.agreement-print-toolbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(29, 33, 56, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 14px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(248, 207, 64, 0.18);
}
.agreement-print-toolbar .btn-link { color: var(--offwhite); }
.agreement-print-toolbar .btn-primary {
  padding: 11px 22px;
  font-size: 11px;
}

/* Signed-by block (injected after section 7) */
.signed-block {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 2px solid var(--gold);
}
.signed-card {
  background: rgba(248, 207, 64, 0.04);
  border: 1px solid rgba(248, 207, 64, 0.30);
  border-radius: 10px;
  padding: 28px 32px;
}
.signed-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.signed-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 500;
  color: var(--offwhite);
}
.signed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px 24px;
  margin-bottom: 18px;
}
.signed-grid > div { display: flex; flex-direction: column; gap: 4px; }
.signed-label {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 244, 244, 0.55);
  font-weight: 500;
}
.signed-grid strong { color: var(--offwhite); font-weight: 500; font-size: 14.5px; }
.signed-grid .muted { color: rgba(244, 244, 244, 0.55); font-weight: 400; }

.signed-medical {
  margin: 6px 0 22px;
  padding: 14px 18px;
  background: rgba(231, 122, 122, 0.08);
  border-left: 3px solid #e77a7a;
  border-radius: 4px;
}
.signed-medical .signed-label { display: block; margin-bottom: 6px; }
.signed-medical-body {
  color: var(--offwhite);
  white-space: pre-wrap;
  font-size: 14px;
  line-height: 1.55;
}
.signed-medical-body .muted { color: rgba(244, 244, 244, 0.55); }

.signed-typed {
  margin-bottom: 22px;
  padding: 22px 28px;
  background: rgba(244, 244, 244, 0.04);
  border: 1px dashed rgba(248, 207, 64, 0.45);
  border-radius: 6px;
}
.signed-typed .signed-label { display: block; margin-bottom: 10px; }
.signed-typed-name {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 36px;
  color: var(--offwhite);
  line-height: 1.1;
  word-break: break-word;
  border-bottom: 1px solid rgba(248, 207, 64, 0.5);
  padding-bottom: 8px;
}

.signed-confirms {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
}
.signed-confirm {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--offwhite);
  line-height: 1.55;
}
.signed-checkbox {
  width: 22px; height: 22px;
  flex-shrink: 0;
  background: var(--gold);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
  margin-top: 2px;
}

.signed-audit {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(244, 244, 244, 0.12);
  margin-bottom: 18px;
}
.signed-audit > div { display: flex; flex-direction: column; gap: 3px; }
.signed-audit strong {
  font-size: 13px;
  color: var(--offwhite);
  font-weight: 500;
  word-break: break-all;
}

.signed-foot {
  font-size: 12px;
  color: rgba(244, 244, 244, 0.6);
  line-height: 1.6;
  margin: 0;
}

/* Print: flip to clean light theme */
@media print {
  .agreement-print-toolbar,
  .top-banner,
  nav,
  footer { display: none !important; }
  body {
    background: #ffffff !important;
    color: #1d2138 !important;
  }
  .page-hero {
    background: #ffffff !important;
    color: #1d2138 !important;
    border-bottom: 2px solid #1d2138 !important;
  }
  .page-hero h1, .page-hero .lede, .page-hero .eyebrow {
    color: #1d2138 !important;
  }
  .page-hero h1 em { color: #6a6a6a !important; }
  .policy-body {
    background: #ffffff !important;
    color: #1d2138 !important;
  }
  .policy-body h2,
  .policy-body p,
  .policy-body li,
  .policy-body strong { color: #1d2138 !important; }
  .signed-card {
    background: #fdfaf0 !important;
    border-color: #c9b550 !important;
    color: #1d2138 !important;
    break-inside: avoid;
    page-break-inside: avoid;
  }
  .signed-card-title,
  .signed-grid strong,
  .signed-typed-name,
  .signed-confirm,
  .signed-audit strong { color: #1d2138 !important; }
  .signed-label { color: #777 !important; }
  .signed-typed { background: #ffffff !important; border-color: #c9b550 !important; }
  .signed-medical { background: #fff5f5 !important; }
  .signed-medical-body { color: #1d2138 !important; }
  .signed-foot { color: #555 !important; }
  .signed-checkbox { background: #c9b550 !important; color: #1d2138 !important; }
}

@media (max-width: 720px) {
  .agreement-print-toolbar { padding: 12px 16px; }
  .signed-card { padding: 20px 18px; }
  .signed-typed-name { font-size: 28px; }
}

/* === Account detail view (admin Accounts tab) === */
.account-row-link {
  color: var(--offwhite);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px dotted rgba(248, 207, 64, 0.4);
  transition: color 0.18s ease, border-color 0.18s ease;
}
.account-row-link:hover { color: var(--gold); border-bottom-color: var(--gold); }

.detail-panel {
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(244, 244, 244, 0.06);
  border-radius: 10px;
  padding: 24px 26px;
  margin-bottom: 18px;
}
.detail-panel h3.admin-subhead { margin-top: 0; }

.detail-header { display: flex; align-items: center; gap: 22px; }
.detail-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 500;
  color: var(--offwhite);
  margin: 0;
}
.detail-header h2::after { display: none; }
.detail-header-meta {
  display: flex; gap: 12px; align-items: center; margin: 6px 0 8px;
  flex-wrap: wrap;
}
.detail-contact { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 14px; }
.detail-contact a { color: var(--sky); text-decoration: none; }
.detail-contact a:hover { color: var(--gold); }

.detail-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: rgba(248, 207, 64, 0.12);
  border: 1px solid rgba(248, 207, 64, 0.2);
}
.detail-avatar-md { width: 56px; height: 56px; }
.detail-avatar-lg { width: 80px; height: 80px; border-width: 2px; }
.detail-avatar-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  color: var(--gold);
}
.detail-avatar-fallback { font-size: 18px; }
.detail-avatar-fallback.detail-avatar-md { font-size: 24px; }
.detail-avatar-fallback.detail-avatar-lg { font-size: 36px; }

.detail-student {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(244, 244, 244, 0.06);
}
.detail-student:last-child { border-bottom: none; }
.detail-student-body { flex: 1; min-width: 0; }
.detail-student-head { margin-bottom: 8px; }
.detail-student-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: var(--offwhite);
  font-weight: 500;
}
.detail-student-meta {
  font-size: 13px;
  color: rgba(244, 244, 244, 0.7);
  margin-top: 2px;
}
.detail-student-tags {
  display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0 8px;
}
.detail-student-medical {
  font-size: 13px;
  color: rgba(244, 244, 244, 0.85);
  background: rgba(231, 122, 122, 0.08);
  border-left: 3px solid #e77a7a;
  padding: 8px 12px;
  border-radius: 4px;
  margin: 8px 0 12px;
}
.detail-student-agreements { margin-top: 10px; }
.detail-section-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 244, 244, 0.55);
  margin-bottom: 6px;
}
.agreement-row {
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
  padding: 6px 0;
  font-size: 13px;
}

.detail-package {
  padding: 16px 0;
  border-bottom: 1px solid rgba(244, 244, 244, 0.06);
}
.detail-package:last-child { border-bottom: none; }
.detail-package-head {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap;
  margin-bottom: 8px;
}
.detail-package-totals { display: flex; gap: 10px; align-items: center; }
.detail-package-total {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: var(--gold);
  font-weight: 600;
}
.detail-package-items {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 6px;
}
.detail-package-items li {
  font-size: 13px; color: rgba(244,244,244,0.85);
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
}

@media (max-width: 720px) {
  .detail-panel { padding: 18px 16px; }
  .detail-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .detail-student { flex-direction: column; gap: 10px; }
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  background: rgba(244, 244, 244, 0.1);
  color: var(--offwhite);
  white-space: nowrap;
  line-height: 1.4;
}
.badge-paid,
.badge-confirmed,
.badge-active,
.badge-completed { background: rgba(106, 178, 122, 0.18); color: #87d99b; }
.badge-unpaid,
.badge-pending_payment { background: rgba(248, 207, 64, 0.18); color: var(--gold); }
.badge-partial { background: rgba(163, 193, 247, 0.18); color: var(--sky); }
.badge-cancelled,
.badge-refunded { background: rgba(231, 122, 122, 0.18); color: #e77a7a; }
.badge-scheduled { background: rgba(163, 193, 247, 0.18); color: var(--sky); }
.badge-rescheduled,
.badge-in_progress { background: rgba(248, 207, 64, 0.18); color: var(--gold); }

@media (max-width: 720px) {
  .admin-panel { padding: 22px 18px; }
  .admin-tabs { flex-direction: column; }
  .admin-tab { text-align: left; }
}

/* Sign In / My Account link in nav (sits next to Register CTA) */
.nav-signin {
  color: var(--offwhite) !important;
  font-size: 14px;
  letter-spacing: 0.04em;
  padding: 9px 18px;
  border: 2px solid var(--offwhite) !important;
  border-radius: 4px;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.nav-signin:hover {
  color: var(--gold) !important;
  border-color: var(--gold) !important;
}

/* Forgot password link on login form */
.auth-forgot {
  text-align: right;
  margin: -8px 0 8px;
}
.auth-forgot a {
  color: rgba(244, 244, 244, 0.7);
  font-size: 13px;
  letter-spacing: 0.02em;
}
.auth-forgot a:hover { color: var(--gold); }

/* ========================================================================
   Registration flow (/account/register.html)
   ======================================================================== */
.register-shell { max-width: 1120px; margin: 0 auto; }
.register-loading {
  padding: 32px 4px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.register-progress {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  justify-content: center;
}
.register-progress-step {
  flex: 1;
  min-width: 120px;
  padding: 10px 14px;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244,244,244,0.4);
  border: 1px solid rgba(244,244,244,0.1);
  border-radius: 4px;
  background: rgba(255,255,255,0.02);
  transition: all 0.18s ease;
  cursor: default;
  user-select: none;
}
.register-progress-step.active {
  color: var(--navy);
  background: var(--gold);
  border-color: var(--gold);
  font-weight: 600;
}
.register-progress-step.done {
  color: var(--gold);
  border-color: rgba(248,207,64,0.5);
  background: rgba(248,207,64,0.08);
  cursor: pointer;
}
.register-progress-step.done:hover {
  background: rgba(248,207,64,0.18);
  border-color: var(--gold);
}

.register-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(248,207,64,0.18);
  border-radius: 12px;
  padding: 40px;
}
.register-confirm-card { text-align: center; padding: 60px 40px; }
.register-confirm-icon {
  font-family: 'Cormorant Garamond', serif;
  color: var(--gold);
  font-size: 48px;
  margin-bottom: 8px;
}

.register-step-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
  gap: 16px;
}
.register-continue {
  width: auto;
  margin: 0;
  padding: 14px 28px;
}
.register-continue:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Step 1 — student picker */
.student-list { display: flex; flex-direction: column; gap: 10px; }
.student-pick {
  display: flex;
  gap: 14px;
  padding: 14px 18px;
  border: 1px solid rgba(244,244,244,0.18);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.student-pick:hover { border-color: rgba(248,207,64,0.5); }
.student-pick input[type="radio"] {
  accent-color: var(--gold);
  width: 18px; height: 18px;
  margin-top: 2px;
}
.student-pick:has(input:checked) {
  border-color: var(--gold);
  background: rgba(248,207,64,0.06);
}
.student-pick-body { display: flex; flex-direction: column; gap: 4px; }
.student-pick-body strong { color: var(--offwhite); font-size: 16px; }
.student-pick-detail { color: rgba(244,244,244,0.6); font-size: 13px; }

.student-readout {
  margin-top: 20px;
  padding: 14px 18px;
  background: rgba(248,207,64,0.05);
  border-left: 3px solid var(--gold);
  border-radius: 4px;
  font-size: 14px;
  color: var(--offwhite);
  display: flex;
  gap: 24px;
}
.readout-label {
  color: rgba(244,244,244,0.6);
  letter-spacing: 0.04em;
  font-size: 12px;
  text-transform: uppercase;
  margin-right: 4px;
}

.agreement-gate {
  margin-top: 32px;
  padding: 24px;
  border: 1px dashed rgba(248,207,64,0.5);
  border-radius: 8px;
  background: rgba(248,207,64,0.04);
}
.agreement-signed {
  margin-top: 24px;
  padding: 16px 20px;
  display: flex;
  gap: 16px;
  align-items: center;
  border: 1px solid rgba(93, 217, 201, 0.45);
  border-left: 3px solid #5dd9c9;
  border-radius: 6px;
  background: rgba(93, 217, 201, 0.06);
}
.agreement-signed .agreement-check {
  font-size: 22px;
  color: #5dd9c9;
  font-weight: 700;
}
.agreement-signed strong {
  color: var(--offwhite);
  display: block;
  font-size: 14px;
}
.agreement-signed-detail {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  color: rgba(244,244,244,0.65);
}
.agreement-signed-detail a {
  color: var(--gold);
  text-decoration: none;
  margin-left: 4px;
}
.agreement-signed-detail a:hover { text-decoration: underline; }

/* Step 2 — class pickers */
.class-pickers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}
@media (max-width: 720px) {
  .class-pickers { grid-template-columns: 1fr; }
}
.class-picker-col { display: flex; flex-direction: column; gap: 8px; }
.register-col-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: var(--gold);
  margin: 0 0 4px;
  font-weight: 500;
}
.register-col-hint {
  color: rgba(244,244,244,0.6);
  font-size: 13px;
  font-style: italic;
  margin: 0 0 12px;
}
.class-option {
  display: flex;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(244,244,244,0.15);
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.class-option:hover { border-color: rgba(248,207,64,0.4); background: rgba(255,255,255,0.02); }
.class-option:has(input:checked) {
  border-color: var(--gold);
  background: rgba(248,207,64,0.08);
}
.class-option input[type="radio"] {
  accent-color: var(--gold);
  width: 18px; height: 18px;
  margin-top: 2px;
}
.class-option-body { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.class-option-title { color: var(--offwhite); font-size: 15px; font-weight: 500; }
.class-option-price { color: var(--gold); font-weight: 400; margin-left: 6px; }
.class-option-detail { color: rgba(244,244,244,0.65); font-size: 13px; line-height: 1.5; }
.class-option-none { background: rgba(255,255,255,0.02); }
.class-option-disabled { opacity: 0.45; cursor: not-allowed; }
.class-option-disabled input { cursor: not-allowed; }
.age-warn { color: #ffb480; font-style: italic; }

.track-picker-wrap, .payment-frequency-wrap { margin-top: 28px; }
.track-picker {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.track-option {
  padding: 10px 22px;
  border: 1px solid rgba(244,244,244,0.18);
  border-radius: 24px;
  cursor: pointer;
  transition: all 0.18s ease;
}
.track-option:hover { border-color: rgba(248,207,64,0.5); }
.track-option:has(input:checked) {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--navy);
  font-weight: 600;
}
.track-option input { display: none; }

.payment-frequency-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 720px) {
  .payment-frequency-options { grid-template-columns: 1fr; }
}
.freq-option {
  display: flex;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(244,244,244,0.15);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.18s ease;
}
.freq-option:hover { border-color: rgba(248,207,64,0.4); }
.freq-option:has(input:checked) {
  border-color: var(--gold);
  background: rgba(248,207,64,0.06);
}
.freq-option input { accent-color: var(--gold); width: 18px; height: 18px; margin-top: 2px; }
.freq-option strong { display: block; color: var(--offwhite); font-size: 15px; }
.freq-detail { display: block; color: rgba(244,244,244,0.6); font-size: 13px; margin-top: 2px; }

.register-running-total {
  margin-top: 24px;
  padding: 16px 18px;
  background: rgba(248,207,64,0.06);
  border: 1px solid rgba(248,207,64,0.3);
  border-radius: 6px;
  color: var(--offwhite);
  font-size: 15px;
}

/* Step 3 — schedule */
.schedule-board {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}
.schedule-day {
  border: 1px solid rgba(244,244,244,0.12);
  border-radius: 8px;
  padding: 18px 22px;
  background: rgba(255,255,255,0.02);
}
.schedule-day-header {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: var(--gold);
  margin-bottom: 12px;
}
.schedule-day-modality {
  color: rgba(244,244,244,0.55);
  font-size: 14px;
  font-family: 'Manrope', sans-serif;
  font-style: italic;
}
.schedule-day-slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}
.slot-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(244,244,244,0.18);
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.18s ease;
}
.slot-option:hover { border-color: rgba(248,207,64,0.5); }
.slot-option:has(input:checked) {
  border-color: var(--gold);
  background: rgba(248,207,64,0.08);
  color: var(--gold);
}
.slot-option input { accent-color: var(--gold); width: 16px; height: 16px; }
.slot-option-fixed {
  cursor: default;
  background: rgba(248,207,64,0.06);
  border-color: rgba(248,207,64,0.4);
}
.slot-fixed-tag {
  margin-left: auto;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}
.schedule-counter {
  margin-top: 18px;
  text-align: center;
  color: rgba(244,244,244,0.7);
  font-size: 14px;
  font-style: italic;
}

/* ========================================================================
   Cal.com-style 3-panel calendar (Step 3 of registration)
   ======================================================================== */
.register-card-wide { padding: 36px; }

.cal-layout {
  display: grid;
  grid-template-columns: minmax(200px, 240px) minmax(0, 1fr) minmax(240px, 300px);
  gap: 0;
  margin: 28px 0;
  border: 1px solid rgba(244,244,244,0.12);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255,255,255,0.02);
  min-height: 540px;
}

/* Narrower viewport: drop the left info panel inline */
@media (max-width: 1024px) {
  .cal-layout {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
    min-height: auto;
  }
  .cal-left {
    grid-column: 1 / -1;
    border-right: none !important;
    border-bottom: 1px solid rgba(244,244,244,0.10) !important;
  }
  .register-card-wide { padding: 24px; }
}

/* Phone: stack everything vertically */
@media (max-width: 720px) {
  .cal-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .cal-right {
    border-left: none !important;
    border-top: 1px solid rgba(244,244,244,0.10) !important;
  }
  .register-card-wide { padding: 16px; }
  .cal-left, .cal-center, .cal-right { padding: 20px; }
}

.cal-left,
.cal-center,
.cal-right {
  padding: 24px;
  min-width: 0;  /* allow grid children to shrink */
}
.cal-left { border-right: 1px solid rgba(244,244,244,0.10); }
.cal-right { border-left: 1px solid rgba(244,244,244,0.10); display: flex; flex-direction: column; }

/* Left info card */
.cal-info-card { margin-bottom: 20px; }
.cal-info-card:last-child { margin-bottom: 0; }
.cal-info-eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244,244,244,0.55);
  margin-bottom: 6px;
}
.cal-info-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 500;
  color: var(--offwhite);
  margin-bottom: 14px;
  line-height: 1.1;
}
.cal-info-meta {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cal-info-meta li {
  font-size: 13px;
  color: rgba(244,244,244,0.7);
  position: relative;
  padding-left: 14px;
}
.cal-info-meta li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* Month navigation */
.cal-month-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.cal-month-title {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 500;
  color: var(--offwhite);
  margin: 0;
  letter-spacing: 0.01em;
}
.cal-month-year { color: rgba(244,244,244,0.55); margin-left: 4px; }
.cal-month-buttons { display: flex; gap: 6px; }
.cal-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid rgba(244,244,244,0.15);
  background: transparent;
  color: var(--offwhite);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  transition: all 0.18s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cal-icon-btn:hover:not(:disabled) {
  background: rgba(248,207,64,0.12);
  border-color: var(--gold);
  color: var(--gold);
}
.cal-icon-btn:disabled { opacity: 0.3; cursor: not-allowed; }

/* 7-column grid */
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  width: 100%;
}
.cal-dow {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(244,244,244,0.55);
  padding: 10px 0;
}
.cal-cell {
  position: relative;
  aspect-ratio: 1 / 1;
  min-height: 0;
  width: 100%;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: rgba(244,244,244,0.4);
  font-family: inherit;
  font-size: clamp(13px, 2vw, 17px);
  font-weight: 500;
  cursor: not-allowed;
  transition: all 0.18s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.cal-cell-empty { background: transparent; pointer-events: none; }
.cal-cell-num { line-height: 1; }

/* Available date — subtle highlight + dot */
.cal-cell.cal-available {
  background: rgba(255,255,255,0.05);
  color: var(--offwhite);
  cursor: pointer;
}
.cal-cell.cal-available:hover {
  background: rgba(248,207,64,0.18);
  transform: scale(1.05);
}
.cal-cell-dot {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

/* Selected date — gold filled, navy text */
.cal-cell.cal-selected {
  background: var(--gold) !important;
  color: var(--navy) !important;
  font-weight: 700;
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(248,207,64,0.35);
}
.cal-cell.cal-selected .cal-cell-dot { background: var(--navy); }

/* Date with at least one picked slot */
.cal-cell.cal-has-pick:not(.cal-selected) {
  background: rgba(248,207,64,0.14);
  border: 1.5px solid var(--gold);
}

/* Semester plan: every same-weekday date in the recurring series. Softer
   than the picked/selected states so those still read as the active choice. */
.cal-cell.cal-weekday-match:not(.cal-selected):not(.cal-has-pick) {
  background: rgba(248,207,64,0.10);
  box-shadow: inset 0 0 0 1.5px rgba(248,207,64,0.45);
}
.cal-cell.cal-weekday-match:not(.cal-selected):not(.cal-has-pick):hover {
  background: rgba(248,207,64,0.20);
}

/* Right panel — time slots */
.cal-right-header {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(244,244,244,0.08);
}
.cal-right-date {
  font-size: 16px;
  color: rgba(244,244,244,0.85);
  text-align: center;
  width: 100%;
}
.cal-right-date strong {
  color: var(--offwhite);
  font-weight: 600;
  margin-right: 4px;
  font-size: 17px;
}
.cal-right-modality {
  display: inline-block;
  margin-left: 8px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244,244,244,0.5);
  font-style: italic;
}

.cal-slots {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cal-slot {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid rgba(244,244,244,0.18);
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  color: var(--offwhite);
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s ease;
  text-align: center;
}
.cal-slot:hover {
  background: rgba(248,207,64,0.1);
  border-color: rgba(248,207,64,0.5);
  transform: scale(1.02);
}
.cal-slot.cal-slot-picked {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(248,207,64,0.35);
}
.cal-slot.cal-slot-disabled,
.cal-slot:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  background: rgba(255,255,255,0.02);
  border-color: rgba(244,244,244,0.08);
  transform: none !important;
}
.cal-slot.cal-slot-disabled:hover,
.cal-slot:disabled:hover {
  background: rgba(255,255,255,0.02);
  border-color: rgba(244,244,244,0.08);
  transform: none;
}

.step3-heading-line { display: block; }
.step3-heading-line + .step3-heading-line { margin-top: 6px; }
.step3-heading-sub {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--sky);
}

.step3-phases {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  margin-bottom: 16px;
  border: 1px solid rgba(244,244,244,0.12);
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  font-size: 13px;
  letter-spacing: 0.04em;
}
.step3-phase {
  color: rgba(244,244,244,0.5);
  cursor: pointer;
  transition: color 0.18s ease;
  padding: 2px 8px;
  border-radius: 999px;
}
.step3-phase:hover { color: var(--offwhite); }
.step3-phase.done {
  color: var(--gold);
}
.step3-phase.done::before {
  content: '✓ ';
}
.step3-phase.active {
  color: var(--navy);
  background: var(--gold);
  font-weight: 600;
  cursor: default;
}
.step3-phase-sep {
  color: rgba(244,244,244,0.3);
  font-size: 12px;
}

.cal-conflict-banner {
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(248,207,64,0.08);
  border: 1px solid rgba(248,207,64,0.35);
  color: rgba(244,244,244,0.85);
  font-size: 13px;
  line-height: 1.55;
}
.cal-conflict-banner strong { color: var(--gold); }
.cal-clear-other {
  display: inline-block;
  margin-top: 8px;
  padding: 6px 12px;
  border: 1px solid var(--gold);
  border-radius: 6px;
  background: transparent;
  color: var(--gold);
  font-family: inherit;
  font-size: 12px;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.18s ease;
}
.cal-clear-other:hover {
  background: var(--gold);
  color: var(--navy);
}
.cal-slots-empty {
  padding: 32px 16px;
  font-size: 14px;
  color: rgba(244,244,244,0.5);
  text-align: center;
  font-style: italic;
  line-height: 1.7;
}

/* Selected summary (chips below the calendar) */
.cal-selected-summary {
  margin-top: 20px;
}
.cal-selected-summary:empty { display: none; }
.cal-summary-title {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244,244,244,0.5);
  margin-bottom: 10px;
}
.cal-summary-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cal-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px 6px 14px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: rgba(248,207,64,0.1);
  color: var(--offwhite);
  font-size: 13px;
}
.cal-chip-x {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: none;
  background: rgba(244,244,244,0.15);
  color: var(--offwhite);
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: all 0.18s ease;
}
.cal-chip-x:hover {
  background: rgba(204,75,75,0.5);
}

.schedule-location-note {
  margin-top: 20px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.03);
  border-left: 3px solid rgba(248,207,64,0.5);
  border-radius: 4px;
  color: rgba(244,244,244,0.85);
  font-size: 13px;
  line-height: 1.6;
}

/* Step 4 — review/payment */
.register-summary {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.summary-line {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 16px 18px;
  border: 1px solid rgba(244,244,244,0.12);
  border-radius: 6px;
  background: rgba(255,255,255,0.02);
}
.summary-line strong { color: var(--offwhite); font-size: 15px; }
.summary-detail { color: rgba(244,244,244,0.65); font-size: 13px; margin-top: 4px; }
.summary-amount { color: var(--gold); font-size: 16px; font-weight: 500; white-space: nowrap; }
.per-session-tag {
  font-size: 12px;
  color: rgba(244,244,244,0.55);
  font-weight: 400;
}
.summary-meta {
  margin-top: 12px;
  padding: 12px 18px;
  border-radius: 6px;
  background: rgba(248,207,64,0.04);
  color: rgba(244,244,244,0.85);
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.register-grand-total {
  margin-top: 24px;
  padding: 22px 24px;
  border: 1px solid var(--gold);
  border-radius: 8px;
  background: rgba(248,207,64,0.08);
  color: var(--offwhite);
  font-size: 18px;
  text-align: right;
}
.register-grand-total strong { color: var(--gold); font-size: 24px; margin-left: 8px; }

/* Step 4 — itemized "X classes × rate" breakdown inside the total box */
.summary-breakdown {
  text-align: left;
  border-bottom: 1px solid rgba(248,207,64,0.25);
  padding-bottom: 14px;
  margin-bottom: 14px;
}
.summary-breakdown-title {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(244,244,244,0.6);
  margin-bottom: 12px;
}
.summary-breakdown-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 4px 16px;
  font-size: 15px;
  color: var(--offwhite);
  padding: 5px 0;
}
.summary-breakdown-mul { color: rgba(244,244,244,0.6); font-size: 13px; }
.summary-breakdown-row > span:last-child {
  color: var(--gold);
  font-weight: 500;
  white-space: nowrap;
}
.summary-total-final { text-align: right; font-size: 18px; }
.summary-total-final strong { color: var(--gold); font-size: 24px; margin-left: 8px; }
.summary-total-note {
  font-size: 13px;
  font-weight: 400;
  color: rgba(244,244,244,0.6);
  margin-top: 6px;
}
.payment-placeholder {
  margin-top: 24px;
  padding: 20px;
  border: 1px dashed rgba(244,244,244,0.2);
  border-radius: 6px;
  background: rgba(255,255,255,0.02);
  color: rgba(244,244,244,0.75);
  font-size: 13px;
  line-height: 1.6;
}
.payment-placeholder p { margin: 0 0 8px; }

/* === EVENT CALENDAR (Schedule page) ============================== */
.event-calendar {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
@media (max-width: 900px) {
  .event-calendar { grid-template-columns: 1fr; gap: 24px; }
}

.event-calendar .ec-card {
  background: var(--navy-deep);
  border-left: 4px solid var(--gold);
  padding: 28px 32px 32px;
}

.event-calendar .ec-month-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.event-calendar .ec-month-label {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 26px;
  color: var(--sky);
  letter-spacing: 0.005em;
}
.event-calendar .ec-nav {
  background: transparent;
  border: 1px solid rgba(163,193,247,0.18);
  color: var(--offwhite);
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}
.event-calendar .ec-nav:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.event-calendar .ec-nav svg { width: 18px; height: 18px; }

.event-calendar .ec-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 8px;
}
.event-calendar .ec-weekday {
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(163,193,247,0.7);
  font-weight: 600;
  padding: 6px 0;
}

.event-calendar .ec-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.event-calendar .ec-day {
  position: relative;
  aspect-ratio: 1 / 1;
  background: transparent;
  border: 1px solid transparent;
  color: var(--offwhite);
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.event-calendar .ec-day:hover {
  background: var(--navy-soft);
}
.event-calendar .ec-day.is-outside {
  color: rgba(244,244,244,0.28);
}
.event-calendar .ec-day.is-today {
  border-color: rgba(248,207,64,0.5);
}
.event-calendar .ec-day.is-selected {
  background: var(--gold);
  color: var(--navy);
  font-weight: 600;
}
.event-calendar .ec-day.is-selected:hover {
  background: var(--gold-warm);
}
.event-calendar .ec-day .ec-day-dot {
  position: absolute;
  bottom: 5px;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: transparent;
  transform: translateX(-50%);
}
.event-calendar .ec-day.has-event:not(.is-selected) .ec-day-dot {
  background: var(--sky);
}
.event-calendar .ec-day.has-event.is-selected .ec-day-dot {
  background: var(--navy);
}

/* Right column: events list + add row */
.event-calendar .ec-events {
  background: var(--navy-deep);
  border-left: 4px solid var(--sky);
  padding: 28px 32px 32px;
}
.event-calendar .ec-events-heading {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 22px;
  color: var(--offwhite);
  margin-bottom: 18px;
  line-height: 1.25;
}
.event-calendar .ec-events-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.event-calendar .ec-empty {
  font-size: 13px;
  color: rgba(244,244,244,0.55);
  font-style: italic;
}
.event-calendar .ec-event-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: var(--navy);
  border: 1px solid rgba(163,193,247,0.12);
  font-size: 14px;
  color: var(--offwhite);
}
.event-calendar .ec-event-title {
  flex: 1;
  word-break: break-word;
}
.event-calendar .ec-event-remove {
  background: transparent;
  border: none;
  color: rgba(244,244,244,0.5);
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: color 0.2s;
}
.event-calendar .ec-event-remove:hover { color: var(--gold); }
.event-calendar .ec-event-remove svg { width: 16px; height: 16px; }

.event-calendar .ec-add-row {
  display: flex;
  gap: 8px;
}
.event-calendar .ec-add-input {
  flex: 1;
  background: var(--navy);
  border: 1px solid rgba(163,193,247,0.2);
  color: var(--offwhite);
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  padding: 10px 14px;
  outline: none;
  transition: border-color 0.2s;
}
.event-calendar .ec-add-input::placeholder { color: rgba(244,244,244,0.4); }
.event-calendar .ec-add-input:focus { border-color: var(--gold); }
.event-calendar .ec-add-btn {
  background: var(--gold);
  color: var(--navy);
  border: none;
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0 18px;
  cursor: pointer;
  transition: background 0.2s;
}
.event-calendar .ec-add-btn:hover { background: var(--gold-warm); }

/* Read-only mode: hide editing controls for everyone except super_admin.
   Default state until auth.js confirms the role; never flashes for visitors. */
.event-calendar.is-readonly .ec-add-row,
.event-calendar.is-readonly .ec-event-remove {
  display: none;
}

/* === MOBILE POLISH (2026-05-07) === */
/* Targeted fixes for 968px and below — based on responsive audit. */

@media (max-width: 968px) {
  /* Footer: tighter padding + single-column on phones */
  footer { padding: 56px 20px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }

  /* Hours card: keep label + day rows readable on narrow screens */
  .hours-card { padding: 18px 22px; gap: 24px; flex-wrap: wrap; }
  .hours-rows { gap: 10px; }

  /* Connect page contact grid */
  .contact-grid { grid-template-columns: 1fr; padding: 50px 20px; gap: 18px; }

  /* Class detail / policy / lesson tier sections: tame their 56-100px desktop padding */
  .class-detail { padding: 60px 20px; }
  .lesson-tiers { padding: 60px 20px 80px; }
  .policy-body { padding: 60px 20px 80px; }

  /* Registration step-3 phase pills wrap instead of overflowing */
  .step3-phases {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 12px;
  }
}

@media (max-width: 580px) {
  /* True phone width: collapse footer to a single column for legibility */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  footer { padding: 40px 18px 20px; }

  /* Hours card stacks rather than tries to flex */
  .hours-card { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* Enrollment cards on /account/classes.html ----------------------------- */
.enrollment-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}
.enrollment-card {
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(244, 244, 244, 0.06);
  border-radius: 10px;
  padding: 18px 20px;
}
.enrollment-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.enrollment-card-head .badge { flex-shrink: 0; }
.enrollment-card-payment {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(244, 244, 244, 0.06);
  font-size: 13px;
  color: rgba(244, 244, 244, 0.75);
}
.enrollment-card-payment .badge { font-size: 11px; padding: 6px 14px; }
.enrollment-card-payment .label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 244, 244, 0.55);
}
.enrollment-card-payment .total { color: var(--offwhite); font-weight: 500; }

/* Resume-payment prompt on unpaid enrollments */
.enrollment-resume {
  margin-top: 12px;
  padding: 12px 14px;
  background: rgba(248, 207, 64, 0.06);
  border: 1px solid rgba(248, 207, 64, 0.22);
  border-radius: 8px;
}
.enrollment-resume-note {
  margin: 0 0 10px;
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(244, 244, 244, 0.75);
}
.btn-sm {
  font-size: 13px;
  padding: 8px 16px;
}
.enrollment-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--offwhite);
  line-height: 1.2;
}
.enrollment-card-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: rgba(244, 244, 244, 0.7);
}
.enrollment-card-meta strong { color: var(--offwhite); }

.enrollment-card-changes {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(244, 244, 244, 0.1);
  font-size: 13px;
  color: rgba(244, 244, 244, 0.7);
}
.enrollment-card-changes .label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(244, 244, 244, 0.5);
  margin-bottom: 4px;
}
.enrollment-card-changes ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.enrollment-card-changes strong { color: var(--offwhite); }
.enrollment-card-changes .arrow { color: var(--gold); padding: 0 2px; }

/* ============================================================================
   ROSTER — Exchange a session
   Per-row ⇄ button opens a wider wresh-modal with a list of weekly sessions.
   ============================================================================ */
.btn-icon-exchange {
  background: transparent;
  border: 1px solid rgba(248, 207, 64, 0.4);
  color: var(--gold);
  border-radius: 6px;
  width: 34px;
  height: 34px;
  font-size: 16px;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.btn-icon-exchange:hover {
  background: rgba(248, 207, 64, 0.12);
  border-color: var(--gold);
}
.btn-icon-exchange:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.wresh-modal-wide { max-width: 600px; }

.exchange-week-list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  max-height: 360px;
  overflow-y: auto;
  border: 1px solid rgba(244, 244, 244, 0.08);
  border-radius: 8px;
}
.exchange-week-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(244, 244, 244, 0.06);
}
.exchange-week-item:last-child { border-bottom: none; }
.exchange-week-date {
  font-size: 14px;
  color: var(--offwhite);
}

/* === SCHEDULE LAYOUT (hours + calendar + next event, one aligned column) */
.schedule-layout {
  max-width: 1100px;
  margin: 0 auto;
  padding: 52px clamp(16px, 4vw, 32px) 120px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.schedule-block { width: 100%; }
.schedule-block .hours-card { margin-top: 0; }
.schedule-label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 18px;
}
.schedule-label .line { width: 36px; height: 1px; background: var(--sky); }

/* === NEXT EVENT — horizontal feature panel, matched to calendar width === */
.next-event { width: 100%; }
@keyframes ne-enter {
  from { opacity: 0; transform: translateY(28px) scale(0.985); filter: blur(6px); }
  to   { opacity: 1; transform: translateY(0) scale(1);        filter: blur(0); }
}
@keyframes ne-pulse {
  0%, 100% { transform: scale(1);    opacity: 1;   }
  50%      { transform: scale(1.12); opacity: 0.7; }
}

.next-event .ne-card {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  background: var(--navy-deep);
  border-left: 4px solid var(--gold);
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  animation: ne-enter 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.next-event .ne-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 52px rgba(0, 0, 0, 0.3);
}

/* Media */
.next-event .ne-media {
  position: relative;
  overflow: hidden;
  min-height: 340px;
}
.next-event .ne-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.next-event .ne-card:hover .ne-img { transform: scale(1.06); }
/* Image blends into the body panel on its right edge so the two halves
   read as one surface, not a photo glued next to a box. */
.next-event .ne-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(29,33,56,0) 52%, var(--navy-deep) 100%);
  pointer-events: none;
}
.next-event .ne-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--gold);
  color: var(--navy);
  font-family: 'Manrope', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 12px;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.3s, transform 0.3s;
}
.next-event .ne-card.is-soon .ne-badge { opacity: 1; transform: scale(1); }

/* Body */
.next-event .ne-body {
  padding: 44px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.next-event .ne-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 12px;
}
.next-event .ne-eyebrow .line { width: 36px; height: 1px; background: var(--sky); }
.next-event .ne-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1.12;
  color: var(--offwhite);
  margin: 0 0 18px;
}
.next-event .ne-title em { display: block; font-style: italic; color: var(--sky); }

.next-event .ne-meta {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-bottom: 26px;
}
.next-event .ne-meta-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: 'Manrope', sans-serif;
  font-size: 13.5px;
  color: rgba(244, 244, 244, 0.72);
}
.next-event .ne-ic {
  display: inline-flex;
  color: var(--sky);
}
.next-event .ne-ic svg { width: 16px; height: 16px; }

/* Countdown */
.next-event .ne-countdown-label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 244, 244, 0.6);
  margin-bottom: 12px;
}
.next-event .ne-units {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  max-width: 420px;
}
.next-event .ne-unit {
  background: var(--navy);
  border: 1px solid rgba(163, 193, 247, 0.14);
  padding: 16px 4px 13px;
  text-align: center;
}
.next-event .ne-num {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-size: 26px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--offwhite);
  line-height: 1;
}
.next-event .ne-unit-label {
  display: block;
  margin-top: 6px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 244, 244, 0.5);
}
.next-event .ne-unit[data-unit="seconds"] {
  border-color: rgba(248, 207, 64, 0.5);
}
.next-event .ne-unit[data-unit="seconds"] .ne-num {
  color: var(--gold);
  animation: ne-pulse 1s ease-in-out infinite;
}

/* Live state (event has started) */
.next-event .ne-live-title {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 30px;
  color: var(--gold);
}
.next-event .ne-live-sub {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  color: rgba(244, 244, 244, 0.6);
  margin-top: 6px;
}

/* CTA — mirrors the site's primary button idiom */
.next-event .ne-cta {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 16px 34px;
  background: var(--gold);
  color: var(--navy);
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s;
}
.next-event .ne-cta:hover { background: var(--gold-warm); }
.next-event .ne-cta .arrow {
  transition: transform 0.25s;
}
.next-event .ne-cta:hover .arrow { transform: translateX(4px); }

/* Stack to a single column on narrow screens */
@media (max-width: 820px) {
  .next-event .ne-card { grid-template-columns: 1fr; }
  .next-event .ne-media { min-height: 0; height: 220px; }
  .next-event .ne-media::after {
    background: linear-gradient(to top, var(--navy-deep) 0%, rgba(29,33,56,0.12) 45%, transparent 100%);
  }
  .next-event .ne-body { padding: 28px 24px 30px; }
  .next-event .ne-units { max-width: none; }
  .next-event .ne-cta { align-self: stretch; justify-content: center; }
}
@media (max-width: 480px) {
  .schedule-layout { gap: 36px; }
  .next-event .ne-units { gap: 6px; }
  .next-event .ne-num { font-size: 21px; }
}

@media (prefers-reduced-motion: reduce) {
  .next-event .ne-card { animation: none; }
  .next-event .ne-card,
  .next-event .ne-img,
  .next-event .ne-card:hover,
  .next-event .ne-card:hover .ne-img { transition: none; transform: none; }
  .next-event .ne-unit[data-unit="seconds"] .ne-num { animation: none; }
}

/* ---------------------------------------------------------------------------
   Stripe card-on-file (profile page) + payment return states
   --------------------------------------------------------------------------- */
.payment-method-empty {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px dashed rgba(244, 244, 244, 0.14);
  border-radius: 10px;
}
.payment-method-icon { font-size: 26px; flex-shrink: 0; }
.payment-method-text { flex: 1; }
.payment-method-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px;
  color: var(--offwhite);
}
.payment-method-sub {
  font-size: 13px;
  color: rgba(244, 244, 244, 0.6);
  margin-top: 2px;
  line-height: 1.5;
}
.saved-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(244, 244, 244, 0.08);
  border-radius: 10px;
  margin-bottom: 10px;
}
.saved-card-main { display: flex; align-items: center; gap: 12px; }
.saved-card-icon { font-size: 22px; }
.saved-card-brand {
  font-size: 15px;
  color: var(--offwhite);
  letter-spacing: 0.03em;
  text-transform: capitalize;
}
.saved-card-default {
  display: inline-block;
  margin-left: 10px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--gold);
  padding: 2px 8px;
  border-radius: 999px;
  vertical-align: middle;
}
.btn-link-danger { color: #f47878 !important; }
.btn-link-danger:hover { color: #ff9a9a !important; }

.register-paid-ok {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(248, 207, 64, 0.25);
  border-radius: 12px;
  padding: 32px 28px;
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  color: var(--offwhite);
  line-height: 1.6;
}
.register-paid-ok h2 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--gold);
}

/* Payment history rows (parent profile) */
.payment-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 16px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(244, 244, 244, 0.08);
  border-radius: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.payment-row-main { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.payment-row-amount {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--gold);
}
.payment-row-desc { font-size: 14px; color: var(--offwhite); }
.payment-row-date { font-size: 12px; color: rgba(244, 244, 244, 0.55); }
.payment-row-links { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.payment-row-links a {
  color: #A3C1F7;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.payment-row-links .sep { color: rgba(244, 244, 244, 0.3); }

/* ==========================================================================
   MOBILE POLISH PASS — added 2026-05-23
   All rules below are scoped to ≤720px / ≤480px. Desktop is unaffected.
   Covers: nav spacing, home hero distribution, connect/schedule hours,
   contact-card icon glyphs, testimonial endless-loop marquee.
   ========================================================================== */

/* Force text presentation on contact-card glyphs so iOS doesn't paint
   ☎ and ✉ as colored emoji (the U+FE0E selector in the HTML is the
   primary fix; this is belt-and-suspenders for older runtimes). */
.contact-card .icon {
  font-variant-emoji: text;
}

/* One-line hours summary: hidden on desktop, shown on mobile in place
   of the multi-row layout. Day labels keep the brand serif/italic. */
.hours-summary { display: none; }
.hours-summary .day {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--sky);
}
.hours-summary .time { color: rgba(244, 244, 244, 0.92); }

/* Testimonial clones (created by JS) are hidden on desktop; the mobile
   media query below shows them so the marquee can loop seamlessly. */
[data-testimonial-clone] { display: none; }

/* ---------- ≤720px (phones + small tablets) ---------- */
@media (max-width: 720px) {
  /* Connect / Schedule: replace stacked rows with one-line summary */
  .hours-card .hours-rows { display: none; }
  .hours-card .hours-summary {
    display: block;
    text-align: center;
    font-size: 15px;
    line-height: 1.55;
    color: rgba(244, 244, 244, 0.92);
    letter-spacing: 0.01em;
  }
  .hours-card .hours-summary .day { font-size: 18px; }

  /* Connect: float the hours card to the top of the contact grid */
  .contact-grid .hours-card { order: -1; margin-top: 0; }

  /* Endless-loop testimonial marquee.
     Requires JS to clone the 4 cards (lives in testimonial-deck.js)
     so total = 8 and translateX(-50%) lands on a seamless copy. */
  .testimonials { overflow-x: hidden; }
  [data-testimonial-clone] { display: block; }
  .testimonial-deck {
    overflow: visible !important;
    scroll-snap-type: none !important;
    width: max-content;
    flex-wrap: nowrap;
    padding: 30px 0;
    animation: testimonial-marquee 60s linear infinite;
    will-change: transform;
  }
  .testimonial-deck:active,
  .testimonial-deck:hover { animation-play-state: paused; }
  .testimonial-card { margin: 0 8px; }

  @keyframes testimonial-marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }
  @media (prefers-reduced-motion: reduce) {
    .testimonial-deck { animation: none; }
  }
}

/* ---------- ≤480px (true phone width) ---------- */
@media (max-width: 480px) {
  /* --- NAV: tighten the right cluster + drop the redundant sub --- */
  nav { padding: 12px 16px; }
  .nav-mark { gap: 10px; }
  .nav-mark img { width: 40px; height: 40px; }
  .nav-mark .text { font-size: 15px; }
  /* "OF VOICE AND STAGE" already lives in the hero — hide on phones
     so the Register + hamburger cluster has room to breathe. */
  .nav-mark .text .sub { display: none; }
  .nav-right { gap: 8px; }
  .nav-cta {
    padding: 8px 12px;
    font-size: 10px;
    letter-spacing: 0.16em;
  }
  .nav-hamburger { width: 40px; height: 40px; }

  /* --- HERO: lift the overline, enlarge the wordmark, breathe --- */
  .title-page {
    min-height: auto;
    padding: 36px 18px 64px;
    justify-content: flex-start;
  }
  .title-overline { margin-bottom: 56px; }
  .title-overline .line { width: 36px; }
  .title-logo-wrap { width: 100%; margin: 0 0 14px; }
  .title-tagline-trio { margin: 0 0 56px; }
  .title-cta-row { margin: 0; }

  /* Keep the gold corner brackets snug to the hero edge */
  .deco-frame, .deco-frame-2 { inset: 14px; }
}


/* === REGISTER GATE MODAL =================================== */
.register-gate-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.register-gate-modal.is-open { display: flex; }
.register-gate-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(29, 33, 56, 0.85);
}
.register-gate-card {
  position: relative;
  background: var(--navy);
  color: var(--off-white);
  border: 1px solid var(--gold);
  max-width: 520px;
  width: 100%;
  padding: 48px 40px 40px;
  border-radius: 4px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
  font-family: 'Manrope', sans-serif;
}
.register-gate-card h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--off-white);
  margin: 0 0 16px;
  line-height: 1.2;
}
.register-gate-card p {
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 12px;
  color: rgba(244, 244, 244, 0.9);
}
.register-gate-card p a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.register-gate-card p strong { color: var(--off-white); }
.register-gate-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: none;
  color: var(--off-white);
  font-size: 22px;
  cursor: pointer;
  padding: 8px 12px;
  line-height: 1;
  transition: color 0.2s;
}
.register-gate-close:hover { color: var(--gold); }
.register-gate-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}
.register-gate-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 14px 24px;
  border-radius: 2px;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s;
}
.register-gate-primary:hover { background: var(--gold-warm); }
.register-gate-secondary {
  background: transparent;
  color: var(--off-white);
  border: 1px solid rgba(244, 244, 244, 0.4);
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 2px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.register-gate-secondary:hover {
  color: var(--gold);
  border-color: var(--gold);
}
@media (max-width: 560px) {
  .register-gate-card { padding: 40px 24px 28px; }
  .register-gate-card h2 { font-size: 24px; }
}
