@font-face {
  font-family: 'Instrument Serif';
  src: url('../fonts/instrument-serif-normal.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('../fonts/instrument-serif-italic.woff2') format('woff2');
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/dm-sans.woff2') format('woff2');
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}
:root {
  --paper: #f5f2fa;
  --ink: #282238;
  --accent: #6d488e;
  --body: #534c60;
  --mist: #e5dced;
  --line: #d5cadd;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'DM Sans', Arial, sans-serif;
  color: var(--ink);
  font-family: var(--sans);
  font-synthesis: none;
  background: var(--paper);
}
* {box-sizing: border-box}
html {scroll-behavior: smooth}
body {margin: 0}
h1, h2, h3, p, dl, dd, figure {margin: 0}
h1, h2, h3, dt {font-family: var(--serif); font-weight: 400}
h1, h2, h3 {text-wrap: balance}
em, .brand i, .study figcaption i {font-family: var(--serif); font-weight: 400}
h1 em, .guide h2 em, .contact h2 em {color: var(--accent)}
button, a {color: inherit; font: inherit}
button {cursor: pointer}
a {text-decoration: none}
a:focus-visible, button:focus-visible, article:focus-visible {outline: 3px solid #795692; outline-offset: 4px}
img, svg {display: block}
.symbols {position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none}
.icon {width: 19px; height: 19px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round}
.wrap {width: min(1280px, 89.3%); margin: 0 auto}
.skip {position: absolute; top: 4px; left: 8px; transform: translateY(-150%); z-index: 10; background: white; padding: 12px}
.skip:focus {transform: none}
.masthead {background: var(--paper)}
.mast-inner {display: flex; align-items: center; justify-content: space-between; padding: 22px 0}
.brand {display: inline-flex; align-items: center; gap: 8px; width: fit-content; font: 400 2.2rem/1 var(--serif); letter-spacing: -.034em; white-space: nowrap}
.brand i {color: var(--accent)}
.brand img {flex: none}
nav {display: flex; align-items: center; gap: clamp(22px, 3vw, 52px)}
nav a {font-size: .94rem; padding-block: 8px}
nav a:hover, .contact-item a:hover {color: var(--accent); text-decoration: underline; text-underline-offset: 5px}
.kicker {display: flex; align-items: center; gap: 10px; font: 600 .75rem/1.55 var(--sans); letter-spacing: .155em; text-transform: uppercase; color: var(--accent)}
h1 {font-size: clamp(4.5rem, 7.6vw, 7.15rem); line-height: .98; letter-spacing: -.044em; margin-top: 12px}
.wave {position: relative; background: var(--section)}
.wave::before {content: ''; position: absolute; pointer-events: none; left: 0; right: 0; top: -44px; height: 45px; background: var(--section); mask: url('data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%201440%2048%22%20preserveAspectRatio=%22none%22%3E%3Cpath%20d=%22M0%2022C233%2062%20444%2043%20705%2023S1190-8%201440%2022V48H0Z%22/%3E%3C/svg%3E') center / 100% 100% no-repeat}
.footer {--section: var(--ink); color: var(--paper); padding: 26px 0 36px}
.footer-inner {display: flex; justify-content: space-between; align-items: end; gap: 28px}
.footer .brand {font-size: 2.06rem}
.footer .brand i {color: #dac4e9}
.footer .brand img {filter: brightness(0) invert(85%) sepia(12%) saturate(687%) hue-rotate(223deg) brightness(100%); width: 35px; height: 37px}
.footer small {display: block; color: #dbd3e2; font-size: .77rem; margin-top: 11px}
.legal {display: flex; flex-wrap: wrap; gap: 26px; font-size: .88rem; color: #f1eaf6}
.legal a {text-underline-offset: 4px}
.legal a:hover {text-decoration: underline}
.footer a:focus-visible {outline-color: #dfc4f2}
@media (max-width: 950px) {
  .wrap {width: 91%}
}
@media (max-width: 700px) {
  .wrap {width: 89.5%}
  .mast-inner {padding: 16px 0; gap: 12px; flex-wrap: wrap}
  .brand {font-size: 1.8rem; gap: 3px}
  .brand img {width: 30px; height: 35px}
  nav {gap: 14px}
  nav a {display: inline-flex; align-items: center; min-height: 44px; font-size: .88rem}
  h1 {font-size: clamp(3.55rem, 10vw, 5.2rem)}
  .footer-inner {align-items: start; flex-direction: column; gap: 15px}
  .legal a {display: inline-flex; align-items: center; min-height: 44px}
  .wave::before {height: 29px; top: -28px}
}
@media (prefers-reduced-motion: reduce) {html {scroll-behavior: auto}}
