:root {
  --ink: #0d0f0c;
  --panel: #161914;
  --line: #2a2e26;
  --paper: #efe6d2;
  --mute: #9a9484;
  --gold: #c9a227;
  --gold-dim: #8a7020;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--ink);
  color: var(--paper);
}

body {
  min-height: 100dvh;
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-size: 1.125rem;
  line-height: 1.65;
}

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

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 20;
  background: var(--gold);
  color: var(--ink);
  padding: 0.4rem 0.7rem;
}

.wrap {
  width: min(72rem, calc(100% - 2.4rem));
  margin: 0 auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
  padding: 1.1rem 0 0.9rem;
  background: rgba(13, 15, 12, 0.92);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
}

.site-header .wrap {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand a {
  font-family: Fraunces, Georgia, serif;
  font-weight: 560;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
  color: var(--paper);
  text-decoration: none;
}

.tag {
  margin: 0.15rem 0 0;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav-toggle {
  display: none;
  background: transparent;
  color: var(--paper);
  border: 1px solid var(--line);
  padding: 0.4rem 0.7rem;
  font: inherit;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.05rem;
  align-items: center;
  justify-content: flex-end;
}

.nav a {
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 0.92rem;
  color: var(--paper);
  text-decoration: none;
  padding: 0.2rem 0;
  border-bottom: 1px solid transparent;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.nav a.cta {
  border: 1px solid var(--gold);
  padding: 0.28rem 0.7rem;
  color: var(--gold);
}

main { padding: 2.6rem 0 4rem; }

.hero h1,
.page-head h1 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 520;
  font-size: clamp(2.2rem, 5vw, 4.1rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin: 0 0 0.8rem;
}

.lede {
  max-width: 38rem;
  font-size: 1.25rem;
  color: #d9d0b8;
}

.kicker {
  margin: 0 0 0.7rem;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.76rem;
  color: var(--gold);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.card,
.quote,
.article,
.tile {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 1.15rem 1.2rem 1.2rem;
}

.card h2,
.article h2,
.tile h2 {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.25rem;
  margin: 0 0 0.45rem;
  font-weight: 540;
}

.card p,
.article p,
.tile p { margin: 0 0 0.7rem; }
.card p:last-child,
.article p:last-child { margin-bottom: 0; }

.quote {
  font-size: 1.05rem;
}
.quote cite {
  display: block;
  margin-top: 0.55rem;
  font-style: normal;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute);
}

.stack { display: grid; gap: 1rem; margin-top: 1.6rem; }

.note {
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 0.92rem;
  color: var(--mute);
}

form {
  display: grid;
  gap: 0.85rem;
  max-width: 34rem;
  margin-top: 1.4rem;
}

label {
  display: grid;
  gap: 0.3rem;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 0.92rem;
}

input, textarea, select {
  font: inherit;
  background: #10130f;
  color: var(--paper);
  border: 1px solid var(--line);
  padding: 0.6rem 0.7rem;
}

button[type="submit"] {
  justify-self: start;
  background: var(--gold);
  color: var(--ink);
  border: 0;
  padding: 0.7rem 1.1rem;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-weight: 650;
  cursor: pointer;
}

.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr));
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.tile a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.tile .host {
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.4rem 0 2rem;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 0.88rem;
  color: var(--mute);
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.4rem;
  justify-content: space-between;
}

.site-footer nav { display: flex; gap: 1rem; }

@media (max-width: 820px) {
  .nav-toggle { display: inline-block; }
  .site-header .wrap { align-items: center; }
  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.8rem 0 0.4rem;
  }
  .nav.is-open { display: flex; }
  .site-header .wrap { flex-wrap: wrap; }
}
