/* The Average Gunner — Final B (design 1 layout/colors + Bricolage Grotesque) */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #0e0f10;
  color: #f2efe8;
  font: 400 17px/1.6 Inter, system-ui, sans-serif;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.in { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.skip {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 100;
  background: #ff6a13;
  color: #111;
  font-weight: 800;
  text-decoration: none;
  padding: 10px 16px;
  min-height: 44px;
}
.skip:focus { top: 12px; }

header.site {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #0e0f10f2;
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #2a2c2f;
}
header.site .in {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 72px;
  position: relative;
}
.logo {
  display: flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
}
.logo-mark {
  display: block;
  height: 52px;
  width: auto;
  flex-shrink: 0;
}
.logo b {
  display: block;
  font-family: "Bricolage Grotesque", Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 17px;
  line-height: 1.1;
}
.logo small { color: #a9a59c; font-size: 12px; }

header nav {
  display: flex;
  gap: 2px;
  margin-left: auto;
}
header nav a {
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  padding: 10px 12px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.menu-btn {
  display: none;
  margin-left: auto;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  background: transparent;
  color: #f2efe8;
  border: 2px solid #2a2c2f;
  border-radius: 2px;
  cursor: pointer;
}
.menu-btn svg { display: block; }

.b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  background: #ff6a13;
  color: #111;
  font: 800 16px/1 Inter, system-ui, sans-serif;
  text-decoration: none;
  border: 2px solid #ff6a13;
  border-radius: 2px;
  white-space: nowrap;
}
.b.ghost {
  background: transparent;
  color: #f2efe8;
  border-color: #f2efe8;
}
header .b { min-height: 44px; padding: 0 16px; }
header.site .to-home { margin-left: auto; }

h1, h2 {
  font-family: "Bricolage Grotesque", Arial, sans-serif;
  font-weight: 800;
  line-height: 1.04;
  margin: 0 0 14px;
}
h1 {
  font-size: clamp(40px, 5.6vw, 72px);
  text-transform: uppercase;
}
h1 em { font-style: normal; color: #ff6a13; }
h2 { font-size: clamp(30px, 3.6vw, 46px); }

.kick {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 800;
  font-size: 13px;
  color: #ff6a13;
  margin: 0 0 10px;
}
.lead { font-size: 20px; color: #a9a59c; max-width: 54ch; }
.sub { color: #a9a59c; margin-top: -4px; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0; }

.hero { background: #0e0f10; padding: 64px 0 56px; }
.hgrid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: center;
}

.play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 54px;
  color: #fff;
  text-shadow: 0 2px 16px #000a;
  pointer-events: none;
}
.play.sm { font-size: 34px; position: static; inset: auto; text-shadow: none; }

.heroimg {
  position: relative;
  aspect-ratio: 4 / 5;
  border: 1px solid #2a2c2f;
  overflow: hidden;
}
.heroimg img { width: 100%; height: 100%; object-fit: cover; }
.heroimg .cap {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: #000c;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 10px;
}

.links { padding: 0 0 64px; }
.lgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lc {
  display: flex;
  flex-direction: column;
  background: #17191b;
  border: 1px solid #2a2c2f;
  border-radius: 2px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.lc:hover, .lc:focus-visible {
  transform: translateY(-3px);
  border-color: #ff6a13;
  box-shadow: 0 16px 40px #0008, 0 0 22px #ff6a1333;
}
.lc img { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; }
.lcb { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 6px; }
.lcb .no {
  font: 800 14px/1 "Bricolage Grotesque", Arial, sans-serif;
  color: #ff6a13;
}
.lcb b { font: 800 28px/1.05 "Bricolage Grotesque", Arial, sans-serif; }
.lcb span { color: #a9a59c; }
.lcb i { font-style: normal; font-weight: 800; color: #ff6a13; margin-top: 4px; }

.sec { padding: 76px 0; border-top: 1px solid #2a2c2f; }
.vids { background: #17191b; color: #f2efe8; }
.vids .sub { color: #a9a59c; }
.vids .kick { color: #ff6a13; }

.rvgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 22px; }
.rv {
  background: #0e0f10;
  border: 1px solid #2a2c2f;
  border-radius: 2px;
  overflow: hidden;
}
.rvth {
  position: relative;
  aspect-ratio: 16 / 9;
  background: repeating-linear-gradient(135deg, #1b1d20 0 14px, #202326 14px 28px);
  display: flex;
  align-items: flex-end;
  padding: 14px;
}
.rvth b {
  position: relative;
  font: 800 22px/1.1 "Bricolage Grotesque", Arial, sans-serif;
}
.sample {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #ff6a13;
  color: #111;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  border-radius: 4px;
}
.rvb { padding: 16px 18px; font-size: 15.5px; }
.rvb p { margin: 0 0 6px; }
.rate { color: #f5b301; font-weight: 700; }
.rate small { color: #a9a59c; }

h3.row {
  margin: 40px 0 14px;
  font: 800 22px/1.1 "Bricolage Grotesque", Arial, sans-serif;
}
.reels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.reel {
  position: relative;
  display: block;
  aspect-ratio: 9 / 16;
  border-radius: 2px;
  overflow: hidden;
}
.reel img { width: 100%; height: 100%; object-fit: cover; }
.reel .rc {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 40px 12px 12px;
  background: linear-gradient(transparent, #000d);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 20px; }
.tile {
  position: relative;
  background: #17191b;
  border: 1px solid #2a2c2f;
  padding: 16px;
  border-radius: 2px;
}
.tile b { display: block; margin-top: 10px; }
.tile small { color: #a9a59c; }
.mk {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: #ff6a13;
  color: #111;
  padding: 3px 8px;
  border-radius: 4px;
}

.garm {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  background: #1d1d1d;
  font: 400 13px/1.1 "Bricolage Grotesque", Arial, sans-serif;
  letter-spacing: 0.14em;
  text-align: center;
  color: #ff6a13;
}
.garm span {
  padding: 18px 22px;
  background: #2b2b2b;
  color: #ff6a13;
  clip-path: polygon(18% 0, 82% 0, 100% 18%, 100% 100%, 0 100%, 0 18%);
}
.garm b { font-size: 22px; letter-spacing: 0.04em; color: #ff6a13; }
.garm.hat span,
.garm.patch span,
.garm.sticker span {
  clip-path: none;
  border-radius: 50%;
  padding: 30px 20px;
}

.agrid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 36px;
  align-items: start;
}
.av {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid #ff6a13;
}
blockquote {
  margin: 0 0 20px;
  font-size: 21px;
  font-style: italic;
  color: #a9a59c;
}
.steps {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  counter-reset: s;
}
.steps li {
  background: #17191b;
  border: 1px solid #2a2c2f;
  border-radius: 2px;
  padding: 18px 18px 20px;
  font-size: 15px;
  line-height: 1.5;
  color: #a9a59c;
  counter-increment: s;
}
.steps li::before {
  content: "0" counter(s);
  display: block;
  font: 800 14px/1 "Bricolage Grotesque", Arial, sans-serif;
  color: #ff6a13;
  margin-bottom: 8px;
}
.steps b { display: block; color: #f2efe8; font-size: 18px; margin-bottom: 6px; }
.steps p { margin: 0; }
.steps a { font-weight: 700; }

.igh {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.igh .b { margin-left: auto; }
.iggrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.igc {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  display: block;
}
.igc img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.igc span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: #000a;
  color: #fff;
  font-weight: 800;
  text-align: center;
  padding: 12px;
  opacity: 0;
  transition: opacity 0.3s;
}
.igc:hover span, .igc:focus-visible span { opacity: 1; }

footer {
  padding: 44px 0;
  border-top: 1px solid #2a2c2f;
  color: #a9a59c;
  font-size: 15px;
}
footer .in {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.legal { font-size: 13px; max-width: 62ch; }
.credit-row {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}
.credit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  color: #f2efe8;
}
.credit img { width: 124px; height: auto; }

.page-404 { min-height: 70vh; padding: 80px 0; }
.page-404 h1 { text-transform: none; font-size: clamp(32px, 5vw, 52px); }

:focus-visible {
  outline: 3px solid #ff6a13;
  outline-offset: 3px;
}


/* Site-wide hover / focus (lift + orange glow; transform does not shift layout) */
.logo { transition: color 0.2s ease; }
.logo:hover, .logo:focus-visible { color: #ff6a13; }
header nav a { transition: color 0.2s ease; }
header nav a:hover, header nav a:focus-visible { color: #ff6a13; }
.menu-btn { transition: border-color 0.2s ease, color 0.2s ease; }
.menu-btn:hover, .menu-btn:focus-visible { border-color: #ff6a13; color: #ff6a13; }
.b { transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease; }
.b:hover, .b:focus-visible {
  transform: translateY(-2px);
  background: #ff8124;
  border-color: #ff8124;
  box-shadow: 0 8px 22px #ff6a1344;
}
.b.ghost:hover, .b.ghost:focus-visible {
  background: transparent;
  color: #ff6a13;
  border-color: #ff6a13;
  box-shadow: 0 8px 22px #ff6a1333;
}
.steps a, .class-how a, .source a, footer a:not(.credit):not(.b) {
  color: #ff6a13;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}
.steps a:hover, .steps a:focus-visible,
.class-how a:hover, .class-how a:focus-visible,
.source a:hover, .source a:focus-visible,
footer a:not(.credit):not(.b):hover,
footer a:not(.credit):not(.b):focus-visible { color: #ff8124; }
.credit { transition: color 0.2s ease; }
.credit:hover, .credit:focus-visible { color: #ff6a13; }
.rv, .reel, .tile, .igc, .steps li, .heroimg {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.rv:hover, .tile:hover, .steps li:hover,
.reel:hover, .reel:focus-visible,
.igc:hover, .igc:focus-visible,
.heroimg:hover {
  transform: translateY(-3px);
  border-color: #ff6a13;
  box-shadow: 0 16px 40px #0008, 0 0 22px #ff6a1333;
}
.igc:hover img, .igc:focus-visible img { transform: scale(1.04); }
#about, #classes, #training-plan, #divisions, #videos, #gear, #ig { scroll-margin-top: 84px; }

/* USPSA classification ladder */
.classes {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid #2a2c2f;
}
.class-how { max-width: 72ch; }
.class-how p { color: #a9a59c; }
.source {
  font-size: 14px;
  color: #a9a59c;
  margin: 8px 0 0;
}
.ladder {
  list-style: none;
  padding: 0;
  margin: 24px 0 16px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
}
.ladder li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: #17191b;
  border: 1px solid #2a2c2f;
  border-radius: 2px;
  padding: 14px 10px 16px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.ladder li:hover {
  transform: translateY(-3px);
  border-color: #ff6a13;
  box-shadow: 0 16px 40px #0008, 0 0 22px #ff6a1333;
}
.ladder-id {
  font: 800 22px/1 "Bricolage Grotesque", Arial, sans-serif;
  color: #ff6a13;
}
.ladder-name { font-weight: 800; font-size: 14px; }
.ladder-pct { color: #a9a59c; font-size: 13px; }
.ladder-flag {
  margin-top: 6px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #111;
  background: #ff6a13;
  padding: 3px 8px;
  border-radius: 4px;
}
.ladder .is-now {
  border-color: #ff6a13;
  box-shadow: 0 0 0 1px #ff6a13, 0 8px 24px #ff6a1333;
}
.ladder .is-goal {
  background: #ff6a13;
  border-color: #ff6a13;
  color: #111;
}
.ladder .is-goal .ladder-id,
.ladder .is-goal .ladder-pct { color: #111; }
.ladder .is-goal .ladder-flag { background: #111; color: #ff6a13; }
.ladder .is-goal:hover {
  border-color: #111;
  box-shadow: 0 16px 40px #ff6a1366;
}

/* Weekly training plan */
.plan-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 28px 0 24px;
}
.plan-stats li {
  background: #17191b;
  border: 1px solid #2a2c2f;
  border-radius: 2px;
  padding: 16px 18px;
  color: #a9a59c;
  font-size: 15px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.plan-stats li:hover {
  transform: translateY(-3px);
  border-color: #ff6a13;
  box-shadow: 0 16px 40px #0008, 0 0 22px #ff6a1333;
}
.plan-stats b {
  display: block;
  font: 800 28px/1.05 "Bricolage Grotesque", Arial, sans-serif;
  color: #ff6a13;
  margin-bottom: 4px;
}
.plan-days,
.plan-extras {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.plan-extras {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 16px;
}
.day {
  background: #17191b;
  border: 1px solid #2a2c2f;
  border-radius: 2px;
  padding: 18px 18px 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.day:hover {
  transform: translateY(-3px);
  border-color: #ff6a13;
  box-shadow: 0 16px 40px #0008, 0 0 22px #ff6a1333;
}
.day-name {
  margin: 0 0 4px;
  font: 800 12px/1 "Bricolage Grotesque", Arial, sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ff6a13;
}
.day h3 {
  font: 800 22px/1.1 "Bricolage Grotesque", Arial, sans-serif;
  margin: 0 0 4px;
}
.day-meta {
  margin: 0 0 12px;
  color: #a9a59c;
  font-size: 13px;
  font-weight: 700;
}
.day ul {
  margin: 0 0 12px;
  padding: 0 0 0 18px;
  color: #a9a59c;
  font-size: 14.5px;
}
.day li { margin: 0 0 4px; }
.day p { margin: 0 0 10px; color: #a9a59c; font-size: 14.5px; }
.day-note {
  margin: 0 !important;
  padding-top: 10px;
  border-top: 1px solid #2a2c2f;
  font-size: 13.5px !important;
  color: #f2efe8 !important;
}
.day-note b { color: #ff6a13; }
.plan-foot {
  margin: 28px 0 18px;
  font: 800 18px/1.35 "Bricolage Grotesque", Arial, sans-serif;
  color: #f2efe8;
  max-width: 48ch;
}


/* USPSA divisions */
.div-lead {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 28px 0 8px;
}
.dcard {
  background: #17191b;
  border: 1px solid #2a2c2f;
  border-radius: 2px;
  padding: 18px 18px 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.dcard:hover {
  transform: translateY(-3px);
  border-color: #ff6a13;
  box-shadow: 0 16px 40px #0008, 0 0 22px #ff6a1333;
}
.dcard.is-main { border-color: #ff6a13; }
.dcard h3 {
  font: 800 22px/1.1 "Bricolage Grotesque", Arial, sans-serif;
  margin: 0 0 8px;
}
.dcard .ladder-flag,
.div-badge {
  display: inline-block;
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 4px;
}
.dcard .ladder-flag { color: #111; background: #ff6a13; }
.div-badge {
  color: #ff6a13;
  background: transparent;
  border: 1px solid #ff6a13;
}
.dcard ul {
  margin: 0 0 12px;
  padding: 0 0 0 18px;
  color: #a9a59c;
  font-size: 14.5px;
}
.dcard li { margin: 0 0 4px; }
.div-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 16px 0 12px;
  border: 1px solid #2a2c2f;
  border-radius: 2px;
}
.div-table-wrap:focus-visible { outline: 3px solid #ff6a13; outline-offset: 3px; }
.div-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1080px;
  font-size: 13.5px;
  line-height: 1.4;
}
.div-table th, .div-table td {
  border-bottom: 1px solid #2a2c2f;
  border-right: 1px solid #2a2c2f;
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  color: #a9a59c;
}
.div-table th { color: #f2efe8; font-weight: 800; }
.div-table thead th {
  background: #17191b;
  position: sticky;
  top: 0;
  font: 800 14px/1.2 "Bricolage Grotesque", Arial, sans-serif;
  white-space: nowrap;
}
.div-table tbody th {
  background: #121314;
  color: #f2efe8;
  font-size: 13px;
  min-width: 148px;
  position: sticky;
  left: 0;
  z-index: 1;
}
.div-table td.is-main, .div-table th.is-main {
  background: #1a1612;
  box-shadow: inset 0 0 0 1px #ff6a1344;
}
.div-table tr:hover td, .div-table tr:hover th { background: #1c1510; }
.div-table a { color: #ff6a13; }

@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  header nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    flex-direction: column;
    gap: 0;
    background: #0e0f10;
    border-bottom: 1px solid #2a2c2f;
    padding: 8px 24px 16px;
  }
  header nav.is-open { display: flex; }
  header nav a { min-height: 48px; }
  .hgrid, .agrid { grid-template-columns: 1fr; }
  .lgrid, .rvgrid { grid-template-columns: 1fr; }
  .reels { grid-template-columns: 1fr 1fr; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .ladder { grid-template-columns: 1fr; }
  .ladder li {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    text-align: left;
    gap: 8px 14px;
    padding: 14px 16px;
  }
  .ladder-flag { margin-top: 0; margin-left: auto; }
  .plan-days { grid-template-columns: 1fr 1fr; }
  .div-lead { grid-template-columns: 1fr; }
  .plan-extras, .plan-stats { grid-template-columns: 1fr 1fr; }
  .hero { padding: 40px 0; }
  .av { width: 140px; height: 140px; }
  .heroimg { aspect-ratio: 4 / 4; }
}
@media (max-width: 520px) {
  .logo small { display: none; }
  .logo b { font-size: 14px; }
  .logo-mark { height: 44px; }
  header .b { padding: 0 12px; font-size: 14px; }
  .lead { font-size: 18px; }
  .tiles { grid-template-columns: 1fr; }
  .plan-days, .plan-extras, .plan-stats { grid-template-columns: 1fr; }
  .iggrid { gap: 3px; }
  .lc img { aspect-ratio: 16 / 9; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
