:root {
  color-scheme: light;
  --ink: #102929;
  --muted: #465b58;
  --dark: #071b20;
  --mint: #a0efcc;
  --teal: #17684e;
  --paper: #f5f7f2;
  --line: #d7e2d9;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--dark);
  scroll-padding-top: 1.5rem;
}

*, *::before, *::after { box-sizing: border-box; }
body, figure, h1, h2, h3, p, dl, dd { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
img { width: 100%; height: auto; display: block; }
.wrap { width: min(100% - 5rem, 76rem); margin-inline: auto; }
.skip-link { position: fixed; z-index: 5; inset: .75rem auto auto .75rem; transform: translateY(-200%); padding: .75rem; background: white; color: var(--ink); }
.skip-link:focus { transform: translateY(0); }

.header { background: var(--dark); color: #edf8f2; border-bottom: 1px solid #ffffff20; }
.header-inner, .footer-inner, .nav, .brand, .actions, .button, .eyebrow { display: flex; align-items: center; }
.header-inner { justify-content: space-between; min-height: 5rem; gap: 1.5rem; }
.brand { gap: .8rem; text-decoration: none; }
.brand strong { display: block; font-size: 1.45rem; font-weight: 750; line-height: 1.05; letter-spacing: -.07em; }
.brand strong span { font-weight: 550; }
.brand b, .footer-brand span { color: var(--mint); }
.brand small { color: #b4cbc3; display: block; margin-top: .22rem; font-size: .65rem; letter-spacing: .16em; text-transform: uppercase; }
.brand-mark { display: grid; grid-template-columns: repeat(2, 8px); grid-template-rows: repeat(2, 8px); gap: 3px; padding: .48rem; border: 1px solid #477066; border-radius: 5px; }
.brand-mark i { background: var(--mint); border-radius: 1px; }
.brand-mark i:nth-child(2) { opacity: .5; }
.brand-mark i:nth-child(3) { grid-column: 2; }
.nav { gap: clamp(1rem, 3vw, 2.9rem); }
.nav a { text-decoration: none; font-size: .9rem; font-weight: 550; color: #d2e2dd; }
.nav a:hover, .footer a:hover { color: var(--mint); }
.nav .nav-action { color: var(--mint); border: 1px solid #426f63; border-radius: 5px; padding: .66rem .85rem; }

.hero { background: radial-gradient(ellipse at 75% 49%, #163c38, var(--dark) 62%); color: #f3f9f5; overflow: hidden; }
.hero-layout { display: grid; grid-template-columns: 1.04fr 1fr; align-items: center; min-height: 36rem; gap: 2rem; padding-block: 4.5rem; }
.hero-content { position: relative; z-index: 1; }
.eyebrow { gap: .65rem; margin-bottom: 1.1rem; color: var(--teal); font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .72rem; font-weight: 700; letter-spacing: .115em; text-transform: uppercase; }
.eyebrow span { width: .52rem; height: .52rem; background: currentColor; border-radius: 2px; }
.hero .eyebrow, .contribute .eyebrow { color: var(--mint); }
h1, h2 { font-weight: 720; letter-spacing: -.065em; }
h1 { font-size: clamp(3.15rem, 6.25vw, 6.05rem); line-height: .99; }
h1 em { color: var(--mint); font-style: normal; }
.intro { color: #cadcd6; max-width: 34rem; margin-top: 1.6rem; font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.62; }
.actions { flex-wrap: wrap; margin-top: 2rem; gap: .75rem; }
.button { justify-content: space-between; gap: 1rem; width: fit-content; min-height: 2.9rem; padding: .73rem 1rem; border: 1px solid transparent; border-radius: 5px; text-decoration: none; font-size: .91rem; font-weight: 700; }
.primary { color: #092820; background: var(--mint); }
.primary:hover { background: #c6f8e2; }
.secondary { color: #e5f5ed; border-color: #52766b; }
.secondary:hover { background: #ffffff12; }
.hero-art, .practice-art { position: relative; }
.hero-art img, .practice-art img { border-radius: 9px; aspect-ratio: 3 / 2; object-fit: cover; }
.hero-art img { border: 1px solid #507469; }
figcaption { padding-top: .65rem; color: #b4cbc3; text-align: right; font-size: .72rem; letter-spacing: .03em; }

.section { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.projects, .ecosystem { background: var(--paper); }
.section-head { display: grid; grid-template-columns: 1.4fr 1fr; align-items: end; gap: 1rem 2.5rem; margin-bottom: 2rem; }
.section-head > p, .section-intro, .project > p, dd, .resource-list a > span { color: var(--muted); line-height: 1.6; }
.section-head > p { max-width: 29rem; justify-self: end; }
h2 { font-size: clamp(2.15rem, 4.4vw, 4.1rem); line-height: 1.02; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.project { display: flex; flex-direction: column; padding: clamp(1.15rem, 2.5vw, 2rem); background: #fff; border: 1px solid var(--line); border-top: 3px solid #368467; border-radius: 8px; }
.category { color: var(--teal); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 750; }
h3 { font-size: clamp(1.29rem, 2vw, 1.65rem); line-height: 1.12; letter-spacing: -.035em; margin-block: .75rem 1rem; }
.project p { font-size: .95rem; }
.project .deliverable { padding-top: 1rem; margin-top: auto; }
.deliverable strong { display: block; border-top: 1px solid var(--line); padding-top: .8rem; margin-bottom: .3rem; font-size: .79rem; color: var(--ink); }

.practice { background: #e6f0e8; }
.practice-layout { display: grid; grid-template-columns: 1.12fr 1fr; align-items: center; gap: clamp(2rem, 6vw, 5.5rem); }
.section-intro { margin-top: 1.1rem; }
.principles { margin-top: 1.55rem; }
.principles div { padding-block: .9rem; border-top: 1px solid #b9d0c2; }
dt { font-weight: 730; margin-bottom: .18rem; }
dd { font-size: .94rem; }
.practice-art figcaption { color: var(--muted); }

.resource-list { border-top: 1px solid #c6d5c9; }
.resource-list a { display: grid; grid-template-columns: minmax(8.5rem, .7fr) 1.8fr auto; gap: 1rem; align-items: center; padding: 1.05rem .5rem; border-bottom: 1px solid #c6d5c9; text-decoration: none; }
.resource-list a:hover { background: #e6f0e8; }
.resource-list a .arrow { color: var(--teal); font-size: 1.25rem; }

.contribute { background: #10362f; color: #f0f9f4; }
.contribute-layout { display: flex; align-items: center; justify-content: space-between; gap: 1.6rem 3rem; }
.contribute p:not(.eyebrow) { max-width: 38rem; color: #d3e5dd; margin-top: 1.05rem; line-height: 1.6; }
.contribute .button { flex: none; }
.footer { color: #b4cbc3; font-size: .83rem; }
.footer-inner { justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-block: 1.6rem; }
.footer a { text-decoration: none; }
.footer-brand { color: #edf8f2; font-weight: 750; font-size: 1rem; }
.footer-brand small { font-size: .72em; font-weight: 500; margin-left: .25rem; }

@media (max-width: 56rem) {
  .wrap { width: calc(100% - 3rem); }
  .hero-layout { min-height: auto; }
  .hero-layout, .practice-layout { gap: 2rem; }
  .section-head { grid-template-columns: 1fr; }
  .section-head > p { justify-self: start; }
}
@media (max-width: 44rem) {
  .header-inner { flex-wrap: wrap; gap: .9rem; padding-block: .85rem; }
  .nav { justify-content: space-between; flex-wrap: wrap; gap: .45rem .65rem; width: 100%; }
  .nav a { font-size: .79rem; }
  .nav .nav-action { padding: .4rem .5rem; }
  .hero-layout, .practice-layout, .project-grid { grid-template-columns: 1fr; }
  .hero-layout { padding-block: 3.35rem 2.4rem; }
  .hero-art, .practice-art { max-width: 35rem; }
  .project { padding: 1.25rem; }
  .contribute-layout { flex-direction: column; align-items: start; }
}
@media (max-width: 29rem) {
  .wrap { width: calc(100% - 2rem); }
  h1 { font-size: clamp(2.6rem, 10vw, 3.35rem); }
  .resource-list a { grid-template-columns: 1fr auto; gap: .2rem 1rem; }
  .resource-list a > span:not(.arrow) { grid-column: 1; grid-row: 2; font-size: .92rem; }
  .resource-list a .arrow { grid-column: 2; grid-row: 1 / span 2; }
}

.sponsor { padding-block: clamp(2rem, 5vw, 3.75rem); background: #e6f0e8; }
.sponsor h2 { font-size: clamp(1.85rem, 3vw, 2.8rem); }
.sponsor p:not(.eyebrow) { max-width: 41rem; margin-top: .8rem; color: var(--muted); line-height: 1.6; }
.sponsor-button { flex: none; color: #fff; background: #17684e; }
.sponsor-button:hover { background: #10362f; }
.sponsor-button:focus-visible { outline-color: var(--ink); }

