:root {
  --green: #23473b;
  --green-dark: #173229;
  --green-soft: #6f8b7d;
  --cream: #f4efe5;
  --paper: #fbf8f1;
  --pink: #a8b19a;
  --ink: #232421;
  --line: rgba(35, 36, 33, 0.18);
  --sans: "DM Sans", Arial, sans-serif;
  --serif: "Fraunces", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.6;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 110px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 248, 241, 0.92);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  transition: border-color 180ms ease;
}

.site-header.scrolled {
  border-color: var(--line);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--green);
  border-radius: 50%;
  color: var(--green);
  font-family: var(--serif);
  font-size: 20px;
}

.brand-name,
.footer-brand {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.24em;
}

.site-nav {
  display: flex;
  gap: 30px;
}

.site-nav a {
  text-decoration: none;
  font-size: 14px;
  color: rgba(35, 36, 33, 0.8);
}

.site-nav a:hover {
  color: var(--green);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  padding: 10px;
}

.menu-button span {
  display: block;
  height: 1px;
  margin: 7px 0;
  background: var(--ink);
}

.hero {
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 85% 20%, rgba(217, 185, 182, 0.34), transparent 30%),
    var(--paper);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 70px;
  align-items: center;
}

.eyebrow,
.section-label,
.card-category {
  margin: 0 0 20px;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 600;
}

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

h1,
h2,
h3,
.display-line {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.06;
}

h1 {
  max-width: 850px;
  margin-bottom: 28px;
  font-size: clamp(54px, 7.3vw, 104px);
  letter-spacing: -0.04em;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(42px, 5vw, 68px);
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 18px;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.025em;
}

.hero-text {
  max-width: 700px;
  margin-bottom: 36px;
  color: rgba(35, 36, 33, 0.76);
  font-size: 19px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid var(--green);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--paper);
  background: var(--green);
}

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

.button-light {
  color: var(--green-dark);
  background: var(--cream);
  border-color: var(--cream);
}

.hero-art {
  position: relative;
  min-height: 540px;
}

.arch {
  position: absolute;
  border-radius: 180px 180px 0 0;
}

.arch-back {
  width: 270px;
  height: 470px;
  right: 0;
  top: 0;
  background: var(--pink);
}

.arch-front {
  width: 250px;
  height: 430px;
  left: 5px;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  padding: 36px;
  background: var(--green);
  color: var(--cream);
}

.arch-front span {
  font-family: var(--serif);
  font-size: 44px;
  line-height: 0.98;
}

.small-circle {
  position: absolute;
  width: 90px;
  height: 90px;
  right: 12px;
  bottom: 55px;
  border-radius: 50%;
  border: 1px solid var(--green);
  background: var(--paper);
}

.manifesto {
  color: var(--cream);
  background: var(--green-dark);
}

.manifesto-grid {
  display: grid;
  grid-template-columns: 0.35fr 1fr;
  gap: 70px;
}

.manifesto .section-label {
  color: var(--pink);
}

.manifesto-copy {
  max-width: 850px;
}

.manifesto-copy p {
  font-size: 21px;
  color: rgba(244, 239, 229, 0.82);
}

.manifesto-copy .display-line {
  margin-bottom: 40px;
  color: var(--cream);
  font-size: clamp(52px, 7vw, 94px);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 58px;
}

.text-link {
  padding-bottom: 4px;
  border-bottom: 1px solid var(--green);
  text-decoration: none;
  color: var(--green);
  font-size: 14px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.article-card {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.25);
}

.article-card:hover {
  background: var(--cream);
}

.card-number {
  color: var(--green-soft);
  font-size: 12px;
  letter-spacing: 0.18em;
}

.card-content p:not(.card-category) {
  color: rgba(35, 36, 33, 0.7);
}

.card-content a {
  display: inline-block;
  margin-top: 20px;
  text-decoration: none;
  color: var(--green);
  font-size: 14px;
  font-weight: 600;
}

.about {
  background: var(--cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 90px;
  align-items: center;
}

.about-visual {
  min-height: 520px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(35, 71, 59, 0.96), rgba(35, 71, 59, 0.72)),
    radial-gradient(circle at 20% 20%, var(--pink), transparent 35%);
}

.quote-card {
  width: min(360px, 80%);
  padding: 40px;
  border: 1px solid rgba(244, 239, 229, 0.45);
  color: var(--cream);
}

.quote-mark {
  display: block;
  margin-bottom: 80px;
  font-family: var(--serif);
  font-size: 80px;
  line-height: 0.5;
}

.quote-card p {
  margin: 0;
  font-family: var(--serif);
  font-size: 38px;
  line-height: 1.04;
}

.about-copy p {
  max-width: 650px;
  color: rgba(35, 36, 33, 0.75);
  font-size: 18px;
}

.project-list {
  border-top: 1px solid var(--line);
}

.project-item {
  display: grid;
  grid-template-columns: 60px 1fr 40px;
  gap: 24px;
  align-items: center;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: padding 180ms ease;
}

.project-item:hover {
  padding-left: 10px;
}

.project-index {
  color: var(--green-soft);
  font-size: 12px;
  letter-spacing: 0.18em;
}

.project-item h3 {
  margin-bottom: 5px;
  font-size: 34px;
}

.project-item p {
  margin: 0;
  color: rgba(35, 36, 33, 0.66);
}

.project-arrow {
  color: var(--green);
  font-size: 24px;
}

.closing {
  color: var(--cream);
  background: var(--green);
}

.closing-inner {
  max-width: 920px;
  text-align: center;
}

.closing .eyebrow {
  color: var(--pink);
}

.closing h2 {
  margin-bottom: 34px;
}

.site-footer {
  padding: 46px 0;
  color: var(--cream);
  background: var(--green-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 40px;
  align-items: end;
}

.footer-grid p {
  margin: 8px 0 0;
  color: rgba(244, 239, 229, 0.6);
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  text-decoration: none;
  font-size: 14px;
}

.copyright {
  white-space: nowrap;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .section {
    padding: 82px 0;
  }

  .hero-grid,
  .manifesto-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 70px;
  }

  .hero-art {
    min-height: 440px;
    max-width: 430px;
    margin: 0 auto;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .article-card {
    min-height: auto;
    gap: 80px;
  }

  .about-grid {
    gap: 50px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .site-nav {
    position: fixed;
    inset: 76px 0 auto;
    display: none;
    flex-direction: column;
    padding: 24px 20px 32px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
  }

  .site-nav.open {
    display: flex;
  }

  .menu-button {
    display: block;
  }

  h1 {
    font-size: clamp(48px, 15vw, 74px);
  }

  .hero-art {
    min-height: 370px;
  }

  .arch-back {
    width: 205px;
    height: 350px;
  }

  .arch-front {
    width: 205px;
    height: 330px;
    padding: 26px;
  }

  .arch-front span {
    font-size: 35px;
  }

  .small-circle {
    width: 66px;
    height: 66px;
    bottom: 28px;
  }

  .manifesto-grid {
    gap: 30px;
  }

  .manifesto-copy p {
    font-size: 18px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .project-item {
    grid-template-columns: 38px 1fr 24px;
    gap: 14px;
  }

  .project-item h3 {
    font-size: 27px;
  }

  .quote-card p {
    font-size: 32px;
  }

  .about-visual {
    min-height: 430px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .button,
  .project-item {
    transition: none;
  }
}
