@font-face {
  font-family: Geist;
  src: url("assets/geist-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f7f9fd;
  --ink: #121827;
  --muted: #474f61;
  --cobalt: #3246c8;
  --mint: #59decf;
  --line: #ccd2de;
  font-family: Geist, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body, h1, h2, h3, p, dl, dd, ul { margin: 0; }
body { font-size: 1rem; line-height: 1.55; }
a { color: inherit; text-underline-offset: .22em; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 5px; }
::selection { background: var(--mint); color: var(--ink); }
.wrap { width: min(83rem, 89%); margin-inline: auto; }
section[id] { scroll-margin-top: 1rem; }
.skip { position: absolute; z-index: 2; left: 1rem; top: .8rem; background: white; padding: .6rem 1rem; transform: translateY(-180%); }
.skip:focus { transform: translateY(0); }
.masthead, footer { border-color: var(--line); border-style: solid; border-width: 0 0 1px; }
.header-inner, .footer-inner, nav, .wordmark, .actions { display: flex; align-items: center; }
.header-inner, .footer-inner { justify-content: space-between; }
.header-inner { min-height: 5.25rem; gap: 1.25rem; }
.wordmark { gap: .5rem; text-decoration: none; font-size: 1.55rem; letter-spacing: -.055em; font-weight: 650; white-space: nowrap; }
.wordmark img { display: block; }
nav { gap: clamp(1rem, 2.8vw, 2.75rem); font-size: .97rem; font-weight: 525; }
nav a { text-decoration: none; padding-block: .65rem; }
nav a:hover { color: var(--cobalt); text-decoration: underline; }
.nav-contact { color: var(--cobalt); border: 1px solid #9ea9db; border-radius: .3rem; padding: .5rem 1.15rem; }
.nav-contact:hover { background: #ebeffe; }
.hero { display: grid; grid-template-columns: 1fr 1fr; gap: 6%; align-items: center; padding-block: clamp(2.5rem, 4.8vw, 5rem); }
.eyebrow { display: flex; align-items: center; gap: .75rem; color: var(--cobalt); font-weight: 650; font-size: .875rem; }
.rule { width: 1.7rem; height: 2px; background: currentColor; flex: none; }
h1, h2, h3 { text-wrap: balance; }
h1, h2 { font-weight: 550; }
h1 { margin: 1.4rem 0; font-size: clamp(3.4rem, 5.25vw, 5.55rem); line-height: 1.015; letter-spacing: -.072em; max-width: 12ch; }
h1 em { display: inline-block; font-style: normal; color: var(--cobalt); }
.intro, .section-lead, .workshop-intro > p, .contact-copy > p:first-child { color: var(--muted); font-size: clamp(1.05rem, 1.36vw, 1.25rem); line-height: 1.55; }
.intro { max-width: 39ch; }
.actions { margin-top: 1.85rem; flex-wrap: wrap; gap: .8rem 1.4rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; padding: .86rem 1.12rem; border: 1px solid transparent; border-radius: .3rem; background: var(--cobalt); color: white; font-size: .96rem; font-weight: 575; line-height: 1.5; text-decoration: none; }
.button:hover { background: #2436ad; }
.envelope { position: relative; display: inline-block; width: 1rem; height: .76rem; border: 1.4px solid currentColor; border-radius: 2px; overflow: hidden; }
.envelope::after { content: ""; position: absolute; width: .64rem; height: .64rem; border: solid currentColor; border-width: 0 1.4px 1.4px 0; transform: translate(-50%, -61%) rotate(45deg); left: 50%; top: 0; }
.text-link { color: var(--cobalt); font-size: .95rem; font-weight: 550; padding-block: .65rem; text-decoration-thickness: 1px; }
.text-link:hover { text-decoration-thickness: 2px; }
.hero-photo { width: 100%; height: auto; display: block; aspect-ratio: 1.22; object-fit: cover; border-radius: .35rem; background: #dce2ec; }
.section { padding-block: clamp(3.5rem, 6.4vw, 6.5rem); }
.section-grid, .workshop-intro { display: grid; grid-template-columns: 1fr 1fr; column-gap: 8%; }
.discovery { background: white; border-top: 1px solid var(--line); }
h2 { margin-top: 1.1rem; max-width: 16ch; font-size: clamp(2.35rem, 3.65vw, 3.85rem); letter-spacing: -.06em; line-height: 1.08; }
.section-lead { margin-top: 1.4rem; max-width: 39ch; }
.method > div { border-top: 1px solid var(--line); padding-block: 1.2rem; }
.method > div:first-child { border-color: var(--ink); }
dt, h3 { font-weight: 610; }
.method dt, .delivery h3, .paper h3 { font-size: 1.3rem; letter-spacing: -.035em; }
.method dd { margin-top: .4rem; color: var(--muted); }
.delivery { margin-top: 2.35rem; padding: 1.7rem 2rem; border-left: 3px solid var(--cobalt); background: #f0f3fc; display: grid; align-items: center; grid-template-columns: 1fr 1.9fr; gap: 2rem; }
.delivery p { color: var(--muted); }
.workshop { background: var(--ink); color: var(--paper); }
.workshop .eyebrow { color: var(--mint); }
.workshop-intro { align-items: end; }
.workshop-intro h2 { max-width: 19ch; }
.workshop-intro > p { color: #ced5e4; max-width: 38ch; }
.papers { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2.5rem; }
.paper { background: var(--paper); color: var(--ink); border-radius: .2rem; padding: clamp(1.35rem, 2.5vw, 2.4rem); }
.paper h3 { padding-bottom: .85rem; border-bottom: 1px solid var(--line); }
.notes ul { padding: 0; margin-top: .8rem; list-style: none; }
.notes li { padding: .6rem 0 .6rem 1.2rem; position: relative; }
.notes li::before { content: ""; position: absolute; left: 0; top: 1.25rem; width: .55rem; height: 1px; background: var(--muted); }
.draft { background: #eaf1f0; }
.draft dl { margin-top: .9rem; }
.draft dt { font-size: .875rem; }
.draft dd { margin-top: .15rem; }
.review { margin-top: 1rem; padding: .65rem .95rem; border-left: 3px solid #14776e; background: #c4efe8; }
.exercise { margin-top: 1.4rem; border-block: 1px solid #485062; }
.exercise summary { padding: 1.15rem 0; cursor: pointer; font-weight: 520; }
.exercise summary::marker { color: var(--mint); }
.exercise summary:hover { color: var(--mint); }
.exercise summary:focus-visible { outline-color: var(--mint); }
.exercise-content { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; padding-block: .3rem 1.6rem; }
.exercise-content h3 { color: var(--mint); font-size: 1rem; margin-bottom: .4rem; }
.exercise-content p, .exercise-content ul { color: #dce1ee; }
.exercise-content ul { padding-left: 1.2rem; }
.contact .section-grid { align-items: center; }
.contact-copy > p:first-child { max-width: 34ch; }
.contact-copy .button { margin-block-start: 1.4rem; }
footer { border-width: 1px 0 0; }
.footer-inner { min-height: 5.5rem; gap: 1rem; }
.footer-inner .wordmark { font-size: 1.2rem; }
.footer-inner p { color: var(--muted); font-size: .875rem; }

@media (max-width: 54rem) {
  .hero { gap: 4%; }
  .actions { align-items: flex-start; flex-direction: column; gap: .3rem; }
  .section-grid, .workshop-intro { column-gap: 5%; }
}
@media (max-width: 44rem) {
  .wrap { width: 89%; }
  .header-inner { min-height: 4.6rem; gap: .75rem; }
  .wordmark { font-size: 1.2rem; gap: .25rem; }
  .wordmark img { width: 2.1rem; height: 2.1rem; }
  nav { gap: .85rem; font-size: .875rem; }
  .nav-contact { padding: .35rem .6rem; }
  .hero, .section-grid, .workshop-intro, .papers, .delivery, .exercise-content { grid-template-columns: 1fr; }
  .hero { gap: 1.8rem; padding-block: 2.7rem 2rem; }
  h1 { font-size: clamp(3.05rem, 9.5vw, 4.1rem); margin-block: 1rem; }
  .actions { flex-direction: row; align-items: center; margin-top: 1.3rem; gap: .3rem 1.2rem; }
  .hero-photo { aspect-ratio: 1.55; }
  .section-grid, .workshop-intro { row-gap: 1.6rem; }
  .section-lead { margin-top: 1rem; }
  .delivery { gap: .4rem; margin-top: 1.5rem; padding: 1.2rem; }
  .papers { gap: .8rem; margin-top: 1.5rem; }
  .exercise-content { gap: 1rem; }
}
@media (max-width: 25rem) {
  .header-inner { flex-wrap: wrap; padding-block: .55rem; gap: 0 .6rem; }
  nav { gap: .65rem; }
  .nav-contact { border: 0; padding: .65rem 0; }
  .footer-inner { flex-wrap: wrap; justify-content: flex-start; padding-block: 1.2rem; }
}
@media (forced-colors: active) {
  .button, .review { border: 1px solid ButtonText; }
}
