:root {
  --green-900: #031b0a;
  --green-800: #052d12;
  --green-700: #064317;
  --green-600: #006800;
  --green-500: #147a24;
  --green-200: #d5ead8;
  --green-100: #f2faf3;
  --paper: #fbfdf8;
  --ink: #172118;
  --muted: #5d6b60;
  --line: rgba(0, 104, 0, 0.18);
  --shadow: 0 22px 70px rgba(3, 27, 10, 0.18);
  --max-width: 1060px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(0, 104, 0, 0.24), transparent 34rem),
    linear-gradient(180deg, var(--green-900) 0%, var(--green-800) 22rem, var(--paper) 22rem, var(--paper) 100%);
  line-height: 1.65;
}

a {
  color: inherit;
}

.site-header {
  color: white;
  padding: 1rem 1.25rem 4rem;
}

.top-nav {
  width: min(var(--max-width), 100%);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand,
.nav-links a {
  text-decoration: none;
  opacity: 0.9;
}

.brand:hover,
.nav-links a:hover {
  opacity: 1;
}

.nav-links {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.hero {
  width: min(780px, 100%);
  margin: 4.5rem auto 0;
  text-align: center;
}

.portrait {
  width: clamp(104px, 14vw, 148px);
  height: clamp(104px, 14vw, 148px);
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.32);
}

.kicker,
.section-label,
.work-category,
.work-note {
  font-family: Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.kicker {
  margin: 1.5rem 0 0.5rem;
  font-size: 0.74rem;
  color: var(--green-200);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0.8rem;
  font-size: clamp(2.45rem, 7vw, 5.1rem);
  line-height: 0.95;
  font-weight: 400;
  letter-spacing: -0.045em;
}

.subheading {
  margin: 0 auto;
  max-width: 690px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.02rem, 2vw, 1.34rem);
  line-height: 1.55;
}

main {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: -2.4rem auto 0;
}

.section {
  background: rgba(251, 253, 248, 0.94);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: clamp(1.35rem, 3vw, 2.4rem);
  margin-bottom: 1.2rem;
  box-shadow: var(--shadow);
}

.intro-section {
  font-size: clamp(1.02rem, 1.8vw, 1.22rem);
  color: #263329;
}

.intro-section p {
  margin-bottom: 0;
}

.section-heading {
  margin-bottom: 1.15rem;
}

.section-label,
.work-category,
.work-note {
  color: var(--green-600);
  font-size: 0.68rem;
  font-weight: 700;
}

.section-label {
  margin-bottom: 0.25rem;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.025em;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.25rem;
}

.filter-button {
  border: 1px solid rgba(0, 104, 0, 0.26);
  border-radius: 999px;
  background: white;
  color: var(--green-700);
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.55rem 0.85rem;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.filter-button:hover {
  transform: translateY(-1px);
  border-color: var(--green-600);
}

.filter-button[aria-pressed="true"] {
  background: var(--green-600);
  color: white;
  border-color: var(--green-600);
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.work-card {
  --card-image: none;
  position: relative;
  min-height: 250px;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(0, 104, 0, 0.16);
  background: white;
  box-shadow: 0 18px 48px rgba(3, 27, 10, 0.08);
}

.work-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(251, 253, 248, 0.50), rgba(251, 253, 248, 0.50)),
    var(--card-image);
  background-size: cover;
  background-position: center;
  opacity: 1;
  z-index: 0;
}

.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.80), rgba(242, 250, 243, 0.64));
  z-index: 1;
}

.work-card-content {
  position: relative;
  z-index: 2;
  padding: 1.35rem;
}

.work-category {
  margin-bottom: 0.55rem;
}

.work-card h3 {
  margin-bottom: 0.7rem;
  font-size: clamp(1.25rem, 2.1vw, 1.7rem);
  line-height: 1.08;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.work-card h3 a {
  text-decoration-thickness: 0.07em;
  text-underline-offset: 0.18em;
  text-decoration-color: rgba(0, 104, 0, 0.32);
}

.work-card h3 a:hover {
  color: var(--green-600);
  text-decoration-color: var(--green-600);
}

.work-card p {
  margin-bottom: 0.8rem;
}

.work-note {
  margin-bottom: 0;
  color: var(--muted);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(0, 1.8fr);
  gap: 1.5rem;
}

.body-copy p:last-child,
.contact-section p:last-of-type {
  margin-bottom: 0;
}

.social-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.72rem 0.95rem;
  border-radius: 999px;
  background: var(--green-600);
  color: white;
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.social-links svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.site-footer {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.2rem 0 3rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
}

.site-footer p {
  margin-bottom: 0;
}

.site-footer a {
  color: var(--green-700);
  text-decoration: none;
}

[hidden] {
  display: none !important;
}

@media (max-width: 760px) {
  .top-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    margin-top: 3rem;
  }

  .works-grid,
  .two-column {
    grid-template-columns: 1fr;
  }

  .work-card {
    min-height: auto;
  }
}
