:root {
  color-scheme: dark;
  --background: #10191f;
  --surface: #19252c;
  --text: #f4eee2;
  --muted: #bbc8c9;
  --line: #43565b;
  --green: #a6e186;
  --orange: #ffc36c;
  font-family: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: radial-gradient(ellipse at 75% 10%, #253a47, transparent 50rem), var(--background);
  color: var(--text);
}
a { color: inherit; text-underline-offset: .22em; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--orange); outline-offset: 5px; }
img { display: block; max-width: 100%; }
p { line-height: 1.6; }
.wrap { width: min(1160px, calc(100% - 3rem)); margin-inline: auto; }
.skip { position: absolute; inset: .5rem auto auto .5rem; transform: translateY(-200%); background: var(--surface); padding: .6rem; z-index: 1; }
.skip:focus { transform: none; }
.site-header, .site-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.15rem; }
.site-header { border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; background: var(--green); color: var(--background); font: bold .8rem ui-monospace, monospace; }
nav { display: flex; flex-wrap: wrap; gap: clamp(.8rem, 3vw, 2rem); }
nav a { text-decoration: none; font-size: .9rem; font-weight: 700; }
nav a:hover, .site-footer a:hover { color: var(--green); }
.hero { padding-block: clamp(2rem, 4vw, 3.25rem); }
.hero-copy { display: grid; grid-template-columns: auto minmax(0, 22rem); align-items: end; justify-content: space-between; gap: .6rem 1.75rem; margin-bottom: 1.6rem; }
.hero-summary { padding-bottom: .1rem; }
.eyebrow, .tags { font-family: ui-monospace, Consolas, monospace; font-size: .875rem; line-height: 1.5; }
.eyebrow { grid-column: 1 / -1; margin: 0; color: var(--orange); text-transform: uppercase; letter-spacing: .07em; font-weight: 700; }
.eyebrow span { display: inline-block; width: .5rem; height: .5rem; background: var(--orange); margin-right: .3rem; }
h1, h2, h3 { margin: 0; letter-spacing: -.06em; }
h1 { font-size: clamp(2.65rem, 7.4vw, 7rem); line-height: .98; font-weight: 900; }
h1 strong { color: var(--green); font-weight: inherit; }
.intro { max-width: 36ch; font-size: 1.05rem; color: var(--muted); margin: 0 0 .8rem; }
.hero-art { background: var(--surface); border: 1px solid var(--line); box-shadow: 0 12px 34px #0006; }
.hero-art img { width: 100%; height: auto; }
.button { display: inline-block; padding: .8rem 1rem; border: 1px solid var(--line); background: var(--surface); font-weight: 700; text-decoration: none; }
.button:hover { border-color: var(--orange); }
.primary { background: var(--orange); border-color: var(--orange); color: var(--background); }
.primary:hover { background: #ffda9d; }
.projects { border-top: 1px solid var(--line); padding-block: clamp(2rem, 5vw, 4rem); }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.6rem; }
h2 { font-size: clamp(2.6rem, 6vw, 4.25rem); line-height: 1; }
.text-link { color: var(--green); font-weight: 700; }
.project-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: 1.25rem; }
.project { border: 1px solid var(--line); border-left: 3px solid #75a663; background: var(--surface); padding: clamp(1.2rem, 3vw, 2rem); }
.project h3 { font-size: 2rem; }
.project p { color: var(--muted); max-width: 66ch; }
.project img { width: 100%; max-height: 20rem; object-fit: cover; margin-bottom: 1rem; }
.tags { display: flex; flex-wrap: wrap; gap: .45rem; padding: 0; margin: 0 0 .85rem; list-style: none; }
.tags li { background: #284232; color: var(--green); padding: .22rem .55rem; }
.project details { margin-block: 1rem; }
.project summary { cursor: pointer; width: fit-content; font-weight: 700; }
.project-links { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1rem; }
.about { display: flex; flex-wrap: wrap; gap: .5rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.about .button { padding: .55rem .8rem; font-size: .875rem; }
.site-footer { color: var(--muted); margin-top: 1.8rem; font-size: .875rem; }
@media (max-width: 730px) {
  .hero-copy { grid-template-columns: 1fr; gap: .8rem; }
}
@media (max-width: 410px) {
  .wrap { width: calc(100% - 2rem); }
  .site-header { flex-wrap: wrap; }
}
