:root {
  --ink: #1d2924;
  --muted: #5b6861;
  --paper: #f5f0e6;
  --paper-deep: #eae1d2;
  --accent: #d5522f;
  --accent-dark: #a8371d;
  --green: #164d3b;
  --line: rgba(29, 41, 36, 0.18);
  --shadow: 0 22px 55px rgba(41, 35, 25, 0.13);
  --content: 72rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}

a {
  color: var(--green);
  text-decoration-thickness: 0.09em;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--accent-dark);
}

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
}

img {
  display: block;
  max-width: 100%;
}

.site-header,
.site-footer,
main {
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}

.site-header {
  position: relative;
  z-index: 2;
  border-bottom: 1px solid var(--line);
}

.nav-shell,
.footer-shell,
.hero,
.page-shell {
  width: min(100%, var(--content));
  margin-inline: auto;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5rem;
  gap: 2rem;
}

.wordmark {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem clamp(0.75rem, 2vw, 1.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}

.nav-list a[aria-current="page"] {
  color: var(--accent-dark);
  text-decoration: underline;
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.4em;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(17rem, 0.9fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 7rem);
  min-height: calc(100vh - 5rem);
  padding-block: clamp(4rem, 10vw, 8rem);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 14ch;
  margin: 0;
  font-size: clamp(3rem, 7.5vw, 6.8rem);
  font-weight: 500;
}

.lede {
  max-width: 42rem;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.25rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.65rem 1.15rem;
  border: 2px solid var(--green);
  background: var(--green);
  color: #fffdf7;
  font-weight: 750;
  text-decoration: none;
}

.button:hover {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
  color: #fff;
}

.button-secondary {
  background: transparent;
  color: var(--green);
}

.hero-art {
  position: relative;
}

.hero-art::before {
  position: absolute;
  inset: 8% -4% -5% 7%;
  z-index: -1;
  background: var(--paper-deep);
  content: "";
  transform: rotate(3deg);
}

.hero-art img {
  width: 100%;
  filter: drop-shadow(var(--shadow));
}

.page-shell {
  padding-block: clamp(4rem, 9vw, 7rem);
}

.page-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(16rem, 1.2fr);
  align-items: end;
  gap: clamp(2rem, 7vw, 6rem);
  padding-bottom: clamp(3rem, 7vw, 5rem);
  border-bottom: 1px solid var(--line);
}

.page-intro h1 {
  font-size: clamp(3.4rem, 8vw, 6.5rem);
}

.section {
  padding-block: clamp(3rem, 7vw, 5rem);
}

.section h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 500;
}

.prose-grid {
  display: grid;
  grid-template-columns: minmax(12rem, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 8vw, 7rem);
}

.prose-grid p:first-child,
.card p,
.contact-card p {
  margin-top: 0;
}

.principles,
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  min-height: 15rem;
  padding: clamp(1.5rem, 3vw, 2rem);
  border: 1px solid var(--line);
  background: rgba(255, 253, 247, 0.52);
}

.card-number {
  color: var(--accent-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.card h2,
.card h3 {
  margin: 2.75rem 0 0.8rem;
  font-size: 1.7rem;
}

.project-grid .card:first-child {
  grid-column: span 2;
  background: var(--green);
  color: #f9f4e9;
}

.project-grid .card:first-child .card-number,
.project-grid .card:first-child p {
  color: #e7dcca;
}

.status {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 0.25rem 0.6rem;
  border: 1px solid currentColor;
  border-radius: 100vmax;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(17rem, 0.75fr);
  gap: clamp(2rem, 8vw, 7rem);
  align-items: start;
}

.contact-card {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-top: 5px solid var(--accent);
  background: #fffaf0;
  box-shadow: var(--shadow);
}

.contact-link {
  overflow-wrap: anywhere;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 2.6vw, 1.55rem);
}

.not-found {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 10rem);
  text-align: center;
}

.not-found h1 {
  max-width: none;
}

.not-found .lede {
  margin-inline: auto;
}

.site-footer {
  border-top: 1px solid var(--line);
}

.footer-shell {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 2rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-shell p {
  margin: 0;
}

@media (max-width: 48rem) {
  .hero,
  .page-intro,
  .prose-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-art {
    width: min(100%, 28rem);
    margin-inline: auto;
  }

  .principles,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-grid .card:first-child {
    grid-column: auto;
  }
}

@media (max-width: 34rem) {
  .nav-shell,
  .footer-shell {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-shell {
    padding-block: 1rem;
  }

  .nav-list {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
