:root {
  --bg: #0b0b0c;
  --surface: #151517;
  --line: #2a2a2e;
  --text: #fff;
  --muted: #c9c9cf;
  --red-dark: #8b0000;
  --red: #e10600;
  --grad: linear-gradient(135deg, var(--red-dark), var(--red));
  --radius: 14px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 1.0625rem/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 6px var(--red); border-radius: 4px; }

.wrap { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: #fff; color: #000; padding: .6rem 1rem; border-radius: 8px; font-weight: 700;
}
.skip:focus { top: 1rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(11 11 12 / .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.5rem; flex-wrap: wrap; }
.wordmark { font-weight: 900; text-transform: uppercase; letter-spacing: .04em; text-decoration: none; font-size: 1.05rem; }
.wordmark span { color: var(--red); }
.nav ul { display: flex; gap: .25rem; }
.nav ul a { display: block; padding: .5rem .55rem; text-decoration: none; font-size: .95rem; color: var(--muted); border-radius: 6px; }
.nav ul a:hover { color: #fff; }
@media (max-width: 479px) {
  .nav { justify-content: center; padding-block: .4rem; gap: 0; }
  .nav ul a { padding: .35rem .5rem; font-size: .9rem; }
}

/* Hero */
.hero { position: relative; overflow: hidden; isolation: isolate; min-height: min(88vh, 760px); display: grid; align-items: center; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgb(11 11 12 / .72), rgb(11 11 12 / .82) 60%, var(--bg)),
              radial-gradient(circle at 15% 85%, rgb(139 0 0 / .55), transparent 60%);
}
.hero-inner { padding-block: 4rem; }
.hero-logo { width: 96px; height: 96px; border-radius: 18px; margin-bottom: 1.25rem; box-shadow: 0 10px 40px rgb(225 6 0 / .35); }
.eyebrow { margin: 0 0 .5rem; color: #ff6a63; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .85rem; }
h1 { font-size: clamp(2.5rem, 9vw, 5.25rem); font-weight: 900; letter-spacing: -.02em; text-transform: uppercase; }
.tagline { max-width: 52rem; margin: 1rem 0 2rem; font-size: clamp(1.05rem, 2.6vw, 1.3rem); color: #eee; }
.tagline i { font-style: normal; color: var(--red); padding-inline: .15em; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem; padding: .75rem 1.4rem; border-radius: 999px;
  font-weight: 700; text-decoration: none; border: 2px solid transparent;
  transition: transform .15s ease, filter .15s ease;
}
.btn-primary { background: var(--grad); }
.btn-ghost { border-color: rgb(255 255 255 / .7); }
.btn:hover { transform: translateY(-2px); filter: brightness(1.1); }

/* Sections */
.section { padding-block: 4.5rem 1rem; }
h2 { font-size: clamp(2rem, 5.5vw, 3rem); font-weight: 900; margin-bottom: 2rem; }
h2::after { content: ""; display: block; width: 3.5rem; height: 5px; margin-top: .6rem; border-radius: 3px; background: var(--grad); }

.services { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: .9rem; }
.services li {
  position: relative; padding: 1.25rem 1.25rem 1.25rem 1.5rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  font-weight: 700; font-size: 1.1rem; overflow: hidden;
}
.services li::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--grad); }

/* Events */
.events { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); }
.event { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.event-body { padding: 1.1rem 1.25rem 1.3rem; }
.event h3 { font-size: 1.2rem; }
.event p { margin: .4rem 0 0; color: var(--muted); }
.event .meta { color: #ff6a63; font-weight: 700; }
.event.text-only { justify-content: flex-end; background: linear-gradient(160deg, rgb(139 0 0 / .45), var(--surface) 70%); min-height: 11rem; }
.photos { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 3px; aspect-ratio: 4 / 3; }
.photos > :first-child { grid-row: span 2; }
.photos.two { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; }
.photos.two > :first-child { grid-row: auto; }

.zoom { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: #000; cursor: zoom-in; overflow: hidden; }
.zoom img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.zoom:hover img { transform: scale(1.04); }

.sub { font-size: 1.4rem; margin: 3rem 0 1rem; }
.strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(10rem, 42%);
  gap: .9rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 1rem; overscroll-behavior-x: contain;
}
@media (min-width: 700px) { .strip { grid-auto-columns: 13rem; } }
/* Every card is the containing block for its own caption. */
.strip li {
  position: relative; overflow: hidden;
  scroll-snap-align: start; aspect-ratio: 579 / 886;
  border-radius: var(--radius); border: 1px solid var(--line);
}
.strip .zoom { position: relative; }
.strip span {
  position: absolute; inset: auto 0 0; padding: 2.5rem .8rem .8rem; text-align: left;
  font-weight: 700; background: linear-gradient(transparent, rgb(0 0 0 / .85));
}
.strip .text-card { background: linear-gradient(160deg, var(--red) 0%, var(--red-dark) 55%, #2a0000 100%); }

/* Gallery: uniform square tiles; mixing console spans two columns. */
.gallery { display: grid; gap: .6rem; grid-template-columns: repeat(2, 1fr); grid-auto-flow: dense; }
.gallery li { min-width: 0; border-radius: 10px; overflow: hidden; }
.gallery .zoom { height: 100%; }
.gallery img { width: 100%; height: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.gallery .wide { grid-column: span 2; }
.gallery .wide img { aspect-ratio: 2 / 1; }
@media (min-width: 600px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .gallery { grid-template-columns: repeat(4, 1fr); } }

/* Contact & footer */
.contact { text-align: center; padding-bottom: 5rem; }
.contact h2::after { margin-inline: auto; }
.contact p { font-size: 1.25rem; margin: 0 0 1.5rem; color: #eee; }
.site-footer { border-top: 1px solid var(--line); padding-block: 2rem; color: var(--muted); }
.footer-inner { display: flex; align-items: center; gap: 1rem; }
.footer-inner img { width: 56px; height: 56px; border-radius: 10px; }
.footer-inner p { margin: 0; }
.small { font-size: .875rem; }

/* Lightbox */
.lightbox { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgb(0 0 0 / .92); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: 94vw; max-height: 88vh; width: auto; height: auto; border-radius: 8px; }
.lb-btn {
  position: fixed; width: 3rem; height: 3rem; border-radius: 50%;
  border: 0; background: rgb(255 255 255 / .14); font-size: 2rem; line-height: 1; cursor: pointer;
}
.lb-btn:hover { background: var(--red); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: .75rem; top: 50%; translate: 0 -50%; }
.lb-next { right: .75rem; top: 50%; translate: 0 -50%; }
.lb-btn[hidden] { display: none; }

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