/* Long Live Paintball. Plain CSS. Colours from the logo: wing red on black. Display type: Barlow Condensed, self-hosted from /fonts. */
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/barlow-condensed-600-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url("/fonts/barlow-condensed-800-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
    --ink: #111; --ink-2: #1c1c1c; --ink-3: #333; --text: #222; --muted: #666;
    --red: #c8102e; --red-dark: #9e0c24; --red-soft: #ffb3bf;
    --paper: #fff; --alt: #f4f2ee; --line: #ddd;
    --on-dark: #fff; --on-dark-2: #eee; --on-dark-muted: #ccc; --on-dark-faint: #bbb;
    --open: #52e08a; --closed: #ff8a8a;
    --radius: 10px;
    --display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 90px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font: 17px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: var(--text); background: var(--paper); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 740px; }
img { max-width: 100%; height: auto; }
a { color: var(--red-dark); }
p { text-wrap: pretty; }
h1, h2, h3 { line-height: 1.1; margin: 0 0 12px; text-wrap: balance; }
h1, h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: 0.01em; }
h1 { font-size: clamp(2.6rem, 7.2vw, 5rem); line-height: 1; }
h2 { font-size: clamp(1.9rem, 4.2vw, 2.8rem); line-height: 1.05; }
h3 { font-family: var(--display); font-weight: 600; font-size: 1.5rem; letter-spacing: 0.01em; }
.note { color: var(--muted); font-size: 0.95rem; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.strip a:focus-visible, .top a:focus-visible, .top summary:focus-visible, .band.dark a:focus-visible, .hero a:focus-visible, .foot a:focus-visible, .page-head a:focus-visible { outline-color: var(--on-dark); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; padding: 10px 16px; border-radius: 8px; background: var(--paper); color: var(--ink); font-weight: 700; }
.skip:focus { left: 8px; }

/* top strip + header */
.strip { background: #000; color: var(--on-dark-muted); font-size: 0.88rem; }
.strip-in { display: flex; gap: 16px; justify-content: space-between; align-items: center; padding-top: 6px; padding-bottom: 6px; flex-wrap: wrap; }
.strip a { color: var(--on-dark); font-weight: 700; text-decoration: none; }
/* "Today: hours" shows only once the shared script has filled the hours; with no data the label would sit there empty. */
.strip-hours:has([data-ptu-hours-today]:empty) { display: none; }
[data-ptu-open-now] { font-weight: 800; }
[data-ptu-open-now][data-state="open"] { color: var(--open); }
[data-ptu-open-now][data-state="closed"] { color: var(--closed); }
[data-ptu-busy] { margin-left: 4px; padding: 1px 9px; border-radius: 999px; background: var(--ink-3); color: var(--on-dark); font-size: 0.8rem; font-weight: 700; }
.top { background: var(--ink-2); position: sticky; top: 0; z-index: 20; border-bottom: 3px solid var(--red); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 6px; padding-bottom: 6px; }
.brand img { display: block; height: 54px; width: auto; }
.btn.header-book { display: none; }
.menu summary { display: none; list-style: none; cursor: pointer; padding: 10px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span, .menu summary span::before, .menu summary span::after { content: ""; display: block; width: 24px; height: 3px; background: var(--on-dark); border-radius: 2px; position: relative; }
.menu summary span::before { position: absolute; top: -7px; }
.menu summary span::after { position: absolute; top: 7px; }
.menu nav { display: flex; align-items: center; gap: 4px; }
.menu nav a { color: var(--on-dark-2); text-decoration: none; padding: 8px 10px; border-radius: 8px; font-weight: 600; font-size: 0.95rem; }
.menu nav a:hover { background: var(--ink-3); }
.menu nav a.btn { margin-left: 6px; }
/* Desktop: the nav is always shown. Browsers that support ::details-content show it from CSS alone; the script in Header.astro does the same for the rest. */
@media (min-width: 801px) { .menu::details-content { content-visibility: visible; display: contents; } }
@media (max-width: 800px) {
    .menu nav a.nav-book { display: none; }
    .btn.header-book { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin-left: auto; padding-top: 0; padding-bottom: 0; }
    .strip a { padding: 12px 8px; margin: -12px -8px; }
    .menu summary { display: block; }
    .menu nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: var(--ink-2); padding: 10px 20px 18px; border-bottom: 3px solid var(--red); }
    .menu[open] nav { display: flex; }
    .menu nav a { padding: 12px 10px; }
    .menu nav a.btn { margin: 8px 0 0; text-align: center; }
}

/* buttons */
.btn { display: inline-block; padding: 10px 20px; border-radius: 8px; border: 2px solid var(--ink); background: transparent; color: var(--ink); font-weight: 700; text-decoration: none; text-align: center; }
.btn:hover { background: var(--ink); color: var(--on-dark); }
.btn.primary { background: var(--red); border-color: var(--red); color: var(--on-dark); }
.btn.primary:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn.ghost { border-color: var(--on-dark); color: var(--on-dark); }
.btn.ghost:hover { background: var(--on-dark); color: var(--ink); }
.btn.outline { border-color: var(--on-dark); color: var(--on-dark); }
.btn.outline:hover { background: var(--on-dark); color: var(--ink); }
.btn.big { padding: 14px 26px; font-size: 1.05rem; }
.btn.small { padding: 7px 16px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 0; }

/* hero + page heads */
.hero { color: var(--on-dark); background: var(--ink) linear-gradient(112deg, #161616 0%, #2b1316 38%, #6a0f1a 74%, #901626 100%); padding: 76px 0; border-bottom: 6px solid var(--red); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; align-items: center; }
.hero-photo { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
/* The hero group shots fade in and out, 10s each. Pure CSS: slide i starts 10s * i after the first, one cycle is --n slots. Slide 0 starts 1.2s in, so it is already showing at load. */
.hero-slides { position: relative; overflow: hidden; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45); background: var(--ink-2); --slot: 10s; --fade: 1.2s; }
.hero-slides .slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.hero-slides .slide:first-of-type { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
    .hero-slides .slide { animation: hero-fade calc(var(--slot) * var(--n)) linear infinite both; animation-delay: calc(var(--slot) * var(--i) - var(--fade)); }
}
/* (@keyframes hero-fade is written by the home page, because its percentages depend on how many photos there are.) */
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 32px; } }
.hero h1 { margin-bottom: 10px; }
.tagline { margin: 0 0 18px; font-family: var(--display); font-weight: 600; font-size: clamp(1.35rem, 3.4vw, 2.2rem); line-height: 1.1; letter-spacing: 0.04em; text-transform: uppercase; color: var(--red-soft); text-wrap: balance; }
.lead { font-size: 1.25rem; max-width: 34rem; margin: 0 0 6px; }
@media (max-width: 600px) {
    .lead { font-size: 1.05rem; line-height: 1.5; }
    .hero .cta { flex-wrap: nowrap; gap: 10px; }
    .hero .cta .btn.big { flex: 1 1 0; min-width: 0; padding: 13px 8px; font-size: 0.95rem; }
}
.page-head { background: var(--ink-2) linear-gradient(112deg, #161616 0%, #2b1316 45%, #5a0e18 100%); color: var(--on-dark); padding: 44px 0 34px; border-bottom: 4px solid var(--red); }
.page-head h1 { margin: 0; font-size: clamp(2.4rem, 6vw, 3.8rem); }

/* sections */
.band { padding: 64px 0; }
.band.alt { background: var(--alt); }
.band.dark { background: var(--ink); color: var(--on-dark); }
.band h2 { margin-bottom: 18px; }
.band.close { border-top: 6px solid var(--red); text-align: center; }
.band.close .cta { justify-content: center; }
.band.close .lead { margin-left: auto; margin-right: auto; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
@media (max-width: 800px) { .two { grid-template-columns: 1fr; gap: 24px; } .band { padding: 44px 0; } .hero { padding: 48px 0 44px; } }
.feature { width: 100%; border-radius: var(--radius); display: block; }

/* cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; margin: 18px 0; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card.photo { padding: 0; overflow: hidden; }
.card.photo img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 0; }
.card.photo .body { padding: 18px 22px 24px; }
.price { font-size: 1.15rem; font-weight: 800; color: var(--red-dark); margin: 4px 0 8px; }
.price.note-only { font-size: 0.95rem; font-weight: 600; color: var(--muted); }
/* Packages: wide cards, one per row. Image on the left, name and checked list on the right. */
.pkgs { display: grid; gap: 18px; margin: 18px 0; }
.pkgs-special { margin-top: 0; }
.pkg { position: relative; display: grid; grid-template-columns: minmax(200px, 320px) 1fr; gap: 28px; align-items: center; transition: border-color 0.15s; }
.pkg.no-img { grid-template-columns: 1fr; }
.pkg:hover, .pkg:focus-within { border-color: var(--ink); }
/* The whole card is the tap target: the Reserve link stretches over it. */
.pkg .btn::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.pkg img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: var(--alt); border-radius: 8px; }
.pkg-body { display: flex; flex-direction: column; align-items: flex-start; }
.pkg-body h3 { margin-bottom: 4px; }
.pkg .btn { align-self: center; min-width: 160px; }
.pkg .ticks { columns: 2; column-gap: 32px; margin: 10px 0 20px; }
.pkg .ticks li { break-inside: avoid; }
.pkg-note { margin: 4px 0 0; max-width: 40em; }
/* The special package (Voucher) is a dark card so it reads as a different kind of offer. */
.pkg.special { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.pkg.special:hover, .pkg.special:focus-within { border-color: var(--red); }
.pkg.special h3 { color: var(--on-dark); }
.pkg.special .pkg-note { color: var(--on-dark-muted); }
.pkg.special img { background: var(--ink-3); }
.pkg.special :focus-visible { outline-color: var(--on-dark); }
@media (max-width: 800px) {
    .pkg { grid-template-columns: 1fr; gap: 16px; }
    .pkg .ticks { columns: 1; }
}
.ticks { list-style: none; padding: 0; margin: 12px 0; }
.ticks li { position: relative; padding: 3px 0 3px 26px; text-wrap: pretty; }
.ticks li::before { content: ""; position: absolute; left: 3px; top: 11px; width: 11px; height: 6px; border-left: 3px solid var(--red); border-bottom: 3px solid var(--red); transform: rotate(-45deg); }
.qa { padding: 16px 0; border-bottom: 1px solid var(--line); }
.qa h3 { font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; font-weight: 700; font-size: 1.15rem; letter-spacing: 0; margin-bottom: 6px; }
.faq-group { margin: 40px 0 4px; }
.faq-group:first-child { margin-top: 0; }

/* photos */
.photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0 0 22px; }
.photos img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; display: block; }
@media (max-width: 600px) { .photos { grid-template-columns: repeat(2, 1fr); } }
.photo-link { display: block; border-radius: 8px; overflow: hidden; cursor: zoom-in; }
.photo-link img { transition: transform 0.25s; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .photo-link:hover img { transform: scale(1.03); } }

/* Photo viewer (gallery page): a full-screen dialog; the photo as large as it can go without going soft (the source photos are 800px wide). */
.lightbox { border: 0; padding: 0; margin: 0; width: 100vw; max-width: none; height: 100dvh; max-height: none; background: transparent; color: var(--on-dark); }
.lightbox::backdrop { background: rgba(10, 10, 10, 0.82); }
body:has(dialog.lightbox[open]) { overflow: hidden; }
.lb-stage { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 64px 72px 84px; touch-action: pan-y pinch-zoom; }
.lb-fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 100%; max-height: 100%; }
.lb-img { display: block; max-width: min(100%, 1000px); max-height: calc(100dvh - 190px); width: auto; height: auto; object-fit: contain; border-radius: 6px; }
.lb-cap { max-width: 40em; text-align: center; color: var(--on-dark-muted); font-size: 0.95rem; line-height: 1.4; text-wrap: balance; }
.lb-count { position: absolute; left: 0; right: 0; bottom: 18px; margin: 0; text-align: center; color: var(--on-dark-muted); font-size: 0.9rem; font-weight: 600; }
.lb-btn { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 2px solid rgba(255, 255, 255, 0.55); border-radius: 50%; background: rgba(0, 0, 0, 0.55); color: var(--on-dark); cursor: pointer; }
.lb-btn:hover { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }
.lb-btn:focus-visible { outline: 3px solid var(--on-dark); outline-offset: 3px; }
.lb-close { top: 14px; right: 14px; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); }
.lb-prev { left: 14px; }
.lb-next { right: 14px; }
@media (max-width: 800px) {
    .lb-stage { padding: 64px 12px 96px; }
    .lb-img { max-height: calc(100dvh - 230px); }
    .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; }
    .lb-prev { left: 14px; }
    .lb-next { right: 14px; }
    .lb-count { bottom: 28px; }
}
/* Videos: a poster and a play button; the YouTube player only loads when it is pressed. */
.videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin: 0 0 28px; }
.video-card { margin: 0; }
.video-wrap { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.video { position: absolute; inset: 0; display: block; }
.video img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .video:hover img { transform: scale(1.03); } }
.video-play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; display: grid; place-items: center; border: 3px solid var(--on-dark); border-radius: 50%; background: var(--red); color: var(--on-dark); transition: background 0.15s; }
.video:hover .video-play { background: var(--red-dark); }
.video:focus-visible { outline-offset: -4px; }
.video-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-card figcaption { margin-top: 10px; color: var(--on-dark-muted); font-size: 0.95rem; line-height: 1.4; }

/* Gift cards and memberships: two panels edge to edge. */
.perks { display: grid; grid-template-columns: 1fr 1fr; border-top: 6px solid var(--red); }
.perks:has(> .perk:only-child) { grid-template-columns: 1fr; }
.perk { padding: 68px 24px; }
.perk-gift { background: var(--alt); }
.perk-in { max-width: 470px; margin: 0 auto; }
.perk h2 { margin-bottom: 6px; }
.perk-lead { margin: 0 0 12px; font-family: var(--display); font-weight: 600; font-size: 1.55rem; line-height: 1.15; letter-spacing: 0.01em; color: var(--ink); }
.perk .btn { margin-top: 10px; }
@media (max-width: 800px) { .perks { grid-template-columns: 1fr; } .perk { padding: 44px 20px; } }
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; gap: 10px; margin: 0 0 24px; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; display: block; }
.mosaic img:first-child { grid-column: span 2; grid-row: span 2; }
@media (max-width: 800px) { .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; } }
.ptu-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; margin-bottom: 22px; }
.ptu-gallery img { width: 100%; height: 190px; object-fit: cover; border-radius: 8px; display: block; }

/* generated blocks from the app */
.ptu-hours { width: 100%; max-width: 420px; border-collapse: collapse; }
.ptu-hours th, .ptu-hours td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.ptu-hours td { text-align: right; font-weight: 400; }
.ptu-closures { color: var(--muted); padding-left: 20px; }
.ptu-social { list-style: none; padding: 0; margin: 12px 0; display: flex; gap: 8px 16px; flex-wrap: wrap; }
.foot .ptu-social a { display: inline-block; padding: 6px 0; }
.ptu-map { display: block; width: 100%; height: 320px; border: 0; border-radius: var(--radius); margin: 0 0 18px; }

/* footer */
.foot { background: var(--ink); color: var(--on-dark-faint); padding: 44px 0 0; }
.foot h2 { color: var(--on-dark); font-size: 1.2rem; letter-spacing: 0.06em; }
.foot a { color: var(--on-dark); }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { padding: 3px 0; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.legal { padding-top: 26px; padding-bottom: 26px; margin-top: 26px; border-top: 1px solid var(--ink-3); font-size: 0.88rem; }
@media (max-width: 700px) { .foot-grid { grid-template-columns: 1fr; } }
