*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: 'Archivo', sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, p { margin: 0; padding: 0; }

:root {
  --ink: #0b0b0d;
  --panel: #17161a;
  --paper: #f4f1ea;
  --dim: #97938c;
  --gold: #d4af37;
  --gold-deep: #a9821f;
  --line: rgba(244,241,234,0.1);
}

.section-title { font-weight: 900; font-size: clamp(2rem, 4.6vw, 3rem); line-height: 1.1; color: var(--paper); }
.tag { display: inline-block; font-family: 'DM Mono', monospace; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.9rem; }
.tag--pale { color: rgba(244,241,234,0.8); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { transition: none; } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.6rem;
  background: rgba(11,11,13,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__logo { font-weight: 900; font-size: 1.15rem; letter-spacing: 0.02em; }
.nav__logo span { color: var(--gold); }
.nav__links { display: flex; gap: 1.6rem; }
.nav__links a { font-size: 0.9rem; color: var(--dim); font-weight: 500; }
.nav__links a:hover { color: var(--paper); }
.nav__burger { display: none; flex-direction: column; gap: 4px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav__burger span { width: 20px; height: 2px; background: var(--paper); display: block; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; cursor: pointer; font-weight: 800; border-radius: 8px; transition: transform 0.15s, box-shadow 0.15s; }
.btn--pill { font-size: 0.82rem; padding: 0.55rem 1rem; background: var(--gold); color: #1a1400; border-radius: 999px; }
.btn--big { font-size: 1rem; padding: 0.95rem 1.8rem; }
.btn--solid { background: var(--gold); color: #1a1400; box-shadow: 0 8px 22px rgba(212,175,55,0.3); }
.btn--solid:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(212,175,55,0.45); background: #e2c14f; }
.btn--ghost { border: 2px solid var(--line); color: var(--paper); background: rgba(255,255,255,0.03); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; justify-content: space-between; gap: 3rem; padding: 7rem 1.8rem 3rem; max-width: 1200px; margin: 0 auto; flex-wrap: wrap; }
.hero__text { max-width: 540px; }
.hero__title { font-weight: 900; font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.02; color: var(--paper); margin-bottom: 1.2rem; }
.hero__sub { font-size: 1.1rem; color: var(--dim); max-width: 48ch; margin-bottom: 2rem; }
.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero__media { position: relative; flex-shrink: 0; width: min(38vw, 420px); }
.hero__media img { width: 100%; }
.stat-card {
  position: absolute;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem 1rem;
  box-shadow: 0 14px 34px rgba(0,0,0,0.5);
  display: flex; flex-direction: column; gap: 0.15rem;
}
.stat-card__label { font-family: 'DM Mono', monospace; font-size: 0.65rem; color: var(--dim); text-transform: uppercase; letter-spacing: 0.05em; }
.stat-card__value { font-weight: 800; font-size: 1.3rem; color: var(--gold); }
.stat-card--top { top: 6%; left: -14%; }
.stat-card--bottom { bottom: 8%; right: -10%; }

/* ---------- Training log ---------- */
.log { padding: 6rem 1.8rem; text-align: center; scroll-margin-top: 76px; }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1.4rem; max-width: 1140px; margin: 3rem auto 0; }
.card { background: var(--panel); border-radius: 14px; overflow: hidden; border: 1px solid var(--line); text-align: left; }
.card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.card:nth-child(2) img { object-position: center 20%; }
.card__body { padding: 1rem 1.1rem 1.2rem; }
.card__caption { font-size: 0.95rem; color: var(--paper); margin-bottom: 0.5rem; }
.card__tag { font-family: 'DM Mono', monospace; font-size: 0.68rem; letter-spacing: 0.06em; color: var(--gold); }

/* ---------- Squad section ---------- */
.squad { position: relative; min-height: 90svh; display: flex; align-items: center; padding: 6rem 1.8rem; overflow: hidden; scroll-margin-top: 76px; }
.squad__bg { position: absolute; inset: 0; background-size: cover; background-position: center 65%; }
.squad__scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,11,13,0.95) 0%, rgba(11,11,13,0.6) 45%, rgba(11,11,13,0.15) 75%); }
.squad__inner { position: relative; z-index: 2; max-width: 560px; }
.squad__title { font-weight: 900; font-size: clamp(2rem, 4.6vw, 3rem); color: var(--paper); line-height: 1.1; margin-bottom: 1.2rem; }
.squad__sub { color: var(--dim); font-size: 1.1rem; margin-bottom: 2rem; max-width: 46ch; }

/* ---------- Closer ---------- */
.closer { padding: 6rem 1.8rem 7rem; text-align: center; }
.closer__title { font-weight: 900; font-size: clamp(1.9rem, 4.2vw, 2.8rem); color: var(--paper); line-height: 1.15; margin-bottom: 2rem; }
.closer__cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { padding: 2rem 1.8rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem; font-size: 0.85rem; color: var(--dim); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 900px) {
  .hero { flex-direction: column; }
  .hero__media { width: min(70vw, 340px); margin: 0 auto; }
  .stat-card--top { left: -6%; }
  .stat-card--bottom { right: -6%; }
}

@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav__links.is-open { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--ink); padding: 1.1rem 1.6rem; gap: 0.9rem; border-bottom: 1px solid var(--line); }

  .hero { text-align: center; padding-top: 7.5rem; }
  .hero__text { margin: 0 auto; }
  .hero__cta { justify-content: center; }
  .cards { grid-template-columns: 1fr; }

  .squad__bg { background-position: center 80%; }
  .squad__scrim { background: linear-gradient(180deg, rgba(11,11,13,0.4) 0%, rgba(11,11,13,0.97) 55%); }
  .squad { align-items: flex-end; }
}
