@font-face {
  font-family: "Montserrat";
  src: url("./fonts/Montserrat-Variable-latin.woff") format("woff");
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f7f4ee;
  --ink: #1a1a1a;
  --blue: #245a91;
  --blue-bright: #2e67c7;
  --red: #d95c45;
  --yellow: #e2b63b;
  --line: #cfc8bc;
  --muted: #57544f;
  --panel: #f0ece3;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.58;
}
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 4px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  font-family: Montserrat, Arial, Helvetica, sans-serif;
  letter-spacing: -0.035em;
}
.skip-link {
  position: absolute;
  left: 1rem;
  top: -8rem;
  z-index: 20;
  padding: .7rem 1rem;
  background: white;
  color: var(--ink);
}
.skip-link:focus { top: 1rem; }
.draft-banner {
  padding: .42rem 1rem;
  background: var(--ink);
  color: white;
  font-size: .76rem;
  letter-spacing: .015em;
  text-align: center;
}
.draft-banner span { margin: 0 .4rem; color: var(--yellow); }
.site-shell { width: min(100% - 3.4rem, 1150px); margin: 0 auto; }
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.2rem 2rem;
  min-height: 90px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .68rem;
  font-family: Montserrat, Arial, sans-serif;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .075em;
  text-decoration: none;
}
.brand-mark { height: 13px; width: 13px; background: #cc3d32; border-radius: 50%; }
.site-nav { display: flex; gap: clamp(1rem, 2.7vw, 2.5rem); flex-wrap: wrap; }
.site-nav a {
  text-decoration: none;
  font-size: .91rem;
  text-underline-offset: .3rem;
}
.site-nav a:hover { text-decoration: underline; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(160px, .72fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 5rem);
  padding: clamp(5rem, 8.5vw, 8rem) 0 clamp(5rem, 8vw, 7.5rem);
  border-bottom: 1px solid var(--line);
}
.eyebrow, .section-kicker, .contact-kicker {
  margin: 0 0 1.8rem;
  color: var(--blue);
  font-family: Montserrat, Arial, sans-serif;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: .035em;
}
.hero h1 {
  max-width: 760px;
  font-size: clamp(2.5rem, 5.2vw, 5.2rem);
  line-height: 1.07;
  font-weight: 600;
  margin-bottom: 1.55rem;
}
.hero-description {
  max-width: 620px;
  font-size: clamp(1.06rem, 1.35vw, 1.2rem);
  line-height: 1.65;
  margin-bottom: 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: .74rem 1.25rem;
  border: 2px solid var(--blue);
  border-radius: 3px;
  font-family: Montserrat, Arial, sans-serif;
  font-size: .79rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease;
}
.button-primary { background: var(--blue); color: #fff; }
.button-primary:hover { background: #174b7d; }
.button-outline { color: var(--blue); background: transparent; }
.button-outline:hover { background: #e4ebf3; }
.hero-art {
  position: relative;
  width: min(100%, 215px);
  aspect-ratio: 1;
  justify-self: end;
}
.hero-quarter {
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  left: 3%;
  top: 3%;
  background: var(--blue);
  border-top-right-radius: 100%;
}
.hero-accent {
  position: absolute;
  width: 78%;
  height: 8px;
  left: 3%;
  top: 85%;
  background: var(--red);
}
.section { padding: clamp(4.5rem, 7vw, 7rem) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 2rem; }
.section-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 3rem;
  align-items: end;
  margin-bottom: 2.5rem;
}
.section-kicker { margin-bottom: .8rem; }
.section-heading h2, .about-section h2 {
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  line-height: 1.14;
  font-weight: 600;
  margin: 0;
}
.section-intro { max-width: 430px; margin: 0; color: var(--muted); }
.learning-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); align-items: start; gap: 1.25rem; }
.learning-meta, .planned-status {
  font-family: Montserrat, Arial, sans-serif;
  font-size: .69rem;
  letter-spacing: .035em;
  font-weight: 700;
}
.learning-card h3 {
  font-size: clamp(1.32rem, 2.1vw, 1.78rem);
  line-height: 1.26;
  font-weight: 600;
  margin-bottom: 1rem;
}
.learning-card p { color: var(--muted); font-size: .97rem; }
.learning-card {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
}
.learning-card-main {
  display: flex;
  flex-direction: column;
  min-height: 292px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.learning-meta { display: flex; justify-content: space-between; gap: 1rem; color: var(--blue); margin-bottom: 2rem; }
.learning-card-main p { max-width: 390px; }
.planned-status {
  margin-top: auto;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
  font-weight: 500;
}
.project-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .8rem 1rem;
  border-top: 1px solid var(--line);
  padding-top: 1.1rem;
  margin-top: auto;
}
.project-status {
  color: var(--muted);
  font: 500 .72rem Montserrat, Arial, sans-serif;
}
.project-launch {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: var(--blue);
  font: 600 .81rem Montserrat, Arial, sans-serif;
  text-underline-offset: .3rem;
}
.project-launch:hover { text-decoration-thickness: 2px; }
.build-note { border-top: 1px solid var(--line); }
.build-note summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem clamp(1.5rem, 3vw, 2.25rem);
  list-style: none;
  cursor: pointer;
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 600;
  font-size: .86rem;
  color: var(--blue);
}
.build-note summary::-webkit-details-marker { display: none; }
.build-note summary:hover { background: rgba(255,255,255,.32); }
.build-note summary:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: -3px; }
.summary-toggle { font-family: Arial, Helvetica, sans-serif; font-size: 1.45rem; font-weight: 400; line-height: 1; transition: transform .18s ease; }
.build-note[open] .summary-toggle { transform: rotate(45deg); }
.build-note-content { padding: 0 clamp(1.5rem, 3vw, 2.25rem) 1.7rem; }
.build-note-content h4 {
  margin: 1.2rem 0 .45rem;
  font-family: Montserrat, Arial, sans-serif;
  font-size: .94rem;
  line-height: 1.4;
  font-weight: 600;
}
.build-note-content p { margin-bottom: .65rem; font-size: .9rem; line-height: 1.6; }
.build-note-content .source-note { font-size: .76rem; line-height: 1.5; margin: .55rem 0 1rem; }
.source-note a { text-decoration-thickness: 1px; text-underline-offset: .18rem; }
.source-note a:hover { color: var(--blue); }
.about-content { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.about-text p { font-size: clamp(1.05rem, 1.6vw, 1.25rem); margin: 1.2rem 0 0; line-height: 1.7; }
.about-photo { display: block; width: 100%; max-width: 420px; height: auto; justify-self: end; }
.contact-section {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(2.5rem, 5vw, 4rem);
  margin-top: clamp(4rem, 7vw, 7rem);
  background: var(--blue);
  color: white;
  scroll-margin-top: 2rem;
}
.contact-kicker { color: #fff; margin-bottom: 1.2rem; }
.contact-section h2 {
  max-width: 680px;
  font-size: clamp(1.65rem, 3vw, 2.7rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.contact-copy { font-size: 1.15rem; margin-bottom: .4rem; }
.contact-link { color: inherit; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .25rem; display: inline-flex; align-items: center; min-height: 44px; }
.contact-link:hover { text-decoration-thickness: 3px; }
.contact-dot { flex: none; width: 23px; height: 23px; background: var(--yellow); border-radius: 50%; }
.site-footer {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--muted);
  font-size: .76rem;
}
.legal { max-width: 720px; padding: 3.5rem 0 4rem; }
.legal h1 { font-family: Montserrat, Arial, sans-serif; font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.15; font-weight: 600; margin: 0 0 .6rem; }
.legal h2 { font-family: Montserrat, Arial, sans-serif; font-size: 1.1rem; font-weight: 600; margin: 2.2rem 0 .5rem; }
.legal p { line-height: 1.7; margin: 0 0 .9rem; }
.legal a, .site-footer a { color: inherit; text-underline-offset: .2rem; }
.legal-updated { color: var(--muted); font-size: .85rem; }
.legal-back { margin-top: 2.5rem; }
.legal-back a, .site-footer a { display: inline-flex; align-items: center; min-height: 24px; }
@media (max-width: 760px) {
  .site-shell { width: min(100% - 2.25rem, 640px); }
  .site-header { align-items: flex-start; padding: 1.25rem 0; }
  .site-nav { width: 100%; gap: .65rem 1.3rem; }
  .hero { grid-template-columns: 1fr; gap: 2.25rem; padding: 4.5rem 0 4rem; }
  .hero-art { width: 105px; justify-self: end; margin-top: -1rem; }
  .section-heading, .about-content { grid-template-columns: 1fr; gap: 1.2rem; }
  .about-photo { justify-self: start; max-width: 320px; margin-top: .5rem; }
  .learning-grid { grid-template-columns: 1fr; }
  .learning-card-main { min-height: auto; }
  .planned-status { margin-top: 1.5rem; }
}
@media (max-width: 430px) {
  .hero h1 { font-size: clamp(2.25rem, 10.5vw, 3.4rem); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .learning-meta { flex-direction: column; gap: .45rem; }
  .contact-section { padding: 2rem 1.5rem; }
  .site-footer { padding: 1.7rem 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
  .summary-toggle { transition: none; }
}
