:root {
  color-scheme: light;
  --paper: #f5f8f5;
  --ink: #263832;
  --muted: #71817a;
  --green: #4a8a78;
  --green-deep: #28594e;
  --mint: #dcece5;
  --line: #d9e5de;
  --coral: #e39268;
  --white: #fffefa;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.shell { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgb(217 229 222 / 82%);
  background: rgb(245 248 245 / 92%);
  backdrop-filter: blur(14px);
}
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 15px; font-weight: 700; letter-spacing: 0; }
.brand-mark {
  display: grid;
  width: 36px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: var(--green-deep);
  color: white;
  font-family: var(--serif);
  font-size: 15px;
}
.nav-links { display: flex; align-items: center; gap: 34px; margin: 0; padding: 0; list-style: none; }
.nav-links a { color: #53625a; font-size: 13px; transition: color .2s ease; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--green-deep); }
.nav-links .nav-contact { padding: 10px 17px; border: 1px solid #b6c8ba; border-radius: 3px; color: var(--green-deep); }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--ink); cursor: pointer; }

.hero { position: relative; overflow: hidden; padding: 74px 0 88px; }
.hero::before {
  position: absolute;
  top: -190px;
  right: -100px;
  width: 490px;
  aspect-ratio: 1;
  border: 1px solid #e1e9e1;
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 44px rgb(220 236 229 / 36%), 0 0 0 88px rgb(220 236 229 / 22%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 64px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--green); font-size: 12px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; }
.eyebrow::before { width: 25px; height: 1px; background: var(--coral); content: ""; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 620px; margin: 19px 0 18px; font-family: var(--serif); font-size: clamp(48px, 6vw, 76px); font-weight: 500; letter-spacing: 0; line-height: 1.07; }
h1 span { color: var(--green); font-style: italic; }
.hero-copy { max-width: 465px; margin-bottom: 30px; color: var(--muted); font-size: 15px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.button-primary { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 12px; padding: 0 19px; border-radius: 3px; background: var(--green-deep); color: white; font-size: 13px; font-weight: 600; transition: background .2s ease, transform .2s ease; }
.button-primary:hover { transform: translateY(-2px); background: #254637; }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--green-deep); font-size: 13px; font-weight: 600; }
.arrow { transition: transform .2s ease; }
.text-link:hover .arrow { transform: translateX(4px); }

.hero-art { position: relative; width: min(100%, 450px); margin-left: auto; padding: 0 18px 25px 0; }
.code-window { overflow: hidden; border: 1px solid #dce4dc; background: #fffefa; box-shadow: 0 22px 55px rgb(49 87 70 / 9%); transform: rotate(1.5deg); animation: settle-in .8s cubic-bezier(.2,.7,.2,1) both; }
.code-window-top { display: flex; height: 49px; align-items: center; gap: 7px; padding: 0 17px; border-bottom: 1px solid #e8ece6; }
.code-window-top > span { width: 8px; aspect-ratio: 1; border-radius: 50%; background: #d48972; }
.code-window-top > span:nth-child(2) { background: #d8c99a; }
.code-window-top > span:nth-child(3) { background: #a9c5ad; }
.code-window-top small { margin-left: auto; color: var(--muted); font-family: var(--sans); font-size: 10px; }
.code-lines { display: grid; gap: 14px; padding: 27px 22px 31px; color: #67746d; font-family: Consolas, monospace; font-size: clamp(10px, 1.5vw, 13px); }
.code-lines span { min-height: 16px; white-space: pre; }
.code-lines i { display: inline-block; width: 30px; color: #aab4aa; font-style: normal; }
.code-lines b { color: #527d66; font-weight: 600; }
.code-lines em { color: #c47a63; font-style: normal; }
.code-lines strong { color: #9c7d43; font-weight: 500; }
.code-lines u { display: inline-block; width: 7px; height: 14px; margin-left: 3px; background: #78977f; vertical-align: middle; animation: blink 1s steps(2, start) infinite; }
.art-note { position: absolute; right: 0; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 13px 17px; border: 1px solid #dce4dc; background: var(--paper); color: #53625a; font-family: var(--serif); font-size: 14px; line-height: 1.35; }
.art-note-mark { color: var(--coral); font-size: 23px; animation: turn 12s linear infinite; }

.section { padding: 86px 0; }
.section-top { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 37px; }
.section-kicker { margin-bottom: 10px; color: var(--green); font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
h2 { margin-bottom: 0; font-family: var(--serif); font-size: clamp(34px, 4vw, 48px); font-weight: 500; letter-spacing: 0; line-height: 1.16; }
.section-intro { max-width: 380px; margin-bottom: 2px; color: var(--muted); font-size: 14px; }
.about { border-top: 1px solid var(--line); background: #eaf2ed; }
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: start; }
.about-copy { padding-top: 26px; color: #65736b; font-size: 15px; }
.about-copy p:last-child { margin-bottom: 0; }
.about-facts { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #cdd9cf; }
.fact { min-height: 110px; padding: 21px 20px 20px 0; border-bottom: 1px solid #cdd9cf; }
.fact:nth-child(odd) { border-right: 1px solid #cdd9cf; }
.fact:nth-child(even) { padding-left: 25px; }
.fact-label { display: block; margin-bottom: 7px; color: var(--muted); font-size: 11px; letter-spacing: .8px; text-transform: uppercase; }
.fact strong { font-size: 15px; font-weight: 600; }

.learning-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.learning-item { min-height: 195px; padding: 25px 27px 28px 0; }
.learning-item + .learning-item { padding-left: 27px; border-left: 1px solid var(--line); }
.item-number { display: inline-grid; width: 32px; aspect-ratio: 1; place-items: center; margin-bottom: 19px; border: 1px solid #cddbd0; border-radius: 50%; color: var(--green); font-family: var(--serif); font-size: 13px; }
.learning-item h3 { margin-bottom: 8px; font-size: 16px; font-weight: 600; }
.learning-item p { max-width: 275px; margin-bottom: 0; color: var(--muted); font-size: 13px; }

.projects { border-top: 1px solid var(--line); background: #edf4ef; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.project-card { position: relative; min-height: 255px; padding: 25px 27px 24px; border: 1px solid #dce4dc; background: var(--white); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.project-card:hover { transform: translateY(-5px); border-color: #b7c9b9; box-shadow: 0 16px 35px rgb(49 87 70 / 9%); }
.project-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 25px; color: var(--green); font-size: 10px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }
.project-meta span:first-child { display: grid; width: 30px; aspect-ratio: 1; place-items: center; border: 1px solid #cddbd0; border-radius: 50%; font-family: var(--serif); font-size: 12px; letter-spacing: 0; }
.project-card h3 { margin-bottom: 9px; font-family: var(--serif); font-size: 22px; font-weight: 600; }
.project-card p { max-width: 440px; margin-bottom: 18px; color: var(--muted); font-size: 13px; }
.project-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.project-tags span { padding: 5px 9px; border: 1px solid #e1e8e0; color: #64736a; font-size: 10px; }

.quote-band { padding: 70px 0; background: var(--green-deep); color: #f8faf5; }
.quote-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.quote-inner blockquote { max-width: 700px; margin: 0; font-family: var(--serif); font-size: clamp(25px, 3.2vw, 39px); line-height: 1.35; }
.quote-mark { align-self: flex-start; color: #c4d6c6; font-family: var(--serif); font-size: 80px; line-height: .8; }

.contact { position: relative; overflow: hidden; padding: 84px 0 30px; background: var(--green-deep); color: var(--white); }
.contact::before { position: absolute; top: -135px; right: -60px; width: 330px; aspect-ratio: 1; border: 1px solid rgb(220 236 229 / 18%); border-radius: 50%; box-shadow: 0 0 0 36px rgb(220 236 229 / 7%), 0 0 0 72px rgb(220 236 229 / 5%); content: ""; pointer-events: none; }
.contact-inner { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 56px; padding-bottom: 48px; border-bottom: 1px solid rgb(255 254 250 / 22%); }
.contact-copy .section-kicker { color: #b6dfcf; }
.contact-copy h2 { max-width: 490px; color: var(--white); }
.contact-inner p { max-width: 450px; margin: 13px 0 0; color: rgb(255 254 250 / 76%); font-size: 14px; }
.contact-methods { display: grid; gap: 12px; }
.contact-method { display: flex; min-height: 82px; align-items: center; gap: 16px; padding: 14px 18px; border: 1px solid rgb(255 254 250 / 22%); background: rgb(255 254 250 / 6%); transition: transform .22s ease, background .22s ease; }
.contact-method:hover { transform: translateX(4px); background: rgb(255 254 250 / 11%); }
.method-icon { display: grid; width: 38px; aspect-ratio: 1; flex: 0 0 auto; place-items: center; border: 1px solid rgb(255 254 250 / 35%); border-radius: 50%; color: #f2b28f; font-family: var(--serif); font-size: 13px; }
.contact-method small, .contact-method strong { display: block; }
.contact-method small { margin-bottom: 3px; color: #b6dfcf; font-size: 10px; letter-spacing: 1px; text-transform: uppercase; }
.contact-method strong { overflow-wrap: anywhere; color: var(--white); font-size: 14px; font-weight: 500; }
footer { position: relative; display: flex; justify-content: space-between; gap: 20px; padding: 20px 0 0; color: rgb(255 254 250 / 66%); font-size: 11px; }
footer a { color: #f2b28f; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .22s; }
@keyframes settle-in { from { opacity: 0; transform: translateY(16px) rotate(4deg); } to { opacity: 1; transform: translateY(0) rotate(1.5deg); } }
@keyframes blink { to { visibility: hidden; } }
@keyframes turn { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
}
@media (max-width: 800px) {
  .hero-grid { grid-template-columns: 1fr .8fr; gap: 28px; }
  .hero { padding: 60px 0 72px; }
  .hero-art { padding-right: 12px; }
  .about-grid { gap: 38px; }
  .section { padding: 70px 0; }
}
@media (max-width: 620px) {
  .shell { width: min(100% - 36px, 480px); }
  .nav-wrap { min-height: 66px; }
  .menu-toggle { display: grid; width: 40px; aspect-ratio: 1; place-items: center; }
  .menu-toggle svg { width: 22px; height: 22px; }
  .nav-links { position: absolute; top: 65px; right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: 8px 18px 16px; border-bottom: 1px solid var(--line); background: var(--paper); }
  .nav-links.is-open { display: flex; flex-direction: column; }
  .nav-links a { display: block; padding: 12px 0; }
  .nav-links .nav-contact { display: inline-block; padding: 8px 12px; }
  .hero { padding: 53px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 42px; }
  h1 { max-width: 460px; font-size: clamp(48px, 14vw, 66px); }
  .hero-copy { font-size: 14px; }
  .hero-art { width: min(92%, 390px); margin: 0 auto; }
  .section { padding: 62px 0; }
  .section-top { align-items: start; flex-direction: column; gap: 16px; margin-bottom: 28px; }
  .section-intro { font-size: 13px; }
  .about-grid { grid-template-columns: 1fr; gap: 24px; }
  .about-copy { padding-top: 0; }
  .project-grid { grid-template-columns: 1fr; gap: 11px; }
  .project-card { min-height: 0; padding: 22px; }
  .project-meta { margin-bottom: 19px; }
  .learning-grid { grid-template-columns: 1fr; }
  .learning-item, .learning-item + .learning-item { min-height: auto; padding: 22px 0; border-left: 0; }
  .learning-item + .learning-item { border-top: 1px solid var(--line); }
  .item-number { margin-bottom: 12px; }
  .quote-band { padding: 55px 0; }
  .quote-inner { gap: 15px; }
  .quote-mark { font-size: 58px; }
  .contact { padding: 62px 0 25px; }
  .contact-inner { grid-template-columns: 1fr; gap: 30px; padding-bottom: 32px; }
  .contact-method { min-height: 76px; }
  footer { flex-direction: column; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}