:root {
  color-scheme: dark;
  --navy: #09172c;
  --midnight: #071225;
  --panel: #10223b;
  --line: #34455d;
  --paper: #f6f3e8;
  --muted: #c5d0df;
  --lime: #d1f18d;
  --sans: "DM Sans", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  background: var(--navy);
  color: var(--paper);
  font: 400 100%/1.55 var(--sans);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; }
p { margin: 0 0 1rem; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: .98; }
h2 { font-size: clamp(2.9rem, 6vw, 5.4rem); }
h3 { font-size: clamp(2rem, 3.25vw, 3.2rem); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 5px; }
[hidden] { display: none !important; }
.wrap { width: min(100% - 104px, 1320px); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: 8px; transform: translateY(-150%); z-index: 4; background: var(--paper); color: var(--navy); padding: 10px 14px; }
.skip:focus { transform: none; }

.masthead { background: var(--midnight); position: relative; z-index: 1; }
.header-inner { min-height: 78px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem; }
.wordmark { display: inline-flex; justify-self: start; width: max-content; }
.wordmark img { width: clamp(115px, 10vw, 145px); height: auto; }
nav { display: flex; gap: clamp(1rem, 3.2vw, 3.2rem); align-items: center; }
nav a { color: var(--paper); font-size: .95rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
nav a:hover, .text-link:hover { color: var(--lime); }
.header-contact { justify-self: end; }
.menu-toggle { display: none; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: .66rem 1.24rem; border: 1px solid transparent; font-weight: 700; font-size: .92rem; text-decoration: none; transition: background-color .18s, color .18s; }
.button-light { background: var(--lime); color: #112219; }
.button-light:hover { background: #e6f8bb; }
.button-outline { border-color: #697a8d; color: var(--paper); }
.button-outline:hover { background: var(--paper); color: var(--navy); }
.text-link { display: inline-block; width: fit-content; text-underline-offset: .28em; font-weight: 700; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; }

.hero { position: relative; min-height: clamp(560px, 69svh, 790px); display: grid; align-items: center; isolation: isolate; background: #24354a; overflow: hidden; }
.hero-image, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { z-index: -2; object-fit: cover; object-position: center 47%; }
.hero::after { content: ""; z-index: -1; background: linear-gradient(90deg, rgba(5, 14, 30, .88), rgba(5, 14, 30, .62) 42%, rgba(5, 14, 30, .1) 82%), linear-gradient(0deg, rgba(9, 23, 44, .68), transparent 31%); }
.hero-inner { padding-block: 4rem 4.8rem; }
.hero h1 { font-size: clamp(4.1rem, 8.6vw, 9.4rem); line-height: .86; letter-spacing: -.032em; max-width: 16ch; }
.hero h1 em { color: var(--lime); }
.hero p { margin: 1.65rem 0 1.8rem; max-width: 34rem; font-size: clamp(1.05rem, 1.65vw, 1.3rem); color: #f0f3f6; }

.section { padding-block: clamp(3.9rem, 7vw, 7rem); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1.2rem 3rem; margin-bottom: 2.4rem; }
.section-head > p { margin: 0 0 .16rem; max-width: 29rem; color: var(--muted); }
.eyebrow { display: block; font: 700 .8rem/1.25 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--lime); margin-bottom: .85rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.75rem, 1.6vw, 1.6rem); }
.feature { display: flex; align-items: end; position: relative; isolation: isolate; min-height: 300px; aspect-ratio: 1.15; width: 100%; overflow: hidden; background: var(--panel); text-decoration: none; }
.feature img, .feature::before { position: absolute; inset: 0; width: 100%; height: 100%; }
.feature img { object-fit: cover; z-index: -2; transition: transform .25s; }
.feature::before { content: ""; z-index: -1; background: linear-gradient(0deg, rgba(4, 12, 26, .95), rgba(4, 12, 26, .59) 32%, transparent 78%); }
.feature:hover img { transform: scale(1.045); }
.feature > div { padding: clamp(1rem, 2.4vw, 2rem); }
.feature p { margin: .4rem 0 0; color: #e9edf4; }

.band { background: var(--midnight); border-block: 1px solid #1e3048; }
.filters { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1.75rem; }
.filters button { background: transparent; color: var(--paper); cursor: pointer; border: 1px solid #52637a; min-height: 42px; padding: .45rem .95rem; }
.filters button:hover { border-color: var(--lime); }
.filters button[aria-pressed="true"] { background: var(--lime); color: var(--navy); border-color: var(--lime); font-weight: 700; }
.catalog { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: .85rem; }
.catalog details { background: var(--panel); border: 1px solid var(--line); }
.catalog summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 1.35rem; gap: 1rem; }
.catalog summary::-webkit-details-marker { display: none; }
.catalog summary:hover { background: #192d48; }
.course-title { display: block; font: 400 clamp(1.65rem, 3vw, 2.25rem)/1 var(--serif); }
.course-desc { display: block; color: var(--muted); margin-top: .45rem; }
.course-content { padding: 0 1.35rem .45rem; }
.expand { position: relative; display: block; width: 1.1rem; height: 1.1rem; flex: none; color: var(--lime); }
.expand::before, .expand::after { position: absolute; inset: 50% 0 auto; height: 1px; background: currentColor; content: ""; }
.expand::after { transform: rotate(90deg); }
details[open] .expand::after { display: none; }

.split { display: grid; grid-template-columns: 1.08fr 1fr; background: var(--panel); }
.split-photo { width: 100%; height: 100%; min-height: 350px; object-fit: cover; }
.split-copy { padding: clamp(1.85rem, 5vw, 5rem); align-self: center; }
.split-copy p:not(.eyebrow), .book p:not(.eyebrow), .field p:not(.eyebrow), .about p:not(.eyebrow) { color: var(--muted); margin: 1.15rem 0 1.5rem; max-width: 35rem; }
.split-copy h2, .field h2 { font-size: clamp(2.65rem, 5.1vw, 4.65rem); }
.book { display: grid; grid-template-columns: minmax(200px, 330px) minmax(0, 580px); align-items: center; gap: clamp(1.4rem, 5.5vw, 6rem); padding: clamp(1.2rem, 3vw, 3rem); background: var(--panel); }
.book img { width: 100%; object-fit: contain; }
.book h3 { font-size: clamp(2.5rem, 5.1vw, 4.7rem); }
.field { display: grid; grid-template-columns: 1.22fr 1fr; align-items: center; gap: clamp(1.4rem, 5vw, 5rem); }
.field img { width: 100%; aspect-ratio: 1.6; object-fit: cover; }
.about-inner { display: grid; grid-template-columns: minmax(180px, 300px) minmax(0, 640px); gap: clamp(1.5rem, 6vw, 7rem); margin-inline: auto; align-items: center; }
.about img { aspect-ratio: 1; width: 100%; object-fit: cover; }
#contact { border-top: 1px solid var(--line); padding-top: 1.4rem; margin-top: 1.7rem; }
#contact p { margin: .7rem 0 1rem; }
.footer { min-height: 132px; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 1.1rem; }
.footer p { margin: 0; color: var(--muted); font-size: .92rem; }

@media (max-width: 950px) {
  .wrap { width: calc(100% - 52px); }
  .feature { min-height: 255px; }
  .split-copy { padding: 2rem; }
}

@media (max-width: 720px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { display: flex; justify-content: space-between; flex-wrap: wrap; column-gap: 1rem; row-gap: 0; padding-block: .8rem; min-height: 68px; }
  .header-contact { display: none; }
  .menu-toggle { display: block; color: var(--paper); background: transparent; border: 1px solid var(--line); padding: .4rem .75rem; min-height: 44px; cursor: pointer; }
  nav { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-top: .65rem; }
  .menu-toggle[aria-expanded="true"] + nav { display: flex; }
  nav a { padding: .65rem .25rem; border-top: 1px solid var(--line); }
  .hero { min-height: 540px; align-items: end; background: var(--navy); }
  .hero-image { top: -76px; object-position: 68% center; }
  .hero::after { background: linear-gradient(0deg, #09172c 0%, rgba(9, 23, 44, .75) 39%, rgba(9, 23, 44, .15) 94%); }
  .hero-inner { padding-bottom: 2.8rem; }
  .hero h1 { font-size: clamp(3.55rem, 12vw, 5.85rem); }
  .hero h1 br { display: none; }
  .section-head { display: block; }
  .section-head > p { margin-top: .85rem; }
  .feature-grid, .catalog, .split, .book, .field, .about-inner { grid-template-columns: 1fr; }
  .feature { min-height: 235px; aspect-ratio: 1.75; }
  .split-photo { min-height: 0; height: 230px; }
  .split-copy { padding: 1.4rem; }
  .book img, .about img { max-width: 270px; }
  .footer { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
