@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');

:root {
  --paper: #f7f3eb;
  --ink: #384633;
  --muted: #6f706a;
  --accent: #181e18;
  --line: #d8cfc1;
  --panel: #eee6d9;
  --dark: #262722;
  --light: #fbf8f2;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 20px;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.8;
}

.site-header {
  border-bottom: 1px solid var(--line);
  padding: 18px clamp(20px, 6vw, 88px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}


nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: .82rem;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  padding: 4px 0;
}

nav a:hover, nav a[aria-current="page"] {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

main {
  width: min(100% - 40px, 760px);
  margin: 0 auto;
  padding: 68px 0 90px;
}

h1, h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.7rem, 7vw, 5rem);
  letter-spacing: -.045em;
  margin: 0 0 20px;
}

h2 {
  font-size: clamp(1.7rem, 4vw, 2.25rem);
  margin: 52px 0 15px;
}


