:root {
  --ink: #14213d;
  --muted: #5f6b7a;
  --line: #dfe7ea;
  --teal: #007c7a;
  --teal-dark: #005f61;
  --saffron: #f4a51c;
  --paper: #fbfcfa;
  --white: #ffffff;
  --charcoal: #202427;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(251, 252, 250, 0.92);
  border-bottom: 1px solid rgba(20, 33, 61, 0.08);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  color: var(--white);
  background: var(--teal);
  font-weight: 800;
}

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

.brand small {
  color: var(--muted);
  font-size: 12px;
  margin-top: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.8vw, 34px);
  color: var(--charcoal);
  font-size: 14px;
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--teal);
}

.header-action,
.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  font-weight: 700;
  white-space: nowrap;
}

.header-action {
  padding: 0 16px;
  color: var(--white);
  background: var(--ink);
  font-size: 14px;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  padding: 118px clamp(20px, 6vw, 78px) 72px;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

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

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 25, 43, 0.9) 0%, rgba(10, 25, 43, 0.72) 38%, rgba(10, 25, 43, 0.22) 78%),
    linear-gradient(0deg, rgba(10, 25, 43, 0.48), rgba(10, 25, 43, 0.04));
}

.hero-content {
  position: relative;
  max-width: 690px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--saffron);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(46px, 7vw, 88px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 560px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(18px, 2.4vw, 24px);
  line-height: 1.48;
}

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

.primary-btn {
  border: 0;
  padding: 0 20px;
  color: var(--white);
  background: var(--teal);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.primary-btn:hover {
  background: var(--teal-dark);
}

.secondary-btn {
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.metrics div {
  background: var(--white);
  padding: 26px clamp(18px, 3vw, 36px);
}

.metrics strong,
.metrics span {
  display: block;
}

.metrics strong {
  margin-bottom: 6px;
  font-size: clamp(20px, 2.2vw, 30px);
}

.metrics span {
  color: var(--muted);
  line-height: 1.45;
}

.section,
.band,
.contact-section {
  padding: 86px clamp(20px, 6vw, 78px);
}

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

.section-heading h2,
.contact-copy h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4.4vw, 54px);
  line-height: 1.04;
  letter-spacing: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-card {
  min-height: 250px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 34px;
  margin-bottom: 30px;
  border-radius: 8px;
  color: var(--teal);
  background: #e4f4f1;
  font-weight: 800;
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 21px;
}

.service-card p,
.timeline p,
.contact-copy p {
  color: var(--muted);
  line-height: 1.65;
}

.band {
  background: #eff7f4;
}

.subject-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.subject-list span {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(0, 124, 122, 0.2);
  border-radius: 8px;
  background: var(--white);
  font-weight: 700;
}

.faculty-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.faculty-copy p {
  max-width: 560px;
  color: var(--muted);
  line-height: 1.65;
}

.faculty-copy .primary-btn {
  margin-top: 12px;
}

.faculty-panel {
  display: grid;
  gap: 14px;
}

.faculty-panel div {
  padding: 22px;
  border-left: 5px solid var(--teal);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 38px rgba(20, 33, 61, 0.08);
}

.faculty-panel strong {
  display: block;
  margin-bottom: 8px;
  font-size: 19px;
}

.faculty-panel p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: steps;
}

.timeline li {
  position: relative;
  min-height: 210px;
  padding: 26px 22px;
  border-top: 4px solid var(--saffron);
  background: var(--white);
  box-shadow: 0 18px 38px rgba(20, 33, 61, 0.08);
}

.timeline li::before {
  counter-increment: steps;
  content: counter(steps);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 26px;
  border-radius: 8px;
  color: var(--white);
  background: var(--ink);
  font-weight: 800;
}

.timeline strong {
  display: block;
  margin-bottom: 8px;
  font-size: 19px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
  background: var(--ink);
  color: var(--white);
}

.contact-copy {
  position: sticky;
  top: 104px;
}

.contact-copy p {
  max-width: 480px;
  color: rgba(255, 255, 255, 0.72);
}

.inquiry-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 26px;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
}

.inquiry-form label {
  display: grid;
  gap: 8px;
  color: var(--charcoal);
  font-size: 14px;
  font-weight: 800;
}

.inquiry-form .wide,
.form-status {
  grid-column: 1 / -1;
}

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

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(0, 124, 122, 0.16);
  border-color: var(--teal);
}

.form-status {
  min-height: 22px;
  margin: -4px 0 0;
  color: var(--teal-dark);
  font-weight: 700;
  line-height: 1.5;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(20px, 6vw, 78px);
  color: rgba(255, 255, 255, 0.72);
  background: #111a2c;
  font-size: 14px;
}

.apply-hero {
  padding: 152px clamp(20px, 6vw, 78px) 72px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(20, 33, 61, 0.94), rgba(0, 124, 122, 0.78)),
    url("assets/faculty-hero.png") center / cover;
}

.apply-hero > div {
  max-width: 760px;
}

.apply-hero h1 {
  margin-bottom: 18px;
}

.apply-hero p:not(.eyebrow) {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(18px, 2.4vw, 23px);
  line-height: 1.5;
}

.apply-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(360px, 1.35fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
  padding: 78px clamp(20px, 6vw, 78px);
}

.apply-sidebar {
  position: sticky;
  top: 104px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.apply-sidebar h2 {
  margin-bottom: 16px;
  font-size: 26px;
}

.apply-sidebar ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.55;
}

.faculty-form {
  box-shadow: 0 18px 38px rgba(20, 33, 61, 0.08);
}

@media (max-width: 980px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .metrics,
  .service-grid,
  .timeline,
  .contact-section,
  .faculty-section,
  .apply-layout {
    grid-template-columns: 1fr 1fr;
  }

  .contact-copy,
  .apply-sidebar {
    position: static;
  }
}

@media (max-width: 680px) {
  .site-header {
    gap: 12px;
  }

  .brand {
    min-width: auto;
  }

  .header-action {
    display: none;
  }

  .hero {
    min-height: 88vh;
    padding-top: 152px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(10, 25, 43, 0.92), rgba(10, 25, 43, 0.64)),
      linear-gradient(0deg, rgba(10, 25, 43, 0.34), rgba(10, 25, 43, 0.12));
  }

  .metrics,
  .service-grid,
  .timeline,
  .contact-section,
  .faculty-section,
  .apply-layout,
  .inquiry-form {
    grid-template-columns: 1fr;
  }

  .section,
  .band,
  .contact-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .service-card,
  .timeline li {
    min-height: auto;
  }

  .site-footer {
    flex-direction: column;
  }
}
