:root {
  --ink: #18221d;
  --muted: #536158;
  --paper: #f4f0e8;
  --lime: #cbe66b;
  --rule: rgba(24, 34, 29, 0.22);
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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; }

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

.site-header,
main,
footer {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.site-header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--rule);
}

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

.brand-mark {
  width: 42px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-size: 0.75rem;
  letter-spacing: -0.04em;
}

.header-link {
  font-size: 0.9rem;
  font-weight: 650;
  text-underline-offset: 5px;
}

.hero {
  min-height: 640px;
  padding: clamp(72px, 11vw, 140px) 0 80px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.eyebrow {
  margin: 0 0 26px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 980px;
  margin-bottom: 32px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.3rem, 8.2vw, 7.3rem);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.intro {
  max-width: 620px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 38px;
  padding: 15px 20px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}

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

.intent {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 8vw;
  padding: 100px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.section-number {
  display: inline-block;
  margin-bottom: 40px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--lime);
  font-size: 0.75rem;
  font-weight: 800;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.04em;
}

.intent > p {
  align-self: end;
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 3.1vw, 2.6rem);
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.principles { padding: 100px 0 120px; }

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.principle-grid article {
  min-height: 270px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--rule);
}

.principle-grid article > span {
  font-size: 0.75rem;
  font-weight: 800;
}

h3 {
  margin-top: auto;
  margin-bottom: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
  font-weight: 400;
}

.principle-grid p { margin-bottom: 0; color: var(--muted); }

footer {
  min-height: 180px;
  padding: 42px 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 30px;
  align-items: end;
  border-top: 1px solid var(--rule);
  font-size: 0.86rem;
}

footer p { margin-bottom: 4px; color: var(--muted); }
.footer-name { color: var(--ink); font-weight: 750; }
footer > p { justify-self: end; }
footer a { font-weight: 650; text-underline-offset: 4px; }

@media (max-width: 760px) {
  .site-header, main, footer { width: min(calc(100% - 30px), var(--max)); }
  .hero { min-height: 590px; }
  .intent { grid-template-columns: 1fr; gap: 48px; padding: 76px 0; }
  .principles { padding: 76px 0 90px; }
  .principle-grid { grid-template-columns: 1fr; }
  .principle-grid article { min-height: 220px; }
  footer { grid-template-columns: 1fr; align-items: start; }
  footer > p { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
