:root {
  color-scheme: light;
  --navy: #152239;
  --blue: #064780;
  --gold: #d0a247;
  --muted: #455570;
  --paper: #fff;
  --ice: #f2f6fb;
  --line: #d7e0ea;
  font-family: system-ui, sans-serif;
  color: var(--navy);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; line-height: 1.6; }
a { color: inherit; text-underline-offset: .22em; }
a:focus-visible, summary:focus-visible, select:focus-visible { outline: 3px solid #9b6a04; outline-offset: 4px; }
.wrap { width: min(100% - 3rem, 76rem); margin-inline: auto; }
.skip { position: absolute; top: 0; left: 1rem; transform: translateY(-120%); background: white; padding: .6rem; z-index: 2; }
.skip:focus { transform: translateY(0); }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 6.2rem; display: flex; align-items: center; gap: 2rem; justify-content: space-between; }
.brand { display: grid; place-items: center; flex-shrink: 0; text-decoration: none; color: var(--blue); line-height: 1; font-size: .75rem; font-weight: 760; letter-spacing: .16em; }
.brand img { width: 5.5rem; height: auto; display: block; }
.brand span { margin-top: .14rem; }
.primary, .languages, .site-footer nav { display: flex; gap: 1.35rem; align-items: center; flex-wrap: wrap; }
.primary a, .languages a, .site-footer a { font-size: .9rem; font-weight: 640; text-decoration: none; }
.primary a:hover, .primary [aria-current], .site-footer a:hover { text-decoration: underline; }
.languages { gap: .2rem; }
.languages a { padding: .3rem .5rem; }
.languages [aria-current] { background: var(--ice); border-bottom: 2px solid var(--blue); }
.home-hero { overflow: hidden; background: var(--navy); color: #fff; }
.home-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.86fr); gap: clamp(1.8rem,6vw,5.5rem); align-items: center; padding-block: clamp(3rem,7vw,6.5rem); }
.hero-copy { position: relative; z-index: 1; }
.hero-art { display: block; width: 100%; height: 100%; min-height: 23rem; max-height: 33rem; object-fit: cover; border-radius: .15rem 2.8rem .15rem .15rem; box-shadow: .72rem .72rem 0 var(--gold); }
.eyebrow { font-size: .85rem; font-weight: 720; letter-spacing: .11em; text-transform: uppercase; color: var(--blue); margin: 0 0 .8rem; }
.home-hero .eyebrow { color: #f1c672; }
h1, h2 { font-family: Georgia, serif; font-weight: 500; letter-spacing: -.037em; line-height: 1.09; margin: 0; }
h1 { font-size: clamp(2.55rem,5.6vw,5.35rem); max-width: 18ch; overflow-wrap: anywhere; }
h2 { font-size: clamp(1.8rem,3.4vw,3.05rem); }
h3 { font-size: 1.18rem; line-height: 1.3; margin: 0; }
.intro { font-size: clamp(1.03rem,1.55vw,1.22rem); max-width: 57ch; color: var(--muted); margin: 1.35rem 0 0; }
.home-hero .intro { color: #e5edf8; }
.button { display: inline-block; background: #f1c672; color: #17243a; padding: .78rem 1.2rem; border-radius: .22rem; text-decoration: none; font-weight: 730; margin-top: 1.6rem; }
.button:hover { background: #f6d795; }
.offers, .sub-hero, .details, .questions, .info-layout { padding-block: clamp(2.3rem,5.2vw,4.6rem); }
.offers { background: var(--ice); }
.cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.1rem; margin-top: 1.6rem; }
.card { display: flex; flex-direction: column; align-items: start; padding: 1.4rem; background: #fff; border: 1px solid var(--line); border-top: .3rem solid var(--gold); }
.card p { color: var(--muted); margin: .75rem 0 1.2rem; }
.card a { color: var(--blue); font-weight: 710; margin-top: auto; }
.sub-hero { background: var(--ice); border-bottom: 1px solid var(--line); }
.sub-hero h1 { font-size: clamp(2.2rem,4.5vw,4.15rem); max-width: 25ch; }
.sub-hero.with-art .wrap { display: grid; grid-template-columns: 1.18fr 1fr; gap: 2rem; align-items: center; }
.sub-art { width: 100%; height: auto; display: block; border-radius: .2rem 2rem .2rem .2rem; box-shadow: .72rem .72rem 0 var(--gold); }
.back { display: inline-block; margin-bottom: 1rem; font-weight: 650; color: var(--blue); }
.details p { max-width: 63ch; color: var(--muted); }
.listing-title { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; }
.filter { font-size: .91rem; font-weight: 670; }
.filter select { display: block; color: var(--navy); font: inherit; min-width: 12rem; border: 1px solid #a2b0c4; background: #fff; border-radius: .22rem; padding: .6rem; }
.course-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; margin-top: 1.6rem; }
.course-card { background: #fff; border: 1px solid var(--line); height: 100%; }
.course-card a { height: 100%; display: flex; flex-direction: column; text-decoration: none; padding: .85rem; }
.course-card a:hover h3 { text-decoration: underline; }
.course-art { display: block; width: 100%; height: auto; border-radius: .15rem 1.4rem .15rem .15rem; box-shadow: .5rem .5rem 0 var(--gold); margin-bottom: .9rem; }
.course-copy { display: flex; flex: 1; flex-direction: column; align-items: start; padding: 0; }
.course-copy .eyebrow { margin: 0 0 .35rem; }
.course-copy h3 { margin: 0 0 .85rem; overflow-wrap: anywhere; }
.course-copy span { margin-top: auto; color: var(--blue); font-weight: 700; font-size: .93rem; }
.info-layout { display: grid; grid-template-columns: minmax(11rem, .31fr) minmax(0, 1fr); gap: clamp(1.2rem,5vw,4.5rem); }
.info-tabs { display: flex; flex-direction: column; position: sticky; top: 1rem; align-self: start; border-left: .22rem solid var(--gold); background: var(--ice); padding: .7rem 1rem; }
.info-tabs a { padding: .38rem 0; font-weight: 650; }
.info-group { scroll-margin-top: 1rem; margin-bottom: 2.2rem; }
.info-group:last-child { margin-bottom: 0; }
.info-group h2 { font-size: clamp(1.7rem,3vw,2.5rem); }
.info-group dl { margin: .6rem 0 0; }
.info-group dl div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(7rem,.55fr); gap: .7rem; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.info-group dt { font-weight: 650; }
.info-group dd { margin: 0; color: var(--muted); }
.questions { display: grid; grid-template-columns: minmax(0,.74fr) minmax(0,1fr); gap: 2rem; border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); padding: .85rem 0; }
summary { cursor: pointer; font-weight: 690; }
details p { color: var(--muted); margin: .7rem 0 .3rem; }
.site-footer { background: var(--navy); color: #fff; padding-block: 1.6rem; }
.site-footer > .wrap { display: flex; gap: 1rem; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.site-footer nav { gap: .7rem 1.2rem; }
.credits { padding-left: 1.3rem; }
@media (max-width: 58rem) {
  .header-inner { display: grid; grid-template-columns: 1fr auto; gap: .7rem; padding-block: .7rem; }
  .brand { justify-self: start; }
  .languages { grid-column: 2; grid-row: 1; }
  .primary { grid-column: 1/-1; gap: .55rem 1rem; }
  .course-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 45rem) {
  .home-grid, .sub-hero.with-art .wrap, .questions, .info-layout { grid-template-columns: 1fr; }
  .hero-art { min-height: 0; height: auto; max-height: 23rem; aspect-ratio: 3/2; }
  .cards { grid-template-columns: 1fr; }
  .info-tabs { position: static; }
}
@media (max-width: 29rem) {
  .wrap { width: calc(100% - 2rem); }
  .course-grid { grid-template-columns: 1fr; }
}
