/* Bright Learning Academy — site styles
   Implemented from the Claude Design prototype "Bright Learning Academy.dc.html" */

:root {
  --cream: #FDF8F0;
  --navy: #0A2A5E;
  --navy-deep: #071D42;
  --teal: #17A2B8;
  --amber: #F6A21A;
  --amber-dark: #C87F0A;
  --white: #fff;
  --line: rgba(10, 42, 94, 0.1);
  --shell: 1240px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: "Source Sans 3", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--teal); }

input, select, textarea, button { font-family: inherit; }
::selection { background: var(--amber); color: var(--navy-deep); }

img { max-width: 100%; }

.shell { max-width: var(--shell); margin: 0 auto; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 20px;
  background: var(--navy);
  color: var(--cream);
  border-radius: 0 0 12px 0;
}
.skip-link:focus { left: 0; color: var(--cream); }

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}

/* ---------- Animations ---------- */
@keyframes blaSpin { to { transform: rotate(360deg); } }
@keyframes blaMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes blaFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Reveal-on-scroll (progressive enhancement — visible if JS is off) */
.js [data-reveal] { opacity: 0; transform: translateY(26px); }
.js [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
  transition: opacity 0.85s ease, transform 0.85s var(--ease);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
  .hero__rays { animation: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}

h1, h2, h3 { font-family: Sora, sans-serif; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 248, 240, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.site-header__bar {
  max-width: var(--shell);
  margin: 0 auto;
  padding: clamp(16px, 2vw, 26px) clamp(18px, 3vw, 28px);
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand { display: flex; align-items: center; flex: 0 1 auto; min-width: 0; }
.brand img {
  height: clamp(58px, 12vw, 132px);
  max-width: 100%;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  justify-content: flex-end;
}
.nav a {
  padding: 14px 20px;
  border-radius: 999px;
  font-size: clamp(17px, 1.55vw, 22px);
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav a:hover,
.nav a[aria-current="page"] { background: rgba(23, 162, 184, 0.12); color: var(--navy); }

.nav a.nav__cta,
.nav a.nav__cta[aria-current="page"] {
  margin-left: 10px;
  padding: 15px 28px;
  background: var(--navy);
  color: var(--cream);
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(10, 42, 94, 0.22);
}
.nav a.nav__cta:hover { background: var(--amber); color: var(--navy-deep); }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  border: 1.5px solid rgba(10, 42, 94, 0.18);
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--navy);
  display: block;
}

.nav-mobile {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--cream);
  padding: 12px 24px 20px;
  gap: 4px;
  animation: blaFade 0.25s ease both;
}
.nav-mobile.is-open { display: grid; }
.nav-mobile a {
  padding: 17px 10px;
  font-size: 21px;
  font-weight: 500;
  border-radius: 12px;
}
.nav-mobile a:hover { background: rgba(23, 162, 184, 0.12); }
.nav-mobile a.nav__cta {
  margin-top: 8px;
  padding: 18px 10px;
  text-align: center;
  border-radius: 999px;
  background: var(--navy);
  color: var(--cream);
  font-size: 20px;
  font-weight: 600;
}
.nav-mobile a.nav__cta:hover { background: var(--amber); color: var(--navy-deep); }

@media (max-width: 839.98px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  font-weight: 700;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn--amber {
  padding: 16px 30px;
  background: var(--amber);
  color: var(--navy-deep);
  font-size: 16.5px;
  box-shadow: 0 10px 26px rgba(246, 162, 26, 0.35);
}
.btn--amber:hover { background: var(--navy); color: var(--cream); }

.btn--outline {
  padding: 16px 30px;
  border: 1.5px solid rgba(10, 42, 94, 0.22);
  font-weight: 600;
  font-size: 16.5px;
}
.btn--outline:hover { background: var(--navy); color: var(--cream); border-color: var(--navy); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(20px, 3vw, 44px) clamp(18px, 3vw, 24px) 72px;
}
.hero__rays {
  position: absolute;
  top: -420px;
  left: 50%;
  width: 1100px;
  height: 1100px;
  margin-left: -550px;
  background: conic-gradient(from 0deg,
    rgba(246, 162, 26, 0.30) 0deg 4deg, transparent 4deg 22deg,
    rgba(246, 162, 26, 0.22) 22deg 26deg, transparent 26deg 45deg,
    rgba(23, 162, 184, 0.16) 45deg 49deg, transparent 49deg 70deg);
  border-radius: 50%;
  -webkit-mask-image: radial-gradient(circle, rgba(0, 0, 0, 0.9) 20%, transparent 62%);
  mask-image: radial-gradient(circle, rgba(0, 0, 0, 0.9) 20%, transparent 62%);
  animation: blaSpin 120s linear infinite;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  max-width: var(--shell);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}
.hero h1 {
  font-size: clamp(44px, 7.2vw, 74px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 600;
  margin: 0;
  text-wrap: balance;
}
.hero h1 span { color: var(--teal); }
.hero__lede {
  font-size: 20px;
  line-height: 1.55;
  color: rgba(10, 42, 94, 0.78);
  max-width: 30em;
  margin: 22px 0 0;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__stats { display: flex; gap: 40px; margin-top: 46px; flex-wrap: wrap; }
.stat__value {
  font-family: Sora, sans-serif;
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.stat__label { font-size: 14.5px; color: rgba(10, 42, 94, 0.6); }

.hero__figure { position: relative; }
.hero__frame {
  position: relative;
  border-radius: 28px 28px 140px 28px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(10, 42, 94, 0.14);
}
.hero__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  display: block;
}

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; background: var(--navy); padding: 20px 0; }
.marquee__track {
  display: flex;
  width: max-content;
  animation: blaMarquee 26s linear infinite;
}
.marquee__group {
  display: flex;
  gap: 40px;
  padding-right: 40px;
  align-items: center;
}
.marquee__word {
  font-family: Sora, sans-serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--cream);
  letter-spacing: 0.14em;
}
.marquee__word--teal { color: var(--teal); }
.marquee__dot { color: var(--amber); font-size: 20px; }

/* ---------- Sections ---------- */
.section { padding: 96px 24px; }
.section--tight { padding: 20px 24px 96px; }
.section--flush { padding: 0 24px 96px; }
.section--page-head { padding: 84px 24px 56px; }
.section--pad90 { padding: 20px 24px 90px; }
.section--flush90 { padding: 0 24px 90px; }

.section-head { max-width: 22em; }
.section-head h2 {
  font-size: clamp(27px, 3.4vw, 38px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 600;
  margin: 0;
}
.section-head .eyebrow { margin-top: 14px; text-transform: none; }

/* ---------- Subject cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 26px;
  margin-top: 48px;
}
.subject-card {
  background: var(--white);
  border-radius: 26px;
  padding: 38px;
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.subject-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(10, 42, 94, 0.14);
}
.subject-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Sora, sans-serif;
  font-weight: 600;
}
.subject-card__icon--teal { background: rgba(23, 162, 184, 0.14); color: var(--teal); font-size: 22px; }
.subject-card__icon--amber { background: rgba(246, 162, 26, 0.18); color: var(--amber-dark); font-size: 20px; }
.subject-card h3 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 22px 0 10px;
}
.subject-card p {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(10, 42, 94, 0.75);
  margin: 0;
}
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.pill {
  font-size: 14px;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--cream);
  border: 1px solid var(--line);
}
.pill--lg {
  font-size: 15px;
  padding: 9px 16px;
  border-color: rgba(10, 42, 94, 0.12);
}

/* ---------- Why panel ---------- */
.why {
  max-width: var(--shell);
  margin: 0 auto;
  background: var(--navy-deep);
  border-radius: 34px;
  padding: clamp(36px, 5vw, 62px) clamp(24px, 4vw, 54px);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.why__glow {
  position: absolute;
  right: -140px;
  top: -140px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 162, 26, 0.24), transparent 65%);
}
.why__inner {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(36px, 4vw, 56px);
}
.why__eyebrow { color: var(--amber); }
.why h2 {
  font-size: clamp(32px, 4.2vw, 44px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 600;
  margin: 14px 0 18px;
}
.why__lede { font-size: 17px; line-height: 1.6; color: rgba(253, 248, 240, 0.72); margin: 0; }
.why__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: rgba(253, 248, 240, 0.14);
  border-radius: 20px;
  overflow: hidden;
}
.why__cell { background: var(--navy-deep); padding: 28px; }
.why__cell h3 { font-size: 19px; font-weight: 600; margin: 0 0 8px; }
.why__cell p { font-size: 15.5px; line-height: 1.55; color: rgba(253, 248, 240, 0.7); margin: 0; }
@media (max-width: 559.98px) {
  .why__grid { grid-template-columns: 1fr; }
}

/* ---------- Testimonials ---------- */
.testimonials__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.testimonials__head h2 {
  font-size: clamp(32px, 4.2vw, 46px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 600;
  margin: 0;
  max-width: 18em;
}
.carousel { margin-top: 40px; position: relative; }
.carousel__viewport { overflow: hidden; padding: 8px 0 14px; margin: 0 -8px; }
.carousel__track {
  display: flex;
  gap: 3%;
  padding: 0 8px;
  transition: transform 0.65s var(--ease);
}
.carousel__track.is-instant { transition: none; }

.quote {
  flex: 0 0 62%;
  border-radius: 26px;
  padding: clamp(30px, 3.4vw, 52px);
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-height: 280px;
  cursor: pointer;
  border: 0;
  text-align: left;
  font: inherit;
  opacity: 0.5;
  transform: scale(0.93);
  transition: opacity 0.55s ease, transform 0.55s var(--ease);
}
.quote > * { filter: blur(3px); transition: filter 0.55s ease; }
.quote.is-active { opacity: 1; transform: scale(1); }
.quote.is-active > * { filter: none; }
@media (max-width: 839.98px) {
  .quote { flex: 0 0 84%; }
}

.quote--teal { background: var(--teal); color: #fff; }
.quote--navy { background: var(--navy); color: var(--cream); }
.quote--amber { background: var(--amber); color: var(--navy-deep); }

.quote p {
  font-size: clamp(19px, 2.1vw, 27px);
  line-height: 1.42;
  letter-spacing: -0.02em;
  margin: 0;
  font-family: Sora, sans-serif;
  font-weight: 500;
}
.quote__by { margin-top: auto; font-size: 16px; }
.quote--teal .quote__by { opacity: 0.85; }
.quote--navy .quote__by { opacity: 0.75; }
.quote--amber .quote__by { color: rgba(7, 29, 66, 0.7); }

.carousel__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.dots { display: flex; gap: 6px; }
.dot {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dot i {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(10, 42, 94, 0.25);
  transition: width 0.3s var(--ease), background 0.3s ease;
}
.dot.is-active i { width: 30px; height: 8px; background: var(--navy); }

.arrows { display: flex; gap: 10px; }
.arrow {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid rgba(10, 42, 94, 0.22);
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.arrow:hover { background: var(--navy); color: var(--cream); border-color: var(--navy); }

/* ---------- SmartQuest ---------- */
.partner {
  max-width: var(--shell);
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: clamp(28px, 4vw, 48px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(32px, 4vw, 52px);
  align-items: center;
}
.partner img { width: 100%; max-width: 340px; height: auto; display: block; }
.partner h2 {
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 600;
  margin: 0 0 12px;
}
.partner p { font-size: 17px; line-height: 1.6; color: rgba(10, 42, 94, 0.75); margin: 0 0 22px; }
.pill-row--lg { gap: 10px; margin-top: 0; }

/* ---------- Page heads ---------- */
.page-head h1 {
  font-size: clamp(40px, 6vw, 62px);
  line-height: 1.03;
  letter-spacing: -0.035em;
  font-weight: 600;
  margin: 16px 0 0;
  max-width: 20em;
}
.page-head--about h1 { font-size: clamp(33px, 4.6vw, 50px); line-height: 1.05; max-width: 22em; }
.page-head p {
  font-size: 20px;
  line-height: 1.55;
  color: rgba(10, 42, 94, 0.78);
  max-width: 42em;
  margin: 22px 0 0;
}

/* ---------- Tutoring detail cards ---------- */
.split-grid {
  max-width: var(--shell);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 22px;
}
.detail-card { border-radius: 26px; padding: 40px; }
.detail-card--navy { background: var(--navy); color: var(--cream); }
.detail-card--white { background: var(--white); border: 1px solid var(--line); }
.detail-card h2 {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.detail-card > p { font-size: 17px; line-height: 1.6; margin: 0 0 26px; }
.detail-card--navy > p { color: rgba(253, 248, 240, 0.78); }
.detail-card--white > p { color: rgba(10, 42, 94, 0.75); }
.detail-list { display: grid; gap: 14px; }
.detail-list li { display: flex; gap: 14px; align-items: flex-start; }
.detail-list { list-style: none; margin: 0; padding: 0; }
.detail-list .bullet {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-top: 9px;
}
.detail-card--navy .bullet { background: var(--amber); }
.detail-card--white .bullet { background: var(--teal); }
.detail-list strong { font-weight: 600; }
.detail-card--navy .detail-list span.muted { color: rgba(253, 248, 240, 0.75); }
.detail-card--white .detail-list span.muted { color: rgba(10, 42, 94, 0.72); }

.h2-lead {
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 600;
  margin: 0 0 40px;
  max-width: 20em;
}
.trio {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 22px;
}
.mini-card {
  background: var(--white);
  border-radius: 24px;
  padding: 34px;
  border: 1px solid var(--line);
}
.mini-card h3 { font-size: 22px; font-weight: 600; margin: 0 0 10px; }
.mini-card p { font-size: 16.5px; line-height: 1.6; color: rgba(10, 42, 94, 0.72); margin: 0; }

/* ---------- Pricing band ---------- */
.price-band {
  max-width: var(--shell);
  margin: 0 auto;
  background: var(--amber);
  border-radius: 30px;
  padding: clamp(30px, 4vw, 54px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), auto));
  gap: 40px;
  align-items: center;
}
.price-band .eyebrow { color: rgba(7, 29, 66, 0.65); }
.price-band h2 {
  font-size: clamp(32px, 4.2vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 600;
  margin: 12px 0 10px;
  color: var(--navy-deep);
}
.price-band p { font-size: 18px; line-height: 1.55; color: rgba(7, 29, 66, 0.78); margin: 0; max-width: 30em; }
.btn--deep {
  padding: 22px 44px;
  background: var(--navy-deep);
  color: var(--cream);
  font-size: 20px;
  white-space: nowrap;
  text-align: center;
  justify-self: center;
}
.btn--deep:hover { background: var(--cream); color: var(--navy-deep); }

/* ---------- Team ---------- */
.team-grid {
  max-width: var(--shell);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 26px;
}
.person {
  background: var(--white);
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.person__photo { aspect-ratio: 1 / 1; overflow: hidden; }
.person__photo--teal {
  background: repeating-linear-gradient(135deg, rgba(23, 162, 184, 0.14) 0 12px, rgba(23, 162, 184, 0.04) 12px 24px);
}
.person__photo--amber {
  background: repeating-linear-gradient(135deg, rgba(246, 162, 26, 0.18) 0 12px, rgba(246, 162, 26, 0.05) 12px 24px);
}
.person__photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}
.person__body { padding: 34px; }
.person__body h2 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}
.person__role {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.person__role--teal { color: var(--teal); }
.person__role--amber { color: var(--amber-dark); }
.person__body p { font-size: 17px; line-height: 1.6; color: rgba(10, 42, 94, 0.75); margin: 18px 0 0; }

/* ---------- FAQ ---------- */
.faq-layout {
  max-width: var(--shell);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(36px, 4vw, 60px);
  align-items: start;
}
.faq-layout h2 {
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 600;
  margin: 14px 0 16px;
}
.faq-layout__intro p { font-size: 17px; line-height: 1.6; color: rgba(10, 42, 94, 0.7); margin: 0; }
.faq-layout__intro a { color: var(--teal); font-weight: 600; }

.faq-list { display: grid; gap: 12px; }
.faq {
  background: var(--white);
  border-radius: 18px;
  border: 1px solid var(--line);
  overflow: hidden;
}
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 26px;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: Sora, sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.faq__sign {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(23, 162, 184, 0.14);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-family: "Source Sans 3", sans-serif;
}
.faq__a {
  margin: 0;
  padding: 0 26px 26px;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(10, 42, 94, 0.75);
  max-width: 44em;
}
.faq__a[hidden] { display: none; }

/* ---------- Contact ---------- */
.contact-layout {
  max-width: var(--shell);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
}
.contact-layout h1 {
  font-size: clamp(38px, 5.4vw, 56px);
  line-height: 1.03;
  letter-spacing: -0.035em;
  font-weight: 600;
  margin: 16px 0 0;
}
.contact__lede {
  font-size: 19px;
  line-height: 1.55;
  color: rgba(10, 42, 94, 0.75);
  max-width: 34em;
  margin: 20px 0 34px;
}

.enquiry-success {
  background: var(--teal);
  color: #fff;
  border-radius: 24px;
  padding: 40px;
}
.enquiry-success h2 { font-size: 30px; font-weight: 600; margin: 0 0 10px; }
.enquiry-success p { font-size: 18px; line-height: 1.55; margin: 0 0 22px; opacity: 0.92; }
.enquiry-success button {
  padding: 13px 24px;
  border-radius: 999px;
  background: var(--navy-deep);
  color: var(--cream);
  border: 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
}
[hidden] { display: none !important; }

.enquiry-form {
  background: var(--white);
  border-radius: 26px;
  border: 1px solid var(--line);
  padding: 38px;
  display: grid;
  gap: 22px;
}
.field-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 22px;
}
.field {
  display: grid;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(10, 42, 94, 0.8);
}
.field .optional { font-weight: 400; color: rgba(10, 42, 94, 0.5); }
.field input,
.field select,
.field textarea {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1.5px solid rgba(10, 42, 94, 0.16);
  font-size: 16.5px;
  font-weight: 400;
  color: var(--navy);
  background: var(--cream);
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.field textarea { resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--teal); background: var(--white); }

.subject-picker { display: grid; gap: 12px; }
.subject-picker__label {
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(10, 42, 94, 0.8);
}
.subject-picker__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  gap: 12px;
}
.subject-toggle {
  text-align: left;
  cursor: pointer;
  padding: 18px;
  border-radius: 16px;
  background: var(--cream);
  border: 1.5px solid rgba(10, 42, 94, 0.16);
  display: grid;
  gap: 8px;
  transition: border-color 0.2s ease;
}
.subject-toggle:hover { border-color: var(--teal); }
.subject-toggle__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.subject-toggle__name {
  font-family: Sora, sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
}
.subject-toggle__box {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid rgba(10, 42, 94, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: transparent;
}
.subject-toggle[aria-pressed="true"] .subject-toggle__box {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}
.subject-toggle__note { font-size: 14px; line-height: 1.4; color: rgba(10, 42, 94, 0.6); }

.form-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.btn--submit {
  padding: 17px 34px;
  background: var(--amber);
  color: var(--navy-deep);
  font-size: 17px;
  box-shadow: 0 10px 26px rgba(246, 162, 26, 0.32);
}
.btn--submit:hover { background: var(--navy); color: var(--cream); }
.form-error { font-size: 15.5px; color: #B4342A; font-weight: 600; }

.contact-aside {
  display: grid;
  gap: 16px;
  position: sticky;
  top: 100px;
}
.contact-card {
  background: var(--navy);
  color: var(--cream);
  border-radius: 24px;
  padding: 32px;
}
.contact-card h2 { font-size: 22px; font-weight: 600; margin: 0 0 20px; }
.contact-card__list { display: grid; gap: 18px; font-size: 16.5px; line-height: 1.5; }
.contact-card__key {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 5px;
}
.contact-card a { color: var(--cream); }
.contact-card a:hover { color: var(--amber); }
.contact-card a.break { word-break: break-all; }

.enrol-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px;
}
.enrol-card h2 { font-size: 20px; font-weight: 600; margin: 0 0 10px; }
.enrol-card p { font-size: 16.5px; line-height: 1.55; color: rgba(10, 42, 94, 0.72); margin: 0 0 18px; }
.social-row { display: flex; gap: 12px; }
.social-pill {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--cream);
  border: 1px solid rgba(10, 42, 94, 0.12);
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}
.social-pill:hover { background: var(--navy); color: var(--cream); }

/* ---------- Closing CTA ---------- */
.cta { padding: 0 24px 80px; }
.cta__panel {
  max-width: var(--shell);
  margin: 0 auto;
  background: var(--teal);
  border-radius: 34px;
  padding: clamp(44px, 6vw, 66px) clamp(24px, 4vw, 54px);
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta__rays {
  position: absolute;
  inset: 0;
  background: conic-gradient(from 200deg,
    rgba(255, 255, 255, 0.16) 0deg 5deg, transparent 5deg 26deg,
    rgba(255, 255, 255, 0.1) 26deg 30deg, transparent 30deg 56deg);
  -webkit-mask-image: radial-gradient(circle at 50% 120%, rgba(0, 0, 0, 0.8), transparent 70%);
  mask-image: radial-gradient(circle at 50% 120%, rgba(0, 0, 0, 0.8), transparent 70%);
}
.cta__inner { position: relative; }
.cta h2 {
  font-size: clamp(34px, 4.8vw, 50px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 600;
  margin: 0 auto 16px;
  max-width: 20em;
}
.cta p { font-size: 19px; line-height: 1.55; margin: 0 auto; max-width: 34em; opacity: 0.9; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(253, 248, 240, 0.7);
  padding: 56px 24px 40px;
}
.site-footer__grid {
  max-width: var(--shell);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 40px;
  align-items: start;
}
.site-footer__name {
  font-family: Sora, sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: -0.01em;
}
.site-footer__tag { font-size: 13px; letter-spacing: 0.22em; color: var(--amber); margin-top: 8px; }
.site-footer__blurb { font-size: 16px; line-height: 1.55; margin: 18px 0 0; max-width: 26em; }
.site-footer__col { display: grid; gap: 10px; font-size: 16px; }
.site-footer__head {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(253, 248, 240, 0.45);
  margin-bottom: 4px;
}
.site-footer a { color: rgba(253, 248, 240, 0.78); }
.site-footer a:hover { color: var(--amber); }
.site-footer__col a { display: flex; align-items: center; gap: 11px; }
.site-footer__col svg { flex: 0 0 auto; }
.site-footer__legal {
  max-width: var(--shell);
  margin: 40px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(253, 248, 240, 0.14);
  font-size: 14.5px;
}

.cta .btn--cta {
  margin-top: 30px;
  padding: 18px 38px;
  background: var(--navy-deep);
  color: var(--cream);
  font-size: 17px;
  box-shadow: 0 10px 26px rgba(7, 29, 66, 0.25);
}
.cta .btn--cta:hover { background: var(--cream); color: var(--navy-deep); }
