/* PREDGRU brand tokens — change colours here */
:root {
  --black: #0B0C0B;
  --gunmetal: #1A1C1B;
  --panel: #141614;
  --line: #2A2D2A;
  --line-2: #3A3D3A;
  --text: #D9D4C7;
  --muted: #8C8F88;
  --muted-2: #A9ACA5;
  --coyote: #81613C;
  --red: #C8322B;
  --phosphor: #7CFF6B;
  --display: 'Barlow Condensed', Impact, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--black); color: var(--text); font-family: var(--mono); font-size: 15px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--text); }
a:hover { color: #fff; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: 0.06em; line-height: 0.95; margin: 0; }
h1 { font-size: clamp(44px, 7vw, 84px); }
h2 { font-size: clamp(32px, 4.5vw, 48px); }
h3 { font-size: 26px; letter-spacing: 0.08em; }
p { margin: 0; }

.wrap { max-width: 1360px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--red); color: var(--black); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }
.eyebrow { font-size: 12px; letter-spacing: 0.2em; color: var(--red); font-weight: 600; margin-bottom: 10px; }
.muted { color: var(--muted); }
.small { font-size: 11px; letter-spacing: 0.14em; }
.center { text-align: center; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 12px 20px; font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: 0.16em; text-decoration: none; cursor: pointer; border: 1px solid transparent; background: none; color: var(--text); }
.btn--red { background: var(--red); color: var(--black); }
.btn--red:hover { background: #dd3b33; color: var(--black); }
.btn--ghost { border-color: var(--line-2); font-family: var(--mono); font-weight: 500; font-size: 13px; }
.btn--ghost:hover { border-color: var(--text); }
.btn--sm { font-size: 12px; padding: 10px 14px; }
.btn--block { width: 100%; }
.btn--text { font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--muted-2); }
:focus-visible { outline: 2px solid var(--phosphor); outline-offset: 2px; }

/* header */
.top { border-bottom: 1px solid var(--line); background: var(--black); position: sticky; top: 0; z-index: 5; }
.top__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__text { display: flex; flex-direction: column; gap: 2px; }
.brand__name { font-family: var(--display); font-weight: 800; font-size: 28px; line-height: 0.9; letter-spacing: 0.08em; }
.brand__sub { font-size: 9px; letter-spacing: 0.24em; color: var(--muted); }
.nav { display: flex; gap: 24px; font-size: 13px; letter-spacing: 0.16em; }
.nav a { text-decoration: none; color: var(--muted-2); padding: 10px 0 4px; }
.nav a.is-active { color: var(--text); border-bottom: 2px solid var(--red); }
@media (max-width: 720px) {
  .top__row { gap: 6px 10px; padding-top: 10px; padding-bottom: 4px; }
  .nav { order: 3; width: 100%; justify-content: space-between; }
  .brand__sub { display: none; }
  .brand__name { font-size: 24px; }
  .brand img { width: 32px; height: 34px; }
  .top .btn--ghost { padding: 8px 10px; font-size: 11px; }
}

/* hero */
.hero { position: relative; min-height: clamp(560px, 78vh, 760px); overflow: hidden; border-bottom: 1px solid var(--line); display: flex; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,12,11,0.15) 0%, rgba(11,12,11,0.45) 55%, var(--black) 100%); }
.hero__copy { position: relative; align-self: flex-end; width: 100%; padding-top: 160px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 14px; }
.lede { max-width: 560px; font-size: 15px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* sections */
.section { padding-top: 56px; padding-bottom: 64px; }
.section__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 28px; }
.presets { display: flex; flex-wrap: wrap; gap: 10px; }
.section--band { background: var(--gunmetal); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--band h2 { margin-bottom: 36px; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.grid3 h3 { margin: 6px 0 10px; }
.grid3 p:last-child { color: var(--muted-2); font-size: 14px; }
.num { font-family: var(--display); font-weight: 800; font-size: 40px; color: var(--coyote); }

/* cage */
.cage { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.cage__left { flex: 1 1 340px; max-width: 560px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.cage__right { flex: 999 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.cage__frame { position: relative; border: 1px solid var(--line-2); }
.cage__frame img { width: 100%; height: auto; }
.spot { position: absolute; padding: 0; background: transparent; border: 2px dashed rgba(217,212,199,0.45); cursor: pointer; }
.spot__tag { position: absolute; left: -2px; top: -24px; background: rgba(11,12,11,0.88); color: var(--text); font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; padding: 3px 8px; white-space: nowrap; }
.spot.is-on { border-color: var(--phosphor); }
.spot.is-on .spot__tag { background: var(--phosphor); color: var(--black); }
.spot.is-sel { border: 2px solid var(--red); background: rgba(200,50,43,0.14); }
.spot.is-sel .spot__tag { background: var(--red); color: var(--black); }
.extras { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.extras__list { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { min-height: 44px; padding: 10px 12px; background: transparent; color: var(--text); border: 1px solid var(--line-2); font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; cursor: pointer; }
.chip.is-sel { border-color: var(--red); }

.panel { border: 1px solid var(--line); background: var(--panel); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.panel .eyebrow { margin: 0; }
.panel__title { font-size: 42px; }
.panel__desc { color: var(--muted-2); font-size: 14px; }
.specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; font-size: 12px; letter-spacing: 0.1em; }
.panel__row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.price { font-family: var(--display); font-weight: 700; font-size: 32px; flex-grow: 1; }
.locked { border: 1px dashed var(--muted); color: var(--muted-2); padding: 12px 16px; font-size: 12px; letter-spacing: 0.16em; }

.loadout { border: 1px solid var(--line-2); background: #101210; }
.loadout__head { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.loadout__empty { display: flex; gap: 16px; align-items: center; padding: 20px; }
.loadout__empty img { width: 96px; height: 120px; object-fit: cover; border: 1px solid var(--line); flex-shrink: 0; }
.loadout__empty p { font-size: 13px; color: var(--muted-2); }
.manifest { list-style: none; margin: 0; padding: 0; }
.manifest li { display: flex; align-items: center; gap: 12px; padding: 10px 20px; border-bottom: 1px solid #1F221F; }
.manifest .m-name { flex-grow: 1; min-width: 0; display: flex; flex-direction: column; }
.manifest .m-code { font-size: 11px; letter-spacing: 0.16em; color: var(--muted); }
.manifest .m-title { font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: 0.08em; }
.manifest button { width: 44px; height: 44px; background: transparent; border: 1px solid var(--line-2); color: var(--muted-2); cursor: pointer; font-size: 16px; }
.loadout__foot { padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }

/* enlist */
.enlist { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-end; justify-content: space-between; }
.enlist__copy { flex: 1 1 360px; display: flex; flex-direction: column; gap: 12px; }
.enlist__copy p:last-child { color: var(--muted-2); max-width: 520px; }
.form { flex: 1 1 360px; max-width: 560px; display: flex; flex-direction: column; gap: 8px; }
.form label { font-size: 12px; letter-spacing: 0.2em; color: var(--muted); }
.form__row { display: flex; gap: 0; }
.form input { flex: 1; min-width: 0; min-height: 52px; background: var(--panel); border: 1px solid var(--line-2); border-right: none; color: var(--text); font-family: var(--mono); font-size: 15px; padding: 0 16px; }
.form input::placeholder { color: #6E716B; }
.form__msg { min-height: 1.6em; font-size: 13px; }
.form .small { letter-spacing: 0.06em; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__msg.is-err { color: #ff7a72; }
.form__msg.is-ok { color: var(--phosphor); }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 32px 0; }
.foot__row { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }
