:root {
  color-scheme: light;
  --ink: #18201d;
  --muted: #5e6964;
  --line: #dfe8e2;
  --paper: #fbfcf8;
  --soft: #edf4ea;
  --green: #1f6f54;
  --green-dark: #124536;
  --gold: #d99f2b;
  --coral: #c95d4b;
  --sky: #d7edf5;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(28, 49, 38, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    "Noto Sans SC",
    "Microsoft YaHei",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.65;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

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

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(251, 252, 248, 0.94);
  box-shadow: 0 10px 36px rgba(14, 26, 21, 0.09);
  color: var(--ink);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  font-size: 20px;
  font-weight: 800;
}

.site-header.is-scrolled .brand-mark,
.site-header.is-open .brand-mark {
  border-color: rgba(31, 111, 84, 0.25);
  background: var(--green);
  color: var(--white);
}

.brand strong {
  display: block;
  font-size: 18px;
  letter-spacing: 0;
}

.brand small {
  display: block;
  color: currentColor;
  font-size: 11px;
  opacity: 0.76;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
  font-size: 15px;
  font-weight: 600;
}

.site-nav a {
  position: relative;
  padding: 7px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: 152px clamp(18px, 6vw, 88px) 44px;
  color: var(--white);
}

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 31, 24, 0.84), rgba(9, 31, 24, 0.42) 48%, rgba(9, 31, 24, 0.18)),
    linear-gradient(0deg, rgba(9, 31, 24, 0.72), rgba(9, 31, 24, 0.04) 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  padding-bottom: clamp(18px, 5vw, 76px);
}

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

.eyebrow.dark {
  color: var(--green);
}

.hero h1 {
  margin: 0;
  font-size: clamp(58px, 11vw, 138px);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-copy {
  width: min(620px, 100%);
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 12px 22px;
  cursor: pointer;
  font-weight: 800;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--gold);
  color: #1f1a0f;
  box-shadow: 0 16px 34px rgba(111, 77, 11, 0.22);
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.button.wide {
  width: 100%;
}

.hero-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(790px, 100%);
  margin-left: auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(18px);
}

.hero-panel div {
  min-height: 112px;
  padding: 22px;
  background: rgba(7, 35, 27, 0.28);
}

.hero-panel strong {
  display: block;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
}

.hero-panel span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.section {
  padding: clamp(70px, 9vw, 124px) clamp(18px, 6vw, 88px);
}

.section-heading {
  width: min(860px, 100%);
  margin-bottom: 38px;
}

.section-heading.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: 40px;
  width: 100%;
  align-items: end;
}

.section-heading h2,
.team-copy h2,
.cta h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.team-copy p,
.cta p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

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

.intro-grid article,
.program-card,
.case-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 34px rgba(32, 58, 46, 0.06);
}

.intro-grid article {
  min-height: 240px;
  padding: clamp(24px, 3vw, 34px);
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--sky);
  color: var(--green-dark);
  font-weight: 900;
}

h3 {
  margin: 24px 0 10px;
  font-size: 22px;
  line-height: 1.25;
}

.intro-grid p,
.program-card p,
.case-card p,
.timeline p {
  margin: 0;
  color: var(--muted);
}

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

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

.program-card {
  min-height: 250px;
  padding: 28px;
}

.program-card.featured {
  grid-column: span 2;
  grid-row: span 2;
  display: grid;
  min-height: 520px;
  overflow: hidden;
  padding: 0;
}

.program-card.featured img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.program-card.featured div {
  padding: 30px;
}

.label,
.tag {
  color: var(--coral);
  font-size: 13px;
  font-weight: 900;
}

.program-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-size: 22px;
  font-weight: 900;
}

.assessment {
  background: var(--paper);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}

.timeline article {
  min-height: 280px;
  padding: 30px;
  border-right: 1px solid var(--line);
}

.timeline article:last-child {
  border-right: 0;
}

.timeline span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: var(--green-dark);
  color: var(--white);
  font-weight: 900;
}

.team {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.8fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
  background: var(--green-dark);
}

.team-media {
  overflow: hidden;
  border-radius: var(--radius);
}

.team-media img {
  width: 100%;
  height: min(620px, 70vh);
  object-fit: cover;
}

.team-copy {
  color: var(--white);
}

.team-copy .eyebrow.dark {
  color: var(--gold);
}

.team-copy p {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.78);
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: rgba(255, 255, 255, 0.9);
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

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

.case-card {
  min-height: 245px;
  padding: 30px;
}

.case-card h3 {
  margin-top: 12px;
}

.cta {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 0.58fr);
  gap: clamp(34px, 6vw, 80px);
  align-items: start;
  padding: clamp(70px, 10vw, 132px) clamp(18px, 6vw, 88px);
  background:
    linear-gradient(135deg, rgba(18, 69, 54, 0.92), rgba(31, 111, 84, 0.86)),
    url("https://images.unsplash.com/photo-1577896851231-70ef18881754?auto=format&fit=crop&w=1800&q=82");
  background-position: center;
  background-size: cover;
  color: var(--white);
}

.cta p {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.8);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  outline: 0;
  padding: 12px 13px;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(217, 159, 43, 0.24);
}

.site-footer {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  background: #0d1f18;
  color: var(--white);
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 6vw, 88px);
}

.footer-brand p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.64);
}

.footer-links {
  display: flex;
  gap: 22px;
  color: rgba(255, 255, 255, 0.82);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px clamp(18px, 6vw, 88px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
  transition: color 180ms ease;
}

.footer-bottom a:hover {
  color: rgba(255, 255, 255, 0.85);
}

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

  .site-nav {
    position: absolute;
    top: 100%;
    left: 18px;
    right: 18px;
    display: none;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
    color: var(--ink);
  }

  .site-header.is-open .site-nav {
    display: grid;
  }

  .section-heading.split,
  .team,
  .cta {
    grid-template-columns: 1fr;
  }

  .intro-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }

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

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

  .timeline article:nth-child(2) {
    border-right: 0;
  }

  .timeline article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 92vh;
    padding: 118px 16px 24px;
  }

  .hero-content {
    padding-bottom: 20px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-panel,
  .program-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .hero-panel div {
    min-height: 88px;
  }

  .program-card.featured {
    grid-column: span 1;
    min-height: 0;
  }

  .timeline article {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .timeline article:last-child {
    border-bottom: 0;
  }

  .site-footer {
    display: grid;
  }

  .footer-main {
    display: grid;
  }

  .footer-links {
    flex-wrap: wrap;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }
}
