:root {
  --background: #f7fafc;
  --surface: #ffffff;
  --surface-soft: #f1f7f8;
  --ink: #061f3b;
  --text: #132338;
  --muted: #647083;
  --line: #d9e3e8;
  --gold: #c99535;
  --teal: #0f766e;
  --primary: #062a50;
  --primary-light: #123e68;
  --shadow: 0 24px 80px rgba(6, 31, 59, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

.site-header,
.site-footer,
main {
  width: min(100%, 1180px);
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(18px, 4vw, 34px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--primary);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: clamp(36px, 6vw, 76px);
  min-height: calc(100vh - 88px);
  padding: clamp(28px, 5vw, 58px) clamp(18px, 4vw, 34px) 64px;
}

.hero-copy {
  max-width: 560px;
}

.hero-logo {
  width: clamp(88px, 13vw, 132px);
  height: clamp(88px, 13vw, 132px);
  object-fit: contain;
  margin-bottom: 24px;
}

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

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

h1 {
  margin-bottom: 16px;
  color: var(--ink);
  font-size: clamp(3.25rem, 7.2vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h2 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: clamp(2rem, 4.3vw, 3.35rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0;
  color: var(--ink);
  font-size: 1.15rem;
  letter-spacing: 0;
}

.tagline {
  margin-bottom: 18px;
  color: var(--primary);
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 800;
}

.intro,
.section-heading p,
.feature-copy p,
.connect p {
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.12rem);
}

.intro {
  max-width: 520px;
  margin-bottom: 0;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  min-width: 168px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.button.primary {
  background: var(--primary);
  color: #ffffff;
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--primary-light);
}

.button.secondary {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: var(--gold);
  color: var(--primary);
}

.hero-media,
.feature-media {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: center;
}

.section {
  padding: 78px clamp(18px, 4vw, 34px);
}

.section-soft {
  width: calc(100% - clamp(36px, 8vw, 68px));
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
  box-shadow: 0 18px 60px rgba(6, 31, 59, 0.07);
}

.section-heading {
  max-width: 700px;
  margin: 0 auto 34px;
  text-align: center;
}

.program-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.program-list span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  padding: 10px 16px;
  font-weight: 800;
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: clamp(28px, 5vw, 58px);
  padding: 82px clamp(18px, 4vw, 34px);
}

.feature-copy {
  max-width: 520px;
}

.feature-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

.text-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--primary);
  font-weight: 900;
  text-decoration-color: var(--gold);
  text-underline-offset: 5px;
}

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

.teacher-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 16px 48px rgba(6, 31, 59, 0.08);
}

.teacher-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-bottom: 1px solid var(--line);
}

.teacher-card h3 {
  padding: 16px;
}

.connect {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 0 clamp(18px, 4vw, 34px) 74px;
  padding: clamp(24px, 5vw, 42px);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), #0b5d66);
  color: #ffffff;
}

.connect h2,
.connect p {
  color: #ffffff;
}

.connect p {
  max-width: 580px;
  margin-bottom: 0;
  opacity: 0.84;
}

.connect .actions {
  flex-shrink: 0;
  margin-top: 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(18px, 4vw, 34px) 34px;
  color: var(--muted);
}

.footer-brand {
  color: var(--ink);
}

.site-footer p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

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

  .hero {
    min-height: auto;
    padding-top: 30px;
  }

  .hero-copy,
  .feature-copy {
    max-width: 720px;
  }

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

  .connect {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  .site-nav {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.5rem);
  }

  .actions,
  .connect .actions {
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .section-soft {
    width: calc(100% - 36px);
  }

  .teacher-grid {
    grid-template-columns: 1fr;
  }

  .hero-media img {
    min-height: 250px;
  }
}
