:root {
  --ink: #30243f;
  --muted: #655b70;
  --purple: #7657a8;
  --purple-dark: #4c2f78;
  --purple-light: #eee8f7;
  --gold: #f5b642;
  --teal: #55b6a8;
  --paper: #fff;
  --soft: #f7f4fa;
  --line: #ded6e7;
  --shadow: 0 18px 50px rgba(60, 38, 84, .14);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 10px 16px; background: #fff; border-radius: 8px; }
.skip-link:focus { top: 16px; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.site-header { position: relative; z-index: 20; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 94px; display: flex; align-items: center; gap: 30px; }
.brand { display: block; width: min(335px, 52vw); margin-right: auto; }
.brand img { width: 100%; }
.menu-toggle { display: none; border: 0; background: var(--purple-light); color: var(--purple-dark); padding: 10px 13px; border-radius: 10px; font-weight: 800; }
.primary-nav { display: flex; align-items: center; gap: 7px; }
.primary-nav a { padding: 11px 13px; border-radius: 999px; color: var(--ink); font-size: .91rem; font-weight: 750; text-decoration: none; white-space: nowrap; }
.primary-nav a:hover, .primary-nav a:focus-visible, .primary-nav a[aria-current="page"] { background: var(--purple-light); color: var(--purple-dark); }

.ribbon { height: clamp(118px, 14vw, 210px); background: url("assets/study-ribbon.webp") center 48% / cover no-repeat; }
.hero { position: relative; min-height: clamp(520px, 64vw, 720px); display: grid; align-items: center; overflow: hidden; background: #e8e2ed; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url("assets/study-hero.webp") 66% center / cover no-repeat; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(43,27,61,.95) 0%, rgba(67,43,91,.88) 38%, rgba(67,43,91,.2) 65%, transparent 82%); }
.hero-copy { width: min(650px, 57%); padding-block: 72px; color: #fff; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 13px; color: var(--gold); font-size: .83rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 34px; height: 3px; border-radius: 3px; background: currentColor; }
h1, h2, h3 { line-height: 1.12; margin-top: 0; }
h1 { margin-bottom: 20px; font-size: clamp(2.7rem, 6.5vw, 5.7rem); letter-spacing: -.055em; }
.hero p { margin: 0 0 30px; max-width: 600px; font-size: clamp(1.05rem, 2vw, 1.32rem); }
.button-row { display: flex; flex-wrap: wrap; gap: 13px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 21px; border: 2px solid transparent; border-radius: 999px; background: var(--purple); color: #fff; font-weight: 850; text-decoration: none; transition: transform .2s, background .2s; }
.button:hover, .button:focus-visible { transform: translateY(-2px); background: var(--purple-dark); }
.button.gold { background: var(--gold); color: #32213f; }
.button.ghost { border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.08); }

.section { padding: clamp(68px, 8vw, 112px) 0; }
.section.soft { background: var(--soft); }
.section-heading { max-width: 760px; margin-bottom: 42px; }
.section-heading h2 { margin-bottom: 14px; font-size: clamp(2.1rem, 4vw, 3.6rem); letter-spacing: -.035em; }
.section-heading p { margin: 0; color: var(--muted); font-size: 1.1rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 8px 30px rgba(60,38,84,.07); }
.card-number { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 22px; border-radius: 15px; background: var(--purple-light); color: var(--purple-dark); font-weight: 900; }
.card h3 { margin-bottom: 9px; font-size: 1.3rem; }
.card p { margin: 0; color: var(--muted); }
.subjects { display: flex; flex-wrap: wrap; gap: 10px; }
.subjects span { padding: 10px 15px; border: 1px solid #cfc2df; border-radius: 999px; background: #fff; color: var(--purple-dark); font-weight: 750; }

.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(38px, 7vw, 88px); }
.split img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow); }
.split h2 { margin-bottom: 18px; font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -.04em; }
.check-list { padding: 0; margin: 25px 0 0; list-style: none; }
.check-list li { position: relative; padding: 8px 0 8px 34px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 7px; width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; background: var(--teal); color: #fff; font-size: .78rem; font-weight: 900; }
.cta { padding: 48px; border-radius: 30px; background: linear-gradient(135deg, var(--purple-dark), #8568b5); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta h2 { margin-bottom: 8px; font-size: clamp(1.9rem, 4vw, 3rem); }
.cta p { margin: 0; color: #eee7f5; }

.page-hero { padding: clamp(70px, 10vw, 128px) 0; background: linear-gradient(135deg, #38214f, #7657a8); color: #fff; }
.page-hero .container { max-width: 960px; }
.page-hero h1 { margin-bottom: 17px; font-size: clamp(2.7rem, 6vw, 5rem); }
.page-hero p { max-width: 740px; margin: 0; color: #eee8f4; font-size: 1.2rem; }
.prose { max-width: 820px; }
.prose h2 { margin: 48px 0 13px; font-size: 2rem; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--muted); }
.notice { padding: 24px; border-left: 5px solid var(--gold); border-radius: 0 14px 14px 0; background: #fff8e7; }
.timeline { display: grid; gap: 18px; }
.milestone { display: grid; grid-template-columns: 132px 1fr; gap: 22px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.status-pill { align-self: start; padding: 7px 11px; border-radius: 999px; background: var(--purple-light); color: var(--purple-dark); text-align: center; font-size: .78rem; font-weight: 850; text-transform: uppercase; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 24px; }
.contact-card { padding: 30px; border-radius: var(--radius); background: var(--soft); }
.contact-card a { color: var(--purple-dark); font-weight: 800; }
.field { display: grid; gap: 7px; margin-bottom: 17px; }
.field label { font-weight: 800; }
.field input, .field textarea, .field select { width: 100%; padding: 13px 14px; border: 1px solid #bfb3c9; border-radius: 11px; background: #fff; }
.field textarea { min-height: 140px; resize: vertical; }
.form-note { color: var(--muted); font-size: .9rem; }

.site-footer { padding: 50px 0 26px; background: #24172f; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 40px; }
.footer-brand { width: 280px; max-width: 100%; filter: brightness(0) invert(1); opacity: .95; }
.site-footer h2 { font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-links { display: grid; gap: 8px; }
.footer-links a { color: #ddd2e7; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 42px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.17); color: #c9bdcf; font-size: .9rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #fff; font-weight: 750; }

@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .primary-nav { position: absolute; left: 20px; right: 20px; top: calc(100% + 1px); display: none; padding: 13px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
  .primary-nav.open { display: grid; }
  .primary-nav a { padding: 12px 15px; }
  .hero-copy { width: 68%; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .split img { max-height: 530px; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 28px, 1180px); }
  .header-inner { min-height: 76px; }
  .brand { width: 245px; max-width: calc(100% - 65px); }
  .ribbon { height: 104px; }
  .hero { min-height: 700px; align-items: end; }
  .hero::before { background-position: 69% center; }
  .hero::after { background: linear-gradient(0deg, rgba(43,27,61,.98) 0%, rgba(43,27,61,.9) 48%, rgba(43,27,61,.18) 80%); }
  .hero-copy { width: 100%; padding: 300px 0 48px; }
  h1 { font-size: clamp(2.65rem, 14vw, 4rem); }
  .button-row, .button { width: 100%; }
  .grid-3 { grid-template-columns: 1fr; }
  .section { padding: 62px 0; }
  .cta { padding: 30px 24px; display: block; }
  .cta .button { margin-top: 22px; }
  .footer-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-bottom { display: grid; }
  .milestone { grid-template-columns: 1fr; gap: 10px; }
  .status-pill { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
