*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 560; letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 0.5em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--ink);
  color: white;
  padding: 8px 12px;
  z-index: 100;
}
.skip:focus { top: 12px; }

.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.wrap-wide { width: min(1280px, calc(100% - 40px)); margin: 0 auto; }

.kicker {
  display: inline-block;
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lede { font-size: 1.12rem; color: var(--muted); max-width: 68ch; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease), border-color 0.2s;
}
.btn:hover { background: var(--ink); transform: translateY(-1px); }
.btn.gold { background: var(--gold); color: #1a140c; }
.btn.gold:hover { background: #a9782e; color: #fff; }
.btn.ghost { background: transparent; color: var(--navy); border-color: rgba(23, 50, 77, 0.28); }
.btn.ghost:hover { background: var(--paper); }
.btn.light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.btn.light:hover { background: #fff; color: var(--ink); }
.btn:disabled { opacity: 0.65; cursor: wait; transform: none; }

.section { padding: 88px 0; }
.section.alt { background: var(--paper); }
.section.ink { background: var(--ink); color: #f4efe6; }
.section.navy { background: var(--navy); color: #f4efe6; }

.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(2rem, 3vw, 3rem); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
