/* ==========================================================================
   Hanku — main stylesheet
   Sections: 1 Fonts · 2 Tokens · 3 Reset/base · 4 Layout · 5 Buttons
             6 Header · 7 Footer · 8 Components · 9 Forms · 10 Responsive
   ========================================================================== */

/* 1. Fonts ---------------------------------------------------------------- */

@font-face {
  font-family: "Garet";
  src: url("../fonts/Garet-Book.woff2") format("woff2"),
       url("../fonts/Garet-Book.woff") format("woff"),
       url("../fonts/Garet-Book.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Garet Heavy";
  src: url("../fonts/Garet-Heavy.woff2") format("woff2"),
       url("../fonts/Garet-Heavy.woff") format("woff"),
       url("../fonts/Garet-Heavy.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Bricolage Grotesque is a variable font: one file covers 300–600. */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-stretch: 100%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-latin-ext.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-stretch: 100%;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* 2. Tokens --------------------------------------------------------------- */

:root {
  /* Palette */
  --white: #ffffff;
  --grey-100: #f4f4f4;
  --grey-200: #e6e6e6;
  --grey-300: #e0e0e0;
  --purple: #8a2be2;
  --blue: #0047ab;
  --ink: #1a1a1a;

  --body-color: var(--ink);
  --heading-color: var(--ink);
  --link-color: var(--purple);
  --link-hover-color: var(--ink);
  --rule: var(--grey-300);

  /* Type */
  --font-heading: "Garet", "Trebuchet MS", Arial, sans-serif;
  --font-body: "Bricolage Grotesque", Arial, Helvetica, sans-serif;

  --fs-body: 17px;
  --lh-body: 1.7;
  --ls-body: -0.010em;

  --lh-heading: 1.3;
  --ls-heading: -0.015em;

  --fs-h1: 45px;
  --fs-h2: 42px;
  --fs-h3: 34px;
  --fs-h4: 28px;
  --fs-h5: 24px;
  --fs-h6: 18px;

  /* Surfaces */
  --gradient: linear-gradient(180deg, var(--purple) 0%, var(--blue) 100%);
  --gradient-hover: linear-gradient(180deg, #5f1e9c 0%, #002d6d 100%);
  --card-shadow: 0 2px 18px rgba(26, 26, 26, 0.08);

  /* Rhythm */
  --gutter: 30px;
  --gutter-wide: 72px;
  --section-y: 80px;
  --max-width: 1380px;
}

/* 3. Reset / base --------------------------------------------------------- */

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--body-color);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 300;
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
video { max-width: 100%; height: auto; display: block; }

a { color: var(--link-color); text-decoration: none; }
a:hover { color: var(--link-hover-color); }

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.6em;
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-heading);
  color: var(--heading-color);
  text-transform: capitalize;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
h5 { font-size: var(--fs-h5); line-height: 1.4; }
h6 { font-size: var(--fs-h6); line-height: 1.4; }

p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1.2em; padding-left: 1.4em; }
li { margin-bottom: 0.4em; }

hr { border: 0; border-top: 1px solid var(--rule); margin: 40px 0; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--white);
}
.skip-link:focus { left: 0; color: var(--white); }

:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* 4. Layout --------------------------------------------------------------- */

.section { padding: var(--section-y) var(--gutter); }
.section--flush { padding-top: 0; }
.section--flush-bottom { padding-bottom: 0; }
.section--grey { background: var(--grey-200); }
.section--dark { background: var(--ink); color: var(--white); }
.section--tight { padding-top: 50px; padding-bottom: 50px; }
.section--course { padding-top: 50px; padding-bottom: 40px; }

/* “Why Enroll Now?” — off-center split with a flush-right image. */
.section--enroll { padding-left: 62px; padding-right: var(--gutter); }
.section--enroll > .container { max-width: none; }
.enroll-grid {
  display: grid;
  grid-template-columns: 548fr 726fr;
  gap: 74px;
  align-items: start;
}
.enroll-grid img { width: 100%; height: 484px; object-fit: cover; }
.section--inset { padding-left: var(--gutter-wide); padding-right: var(--gutter-wide); }
.section--inset > .container { max-width: 1220px; }

.container { width: 100%; max-width: var(--max-width); margin: 0 auto; }
.container--narrow { max-width: 1120px; }

.grid { display: grid; gap: 40px; }
.grid--cards { gap: 52px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }

.text-center { text-align: center; }
.stack > * + * { margin-top: 24px; }

.eyebrow {
  font-family: var(--font-heading);
  font-size: 19px;
  line-height: 1.1;
  letter-spacing: -0.010em;
  text-transform: capitalize;
  color: var(--ink);
  margin: 0 0 12px;
}
.eyebrow--purple { color: var(--purple); }

/* 5. Buttons -------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 23px 36px;
  border: 0;
  border-radius: 8px;
  background-image: var(--gradient);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.010em;
  text-transform: capitalize;
  cursor: pointer;
  transition: background-image 0.2s ease;
}
.btn:hover { background-image: var(--gradient-hover); color: var(--white); }

.btn--nav { padding: 16px 40px; }         /* header CTA */
.btn--sm { padding: 15px 26px; font-size: 15px; }
.btn--block { display: flex; width: 100%; }
.btn--square { border-radius: 0; }
.btn--wide { padding-left: 105px; padding-right: 105px; }   /* page-closing CTA */

/* 6. Header --------------------------------------------------------------- */

.topbar {
  background: var(--ink);
  color: var(--white);
  padding: 16px var(--gutter-wide);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.topbar__contact { display: flex; align-items: center; gap: 28px; }
.topbar__link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.010em;
}
.topbar__link:hover { color: var(--purple); }
.topbar__link svg { width: 15px; height: 15px; flex: none; }

.social { display: flex; align-items: center; gap: 8px; }
.social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 4px;
  background: #2b2b2b;
  color: var(--white);
  transition: background 0.2s ease;
}
.social__link:hover { background: var(--purple); color: var(--white); }
.social__link svg { width: 13px; height: 13px; fill: currentColor; }

.masthead {
  background: var(--white);
  padding: 0 116px 0 var(--gutter-wide);
  position: relative;
  z-index: 50;
}
.masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 141px;
}
.masthead__logo { display: inline-flex; flex: none; }
.masthead__logo img { width: 80px; height: auto; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav__list {
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav__list li { margin: 0; }
.nav__link {
  display: inline-block;
  padding-bottom: 6px;
  border-bottom: 1px solid transparent;
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.010em;
  text-transform: capitalize;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.nav__link:hover { color: var(--purple); }
.nav__link[aria-current="page"] { border-bottom-color: var(--purple); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle svg { width: 26px; height: 26px; margin: 0 auto; }

/* 7. Footer --------------------------------------------------------------- */

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.6);
  padding: 32px var(--gutter-wide) 40px;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  padding: 0 38px;
}
.site-footer h2 {
  display: inline-block;
  margin: 0 0 26px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  color: var(--white);
  font-size: 18px;
  line-height: 1.4;
}
.site-footer p { margin: 0 0 18px; font-size: 15px; }
.site-footer a { color: rgba(255, 255, 255, 0.85); }
.site-footer a:hover { color: var(--white); }
.site-footer .site-footer__phone {
  font-family: var(--font-heading);
  font-size: 24px;
  line-height: 1.4;
  color: var(--white);
}
.site-footer__phone a { color: var(--white); }
.site-footer__menu { margin: 0; padding: 0; list-style: none; }
.site-footer__menu li { margin: 0 0 20px; line-height: 1; }
.site-footer__menu a { font-size: 16px; }
.site-footer__menu a[aria-current="page"] { color: rgba(255, 255, 255, 0.4); }

.site-footer__social {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 40px;
  padding: 0 38px;
}
.site-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--purple);
  color: var(--white);
}
.site-footer__social a:hover { background: var(--blue); }
.site-footer__social svg { width: 16px; height: 16px; fill: currentColor; }

.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 6px;
  background: rgba(26, 26, 26, 0.7);
  color: var(--white);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.to-top.is-visible { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--purple); }

/* 8. Components ----------------------------------------------------------- */

/* 8.1 Hero — full-bleed video/image */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding: 96px var(--gutter) 148px;
  overflow: hidden;
  text-align: center;
  color: var(--white);
}
.hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero__overlay { position: absolute; inset: 0; z-index: 0; }
.hero__overlay--dark {
  background: linear-gradient(20deg, rgba(13, 13, 13, 0.8) 30%, rgba(13, 13, 13, 0) 60%);
}
.hero__overlay--blue {
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.77) 15%, #0047ab 98%);
}
.hero__overlay--purple {
  background: linear-gradient(180deg, rgba(26, 26, 26, 0.92) 0%, var(--purple) 100%);
}
.hero__inner { position: relative; z-index: 1; width: 100%; max-width: 1220px; }
/* Sits flush on top of the headline — no gap, matching the live site. */
.hero__mark { width: 100px; height: auto; margin: 0 auto; }
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero__lead { font-size: 19px; margin-bottom: 36px; }
.hero__kicker {
  margin: 99px 0 57px;
  font-family: var(--font-heading);
  font-size: 18px;
  text-transform: capitalize;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 26px; justify-content: center; }

/* 8.2 Hero — flat color band */
.hero--band { min-height: 560px; background: #06255f; }
.hero--compact { min-height: 0; padding: 60px var(--gutter); }
.hero--compact .hero__kicker { margin: 75px 0 60px; }
.hero--band h1 { max-width: 1100px; margin-inline: auto; }
.hero--purple { min-height: 300px; background: var(--ink); }
.hero--short { min-height: 300px; padding: 70px var(--gutter) 90px; }

/* 8.3 Hero — split (course pages) */
.hero-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.hero-split__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 26px;
  min-height: 400px;
  padding: 60px 40px;
  background: linear-gradient(160deg, #1c0b2e 0%, #4b1782 45%, #8a2be2 100%);
  text-align: center;
  color: var(--white);
}
.hero-split__text h1,
.hero-split__text h2 { color: var(--white); margin: 0; font-size: var(--fs-h4); }
.hero-split__text p { margin: 0; }
.hero-split__subtitle {
  font-family: var(--font-heading);
  font-size: 32px;
  line-height: 1.3;
  letter-spacing: var(--ls-heading);
  text-transform: capitalize;
}
.is-muted { color: rgba(255, 255, 255, 0.62); }
.hero-split__media { position: relative; min-height: 400px; background: var(--ink); }
.hero-split__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-split__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  padding: 40px;
  background: var(--white);
}
.hero-split__logos img { width: 100%; max-width: 660px; }

/* 8.4 Course cards */
.course-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  box-shadow: var(--card-shadow);
}
.course-card__title {
  margin: 0;
  padding: 26px 24px 18px;
  color: var(--purple);
  font-size: 22px;
  line-height: 1.3;
}
.course-card__media { display: block; }
.course-card__media img { width: 100%; aspect-ratio: 412 / 320; object-fit: cover; }
.course-card__cta { border-radius: 0; }
.course-card__body { padding: 26px 24px 34px; }

/* 8.5 Checklist */
.checklist { margin: 0; padding: 0; list-style: none; }
.checklist li {
  position: relative;
  margin: 0 0 14px;
  padding-left: 41px;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  background: var(--purple)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3E%3Cpath d='M6.2 11.8 2.6 8.2l1.1-1.1 2.5 2.4 6-6 1.1 1.2z'/%3E%3C/svg%3E")
    center / 15px 15px no-repeat;
}
.sub-list { margin: 10px 0 0; padding-left: 1.2em; list-style: disc; }
.sub-list li { margin-bottom: 4px; }

.checklist--inline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 90px;
}
.checklist--inline li { margin: 0; font-family: var(--font-heading); font-size: 24px; }
.checklist--inline li::before { top: 0.25em; }

/* 8.6 Accordion */
.accordion { border-top: 1px solid var(--rule); }
.accordion + .accordion { border-top: 0; }
.accordion--boxed { border: 1px solid var(--rule); padding: 0 16px; }
.accordion__item { border-bottom: 1px solid var(--rule); }
.accordion__trigger {
  display: flex;
  align-items: center;
  gap: 22px;
  width: 100%;
  padding: 14px 0;
  border: 0;
  background: none;
  color: var(--heading-color);
  font-family: var(--font-heading);
  font-size: 28px;
  line-height: 1.3;
  letter-spacing: var(--ls-heading);
  text-align: left;
  text-transform: capitalize;
  cursor: pointer;
}
.accordion__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 26px;
  height: 26px;
  background: var(--ink);
  color: var(--white);
  transition: background 0.2s ease;
}
.accordion__trigger[aria-expanded="true"] .accordion__icon { background: var(--blue); }
.accordion__icon svg { width: 13px; height: 13px; transition: transform 0.25s ease; }
.accordion__trigger[aria-expanded="true"] .accordion__icon svg { transform: rotate(180deg); }
.accordion__trigger--sm { font-family: var(--font-body); font-size: 17px; font-weight: 300; }
.accordion__icon--sm { width: 30px; height: 30px; }
.accordion__panel { display: none; padding: 6px 0 30px; }
.accordion__panel.is-open { display: block; }

/* 8.7 News list */
.news-card {
  background: var(--white);
  padding: 34px 34px 30px;
  margin-bottom: 30px;
}
.news-card:last-child { margin-bottom: 0; }
.news-card h3 { margin: 0 0 14px; font-size: 28px; }
.news-card h3 a { color: var(--heading-color); }
.news-card h3 a:hover { color: var(--purple); }
.news-card__more { font-weight: 400; }

/* 8.8 Bordered feature panel */
.panel { border: 1px solid var(--ink); padding: 34px 32px 40px; }
.panel h2 { margin-bottom: 24px; }

/* 8.9 Tables */
.table-wrap { overflow-x: auto; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}
th, td {
  padding: 18px 22px;
  border: 1px solid var(--rule);
  text-align: center;
  vertical-align: middle;
}
th { background: var(--grey-100); font-weight: 400; text-transform: capitalize; }
.table--left th, .table--left td { text-align: left; }

/* 8.10 Offset image frame (corporate page) */
.media-fill img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 566 / 652; }

/* Square frame holding a portrait crop with decorative stepped notches. */
.image-notched { position: relative; aspect-ratio: 1 / 1; }
.image-notched img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: inset(0 14.7% 5.2% 14.4%);
}
.image-notched span {
  position: absolute;
  background: var(--white);
}

/* 8.10b Fact columns — four short labelled notes under a section */
.facts { margin-top: 40px; text-align: center; }
.facts h3 { margin: 0 0 8px; font-size: 17px; font-family: var(--font-body); font-weight: 600; text-transform: none; }
.facts p { font-size: 16px; }

/* 8.11 Contact split (dark / light panels) */
.contact-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.contact-split__panel { padding: 76px 66px 90px; background: var(--white); }
.contact-split__panel--dark { background: var(--ink); color: var(--white); }
.contact-split__panel--dark h2 { color: var(--white); }
.contact-split__panel h2 { margin-bottom: 22px; }
.contact-split__panel form { margin-top: 34px; }

/* 8.12 Utilities used by content pages */
.button-row { display: flex; flex-wrap: wrap; gap: 20px; }
.button-row--split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 620px;
}
.button-row--split .btn { text-align: center; }

.prose h2 { margin-top: 1.6em; font-size: var(--fs-h3); }
.prose h2:first-child { margin-top: 0; }
.prose > h1 + p { margin-top: 0; }
.prose ul { padding-left: 1.2em; }

.display-serif {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 54px;
  letter-spacing: 0;
  text-transform: capitalize;
}
.section--coming-soon { padding: 120px var(--gutter) 160px; }

/* 8.13 Callout — a bordered aside for a next step the reader must not miss */
.callout {
  border: 1px solid var(--rule);
  border-left: 4px solid var(--purple);
  background: var(--grey-100);
  padding: 24px 26px;
  margin: 28px 0;
}
.callout h3 { margin: 0 0 10px; font-size: 20px; }
.callout p:last-child { margin-bottom: 0; }

/* 8.14 Numbered step heading */
.step { display: flex; align-items: baseline; gap: 14px; margin: 0 0 18px; }
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--purple);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  align-self: center;
}
.step h2 { margin: 0; }

/* 8.15 Receipt banner — the post-payment confirmation */
.receipt {
  position: relative;
  padding: 76px var(--gutter) 84px;
  background: linear-gradient(160deg, #1c0b2e 0%, #4b1782 48%, var(--purple) 100%);
  color: var(--white);
  text-align: center;
  overflow: hidden;
}
.receipt::after {
  content: "";
  position: absolute;
  inset: auto -10% -60% -10%;
  height: 220px;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.16), transparent 70%);
  pointer-events: none;
}
.receipt__inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.receipt__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  margin-bottom: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.receipt__check svg { width: 32px; height: 32px; }
.receipt__eyebrow {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}
.receipt h1 { color: var(--white); margin: 0 0 16px; }
.receipt__lead { margin: 0; font-size: 19px; color: rgba(255, 255, 255, 0.88); }
.receipt__ref {
  display: inline-block;
  margin: 28px 0 0;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}
.receipt__ref code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  color: var(--white);
  word-break: break-all;
}

/* 8.16 Timeline — numbered steps joined by a rule */
.timeline { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.timeline__item { position: relative; padding: 0 0 52px 72px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 52px;
  bottom: 8px;
  width: 2px;
  background: var(--grey-300);
}
.timeline__item:last-child::before { display: none; }
.timeline__num {
  position: absolute;
  left: 0;
  top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-image: var(--gradient);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 600;
}
.timeline h2 { margin: 6px 0 14px; font-size: var(--fs-h4); }

/* 8.17 Card wrapper for a form that is the page's main action */
.action-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 30px 32px 34px;
  box-shadow: var(--card-shadow);
}

/* 9. Forms ---------------------------------------------------------------- */

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-grid .form-field--full { grid-column: 1 / -1; }

.form-field { display: block; }
.field-label {
  display: block;
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 400;
}
.field-hint { display: block; margin: 6px 0 0; font-size: 14px; color: #5f5f5f; }

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.4;
}
textarea { min-height: 140px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #8d8d8d; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--purple); }

.radio-group { margin: 6px 0 0; padding: 0; list-style: none; }
.radio-group li { margin-bottom: 4px; }
.radio-group label { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }

.form-legend { margin: 8px 0 4px; }

/* Dark form variant (home “Students and General Public”) */
.form--on-dark input,
.form--on-dark select,
.form--on-dark textarea { border-color: var(--white); }

/* Inline notify strip */
.notify {
  display: flex;
  max-width: 650px;
  margin: 0 auto;
  box-shadow: var(--card-shadow);
  background: var(--white);
}
.notify input {
  flex: 1 1 0;
  min-width: 0;
  border: 0;
  border-right: 1px solid var(--grey-300);
  border-radius: 0;
  padding: 22px 24px;
}
.notify button {
  flex: none;
  padding: 22px 32px;
  border: 0;
  border-radius: 0;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.010em;
  text-transform: capitalize;
  cursor: pointer;
}
.notify button:hover { background: var(--purple); }

/* 10. Responsive ---------------------------------------------------------- */

@media (max-width: 1200px) {
  :root { --gutter-wide: 30px; }

  .masthead { padding: 0 var(--gutter-wide); }

  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 30px 24px;
    background: var(--white);
    border-top: 1px solid var(--rule);
    box-shadow: var(--card-shadow);
  }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list li { border-bottom: 1px solid var(--rule); }
  .nav__link { display: block; padding: 16px 0; border-bottom: 0; }
  .nav__link[aria-current="page"] { color: var(--purple); }
  .nav .btn { margin-top: 20px; align-self: flex-start; }
}

@media (max-width: 1024px) {
  :root {
    --fs-h1: 38px;
    --fs-h2: 34px;
    --fs-h3: 28px;
    --fs-h4: 24px;
    --fs-h5: 21px;
    --section-y: 60px;
  }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0; }
  .site-footer__social { padding: 0; }
  .accordion__trigger { font-size: 22px; }
  .display-serif { font-size: 42px; }
  .checklist--inline { gap: 20px 48px; }
  .contact-split__panel { padding: 56px 36px 64px; }
}

@media (max-width: 782px) {
  :root { --fs-h1: 32px; --fs-h2: 28px; --fs-h3: 24px; --fs-h4: 21px; }

  .grid, .grid--2, .grid--3, .grid--split { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .hero-split { grid-template-columns: minmax(0, 1fr); }
  .contact-split { grid-template-columns: minmax(0, 1fr); }
  .contact-split__panel { padding: 50px 24px 60px; }
  .hero-split__media { min-height: 260px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); }
  .site-footer__social { justify-content: flex-start; }

  .topbar { padding: 12px var(--gutter); }
  .topbar__inner { justify-content: center; }
  .topbar__contact { gap: 18px; flex-wrap: wrap; justify-content: center; }

  .notify { flex-direction: column; }
  .notify input { border-right: 0; border-bottom: 1px solid var(--grey-300); }

  .checklist--inline { flex-direction: column; align-items: flex-start; }
  .checklist--inline li { font-size: 20px; }

  .panel { padding: 26px 22px 30px; }
  .receipt { padding: 54px var(--gutter) 60px; }
  .receipt__check { width: 56px; height: 56px; }
  .timeline__item { padding-left: 0; padding-bottom: 40px; }
  .timeline__item::before { display: none; }
  .timeline__num { position: static; margin-bottom: 14px; width: 42px; height: 42px; }
  .action-card { padding: 22px 20px 26px; }
  .display-serif { font-size: 34px; }
  .section--coming-soon { padding: 70px var(--gutter) 90px; }
  .news-card { padding: 24px 22px; }
  .image-offset { padding-left: 0; }
  .section--enroll { padding-left: var(--gutter); }
  .enroll-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .enroll-grid img { height: auto; }
  .button-row--split { grid-template-columns: minmax(0, 1fr); }
}
