:root {
  --bg: #171b16;
  --panel: #20271f;
  --panel-2: #273026;
  --text: #f3ead9;
  --muted: #c7b99e;
  --line: #3a4535;
  --green: #6f8d5f;
  --amber: #d69a3a;
  --red: #9e4d36;
  --cream: #fff4dc;
  --shadow: rgba(0,0,0,.35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(214,154,58,.13), transparent 32rem),
    radial-gradient(circle at bottom right, rgba(111,141,95,.13), transparent 30rem),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

a { color: var(--amber); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(23,27,22,.88);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 5;
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--cream);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .02em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(145deg, var(--panel-2), #151913);
  box-shadow: 0 10px 28px var(--shadow);
}

.brand-mark span {
  color: var(--amber);
  font-family: ui-serif, Georgia, serif;
  font-size: 1.3rem;
}

.brand small {
  display: block;
  color: var(--muted);
  font-weight: 500;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 14px;
}

.links a {
  color: var(--muted);
  font-size: .94rem;
}
.links a:hover, .links a.active { color: var(--cream); }

.hero {
  padding: 80px 0 54px;
}

.kicker {
  color: var(--amber);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

h1, h2, h3 {
  line-height: 1.12;
  margin: 0;
}

h1 {
  max-width: 880px;
  font-family: ui-serif, Georgia, serif;
  font-size: clamp(2.45rem, 7vw, 5.6rem);
  letter-spacing: -.055em;
}

.lede {
  max-width: 740px;
  color: var(--muted);
  font-size: clamp(1.06rem, 2vw, 1.32rem);
  margin: 22px 0 0;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--cream);
  background: var(--panel-2);
  box-shadow: 0 10px 24px var(--shadow);
  font-weight: 700;
}

.button.secondary {
  background: transparent;
  color: var(--muted);
}

.section {
  padding: 38px 0;
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.section-title h2 {
  font-family: ui-serif, Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.section-title p {
  color: var(--muted);
  max-width: 520px;
  margin: 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(39,48,38,.94), rgba(32,39,31,.94));
  padding: 22px;
  box-shadow: 0 18px 40px var(--shadow);
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.card p { color: var(--muted); margin: 0; }
.card ul { margin: 12px 0 0; padding-left: 20px; color: var(--muted); }

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.pill {
  border: 1px solid var(--line);
  color: var(--muted);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: .82rem;
  background: rgba(0,0,0,.12);
}

.callout {
  border-left: 4px solid var(--amber);
  background: rgba(214,154,58,.09);
  padding: 20px 22px;
  border-radius: 16px;
  color: var(--cream);
}

.timeline {
  display: grid;
  gap: 14px;
}

.entry {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  background: rgba(32,39,31,.72);
}

.entry time {
  display: block;
  color: var(--amber);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.entry h3 { margin-bottom: 6px; }
.entry p { color: var(--muted); margin: 0; }

.site-footer {
  margin-top: 48px;
  border-top: 1px solid var(--line);
  padding: 28px 0 44px;
  color: var(--muted);
  font-size: .92rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 820px) {
  .nav { align-items: flex-start; flex-direction: column; padding: 18px 0; }
  .links { justify-content: flex-start; }
  .grid, .grid.two { grid-template-columns: 1fr; }
  .section-title { align-items: flex-start; flex-direction: column; }
  .hero { padding-top: 50px; }
}
