:root {
  color-scheme: light;
  --ink: #102a3d;
  --copy: #385364;
  --muted: #526977;
  --teal: #086b62;
  --paper: #f6faf9;
  --line: #d6e4e2;
  font-family: Inter, "Atkinson Hyperlegible", Arial, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: white; line-height: 1.6; }
a { color: var(--teal); text-underline-offset: .24em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #067a6d; outline-offset: 4px; }
img { display: block; max-width: 100%; }
figure, dl, dd, p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { line-height: 1.13; letter-spacing: -.036em; overflow-wrap: anywhere; }
.wrap { width: min(100% - 5rem, 1280px); margin-inline: auto; }
.section { padding-block: clamp(4rem, 7.5vw, 7rem); scroll-margin-top: 1rem; }
.kicker { color: var(--teal); font-size: .875rem; font-weight: 750; letter-spacing: .12em; margin-bottom: .9rem; }
.lead { color: var(--copy); font-size: clamp(1.05rem, 1.6vw, 1.22rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.45rem); }
h3 { font-size: 1.52rem; }
.skip { position: absolute; inset: .5rem auto auto .5rem; transform: translateY(-160%); background: #fff; z-index: 2; padding: .6rem 1rem; }
.skip:focus { transform: none; }
.site-head { background: #fff; border-bottom: 1px solid var(--line); }
.head-inner { min-height: 5rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; gap: .7rem; align-items: center; text-decoration: none; color: inherit; white-space: nowrap; font-size: 1.32rem; letter-spacing: -.045em; }
.brand strong span { color: #168277; }
.brand-mark { width: 2.3rem; height: 2.3rem; background: #14364b; border-radius: .57rem; padding: .5rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: .15rem; }
.brand-mark i { background: #91dace; border-radius: .1rem; }
.brand-mark i:last-child { background: #e9b370; }
.navigation, .languages { display: flex; align-items: center; }
.navigation { gap: clamp(.85rem, 3vw, 2.4rem); }
.navigation a { color: var(--copy); font-size: .94rem; font-weight: 650; text-decoration: none; padding-block: .65rem; }
.navigation a:hover { color: var(--teal); text-decoration: underline; }
.languages { gap: .13rem; border: 1px solid var(--line); border-radius: .55rem; padding: .2rem; }
.languages a { display: grid; place-items: center; min-width: 2.25rem; min-height: 2.25rem; color: var(--copy); font-size: .875rem; font-weight: 750; text-decoration: none; border-radius: .32rem; }
.languages a[aria-current] { color: #fff; background: var(--ink); }
.hero { background: #102a3d; color: #fff; overflow: hidden; }
.hero-layout { padding-block: clamp(3.6rem, 6.2vw, 6.6rem); display: grid; grid-template-columns: 1.03fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.hero .kicker { color: #98ddd0; margin-bottom: 1.15rem; }
.hero h1 { font-size: clamp(2.35rem, 4.5vw, 4.5rem); font-weight: 760; letter-spacing: -.06em; max-width: 16ch; }
.hero-intro { color: #d4e6e9; font-size: clamp(1.08rem, 1.65vw, 1.25rem); margin-top: 1.4rem; max-width: 37rem; }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.9rem; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 3.15rem; padding: .55rem 1rem; font-weight: 750; border-radius: .48rem; text-decoration: none; }
.button.primary { background: #a8e5d7; color: #102a3d; }
.button.primary:hover { background: #caeee5; }
.button.secondary { border: 1px solid #7594a4; color: #fff; }
.button.secondary:hover { background: #1e435b; }
.hero a:focus-visible, footer a:focus-visible { outline-color: #9de4d4; }
.hero-figure { border-radius: 1rem; position: relative; isolation: isolate; background: #254656; overflow: hidden; min-width: 0; }
.hero-figure img { width: 100%; height: auto; aspect-ratio: 1.2; object-fit: cover; object-position: 60% 50%; }
.hero-figure figcaption { position: absolute; inset: auto auto 1rem 1rem; padding: .35rem .68rem; background: #102a3deb; color: #fff; border-radius: .35rem; font-size: .875rem; }
.project { display: grid; grid-template-columns: 1.05fr 1fr; align-items: start; column-gap: clamp(2rem, 7vw, 7rem); row-gap: 1.15rem; }
.project h2 { max-width: 22ch; font-size: clamp(2rem, 3.6vw, 3.05rem); }
.scope { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.6rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.scope dt { font-size: clamp(1.65rem, 3vw, 2.75rem); font-weight: 775; color: var(--teal); line-height: 1.15; letter-spacing: -.055em; }
.scope dd { font-size: .91rem; line-height: 1.45; color: var(--copy); margin-top: .35rem; }
.modules { background: #eef6f4; border-block: 1px solid #dceae7; }
.module-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-top: 1.9rem; }
.module { padding: clamp(1.3rem, 2.4vw, 2rem); background: #fff; border: 1px solid var(--line); border-radius: .85rem; }
.module-mark { display: block; width: 2.6rem; height: .34rem; background: #2b698c; border-radius: 1rem; margin-bottom: 1.25rem; }
.module-2 .module-mark { background: #148279; }
.module-3 .module-mark { background: #b47831; }
.module-question { color: var(--ink); font-weight: 700; margin-top: .85rem; }
.module p + p { margin-top: .55rem; color: var(--copy); }
.stages { display: grid; grid-template-columns: .73fr 1fr; gap: clamp(1.6rem, 7vw, 7rem); align-items: start; }
.stages .lead { margin-top: 1rem; }
.stage-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.stage-list li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .92rem; padding: 1rem .1rem; border-bottom: 1px solid var(--line); font-weight: 650; line-height: 1.4; }
.stage-num { color: var(--muted); font-size: .875rem; font-variant-numeric: tabular-nums; }
.status { font-weight: 700; font-size: .875rem; color: #175747; background: #e5f4ec; border-radius: 2rem; padding: .24rem .64rem; white-space: nowrap; }
.status.planned { background: #faf0de; color: #714811; }
.materials { background: var(--paper); border-top: 1px solid var(--line); }
.materials-heading .lead { margin-top: .85rem; max-width: 50rem; }
.figure-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.material { background: white; border: 1px solid var(--line); border-radius: .85rem; overflow: clip; }
.figure-link { background: #eef5f5; display: grid; place-items: center; padding: clamp(.65rem, 2.1vw, 1.6rem); }
.figure-link:focus-visible { outline-offset: -4px; }
.figure-link img { width: 100%; height: auto; aspect-ratio: 1.58; object-fit: contain; }
.material-copy { padding: 1.45rem; }
.language-note { color: var(--muted); font-size: .875rem; font-weight: 650; margin-bottom: .45rem; }
.material h3 + p { margin-top: .5rem; color: var(--copy); }
.material-actions { display: flex; flex-wrap: wrap; gap: 1.3rem; margin-top: .8rem; font-weight: 700; }
.references { margin-top: 1.8rem; border-block: 1px solid var(--line); padding: .9rem 0; }
.references summary { font-size: 1.08rem; font-weight: 750; cursor: pointer; }
.references p { margin-top: .8rem; color: var(--copy); }
.references ul { padding-inline-start: 1.2rem; margin-bottom: .35rem; }
.references li + li { margin-top: .4rem; }
.references li span { color: var(--copy); margin-left: .6rem; }
footer { background: #102a3d; color: #fff; padding-block: 2.5rem; }
.footer-layout { display: flex; justify-content: space-between; align-items: start; gap: 1.2rem; }
.footer-layout p { color: #d4e6e9; margin-top: .65rem; }
.footer-layout small { color: #adcbd2; }
.top-link { color: #b3efe3; font-weight: 650; white-space: nowrap; }
.figure-dialog { max-width: min(95vw, 1250px); max-height: 94vh; border: none; padding: 1rem; border-radius: .8rem; background: #fff; color: var(--ink); }
.figure-dialog::backdrop { background: #0b2436c9; }
.figure-dialog form { display: flex; justify-content: end; margin: 0 0 .5rem; }
.figure-dialog img { width: auto; height: auto; max-height: 79vh; max-width: 100%; object-fit: contain; }
.close-button { font: inherit; font-weight: 700; color: #fff; background: var(--ink); border: 0; border-radius: .4rem; padding: .5rem .9rem; cursor: pointer; }
@media (max-width: 950px) {
  .wrap { width: min(100% - 3rem, 1280px); }
  .hero-layout { gap: 2rem; }
  .stage-list li { gap: .6rem; }
}
@media (max-width: 760px) {
  .head-inner { display: grid; grid-template-columns: 1fr auto; gap: .4rem 1rem; padding-top: .68rem; }
  .navigation { grid-column: 1 / -1; grid-row: 2; flex-wrap: wrap; gap: 0 1rem; }
  .navigation a { min-height: 2.75rem; display: inline-flex; align-items: center; }
  .hero-layout, .project, .stages { grid-template-columns: 1fr; }
  .hero-layout { padding-block: 2.65rem; }
  .hero h1 { max-width: 22ch; }
  .hero-figure img { aspect-ratio: 1.55; }
  .module-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 2rem); }
  .head-inner { column-gap: .65rem; }
  .languages a { min-width: 2rem; }
  .section { padding-block: 3.1rem; }
  .figure-grid { grid-template-columns: 1fr; }
  .footer-layout { flex-direction: column; }
  .stage-list li { grid-template-columns: 1.65rem 1fr; }
  .stage-list .status { grid-column: 2; justify-self: start; }
  .scope { gap: .65rem; }
}
