:root {
  --bg: #12110f;
  --bg-raised: #1b1a17;
  --stroke: #2e2c27;
  --text: #ece7dc;
  --muted: #b7b0a3;
  --accent: #c4a574;
  --accent-dim: #8f7752;
  --max: 72rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header,
.site-footer {
  border-color: var(--stroke);
  border-style: solid;
}

.site-header {
  border-width: 0 0 1px;
  padding: 1rem 0;
}

.site-header .wrap,
.site-footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.9rem;
}

.nav a {
  color: var(--muted);
}

.hero {
  padding: 4.5rem 0 3.5rem;
  text-align: center;
}

.hero .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero .lede {
  margin-inline: auto;
}

.kicker {
  margin: 0 0 0.75rem;
  color: var(--accent);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 600;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: -0.02em;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.15;
}

h2 {
  margin: 0 0 0.75rem;
  font-size: 1.6rem;
}

.lede {
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.1rem;
  border: 1px solid var(--accent-dim);
  background: var(--accent);
  color: #1a1610;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.btn:hover,
.btn:focus-visible {
  text-decoration: none;
  filter: brightness(1.05);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--stroke);
}

section {
  padding: 2.75rem 0;
  border-top: 1px solid var(--stroke);
}

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

.card {
  background: var(--bg-raised);
  border: 1px solid var(--stroke);
  padding: 1.15rem 1.2rem;
}

.card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.note {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.contact p {
  margin: 0.4rem 0;
  color: var(--muted);
}

.site-footer {
  border-width: 1px 0 0;
  padding: 1.25rem 0 2rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.fine {
  max-width: 46rem;
}

.disclaimer-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(10, 9, 8, 0.72);
}

.disclaimer-overlay[data-open="false"] {
  display: none;
}

.disclaimer-dialog {
  position: relative;
  width: min(36rem, 100%);
  max-height: min(90vh, 40rem);
  overflow: auto;
  display: flex;
  flex-direction: column;
  padding: 2.25rem 1.75rem 1.35rem;
  background: var(--bg-raised);
  border: 1px solid var(--stroke);
  color: var(--text);
  box-shadow: 0 1.25rem 3rem rgba(0, 0, 0, 0.45);
}

.disclaimer-dialog:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.disclaimer-close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  z-index: 2;
  margin: 0;
  padding: 0.35rem 0.6rem;
  border: 1px solid var(--stroke);
  background: var(--bg-raised);
  color: var(--text);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  pointer-events: auto;
}

.disclaimer-close:hover,
.disclaimer-close:focus-visible {
  border-color: var(--accent-dim);
  color: var(--accent);
}

.disclaimer-title {
  margin: 0 1.75rem 1rem;
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.disclaimer-copy {
  margin: 0;
  text-align: center;
  font-style: italic;
  color: var(--muted);
  font-size: 1rem;
}

.disclaimer-signoff {
  margin: 1.35rem 0 0;
  align-self: flex-end;
  text-align: right;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 640px) {
  .site-header .wrap,
  .site-footer .wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}
