:root {
  color-scheme: light;
  --navy: #0e2740;
  --blue: #173f69;
  --ink: #17283a;
  --muted: #5f6f7d;
  --teal: #2a968d;
  --gold: #d69a28;
  --paper: #fbfaf6;
  --soft: #edf5f8;
  --line: #dce7ee;
  --white: #ffffff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

a {
  color: inherit;
}

.site-header {
  align-items: center;
  background: rgba(251, 250, 246, 0.92);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  left: 0;
  min-height: 72px;
  padding: 16px clamp(18px, 4vw, 56px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  color: var(--navy);
  display: inline-flex;
  font-weight: 900;
  gap: 10px;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-mark {
  align-items: center;
  background: var(--gold);
  border-radius: 50%;
  color: var(--navy);
  display: inline-flex;
  height: 30px;
  justify-content: center;
  width: 30px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.site-nav a {
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
  padding: 8px 12px;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--soft);
  color: var(--navy);
  outline: none;
}

.hero {
  background:
    radial-gradient(circle at 80% 22%, rgba(214, 154, 40, 0.2), transparent 32%),
    linear-gradient(135deg, #0b2138 0%, #11395f 58%, #143f4a 100%);
  color: var(--white);
  display: grid;
  gap: clamp(28px, 5vw, 72px);
  grid-template-columns: minmax(0, 1.08fr) minmax(310px, 0.92fr);
  min-height: calc(100vh - 72px);
  padding: clamp(44px, 8vw, 96px) clamp(18px, 5vw, 72px);
}

.hero-copy {
  align-content: center;
  display: grid;
  max-width: 760px;
}

.eyebrow {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f1b947;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 9vw, 8.5rem);
  line-height: 0.92;
  margin-bottom: 26px;
}

h2 {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
  margin-bottom: 16px;
}

h3 {
  color: var(--navy);
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.hero-lede {
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.55;
  max-width: 700px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.button {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  display: inline-flex;
  font-weight: 900;
  min-height: 48px;
  padding: 0 18px;
  text-decoration: none;
}

.button.primary {
  background: var(--gold);
  border-color: var(--gold);
  color: #101c2a;
}

.button.secondary {
  color: var(--white);
}

.hero-visual {
  align-content: center;
  display: grid;
  justify-items: center;
  min-height: 420px;
  position: relative;
  text-align: center;
}

.hero-visual p {
  color: rgba(255, 255, 255, 0.82);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 3vw, 2.55rem);
  font-style: italic;
  line-height: 1.25;
  margin-top: 32px;
  max-width: 520px;
}

.lantern {
  align-items: center;
  background: radial-gradient(circle, rgba(214, 154, 40, 0.24), rgba(255, 255, 255, 0.05) 48%, transparent 70%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  display: flex;
  height: min(62vw, 420px);
  justify-content: center;
  position: relative;
  width: min(62vw, 420px);
}

.lantern::before {
  border: 7px solid var(--gold);
  border-radius: 18px 18px 24px 24px;
  content: "";
  height: 88px;
  position: absolute;
  width: 58px;
}

.lantern::after {
  border: 6px solid var(--gold);
  border-bottom: 0;
  border-radius: 34px 34px 0 0;
  content: "";
  height: 34px;
  position: absolute;
  top: calc(50% - 80px);
  width: 48px;
}

.beam {
  background: rgba(214, 154, 40, 0.22);
  height: 2px;
  position: absolute;
  width: 94%;
}

.beam-one {
  transform: rotate(45deg);
}

.beam-two {
  transform: rotate(-45deg);
}

.flame {
  background: var(--gold);
  border-radius: 60% 60% 55% 55%;
  height: 38px;
  transform: rotate(45deg);
  width: 28px;
}

.section {
  padding: clamp(56px, 8vw, 104px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 880px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.65;
}

.intro-grid,
.team-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 32px;
}

.intro-grid article,
.team-grid article,
.level-grid article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.intro-grid p,
.team-grid p,
.level-grid p,
.pillar-grid p,
.kit-copy p,
.kit-copy li {
  color: var(--muted);
  line-height: 1.6;
}

.outcomes {
  background: var(--soft);
}

.outcome-list {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 34px;
}

.outcome-list span {
  background: var(--white);
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.35;
  padding: 18px;
}

.pillar-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 36px;
}

.pillar-grid article {
  background: var(--navy);
  border-radius: 8px;
  min-height: 190px;
  padding: 24px;
}

.pillar-grid span,
.level-grid span {
  color: var(--gold);
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.pillar-grid h3 {
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
}

.pillar-grid p {
  color: rgba(255, 255, 255, 0.76);
}

.schedule-section {
  background: var(--white);
}

.schedule {
  border-top: 1px solid var(--line);
  margin-top: 30px;
}

.schedule div {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(190px, 1fr) minmax(160px, 0.55fr);
  min-height: 68px;
  padding: 14px 0;
}

.schedule strong {
  color: var(--navy);
  font-size: 1.08rem;
}

.schedule strong::before {
  color: var(--teal);
  content: "•";
  font-size: 1.7rem;
  margin-right: 14px;
  vertical-align: -0.08em;
}

.schedule span {
  color: var(--muted);
  text-align: right;
}

.levels-section {
  background: #f7f6f0;
}

.level-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 32px;
}

.level-grid article {
  min-height: 240px;
}

.level-grid h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
}

.kit-section {
  align-items: start;
  display: grid;
  gap: clamp(26px, 5vw, 58px);
  grid-template-columns: minmax(280px, 0.62fr) minmax(420px, 1.38fr);
}

.kit-copy ul {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

.kit-copy li {
  border-left: 4px solid var(--gold);
  padding-left: 14px;
}

.kit-gallery {
  display: grid;
  gap: 22px;
  justify-items: center;
  min-width: 0;
}

.kit-figure {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 60px rgba(14, 39, 64, 0.16);
  margin: 0;
  overflow: hidden;
  width: 55%;
}

.kit-image-button {
  background: transparent;
  border: 0;
  border-radius: 0;
  color: inherit;
  cursor: zoom-in;
  display: block;
  min-height: 0;
  padding: 0;
  width: 100%;
}

.kit-image-button:focus-visible {
  outline: 3px solid rgba(214, 154, 40, 0.7);
  outline-offset: -3px;
}

.kit-figure img {
  display: block;
  height: auto;
  width: 100%;
}

.kit-figure figcaption {
  align-items: center;
  background: linear-gradient(90deg, rgba(14, 39, 64, 0.98), rgba(23, 63, 105, 0.95));
  color: var(--white);
  display: flex;
  font-size: 0.86rem;
  font-weight: 900;
  justify-content: space-between;
  letter-spacing: 0.08em;
  min-height: 48px;
  padding: 12px 18px;
  text-transform: uppercase;
}

.kit-figure figcaption::after {
  background: var(--gold);
  content: "";
  display: block;
  height: 3px;
  width: 58px;
}

.team-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.contact-footer {
  background: var(--navy);
  color: var(--white);
  padding: clamp(48px, 7vw, 76px) clamp(18px, 5vw, 72px) 0;
  text-align: center;
}

.contact-footer h2 {
  color: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1.4rem, 4vw, 3.25rem);
  overflow-wrap: anywhere;
}

.contact-footer a {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  display: inline-flex;
  font-weight: 900;
  margin-top: 12px;
  min-height: 46px;
  padding: 12px 18px;
  text-decoration: none;
}

.contact-footer .credits {
  background: var(--teal);
  color: var(--white);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 44px calc(clamp(18px, 5vw, 72px) * -1) 0;
  padding: 16px clamp(18px, 5vw, 72px);
}

.contact-footer .credits a {
  border: 0;
  color: var(--white);
  display: inline;
  margin: 0;
  min-height: 0;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.popup-open {
  overflow: hidden;
}

.image-popup[hidden] {
  display: none;
}

.image-popup {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: clamp(14px, 3vw, 36px);
  position: fixed;
  z-index: 30;
}

.image-popup-backdrop {
  background: rgba(8, 22, 36, 0.78);
  inset: 0;
  position: absolute;
}

.image-popup-panel {
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.35);
  max-height: 92vh;
  max-width: min(1200px, 96vw);
  overflow: auto;
  position: relative;
  z-index: 1;
}

.image-popup-panel img {
  display: block;
  height: auto;
  max-width: none;
  width: min(1536px, 92vw);
}

.image-popup-close {
  align-items: center;
  background: var(--navy);
  border: 2px solid var(--white);
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  display: flex;
  font-size: 1.8rem;
  font-weight: 500;
  height: 44px;
  justify-content: center;
  line-height: 1;
  min-height: 44px;
  padding: 0 0 4px;
  position: absolute;
  right: 12px;
  top: 12px;
  width: 44px;
  z-index: 2;
}

@media (max-width: 980px) {
  .hero,
  .kit-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .intro-grid,
  .outcome-list,
  .pillar-grid,
  .level-grid,
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .site-nav a {
    padding-left: 0;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    justify-content: center;
  }

  .intro-grid,
  .outcome-list,
  .pillar-grid,
  .level-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .schedule div {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .schedule span {
    padding-left: 34px;
    text-align: left;
  }

  .kit-figure {
    width: 100%;
  }
}
