:root {
  --paper: #f4efe4;
  --ink: #211812;
  --muted: #65584c;
  --line: #d9cbb8;
  --copper: #8d3b16;
  --oak: #3a291c;
  --measure: 40rem;
  color-scheme: light;
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Figtree", "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
}

a { color: var(--copper); }
a:hover { color: var(--oak); }

.wrap {
  width: min(100% - 2rem, 68rem);
  margin-inline: auto;
}

#gate {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
}

.gate-card {
  width: min(100%, 28rem);
  border-top: 3px solid var(--ink);
  padding-top: 1.25rem;
}

.gate-card p {
  margin: 0 0 1.25rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.gate-actions { display: flex; gap: 0.75rem; }

.gate-actions button,
.deny {
  font: inherit;
}

.gate-actions button {
  min-height: 2.75rem;
  min-width: 5.5rem;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  padding: 0.4rem 1rem;
  cursor: pointer;
}

.gate-actions button:first-child {
  background: var(--ink);
  color: var(--paper);
}

.gate-actions button:hover { border-color: var(--copper); }

.deny {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.75rem;
  line-height: 1.2;
}

html.age-ok #gate { display: none; }
html:not(.age-ok) #site { display: none; }

.mast {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 1.25rem 0 0.75rem;
  border-bottom: 1px solid var(--ink);
}

.word {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 560;
  font-size: 1.35rem;
  letter-spacing: 0.14em;
  text-decoration: none;
  color: var(--ink);
}

.lang {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
}

.lang:hover { color: var(--copper); }

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  padding: 0.75rem 0 1rem;
  border-bottom: 3px solid var(--ink);
}

nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
}

nav a[aria-current="page"] {
  color: var(--copper);
  text-decoration: underline;
  text-underline-offset: 0.28em;
}

main { padding: 2.25rem 0 3rem; }

h1 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 560;
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  letter-spacing: -0.035em;
  line-height: 0.95;
  margin: 0 0 1rem;
  max-width: 14ch;
}

.dek {
  font-size: 1.25rem;
  max-width: var(--measure);
  margin: 0 0 1.5rem;
}

.prose { max-width: var(--measure); }
.prose p { margin: 0 0 1rem; }
.prose h2 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 560;
  font-size: 1.7rem;
  letter-spacing: -0.02em;
  margin: 2rem 0 0.6rem;
}

.jump {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin: 1.75rem 0 0.5rem;
  max-width: 52rem;
}

.jump a {
  display: block;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  padding: 1rem 1rem 1.1rem;
}

.jump a:hover { background: #fffaf2; }
.jump strong {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 560;
  margin-bottom: 0.25rem;
}
.jump span { color: var(--muted); font-size: 0.92rem; }

.bands, .places { list-style: none; padding: 0; margin: 1rem 0 0; max-width: 46rem; }
.bands li, .places li {
  border-top: 1px solid var(--line);
  padding: 1rem 0;
}
.bands li:last-child, .places li:last-child { border-bottom: 1px solid var(--line); }

.kicker {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.serve {
  max-width: var(--measure);
  border-left: 3px solid var(--copper);
  padding: 0.2rem 0 0.2rem 1rem;
  margin: 1rem 0 1.25rem;
}

.serve ol { margin: 0.4rem 0 0; padding-left: 1.2rem; }

footer {
  border-top: 1px solid var(--ink);
  padding: 1rem 0 2rem;
  color: var(--muted);
  font-size: 0.88rem;
}

footer p { margin: 0.35rem 0; max-width: 46rem; }

@media (max-width: 700px) {
  .jump { grid-template-columns: 1fr; }
}
