@font-face {
  font-family: "Titan One";
  src: url("TitanOne-Regular.ttf") format("truetype");
  font-display: swap;
}

:root {
  color-scheme: dark;
  font-family: ui-rounded, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #fff3dc;
  background: #2a190e linear-gradient(#3d2617, #1b0f07) fixed;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
  --cream: #fff3dc;
  --cream-soft: #d9c3a0;
  --gold: #ffc83d;
  --lacquer: #de4636;
  --lacquer-edge: #8c2219;
  --oak: #a77548;
  --oak-edge: #5e3b1e;
  --card: rgba(167, 117, 72, 0.16);
  --carve: #140a04;
}

* {
  box-sizing: border-box;
}

body {
  max-width: 52rem;
  margin: 0 auto;
  padding: 0 1.25rem;
  overflow-wrap: break-word;
}

a {
  color: var(--gold);
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 0.15em;
}

a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  padding: 0.75rem;
  background: #1b0f07;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding: 1rem 0;
  border-bottom: 4px solid var(--oak);
}

.brand, h1, h2 {
  font-family: "Titan One", ui-rounded, system-ui, sans-serif;
  font-weight: 400;
  text-shadow: 0 0.08em 0 var(--carve);
}

.brand {
  font-size: 1.6rem;
  color: var(--cream);
  text-decoration: none;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}

.site-header a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
}

nav a {
  color: var(--cream-soft);
}

nav [aria-current="page"] {
  color: var(--gold);
  font-weight: 700;
}

main {
  padding: 1.5rem 0 2rem;
}

h1, h2, h3 {
  line-height: 1.25;
}

h1 {
  font-size: clamp(2.2rem, 7vw, 3rem);
  margin: 0.5rem 0 1rem;
  color: var(--cream);
}

h2 {
  font-size: 1.45rem;
  margin-top: 2.2rem;
  color: var(--gold);
}

h3 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
}

p, li {
  color: var(--cream-soft);
}

strong {
  color: var(--cream);
}

.lead {
  font-size: 1.15rem;
  color: var(--cream);
}

li + li {
  margin-top: 0.65rem;
}

ul, ol {
  padding-left: 1.5rem;
}

.contact {
  padding: 0.25rem 1.25rem 0.75rem;
  border: 2px solid var(--oak-edge);
  border-radius: 1rem;
  background: var(--card);
}

.contact h2 {
  margin-top: 1rem;
}

.button {
  display: inline-block;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  background: linear-gradient(#f06c55, var(--lacquer));
  box-shadow: 0 5px 0 var(--lacquer-edge);
  color: var(--cream);
  font-family: "Titan One", ui-rounded, system-ui, sans-serif;
  text-decoration: none;
  text-shadow: 0 2px 0 var(--lacquer-edge);
}

.button:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 var(--lacquer-edge);
}

.updated, .site-footer, .site-footer p {
  color: var(--cream-soft);
}

.site-footer {
  padding: 1rem 0 2rem;
  border-top: 1px solid var(--oak-edge);
  font-size: 0.95rem;
}

@media (prefers-reduced-motion: no-preference) {
  .skip-link {
    transition: transform 0.15s ease-out;
  }
}
