:root {
  color-scheme: light;
  --paper: #f3ead7;
  --paper-bright: #fffaf0;
  --ink: #17221e;
  --green: #173d32;
  --green-soft: #dce5db;
  --brick: #a84535;
  --gold: #d19b3d;
  --line: #c8baa0;
  --shadow: 0 24px 60px rgb(23 34 30 / 14%);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath d='M0 47.5h48M47.5 0v48' fill='none' stroke='%23173d32' stroke-opacity='.055'/%3E%3C/svg%3E");
  content: "";
  pointer-events: none;
}

a {
  color: inherit;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 0.09em;
}

a:hover {
  text-decoration-color: var(--brick);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 20;
  padding: 0.75rem 1rem;
  color: white;
  background: var(--green);
  border-radius: 999px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  padding: 1rem 0;
  border-bottom: 1px solid rgb(23 61 50 / 22%);
}

.site-header .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.brand img {
  width: 46px;
  height: 46px;
}

.brand span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 3vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.015em;
}

.header-link {
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero {
  padding: clamp(2.5rem, 7vw, 6.5rem) 0 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.4rem;
  color: var(--brick);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 2.8rem;
  height: 2px;
  background: currentColor;
  content: "";
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.03;
  text-wrap: balance;
}

h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 8vw, 6.75rem);
  letter-spacing: -0.055em;
}

h2 {
  font-size: clamp(2.1rem, 5vw, 4rem);
  letter-spacing: -0.035em;
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.65rem);
}

.dek {
  max-width: 62ch;
  margin: 1.6rem 0 0;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.1rem;
  border: 2px solid var(--green);
  border-radius: 999px;
  font-weight: 850;
  text-decoration: none;
}

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

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

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

.portrait-wrap {
  position: relative;
  width: min(100%, 500px);
  justify-self: end;
}

.portrait-frame {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--green);
  border: 10px solid var(--paper-bright);
  border-radius: 48% 48% 12px 12px;
  box-shadow: var(--shadow);
  rotate: 1.2deg;
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.portrait-stamp {
  position: absolute;
  right: -1rem;
  bottom: -1rem;
  width: clamp(108px, 25vw, 170px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 0.8rem;
  color: var(--paper-bright);
  background: var(--brick);
  border: 5px double var(--paper-bright);
  border-radius: 50%;
  box-shadow: 0 16px 34px rgb(23 34 30 / 25%);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(0.78rem, 2vw, 1.05rem);
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
  rotate: -8deg;
}

.facts {
  padding: 1rem 0 4rem;
}

.fact-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0;
  margin: 0;
  overflow: hidden;
  background: var(--paper-bright);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 14px 40px rgb(23 34 30 / 8%);
  list-style: none;
}

.fact-list li {
  min-height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 1.25rem;
  border-right: 1px solid var(--line);
}

.fact-list li:last-child {
  border-right: 0;
}

.fact-list strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 4vw, 3.2rem);
  line-height: 1;
}

.fact-list span {
  color: rgb(23 34 30 / 72%);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-dark {
  color: var(--paper-bright);
  background: var(--green);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(2rem, 7vw, 7rem);
}

.section-copy p {
  max-width: 62ch;
  margin: 1.4rem 0 0;
  color: rgb(255 250 240 / 82%);
  font-size: 1.08rem;
}

.seal-board {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 1rem;
}

.approval-seal {
  width: min(100%, 290px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin-inline: auto;
  padding: 2rem;
  color: var(--green);
  background: var(--paper-bright);
  border: 9px double var(--gold);
  border-radius: 50%;
  box-shadow: 0 18px 48px rgb(0 0 0 / 23%);
  font-family: Georgia, "Times New Roman", serif;
  text-align: center;
  rotate: -3deg;
}

.approval-seal b {
  display: block;
  font-size: clamp(3.2rem, 7vw, 5rem);
  line-height: 0.85;
}

.approval-seal span {
  display: block;
  margin-top: 0.7rem;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.disapproval-card {
  overflow: hidden;
  background: white;
  border: 1px solid rgb(255 255 255 / 30%);
  border-radius: 50%;
}

.disapproval-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.principles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 0;
  margin: 2rem 0 0;
  list-style: none;
}

.principles li {
  min-height: 144px;
  padding: 1.4rem;
  background: rgb(255 250 240 / 8%);
  border: 1px solid rgb(255 250 240 / 20%);
  border-radius: 14px;
}

.principles b {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.search-note {
  background: var(--paper-bright);
}

.search-note .section-grid {
  align-items: start;
}

.pullquote {
  margin: 0;
  padding: 1.5rem;
  border-top: 5px solid var(--brick);
  border-bottom: 1px solid var(--line);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  line-height: 1.18;
}

.source-note {
  margin-top: 1.5rem;
  color: rgb(23 34 30 / 68%);
  font-size: 0.86rem;
}

.site-footer {
  padding: 2rem 0;
  color: var(--paper-bright);
  background: #102b24;
}

.site-footer .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 850px) {
  .hero-grid,
  .section-grid {
    grid-template-columns: 1fr;
  }

  .portrait-wrap {
    width: min(88%, 480px);
    justify-self: center;
  }

  .fact-list {
    grid-template-columns: 1fr 1fr;
  }

  .fact-list li:nth-child(2) {
    border-right: 0;
  }

  .fact-list li:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .seal-board {
    order: -1;
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(100% - 1.2rem, 1180px);
  }

  .site-header .shell,
  .site-footer .shell {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .hero {
    padding-top: 2rem;
  }

  h1 {
    font-size: clamp(2.75rem, 15vw, 4.6rem);
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .fact-list,
  .seal-board,
  .principles {
    grid-template-columns: 1fr;
  }

  .fact-list li,
  .fact-list li:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .fact-list li:last-child {
    border-bottom: 0;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
