:root {
  color-scheme: light;
  --paper: #f3f0e8;
  --surface: #fbfaf6;
  --ink: #193247;
  --muted: #66747e;
  --line: #d8d3c8;
  --accent: #d66b45;
  --accent-soft: #ecd7c9;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, transparent 0 48px, rgba(25, 50, 71, 0.045) 48px 49px, transparent 49px),
    var(--paper);
  color: var(--ink);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

a {
  color: inherit;
}

.page-shell {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  text-decoration: none;
}

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

nav {
  display: flex;
  gap: 28px;
}

nav a {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

nav a:hover,
nav a:focus-visible {
  color: var(--accent);
}

.hero {
  max-width: 810px;
  padding: clamp(76px, 12vw, 148px) 0 clamp(86px, 12vw, 132px);
}

.eyebrow,
.note-number {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 760px;
  margin-bottom: 26px;
  font-size: clamp(3.3rem, 8vw, 6.6rem);
  line-height: 0.98;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.08;
}

.intro {
  max-width: 610px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.quiet-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--accent-soft);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

.quiet-link:hover,
.quiet-link:focus-visible {
  border-bottom-color: var(--accent);
  color: var(--accent);
}

.notes {
  padding: 76px 0 94px;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
  align-items: end;
  margin-bottom: 46px;
}

.section-heading .eyebrow {
  margin-bottom: 4px;
}

.note-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.note-card {
  min-height: 260px;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--line);
  background: rgba(251, 250, 246, 0.72);
}

.note-card-wide {
  grid-column: 1 / -1;
  min-height: 230px;
}

.note-card h3 {
  margin-bottom: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 500;
}

.note-card p:last-child {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--muted);
}

.about {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(44px, 9vw, 118px);
  padding: 94px 0;
  border-top: 1px solid var(--line);
}

.about-copy {
  padding-top: 8px;
  color: var(--muted);
}

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

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 38px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
}

footer p {
  margin-bottom: 0;
}

@media (max-width: 720px) {
  body {
    background: var(--paper);
  }

  .page-shell {
    width: min(100% - 32px, 620px);
  }

  .site-header {
    padding: 22px 0;
  }

  nav {
    gap: 18px;
  }

  .hero {
    padding: 72px 0 82px;
  }

  .section-heading,
  .about {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 12px;
  }

  .note-grid {
    grid-template-columns: 1fr;
  }

  .note-card-wide {
    grid-column: auto;
  }

  .about {
    gap: 26px;
  }
}

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