:root {
  --ink: #111827;
  --muted: #5b6472;
  --paper: #f7f8f5;
  --white: #ffffff;
  --blue: #0b5f8f;
  --blue-dark: #0a324c;
  --yellow: #f4bd2a;
  --green: #2f7f67;
  --line: #d9ded8;
  --shadow: 0 18px 55px rgba(20, 31, 43, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}

body {
  margin: 0;
  font-family: Arial, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 14px;
  left: clamp(12px, 3vw, 32px);
  right: clamp(12px, 3vw, 32px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 34px);
  border-radius: 8px;
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(14, 27, 40, 0.12);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 180px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 800;
  font-size: 1.25rem;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: currentColor;
  opacity: 0.72;
  font-size: 0.76rem;
}

.main-nav {
  display: flex;
  gap: clamp(16px, 3vw, 32px);
  font-size: 0.95rem;
  font-weight: 600;
}

.main-nav a {
  opacity: 0.86;
}

.main-nav a:hover {
  opacity: 1;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 750;
  font-size: 0.95rem;
  cursor: pointer;
}

.header-cta {
  background: var(--yellow);
  color: var(--ink);
}

.button.primary {
  background: var(--yellow);
  color: var(--ink);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding-top: 132px;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 25, 38, 0.88) 0%, rgba(8, 25, 38, 0.58) 42%, rgba(8, 25, 38, 0.13) 100%),
    linear-gradient(0deg, rgba(8, 25, 38, 0.58) 0%, rgba(8, 25, 38, 0) 35%);
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 36px));
  margin: 0 0 clamp(34px, 7vw, 82px) clamp(18px, 6vw, 76px);
  color: var(--white);
}

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

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

h1 {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: clamp(2.7rem, 7vw, 5.7rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 610px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.02rem, 2vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 34px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 620px;
  margin: 0;
}

.hero-stats div {
  border-left: 3px solid var(--yellow);
  padding-left: 14px;
}

.hero-stats dt {
  font-size: 1.7rem;
  font-weight: 800;
}

.hero-stats dd {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
}

section:not(.hero) {
  padding: clamp(64px, 9vw, 112px) clamp(18px, 5vw, 68px);
  scroll-margin-top: 112px;
}

.section-heading {
  max-width: 770px;
  margin-bottom: 34px;
}

.section-heading h2,
.method-copy h2,
.graduates-copy h2,
.contact-copy h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: 0;
  margin-bottom: 18px;
}

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

.intro-grid article,
.course-card,
.method-list div,
.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(23, 34, 44, 0.06);
}

.intro-grid article {
  padding: 28px;
}

.intro-grid h3,
.course-card h3 {
  font-size: 1.28rem;
  margin-bottom: 10px;
}

.intro-grid p,
.course-card li,
.method-copy p,
.method-list p,
.graduates-copy p,
.contact-copy p,
address {
  color: var(--muted);
}

.courses-section {
  background: #ffffff;
}

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

.course-card {
  padding: 26px;
  min-height: 318px;
}

.course-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  margin-bottom: 20px;
  background: #e8f1f5;
  color: var(--blue);
  font-size: 1.3rem;
  font-weight: 800;
}

.course-area {
  margin-bottom: 8px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.course-card ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 18px;
}

.method-section,
.graduates-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
}

.method-list {
  display: grid;
  gap: 14px;
}

.method-list div {
  padding: 24px;
}

.method-list span {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-weight: 800;
}

.graduates-section {
  background: var(--blue-dark);
  color: var(--white);
}

.graduates-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.graduates-copy p {
  color: rgba(255, 255, 255, 0.76);
}

.quote {
  margin-top: 28px;
  padding: 24px;
  border-left: 4px solid var(--yellow);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 0 8px 8px 0;
}

.quote p {
  color: var(--white);
  font-weight: 650;
}

.quote span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
}

.contact-section {
  align-items: start;
}

address {
  margin-top: 26px;
  font-style: normal;
}

address a {
  color: var(--blue);
  font-weight: 700;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 12px;
  font: inherit;
  color: var(--ink);
  background: #fbfcfa;
}

.contact-form textarea {
  resize: vertical;
}

.full {
  grid-column: 1 / -1;
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: var(--green);
  font-weight: 700;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 68px);
  background: var(--ink);
  color: var(--white);
  flex-wrap: wrap;
}

.site-footer span {
  color: rgba(255, 255, 255, 0.68);
}

@media (max-width: 980px) {
  .main-nav {
    display: none;
  }

  .intro-grid,
  .course-grid,
  .method-section,
  .graduates-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .course-card {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .site-header {
    top: 10px;
    left: 10px;
    right: 10px;
    padding: 12px 14px;
  }

  .brand {
    min-width: 0;
  }

  .brand small,
  .header-cta {
    display: none;
  }

  .hero {
    min-height: 94vh;
    padding-top: 112px;
  }

  .hero-content {
    width: calc(100% - 28px);
    margin: 0 14px 34px;
  }

  h1 {
    font-size: 2.45rem;
  }

  .hero-stats,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }
}
