@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600&display=swap");

:root {
  color-scheme: light;
  --cream: #f7f5ee;
  --paper: #fffefa;
  --ink: #292c29;
  --muted: #65695f;
  --green: #68794f;
  --green-dark: #3e4c34;
  --line: #dedfd3;
  font-family: "DM Sans", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
}

a {
  color: inherit;
}

.site-header {
  width: min(1200px, calc(100% - 64px));
  min-height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: block;
  width: 116px;
  line-height: 0;
}

.brand img {
  width: 100%;
  height: auto;
}

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

.site-header nav a,
.text-link,
.profile-link {
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}

.site-header nav a {
  color: var(--muted);
}

.site-header nav a:hover,
.text-link:hover,
.profile-link:hover {
  color: var(--green);
}

.hero {
  width: min(1200px, calc(100% - 64px));
  min-height: 590px;
  margin: 0 auto;
  padding: 78px 0 94px;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 64px;
}

.hero-copy {
  max-width: 520px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.5;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
}

h1 {
  max-width: 550px;
  margin-bottom: 24px;
  font-size: clamp(2.8rem, 5vw, 4.7rem);
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.hero-intro {
  max-width: 430px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--green-dark);
}

.hero-image {
  overflow: hidden;
  border-radius: 2px;
}

.hero-image img {
  display: block;
  width: 100%;
  height: auto;
}

.purpose {
  padding: 100px max(32px, calc((100% - 1200px) / 2)) 112px;
  background: var(--paper);
}

.section-heading {
  max-width: 1200px;
  margin: 0 auto 44px;
}

.section-heading h2,
.contact h2 {
  margin-bottom: 0;
  font-size: clamp(2.3rem, 4vw, 3.6rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.purpose-cards {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 24px;
}

.purpose-card {
  min-height: 300px;
  padding: 34px 38px 40px;
  border: 1px solid var(--line);
  background: var(--cream);
}

.purpose-card--mission {
  background: #edf0e7;
  border-color: #edf0e7;
}

.card-number {
  display: block;
  margin-bottom: 40px;
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.purpose-card h3 {
  margin-bottom: 12px;
  font-size: 1.75rem;
}

.purpose-card p {
  max-width: 640px;
  margin-bottom: 0;
  color: #4e534a;
  font-size: 1.05rem;
  line-height: 1.8;
}

.contact {
  padding: 94px max(32px, calc((100% - 1200px) / 2));
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 80px;
  background: var(--green-dark);
  color: var(--paper);
}

.contact .eyebrow {
  color: #c8d1b6;
}

.contact h2 {
  max-width: 600px;
  margin-bottom: 22px;
}

.contact-intro > p:last-child {
  max-width: 440px;
  margin-bottom: 0;
  color: #d7ddce;
  line-height: 1.8;
}

.contact-details {
  align-self: center;
  padding-left: 32px;
  border-left: 1px solid rgb(255 255 255 / 28%);
  color: #e2e6dc;
  font-size: 0.95rem;
  font-style: normal;
  line-height: 1.7;
}

.contact-name {
  margin-bottom: 0;
  color: white;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.7rem;
}

.contact-phone {
  display: inline-block;
  margin: 14px 0;
  color: white;
  font-size: 1.15rem;
  font-weight: 600;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.contact-address {
  margin-bottom: 18px;
}

.profile-link {
  display: inline-flex;
  gap: 8px;
  color: #e2e6dc;
}

.site-footer {
  min-height: 74px;
  width: min(1200px, calc(100% - 64px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.78rem;
}

.site-footer span:first-child {
  color: var(--ink);
  font-weight: 700;
}

:focus-visible {
  outline: 3px solid #a4b487;
  outline-offset: 4px;
}

@media (max-width: 760px) {
  .site-header,
  .hero,
  .site-footer {
    width: min(100% - 40px, 560px);
  }

  .site-header {
    min-height: 76px;
  }

  .brand {
    width: 94px;
  }

  .site-header nav {
    gap: 18px;
  }

  .site-header nav a {
    font-size: 0.8rem;
  }

  .hero {
    min-height: auto;
    padding: 68px 0 76px;
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .hero-copy {
    max-width: 580px;
  }

  .hero-image {
    max-width: 560px;
  }

  .purpose {
    padding: 76px 20px;
  }

  .section-heading {
    margin-bottom: 32px;
  }

  .purpose-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .purpose-card {
    min-height: auto;
    padding: 28px;
  }

  .card-number {
    margin-bottom: 26px;
  }

  .contact {
    padding: 72px 20px;
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-details {
    padding: 28px 0 0;
    border-top: 1px solid rgb(255 255 255 / 28%);
    border-left: 0;
  }

  .site-footer {
    min-height: 68px;
    font-size: 0.7rem;
  }
}

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