/* ============================================================
   SODA – School of Dance Arts  |  style.css
   ============================================================ */

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

:root {
  --cyan:         #03AFEB;
  --cyan-dark:    #0297cc;
  --cyan-light:   #35c3f3;
  --black:        #1a1a1a;
  --dark:         #111111;
  --footer-bg:    #2d3f50;
  --white:        #ffffff;
  --gray-bg:      #f0f0f0;
  --gray-light:   #f7f7f7;
  --gray-mid:     #777;
  --text:         #333333;
  --hero-overlay: rgba(40, 50, 130, 0.55);
  --font-h:       'Playfair Display', Georgia, serif;
  --font-b:       'Lato', sans-serif;
  --topbar-h:     40px;
  --header-h:     80px;
  --max-w:        1280px;
  --pad:          32px;
  --trans:        0.3s ease;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-b); color: var(--text); background: var(--white); line-height: 1.65; font-size: 16px; }
img  { max-width: 100%; display: block; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }

.top-icon {
  width: 14px; height: 14px;
  fill: currentColor;
  display: inline-block;
  vertical-align: middle;
  margin-right: 5px;
  flex-shrink: 0;
}

/* ============================================================
   TOP BAR — full-width black strip, content pinned inside max-w
   ============================================================ */
.top-bar {
  background: var(--dark);
  color: rgba(255,255,255,0.82);
  font-size: 13px;
}

/* This inner div is what aligns content to the same edges as .header-inner */
.top-bar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.top-bar a { color: rgba(255,255,255,0.82); transition: color var(--trans); }
.top-bar a:hover { color: var(--cyan); }

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Social icons (top bar) */
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  color: rgba(255,255,255,0.75);
  transition: color var(--trans);
}
.social-link svg { width: 14px; height: 14px; fill: currentColor; }
.social-link:hover { color: var(--cyan); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--white);
  height: var(--header-h);
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  transition: box-shadow var(--trans);
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.12); }

/* Same max-width and padding as .top-bar-inner */
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo img { height: 58px; width: auto; transition: opacity var(--trans); }
.logo:hover img { opacity: 0.85; }

.main-nav ul { display: flex; align-items: center; }
.main-nav a {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  padding: 8px 12px;
  transition: color var(--trans);
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.active { color: var(--cyan); }

/* Header right side */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Hamburger — hidden on desktop */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: transform var(--trans), opacity var(--trans);
}

/* ============================================================
   MOBILE NAV (offcanvas)
   ============================================================ */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
}
.mobile-nav-overlay.open { display: block; }

.mobile-nav {
  position: fixed;
  top: 0; right: 0;
  width: min(300px, 85vw);
  height: 100%;
  background: var(--dark);
  color: var(--white);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.35s ease;
}
.mobile-nav.open { transform: translateX(0); }

.mobile-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  flex-shrink: 0;
}
.mobile-nav-head img { height: 40px; filter: brightness(10); opacity: 0.9; }

.mobile-nav-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  opacity: 0.75;
  transition: opacity var(--trans);
}
.mobile-nav-close:hover { opacity: 1; }

.mobile-nav > ul { padding: 8px 0; }
.mobile-nav > ul li { border-bottom: 1px solid rgba(255,255,255,0.07); }
.mobile-nav a {
  display: block;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  transition: color var(--trans), background var(--trans);
}
.mobile-nav a:hover { color: var(--cyan); background: rgba(255,255,255,0.04); }

.mobile-nav-info {
  padding: 20px 20px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 2;
}
.mobile-nav-info a { color: var(--cyan); }
.mobile-social { display: flex; gap: 12px; margin-top: 16px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 12px 30px;
  font-family: var(--font-b);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: 50px;        /* pill shape */
  transition: background var(--trans), color var(--trans), transform var(--trans), box-shadow var(--trans);
  cursor: pointer;
  white-space: nowrap;
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,0.2); }

.btn-cyan {
  background: var(--cyan);
  color: var(--white);
  border-color: var(--cyan);
}
.btn-cyan:hover { background: var(--cyan-dark); border-color: var(--cyan-dark); color: var(--white); }

.btn-outline-white {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}
.btn-outline-white:hover { background: transparent; color: var(--white); border-color: var(--white); }

/* Card "Read More" buttons */
.ekit-btn {
  display: inline-block;
  padding: 9px 24px;
  background: var(--cyan);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  border-radius: 50px;
  margin-top: 4px;
  transition: background var(--trans);
}
.ekit-btn:hover { background: var(--cyan-dark); }

/* ============================================================
   HERO SLIDESHOW
   ============================================================ */
.hero {
  position: relative;
  min-height: 580px;
  height: calc(100vh - var(--header-h) - var(--topbar-h));
  max-height: 860px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slides { position: absolute; inset: 0; }

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.hero-slide.active { opacity: 1; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 32px 24px;
  max-width: 860px;
  animation: fadeUp 1s ease both;
}
.hero-content h1 {
  font-family: var(--font-h);
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 36px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

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

/* ============================================================
   REGISTER BANNER
   ============================================================ */
.register-banner {
  background: var(--gray-bg);
  padding: 18px var(--pad);
}
.register-banner-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   CLASSES GRID
   ============================================================ */
.classes-section {
  background: var(--white);
  padding: 70px var(--pad);
}
.classes-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.class-card {
  background: var(--white);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.09);
  transition: transform var(--trans), box-shadow var(--trans);
}
.class-card:hover { transform: translateY(-6px); box-shadow: 0 14px 36px rgba(0,0,0,0.14); }
.class-card > a { display: block; color: inherit; }
.class-card-img { width: 100%; aspect-ratio: 16/10; overflow: hidden; }
.class-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.class-card:hover .class-card-img img { transform: scale(1.04); }
.class-card-body { padding: 24px; }
.class-card-body h2 { font-family: var(--font-h); font-size: 1.25rem; color: var(--black); margin-bottom: 8px; }
.class-card-body p { font-size: 14px; color: var(--gray-mid); margin-bottom: 14px; }

/* ============================================================
   ABOUT + VIDEO
   ============================================================ */
.about-section { padding: 80px var(--pad); background: var(--gray-light); }
.about-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.video-popup-btn { display: block; background: none; border: none; cursor: pointer; padding: 0; width: 100%; }
.video-thumb { position: relative; width: 100%; border-radius: 6px; overflow: hidden; box-shadow: 0 8px 40px rgba(0,0,0,0.15); }
.video-thumb img { width: 100%; display: block; }
.video-play-icon { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; transition: opacity var(--trans); }
.video-play-icon svg { width: 80px; height: 80px; }
.video-popup-btn:hover .video-play-icon { opacity: 0.75; }

.about-subtitle { font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cyan); margin-bottom: 10px; }
.about-title { font-family: var(--font-h); font-size: clamp(1.6rem, 2.5vw, 2.3rem); color: var(--black); margin-bottom: 18px; line-height: 1.25; }
.about-text p { color: #555; font-size: 15px; margin-bottom: 26px; }

/* ============================================================
   DISCOVER SECTION
   ============================================================ */
.discover-section { position: relative; padding: 100px var(--pad); overflow: hidden; text-align: center; }
.discover-video-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.discover-fallback-img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.discover-iframe {
  position: absolute; top: 50%; left: 50%;
  width: 177.78vh; height: 100vh;
  min-width: 100%; min-height: 56.25vw;
  transform: translate(-50%, -50%);
  border: none; pointer-events: none;
}
@media (max-width: 767px) { .discover-iframe { display: none; } }

.discover-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.60); z-index: 1; }
.discover-inner { position: relative; z-index: 2; color: var(--white); max-width: 680px; margin: 0 auto; }
.discover-inner h2 { font-family: var(--font-h); font-size: clamp(1.8rem, 3.5vw, 2.8rem); margin-bottom: 14px; }
.discover-inner p { font-size: 15px; color: rgba(255,255,255,0.78); margin-bottom: 30px; }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-section { padding: 70px var(--pad); background: var(--white); text-align: center; }
.gallery-section h2 { font-family: var(--font-h); font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin-bottom: 32px; color: var(--black); }
.gallery-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.gallery-item { display: block; overflow: hidden; border-radius: 4px; aspect-ratio: 1; background: #ddd; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.07); }

/* ============================================================
   SPOTLIGHT
   ============================================================ */
.spotlight-section { padding: 80px var(--pad); background: var(--gray-light); }
.spotlight-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.spotlight-text h2 { font-family: var(--font-h); font-size: clamp(1.5rem, 2.5vw, 2.1rem); color: var(--black); margin-bottom: 16px; }
.spotlight-text p { color: #555; font-size: 15px; margin-bottom: 26px; }
.spotlight-image img { width: 100%; border-radius: 6px; box-shadow: 0 8px 36px rgba(0,0,0,0.12); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--footer-bg); color: rgba(255,255,255,0.8); }

.footer-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 60px var(--pad) 40px;
  display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 48px;
}

.footer-brand img { height: 100px; margin-bottom: 14px; }
.footer-brand p { font-size: 14px; font-style: italic; color: rgba(255,255,255,0.65); }

.footer-links h4,
.footer-contact h4 {
  font-size: 15px; font-weight: 700;
  color: var(--white); margin-bottom: 18px;
}

.footer-links ul li { margin-bottom: 9px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.7); transition: color var(--trans); }
.footer-links a:hover { color: var(--cyan); }

.footer-contact-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; margin-bottom: 12px;
  color: rgba(255,255,255,0.7); line-height: 1.5;
}
.footer-contact-list .top-icon { width: 14px; height: 14px; fill: var(--cyan); margin-top: 3px; flex-shrink: 0; }
.footer-contact-list a { color: rgba(255,255,255,0.7); transition: color var(--trans); }
.footer-contact-list a:hover { color: var(--cyan); }

/* Circular social icon buttons in footer */
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social .social-link {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.8);
  display: flex; align-items: center; justify-content: center;
  transition: border-color var(--trans), color var(--trans), background var(--trans);
}
.footer-social .social-link svg { width: 15px; height: 15px; fill: currentColor; }
.footer-social .social-link:hover { border-color: var(--cyan); color: var(--cyan); background: rgba(3,175,235,0.08); }

.footer-bottom {
  background: var(--dark);
  text-align: center; padding: 18px var(--pad);
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em;
  color: rgba(255,255,255,0.55); text-transform: uppercase;
}
.footer-bottom a { color: rgba(255,255,255,0.55); transition: color var(--trans); }
.footer-bottom a:hover { color: var(--cyan); }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.93);
  z-index: 3000;
  align-items: center; justify-content: center;
  padding: 24px;
}
.lightbox.active { display: flex; }

.lightbox img {
  max-width: 88vw; max-height: 85vh;
  border-radius: 3px;
  box-shadow: 0 0 60px rgba(0,0,0,0.6);
  user-select: none;
  object-fit: contain;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.12);
  border: none; color: var(--white);
  font-size: 18px; cursor: pointer;
  border-radius: 50%;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--trans);
  z-index: 1;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255,255,255,0.28); }

.lightbox-close { top: 20px; right: 20px; font-size: 20px; }
.lightbox-prev  { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 20px; top: 50%; transform: translateY(-50%); }

/* Counter badge */
.lightbox-counter {
  position: absolute;
  bottom: 20px; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  pointer-events: none;
}

/* ============================================================
   VIDEO MODAL
   ============================================================ */
.video-modal {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.88);
  z-index: 3000;
  align-items: center; justify-content: center;
  padding: 24px;
}
.video-modal.active { display: flex; }
.video-modal-inner { position: relative; width: min(900px, 92vw); }
.video-modal-close {
  position: absolute; top: -44px; right: 0;
  background: rgba(255,255,255,0.15); border: none; color: var(--white);
  font-size: 18px; cursor: pointer; border-radius: 50%;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--trans);
}
.video-modal-close:hover { background: rgba(255,255,255,0.3); }
.video-modal-frame { position: relative; padding-bottom: 56.25%; height: 0; }
.video-modal-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }

/* ============================================================
   PAGE BANNER  (shared across inner pages)
   ============================================================ */
.page-banner {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-image: url('/images/SODA_Classes_0060-e1648568757256-1.webp');
  background-size: cover;
  background-position: center 25%;
}

.page-banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 20, 0.65);
}

.page-banner-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
  padding: 60px 24px;
}

.page-banner-title {
  font-family: var(--font-h);
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-shadow: 0 3px 16px rgba(0,0,0,0.4);
  margin: 0;
}

/* ============================================================
   ABOUT PAGE — content section
   ============================================================ */
.about-page-section {
  padding: 80px var(--pad);
  background: var(--white);
}

.about-page-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}

/* Bold "About Us" heading matching screenshot */
.about-section-heading {
  font-family: var(--font-h);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--black);
  margin-bottom: 10px;
  line-height: 1.1;
}

/* Subtitle: "School Of Dance Arts est. 1975" */
.about-section-sub {
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 24px;
  letter-spacing: 0.01em;
}

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 10px;
}

.about-page-title {
  font-family: var(--font-h);
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  color: var(--black);
  line-height: 1.2;
  margin-bottom: 28px;
}

.about-page-text p {
  color: #555;
  font-size: 15.5px;
  line-height: 1.8;
  margin-bottom: 18px;
}

.about-pillars {
  margin: 32px 0 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-pillars li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.pillar-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  background: rgba(3, 175, 235, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pillar-icon svg { width: 18px; height: 18px; fill: var(--cyan); }

.about-pillars li > div strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 2px;
}
.about-pillars li > div p {
  font-size: 13.5px;
  color: var(--gray-mid);
  margin: 0;
  line-height: 1.55;
}

.about-page-img-wrap {
  position: relative;
  border-radius: 8px;
  overflow: visible;
}
.about-page-img-wrap img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.14);
  display: block;
}

.about-badge {
  position: absolute;
  bottom: -20px; left: -20px;
  width: 90px; height: 90px;
  background: var(--cyan);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 6px 24px rgba(3,175,235,0.4);
  z-index: 2;
}
.about-badge-year {
  font-family: var(--font-h);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
}
.about-badge-text {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.9;
}

/* ============================================================
   POLICIES PAGE
   ============================================================ */
.policies-section {
  padding: 70px var(--pad) 90px;
  background: var(--white);
}

.policies-inner {
  max-width: 920px;
  margin: 0 auto;
}

.policies-intro {
  text-align: center;
  margin-bottom: 52px;
}

.policies-main-heading {
  font-family: var(--font-h);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--black);
  margin-bottom: 16px;
}

.policies-intro p {
  font-size: 16px;
  color: #555;
  max-width: 640px;
  margin: 0 auto 28px;
  line-height: 1.75;
}
.policies-intro a:not(.btn) { color: var(--cyan); text-decoration: underline; }

/* ── Accordion ─────────────────────────────────────────── */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.accordion-item {
  border: 1px solid #e4e8ed;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: box-shadow var(--trans);
}
.accordion-item:has(.accordion-trigger[aria-expanded="true"]) {
  box-shadow: 0 4px 20px rgba(0,0,0,0.09);
  border-color: rgba(3,175,235,0.3);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  background: var(--white);
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-b);
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
  transition: background var(--trans), color var(--trans);
}
.accordion-trigger:hover { background: #f8fcfe; color: var(--cyan); }
.accordion-trigger[aria-expanded="true"] {
  background: #f0faff;
  color: var(--cyan);
  border-bottom: 1px solid rgba(3,175,235,0.15);
}

.accordion-icon {
  flex-shrink: 0;
  width: 34px; height: 34px;
  background: rgba(3,175,235,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.accordion-icon svg { width: 15px; height: 15px; fill: var(--cyan); }
.accordion-trigger[aria-expanded="true"] .accordion-icon { background: var(--cyan); }
.accordion-trigger[aria-expanded="true"] .accordion-icon svg { fill: var(--white); }

.accordion-chevron {
  margin-left: auto;
  flex-shrink: 0;
  width: 20px; height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--trans);
}
.accordion-chevron svg { width: 14px; height: 14px; fill: var(--gray-mid); }
.accordion-trigger[aria-expanded="true"] .accordion-chevron { transform: rotate(180deg); }
.accordion-trigger[aria-expanded="true"] .accordion-chevron svg { fill: var(--cyan); }

.accordion-body {
  padding: 28px 28px 32px;
  background: var(--white);
  animation: slideDown 0.2s ease;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Policy list */
.policy-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.policy-list li {
  padding: 14px 16px;
  background: var(--gray-light);
  border-radius: 6px;
  font-size: 14.5px;
  color: #444;
  line-height: 1.65;
  border-left: 3px solid var(--cyan);
}
.policy-list li strong { color: var(--black); }
.policy-list a { color: var(--cyan); text-decoration: underline; }

.policy-note {
  font-size: 14px;
  color: #666;
  background: #fffbf0;
  border-left: 3px solid #f0b429;
  padding: 12px 16px;
  border-radius: 0 6px 6px 0;
  margin-bottom: 22px;
  line-height: 1.6;
}

/* Dress code grid */
.dress-code-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 8px;
}

.dress-item {
  background: var(--gray-light);
  border-radius: 8px;
  padding: 16px 18px;
  border-top: 3px solid var(--cyan);
}
.dress-item h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 6px;
}
.dress-item p {
  font-size: 13.5px;
  color: #555;
  line-height: 1.55;
  margin: 0;
}

/* Class levels grid */
.levels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.levels-group {
  background: var(--gray-light);
  border-radius: 8px;
  padding: 16px 18px;
}
.levels-group h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cyan);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid #dde3ea;
}
.levels-group ul { display: flex; flex-direction: column; gap: 5px; }
.levels-group li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 13.5px;
  color: var(--black);
  font-weight: 600;
}
.levels-group li span {
  font-size: 12px;
  color: var(--gray-mid);
  font-weight: 400;
  text-align: right;
  margin-left: 8px;
}

/* Tables */
.table-heading {
  font-family: var(--font-h);
  font-size: 1.2rem;
  color: var(--black);
  margin-bottom: 16px;
}

.table-wrap {
  overflow-x: auto;
  border-radius: 8px;
  border: 1px solid #e4e8ed;
}

.policy-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.policy-table th {
  background: var(--footer-bg);
  color: var(--white);
  padding: 12px 16px;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.policy-table td {
  padding: 11px 16px;
  border-bottom: 1px solid #eee;
  color: #444;
  line-height: 1.5;
}
.policy-table tbody tr:last-child td { border-bottom: none; }
.policy-table tbody tr:hover td { background: #f5fbff; }
.policy-table tr.holiday td { color: #c0392b; }
.policy-table tr.highlight td { background: #f0faff; color: var(--cyan); font-weight: 700; }

.tuition-table { max-width: 480px; }
.tuition-table td:last-child { font-weight: 700; color: var(--cyan); }

/* Tuition policy notes */
.tuition-policy-notes {
  margin-top: 28px;
  padding: 24px;
  background: var(--gray-light);
  border-radius: 8px;
}
.tuition-policy-notes h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 14px;
}

/* Recital cards */
.recital-details {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
  margin: 22px 0;
}

.recital-detail-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--gray-light);
  border-radius: 8px;
  padding: 16px 18px;
}
.recital-icon {
  font-size: 1.6rem;
  line-height: 1;
  flex-shrink: 0;
}
.recital-detail-card strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cyan);
  margin-bottom: 4px;
}
.recital-detail-card p {
  font-size: 13.5px;
  color: #555;
  margin: 0;
  line-height: 1.45;
}

.recital-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.btn-outline-dark {
  background: transparent;
  color: var(--black);
  border: 2px solid #ccc;
}
.btn-outline-dark:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: transparent;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .main-nav a { padding: 8px 9px; font-size: 13px; }
}

@media (max-width: 1024px) {
  .classes-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* Show hamburger, hide nav */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
}

@media (max-width: 860px) {
  .about-inner,
  .spotlight-inner,
  .about-page-inner { grid-template-columns: 1fr; gap: 36px; }
  .spotlight-image { order: -1; }
  .about-page-image { order: -1; margin-bottom: 20px; }
  .about-badge { bottom: -16px; left: -10px; width: 76px; height: 76px; }
  .about-badge-year { font-size: 1.2rem; }
  .about-section-heading { font-size: 2rem; }
  .page-banner { min-height: 240px; }
}

@media (max-width: 600px) {
  .classes-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero { min-height: 440px; max-height: 600px; }
  .top-bar-inner { flex-wrap: wrap; height: auto; padding: 8px 16px; gap: 6px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}

/* ============================================================
   STAFF PAGE — grid + bio drawer
   ============================================================ */
.staff-section {
  padding: 70px var(--pad) 90px;
  background: var(--white);
}
.staff-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.staff-intro {
  text-align: center;
  margin-bottom: 56px;
}
.staff-intro h2 {
  font-family: var(--font-h);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--black);
  margin-bottom: 12px;
}
.staff-intro p {
  font-size: 15.5px;
  color: #666;
  max-width: 520px;
  margin: 0 auto;
}
.staff-intro .photo-credit {
  display: inline-block;
  margin-top: 10px;
  font-size: 12px;
  color: #aaa;
  letter-spacing: 0.06em;
}

/* Section label */
.staff-group-label {
  font-family: var(--font-b);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 48px 0 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.staff-group-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e4e8ed;
}

/* Staff card grid */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 24px;
}
.assistant-grid {
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 18px;
}

/* Individual card */
.staff-card {
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  text-align: center;
  outline: none;
  transition: transform var(--trans);
}
.staff-card:hover { transform: translateY(-4px); }
.staff-card:hover .staff-card-img-wrap::after { opacity: 1; }
.staff-card:focus-visible .staff-card-img-wrap {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 12px;
}

.staff-card-img-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--gray-bg);
}
.staff-card-img-wrap::after {
  content: 'View Bio';
  position: absolute;
  inset: 0;
  background: rgba(3,175,235,0.82);
  color: var(--white);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--trans);
  border-radius: 12px;
}
.staff-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-radius: 12px;
  transition: transform 0.4s ease;
}
.staff-card:hover img { transform: scale(1.04); }

.staff-card-name {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--black);
  line-height: 1.3;
}
.staff-card-role {
  font-size: 12px;
  color: var(--cyan);
  font-weight: 600;
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* no-bio tag */
.staff-card.no-bio { cursor: default; }
.staff-card.no-bio:hover { transform: none; }
.staff-card.no-bio .staff-card-img-wrap::after { display: none; }

/* ── Bio Drawer (slide-in panel from right) ─────────────── */
.bio-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 2000;
  animation: fadeIn 0.2s ease;
}
.bio-overlay.open { display: block; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.bio-drawer {
  position: fixed;
  top: 0; right: 0;
  width: min(520px, 100vw);
  height: 100%;
  background: var(--white);
  z-index: 2100;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  box-shadow: -8px 0 40px rgba(0,0,0,0.18);
}
.bio-drawer.open { transform: translateX(0); }

.bio-drawer-head {
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 1;
  padding: 16px 20px;
  display: flex;
  justify-content: flex-end;
  border-bottom: 1px solid #eee;
  flex-shrink: 0;
}
.bio-drawer-close {
  background: var(--gray-bg);
  border: none;
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  color: var(--black);
  transition: background var(--trans), color var(--trans);
}
.bio-drawer-close:hover { background: var(--cyan); color: var(--white); }

.bio-drawer-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top center;
  display: block;
  flex-shrink: 0;
}

.bio-drawer-body {
  padding: 28px 32px 48px;
  flex: 1;
}
.bio-drawer-name {
  font-family: var(--font-h);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 4px;
  line-height: 1.1;
}
.bio-drawer-role {
  font-size: 13px;
  font-weight: 700;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.bio-drawer-text {
  font-size: 15px;
  color: #444;
  line-height: 1.8;
}
.bio-drawer-text p { margin-bottom: 14px; }
.bio-drawer-text p:last-child { margin-bottom: 0; }

.bio-coming-soon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f0faff;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 6px;
  margin-top: 8px;
}

/* Responsive */
@media (max-width: 600px) {
  .staff-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .assistant-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .bio-drawer-body { padding: 22px 20px 40px; }
  .bio-drawer-name { font-size: 1.5rem; }
}
@media (max-width: 380px) {
  .staff-grid, .assistant-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   NEWS PAGE
   ============================================================ */
.news-section {
  padding: 70px var(--pad) 90px;
  background: var(--gray-light);
  min-height: 60vh;
}
.news-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.news-intro {
  text-align: center;
  margin-bottom: 52px;
}
.news-intro h2 {
  font-family: var(--font-h);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--black);
  margin-bottom: 12px;
}
.news-intro p {
  font-size: 15.5px;
  color: #666;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Grid */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

/* Card */
.news-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  transition: transform var(--trans), box-shadow var(--trans);
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.11);
}

.news-card-badge {
  background: var(--cyan);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  display: inline-block;
}
.news-card-badge.badge-alert { background: #e74c3c; }
.news-card-badge.badge-event { background: #8e44ad; }
.news-card-badge.badge-newsletter { background: #2ecc71; color: #fff; }

.news-card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  display: block;
}

.news-card-body {
  padding: 24px 26px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.news-card-meta {
  font-size: 12px;
  color: #aaa;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.news-card-meta svg {
  width: 12px;
  height: 12px;
  fill: #aaa;
  flex-shrink: 0;
}
.news-card-title {
  font-family: var(--font-h);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.3;
  margin-bottom: 10px;
}
.news-card-excerpt {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  flex: 1;
  margin-bottom: 20px;
}
.news-card-excerpt ul {
  padding-left: 18px;
  margin: 10px 0;
}
.news-card-excerpt li { margin-bottom: 4px; }

.news-card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.news-card-actions .btn {
  font-size: 13px;
  padding: 9px 18px;
}

/* "No more news" placeholder */
.news-stay-tuned {
  text-align: center;
  padding: 48px 24px;
  background: var(--white);
  border-radius: 12px;
  color: #888;
  font-size: 15px;
  line-height: 1.7;
  grid-column: 1 / -1;
}
.news-stay-tuned h3 {
  font-family: var(--font-h);
  font-size: 1.4rem;
  color: var(--black);
  margin-bottom: 10px;
}

/* Newsletter CTA strip */
.news-newsletter-strip {
  margin-top: 56px;
  background: var(--footer-bg);
  border-radius: 14px;
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.news-newsletter-copy h3 {
  font-family: var(--font-h);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 6px;
}
.news-newsletter-copy p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  max-width: 420px;
}
.news-newsletter-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

@media (max-width: 700px) {
  .news-grid { grid-template-columns: 1fr; }
  .news-newsletter-strip { padding: 28px 24px; }
  .news-newsletter-strip { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   CLASSES & COMPANY PAGE
   ============================================================ */

/* --- Class grid (main page) --- */
.classes-section {
  padding: 70px var(--pad) 80px;
  background: var(--white);
}
.classes-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.classes-intro {
  max-width: 820px;
  margin: 0 auto 52px;
  text-align: center;
}
.classes-intro h2 {
  font-family: var(--font-h);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--black);
  margin-bottom: 14px;
}
.classes-intro p {
  color: #555;
  font-size: 15.5px;
  line-height: 1.75;
}

.class-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.class-card {
  display: block;
  text-decoration: none;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  transition: transform var(--trans), box-shadow var(--trans);
  background: var(--white);
  color: inherit;
}
.class-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}
.class-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.class-card-body {
  padding: 16px 18px 20px;
  border-top: 3px solid var(--cyan);
}
.class-card-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 5px;
}
.class-card-title {
  font-family: var(--font-h);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 7px;
  line-height: 1.25;
}
.class-card-excerpt {
  font-size: 13.5px;
  color: #666;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --- Company section --- */
.company-section {
  padding: 70px var(--pad) 80px;
  background: var(--gray-light);
}
.company-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.company-intro {
  max-width: 760px;
  margin-bottom: 36px;
}
.company-intro h2 {
  font-family: var(--font-h);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--black);
  margin-bottom: 14px;
}
.company-intro p {
  color: #555;
  font-size: 15.5px;
  line-height: 1.75;
  margin-bottom: 10px;
}
.company-intro .btn { margin-top: 8px; }

.company-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 36px;
}
.company-photo-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1/1;
}
.company-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.company-photo-item:hover img { transform: scale(1.05); }
.company-photo-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.65));
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 28px 12px 10px;
  letter-spacing: .03em;
}

/* --- Spirit Store strip --- */
.spirit-store-strip {
  padding: 60px var(--pad);
  background: var(--white);
  display: flex;
  align-items: center;
  gap: 48px;
  max-width: var(--max-w);
  margin: 0 auto;
  flex-wrap: wrap;
}
.spirit-store-copy h2 {
  font-family: var(--font-h);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 700;
  color: var(--black);
  margin-bottom: 10px;
}
.spirit-store-copy p {
  color: #555;
  font-size: 15px;
  line-height: 1.7;
  max-width: 520px;
}
.spirit-store-copy p + p { margin-top: 6px; }
.spirit-store-copy .btn { margin-top: 18px; }
.spirit-store-img {
  width: 340px;
  max-width: 100%;
  border-radius: 10px;
  flex-shrink: 0;
}

/* ============================================================
   CLASS INNER PAGES
   ============================================================ */
.class-detail {
  padding: 64px var(--pad) 80px;
  background: var(--white);
}
.class-detail-inner {
  max-width: 860px;
  margin: 0 auto;
}

/* breadcrumb */
.breadcrumb {
  font-size: 13px;
  color: #999;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--cyan); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { color: #ccc; }

.class-detail h1 {
  font-family: var(--font-h);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--black);
  margin-bottom: 6px;
}
.class-detail-age {
  display: inline-block;
  background: var(--cyan);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 24px;
}
.class-detail-hero {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 32px;
  display: block;
}
.class-detail-body {
  font-size: 15.5px;
  line-height: 1.8;
  color: #444;
}
.class-detail-body p { margin-bottom: 16px; }
.class-detail-body strong { color: var(--black); }
.class-detail-body em { font-style: italic; color: #666; }

.class-detail-note {
  background: var(--gray-light);
  border-left: 4px solid var(--cyan);
  padding: 14px 18px;
  border-radius: 0 6px 6px 0;
  font-size: 14px;
  color: #555;
  margin: 24px 0;
  line-height: 1.7;
}

.class-detail-actions {
  margin-top: 36px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* back link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--cyan);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 32px;
}
.back-link:hover { text-decoration: underline; }
.back-link svg { width: 14px; height: 14px; fill: var(--cyan); }

@media (max-width: 700px) {
  .class-grid { grid-template-columns: repeat(2, 1fr); }
  .spirit-store-strip { flex-direction: column; }
  .spirit-store-img { width: 100%; }
}
@media (max-width: 420px) {
  .class-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   CONTACT US & APPLY PAGE
   ============================================================ */

.contact-section {
  padding: 70px var(--pad) 90px;
  background: var(--gray-light);
}
.contact-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 56px;
  align-items: start;
}

/* ── Left column: form ── */
.contact-form-col h2 {
  font-family: var(--font-h);
  font-size: clamp(1.7rem, 2.8vw, 2.2rem);
  font-weight: 700;
  color: var(--black);
  margin-bottom: 6px;
}
.contact-form-col .contact-subhead {
  font-size: 15px;
  color: #777;
  margin-bottom: 30px;
}

/* Form layout */
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.contact-form .full-width { grid-column: 1 / -1; }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 13px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: .02em;
}
.form-group label .req {
  color: var(--cyan);
  margin-left: 2px;
}
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-b);
  font-size: 14.5px;
  color: var(--black);
  background: var(--white);
  border: 1.5px solid #ddd;
  border-radius: 6px;
  padding: 10px 14px;
  transition: border-color var(--trans), box-shadow var(--trans);
  outline: none;
  width: 100%;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(3,175,235,0.12);
}
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #e74c3c;
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
/* Custom select arrow */
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

/* Conditional class select — hidden by default */
.class-select-group { display: none; }
.class-select-group.visible { display: flex; }

.form-error-msg {
  font-size: 12px;
  color: #e74c3c;
  margin-top: 2px;
  display: none;
}
.form-error-msg.visible { display: block; }

.form-submit-row {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.form-status {
  font-size: 14px;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 6px;
  display: none;
}
.form-status.success {
  display: block;
  background: #e8f8f0;
  color: #27ae60;
  border: 1px solid #a3e4c0;
}
.form-status.error {
  display: block;
  background: #fdecea;
  color: #c0392b;
  border: 1px solid #f5b7b1;
}

/* ── Right column: info ── */
.contact-info-col h2 {
  font-family: var(--font-h);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 700;
  color: var(--black);
  margin-bottom: 6px;
}
.contact-info-col .contact-tagline {
  font-size: 14.5px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 28px;
}

.contact-info-card {
  background: var(--white);
  border-radius: 10px;
  padding: 28px 26px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  margin-bottom: 20px;
}
.contact-info-card h3 {
  font-family: var(--font-h);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--cyan);
  display: inline-block;
}

.contact-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: #444;
  line-height: 1.55;
}
.contact-info-list li svg {
  width: 16px;
  height: 16px;
  fill: var(--cyan);
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-info-list a {
  color: var(--black);
  text-decoration: none;
}
.contact-info-list a:hover { color: var(--cyan); text-decoration: underline; }

.hours-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--cyan);
  display: block;
  margin-bottom: 4px;
}

.contact-social-row {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.contact-social-row .social-link {
  width: 36px;
  height: 36px;
  background: var(--footer-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-social-row .social-link svg {
  width: 15px;
  height: 15px;
  fill: #fff;
}
.contact-social-row .social-link:hover { background: var(--cyan); }

/* ── Map embed ── */
.contact-map {
  border-radius: 10px;
  overflow: hidden;
  margin-top: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.contact-map iframe {
  display: block;
  width: 100%;
  height: 220px;
  border: none;
}

/* ── Hiring section ── */
.hiring-section {
  padding: 64px var(--pad) 72px;
  background: var(--white);
}
.hiring-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 56px;
  flex-wrap: wrap;
}
.hiring-copy { flex: 1; min-width: 280px; }
.hiring-copy h2 {
  font-family: var(--font-h);
  font-size: clamp(1.7rem, 2.8vw, 2.2rem);
  font-weight: 700;
  color: var(--black);
  margin-bottom: 14px;
}
.hiring-copy p {
  font-size: 15.5px;
  color: #555;
  line-height: 1.75;
  margin-bottom: 10px;
}
.hiring-copy .btn { margin-top: 10px; }
.hiring-img {
  width: 280px;
  max-width: 100%;
  flex-shrink: 0;
  border-radius: 10px;
}

/* ── Spirit Store strip (contact page version) ── */
.contact-store-section {
  background: var(--gray-light);
  padding: 60px var(--pad);
}
.contact-store-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.contact-store-copy { flex: 1; min-width: 280px; }
.contact-store-copy h2 {
  font-family: var(--font-h);
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  font-weight: 700;
  color: var(--black);
  margin-bottom: 12px;
}
.contact-store-copy p { font-size: 15px; color: #555; line-height: 1.7; margin-bottom: 8px; }
.contact-store-img { width: 340px; max-width: 100%; border-radius: 10px; flex-shrink: 0; }

/* Responsive */
@media (max-width: 960px) {
  .contact-inner { grid-template-columns: 1fr; }
  .contact-info-col { order: -1; }
}
@media (max-width: 640px) {
  .contact-form { grid-template-columns: 1fr; }
  .contact-form .full-width { grid-column: 1; }
  .hiring-inner { flex-direction: column; }
  .hiring-img { width: 100%; }
  .contact-store-inner { flex-direction: column; }
  .contact-store-img { width: 100%; }
}


.news-card[data-lightbox] .news-card-actions a,
.news-card[data-lightbox] .news-card-actions button {
    position: relative;
    z-index: 2;
}


/* Contact form success state */
.contact-success-msg {
    text-align: center;
    padding: 56px 32px;
    background: var(--white);
    border-radius: 12px;
    border: 2px solid #a3e4c0;
    animation: fadeUp 0.4s ease both;
}

.contact-success-icon {
    width: 64px;
    height: 64px;
    background: #27ae60;
    color: #fff;
    font-size: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-success-msg h3 {
    font-family: var(--font-h);
    font-size: 1.8rem;
    color: var(--black);
    margin-bottom: 10px;
}

.contact-success-msg p {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
}

.cf-turnstile {
    margin-top: 4px;
}