/* Close Action Airsoft — site styles */

:root {
  --ink: #12150d;
  --ground: #181c12;
  --panel: #20251a;
  --panel-2: #282e20;
  --line: #3a4230;
  --chalk: #ece8d8;
  --muted: #a6a98f;
  --signal: #f4c62f;
  --signal-ink: #1a1705;
  --warn: #e2573a;

  --display: "Saira Stencil One", "Barlow Condensed", Impact, sans-serif;
  --heading: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --display-weight: 400;
  --radius: 0px;

  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--chalk);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg, iframe { max-width: 100%; display: block; }

a { color: var(--signal); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 {
  font-family: var(--heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.02;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: absolute; left: -999px; top: 8px;
  background: var(--signal); color: var(--signal-ink);
  padding: 8px 14px; font-weight: 600; z-index: 100;
}
.skip:focus { left: 8px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(18, 21, 13, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px 28px; flex-wrap: wrap;
  padding-top: 12px; padding-bottom: 12px;
}

.brand {
  display: flex; align-items: baseline; gap: 10px;
  color: var(--chalk); text-decoration: none;
  font-family: var(--display); font-size: 1.5rem; line-height: 1;
  letter-spacing: 0.03em; white-space: nowrap;
}
.brand img { align-self: center; width: 44px; height: 44px; }
.brand span { color: var(--signal); }
.brand small {
  font-family: var(--heading); font-weight: 600; font-size: 0.8rem;
  letter-spacing: 0.22em; color: var(--muted);
}

.nav { display: flex; gap: 4px 22px; flex-wrap: wrap; }
.nav a {
  font-family: var(--heading); font-weight: 600; font-size: 1.05rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--chalk); text-decoration: none; padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.nav a.is-active { border-bottom-color: var(--signal); color: var(--signal); }
@media (hover: hover) {
  .nav a:hover { border-bottom-color: var(--signal); color: var(--signal); }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--heading); font-weight: 700; font-size: 1.15rem;
  letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
  padding: 12px 22px; border: 2px solid var(--signal);
  background: var(--signal); color: var(--signal-ink);
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn.ghost { background: transparent; color: var(--signal); }
.btn.ghost:hover { background: rgba(244, 198, 47, 0.1); }

/* ---------- Hero ---------- */

.hero {
  position: relative; overflow: hidden;
  background: var(--ink);
  border-bottom: 1px solid var(--line);
}
.hero .airfield {
  position: absolute; right: -6%; top: 50%; transform: translateY(-50%);
  width: min(820px, 78%); height: auto; opacity: 0.5; pointer-events: none;
}
.hero .wrap {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 40px; align-items: end;
  padding-top: clamp(56px, 9vw, 112px); padding-bottom: clamp(48px, 7vw, 88px);
}

.eyebrow {
  font-family: var(--heading); font-weight: 600; font-size: 1rem;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--signal);
  margin: 0 0 18px;
}

.hero h1 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(2.9rem, 8.2vw, 6rem);
  line-height: 0.92; letter-spacing: 0.01em;
}
.hero h1 em { font-style: normal; color: var(--signal); }
.hero .lede { font-size: 1.2rem; max-width: 34em; margin: 26px 0 30px; color: var(--chalk); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }

.next {
  background: var(--panel); border: 1px solid var(--line);
  border-top: 6px solid var(--signal);
  padding: 22px 24px 24px;
}
.next .label {
  font-family: var(--heading); font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; font-size: 0.9rem; color: var(--muted); margin: 0 0 8px;
}
.next .day {
  font-family: var(--display); font-size: clamp(2.2rem, 5vw, 3rem);
  line-height: 1; margin: 0; color: var(--chalk);
}
.next .when { color: var(--signal); font-weight: 600; margin: 8px 0 16px; }
.next dl { margin: 0; border-top: 1px solid var(--line); }
.next dl div {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 9px 0; border-bottom: 1px solid var(--line);
}
.next dt { color: var(--muted); }
.next dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.next .note { font-size: 0.95rem; color: var(--muted); margin: 14px 0 0; }

/* ---------- Sections ---------- */

section { padding: clamp(56px, 8vw, 96px) 0; }
section + section { border-top: 1px solid var(--line); }
.alt { background: var(--ink); }

.section-head { margin-bottom: 36px; max-width: 44rem; }
.section-head h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 1.1rem; }

.social-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
  max-width: 1128px;
}
.social-gallery-item {
  min-width: 0;
  height: 600px;
  overflow: hidden;
}
.social-gallery .instagram-media {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 600px !important;
  margin: 0;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.social-gallery-item iframe {
  width: 100% !important;
  height: 600px !important;
  max-width: 100%;
}
.facebook-embed {
  display: block;
  width: 100%;
  height: 600px;
  border: 0;
}

.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 5vw, 64px); align-items: start; }

.facts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.facts li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts strong {
  display: block; font-family: var(--heading); font-size: 1.35rem;
  text-transform: uppercase; letter-spacing: 0.04em; color: var(--signal); line-height: 1.1;
  margin-bottom: 4px;
}
.facts span { color: var(--muted); }

/* ---------- Game day timeline ---------- */

.timeline {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 2px solid var(--signal);
}
.timeline li { position: relative; padding: 22px 16px 0 0; }
.timeline li::before {
  content: ""; position: absolute; top: -7px; left: 0;
  width: 12px; height: 12px; background: var(--signal);
}
.timeline time {
  display: block; font-family: var(--display); font-size: 1.9rem; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.timeline b {
  display: block; font-family: var(--heading); font-size: 1.2rem; text-transform: uppercase;
  letter-spacing: 0.05em; margin: 8px 0 4px; color: var(--signal);
}
.timeline span { color: var(--muted); font-size: 0.98rem; line-height: 1.45; display: block; }

/* ---------- Prices ---------- */

.prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.price {
  background: var(--panel); border: 1px solid var(--line);
  padding: 26px 24px 28px; display: flex; flex-direction: column;
}
.price h3 { font-size: 1.5rem; letter-spacing: 0.08em; color: var(--muted); }
.price .amount {
  font-family: var(--display); font-size: 4rem; line-height: 1; margin: 12px 0 2px; color: var(--signal);
}
.price .per { color: var(--muted); margin-bottom: 18px; }
.price ul { margin: 0 0 20px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.price li { padding: 9px 0; border-bottom: 1px solid var(--line); }
.price .how { margin-top: auto; font-size: 0.98rem; color: var(--muted); }
.fineprint { margin-top: 22px; color: var(--muted); max-width: 52rem; }

/* ---------- Dates ---------- */

.dates { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.dates li {
  display: flex; align-items: baseline; gap: 14px;
  background: var(--panel); border: 1px solid var(--line); padding: 16px 18px;
}
.dates .d { font-family: var(--display); font-size: 2.4rem; line-height: 1; min-width: 1.5em; font-variant-numeric: tabular-nums; }
.dates .m { font-family: var(--heading); font-weight: 700; font-size: 1.3rem; text-transform: uppercase; letter-spacing: 0.06em; line-height: 1.1; }
.dates .y { display: block; font-family: var(--body); font-weight: 400; font-size: 0.9rem; letter-spacing: 0; text-transform: none; color: var(--muted); }
.dates li.past { opacity: 0.4; }
.dates li.past .d { text-decoration: line-through; }
.dates li.is-next { border-color: var(--signal); background: var(--panel-2); }
.dates li.is-next .d { color: var(--signal); }
.dates li.is-next .y::after { content: " · next game"; color: var(--signal); font-weight: 600; }

/* ---------- The site ---------- */

.plan { background: var(--panel); border: 1px solid var(--line); padding: 20px; margin: 0; }
.plan img { width: 100%; height: auto; }
.plan figcaption { color: var(--muted); font-size: 0.92rem; margin-top: 12px; }

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 28px 0 0; border-top: 1px solid var(--line); }
.stats div { padding: 16px 12px 0 0; }
.stats dt { color: var(--muted); font-size: 0.95rem; }
.stats dd { margin: 0; font-family: var(--display); font-size: 2rem; line-height: 1.1; color: var(--signal); }

/* ---------- Find us ---------- */

.postcode {
  font-family: var(--display); font-size: clamp(2.6rem, 7vw, 4.2rem); line-height: 1;
  color: var(--signal); margin: 0 0 6px; letter-spacing: 0.03em;
}

.road { position: relative; margin: 8px 0 0; padding: 62px 0 78px; }
.road::before {
  content: ""; position: absolute; left: 0; right: 0; top: 62px; height: 8px;
  background: repeating-linear-gradient(90deg, var(--chalk) 0 22px, transparent 22px 34px);
  opacity: 0.55;
}
.road .stop { position: absolute; top: 56px; width: 20px; height: 20px; border-radius: 50%; background: var(--chalk); border: 4px solid var(--ground); }
.road .stop.a { left: 0; }
.road .stop.b { right: 0; }
.road .stop.gate { left: 30%; border-radius: 0; background: var(--signal); transform: rotate(45deg); }
.road .lbl { position: absolute; font-family: var(--heading); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 1.15rem; line-height: 1.15; }
.road .lbl small { display: block; font-family: var(--body); font-weight: 400; text-transform: none; letter-spacing: 0; font-size: 0.92rem; color: var(--muted); }
.road .lbl.a { left: 0; top: 0; }
.road .lbl.b { right: 0; top: 0; text-align: right; }
.road .lbl.gate { left: 30%; top: 92px; color: var(--signal); margin-left: -4px; }
.road .dist { position: absolute; left: 0; width: 30%; top: 36px; text-align: center; font-size: 0.9rem; color: var(--muted); }

.location-details { margin-top: 36px; }
.location-details > p { margin-bottom: 18px; }
.location-map {
  width: 100%;
  height: clamp(280px, 45vw, 480px);
  margin-bottom: 20px;
  border: 1px solid var(--line);
}
.location-map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- First time ---------- */

.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; }
.steps li { counter-increment: step; position: relative; padding: 0 0 22px 62px; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: -4px;
  font-family: var(--display); font-size: 2.6rem; line-height: 1; color: var(--signal);
}
.steps b { font-family: var(--heading); font-size: 1.35rem; text-transform: uppercase; letter-spacing: 0.04em; display: block; line-height: 1.15; margin-bottom: 4px; }
.steps span { color: var(--muted); }

.video { position: relative; aspect-ratio: 16 / 9; background: #000; border: 1px solid var(--line); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-cap { color: var(--muted); font-size: 0.95rem; margin-top: 12px; }

/* ---------- Rules ---------- */

.limits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 44px; }
.limits div { background: var(--panel); border: 1px solid var(--line); border-top: 4px solid var(--signal); padding: 16px 18px 18px; }
.limits dt { color: var(--muted); font-size: 0.98rem; line-height: 1.3; min-height: 2.6em; }
.limits dd { margin: 6px 0 0; font-family: var(--display); font-size: 2.4rem; line-height: 1; }
.limits dd small { font-family: var(--heading); font-size: 1.1rem; letter-spacing: 0.08em; color: var(--muted); margin-left: 4px; }

.rules { list-style: none; counter-reset: rule; margin: 0; padding: 0; max-width: 52rem; border-top: 1px solid var(--line); }
.rules li { counter-increment: rule; position: relative; padding: 18px 0 18px 64px; border-bottom: 1px solid var(--line); }
.rules li::before {
  content: counter(rule, decimal-leading-zero); position: absolute; left: 0; top: 16px;
  font-family: var(--display); font-size: 1.7rem; line-height: 1.2; color: var(--signal);
}
.rules b { font-family: var(--heading); font-size: 1.2rem; text-transform: uppercase; letter-spacing: 0.06em; }
.rules li.hard { background: linear-gradient(90deg, rgba(226, 87, 58, 0.12), transparent 70%); }
.rules li.hard::before { color: var(--warn); }

/* ---------- Footer ---------- */

.site-footer { background: var(--ink); border-top: 1px solid var(--line); padding: 56px 0 36px; }
.site-footer .cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
.footer-logo { width: 96px; height: 96px; margin-bottom: 18px; }
.recommend-logo-link { display: inline-block; margin-bottom: 18px; }
.recommend-logo { width: 240px; height: auto; filter: brightness(0) invert(0.88); }
.site-footer h2 { font-size: 1.15rem; letter-spacing: 0.16em; color: var(--muted); margin-bottom: 12px; }
.site-footer p, .site-footer li { color: var(--chalk); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 3px 0; }
.site-footer .email { font-size: 1.2rem; font-weight: 600; overflow-wrap: anywhere; }
.site-footer .legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.92rem; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero .wrap, .split { grid-template-columns: minmax(0, 1fr); }
  .social-gallery { grid-template-columns: minmax(0, 1fr); }
  .hero .airfield { width: 120%; right: -30%; opacity: 0.28; }
  .timeline { grid-template-columns: minmax(0, 1fr); border-top: 0; border-left: 2px solid var(--signal); }
  .timeline li { padding: 0 0 22px 24px; display: grid; grid-template-columns: 5.2rem minmax(0, 1fr); column-gap: 12px; }
  .timeline li:last-child { padding-bottom: 0; }
  .timeline li::before { top: 8px; left: -7px; }
  .timeline time { grid-row: span 2; }
  .timeline b { margin-top: 2px; }
  .prices { grid-template-columns: minmax(0, 1fr); }
  .limits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .limits dt { min-height: 0; }
  .site-footer .cols { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

@media (max-width: 560px) {
  html { scroll-padding-top: 132px; }
  .brand small { display: none; }
  .nav { gap: 2px 16px; }
  .nav a { font-size: 0.98rem; }
  .rules li { padding-left: 48px; }
  .rules li::before { font-size: 1.35rem; }
  .road .lbl { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
