:root {
  color-scheme: light;
  --page: #f8f7f2;
  --ink: #242d25;
  --muted: #646b60;
  --green: #36573c;
  --line: #dcded3;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--page);
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: .25em; }
a:focus-visible { outline: 3px solid var(--green); outline-offset: 6px; }
::selection { background: #d9e5c9; color: var(--ink); }
h1, h2, h3, p { margin: 0; }
.page-shell { width: min(100% - 3rem, 1040px); margin-inline: auto; }
.skip-link { position: absolute; top: 1rem; left: 1rem; z-index: 2; padding: 1rem; background: white; transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
.site-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 2rem; border-bottom: 1px solid var(--line); }
.identity { display: flex; align-items: center; gap: .85rem; }
.identity-mark { font-weight: 750; font-size: 1.6rem; letter-spacing: -.1em; padding-right: .2em; }
.identity-mark span { color: #6d875b; }
.identity-name { display: block; font-size: .95rem; font-weight: 650; line-height: 1.5; }
.identity-role { display: block; color: var(--muted); font-size: .8rem; line-height: 1.5; }
.nav-link { display: inline-flex; align-items: center; gap: 1.5rem; min-height: 44px; font-size: .9rem; font-weight: 550; text-decoration: none; }
.nav-link:hover { color: var(--green); text-decoration: underline; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.75rem; }
.hero { padding-block: clamp(4.5rem, 10vw, 8rem) clamp(4.5rem, 8vw, 6.5rem); max-width: 850px; }
.eyebrow { display: flex; align-items: center; gap: .65rem; color: var(--green); font-size: .75rem; font-weight: 650; line-height: 1.7; letter-spacing: .09em; text-transform: uppercase; }
.status-dot { width: 7px; height: 7px; flex-shrink: 0; border-radius: 50%; background: #6c8857; }
h1 { max-width: 820px; margin-top: 1.6rem; font-size: clamp(3rem, 7vw, 5.1rem); line-height: 1.08; font-weight: 550; letter-spacing: -.055em; text-wrap: balance; }
.hero-description { max-width: 490px; margin-top: 1.75rem; color: var(--muted); font-size: 1.125rem; line-height: 1.75; }
.text-link { display: inline-flex; align-items: center; gap: 1rem; min-height: 44px; font-size: .9rem; font-weight: 600; color: var(--green); }
.hero .text-link { margin-top: 1.75rem; }
.text-link:hover { text-decoration-thickness: 2px; }
.projects { scroll-margin-top: 2rem; }
.section-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .75rem 2rem; margin-bottom: 1.5rem; }
.section-heading h2 { font-size: 1.05rem; font-weight: 650; letter-spacing: -.02em; }
.section-heading p { font-size: .85rem; color: var(--muted); line-height: 1.6; }
.project-list { display: grid; gap: 1.5rem; }
.project-card { display: grid; grid-template-columns: 1.1fr 1fr; overflow: hidden; background: #fffefb; border: 1px solid var(--line); border-radius: 1.5rem; }
.project-art { display: grid; place-items: center; min-width: 0; padding: 1.5rem .5rem; background: #eef0e5; }
.project-art svg { display: block; width: 100%; height: auto; max-width: 540px; }
.project-details { align-self: center; padding: clamp(2rem, 4vw, 3.5rem); }
.project-details h3 { margin-top: .8rem; font-size: 2.75rem; font-weight: 550; letter-spacing: -.045em; line-height: 1.2; }
.project-description { margin-top: 1rem; max-width: 300px; font-size: 1rem; line-height: 1.75; color: var(--muted); }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 48px; margin-top: 1.75rem; padding: .85rem 1.2rem; background: var(--green); color: #fffefb; border-radius: .65rem; font-size: .875rem; font-weight: 600; line-height: 1.5; text-decoration: none; }
.button:hover { background: #27452c; }
.project-details:only-child { grid-column: 1 / -1; }
.contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; padding-block: 4.5rem; }
.contact h2 { font-size: 1.75rem; font-weight: 550; letter-spacing: -.035em; }
.contact p { max-width: 380px; margin-top: .75rem; color: var(--muted); font-size: .95rem; line-height: 1.7; }
.contact .text-link { overflow-wrap: anywhere; min-width: 0; }
.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; padding-block: 1.6rem 2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .75rem; line-height: 1.6; }

@media (max-width: 700px) {
  .project-card { grid-template-columns: 1fr; }
  .project-art { padding: .5rem 1rem; }
  .project-art svg { max-width: 400px; }
  .project-details { padding: 2rem; }
  .project-description { max-width: 100%; }
  .contact { padding-block: 3.5rem; }
}

@media (max-width: 380px) {
  .page-shell { width: calc(100% - 2rem); }
  .site-header { gap: .75rem; }
  .project-details { padding: 1.5rem; }
}
