:root {
  --paper: #f4f1e9;
  --surface: #fbfaf6;
  --ink: #1d2823;
  --muted: #626a64;
  --line: #d6d4ca;
  --accent: #2f6653;
  --dark: #17231e;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
}
a { color: inherit; }
button { font: inherit; }
.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 20;
  padding: .7rem 1rem;
  background: white;
  color: var(--ink);
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem clamp(1.25rem, 4vw, 4rem);
  color: white;
}
.brand {
  font-family: var(--serif);
  font-size: 1.15rem;
  text-decoration: none;
}
.site-nav { display: flex; gap: 1.75rem; }
.site-nav a {
  font-size: .82rem;
  text-decoration: none;
}
.site-nav a:hover { text-decoration: underline; text-underline-offset: .35rem; }
.menu-button {
  display: none;
  border: 1px solid rgb(255 255 255 / 45%);
  border-radius: 999px;
  padding: .45rem .8rem;
  background: rgb(255 255 255 / 10%);
  color: white;
}
.hero {
  position: relative;
  min-height: 94svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--dark) url("../images/hero.jpg") center 46% / cover no-repeat;
  color: white;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(10 18 14 / 16%), rgb(10 18 14 / 28%) 42%, rgb(10 18 14 / 80%));
}
.hero__content {
  position: relative;
  z-index: 1;
  width: min(100%, 68rem);
  padding: 9rem clamp(1.25rem, 6vw, 6rem) clamp(5rem, 9vw, 8rem);
}
.eyebrow {
  margin: 0 0 1.1rem;
  color: var(--accent);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.eyebrow--light { color: #b8dfca; }
h1, h2, h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.05;
  text-wrap: balance;
}
h1 { max-width: 14ch; font-size: clamp(2.7rem, 6.5vw, 6.4rem); }
h2 { font-size: clamp(2.25rem, 4vw, 4rem); }
h3 { font-size: 1.75rem; }
p { margin: 0; }
.hero__intro {
  max-width: 42rem;
  margin-top: 1.5rem;
  color: rgb(255 255 255 / 82%);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
}
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: .65rem 1.2rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: white;
  font-size: .85rem;
  font-weight: 650;
  text-decoration: none;
}
.button--light { border-color: white; background: white; color: var(--ink); }
.button--ghost { border-color: rgb(255 255 255 / 48%); background: rgb(255 255 255 / 8%); }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.hero__scroll {
  position: absolute;
  right: clamp(1.25rem, 4vw, 4rem);
  bottom: 2rem;
  z-index: 1;
  font-size: .75rem;
  text-decoration: none;
}
.hero__scroll span { margin-left: .5rem; }
.section { padding: clamp(5rem, 10vw, 9rem) clamp(1.25rem, 6vw, 6rem); }
.section--tint { background: #e7ece6; }
.section--dark { background: var(--dark); color: white; }
.intro { max-width: 90rem; margin: 0 auto; }
.intro__grid, .experience, .contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, .8fr);
  gap: clamp(2.5rem, 8vw, 8rem);
}
.prose { display: grid; gap: 1.25rem; color: var(--muted); font-size: 1.05rem; }
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  max-width: 90rem;
  margin: 0 auto 3rem;
}
.filters { display: flex; flex-wrap: wrap; gap: .45rem; }
.filter {
  border: 1px solid #b8c0ba;
  border-radius: 999px;
  padding: .45rem .8rem;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: .78rem;
}
.filter.is-active { background: var(--ink); color: white; }
.project-grid {
  max-width: 90rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.project-card {
  min-height: 18rem;
  display: flex;
  flex-direction: column;
  border: 1px solid #cbd1cb;
  background: var(--surface);
}
.project-card--featured { grid-column: span 2; grid-row: span 2; }
.project-card[hidden] { display: none; }
.project-card__visual {
  min-height: 18rem;
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  background: #b6c8bc;
}
.project-card__visual--inner-plots {
  background:
    linear-gradient(135deg, rgb(18 42 32 / 20%), rgb(18 42 32 / 70%)),
    url("../images/hero.jpg") center / cover;
  color: white;
}
.project-card__visual span {
  border: 1px solid rgb(255 255 255 / 50%);
  border-radius: 999px;
  padding: .35rem .65rem;
  font-size: .7rem;
}
.project-card__body { display: grid; gap: 1rem; padding: 1.5rem; }
.project-card__body > p:not(.meta) { color: var(--muted); }
.meta { color: var(--accent); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.card-links { display: flex; flex-wrap: wrap; gap: 1rem; }
.card-links a, .text-link { font-size: .8rem; font-weight: 700; text-underline-offset: .25rem; }
.experience { max-width: 90rem; margin: 0 auto; }
.experience__lede { max-width: 34rem; margin-top: 1.5rem; color: var(--muted); }
.focus-list { margin: 0; padding: 0; list-style: none; }
.focus-list li { display: grid; grid-template-columns: 2rem 1fr; gap: 1rem; padding: 1.3rem 0; border-top: 1px solid var(--line); }
.focus-list span { color: var(--accent); font-size: .7rem; }
.focus-list strong { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; }
.focus-list p { margin-top: .35rem; color: var(--muted); font-size: .9rem; }
.experience__note { max-width: 90rem; margin: 3rem auto 0; color: var(--muted); font-size: .82rem; }
.contact { max-width: 90rem; margin: 0 auto; align-items: end; }
.contact p { max-width: 32rem; margin-bottom: 1.5rem; color: rgb(255 255 255 / 68%); }
.social-links {
  max-width: 90rem;
  margin: 5rem auto 0;
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  border-top: 1px solid rgb(255 255 255 / 22%);
}
.social-links a { font-size: .82rem; }
footer {
  display: flex;
  justify-content: space-between;
  padding: 1.5rem clamp(1.25rem, 6vw, 6rem);
  background: #0e1814;
  color: rgb(255 255 255 / 58%);
  font-size: .72rem;
}
footer a { text-decoration: none; }

@media (max-width: 760px) {
  .menu-button { display: block; }
  .site-nav {
    position: absolute;
    top: 4.4rem;
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: .6rem;
    border-radius: .5rem;
    background: var(--surface);
    color: var(--ink);
    box-shadow: 0 1rem 3rem rgb(0 0 0 / 20%);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: .8rem; }
  .intro__grid, .experience, .contact { grid-template-columns: 1fr; gap: 2rem; }
  .section-heading { align-items: start; flex-direction: column; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card--featured { grid-column: auto; grid-row: auto; }
  .hero__scroll { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
