:root {
  --paper: #f4f1e8;
  --ink: #1a211d;
  --muted: #667068;
  --line: #c8c8bd;
  --accent: #334e3f;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.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(--line);
}

.brand {
  text-decoration: none;
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.45rem;
}

nav { display: flex; gap: 28px; }
nav a { color: var(--muted); text-decoration: none; font-size: .92rem; }
nav a:hover, nav a:focus-visible { color: var(--ink); }

.hero {
  min-height: 62vh;
  display: grid;
  align-content: center;
  padding: 88px 0;
  border-bottom: 1px solid var(--line);
}

.eyebrow,
.section-number {
  color: var(--accent);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
}

h1, h2 {
  margin: 0;
  font-family: "Newsreader", Georgia, serif;
  font-weight: 500;
  letter-spacing: -.035em;
}

h1 {
  max-width: 980px;
  font-size: clamp(4rem, 11vw, 9rem);
  line-height: .88;
}

.intro {
  max-width: 650px;
  margin: 38px 0 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.6;
}

.about,
.contact {
  display: grid;
  grid-template-columns: minmax(220px, .75fr) 1.25fr;
  gap: 64px;
  padding: 92px 0;
  border-bottom: 1px solid var(--line);
}

h2 { font-size: clamp(2.2rem, 5vw, 4.2rem); }

.about > p,
.contact > p {
  max-width: 700px;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.8vw, 1.3rem);
  line-height: 1.75;
}

footer {
  padding: 30px 0 42px;
  color: var(--muted);
  font-size: .88rem;
}

@media (max-width: 720px) {
  .site-header { min-height: 72px; }
  nav { gap: 16px; }
  nav a { font-size: .82rem; }
  .hero { min-height: 68vh; }
  .about, .contact { grid-template-columns: 1fr; gap: 22px; padding: 64px 0; }
  .about > p, .contact > p { margin-top: 0; }
}

@media (max-width: 460px) {
  .site-header, main, footer { width: min(calc(100% - 28px), var(--max)); }
  .site-header { align-items: flex-start; padding: 20px 0; gap: 18px; }
  nav { flex-direction: column; gap: 5px; align-items: flex-end; }
  h1 { font-size: clamp(3.3rem, 18vw, 5rem); }
}

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