:root {
  --ink: #143329;
  --moss: #2d6a4f;
  --moss-dark: #1c4b36;
  --mist: #e9f0e6;
  --paper: #f7f5ef;
  --line: #c9d4c8;
  --muted: #52645a;
}

* { box-sizing: border-box; }

html { background: var(--paper); }

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

a { color: inherit; }

.site-header,
.site-footer,
main {
  width: min(100% - 2rem, 72rem);
  margin-inline: auto;
}

.site-header {
  min-height: 5.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -.06em;
  text-decoration: none;
}

.header-link,
.text-link {
  font-size: .95rem;
  font-weight: 700;
  text-underline-offset: .22em;
}

.header-nav { display: flex; align-items: center; gap: 1.25rem; }
.header-nav > a { font-size: .9rem; font-weight: 700; text-underline-offset: .22em; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  padding: clamp(2rem, 5vw, 5.5rem) 0 clamp(4rem, 8vw, 8rem);
}

.eyebrow,
.number {
  margin: 0 0 1rem;
  color: var(--moss);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: -.055em;
  line-height: .98;
}

h1 { max-width: 10ch; font-size: clamp(3.25rem, 7vw, 6.3rem); }
h2 { font-size: clamp(2.35rem, 4.5vw, 4.2rem); }

.lead {
  max-width: 38rem;
  margin: 1.65rem 0 2rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.65;
}

.button {
  display: inline-flex;
  min-height: 3.5rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: .9rem 1.4rem;
  background: var(--moss);
  color: white;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
}

.button:hover,
.button:focus-visible { background: var(--moss-dark); }

.hero-image { margin: 0; overflow: hidden; border-radius: 1.5rem; background: var(--mist); }
.hero-image img { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; }

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

.intro-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(16rem, .8fr);
  gap: 3rem;
  align-items: end;
  padding: 1rem 0 3rem;
  border-top: 1px solid var(--line);
}

.intro-section .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.intro-section h2 { max-width: 13ch; margin-bottom: 0; }
.intro-section > p:last-child { margin: 0; color: var(--muted); font-size: 1.08rem; line-height: 1.65; }

.principles article { border-top: 1px solid var(--line); padding-top: 1.2rem; }
.principles h2 { margin-bottom: .9rem; font-size: 1.65rem; }
.principles article p:last-child { margin-bottom: 0; color: var(--muted); }

.field-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  margin: 0 0 7rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: .93rem;
}

.field-note strong { color: var(--ink); }

.gift-callout {
  margin-bottom: 4rem;
  padding: clamp(2rem, 6vw, 5rem);
  border-radius: 1.5rem;
  background: var(--ink);
  color: white;
}

.gift-callout .eyebrow { color: #b6d5aa; }
.gift-callout h2 { max-width: 13ch; margin-bottom: 1.4rem; }
.gift-callout > p:not(.eyebrow) { max-width: 38rem; color: #d5e1d6; font-size: 1.08rem; }
.gift-callout .text-link { display: inline-block; margin-top: 1rem; color: white; }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .88rem;
}

.site-footer nav { display: flex; gap: 1.25rem; }
.site-footer a { text-underline-offset: .2em; }
.compact { border-top: 0; }

.gift-page { display: grid; min-height: calc(100vh - 11rem); place-items: center; padding: 2rem 0 4rem; }

.gift-panel {
  width: min(100%, 47rem);
  padding: clamp(2rem, 6vw, 4.5rem);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: #fffefa;
  box-shadow: 0 1.4rem 3rem rgba(20, 51, 41, .08);
}

.gift-panel h1 { max-width: 11ch; }
.gift-details { margin: 2.5rem 0; }
.gift-details div { padding: 1.15rem 0; border-top: 1px solid var(--line); }
.gift-details div:last-child { border-bottom: 1px solid var(--line); }
.gift-details dt { font-weight: 800; }
.gift-details dd { margin: .25rem 0 0; color: var(--muted); }
.gift-panel form .button { width: 100%; }
.fine-print { margin: 1.2rem 0 0; color: var(--muted); font-size: .86rem; line-height: 1.55; }
.thanks .button { margin-top: .5rem; }

.gift-explainer { width: min(100%, 47rem); margin-top: 2rem; }
.gift-explainer h2 { max-width: 14ch; margin-bottom: 1.5rem; font-size: clamp(2rem, 4vw, 3.25rem); }

.steps { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 2rem 1fr; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.steps li > span { display: grid; width: 2rem; height: 2rem; place-items: center; border-radius: 50%; background: var(--mist); color: var(--moss-dark); font-size: .82rem; font-weight: 800; }
.steps strong { display: block; }
.steps p { margin: .15rem 0 0; color: var(--muted); }

.faq details { border-top: 1px solid var(--line); padding: 1rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 800; }
.faq details p { margin: .7rem 0 0; color: var(--muted); }

.maintenance-page { display: grid; min-height: 100vh; place-items: center; padding: 1.5rem; }
.maintenance-card { width: min(100%, 42rem); padding: clamp(2rem, 6vw, 4.5rem); border: 1px solid var(--line); border-radius: 1.5rem; background: #fffefa; box-shadow: 0 1.4rem 3rem rgba(20, 51, 41, .08); }
.maintenance-card .wordmark { display: inline-block; margin-bottom: 4rem; }
.maintenance-card h1 { max-width: 10ch; }

@media (max-width: 720px) {
  .hero { grid-template-columns: 1fr; padding-top: 1.5rem; }
  .hero-copy { order: 1; }
  .hero-image { order: 2; }
  .principles { grid-template-columns: 1fr; gap: 1.5rem; padding-bottom: 4rem; }
  .intro-section { grid-template-columns: 1fr; gap: 1.25rem; }
  .field-note { grid-template-columns: 1fr; gap: .35rem; margin-bottom: 4rem; }
  .site-footer { align-items: flex-start; flex-direction: column; }
  .header-nav > a:first-child { display: none; }
}
