:root {
  --ink: #111827;
  --ink-soft: #334155;
  --muted: #667085;
  --paper: #fbf7ef;
  --surface: #ffffff;
  --cream: #fffdf8;
  --gold: #c58b2e;
  --rose: #cf3359;
  --plum: #57274f;
  --teal: #0f766e;
  --sage: #dfe8d8;
  --line: rgba(17, 24, 39, 0.12);
  --shadow: 0 24px 70px rgba(17, 24, 39, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px clamp(18px, 5vw, 64px);
  background: rgba(251, 247, 239, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

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

.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.brand span {
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 750;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
}

.site-nav a:hover {
  background: rgba(197, 139, 46, 0.12);
  color: var(--ink);
}

.site-nav .nav-cta {
  color: #ffffff;
  background: var(--ink);
}

.site-nav .nav-cta:hover {
  color: #ffffff;
  background: var(--teal);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(320px, 1.08fr) minmax(300px, 0.72fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: stretch;
  min-height: calc(78vh - 71px);
  padding: clamp(28px, 5vw, 52px) clamp(18px, 5vw, 64px) clamp(28px, 4vw, 42px);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255, 253, 248, 0.68), rgba(251, 247, 239, 0.2)),
    repeating-linear-gradient(135deg, rgba(17, 24, 39, 0.035) 0 1px, transparent 1px 18px);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 900px;
}

.eyebrow,
.section-label,
.program-type {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: Fraunces, Georgia, serif;
  line-height: 1.02;
}

h1 {
  max-width: 980px;
  margin-bottom: 20px;
  font-size: clamp(2.7rem, 5.4vw, 5rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.15rem, 4.7vw, 4.7rem);
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.55rem, 2.5vw, 2.35rem);
  line-height: 1.08;
}

.hero-lede {
  max-width: 720px;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 850;
  text-decoration: none;
}

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

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

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.hero-panel {
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 460px;
  overflow: hidden;
  border: 1px solid rgba(197, 139, 46, 0.32);
  border-radius: 8px;
  background: var(--cream);
  box-shadow: var(--shadow);
}

.seal {
  display: grid;
  place-items: center;
  min-height: 0;
  padding: clamp(18px, 4vw, 40px);
  background:
    linear-gradient(180deg, rgba(197, 139, 46, 0.08), rgba(15, 118, 110, 0.08)),
    #ffffff;
}

.seal img {
  width: min(100%, 360px);
  max-height: 320px;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(17, 24, 39, 0.14));
}

.focus-list {
  border-top: 1px solid var(--line);
}

.focus-list div {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}

.focus-list div:last-child {
  border-bottom: 0;
}

.focus-list span {
  color: var(--gold);
  font-weight: 850;
}

.focus-list strong {
  font-size: 1.03rem;
}

.impact-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--ink);
  color: #ffffff;
}

.impact-strip div {
  min-height: 138px;
  padding: 28px clamp(18px, 4vw, 48px);
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.impact-strip div:last-child {
  border-right: 0;
}

.impact-strip strong {
  display: block;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(2.25rem, 4.2vw, 3.8rem);
  line-height: 1;
}

.impact-strip span {
  display: block;
  max-width: 290px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 650;
}

.section {
  scroll-margin-top: 88px;
  padding: clamp(62px, 8vw, 118px) clamp(18px, 5vw, 64px);
}

.mission-grid,
.work-top,
.program-list,
.team-grid,
.contact-panel {
  max-width: 1180px;
  margin: 0 auto;
}

.mission-grid,
.team-grid,
.contact-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(280px, 1.05fr);
  gap: clamp(28px, 7vw, 86px);
  align-items: start;
}

.mission-grid p,
.work-top p,
.team-grid p,
.contact-panel p,
.program-copy p {
  color: var(--muted);
}

.mission-grid p {
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
}

.registration-note {
  scroll-margin-top: 88px;
  display: grid;
  grid-template-columns: minmax(220px, 0.36fr) minmax(280px, 0.64fr);
  gap: 1px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(18px, 5vw, 64px) clamp(60px, 7vw, 96px);
}

.registration-note div {
  padding: 20px 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
}

.registration-note span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.registration-note strong {
  display: block;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.work {
  background: var(--surface);
}

.work-top {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(260px, 0.55fr);
  gap: 42px;
  align-items: end;
  margin-bottom: 34px;
}

.work-top p {
  font-size: 1.08rem;
}

.program-list {
  display: grid;
  gap: 18px;
}

.program-feature {
  display: grid;
  grid-template-columns: minmax(240px, 0.42fr) minmax(280px, 0.58fr);
  min-height: 310px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.program-feature:nth-child(even) .program-media {
  order: 2;
}

.program-media {
  display: grid;
  place-items: center;
  min-height: 310px;
  padding: clamp(24px, 5vw, 46px);
  background: #f7f3eb;
}

.program-media img {
  width: min(100%, 300px);
  max-height: 240px;
  object-fit: contain;
}

.mau .program-media {
  background: #fff2f5;
}

.edu .program-media {
  background: #e8f4f2;
}

.hirkani .program-media {
  background: #f7efe0;
}

.text-mark span {
  display: grid;
  place-items: center;
  width: min(70vw, 220px);
  aspect-ratio: 1;
  border-radius: 50%;
  color: #ffffff;
  background: var(--plum);
  font-family: Fraunces, Georgia, serif;
  font-size: 7rem;
  line-height: 1;
}

.program-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 56px);
}

.program-copy p {
  max-width: 560px;
}

.metric {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 12px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: var(--cream);
  font-size: 0.9rem;
  font-weight: 800;
}

.quote-band {
  padding: clamp(52px, 8vw, 92px) clamp(18px, 5vw, 64px);
  color: #ffffff;
  background: var(--teal);
}

.quote-band div {
  max-width: 1180px;
  margin: 0 auto;
}

.quote-band p {
  max-width: 920px;
  margin: 0;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(2rem, 4.4vw, 4.4rem);
  line-height: 1.08;
}

.team-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 40px rgba(17, 24, 39, 0.08);
}

.team-card h3,
.team-card p {
  margin: 0;
}

.avatar {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  color: #ffffff;
  background: var(--ink);
  font-weight: 850;
}

.contact {
  padding-top: 0;
}

.contact-panel {
  align-items: center;
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.email-link {
  justify-self: end;
  color: var(--rose);
  font-size: clamp(1.15rem, 3vw, 2rem);
  font-weight: 850;
  overflow-wrap: anywhere;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 5vw, 64px);
  color: rgba(255, 255, 255, 0.78);
  background: var(--ink);
  font-weight: 750;
}

.site-footer div {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.site-footer img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

@media (max-width: 960px) {
  .nav-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 14px;
  }

  .hero,
  .mission-grid,
  .work-top,
  .team-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-panel {
    min-height: 0;
  }

  .seal img {
    max-height: 300px;
  }

  .impact-strip {
    grid-template-columns: 1fr;
  }

  .impact-strip div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .program-feature,
  .program-feature:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .program-feature:nth-child(even) .program-media {
    order: 0;
  }

  .program-media {
    min-height: 240px;
  }

  .email-link {
    justify-self: start;
  }

  .registration-note {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .brand span {
    max-width: 180px;
    white-space: normal;
    line-height: 1.1;
  }

  h1 {
    font-size: 2.8rem;
  }

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

  .focus-list div {
    grid-template-columns: 42px 1fr;
    padding-inline: 18px;
  }

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