:root {
  color-scheme: light;
  --burgundy: #8b1c2f;
  --cream: #ede0c4;
  --slate: #2d3748;
  --ink: #282520;
  --muted: #625a4f;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
}

body {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.site-header {
  display: flex;
  min-height: 220px;
  align-items: center;
  justify-content: center;
  padding: 18px 20px;
  background: var(--slate);
  color: #fff;
}

.brand {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 10px;
  text-align: center;
}

.brand-mark {
  display: block;
  width: 124px;
  height: 124px;
  border-radius: 26px;
  object-fit: cover;
}

.brand-name {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.015em;
}

.page-content {
  display: flex;
  width: min(100%, 960px);
  align-items: stretch;
  flex-direction: column;
  justify-content: center;
  gap: clamp(24px, 4vh, 40px);
  margin: 0 auto;
  padding: 48px clamp(28px, 5vw, 72px);
}

.purpose,
.about,
.project,
.contact {
  text-align: center;
}

.purpose h2,
.about h2,
.project h2,
.contact h2 {
  margin: 0 0 14px;
  color: var(--burgundy);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.purpose p {
  max-width: 820px;
  margin: 0 auto;
  color: var(--slate);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.45;
}

.section-divider {
  width: 100%;
  margin: 0;
  border: 0;
  border-top: 1px solid rgb(139 28 47 / 35%);
}

.about p,
.project p,
.contact p {
  margin: 0 auto;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.about p {
  max-width: 680px;
}

.project p {
  max-width: 680px;
}

.contact a {
  color: var(--burgundy);
  font-weight: 700;
  text-underline-offset: 3px;
}

.contact a:hover {
  color: #711527;
}

.site-footer {
  padding: 22px 20px;
  background: var(--slate);
  color: #e8dfd1;
  text-align: center;
}

.footer-content {
  display: grid;
  gap: 7px;
}

.footer-company,
.footer-contact,
.footer-links,
.footer-copyright {
  margin: 0;
}

.footer-company {
  font-size: 14px;
  font-weight: 700;
}

.footer-contact,
.footer-links,
.footer-copyright {
  font-size: 12px;
}

.footer-contact a {
  color: inherit;
  text-underline-offset: 3px;
}

.footer-contact a:hover,
.footer-links a:hover {
  color: #fff;
}

.footer-links a {
  color: inherit;
  text-underline-offset: 3px;
}

.footer-copyright {
  color: rgb(232 223 209 / 75%);
}

.policy-content {
  width: min(100%, 880px);
  margin: 0 auto;
  padding: 48px clamp(28px, 5vw, 72px) 64px;
}

.policy-home {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--burgundy);
  font-size: 14px;
  font-weight: 700;
  text-underline-offset: 3px;
}

.policy-content h1 {
  margin: 0 0 8px;
  color: var(--slate);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 40px);
  font-weight: 500;
}

.policy-content .policy-updated {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 13px;
}

.policy-content section {
  margin-top: 24px;
}

.policy-content section h2 {
  margin: 0 0 8px;
  color: var(--slate);
  font-size: 18px;
}

.policy-content p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.policy-content a {
  color: var(--burgundy);
  text-underline-offset: 3px;
}

@media (max-width: 680px) {
  .site-header {
    min-height: 150px;
    padding: 16px;
  }

  .brand-mark {
    width: 76px;
    height: 76px;
    border-radius: 18px;
  }

  .brand-name {
    font-size: 21px;
  }

  .page-content {
    gap: 28px;
    padding: 32px 22px;
  }

  .purpose h2,
  .about h2,
  .project h2,
  .contact h2 {
    margin-bottom: 10px;
    font-size: 11px;
  }

  .purpose p {
    font-size: clamp(20px, 5.4vw, 26px);
    line-height: 1.4;
  }

  .about p,
  .project p,
  .contact p {
    font-size: 15px;
  }

  .policy-content {
    padding: 32px 22px 48px;
  }
}
