:root {
  --bg: #f5efe4;
  --bg-accent: #eadbc1;
  --surface: rgba(255, 251, 244, 0.86);
  --surface-strong: #fffaf1;
  --surface-border: rgba(104, 78, 49, 0.14);
  --surface-soft: rgba(255, 248, 239, 0.78);
  --nav-surface: rgba(255, 250, 244, 0.9);
  --nav-surface-sticky: rgba(255, 252, 247, 0.98);
  --nav-border: rgba(104, 78, 49, 0.2);
  --nav-shadow-sticky:
    0 0 0 1px rgba(121, 88, 54, 0.14),
    0 14px 32px rgba(68, 41, 18, 0.18),
    0 4px 12px rgba(68, 41, 18, 0.1);
  --text: #24190f;
  --muted: #6f5b46;
  --accent: #a5582a;
  --accent-strong: #7f3f1b;
  --shadow: 0 18px 50px rgba(68, 41, 18, 0.12);
  --radius-xl: 34px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --max-width: 1120px;
  --sticky-offset: 12px;
  --section-anchor-offset: 152px;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.72), transparent 28%),
    linear-gradient(140deg, var(--bg), var(--bg-accent));
  font-family: Georgia, "Times New Roman", serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  padding: 20px 14px 56px;
}

.layout {
  width: min(100%, var(--max-width));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 10px;
  font-family: "Trebuchet MS", "Gill Sans", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-strong);
  font-size: 0.74rem;
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: min(100%, var(--max-width));
  margin: 0 auto 20px;
  padding: 14px 4px;
}

.site-brand {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav-link {
  padding: 8px 14px;
  border-radius: 999px;
  font-family: "Trebuchet MS", "Gill Sans", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--muted);
  transition: background-color 160ms ease, color 160ms ease;
}

.site-nav-link:hover,
.site-nav-link:focus-visible {
  background: rgba(165, 88, 42, 0.08);
  color: var(--accent-strong);
}

.site-nav-link.is-active {
  background: rgba(165, 88, 42, 0.12);
  color: var(--accent-strong);
  font-weight: 700;
}

.site-nav-link:focus-visible {
  outline: 2px solid rgba(165, 88, 42, 0.4);
  outline-offset: 2px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: min(100%, var(--max-width));
  margin: 32px auto 0;
  padding: 18px 4px 0;
  border-top: 1px solid var(--surface-border);
}

.site-footer-copy {
  margin: 0;
  color: var(--muted);
  font-family: "Trebuchet MS", "Gill Sans", sans-serif;
  font-size: 0.78rem;
}

.site-footer-nav {
  display: flex;
  gap: 14px;
}

.site-footer-nav a {
  color: var(--muted);
  font-family: "Trebuchet MS", "Gill Sans", sans-serif;
  font-size: 0.78rem;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: "Trebuchet MS", "Gill Sans", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff8f0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 8px 20px rgba(127, 63, 27, 0.16);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  box-shadow: 0 10px 24px rgba(68, 41, 18, 0.1);
}

.btn-outline {
  border-color: rgba(165, 88, 42, 0.2);
  background: rgba(165, 88, 42, 0.08);
  color: var(--accent-strong);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  border-color: rgba(165, 88, 42, 0.35);
  background: rgba(165, 88, 42, 0.14);
}

.btn:focus-visible {
  outline: 2px solid rgba(165, 88, 42, 0.4);
  outline-offset: 2px;
}

@media (min-width: 700px) {
  .page-shell {
    padding: 28px 20px 60px;
  }

  .site-header {
    padding: 18px 6px;
  }
}
