:root {
  --site-ink: #2c241e;
  --site-ink-soft: #5a4e44;
  --site-cream: #f6efe4;
  --site-paper: #fffaf3;
  --site-brick: #8b3a2a;
  --site-line: rgba(44, 36, 30, 0.12);
  --site-header-h: 68px;
}

html {
  height: 100%;
  overflow: hidden;
}

body {
  margin: 0;
  height: 100%;
  max-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.site-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.site-skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--site-ink);
  color: #fff;
  padding: 0.6em 1em;
  z-index: 1000;
}

.site-skip:focus {
  left: 0.75em;
  top: 0.75em;
}

.site-header {
  position: relative;
  flex: 0 0 auto;
  z-index: 1100;
  background: rgba(246, 239, 228, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--site-line);
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 16px;
  font-synthesis: none;
}

.site-header * {
  box-sizing: border-box;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  min-height: var(--site-header-h);
  padding: 0.7em 1.25em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  position: relative;
}

.brand {
  text-decoration: none;
  color: var(--site-ink);
  min-width: 0;
}

.brand-name {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.45em;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.brand-tag {
  display: block;
  font-size: 0.78em;
  color: var(--site-ink-soft);
  margin-top: 0.1em;
}

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  width: 2.5em;
  height: 2.5em;
  border: 1px solid var(--site-line);
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: var(--site-paper);
}

.nav-toggle-label span {
  display: block;
  width: 1.15em;
  height: 2px;
  background: var(--site-ink);
}

.site-nav ul {
  display: flex;
  gap: 0.35em;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  display: inline-block;
  text-decoration: none;
  color: var(--site-ink);
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
  padding: 0.45em 0.75em;
  border: 1px solid transparent;
  border-radius: 999px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(139, 58, 42, 0.1);
  outline: none;
}

.site-nav a[aria-current="page"] {
  background: rgba(139, 58, 42, 0.14);
  color: var(--site-brick);
  font-size: 15px;
  font-weight: 600;
}

@media (max-width: 960px) {
  .nav-toggle-label {
    display: flex;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--site-cream);
    border-bottom: 1px solid var(--site-line);
    display: none;
  }

  .nav-toggle:checked ~ .site-nav {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: 0.5em 1em 1em;
  }
}
