:root {
  --text: #2b1d0e;
  --muted: #6b5a45;
  --line: #e8dabf;
  --bg: #fcf7ec;
  --bg-alt: #f2e5cc;
  --paper: #fff9ea;
  --gold: #e0a526;
  --gold-dark: #c98a1b;
  --gold-light: #f4d98e;
  --accent: #8a5a14;
  --accent-dark: #6b4210;
  --max: 68rem;
  --measure: 40rem;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1;
}

a {
  color: var(--accent);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent-dark);
}

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: #fff;
  z-index: 10;
}

.skip-link:focus {
  top: 1rem;
  color: #fff;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.wordmark {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.wordmark span {
  color: var(--accent);
}

.wordmark:hover {
  color: var(--text);
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: inline-block;
  padding: 0.25rem 0;
  font-size: 0.975rem;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

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

/* Hero */
.hero {
  padding: clamp(3.5rem, 10vw, 6.5rem) 0 clamp(3rem, 9vw, 5.5rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: center;
  gap: 3rem;
}

.hero-art {
  width: 100%;
  max-width: 24rem;
  justify-self: center;
  color: var(--text);
}

.hero-art .fill-paper {
  fill: var(--paper);
}

.hero-art .fill-gold {
  fill: var(--gold-light);
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

h1 {
  font-size: clamp(2.25rem, 5.5vw, 3.5rem);
  font-weight: 700;
  max-width: 20ch;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 650;
}

h3 {
  font-size: 1.125rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.lead {
  max-width: var(--measure);
  margin: 0 0 2rem;
  font-size: 1.25rem;
  color: var(--muted);
}

.button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  color: var(--text);
  background: var(--gold);
  border-radius: 4px;
  text-decoration: none;
}

.button:hover {
  color: var(--text);
  background: var(--gold-dark);
}

/* Sections */
.section {
  padding: clamp(3rem, 8vw, 5rem) 0;
  border-top: 1px solid var(--line);
}

.section.alt {
  background: var(--bg-alt);
}

.section p {
  max-width: var(--measure);
  margin: 0 0 1rem;
}

.section p:last-child {
  margin-bottom: 0;
}

.areas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 2rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.areas li {
  padding-top: 1.25rem;
  border-top: 3px solid var(--gold);
}

.icon {
  display: block;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  color: var(--accent);
}

.areas p {
  margin: 0;
  color: var(--muted);
}

/* Inner pages */
.page-header {
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(1.5rem, 4vw, 2.5rem);
}

.page-header h1 {
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  max-width: none;
  margin-bottom: 0;
}

.page-header .meta {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.prose {
  max-width: var(--measure);
  padding-bottom: clamp(3rem, 8vw, 5.5rem);
}

.prose h2 {
  margin-top: 2.5rem;
  font-size: 1.375rem;
}

.prose p,
.prose ul {
  margin: 0 0 1rem;
}

.prose ul {
  padding-left: 1.25rem;
}

.prose li {
  margin-bottom: 0.4rem;
}

.email-link {
  font-size: clamp(1.25rem, 3.5vw, 1.75rem);
  font-weight: 600;
  overflow-wrap: anywhere;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
  font-size: 0.95rem;
  color: var(--muted);
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem 3rem;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.site-footer p {
  margin: 0 0 0.25rem;
}

.site-footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  margin: 0 0 0.75rem;
  padding: 0;
  list-style: none;
}

.site-footer a {
  color: var(--muted);
}

.site-footer a:hover {
  color: var(--text);
}

.footer-right {
  text-align: right;
}

@media (max-width: 52rem) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-art {
    max-width: 18rem;
    justify-self: start;
  }
}

@media (max-width: 40rem) {
  body {
    font-size: 1rem;
  }

  .footer-right {
    text-align: left;
  }
}

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