:root {
  --ink: 222 47% 6%;
  --navy: 222 42% 10%;
  --navy-2: 222 36% 16%;
  --paper: 40 33% 97%;
  --paper-2: 36 28% 93%;
  --red: 350 78% 42%;
  --red-soft: 350 70% 48%;
  --gold: 38 72% 52%;
  --cream: 40 40% 98%;
  --fg: 222 30% 12%;
  --muted: 222 12% 40%;
  --line: 222 16% 88%;
  --max: 72rem;
  --radius: 1.15rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  color: hsl(var(--fg));
  background: hsl(var(--paper));
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

address {
  font-style: normal;
}

button,
input,
select,
textarea {
  font: inherit;
}

.font-display {
  font-family: "Playfair Display", Georgia, serif;
}

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.eyebrow {
  display: inline-block;
  margin: 0;
  max-width: 100%;
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: hsl(var(--red));
}

.eyebrow::before,
.eyebrow::after {
  content: none !important;
  display: none !important;
}

h1,
h2,
.font-display {
  letter-spacing: -0.03em;
}

/* Top bar */
.ticker {
  background: hsl(var(--ink));
  color: #fff;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ticker-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.45rem 0;
}

.ticker-label {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: hsl(var(--gold));
}

.marquee {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 2.4rem;
  animation: marquee 38s linear infinite;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.tick-dot {
  color: hsl(var(--red-soft));
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: hsl(var(--paper) / 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid hsl(var(--line) / 0.7);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.4rem 0;
}

.brand-logo {
  height: 52px;
  width: auto;
  max-width: min(268px, 58vw);
  object-fit: contain;
}

.nav {
  display: none;
  align-items: center;
  gap: 1.65rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: hsl(var(--muted));
}

.nav a:hover,
.nav a.is-active {
  color: hsl(var(--ink));
}

.nav a.is-active {
  box-shadow: inset 0 -2px 0 hsl(var(--red));
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.menu-toggle {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid hsl(var(--line));
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: hsl(var(--ink));
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before { top: -5px; }
.menu-toggle span::after { top: 5px; }

.mobile-nav {
  display: none;
  border-top: 1px solid hsl(var(--line));
  padding: 0.75rem 0 1rem;
}

.mobile-nav.is-open { display: grid; gap: 0.35rem; }

.mobile-nav a {
  padding: 0.7rem 0.2rem;
  font-weight: 550;
  border-bottom: 1px solid hsl(var(--line) / 0.6);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0 1.25rem;
  border-radius: 999px;
  border: 0;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-red {
  background: hsl(var(--red));
  color: #fff;
  box-shadow: 0 10px 22px hsl(var(--red) / 0.22);
}

.btn-ink {
  background: hsl(var(--ink));
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
}

.btn-outline {
  background: transparent;
  color: hsl(var(--ink));
  border: 1px solid hsl(var(--ink) / 0.2);
}

/* Hero */
.hero {
  position: relative;
  color: #fff;
  background: hsl(var(--navy));
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, hsl(var(--ink) / 0.92) 0%, hsl(var(--ink) / 0.72) 42%, hsl(var(--ink) / 0.28) 100%),
    linear-gradient(180deg, transparent 55%, hsl(var(--ink) / 0.45));
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.85rem;
  padding: 0.85rem 0 1.1rem;
}

.hero h1 {
  margin: 0.1rem 0 0.3rem;
  font-size: clamp(2.2rem, 5.4vw, 3.75rem);
  line-height: 1.08;
  font-weight: 700;
}

.hero h1 em {
  font-style: italic;
  color: hsl(var(--gold));
}

.hero-lead {
  max-width: 38rem;
  margin: 0;
  font-size: 1.02rem;
  color: rgba(255,255,255,0.82);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.5rem;
}

.hero-tag {
  margin: 0.45rem 0 0;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  color: hsl(var(--gold));
  font-size: 1.12rem;
}

.session-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(12px);
  border-radius: 1.25rem;
  padding: 1.1rem 1.2rem 1.15rem;
  justify-self: stretch;
}

.session-card h3 {
  margin: 0.2rem 0 0.8rem;
  font-size: 1.15rem;
}

.session-meta {
  display: grid;
  gap: 0.55rem;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.82);
}

.session-meta b { color: #fff; font-weight: 600; }

.session-note {
  margin: 0.9rem 0 0;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
}

/* Sections */
.section {
  padding: 1.45rem 0;
}

.section-head {
  max-width: 42rem;
  margin-bottom: 1.15rem;
}

.section-head h2 {
  margin: 0.15rem 0 0.35rem;
  font-size: clamp(1.65rem, 3.6vw, 2.35rem);
  line-height: 1.12;
  font-weight: 600;
}

.lede {
  margin: 0;
  color: hsl(var(--muted));
  font-size: 1rem;
}

.mods {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0 0;
}

.mod {
  background: #fff;
  border: 1px solid hsl(var(--line));
  border-radius: 0.85rem;
  padding: 0.85rem 1rem;
}

.mod h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
}

.mod p {
  margin: 0;
  color: hsl(var(--muted));
  font-size: 0.95rem;
}

.split {
  display: grid;
  gap: 1.5rem;
}

.card {
  background: #fff;
  border: 1px solid hsl(var(--line));
  border-radius: var(--radius);
  overflow: hidden;
}

.card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
}

.card img.card-wide {
  aspect-ratio: 3.2 / 1;
  object-fit: contain;
  object-position: center;
  background: #073a63;
}

.card-body {
  padding: 1rem 1.15rem 1.15rem;
}

.card-body h3 {
  margin: 0 0 0.45rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.card-body p {
  margin: 0 0 1rem;
  color: hsl(var(--muted));
}

.link-arrow {
  font-weight: 600;
  color: hsl(var(--red));
}

.pillars {
  background:
    radial-gradient(1200px 420px at 50% -10%, hsl(32 40% 24% / 0.35), transparent 60%),
    linear-gradient(180deg, hsl(18 28% 14%) 0%, hsl(var(--navy)) 55%, hsl(222 42% 8%) 100%);
  color: #fff;
}

.pillars .lede { color: rgba(255,255,255,0.7); }

.acronym-board {
  margin-top: 1rem;
  padding: 1.2rem 1.1rem 1.25rem;
  border-radius: 1.1rem;
  background:
    radial-gradient(900px 280px at 50% 0%, hsl(32 38% 26% / 0.4), transparent 55%),
    linear-gradient(180deg, hsl(18 26% 16%), hsl(18 30% 10%));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.acronym {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.7rem;
}

.acronym li {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 8.4rem;
  padding: 0.85rem 0.5rem 0.75rem;
  text-align: center;
  color: hsl(222 42% 14%);
  background:
    linear-gradient(165deg, #fff8e8 0%, #f3dca8 48%, #e6c57a 100%);
  border: 1px solid rgba(120, 78, 18, 0.32);
  border-radius: 0.55rem;
  box-shadow:
    0 12px 20px hsl(222 42% 4% / 0.28),
    inset 0 1px 0 rgba(255,255,255,0.72),
    inset 0 -3px 0 rgba(140, 86, 16, 0.22);
}

.acronym .letter {
  display: block;
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.05rem;
  font-weight: 700;
  color: hsl(222 42% 12%);
  line-height: 1;
  text-shadow: 0 1px 0 rgba(255,255,255,0.55);
}

.acronym li > span:last-child {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.72rem;
  font-weight: 650;
  line-height: 1.25;
  color: hsl(222 28% 28%);
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.stat {
  padding: 1.1rem 0;
  border-top: 1px solid hsl(var(--line));
}

.stat b {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.7rem;
  font-weight: 700;
}

.stat span {
  color: hsl(var(--muted));
  font-size: 0.9rem;
}

.photo-text {
  display: grid;
  gap: 1.6rem;
  align-items: center;
}

.photo-text img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  background: hsl(var(--paper-2));
}

.prose p {
  margin: 0 0 0.55rem;
  color: hsl(var(--muted));
}

.prose h2 {
  margin: 0 0 0.4rem;
}

.contact-layout {
  display: grid;
  gap: 1.6rem;
}

.contact-phone h2 {
  margin: 0 0 0.65rem;
}

.phone-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  margin: 0;
  padding: 1.45rem 1.5rem 1.5rem;
  max-width: 24rem;
  background:
    linear-gradient(165deg, hsl(var(--navy-2)) 0%, hsl(var(--navy)) 70%);
  color: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 36px hsl(var(--navy) / 0.22);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.phone-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 40px hsl(var(--navy) / 0.28);
}

.phone-card .eyebrow {
  color: hsl(var(--gold));
}

.phone-card strong {
  font-size: clamp(1.85rem, 4.2vw, 2.35rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.phone-card-cta {
  display: inline-flex;
  margin-top: 0.55rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: hsl(var(--red));
  color: #fff;
  font-size: 0.82rem;
  font-weight: 650;
}

.faq details {
  background: #fff;
  border: 1px solid hsl(var(--line));
  border-radius: 0.9rem;
  padding: 0.9rem 1.1rem;
  margin-bottom: 0.65rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.faq details p {
  margin: 0.6rem 0 0.2rem;
  color: hsl(var(--muted));
}

/* Forms */
.form-grid {
  display: grid;
  gap: 0.9rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field label {
  font-size: 0.82rem;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid hsl(var(--line));
  border-radius: 0.7rem;
  padding: 0.75rem 0.85rem;
  background: #fff;
}

.field textarea { min-height: 7.5rem; resize: vertical; }

.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.form-note {
  font-size: 0.85rem;
  color: hsl(var(--muted));
}

.alert {
  padding: 0.9rem 1rem;
  border-radius: 0.8rem;
  background: #e8f6ee;
  color: #14532d;
  margin-bottom: 1rem;
}

.page-hero {
  color: #fff;
  overflow: hidden;
  background: hsl(var(--navy));
}

.page-hero img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center top;
  opacity: 1;
}

.page-hero .wrap {
  padding: 0.75rem 0 0.9rem;
}

.page-hero h1 {
  margin: 0.1rem 0 0;
  font-size: clamp(1.85rem, 4.4vw, 2.75rem);
  font-weight: 700;
}

.page-hero p {
  margin: 0.35rem 0 0;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.82);
}

.page-hero--advisory img {
  aspect-ratio: 3.55 / 1;
  object-fit: cover;
  object-position: center bottom;
}

.page-hero--advisory .wrap {
  padding: 0.5rem 0 0.7rem;
}

.session-strip {
  margin: 0 auto;
  padding: 0.5rem 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: hsl(var(--navy));
  border-bottom: 1px solid hsl(var(--line));
}

.session-strip span {
  font-weight: 500;
  color: hsl(var(--muted));
}

.footer-mark {
  height: 64px;
  width: auto;
}

/* Footer */
.site-footer {
  background: hsl(var(--ink));
  color: rgba(255,255,255,0.78);
  padding: 2.8rem 0 1.4rem;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
}

.site-footer a:hover { color: #fff; }

.site-footer h4 {
  margin: 0 0 0.55rem;
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer p,
.site-footer li {
  margin: 0 0 0.3rem;
  font-size: 0.92rem;
}

.site-footer ul { list-style: none; padding: 0; margin: 0; }

.copyright {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

@media (min-width: 800px) {
  .nav { display: flex; }
  .menu-toggle { display: none; }
  .mobile-nav,
  .mobile-nav.is-open { display: none !important; }
  .hero-inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(19rem, 23rem);
    align-items: start;
    justify-content: space-between;
    min-height: 0;
    padding: 0.45rem 0 1.15rem;
    gap: 1.25rem;
  }
  .session-card {
    justify-self: end;
    width: min(23rem, 100%);
    margin-top: 0;
  }
  .split { grid-template-columns: 1fr 1fr; }
  .contact-layout {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
  .contact-classrooms { grid-column: 1 / -1; }
  .acronym { grid-template-columns: repeat(8, 1fr); }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .photo-text { grid-template-columns: 1.05fr 0.95fr; }
  .photo-text.reverse { grid-template-columns: 0.95fr 1.05fr; }
  .photo-text.reverse img { order: 2; }
  .form-grid.two { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .call-full { display: inline; }
}

@media (max-width: 799px) {
  .ticker-label { display: none; }
  .acronym { grid-template-columns: repeat(2, 1fr); }
  .brand-logo {
    height: 42px;
    max-width: min(210px, 62vw);
  }
  .hero-inner {
    padding: 0.7rem 0 1rem;
  }
  .hero h1 {
    font-size: clamp(1.85rem, 9vw, 2.4rem);
  }
  .session-card {
    margin-top: 0.15rem;
  }
  .btn {
    min-height: 44px;
  }
}
