:root {
  --black: #070908;
  --black-soft: #101412;
  --ink: #111513;
  --paper: #e9e8e1;
  --paper-deep: #d9d8d0;
  --yellow: #f2c400;
  --yellow-soft: #f6d849;
  --grey: #929890;
  --line-dark: rgba(255, 255, 255, 0.18);
  --line-light: rgba(17, 21, 19, 0.18);
  --shell: min(1240px, calc(100vw - 96px));
  --header-height: 84px;
  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: #fff;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }

.shell { width: var(--shell); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: 12px; z-index: 100; padding: 10px 14px; background: var(--yellow); color: var(--black); transform: translateY(-160%); transition: transform .2s ease; }
.skip-link:focus { transform: translateY(0); }

.site-progress { position: fixed; right: 0; top: 0; bottom: 0; width: 4px; z-index: 90; background: rgba(255, 255, 255, .06); }
.site-progress__bar { display: block; width: 100%; height: 0%; background: var(--yellow); transition: height .15s linear; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 34px;
  min-height: var(--header-height);
  padding: 14px 40px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  background: linear-gradient(180deg, rgba(5, 7, 6, .96), rgba(5, 7, 6, .58));
  backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.brand__words { color: #fff; font-size: 12px; letter-spacing: .17em; line-height: 1.05; white-space: nowrap; }
.brand__words strong { display: block; color: var(--yellow); font-size: 11px; letter-spacing: .2em; margin-top: 5px; }
.main-nav { display: flex; align-items: center; gap: 28px; justify-content: center; }
.main-nav a, .header-cta { position: relative; font-size: 12px; letter-spacing: .13em; text-transform: uppercase; color: rgba(255, 255, 255, .82); }
.main-nav a.is-current { color: var(--yellow); }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 1px; background: var(--yellow); transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease); }
.main-nav a:hover::after, .main-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.header-cta { justify-self: end; display: inline-flex; gap: 13px; align-items: center; padding: 13px 18px; color: #fff; border: 1px solid var(--yellow); transition: background .25s ease, color .25s ease; }
.header-cta span { color: var(--yellow); font-size: 18px; line-height: 0; }
.header-cta:hover, .header-cta:focus-visible { color: var(--black); background: var(--yellow); }
.header-cta:hover span, .header-cta:focus-visible span { color: var(--black); }
.menu-toggle { display: none; }

.section-dark { background: var(--black); color: #fff; }
.section-light { background: var(--paper); color: var(--ink); }
.eyebrow { margin: 0 0 20px; font-size: 11px; line-height: 1; letter-spacing: .22em; font-weight: 700; color: var(--yellow); text-transform: uppercase; }
.eyebrow--dark { color: #6d746d; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 400; }
h1 em, h2 em { color: var(--yellow); font-style: normal; }
h2 { margin-bottom: 28px; font-size: clamp(42px, 6vw, 88px); line-height: .95; letter-spacing: -.045em; }
h3 { line-height: 1.04; letter-spacing: -.025em; }
.lead { font-size: clamp(19px, 2vw, 27px); line-height: 1.25; letter-spacing: -.018em; }
.section-heading { display: flex; justify-content: space-between; gap: 40px; align-items: end; padding-top: 150px; padding-bottom: 48px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading__note { max-width: 330px; margin: 0 0 7px; color: var(--grey); font-size: 15px; }

.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; isolation: isolate; overflow: hidden; }
.hero__image { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.75) contrast(1.08); transform: scale(1.04); animation: hero-drift 14s ease-in-out infinite alternate; }
.hero__veil { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(5, 7, 6, .94) 0%, rgba(5, 7, 6, .48) 48%, rgba(5, 7, 6, .18) 100%), linear-gradient(0deg, rgba(5, 7, 6, .93), transparent 46%, rgba(5, 7, 6, .34)); }
.hero__content { padding-top: 150px; }
.hero h1 { max-width: 890px; margin: 0 0 28px; font-size: clamp(58px, 9vw, 132px); line-height: .86; letter-spacing: -.075em; }
.hero__intro { max-width: 440px; margin-bottom: 30px; color: rgba(255, 255, 255, .78); font-size: 19px; line-height: 1.35; }
.hero__actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 17px; min-height: 50px; padding: 13px 20px; border: 1px solid transparent; font-size: 12px; line-height: 1; letter-spacing: .16em; text-transform: uppercase; transition: transform .25s var(--ease), background .25s ease, color .25s ease, border-color .25s ease; }
.button span { font-size: 18px; line-height: 0; letter-spacing: 0; }
.button:hover, .button:focus-visible { transform: translateY(-3px); }
.button--yellow { background: var(--yellow); color: var(--black); }
.button--yellow:hover, .button--yellow:focus-visible { background: #fff; }
.button--outline { border-color: var(--line-dark); color: #fff; }
.button--outline:hover, .button--outline:focus-visible { border-color: var(--yellow); color: var(--yellow); }
.button--dark { background: var(--black); color: #fff; }
.text-link, .dark-link { display: inline-flex; gap: 12px; align-items: center; width: max-content; padding-bottom: 7px; border-bottom: 1px solid currentColor; font-size: 12px; letter-spacing: .15em; text-transform: uppercase; transition: color .25s ease, gap .25s ease; }
.text-link:hover, .text-link:focus-visible, .dark-link:hover, .dark-link:focus-visible { color: var(--yellow); gap: 18px; }
.dark-link { color: var(--ink); }
.hero__bottom { position: absolute; bottom: 30px; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; color: rgba(255, 255, 255, .58); font-size: 10px; letter-spacing: .18em; }
.scroll-cue { display: inline-flex; gap: 12px; align-items: center; color: #fff; }
.scroll-cue span { color: var(--yellow); font-size: 18px; }

.intro { padding: 150px 0 120px; }
.intro__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 120px; align-items: start; }
.intro h2 { max-width: 650px; }
.intro__copy { max-width: 520px; color: #5f665f; }
.intro__copy p { margin-bottom: 26px; }
.intro__copy .lead { color: var(--ink); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 120px; border-top: 1px solid var(--line-light); }
.stat { padding: 25px 28px 0 0; border-right: 1px solid var(--line-light); }
.stat:not(:first-child) { padding-left: 28px; }
.stat:last-child { border-right: 0; }
.stat strong { display: block; margin-bottom: 8px; color: var(--ink); font-size: clamp(28px, 3vw, 50px); font-weight: 400; letter-spacing: -.06em; }
.stat span { display: block; max-width: 150px; color: #6d746d; font-size: 13px; }

.courses { padding-bottom: 120px; }
.course-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 278px; gap: 18px; }
.course-card { position: relative; min-height: 278px; grid-column: span 5; overflow: hidden; isolation: isolate; background: var(--black-soft); }
.course-card--wide { grid-column: span 7; grid-row: span 2; min-height: 574px; }
.course-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .8s var(--ease), filter .7s ease; filter: saturate(.78) contrast(1.05); }
.course-card--wide img { object-position: center 38%; }
.course-card__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(6, 8, 7, .95), rgba(6, 8, 7, .1) 70%); transition: background .5s ease; }
.course-card__content { position: absolute; inset: auto 26px 25px; }
.card-index { display: block; margin-bottom: 16px; color: var(--yellow); font-size: 11px; letter-spacing: .15em; }
.course-card h3 { margin-bottom: 8px; font-size: clamp(28px, 3.4vw, 48px); }
.course-card p { margin-bottom: 22px; color: rgba(255, 255, 255, .7); font-size: 13px; }
.card-open { display: inline-flex; align-items: center; gap: 15px; padding: 0 0 7px; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .65); background: transparent; color: #fff; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.card-open span { color: var(--yellow); font-size: 18px; transition: transform .25s ease; }
.card-open:hover span, .card-open:focus-visible span { transform: translateX(5px); }
.course-card:hover img, .course-card:focus-within img { transform: scale(1.08); filter: saturate(1) contrast(1.08); }
.course-card:hover .course-card__shade, .course-card:focus-within .course-card__shade { background: linear-gradient(0deg, rgba(6, 8, 7, .98), rgba(242, 196, 0, .12) 100%); }
.course-card--accent { border: 1px solid var(--yellow); }
.courses__footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 42px; color: var(--grey); font-size: 10px; letter-spacing: .16em; }

.catalog { padding: 150px 0 120px; }
.catalog__top { display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.catalog__top h2 { margin-bottom: 0; }
.catalog__search { display: flex; align-items: center; width: min(300px, 100%); border-bottom: 1px solid var(--line-light); }
.catalog__search input { width: 100%; padding: 14px 0; border: 0; outline: 0; background: transparent; color: var(--ink); }
.catalog__search input::placeholder { color: #7c817c; }
.catalog__search span { color: #6d746d; font-size: 23px; }
.catalogue-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 70px; }
.catalogue-group { border-top: 1px solid var(--line-light); }
.catalogue-group__head { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 18px; width: 100%; padding: 23px 0; border: 0; background: transparent; color: var(--ink); text-align: left; }
.catalogue-group__head > span:first-child { font-size: 19px; letter-spacing: -.02em; }
.catalogue-group__count { color: #7b817a; font-size: 11px; letter-spacing: .12em; }
.plus { width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid var(--line-light); color: #6d746d; font-size: 18px; }
.catalogue-group__body { overflow: hidden; max-height: 900px; transition: max-height .5s var(--ease); }
.catalogue-group.is-collapsed .catalogue-group__body { max-height: 0; }
.catalogue-group.is-collapsed .plus { font-size: 0; }
.catalogue-group.is-collapsed .plus::before { content: "+"; font-size: 18px; }
.catalogue-item { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 13px 0; border: 0; border-top: 1px solid rgba(17, 21, 19, .1); background: transparent; color: #4f554f; text-align: left; font-size: 15px; transition: color .2s ease, padding-left .2s ease; }
.catalogue-item span:last-child { color: #9a9f98; font-size: 18px; }
.catalogue-item small { display: block; color: #858b84; font-size: 11px; }
.catalogue-item:hover, .catalogue-item:focus-visible { padding-left: 7px; color: var(--ink); }
.catalogue-item:hover span:last-child, .catalogue-item:focus-visible span:last-child { color: var(--yellow); }
.catalogue-item.is-hidden { display: none; }
.catalogue-group.is-hidden { display: none; }
.catalogue-note { margin-top: 60px; padding-top: 25px; border-top: 1px solid var(--line-light); color: #6d746d; font-size: 14px; }

.route { padding-bottom: 130px; }
.route-list { border-top: 1px solid var(--line-dark); }
.route-step { display: grid; grid-template-columns: 90px 1fr 50px; gap: 25px; align-items: start; padding: 30px 0; border-bottom: 1px solid var(--line-dark); transition: padding .35s var(--ease), background .35s ease; }
.route-step > span:first-child { color: var(--yellow); font-size: 12px; letter-spacing: .15em; }
.route-step h3 { margin: 0 0 8px; font-size: clamp(27px, 3.4vw, 48px); }
.route-step p { max-width: 560px; margin: 0; color: var(--grey); font-size: 15px; }
.route-arrow { justify-self: end; color: var(--yellow); font-size: 27px; transition: transform .3s var(--ease); }
.route-step:hover { padding-left: 16px; padding-right: 16px; background: rgba(255, 255, 255, .04); }
.route-step:hover .route-arrow { transform: translate(5px, 5px); }

.about { padding: 150px 0 140px; }
.about__intro { display: grid; grid-template-columns: 1.05fr .95fr; gap: 120px; margin-bottom: 80px; }
.about__intro > div:last-child { max-width: 490px; color: #616861; padding-top: 55px; }
.about__intro > div:last-child .lead { color: var(--ink); }
.team-grid { display: grid; grid-template-columns: 1.15fr .85fr .7fr; gap: 18px; align-items: end; }
.team-card { overflow: hidden; background: #d6d5ce; }
.team-card img { width: 100%; height: 480px; object-fit: cover; filter: grayscale(.12) contrast(1.03); transition: transform .7s var(--ease); }
.team-card--featured img { height: 590px; }
.team-card--small img { height: 350px; }
.team-card > div { padding: 20px 22px 23px; }
.team-card span { color: #777d76; font-size: 10px; letter-spacing: .16em; }
.team-card h3 { margin: 9px 0 4px; font-size: 28px; }
.team-card p { margin: 0; color: #6d746d; font-size: 13px; }
.team-card:hover img { transform: scale(1.04); }

.recent { padding-bottom: 125px; overflow: hidden; }
.carousel-controls { display: flex; gap: 9px; }
.carousel-controls button { display: grid; place-items: center; width: 47px; height: 47px; border: 1px solid var(--line-dark); background: transparent; color: #fff; font-size: 24px; transition: background .25s ease, color .25s ease, border-color .25s ease; }
.carousel-controls button:hover, .carousel-controls button:focus-visible { background: var(--yellow); border-color: var(--yellow); color: var(--black); }
.recent-carousel { overflow: hidden; }
.recent-track { display: flex; gap: 18px; transition: transform .7s var(--ease); }
.recent-card { flex: 0 0 calc((100% - 36px) / 3); min-width: 0; background: var(--black-soft); }
.recent-card img { width: 100%; aspect-ratio: 1.38; object-fit: cover; filter: saturate(.82); transition: transform .7s var(--ease); }
.recent-card > div { padding: 19px 22px 24px; }
.recent-card span { color: var(--yellow); font-size: 10px; letter-spacing: .16em; }
.recent-card h3 { margin: 12px 0 0; font-size: 24px; }
.recent-card:hover img { transform: scale(1.04); }
.carousel-dots { display: flex; gap: 8px; margin-top: 28px; }
.carousel-dots button { width: 33px; height: 3px; padding: 0; border: 0; background: #424843; }
.carousel-dots button.is-active { background: var(--yellow); }

.resources { padding: 150px 0 140px; }
.section-heading--light { padding-top: 0; align-items: center; }
.resource-tools { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.filter-chip { padding: 10px 14px; border: 1px solid var(--line-light); background: transparent; color: #616861; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.filter-chip:hover, .filter-chip:focus-visible, .filter-chip.is-active { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.resource-card { display: flex; flex-direction: column; min-height: 270px; padding: 24px; border: 1px solid var(--line-light); transition: transform .35s var(--ease), background .35s ease, color .35s ease; }
.resource-card > span { color: #747b73; font-size: 10px; letter-spacing: .15em; }
.resource-card h3 { flex: 1; margin: 25px 0; font-size: 28px; }
.resource-card a { display: inline-flex; gap: 12px; width: max-content; padding-bottom: 5px; border-bottom: 1px solid currentColor; font-size: 11px; letter-spacing: .13em; text-transform: uppercase; }
.resource-card:hover { transform: translateY(-5px); background: var(--ink); color: #fff; }
.resource-card:hover > span { color: var(--yellow); }
.resource-card--yellow { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
.resource-card--yellow > span { color: rgba(7, 9, 8, .65); }
.resource-card--yellow:hover { background: #fff; color: var(--black); }
.resource-card.is-hidden { display: none; }

.contact { padding: 150px 0 130px; }
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 120px; }
.contact__intro h2 { max-width: 520px; }
.contact__intro > p:not(.eyebrow) { max-width: 430px; color: var(--grey); font-size: 18px; }
.contact__details { display: grid; gap: 18px; margin-top: 58px; }
.contact__details a, .contact__details > span { display: flex; flex-direction: column; gap: 5px; padding-top: 15px; border-top: 1px solid var(--line-dark); }
.contact__details span { color: var(--grey); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.contact__details strong { color: #fff; font-weight: 400; font-size: 17px; }
.contact-form { padding: 10px 0 0; }
.form-row { position: relative; margin-bottom: 30px; }
.form-row label { display: block; margin-bottom: 8px; color: var(--grey); font-size: 11px; letter-spacing: .13em; text-transform: uppercase; }
.form-row label span { color: #697169; text-transform: none; letter-spacing: 0; }
.form-row input, .form-row textarea { display: block; width: 100%; resize: vertical; padding: 10px 0 12px; border: 0; border-bottom: 1px solid var(--line-dark); outline: 0; background: transparent; color: #fff; border-radius: 0; }
.form-row input:focus, .form-row textarea:focus { border-color: var(--yellow); }
.form-row input::placeholder { color: #5f665f; }
.form-note { margin: 18px 0 0; color: #6e766e; font-size: 12px; }
.form-success { margin: 17px 0 0; color: var(--yellow); font-size: 13px; }

.site-footer { padding: 45px 0 25px; background: #030403; color: #fff; }
.footer__top { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 30px; padding-bottom: 38px; border-bottom: 1px solid var(--line-dark); }
.brand--footer img { width: 45px; height: 45px; }
.footer__top > p { margin: 0; justify-self: center; color: #788078; font-size: 13px; }
.footer__email { justify-self: end; padding-bottom: 4px; border-bottom: 1px solid #788078; color: #fff; font-size: 13px; }
.footer__email span { color: var(--yellow); margin-left: 9px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; color: #667067; font-size: 11px; letter-spacing: .08em; }
.footer__bottom a { color: #fff; }

.course-modal { width: min(620px, calc(100vw - 36px)); padding: 0; border: 0; border-radius: 0; background: var(--paper); color: var(--ink); box-shadow: 0 25px 80px rgba(0,0,0,.45); }
.course-modal::backdrop { background: rgba(0, 0, 0, .72); backdrop-filter: blur(8px); }
.course-modal__inner { position: relative; padding: 44px 48px 48px; }
.modal-close { position: absolute; top: 17px; right: 19px; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line-light); background: transparent; color: var(--ink); font-size: 24px; line-height: 1; }
.modal-close:hover, .modal-close:focus-visible { background: var(--ink); color: #fff; }
.course-modal h2 { margin-bottom: 20px; font-size: clamp(44px, 7vw, 70px); color: var(--ink); }
.modal-summary { max-width: 490px; color: #596159; font-size: 18px; }
.modal-points { display: grid; gap: 0; margin: 28px 0 35px; border-top: 1px solid var(--line-light); }
.modal-points p { margin: 0; padding: 13px 0; border-bottom: 1px solid var(--line-light); color: #596159; font-size: 14px; }
.modal-points p::before { content: "↗"; margin-right: 12px; color: #887000; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal--delay { transition-delay: .1s; }
.reveal--delay-2 { transition-delay: .2s; }

@keyframes hero-drift { from { transform: scale(1.04) translate3d(0, 0, 0); } to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); } }

@media (max-width: 980px) {
  :root { --shell: min(100% - 48px, 760px); }
  .site-header { grid-template-columns: 1fr auto auto; padding: 12px 24px; }
  .main-nav { position: fixed; top: var(--header-height); left: 0; right: 0; display: grid; gap: 0; padding: 12px 24px 22px; border-bottom: 1px solid var(--line-dark); background: rgba(7, 9, 8, .97); transform: translateY(-150%); transition: transform .35s var(--ease); }
  .main-nav.is-open { transform: translateY(0); }
  .main-nav a { padding: 14px 0; }
  .main-nav a::after { bottom: 7px; right: auto; width: 50px; }
  .menu-toggle { display: grid; gap: 6px; width: 38px; height: 38px; padding: 9px; border: 1px solid var(--line-dark); background: transparent; }
  .menu-toggle span:not(.sr-only) { display: block; height: 1px; background: #fff; transition: transform .25s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
  .intro__grid, .about__intro, .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .about__intro > div:last-child { padding-top: 0; }
  .stat-grid { margin-top: 75px; grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3) { padding-left: 0; }
  .course-grid { grid-template-columns: repeat(2, 1fr); }
  .course-card, .course-card--wide { grid-column: span 1; grid-row: span 1; min-height: 300px; }
  .course-card--wide { grid-column: span 2; min-height: 450px; }
  .catalogue-groups { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .team-card--featured { grid-row: span 2; }
  .team-card--featured img { height: 650px; }
  .team-card--small { grid-column: span 2; }
  .team-card--small img { height: 330px; }
  .recent-card { flex-basis: calc((100% - 18px) / 2); }
  .resource-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__top > p { justify-self: start; }
  .footer__email { justify-self: start; grid-column: span 2; }
}

@media (max-width: 620px) {
  :root { --shell: calc(100% - 36px); --header-height: 74px; }
  .site-header { padding: 10px 18px; gap: 12px; }
  .brand img { width: 42px; height: 42px; }
  .brand__words { font-size: 10px; }
  .brand__words strong { font-size: 9px; }
  .header-cta { padding: 10px; font-size: 10px; }
  .header-cta span { display: none; }
  h2 { font-size: clamp(43px, 14vw, 66px); }
  .hero { min-height: 760px; }
  .hero__content { padding-top: 100px; }
  .hero h1 { font-size: clamp(55px, 17vw, 90px); }
  .hero__intro { font-size: 17px; }
  .hero__bottom { bottom: 20px; align-items: flex-end; font-size: 8px; }
  .hero__bottom > span { max-width: 165px; line-height: 1.4; }
  .scroll-cue { flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; }
  .intro, .catalog, .about, .resources, .contact { padding: 95px 0 85px; }
  .section-heading { display: block; padding-top: 95px; padding-bottom: 35px; }
  .section-heading__note { margin-top: 25px; }
  .stat-grid { margin-top: 60px; }
  .stat { padding-right: 13px; }
  .stat:not(:first-child) { padding-left: 13px; }
  .stat strong { font-size: 30px; }
  .stat span { font-size: 12px; }
  .course-grid { display: block; }
  .course-card, .course-card--wide { min-height: 390px; margin-bottom: 14px; }
  .course-card--wide { min-height: 500px; }
  .courses { padding-bottom: 80px; }
  .courses__footer { display: block; padding-top: 25px; line-height: 1.6; }
  .courses__footer .button { margin-top: 22px; }
  .catalog__top { display: block; }
  .catalog__search { margin-top: 24px; }
  .catalogue-groups { margin-top: 45px; gap: 40px; }
  .catalogue-group__head > span:first-child { font-size: 18px; }
  .route { padding-bottom: 85px; }
  .route-step { grid-template-columns: 42px 1fr; gap: 13px; padding: 25px 0; }
  .route-arrow { grid-column: 2; justify-self: start; margin-top: 4px; }
  .route-step h3 { font-size: 30px; }
  .route-step p { font-size: 14px; }
  .about__intro { margin-bottom: 48px; }
  .team-grid { display: block; }
  .team-card, .team-card--featured, .team-card--small { margin-bottom: 14px; }
  .team-card img, .team-card--featured img, .team-card--small img { height: 450px; }
  .recent { padding-bottom: 85px; }
  .recent-card { flex-basis: 85%; }
  .carousel-controls { margin-top: 25px; }
  .resource-grid { display: block; }
  .resource-card { min-height: 230px; margin-bottom: 14px; }
  .section-heading--light { display: block; }
  .section-heading--light .dark-link { margin-top: 25px; }
  .contact__grid { gap: 65px; }
  .contact__details { margin-top: 40px; }
  .footer__top { display: block; }
  .footer__top > p { margin: 24px 0; }
  .footer__email { display: inline-block; }
  .footer__bottom { display: grid; gap: 10px; }
  .course-modal__inner { padding: 38px 25px 30px; }
}

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

section[id]{scroll-margin-top:90px}.course-card:nth-child(n+4){grid-column:span 4}@media(max-width:980px){.course-card:nth-child(n+4){grid-column:span 1}}@media(max-width:620px){.site-header{gap:8px}.brand__words{display:none}}

/* Display the supplied wide badge at a readable size. */
.brand img,.brand--footer img{width:166px;height:76px;object-fit:contain;object-position:center;border-radius:0}
@media(max-width:620px){.brand img{width:132px;height:60px}}

.email-options{background:#121612;color:#fff;border:1px solid #f2c400;border-radius:16px;padding:30px;width:min(440px,calc(100% - 32px));margin:auto}.email-options::backdrop{background:#000b}.email-options h2{font-size:28px;margin:0 24px 16px 0}.email-options p{margin:12px 0}.email-options .button{display:flex;margin-top:12px;border:1px solid #777;padding:14px}.email-options [hidden]{display:none!important}.email-options-close{position:absolute;top:12px;right:16px;background:none;border:0;color:white;font-size:28px;cursor:pointer}.email-options .email-help{font-size:13px;color:#ccc}

.course-detail-link{display:block;color:#fff;text-decoration:underline;text-underline-offset:4px;font-size:14px;margin-top:12px}.footer__bottom{flex-wrap:wrap;gap:18px}
