:root {
  --bg: #0f0d0b;
  --panel: #171310;
  --text: #efe4d2;
  --muted: #c5b59f;
  --border: #3f3126;
  --accent: #ab8445;
  --accent-strong: #781c1c;
  --max-width: 64rem;
  --shadow: 0 22px 52px rgba(0, 0, 0, 0.25);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--text);
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  background:
    linear-gradient(180deg, rgba(122, 29, 29, 0.08), transparent 25%),
    radial-gradient(circle at top right, rgba(171, 132, 69, 0.1), transparent 30%),
    #0f0d0b;
  color: var(--text);
}

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

a:hover,
a:focus-visible {
  color: #fff4df;
}

.site-shell {
  min-height: 100vh;
}

.site-header,
.site-main,
.site-footer {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.site-header {
  padding: 1.25rem 0 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 10;
  padding: 0.75rem 1rem;
  background: var(--text);
  color: var(--bg);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
}

.brand {
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.nav-list a {
  text-decoration: none;
  color: var(--muted);
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--text);
}

.site-main {
  padding: 3rem 0 4rem;
}

.hero,
.content-block {
  background: rgba(23, 19, 16, 0.82);
  border: 1px solid rgba(63, 49, 38, 0.85);
  box-shadow: var(--shadow);
}

.hero {
  padding: clamp(2rem, 7vw, 4.5rem);
}

.hero-home {
  min-height: 48vh;
  display: grid;
  align-content: center;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

.hero h1,
.page-header h1 {
  margin: 0;
  font-size: clamp(2.4rem, 8vw, 4.8rem);
  line-height: 0.98;
  text-wrap: balance;
}

.lede {
  max-width: 38rem;
  margin: 1.25rem 0 1rem;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.hero-note {
  margin: 0 0 2rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.button-link {
  display: inline-block;
  border: 1px solid var(--accent);
  padding: 0.7rem 1rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.button-link:hover,
.button-link:focus-visible {
  background: var(--accent);
  color: #171310;
}

.content-block {
  padding: clamp(1.5rem, 4vw, 3rem);
}

.hero + .content-block {
  margin-top: 1.5rem;
}

.page-header {
  margin-bottom: 1.5rem;
}

.prose {
  max-width: 42rem;
}

.prose h2 {
  margin-top: 2rem;
  font-size: 1.25rem;
}

.site-footer {
  padding: 0 0 2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

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

  .site-main {
    padding-top: 2rem;
  }
}
