:root {
  --navy: #1b3a5c;
  --cream: #f7f1e6;
  --gold: #c4a265;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--cream);
  color: var(--navy);
}

::selection {
  background: #c4a265;
  color: #1b3a5c;
}

.rainbow-bar {
  height: 3px;
  background: linear-gradient(
    90deg,
    #7b5ea7,
    #4a90c8,
    #3cbfae,
    #7bc67e,
    #e8c547,
    #e07a3d,
    #e07a9a
  );
}

.rainbow-text {
  background: linear-gradient(
    90deg,
    #7b5ea7,
    #4a90c8,
    #3cbfae,
    #c4a265,
    #e07a9a
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.staff-bg {
  background-image: repeating-linear-gradient(
    to bottom,
    transparent,
    transparent 11px,
    rgba(27, 58, 92, 0.05) 11px,
    rgba(27, 58, 92, 0.05) 12px
  );
}

video.hero-video {
  object-fit: cover;
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: #c4a265;
  transition: width 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: #c4a265;
}

details.level > summary {
  list-style: none;
}

details.level > summary::-webkit-details-marker {
  display: none;
}

details.level > summary::after {
  content: "+";
  font-family: Poppins, sans-serif;
  font-weight: 300;
  font-size: 1.5rem;
  color: #c4a265;
  transition: transform 0.2s ease;
}

details.level[open] > summary::after {
  content: "–";
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  animation: rise 0.8s ease forwards;
}

.reveal-d1 { animation-delay: 0.1s; }
.reveal-d2 { animation-delay: 0.2s; }
.reveal-d3 { animation-delay: 0.3s; }
.reveal-d4 { animation-delay: 0.4s; }

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

.js-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js-reveal.in {
  opacity: 1;
  transform: none;
}

/* Elementor rerenders widgets after the page-level reveal observer has run. */
body.elementor-editor-active .js-reveal,
body.elementor-editor-preview .js-reveal {
  opacity: 1;
  transform: none;
}

.card-hover {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(27, 58, 92, 0.12);
}

#mobile-menu {
  z-index: 70;
  transform: translateX(100%);
  transition: transform 0.35s ease;
}

#mobile-menu.open {
  transform: translateX(0);
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #1b3a5c;
  margin: 5px 0;
  transition: 0.25s ease;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(18, 38, 61, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 88vh;
  object-fit: contain;
  border-radius: 12px;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(196, 162, 101, 0.35);
  border-color: #c4a265;
}

.i {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  display: block;
  overflow: visible;
}

.row-i {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.row-i .i {
  margin-top: 2px;
  color: #c4a265;
}

.soc {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(247, 241, 230, 0.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f7f1e6;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.soc:hover {
  border-color: #c4a265;
  color: #c4a265;
  background: rgba(196, 162, 101, 0.08);
}

.soc .i {
  width: 14px;
  height: 14px;
  margin: 0;
  color: inherit;
}

.btn-i {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-i .i {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
}

.sprites {
  position: absolute;
  left: -9999px;
  width: 24px;
  height: 24px;
  overflow: hidden;
}

.wa-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 16px 0 12px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s ease, background 0.2s ease;
}

.wa-fab:hover {
  background: #1ebe57;
  transform: translateY(-2px);
}

.wa-fab svg {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}

.filter-btn:hover {
  border-color: #1b3a5c;
}

.filter-btn.active {
  background: #1b3a5c;
  color: #f7f1e6;
}

.hero-slider {
  position: relative;
  height: min(85vh, 820px);
  min-height: 480px;
  background: #1b3a5c;
  overflow: hidden;
}

.hero-slider .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease, visibility 0.9s ease;
}

.hero-slider .slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-slider .slide img,
.hero-slider .slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slider .slide-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 38, 61, 0.82) 0%, rgba(18, 38, 61, 0.45) 55%, rgba(18, 38, 61, 0.25) 100%);
}

.hero-slider .slide-copy {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
}

.slider-btn {
  position: absolute;
  top: 50%;
  z-index: 5;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(247, 241, 230, 0.35);
  background: rgba(18, 38, 61, 0.35);
  color: #f7f1e6;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.slider-btn:hover {
  background: rgba(18, 38, 61, 0.7);
}

.slider-prev { left: 16px; }
.slider-next { right: 16px; }

.slider-dots {
  position: absolute;
  bottom: 22px;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.slider-dots button {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(247, 241, 230, 0.4);
  border: 0;
  cursor: pointer;
}

.slider-dots button.active {
  background: #c4a265;
  width: 26px;
}

@media (max-width: 640px) {
  .hero-slider {
    min-height: 520px;
    height: 78vh;
  }
  .slider-btn {
    width: 38px;
    height: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .js-reveal,
  html,
  .hero-slider .slide {
    animation: none;
    transition: none;
    opacity: 1;
    transform: none;
    scroll-behavior: auto;
  }
}

body.font-sans, body { font-family: Poppins, sans-serif; background: #F7F1E6; color: #1B3A5C; }
.elementor-widget-container { padding: 0 !important; }
.e-con.e-parent { --padding-top:0px; --padding-right:0px; --padding-bottom:0px; --padding-left:0px; --gap:0px; }
#content, .site { margin:0; padding:0; max-width:none; }
.elementor-location-header,
.elementor-location-header .elementor-widget,
.elementor-location-header .elementor-widget-container { overflow: visible !important; }
.elementor-location-header { position: sticky; top: 0; z-index: 50; }
.elementor-widget-sc-locked-header #site-header img {
  width: auto !important;
  height: 70px !important;
  max-width: none;
}

@media (min-width: 768px) {
  .elementor-widget-sc-locked-header #site-header img { height: 86px !important; }
}

/* Elementor frontend CSS forces `.elementor img{height:auto}`, which overrides the
   Tailwind height utilities used inside widgets. Enforce the static design heights. */
.elementor-widget-sc-course-directory .course-block > img { height: 224px !important; }
.elementor-widget-sc-locked-learning-modes article > img { height: 224px !important; }
.elementor-widget-sc-locked-gallery .gallery-item > img { height: 176px !important; }
.elementor-widget-sc-cards .h-48 > img { height: 100% !important; }
.elementor-widget-sc-locked-story-split .sc-story-vision-img { height: 100% !important; }
.elementor-widget-sc-locked-story-split .sc-story-img { height: 420px !important; }
.elementor-widget-sc-locked-page-hero section > img,
.elementor-widget-sc-home-performance-banner section > img,
.elementor-widget-sc-split a > img { height: 100% !important; }

@media (min-width: 640px) {
  .elementor-widget-sc-locked-gallery .gallery-item > img { height: 224px !important; }
}

@media (min-width: 768px) {
  .elementor-widget-sc-locked-gallery .gallery-item > img { height: 256px !important; }
}

.elementor-widget-sc-locked-footer .sc-copyright a { color: inherit; text-decoration: none; }
.elementor-widget-sc-locked-footer .sc-copyright a:hover { color: #C4A265; }

.sc-menu-parent { position: relative; }
.sc-menu-parent::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 10px; }
.sc-submenu {
  position: absolute;
  top: calc(100% + 10px);
  left: -16px;
  z-index: 60;
  min-width: 210px;
  padding: 10px;
  border: 1px solid rgba(27, 58, 92, 0.1);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(18, 38, 61, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.sc-menu-parent:hover .sc-submenu,
.sc-menu-parent:focus-within .sc-submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.sc-submenu a { display: block; padding: 9px 10px; border-radius: 8px; white-space: nowrap; }
.sc-submenu a:hover { background: #F7F1E6; color: #C4A265; }
.sc-mobile-submenu { display: flex; flex-direction: column; gap: 0.75rem; margin: -0.65rem 0 0.3rem 1rem; padding-left: 1rem; border-left: 1px solid rgba(247, 241, 230, 0.3); font-size: 0.9rem; color: rgba(247, 241, 230, 0.75); }

.sc-cf7 label,
.wpcf7-form label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(27, 58, 92, 0.6);
  margin-bottom: 0.25rem;
}
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
  margin-top: 0.25rem;
  background: #fff;
  border: 1px solid rgba(27, 58, 92, 0.15);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-family: Poppins, sans-serif;
  color: #1b3a5c;
}
.wpcf7-form input.wpcf7-submit,
.sc-cf7-submit {
  display: inline-flex;
  margin-top: 0.5rem;
  padding: 0.75rem 1.75rem;
  border: 0;
  border-radius: 999px;
  background: #1b3a5c;
  color: #f7f1e6;
  font-family: Poppins, sans-serif;
  font-size: 14px;
  cursor: pointer;
}
.wpcf7-form input.wpcf7-submit:hover {
  background: #12263d;
}
.wpcf7-not-valid-tip { font-size: 12px; color: #b45309; }
.wpcf7-response-output { margin-top: 1rem; font-size: 14px; }

/* Shared presentation for the editable Sound Crave Elementor widgets. */
.sc-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 5.5rem 1.5rem;
}

.sc-el h2,
.sc-wrap h2 {
  margin: 0.45rem 0 1rem;
  color: var(--navy);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.28;
}

.sc-el h3,
.sc-wrap h3 {
  color: var(--navy);
  font-family: "Libre Baskerville", Georgia, serif;
}

.sc-el p,
.sc-wrap p {
  line-height: 1.8;
}

.sc-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--navy);
  color: var(--cream);
}

.sc-stats > div {
  padding: 2.4rem 1.25rem;
  text-align: center;
  border-right: 1px solid rgba(247, 241, 230, 0.14);
}

.sc-stats > div:last-child { border-right: 0; }
.sc-stats strong { display: block; color: var(--gold); font-family: "Libre Baskerville", Georgia, serif; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.sc-stats span { display: block; margin-top: 0.25rem; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; }

.sc-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2.25rem;
}

.sc-card {
  overflow: hidden;
  border-radius: 1rem;
  background: #fff;
  color: var(--navy);
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(27, 58, 92, 0.09);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sc-card:hover { color: var(--navy); transform: translateY(-5px); box-shadow: 0 20px 36px rgba(27, 58, 92, 0.16); }
.sc-card img { width: 100%; height: 210px; object-fit: cover; }
.sc-card > div { padding: 1.35rem 1.25rem 1.5rem; }
.sc-card h3 { margin: 0 0 0.5rem; font-size: 1.1rem; }
.sc-card p { margin: 0; color: rgba(27, 58, 92, 0.72); font-size: 0.84rem; }

.sc-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.sc-split > a {
  position: relative;
  min-height: 410px;
  overflow: hidden;
  border-radius: 1.25rem;
  color: var(--cream);
}

.sc-split > a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(18, 38, 61, 0.9), rgba(18, 38, 61, 0.12)); }
.sc-split > a > img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.sc-split-copy { position: absolute; z-index: 1; right: 2rem; bottom: 2rem; left: 2rem; }
.sc-split-copy h3 { margin: 0.45rem 0; color: var(--cream); font-size: 1.75rem; }
.sc-split-copy p:last-child { margin: 0; color: rgba(247, 241, 230, 0.86); }

.sc-page-hero { position: relative; min-height: 370px; display: grid; place-items: center; overflow: hidden; }
.sc-page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sc-page-hero-shade { position: absolute; inset: 0; background: rgba(18, 38, 61, 0.7); }
.sc-page-hero-copy { position: relative; z-index: 1; max-width: 1280px; width: 100%; padding: 4rem 1.5rem; text-align: center; color: var(--cream); }
.sc-page-hero-copy p { margin: 0 0 0.75rem; color: var(--gold); font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; }
.sc-page-hero-copy h1 { margin: 0; font-family: "Libre Baskerville", Georgia, serif; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.2; }

.sc-levels { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.75rem; margin-top: 2rem; }
.sc-level { padding: 1.5rem 1rem; border: 1px solid rgba(27, 58, 92, 0.12); background: rgba(255, 255, 255, 0.64); border-radius: 0.85rem; }
.sc-level strong { display: block; color: var(--gold); font-family: "Libre Baskerville", Georgia, serif; font-size: 1.4rem; }
.sc-level h3 { margin: 0.35rem 0; font-size: 1rem; }
.sc-level p { margin: 0; color: rgba(27, 58, 92, 0.7); font-size: 0.78rem; }
.sc-level-last { background: var(--navy); border-color: var(--navy); }
.sc-level-last h3 { color: var(--cream); }
.sc-level-last p { color: rgba(247, 241, 230, 0.75); }

.sc-course { display: grid; grid-template-columns: minmax(220px, 30%) 1fr; gap: 2.5rem; margin: 2.5rem 0; padding: 2rem; background: #fff; border-radius: 1.25rem; box-shadow: 0 10px 30px rgba(27, 58, 92, 0.08); }
.sc-course-img { width: 100%; height: 270px; border-radius: 0.9rem; object-fit: cover; }
.sc-course-body > p { color: rgba(27, 58, 92, 0.74); }
.sc-course details { margin-top: 0.7rem; padding: 1rem 1.1rem; border: 1px solid rgba(27, 58, 92, 0.12); border-radius: 0.65rem; }
.sc-course summary { display: flex; justify-content: space-between; color: var(--navy); cursor: pointer; font-weight: 600; }
.sc-course li { margin: 0.3rem 0; color: rgba(27, 58, 92, 0.76); }

.sc-gallery { columns: 3 260px; column-gap: 1rem; }
.sc-gallery figure { margin: 0 0 1rem; overflow: hidden; border-radius: 0.85rem; break-inside: avoid; }
.sc-gallery img { width: 100%; display: block; cursor: zoom-in; transition: transform 0.25s ease; }
.sc-gallery img:hover { transform: scale(1.04); }

@media (max-width: 1024px) {
  .sc-cards { grid-template-columns: repeat(2, 1fr); }
  .sc-levels { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  .sc-wrap { padding: 3.75rem 1.25rem; }
  .sc-stats { grid-template-columns: repeat(2, 1fr); }
  .sc-stats > div:nth-child(2) { border-right: 0; }
  .sc-stats > div:nth-child(-n + 2) { border-bottom: 1px solid rgba(247, 241, 230, 0.14); }
  .sc-cards, .sc-split, .sc-levels { grid-template-columns: 1fr; }
  .sc-split > a { min-height: 340px; }
  .sc-course { grid-template-columns: 1fr; gap: 1.5rem; padding: 1.25rem; }
  .sc-course-img { height: 220px; }
  .sc-page-hero { min-height: 300px; }
}
