/* DNA Airsoft — site-export stylesheet
   Bootstrap 5 handles layout/grid/utilities; this file layers brand tokens + component skins. */

/* Fonts are self-hosted (no requests to Google). Key files are preloaded in each page's <head>. */
@font-face { font-family: 'Tactic Sans'; src: url('../assets/fonts/TacticSans-Reg.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Tactic Sans'; src: url('../assets/fonts/TacticSans-Med.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Tactic Sans'; src: url('../assets/fonts/TacticSans-Bld.woff2') format('woff2'); font-weight: 600 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Tactic Sans'; src: url('../assets/fonts/TacticSans-Blk.woff2') format('woff2'); font-weight: 800 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../assets/fonts/inter-latin-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Inter'; src: url('../assets/fonts/inter-latin-ext-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Inter'; src: url('../assets/fonts/inter-latin-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Inter'; src: url('../assets/fonts/inter-latin-ext-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Inter'; src: url('../assets/fonts/inter-latin-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Inter'; src: url('../assets/fonts/inter-latin-ext-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Inter'; src: url('../assets/fonts/inter-latin-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Inter'; src: url('../assets/fonts/inter-latin-ext-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Mono'; src: url('../assets/fonts/plexmono-latin-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'IBM Plex Mono'; src: url('../assets/fonts/plexmono-latin-ext-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Mono'; src: url('../assets/fonts/plexmono-latin-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'IBM Plex Mono'; src: url('../assets/fonts/plexmono-latin-ext-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Mono'; src: url('../assets/fonts/plexmono-latin-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'IBM Plex Mono'; src: url('../assets/fonts/plexmono-latin-ext-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Mono'; src: url('../assets/fonts/plexmono-latin-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'IBM Plex Mono'; src: url('../assets/fonts/plexmono-latin-ext-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

:root {
  --black-1: #121210;
  --black-2: #1a1a17;
  --charcoal-1: #23241f;
  --charcoal-2: #2d2e27;
  --olive-1: #454a35;
  --olive-2: #5c5e3f;
  --olive-3: #767a52;
  --olive-hover: #6b6e4a; /* hover fill: keeps tan-3 text at 4.6:1 */
  --tan-1: #c9a15a;
  --tan-2: #e8dcc4;
  --tan-3: #f4efe2;
  --status-success: #6f8a4f;
  --status-warning: #b8873a;
  --status-danger: #9a3f34;
  --font-display: 'Tactic Sans', 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;
}


body {
  background: var(--black-2);
  color: var(--tan-2);
  font-family: var(--font-body);
  font-weight: 400;
}

h1, h2, h3, h4, .display-font {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--tan-3);
}

a { color: var(--tan-1); transition: color 160ms ease; }
a:hover { color: var(--tan-2); }

.navbar-dna {
  background: rgba(12, 12, 10, 0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--olive-1);
}

#matches, #about { scroll-margin-top: 88px; }
.navbar-dna .nav-link {
  color: var(--tan-2);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.9rem;
}
.navbar-dna .nav-link.active { color: var(--tan-3); }

.btn-dna-primary {
  background: var(--olive-2);
  border-color: var(--olive-2);
  color: var(--tan-3);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background-color 180ms ease, border-color 180ms ease, transform 120ms ease;
}
.btn-dna-primary:hover { background: var(--olive-hover); border-color: var(--olive-hover); color: var(--tan-3); }
.btn-dna-primary:active { transform: scale(0.97); }

.btn-dna-outline {
  background: transparent;
  border: 1px solid var(--tan-2);
  color: var(--tan-2);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background-color 180ms ease, color 180ms ease, transform 120ms ease;
}
.btn-dna-outline:hover { background: rgba(232,220,196,0.08); color: var(--tan-3); }
.btn-dna-outline:active { transform: scale(0.97); }

.hero {
  position: relative;
  min-height: 82vh;
  overflow: hidden;
  background: var(--black-1) url('../assets/img/hero-poster.jpg') center / cover no-repeat;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}
.hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;opacity:0;transition:opacity 500ms ease}
.hero-video.ready{opacity:1}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: transparent;
}
.hero .container { position: relative; z-index: 2; }

.eyebrow {
  font-family: var(--font-mono);
  color: var(--tan-1);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.section-alt { background: var(--black-1); }
.card-dna {
  background: var(--charcoal-1);
  border: 1px solid var(--olive-1);
  border-radius: 0;
  color: var(--tan-2);
}
.btn-dna-primary, .btn-dna-outline, .form-control, .modal-content.dna-modal, .badge { border-radius: 0 !important; }

.badge-open { background: rgba(111,138,79,0.2); color: #a9c48a; border: 1px solid var(--status-success); }
.badge-standby { background: rgba(184,135,58,0.2); color: #d8ab6c; border: 1px solid var(--status-warning); }
.badge-full { background: rgba(154,63,52,0.2); color: #d38f84; border: 1px solid var(--status-danger); }
.badge-past { background: rgba(120,120,110,0.15); color: #9a9b86; border: 1px solid var(--olive-2); }

.gallery-tile {
  border-radius: 0;
  overflow: hidden;
  cursor: pointer;
  height: 260px;
}
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 400ms cubic-bezier(.25,.8,.25,1); }
.gallery-tile:hover img { transform: scale(1.05); }

.card-dna { transition: border-color 200ms ease, transform 200ms ease; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms cubic-bezier(.25,.8,.25,1), transform 700ms cubic-bezier(.25,.8,.25,1);
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .gallery-tile img, .btn-dna-primary, .btn-dna-outline, a, .card-dna { transition: none; }
}

.modal-content.dna-modal {
  background: var(--black-2);
  color: var(--tan-2);
  border: 1px solid var(--olive-1);
}
.modal-content.dna-modal .modal-header,
.modal-content.dna-modal .modal-footer { border-color: var(--olive-1); }
.dna-lightbox img { max-width: 100%; max-height: 80vh; object-fit: contain; }

.navbar-toggler { border-color: var(--olive-1); }
.navbar-toggler:focus { box-shadow: 0 0 0 .2rem rgba(196,187,153,.35); }
.navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23e6e2d3' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }

footer.site-footer {
  border-top: 1px solid var(--olive-1);
  color: var(--tan-2);
  opacity: 0.85;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.lang-switch { font-family: var(--font-mono); font-size: 0.8rem; }
.lang-switch .dropdown-menu { background: var(--charcoal-1); border-color: var(--olive-1); }
.lang-switch .dropdown-item { color: var(--tan-2); }
.lang-switch .dropdown-item:hover, .lang-switch .dropdown-item.active { background: rgba(92,94,63,0.3); color: var(--tan-3); }

/* Sponsor banner slider (homepage). Banners are 4:1, e.g. 1200 x 300 px. */
.sponsor-slider { position: relative; aspect-ratio: 4 / 1; background: var(--charcoal-1); border: 1px solid var(--olive-1); overflow: hidden; }
.sponsor-track { position: absolute; inset: 0; }
.sponsor-slide { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity 700ms ease, visibility 0s linear 700ms; }
.sponsor-slide.is-active { opacity: 1; visibility: visible; transition: opacity 700ms ease, visibility 0s; }
.sponsor-slide img { width: 100%; height: 100%; object-fit: contain; display: block; }
a.sponsor-slide:focus-visible { outline: 2px solid var(--tan-1); outline-offset: -2px; }
.sponsor-dots { display: flex; justify-content: center; gap: 4px; margin-top: 10px; }
.sponsor-dot { width: 28px; height: 28px; padding: 0; border: 0; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.sponsor-dot::before { content: ""; width: 9px; height: 9px; border: 1px solid var(--tan-2); background: transparent; transition: background-color 200ms ease, transform 200ms ease; }
.sponsor-dot.is-active::before { background: var(--tan-1); border-color: var(--tan-1); transform: scale(1.15); }
.sponsor-dot:focus-visible { outline: 2px solid var(--tan-1); outline-offset: 0; }
@media (prefers-reduced-motion: reduce) { .sponsor-slide, .sponsor-slide.is-active { transition: none; } }

/* Herth Ecthelion (MilSim) page: switched on/off in the admin panel. Hidden until switched on. */
.nav-milsim { display: none !important; }
html.page-milsim-on .nav-milsim { display: list-item !important; }

/* ---------- Phones ---------- */
/* Bootstrap's large gutters (g-5 = 3rem) are wider than the phone side margin and cause sideways scrolling. */
@media (max-width: 575.98px) {
  .g-5, .gx-5 { --bs-gutter-x: 1.5rem; }
}
@media (max-width: 575.98px) {
  /* Homepage numbers: labels must not run into each other */
  .about-stats .text-uppercase { font-size: .68rem; letter-spacing: .05em !important; }
  /* Long uppercase button labels: a little tighter so they fit on one or two lines */
  .btn-lg.btn-dna-primary, .btn-lg.btn-dna-outline { font-size: 1rem; letter-spacing: .06em; padding: .7rem 1.1rem; }
  /* Photo grids: even squares instead of tall slivers */
  #galleryRow .gallery-tile, #homeGalleryRow .col-6 .gallery-tile { height: auto !important; aspect-ratio: 1 / 1; }
  #homeGalleryRow .col-md-5 .gallery-tile { height: auto !important; aspect-ratio: 4 / 3; }
  /* Event cards: badge under the title instead of squeezing it */
  #matchesRow .card-dna > .d-flex:first-child { flex-wrap: wrap; gap: .5rem; }
  .hero { min-height: 72vh; }
}

/* Footer: society details and legal links */
.footer-org { font-size: .78rem; opacity: .75; margin-top: 4px; }
.footer-legal { font-size: .8rem; border-top: 1px solid rgba(232,220,196,.1); padding-top: 12px; }
.footer-legal a { color: var(--tan-2); }
/* Privacy notice checkbox on forms */
.dna-consent { display: flex; gap: .55rem; align-items: flex-start; font-size: .85rem; color: var(--tan-2); }
.dna-consent input { margin-top: .2rem; flex: 0 0 auto; width: 1.05rem; height: 1.05rem; accent-color: var(--olive-3); }
.dna-consent a { color: var(--tan-1); }
/* Click-to-load map */
.map-gate { background: var(--black-1); border: 1px solid var(--olive-1); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem; padding: 1rem; text-align: center; font-size: .85rem; color: var(--tan-2); }
.map-gate p { max-width: 420px; margin: 0; }
/* Legal pages */
.legal-body h2 { font-size: 1.25rem; margin-top: 2rem; margin-bottom: .75rem; }
.legal-body p, .legal-body li { color: var(--tan-2); max-width: 760px; }
.legal-body table { width: 100%; max-width: 900px; border-collapse: collapse; font-size: .9rem; margin: .5rem 0 1rem; }
.legal-body th, .legal-body td { border: 1px solid var(--olive-1); padding: .55rem .7rem; vertical-align: top; text-align: left; color: var(--tan-2); }
.legal-body th { color: var(--tan-3); background: var(--charcoal-1); font-weight: 600; }
.legal-scroll { overflow-x: auto; }
[data-lang-block] { display: none; }
[data-lang-block].is-shown { display: block; }

/* Menu button never wraps */
.navbar-dna .btn { white-space: nowrap; }

/* Past events: compact one-line list */
.past-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--olive-1); }
.past-list li { display: grid; grid-template-columns: 9rem 1fr auto; gap: 1rem; align-items: baseline; padding: .85rem .25rem; border-bottom: 1px solid var(--olive-1); }
.past-date { font-family: var(--font-mono); color: var(--text-muted); font-size: .9rem; }
.past-title { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .02em; color: var(--tan-2); font-weight: 600; }
.past-place { font-family: var(--font-mono); color: var(--text-muted); font-size: .85rem; text-align: right; }
@media (max-width: 575.98px) {
  .past-list li { grid-template-columns: 1fr; gap: .15rem; }
  .past-place { text-align: left; }
}
