:root {
  color-scheme: light;
  --ink: #14201d;
  --muted: #4b5b54;
  --paper: #f7f9f5;
  --soft: #edf2eb;
  --dark: #101c1a;
  --bright: #d9fa97;
  --line: #d9e1d7;
  --max: 74rem;
  font: 100%/1.5 "Aptos", "Inter", system-ui, sans-serif;
  scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 3px solid #619835; outline-offset: 4px; }
[hidden] { display: none !important; }
:target { scroll-margin-top: 1rem; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { letter-spacing: -.045em; line-height: 1.06; }
.wrap { width: min(var(--max), calc(100% - 6rem)); margin-inline: auto; }
.skip { position: fixed; top: .75rem; left: .75rem; z-index: 5; padding: .6rem 1rem; background: var(--bright); translate: 0 -200%; }
.skip:focus { translate: 0; }

.site-header { background: var(--dark); color: #f3f7ed; border-bottom: 1px solid #ffffff20; }
.header-inner { display: flex; min-height: 5rem; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; font-weight: 760; letter-spacing: -.025em; }
.monogram { display: grid; place-items: center; width: 2rem; height: 2rem; border: 1px solid currentColor; border-radius: .5rem; color: var(--bright); font-size: .75rem; letter-spacing: -.065em; }
nav { display: flex; align-items: center; gap: clamp(.75rem, 3.5vw, 2.4rem); }
nav a { font-size: .91rem; font-weight: 650; color: #d5dfd4; text-decoration: none; }
nav a:hover { color: var(--bright); }
nav .header-contact { padding: .46rem .88rem; border: 1px solid #88a28570; border-radius: .45rem; }

.hero { overflow: hidden; background: radial-gradient(ellipse at 82% 10%, #263f31 0, transparent 48%), var(--dark); color: #f2f6ee; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .95fr); align-items: center; gap: clamp(2.6rem, 6vw, 6rem); padding-block: clamp(4rem, 9vw, 8rem); }
.overline { display: flex; align-items: center; gap: .55rem; color: var(--bright); font-size: .79rem; font-weight: 780; letter-spacing: .105em; text-transform: uppercase; }
.signal { width: .48rem; height: .48rem; background: var(--bright); border-radius: 50%; }
.hero h1 { max-width: 10.6ch; margin-top: 1.15rem; color: #f2f6ec; font-size: clamp(3rem, 6.65vw, 6.15rem); font-weight: 760; letter-spacing: -.075em; line-height: .99; }
.hero h1 em { color: var(--bright); font-style: normal; }
.hero-copy { max-width: 31rem; margin-top: 1.55rem; color: #cbd8cb; font-size: clamp(1.05rem, 1.75vw, 1.22rem); line-height: 1.63; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 1.65rem; margin-top: 1.8rem; }
.button { display: inline-flex; min-height: 2.9rem; width: fit-content; align-items: center; justify-content: center; padding: .65rem 1rem; border-radius: .5rem; font-weight: 760; text-decoration: none; }
.primary { color: #142012; background: var(--bright); transition: background-color 140ms ease; }
.primary:hover { background: #e6ffbc; }
.text-link { width: fit-content; color: #264923; font-weight: 760; text-underline-offset: .27em; text-decoration-thickness: .08em; }
.text-link:hover { color: #102d13; text-decoration-thickness: .14em; }
.on-dark { color: #f1f7ee; }
.on-dark:hover { color: var(--bright); }

.demo { position: relative; z-index: 0; min-width: 0; color: #eef5eb; background: #14231e; border: 1px solid #8bb18a60; border-radius: .9rem; box-shadow: 0 32px 70px #07100d6b; }
.demo::before { content: ""; position: absolute; z-index: -1; inset: -.65rem; border: 1px solid #99b8973d; border-radius: 1.28rem; pointer-events: none; }
.demo-top, .demo-bottom { display: flex; align-items: center; gap: .65rem; padding: .9rem 1.22rem; }
.demo-top { justify-content: space-between; border-bottom: 1px solid #b6d2b328; }
.demo-brand { display: flex; align-items: center; gap: .57rem; font-weight: 700; }
.demo-mark { width: 1.25rem; height: 1.25rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: .16rem; transform: rotate(-8deg); }
.demo-mark i { background: #d7efa9; border-radius: .12rem; }
.demo-mark i:nth-child(2) { opacity: .48; }
.demo-mark i:nth-child(3) { opacity: .68; }
.demo-label { color: #c1d4bf; font-size: .74rem; white-space: nowrap; }
.demo-content { padding: 1.42rem 1.22rem; }
.demo-kicker { color: #a9c3ab; font-size: .71rem; font-weight: 770; letter-spacing: .13em; }
.demo-heading { font-size: clamp(1.35rem, 2.4vw, 2.15rem); font-weight: 740; letter-spacing: -.05em; line-height: 1.12; margin-top: .45rem; }
.scenario-buttons { display: flex; gap: .38rem; margin-top: 1.2rem; }
.scenario-buttons button { min-height: 2.3rem; padding: .28rem .69rem; border: 1px solid #a3c3a442; border-radius: .4rem; color: #d6e2d5; background: #192c25; font-size: .84rem; font-weight: 700; cursor: pointer; }
.scenario-buttons button:hover { background: #2d4939; }
.scenario-buttons button[aria-pressed=true] { color: #e6f6ca; background: #34513a; border-color: #accf7490; }
.demo-result { min-height: 9.3rem; margin-top: .9rem; padding: .85rem; border: 1px solid #b3d2a337; border-radius: .55rem; background: #1d3028; }
.result-heading { display: flex; align-items: center; gap: .48rem; font-weight: 760; line-height: 1.32; }
.mini-icon { display: grid; flex: 0 0 1.45rem; height: 1.45rem; place-items: center; border-radius: .32rem; color: var(--bright); background: #81ac4d36; }
.demo-result p { margin-top: .55rem; color: #c8d7c9; font-size: .89rem; line-height: 1.55; }
.result-context { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .3rem .6rem; margin-top: .7rem; font-size: .75rem; color: #bacfb9; }
#result-status { padding: .16rem .45rem; border-radius: .3rem; color: #e2f4c1; background: #a8cf7c23; font-weight: 700; }
.demo-bottom { border-top: 1px solid #b6d2b328; color: #c1d4bf; font-size: .81rem; }
.demo-check { color: var(--bright); }

.work-section { padding-block: clamp(3rem, 7vw, 6.1rem); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.25rem 2.5rem; margin-bottom: 1.75rem; }
.accent-ink { color: #4c6937; }
.section-head h2, .approach-inner h2, .connect-inner h2 { margin-top: .38rem; font-size: clamp(2.4rem, 5vw, 4.35rem); }
.section-head > p { max-width: 26rem; color: var(--muted); padding-bottom: .2rem; }
.featured { display: grid; grid-template-columns: 1fr .92fr; gap: clamp(1.4rem, 5vw, 4rem); padding: clamp(1.35rem, 4vw, 3.1rem); background: #e9efe3; border: 1px solid #d8e2d2; border-radius: .9rem; }
.project-kind { display: flex; align-items: center; gap: .45rem; color: #4c6937; font-size: .78rem; font-weight: 800; line-height: 1.4; text-transform: uppercase; letter-spacing: .09em; }
.project-indicator { width: .48rem; height: .48rem; border-radius: 50%; background: #6d913d; }
.feature-intro h3, .project-copy h3, .other-projects h3 { margin-top: .47rem; font-size: clamp(1.85rem, 3.6vw, 3.2rem); }
.feature-intro p:last-child { margin-top: .9rem; color: var(--muted); }
.feature-lede { margin-top: .8rem; font-size: 1.11rem; font-weight: 660; }
.feature-details dl { display: grid; gap: .74rem; margin: 0; }
.feature-details dl div { padding: .79rem 0 0; border-top: 1px solid #c6d4be; }
.feature-details dt { font-weight: 780; }
.feature-details dd { margin: .22rem 0 0; color: var(--muted); }

.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-top: 1.25rem; }
.project-card { overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: .85rem; background: #fcfdfb; }
.project-art { position: relative; overflow: hidden; min-height: 12rem; }
.art-label { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; width: calc(100% - 2.4rem); margin: 1.2rem; color: #fff; font-size: .99rem; font-weight: 760; }
.art-label > span:last-child { margin-left: auto; color: #bfcbd2; font-size: .7rem; letter-spacing: .06em; }
.flare-art { background: radial-gradient(ellipse at 90% 110%, #553a29 0, transparent 65%), #17222a; }
.flare-dot { width: .68rem; height: .68rem; border-radius: .18rem; background: #ffb97c; transform: rotate(45deg); }
.flare-chart { position: absolute; inset: 3.65rem 1.2rem .2rem; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: end; gap: clamp(.2rem, 1.15vw, .67rem); }
.chart-grid { position: absolute; inset: 0; background: repeating-linear-gradient(to top, #fbd4ad25 0 1px, transparent 1px 1.55rem); }
.flare-chart i { position: relative; height: var(--value); border: 1px solid #f8ba8090; border-bottom: 0; border-radius: .24rem .24rem 0 0; background: linear-gradient(#e8aa6be0, #d9914c24); }
.sandbox-art { background-color: #111d2a; background-image: radial-gradient(circle at 17% 52%, #c0f9fc 0 .065rem, transparent .10rem), radial-gradient(circle at 82% 12%, #c0f9fc 0 .06rem, transparent .10rem), radial-gradient(circle at 32% 82%, #c0f9fc 0 .06rem, transparent .10rem), radial-gradient(circle at 91% 63%, #c0f9fc 0 .06rem, transparent .10rem), radial-gradient(ellipse at 60% 90%, #203c54, transparent 75%); }
.planet { position: absolute; width: 12.4rem; aspect-ratio: 1; top: 32%; left: 52%; translate: -50% 0; border-radius: 50%; background: repeating-linear-gradient(156deg, #9bdae116 0 4px, transparent 4px 28px), radial-gradient(ellipse at 32% 13%, #b6f1e1, #65b7a2 33%, #2e646f 53%, #17252e 72%); box-shadow: -4px -3px 22px #73b6be38; }
.orbit { position: absolute; width: 21rem; height: 6.5rem; top: 39%; left: 52%; translate: -50%; rotate: -16deg; border: 1px solid #a3d1db73; border-radius: 50%; }
.moon { position: absolute; top: 34%; left: 78%; width: 1.16rem; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 29% 25%, #e4fbeb, #92adac 45%, #384d59 70%); }
.project-copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 1.4rem; }
.project-copy h3 { font-size: clamp(1.75rem, 3.1vw, 2.45rem); }
.project-copy > p:not(.project-kind) { color: var(--muted); margin: .7rem 0 1.05rem; }
.project-copy > a { margin-top: auto; }

.other-projects { display: grid; grid-template-columns: .42fr 1fr; gap: 1.3rem 2.5rem; margin-top: 3.55rem; }
.other-projects h3 { font-size: clamp(1.65rem, 3.1vw, 2.4rem); }
.project-list article { display: grid; grid-template-columns: .78fr 1fr; gap: .55rem 1.3rem; padding-block: .9rem; border-top: 1px solid var(--line); }
.project-list article:last-child { border-bottom: 1px solid var(--line); }
.project-list h4 { margin-top: .3rem; font-size: 1.2rem; }
.project-list article > p { font-size: .95rem; color: var(--muted); }
.approach-section { background: var(--soft); border-top: 1px solid var(--line); }
.approach-inner { display: grid; grid-template-columns: 1fr .85fr; gap: 1.6rem 4rem; padding-block: clamp(3rem, 7vw, 5.5rem); }
.approach-inner h2 { max-width: 12ch; }
.approach-copy { align-self: center; color: var(--muted); font-size: 1.08rem; line-height: 1.6; }
.approach-copy p + p { margin-top: .85rem; }

.connect-section, .site-footer { color: #f5f8ee; background: var(--dark); }
.connect-inner { display: flex; justify-content: space-between; align-items: end; gap: 1.4rem 3rem; padding-block: clamp(2.7rem, 7vw, 4.85rem); }
.connect-inner p:last-child { margin-top: .6rem; max-width: 32rem; color: #cbd8cb; }
.connect-inner .button { flex-shrink: 0; }
.site-footer { border-top: 1px solid #ffffff20; }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .9rem 1.4rem; min-height: 4.75rem; padding-block: .9rem; }
.site-footer p { color: #c1d0c0; font-size: .87rem; }

@media (max-width: 940px) {
  .wrap { width: calc(100% - 3.6rem); }
  .hero-inner { gap: 2.4rem; }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 2.4rem); }
  .header-inner { min-height: 4.15rem; }
  .hero-inner, .featured, .other-projects, .approach-inner { grid-template-columns: 1fr; }
  .hero-inner { gap: 2.5rem; padding-block: 3.3rem 3.65rem; }
  .hero h1 { max-width: 13ch; font-size: clamp(3rem, 9.5vw, 4.1rem); }
  .demo { max-width: 32rem; }
  .section-head, .connect-inner { flex-direction: column; align-items: flex-start; }
  .section-head { gap: .55rem; }
  .other-projects { margin-top: 2.6rem; }
  .approach-inner h2 { max-width: 15ch; }
}
@media (max-width: 500px) {
  .brand { gap: .45rem; font-size: .86rem; }
  .monogram { width: 1.7rem; height: 1.7rem; font-size: .65rem; }
  .header-inner, nav { gap: .55rem; }
  nav a { font-size: .78rem; }
  nav .header-contact { padding: .31rem .48rem; }
  .project-grid, .project-list article { grid-template-columns: 1fr; }
  .art-label > span:last-child { font-size: .65rem; }
  .demo-top, .demo-bottom { padding-inline: .86rem; }
  .demo-content { padding-inline: .86rem; }
}
@media (max-width: 350px) {
  .wrap { width: calc(100% - 1.7rem); }
  .site-header .brand .monogram { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

