:root {
  --ink: #1c1c1a;
  --muted: #5c635e;
  --paper: #f4efe6;
  --white: #fbf8f2;
  --green: #2f4036;
  --green-deep: #24332b;
  --sage: #8a9a86;
  --line: rgba(47, 64, 54, 0.16);
  --shadow: 0 24px 50px rgba(36, 51, 43, 0.18);
  --display: "Oswald", "Arial Narrow", sans-serif;
  --sans: "Instrument Sans", "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--green);
  color: white;
  padding: 0.5rem 1rem;
}
.skip:focus { left: 0; }

.wrap {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 239, 230, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 1rem;
}
.mark {
  font-family: var(--display);
  letter-spacing: 0.08em;
  text-decoration: none;
  font-size: 1.15rem;
}
nav {
  display: flex;
  gap: 1.4rem;
}
nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
}
nav a:hover { color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.7rem 1.15rem;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
}
.btn.ghost {
  border: 1px solid var(--line);
  padding: 0.45rem 0.9rem;
}
.btn.solid {
  background: var(--green);
  color: var(--white);
}
.btn.line {
  border: 1px solid var(--green);
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: calc(100vh - 64px);
  background: var(--green);
  color: var(--white);
}
.hero-panel {
  padding: clamp(2.5rem, 6vw, 5.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--sage);
  margin: 0 0 1rem;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(3.4rem, 8vw, 6.4rem);
  line-height: 0.88;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}
.hero h1 span { display: block; }
.discipline {
  font-style: italic;
  color: #d7c7a8;
  margin: 0 0 1.4rem;
}
.lede {
  max-width: 38rem;
  color: rgba(251, 248, 242, 0.86);
  margin: 0 0 2rem;
}
.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.hero .btn.solid { background: var(--white); color: var(--green); }
.hero .btn.line { border-color: rgba(251,248,242,0.4); color: var(--white); }

.hero-photo {
  margin: 0;
  overflow: hidden;
  background: #2f4037;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.strip {
  background: var(--green-deep);
  color: var(--white);
  padding: 1.6rem 0;
}
.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.strip-grid strong {
  display: block;
  font-family: var(--display);
  font-size: 1.8rem;
  letter-spacing: 0.04em;
}
.strip-grid span {
  color: var(--sage);
  font-size: 0.88rem;
}

.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-head { max-width: 40rem; margin-bottom: 2.4rem; }
.section-head h2,
.about h2,
.contact h2,
.job-body h3 {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 600;
  margin: 0 0 0.6rem;
}
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); }
.section-note, .about p { color: var(--muted); }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: -0.6rem 0 1.6rem;
}
.filter {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font: 600 0.8rem var(--sans);
  cursor: pointer;
}
.filter.is-on {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.work-card {
  background: var(--white);
  border: 1px solid var(--line);
  min-height: 100%;
}
.work-card.is-hidden { display: none; }
.work-card.featured { grid-column: span 2; }
.work-open {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.work-thumb {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center;
  background: #ece7dc;
  display: block;
}
.work-card.featured .work-thumb { height: 340px; }
.work-thumb.contain {
  object-fit: contain;
  padding: 1.2rem;
  background: #f7f4ee;
}
.work-meta { padding: 1.1rem 1.15rem 1.25rem; }
.work-meta span {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 600;
}
.work-meta h3 { margin: 0.35rem 0 0.4rem; font-size: 1.15rem; }
.work-meta p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 28, 24, 0.92);
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 4rem;
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1100px, 100%); text-align: center; }
.lightbox img { max-height: 78vh; max-width: 100%; object-fit: contain; }
.lightbox figcaption { color: #d7c7a8; margin-top: 0.8rem; }
.lb-close, .lb-prev, .lb-next {
  position: absolute;
  background: transparent;
  border: 0;
  color: white;
  font-size: 2.4rem;
  cursor: pointer;
  line-height: 1;
}
.lb-close { top: 0.8rem; right: 1.2rem; }
.lb-prev { left: 0.8rem; }
.lb-next { right: 0.8rem; }

.about { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 3rem;
}
.about h2 { font-size: clamp(2rem, 4vw, 3rem); max-width: 14ch; }
.facts { padding-left: 1.1rem; color: var(--ink); }
.facts li { margin-bottom: 0.45rem; }
.tools {
  border-left: 1px solid var(--line);
  padding-left: 2rem;
}
.tools h3 {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  margin: 0 0 1rem;
}
.tool-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}
.tool-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.tool-list i {
  --n: 5;
  width: 72px;
  height: 8px;
  background:
    linear-gradient(90deg, var(--green) calc(var(--n) * 20%), rgba(47,64,54,0.18) 0);
  display: block;
}
.tool-list i[data-level="5"] { --n: 5; }
.tool-list i[data-level="4"] { --n: 4; }
.tool-list i[data-level="3"] { --n: 3; }
.tool-list i[data-level="2"] { --n: 2; }

.chips { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.chips span {
  border: 1px solid var(--line);
  padding: 0.28rem 0.6rem;
  font-size: 0.8rem;
  border-radius: 999px;
}

.job {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.5rem;
  padding: 1.6rem 0;
  border-top: 1px solid var(--line);
}
.job-when {
  color: var(--muted);
  font-size: 0.92rem;
}
.job-when p { margin: 0 0 0.3rem; }
.org { color: var(--muted); margin: 0 0 0.8rem; font-weight: 500; }
.job-body ul { margin: 0; padding-left: 1.1rem; }
.job-body li { margin-bottom: 0.45rem; }

.contact { background: var(--green); color: var(--white); }
.contact .eyebrow { color: var(--sage); }
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: end;
}
.contact h2 { font-size: clamp(2rem, 4vw, 3.2rem); max-width: 16ch; }
.contact p { color: rgba(251,248,242,0.78); }
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  font-size: 1.15rem;
}
.contact-list a { text-decoration: none; border-bottom: 1px solid rgba(251,248,242,0.25); width: fit-content; }
.contact-list a:hover { border-bottom-color: var(--white); }

.site-footer {
  background: var(--green-deep);
  color: var(--sage);
  padding: 1.3rem 0;
  font-size: 0.88rem;
}
.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.site-footer p { margin: 0; }

@media (max-width: 900px) {
  .hero, .about-grid, .contact-grid, .job, .work-grid, .strip-grid {
    grid-template-columns: 1fr;
  }
  .work-card.featured { grid-column: auto; }
  .work-card.featured .work-thumb { height: 240px; }
  .hero { min-height: auto; }
  .hero-photo { height: 420px; }
  .hero-photo img { object-fit: cover; object-position: center 18%; }
  .tools { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 1.5rem; }
  nav { display: none; }
}
