:root {
  --navy: #123a6f;
  --navy-deep: #0c274c;
  --gold: #d4a43a;
  --gold-soft: #e0b75a;
  --ink: #222;
  --muted: #5b6472;
  --paper: #ffffff;
  --fog: #f5f7fa;
  --font-display: Poppins, Helvetica, Arial, sans-serif;
  --font-body: Inter, Helvetica, Arial, sans-serif;
  --max: 1140px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(90deg, var(--navy-deep), var(--navy));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(212, 164, 58, 0.65);
}

.brand small {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.06em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.nav a {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 0.92rem;
}

.nav a[aria-current="page"],
.nav a:hover {
  color: var(--gold);
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: transparent;
  color: #fff;
  padding: 0.45rem 0.75rem;
  border-radius: 6px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.25rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  border: 2px solid transparent;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-deep);
}

.btn-primary:hover {
  background: var(--gold-soft);
}

.btn-outline {
  background: transparent;
  border-color: var(--gold);
  color: #fff;
}

.btn-dark {
  background: var(--navy);
  color: #fff;
}

.hero {
  position: relative;
  min-height: 560px;
  display: grid;
  align-items: center;
  color: #fff;
  overflow: hidden;
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(18, 58, 111, 0.78);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 4.5rem 1.5rem;
}

.hero h1 {
  margin: 0;
  max-width: 18ch;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  line-height: 1.15;
  font-weight: 700;
}

.hero p {
  margin: 1rem 0 0;
  max-width: 40rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.08rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.section {
  padding: 4.25rem 1.5rem;
  max-width: var(--max);
  margin: 0 auto;
}

.section h2 {
  margin: 0;
  text-align: center;
  font-family: var(--font-display);
  color: var(--navy);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.section .sub {
  text-align: center;
  color: var(--navy);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.88rem;
  margin: 0.65rem 0 2rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.feature-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(18, 58, 111, 0.08);
  padding: 1.35rem 1.15rem;
  text-align: center;
}

.feature-card .icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.85rem;
  border-radius: 12px;
  background: var(--fog);
  color: var(--navy);
  display: grid;
  place-items: center;
  font-weight: 800;
}

.feature-card h3 {
  margin: 0;
  font-size: 1rem;
  color: var(--navy);
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.split ul {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.split li {
  margin: 0.45rem 0;
}

.band {
  background: var(--navy);
  color: #fff;
  padding: 3.5rem 1.5rem;
  text-align: center;
}

.band h2 {
  margin: 0;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.band p {
  margin: 0.75rem auto 0;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.88);
}

.band .cta-row {
  justify-content: center;
}

.page-hero {
  background: var(--navy);
  color: #fff;
  padding: 3.5rem 1.5rem;
  text-align: center;
}

.page-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  text-transform: uppercase;
}

.page-hero p {
  margin: 0.75rem auto 0;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.88);
}

.course-grid,
.resource-grid,
.team-grid {
  display: grid;
  gap: 1.25rem;
}

.course-grid {
  grid-template-columns: repeat(3, 1fr);
}

.course-card,
.resource-card,
.team-card {
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 28px rgba(18, 58, 111, 0.08);
}

.course-card img,
.resource-card .thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.course-card .body,
.resource-card .body,
.team-card .body {
  padding: 1.25rem;
}

.course-card h2,
.resource-card h3,
.team-card h3 {
  margin: 0 0 0.5rem;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.course-card p,
.resource-card p,
.team-card p {
  margin: 0;
  color: var(--muted);
}

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

.resource-card {
  position: relative;
}

.resource-card .lock {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(18, 58, 111, 0.9);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.3rem 0.5rem;
  border-radius: 6px;
}

.resource-card .thumb {
  background:
    linear-gradient(135deg, rgba(18, 58, 111, 0.55), rgba(212, 164, 58, 0.35)),
    url("/assets/hero.jpg") center / cover no-repeat;
  min-height: 140px;
}

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

.team-card {
  display: grid;
  grid-template-columns: 120px 1fr;
}

.team-card .avatar {
  background: var(--navy);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
}

.event-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--fog);
  border-radius: 14px;
  padding: 1.75rem;
  text-align: center;
}

.event-card p {
  margin: 0.35rem 0;
  color: var(--muted);
}

.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.85);
  padding: 2.5rem 1.5rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.site-footer h3 {
  margin: 0 0 0.65rem;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  text-transform: uppercase;
}

.site-footer a {
  color: var(--gold-soft);
  display: inline-block;
  margin: 0.2rem 0.75rem 0.2rem 0;
}

@media (max-width: 960px) {
  .feature-grid,
  .course-grid,
  .resource-grid,
  .team-grid,
  .split,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .team-card {
    grid-template-columns: 80px 1fr;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-deep);
    padding: 1rem 1.25rem 1.25rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav.is-open {
    display: flex;
  }
}
