:root {
  color-scheme: light;
  --ink: #25221d;
  --muted: #6f685d;
  --paper: #fffaf1;
  --panel: #fffdf8;
  --line: #ded2bd;
  --accent: #2f6f69;
  --accent-dark: #214f4a;
  --shadow: 0 14px 34px rgba(68, 55, 34, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: #f7efe2;
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.75;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.site-header,
.site-footer {
  background: rgba(255, 250, 241, 0.92);
  border-bottom: 1px solid var(--line);
}

.site-footer {
  border-top: 1px solid var(--line);
  border-bottom: 0;
  margin-top: 48px;
}

.header-inner,
.footer-inner,
.about-shell {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 0;
  text-decoration: none;
  line-height: 1.25;
}

.brand strong {
  font-size: 1rem;
}

.brand span,
.eyebrow,
.footer-inner,
.note-block p,
.link-grid span {
  color: var(--muted);
}

.nav,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  font-size: 0.92rem;
}

.nav a,
.footer-links a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.nav a:hover,
.footer-links a:hover {
  border-bottom-color: currentColor;
}

.about-shell {
  padding: 42px 0 0;
}

.about-hero {
  padding: 34px 0 26px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 8px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
}

.lead {
  max-width: 720px;
  margin-top: 16px;
  font-size: 1.08rem;
}

.note-block,
.link-panel {
  margin-top: 22px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.note-block h2,
.link-panel h2 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.note-block p + p {
  margin-top: 10px;
}

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

.link-grid a {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
  padding: 14px;
  text-decoration: none;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.link-grid a:hover {
  border-color: var(--accent);
}

.link-grid strong {
  color: var(--accent-dark);
}

.link-grid span {
  font-size: 0.9rem;
}

@media (max-width: 720px) {
  .header-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .about-shell {
    width: min(100% - 24px, 1040px);
    padding-top: 24px;
  }

  .about-hero {
    padding-top: 20px;
  }

  h1 {
    font-size: 2rem;
  }

  .note-block,
  .link-panel {
    padding: 18px;
  }

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