:root {
  --bg: #100d08;
  --panel: #1b150d;
  --text: #f5ead7;
  --muted: #b9a98c;
  --gold: #e0a31b;
  --red: #8f241a;
  --green: #4f7a33;
  --line: rgba(245, 234, 215, 0.14);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 80% 10%, rgba(224, 163, 27, 0.15), transparent 28rem),
    radial-gradient(circle at 12% 18%, rgba(79, 122, 51, 0.16), transparent 24rem),
    linear-gradient(135deg, #100d08 0%, #171008 52%, #0c0b08 100%);
  color: var(--text);
}

a { color: inherit; }
.site-header {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  text-decoration: none;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.06em;
}
.brand span { color: var(--green); }
.brand__tree { color: var(--gold) !important; margin-right: 8px; }
nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
nav a {
  text-decoration: none;
  color: var(--muted);
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
}
nav a:hover,
nav a.active {
  color: var(--text);
  background: rgba(245, 234, 215, 0.08);
}
main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}
.hero {
  min-height: 72vh;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  align-items: center;
  gap: 32px;
  padding: 64px 0 52px;
}
.hero__content h1,
.page-hero h1 {
  font-size: clamp(3.1rem, 8vw, 6.8rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
  margin: 0 0 24px;
  max-width: 900px;
}
.lead {
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.6;
  max-width: 720px;
}
.eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 900;
  font-size: 0.78rem;
}
.actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.button {
  text-decoration: none;
  border: 1px solid var(--line);
  padding: 14px 18px;
  border-radius: 999px;
  font-weight: 900;
}
.button--primary {
  background: linear-gradient(135deg, var(--gold), #f1c65a);
  color: #171008;
  border-color: transparent;
}
.button--ghost { color: var(--text); background: rgba(245, 234, 215, 0.06); }
.hero__card {
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 28px;
  background:
    linear-gradient(145deg, rgba(224, 163, 27, 0.14), rgba(79, 122, 51, 0.08)),
    rgba(27, 21, 13, 0.78);
  box-shadow: var(--shadow);
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}
.hero__card::before {
  content: "";
  position: absolute;
  inset: 24px;
  border-radius: 24px;
  border-top: 18px solid var(--red);
  border-bottom: 18px solid var(--green);
  opacity: 0.65;
  transform: rotate(-7deg) scale(1.2);
}
.hero__card span,
.hero__card strong,
.hero__card p { position: relative; }
.hero__card span { color: var(--gold); font-weight: 900; }
.hero__card strong { display: block; font-size: 2rem; line-height: 1; margin: 10px 0; }
.hero__card p { color: var(--muted); line-height: 1.5; }
.grid { display: grid; gap: 18px; padding: 28px 0; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.card,
.timeline article,
.split {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(27, 21, 13, 0.72);
  padding: 26px;
  box-shadow: 0 14px 40px rgba(0,0,0,.16);
}
.card h2,
.timeline h2,
.split h2 { margin-top: 0; letter-spacing: -0.04em; }
.card p,
.timeline p,
.split p { color: var(--muted); line-height: 1.65; }
.card a { color: var(--gold); font-weight: 900; }
.split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  margin: 36px 0 72px;
}
.split h2 { font-size: clamp(2rem, 4vw, 3.4rem); line-height: 0.96; }
.page-hero { padding: 80px 0 32px; }
.timeline { display: grid; gap: 18px; margin: 20px 0 72px; }
.timeline article {
  display: grid;
  grid-template-columns: 70px 0.7fr 1fr;
  gap: 20px;
  align-items: start;
}
.timeline span {
  color: var(--gold);
  font-weight: 900;
  font-size: 1.4rem;
}
footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 56px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
footer strong { color: var(--text); }
@media (max-width: 800px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  nav { justify-content: flex-start; }
  .hero,
  .grid.three,
  .grid.two,
  .split,
  .timeline article { grid-template-columns: 1fr; }
  .hero { padding-top: 32px; }
  .hero__card { min-height: 260px; }
  footer { flex-direction: column; }
}
