/* Reno Renegades — cinematic dark, Gabe Galvez art */
:root {
  --bg: #070605;
  --bg-2: #0e0b0a;
  --bg-3: #14110f;
  --panel: #12100e;
  --red: #c41e1a;
  --red-hot: #ff3327;
  --red-deep: #961814;
  --red-glow: rgba(196, 30, 26, 0.42);
  --silver: #c9c4be;
  --silver-dim: #8a847e;
  --steel: #9a928a;
  --dust: #9a8c84;
  --text: #efeae4;
  --text-dim: #b7aea6;
  --line: rgba(201, 196, 190, 0.16);
  --font-display: "Oswald", "Arial Narrow", Impact, "Haettenschweiler", sans-serif;
  --font-body: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  --wrap: 1120px;
  --narrow: 680px;
  --header-h: 68px;
  --radius: 2px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--silver);
  text-underline-offset: 0.18em;
}

a:hover { color: var(--text); }

:focus-visible {
  outline: 2px solid var(--red-hot);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 80;
  background: var(--red);
  color: #fff;
  padding: 0.55rem 0.9rem;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.skip:focus { top: 12px; }

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: 0.07;
  background-image: url("assets/noise.png");
  background-size: 180px 180px;
  mix-blend-mode: overlay;
}

.wrap {
  width: min(100% - 2rem, var(--wrap));
  margin-inline: auto;
}

.wrap.narrow { width: min(100% - 2rem, var(--narrow)); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: rgba(7, 6, 5, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(196, 30, 26, 0.35), 0 0 16px var(--red-glow);
}

.brand-type {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-reno {
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--red-hot);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  gap: 1.4rem;
}

.site-nav a {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-dim);
}

.site-nav a:hover,
.site-nav a:focus-visible { color: var(--text); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  padding: 1.5rem 0 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 50% at 50% 28%, rgba(196, 30, 26, 0.16), transparent 62%),
    linear-gradient(180deg, #050403 0%, var(--bg) 100%);
}

.hero-glow {
  position: absolute;
  inset: 8% 10% auto;
  height: 52%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 51, 39, 0.18), transparent 68%);
  filter: blur(28px);
  z-index: -1;
  pointer-events: none;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--silver);
}

.eyebrow .dot {
  width: 5px;
  height: 5px;
  background: var(--red);
  transform: rotate(45deg);
  box-shadow: 0 0 10px var(--red-glow);
}

.hero-mark {
  width: min(92vw, 640px);
  margin: 0.2rem 0 0.6rem;
}

.hero-mark img {
  width: 100%;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.55));
}

.hero h1 {
  margin: 0.15rem 0 0.35rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 5.4vw, 3.1rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.12;
}

.lede {
  margin: 0 0 1.4rem;
  color: var(--text-dim);
  font-size: 1.05rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.8rem;
}

/* Buttons — cut-corner athletic */
.btn {
  --cut: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.45rem;
  border: 1px solid transparent;
  clip-path: polygon(
    var(--cut) 0,
    100% 0,
    100% calc(100% - var(--cut)),
    calc(100% - var(--cut)) 100%,
    0 100%,
    0 var(--cut)
  );
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.btn-red {
  background: linear-gradient(180deg, #e0241c 0%, var(--red-deep) 100%);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255, 80, 70, 0.15), 0 0 22px var(--red-glow);
}

.btn-red:hover {
  color: #fff;
  background: linear-gradient(180deg, var(--red-hot) 0%, var(--red) 100%);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--silver-dim);
  box-shadow: inset 0 0 0 1px rgba(201, 196, 190, 0.18);
}

.btn-ghost:hover { color: #fff; border-color: var(--silver); }

.btn-sm { min-height: 42px; padding: 0.5rem 1.1rem; font-size: 0.85rem; }

button.btn { appearance: none; }

.range {
  display: block;
  line-height: 0;
  margin-top: 0.5rem;
}

.range svg { width: 100%; height: 88px; display: block; }

/* Sections */
.section {
  position: relative;
  padding: 4.2rem 0 4.6rem;
}

.section-alt {
  background:
    linear-gradient(180deg, rgba(196, 30, 26, 0.04), transparent 28%),
    var(--bg-2);
  border-block: 1px solid var(--line);
}

.section-head { margin-bottom: 1.6rem; }

.section-kicker {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--red-hot);
}

.section-kicker::before,
.section-kicker::after {
  content: "";
  width: 18px;
  height: 1px;
  background: linear-gradient(90deg, var(--red), transparent);
}

.section-kicker::after { background: linear-gradient(90deg, transparent, var(--red)); }

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.15;
}

.graf { margin: 0 0 1rem; color: var(--text-dim); max-width: 62ch; }

.graf:last-child { margin-bottom: 0; }

.venue { color: var(--dust); }

.fine {
  margin: 1.4rem 0 0;
  font-size: 0.88rem;
  color: var(--steel);
}

.fine a { color: var(--silver-dim); }

.fine.center { text-align: center; }

/* Tryout status */
.status-grid {
  display: grid;
  gap: 1rem;
}

.status-card {
  position: relative;
  padding: 1.35rem 1.3rem 1.4rem;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.status-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--steel);
}

.status-card.is-closed::before { background: #5a5550; }

.status-card.is-open::before {
  background: var(--red);
  box-shadow: 0 0 12px var(--red-glow);
}

.status-flag {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--silver-dim);
}

.status-card.is-open .status-flag { color: var(--red-hot); }

.status-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.status-card p {
  margin: 0 0 1rem;
  color: var(--text-dim);
}

.status-card p:last-child { margin-bottom: 0; }

/* Form */
.interest {
  display: grid;
  gap: 1rem;
  margin-top: 1.6rem;
  padding: 1.35rem 1.2rem 1.4rem;
  background: var(--bg-3);
  border: 1px solid var(--line);
}

.field { display: grid; gap: 0.35rem; }

.field label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--silver);
}

.opt { letter-spacing: 0.06em; color: var(--steel); text-transform: none; font-family: var(--font-body); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.7rem 0.75rem;
  border: 1px solid #2a2623;
  background: #0a0908;
  color: var(--text);
  font: inherit;
  border-radius: var(--radius);
}

.field input::placeholder,
.field textarea::placeholder { color: #6a645e; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(196, 30, 26, 0.22);
  outline: none;
}

.field select { color-scheme: dark; }

.form-status {
  margin: 0.2rem 0 0;
  min-height: 1.3em;
  font-size: 0.95rem;
  color: var(--silver);
}

.form-status.is-ok { color: #e8d4d0; }

.form-status.is-err { color: #ff8a7a; }

.interest .btn { justify-self: start; }

/* Footer */
.site-footer {
  padding: 2rem 0 2.4rem;
  border-top: 1px solid var(--line);
  background: #050403;
}

.footer-inner {
  display: grid;
  gap: 0.35rem;
  justify-items: center;
  text-align: center;
}

.footer-mark {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 0.3rem;
  font-family: var(--font-display);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--silver);
}

.footer-mark img {
  width: 36px;
  height: 36px;
  box-shadow: 0 0 12px var(--red-glow);
}

.footer-copy,
.footer-venue {
  margin: 0;
  font-size: 0.88rem;
  color: var(--steel);
}

.footer-venue { color: #8a827a; }

/* Mobile nav */
@media (max-width: 720px) {
  .nav-toggle { display: block; }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 0.4rem 1rem 1rem;
    background: rgba(7, 6, 5, 0.96);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open { display: flex; }

  .site-nav a {
    padding: 0.85rem 0.2rem;
    border-bottom: 1px solid var(--line);
  }
}

@media (min-width: 760px) {
  .status-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.15rem;
  }

  .hero-mark { width: min(78vw, 680px); }

  .range svg { height: 120px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-glow { filter: none; }
  .btn-red { box-shadow: none; }
}


/* Roster coming soon */
.roster-soon {
  min-height: calc(100vh - 220px);
  padding: 5.5rem 0 4rem;
}
.roster-soon .section-head { margin-bottom: 1.2rem; }
.soon-banner {
  display: inline-block;
  margin: 0 0 1.4rem;
  padding: 0.28rem 0.7rem;
  border: 1px solid var(--red);
  color: var(--red-hot);
  font-family: var(--font-display);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.78rem;
}
.roster-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin: 1.6rem 0 0;
}
.player-slot {
  background: var(--panel);
  border: 1px solid var(--line);
  min-height: 7.2rem;
  padding: 1.1rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}
.player-slot::before {
  content: "";
  position: absolute;
  inset: auto -10% -40% auto;
  width: 7rem;
  height: 7rem;
  background: radial-gradient(circle, var(--red-glow), transparent 70%);
  pointer-events: none;
}
.player-slot .num {
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: 0.08em;
  color: var(--red);
  opacity: 0.55;
  margin: 0 0 0.35rem;
}
.player-slot .who {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
  font-size: 0.82rem;
}
@media (min-width: 760px) {
  .roster-grid { grid-template-columns: repeat(4, 1fr); gap: 0.9rem; }
}


/* Gallery */
.gallery-page { padding: 5.5rem 0 4rem; min-height: calc(100vh - 220px); }
.gallery-label {
  margin: 2.2rem 0 0.85rem;
  font-family: var(--font-display);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.95rem;
  color: var(--red-hot);
}
.clip-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}
.clip-slot {
  aspect-ratio: 16 / 9;
  background: var(--panel);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.9rem 1rem;
}
.clip-tag {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--red);
}
.clip-empty {
  margin: 0;
  color: var(--steel);
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.85rem;
}
@media (min-width: 760px) {
  .clip-grid { grid-template-columns: repeat(3, 1fr); }
}


.clip-card {
  background: var(--panel);
  border: 1px solid var(--line);
  overflow: hidden;
}
.clip-card video,
.clip-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000;
  display: block;
}
.clip-full { display: block; text-decoration: none; color: inherit; }
.clip-meta {
  margin: 0;
  padding: 0.7rem 0.85rem 0.85rem;
  font-size: 0.82rem;
  color: var(--text-dim);
}
.clip-meta .clip-tag {
  display: inline-block;
  margin-right: 0.45rem;
  color: var(--red-hot);
  font-family: var(--font-display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.7rem;
}
.graf.dim { color: var(--steel); }

.clip-feature { grid-column: 1 / -1; }
.clip-feature video { max-height: 70vh; object-fit: contain; background: #000; }


/* Rally Vault-style film gallery */
.vault { padding: 5.5rem 0 4.5rem; }
.vault-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 1.6rem;
}
.vault h1 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 0.95;
  margin: 0.35rem 0 0.7rem;
}
.vault h1 em { font-style: normal; color: var(--red-hot); }
.film-count {
  display: inline-block;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--line);
  color: var(--text-dim);
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.film-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.film-filters button {
  padding: 8px 14px;
  border-radius: 40px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-dim);
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  cursor: pointer;
  text-transform: uppercase;
}
.film-filters button.on,
.film-filters button:hover { border-color: var(--red); color: var(--red-hot); }
.vgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .vgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .vgrid { grid-template-columns: 1fr; } }
.vcard {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(180deg, #14110f, #0e0b0a);
  display: block;
  width: 100%;
  padding: 0;
  text-align: left;
  color: inherit;
  cursor: pointer;
  transition: 0.22s;
  font: inherit;
}
.vcard:hover { transform: translateY(-4px); border-color: var(--red-deep); }
.vthumb { position: relative; padding-top: 56.25%; background: #111; }
.vthumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vthumb .play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.25); transition: .2s;
}
.vcard:hover .play { background: rgba(0,0,0,.4); }
.vthumb .play span {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--red); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; box-shadow: 0 8px 24px var(--red-glow);
}
.vbody { padding: 14px 16px 16px; }
.vbody h4 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1.25;
}
.vtag {
  display: inline-block;
  margin-top: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red-hot);
}
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,.88);
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.lightbox.open { display: flex; }
.lightbox-inner { width: min(960px, 100%); position: relative; }
.lightbox-inner .ratio {
  position: relative;
  padding-top: 56.25%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
}
.lightbox-inner video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  background: #000; object-fit: contain;
}
.lightbox-close {
  position: absolute; top: -44px; right: 0;
  background: transparent; border: 1px solid var(--line);
  color: #fff; border-radius: 8px; padding: 8px 14px; cursor: pointer;
  font-family: "Space Mono", ui-monospace, monospace; font-size: 12px;
}
.lightbox-close:hover { border-color: var(--red); color: var(--red-hot); }
