/* ==========================================================================
   J'S HOLE — dive bar site
   Design language: hand-pinned corkboard + flickering neon signage.
   Palette: void black / dried-blood red / poker felt green / bone / rust amber
   ========================================================================== */

:root {
  /* ---- Color tokens ---- */
  --void:         #0b0908;
  --void-2:       #16110f;
  --void-3:       #1f1a17;
  --blood:        #8c1f28;
  --blood-bright: #c23a3a;
  --felt:         #1f4d3a;
  --felt-bright:  #2d6b4f;
  --bone:         #e8dfc9;
  --bone-dim:     #bfb69f;
  --rust:         #c97a2b;
  --rust-bright:  #e0973f;
  --smoke:        #4a453f;
  --ink:          rgba(20, 14, 10, 0.85);

  /* ---- Type ---- */
  --font-display: 'Rye', serif;
  --font-label:   'Bebas Neue', sans-serif;
  --font-stamp:   'Special Elite', monospace;
  --font-body:    'Barlow', sans-serif;

  /* ---- Spacing scale (8px base) ---- */
  --sp-1: 0.5rem;
  --sp-2: 1rem;
  --sp-3: 1.5rem;
  --sp-4: 2rem;
  --sp-5: 3rem;
  --sp-6: 4rem;
  --sp-7: 6rem;
  --sp-8: 8rem;

  --container: 1120px;
  --radius: 3px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: var(--void);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

body.home-page {
  /* Creates a stacking context so the -1 wallpaper layer paints ABOVE
     this background (but below content). Without it the fixed
     pseudo-element slips behind the black body background. */
  position: relative;
  isolation: isolate;
  background-color: var(--void);
}
/* Wallpaper pinned to the viewport. Using a fixed pseudo-element (not
   background-attachment: fixed) means the photo always sizes to the
   visible screen — on mobile, cover was scaling to the FULL page
   height instead and stretching the image. Content scrolls over it. */
body.home-page::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-color: var(--void);
  background-image:
    linear-gradient(180deg, rgba(11, 9, 8, 0.25) 0%, rgba(11, 9, 8, 0.45) 500px, rgba(11, 9, 8, 0.75) 100%),
    url("images/bar-wallpaper.jpg");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.home-page .hero {
  background:
    radial-gradient(ellipse at 50% 35%, rgba(140, 31, 40, 0.2), transparent 75%),
    linear-gradient(180deg, transparent 0%, rgba(11, 9, 8, 0.35) 100%);
}
.home-page .hero::after {
  display: none;
}
.home-page .hero .tagline,
.home-page .hero .hero-meta,
.home-page .hero .hero-eyebrow {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}
.home-page .hero-eyebrow {
  background: rgba(11, 9, 8, 0.55);
  backdrop-filter: blur(4px);
}
.home-page .about-copy {
  background: rgba(11, 9, 8, 0.6);
  padding: var(--sp-4);
  border-radius: var(--radius);
  border: 1px solid var(--border, rgba(255,255,255,0.06));
  backdrop-filter: blur(6px);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0 0 var(--sp-2); }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }

/* Grain / wall texture overlay, fixed across whole site */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 500;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* Focus visibility */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--rust-bright);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-3);
}

/* Corkboard background used behind flyer/photo sections */
.corkboard {
  background-color: #3b2c22;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(0,0,0,0.35) 0, transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(0,0,0,0.3) 0, transparent 45%),
    repeating-radial-gradient(circle at 30% 40%, rgba(0,0,0,0.06) 0 2px, transparent 2px 60px),
    linear-gradient(160deg, #4a382a, #2c2119 85%);
  box-shadow: inset 0 12px 30px rgba(0,0,0,0.55), inset 0 -12px 30px rgba(0,0,0,0.55);
}

/* ==========================================================================
   Header / nav
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(180deg, var(--void-2), var(--void));
  border-bottom: 3px solid var(--blood);
  box-shadow: 0 4px 18px rgba(0,0,0,0.5);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-2) var(--sp-3);
  max-width: var(--container);
  margin: 0 auto;
}
.brand {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.03em;
  color: var(--bone);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.brand span { color: var(--blood-bright); }

.nav-logo-img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--smoke);
  color: var(--bone);
  padding: 0.4rem 0.6rem;
  font-family: var(--font-label);
  letter-spacing: 0.08em;
  cursor: pointer;
}

.main-nav ul {
  display: flex;
  gap: var(--sp-4);
}
.main-nav a {
  font-family: var(--font-label);
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  color: var(--bone-dim);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s ease;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--rust-bright);
  transition: right 0.25s ease;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--bone);
}
.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
  right: 0;
}

@media (max-width: 720px) {
  .nav-toggle { display: inline-block; }
  .main-nav {
    display: none;
    width: 100%;
    border-top: 1px solid var(--smoke);
  }
  .main-nav.is-open { display: block; }
  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: var(--sp-2) var(--sp-3);
  }
  .main-nav li { padding: var(--sp-1) 0; }
  .nav-wrap { flex-wrap: wrap; }
}

/* ==========================================================================
   Buttons — rubber-stamp badge style
   ========================================================================== */
.btn {
  display: inline-block;
  font-family: var(--font-label);
  letter-spacing: 0.14em;
  font-size: 0.95rem;
  padding: 0.75rem 1.6rem;
  border: 2px solid var(--blood-bright);
  color: var(--bone);
  border-radius: var(--radius);
  transform: rotate(-1deg);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn:hover {
  background: var(--blood-bright);
  color: var(--void);
  transform: rotate(0deg) scale(1.03);
}
.btn.btn-solid {
  background: var(--blood);
  border-color: var(--blood);
}
.btn.btn-solid:hover {
  background: var(--blood-bright);
  border-color: var(--blood-bright);
  color: var(--bone);
}
.btn.btn-felt {
  border-color: var(--felt-bright);
  transform: rotate(1deg);
}
.btn.btn-felt:hover { background: var(--felt-bright); color: var(--void); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding: var(--sp-8) var(--sp-3) var(--sp-7);
  text-align: center;
  overflow: hidden;
  background:
    repeating-linear-gradient(0deg, rgba(0,0,0,0.35) 0 2px, transparent 2px 42px),
    repeating-linear-gradient(90deg, rgba(0,0,0,0.22) 0 2px, transparent 2px 84px),
    linear-gradient(180deg, #1a1512, var(--void) 70%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(140,31,40,0.16), transparent 60%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }

.badge-logo {
  width: 176px;
  height: 176px;
  margin: 0 auto var(--sp-4);
  display: block;
  border-radius: 50%;
  object-fit: cover;
  filter: drop-shadow(0 0 12px rgba(140, 31, 40, 0.65));
}
.badge-ring-outer { fill: none; stroke: var(--bone); stroke-width: 2; }
.badge-ring-inner { fill: none; stroke: var(--rust-bright); stroke-width: 1; stroke-dasharray: 2 5; }
.badge-text-arc {
  font-family: var(--font-label);
  font-size: 12.5px;
  letter-spacing: 3px;
  fill: var(--bone-dim);
}
.badge-suit {
  font-family: var(--font-display);
  font-size: 44px;
  fill: var(--blood-bright);
}
.badge-word {
  font-family: var(--font-label);
  font-size: 19px;
  letter-spacing: 4px;
  fill: var(--bone);
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-stamp);
  color: var(--rust-bright);
  letter-spacing: 0.3em;
  font-size: 0.8rem;
  border: 1px dashed var(--smoke);
  padding: 0.3rem 0.9rem;
  margin-bottom: var(--sp-3);
}

/* Neon beer sign panel — retro */
.hero-sign {
  position: relative;
  display: inline-block;
  margin: var(--sp-2) auto 0;
  padding: 1.4rem 2.6rem 1.7rem;
  background:
    radial-gradient(ellipse at 50% 30%, #2a1f14 0%, #0e0a06 70%),
    linear-gradient(160deg, rgba(224, 151, 63, 0.07), rgba(0, 0, 0, 0) 45%);
  border: 3px solid rgba(224, 151, 63, 0.55);
  border-radius: 18px;
  transform: rotate(-1.5deg);
  box-shadow:
    inset 0 0 0 2px rgba(11, 9, 8, 0.9),
    inset 0 0 0 4px rgba(224, 151, 63, 0.28),
    inset 0 0 34px rgba(0, 0, 0, 0.95),
    inset 0 0 8px rgba(224, 151, 63, 0.18),
    0 22px 48px rgba(0, 0, 0, 0.7),
    0 0 38px rgba(140, 31, 40, 0.22);
}
/* Worn / grimy texture over the panel face */
.hero-sign::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 15px;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 18% 82%, rgba(0, 0, 0, 0.55) 0%, transparent 55%),
    radial-gradient(ellipse at 84% 12%, rgba(0, 0, 0, 0.45) 0%, transparent 45%),
    repeating-linear-gradient(95deg, rgba(255, 255, 255, 0.025) 0 2px, transparent 2px 5px),
    repeating-linear-gradient(2deg, rgba(0, 0, 0, 0.05) 0 1px, transparent 1px 4px);
  mix-blend-mode: overlay;
}
/* Mounting bracket */
.hero-sign .sign-tab {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 15px;
  background: linear-gradient(180deg, #46351f, #191008);
  border: 1px solid rgba(224, 151, 63, 0.5);
  border-radius: 3px;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.65);
  z-index: 2;
}
.hero-sign .sign-tab::after {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 5px;
  background: #0d0906;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}
/* Tagline tube mounted on the sign */
.hero-sign .sign-tagline {
  display: block;
  margin-top: 0.6rem;
  font-family: var(--font-stamp);
  font-size: 0.6rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--rust-bright);
  text-shadow:
    0 0 5px var(--rust-bright),
    0 0 14px var(--rust),
    0 0 26px rgba(224, 151, 63, 0.6);
  animation: flicker 5.5s infinite;
}
/* Faded, chipped corners — classic old sign */
.hero-sign .sign-chip {
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(224, 151, 63, 0.16), rgba(0, 0, 0, 0) 70%);
  filter: blur(1px);
  pointer-events: none;
}
.hero-sign .sign-chip.c1 { top: 8px; left: 10px; }
.hero-sign .sign-chip.c2 { bottom: 10px; right: 12px; width: 34px; height: 34px; }

.neon {
  font-family: 'Dr Sugiyama', cursive;
  font-size: clamp(3rem, 9.5vw, 5.8rem);
  line-height: 1.2;
  color: #fff2ea;
  text-shadow:
    0 0 2px #fff,
    0 0 7px #f6c9c9,
    0 0 15px var(--blood-bright),
    0 0 30px var(--blood),
    0 0 55px rgba(140, 31, 40, 0.9),
    0 0 90px rgba(140, 31, 40, 0.55);
  animation: flicker 5.5s infinite;
  font-weight: 400;
}

@keyframes flicker {
  0%, 3%, 6%, 100% { opacity: 1; }
  4% { opacity: 0.55; }
  5% { opacity: 0.92; }
  47% { opacity: 1; }
  48% { opacity: 0.4; }
  49% { opacity: 1; }
  71% { opacity: 1; }
  71.5% { opacity: 0.6; }
  72% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .neon { animation: none; }
}

.tagline {
  font-family: var(--font-stamp);
  font-size: 1.15rem;
  color: var(--bone-dim);
  margin-top: var(--sp-3);
  letter-spacing: 0.02em;
}

.hero-meta {
  margin-top: var(--sp-2);
  font-size: 0.95rem;
  color: var(--smoke);
  letter-spacing: 0.04em;
}
.hero-meta strong { color: var(--bone-dim); font-weight: 600; }

.hero-cta {
  margin-top: var(--sp-5);
  display: flex;
  gap: var(--sp-3);
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================================================
   Section headings
   ========================================================================== */
.section { padding: var(--sp-7) 0; }
.section-head {
  max-width: 640px;
  margin: 0 auto var(--sp-5);
  text-align: center;
}
.section-label {
  display: block;
  font-family: var(--font-label);
  letter-spacing: 0.3em;
  font-size: 0.85rem;
  color: var(--rust-bright);
  margin-bottom: var(--sp-1);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  color: var(--bone);
}
.section-sub {
  margin-top: var(--sp-2);
  color: var(--bone-dim);
  font-size: 1.05rem;
}

/* ==========================================================================
   About
   ========================================================================== */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
  align-items: center;
}
.about-copy p { color: var(--bone-dim); font-size: 1.08rem; }
.about-copy .lede {
  font-family: var(--font-stamp);
  color: var(--bone);
  font-size: 1.2rem;
}
.chip-stack {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 320px;
  margin: 0 auto;
  position: relative;
}
.chip {
  position: absolute;
  left: 50%;
  border-radius: 50%;
  width: 190px;
  height: 190px;
  transform: translateX(-50%);
  border: 6px dashed var(--bone);
  box-shadow: 0 6px 0 rgba(0,0,0,0.4), 0 10px 18px rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2.4rem;
}
.chip:nth-child(1) { bottom: 0;   background: var(--blood); color: var(--bone); }
.chip:nth-child(2) { bottom: 42px; background: var(--felt); color: var(--bone); }
.chip:nth-child(3) { bottom: 84px; background: var(--void-3); color: var(--rust-bright); border-color: var(--rust); }

@media (max-width: 800px) {
  .about { grid-template-columns: 1fr; }
  .chip-stack { order: -1; margin-bottom: var(--sp-3); }
}

/* ==========================================================================
   Features
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-3);
}
.feature-card {
  background: var(--void-2);
  border: 1px solid var(--void-3);
  border-top: 3px solid var(--felt-bright);
  padding: var(--sp-4) var(--sp-3);
  border-radius: var(--radius);
}
.feature-card:nth-child(2n) { border-top-color: var(--blood-bright); }
.feature-card:nth-child(3n) { border-top-color: var(--rust-bright); }
.feature-icon {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--rust-bright);
  margin-bottom: var(--sp-2);
}
.feature-logo-img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
}
.feature-title {
  font-family: var(--font-label);
  letter-spacing: 0.08em;
  font-size: 1.15rem;
  color: var(--bone);
  margin-bottom: var(--sp-1);
}
.feature-text { color: var(--bone-dim); font-size: 0.96rem; margin: 0; }

@media (max-width: 900px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .features-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Flyer cards (Events + teaser)
   ========================================================================== */
.board {
  padding: var(--sp-6) var(--sp-3);
  border-radius: 6px;
}
.flyer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--sp-5) var(--sp-4);
  max-width: var(--container);
  margin: 0 auto;
}
.flyer {
  position: relative;
  background: var(--bone);
  color: var(--void);
  padding: var(--sp-4) var(--sp-3) var(--sp-3);
  box-shadow: 0 14px 24px rgba(0,0,0,0.45);
  transform: rotate(var(--tilt, -1.5deg));
}
.flyer:nth-child(2n) { --tilt: 1.7deg; }
.flyer:nth-child(3n) { --tilt: -1deg; }
.flyer:nth-child(4n) { --tilt: 1deg; }

.pin {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--rust-bright), var(--rust) 55%, #7a4a17 100%);
  box-shadow: 0 3px 4px rgba(0,0,0,0.55);
  z-index: 3;
}

.flyer-stamp {
  display: inline-block;
  font-family: var(--font-stamp);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--blood);
  border: 2px solid var(--blood);
  border-radius: 50%;
  padding: 0.5rem 0.7rem;
  transform: rotate(-6deg);
  float: right;
  text-align: center;
  line-height: 1.15;
  opacity: 0.85;
  margin-left: var(--sp-2);
}
.flyer-title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1.15;
  margin-bottom: var(--sp-1);
  clear: none;
}
.flyer-datetime {
  font-family: var(--font-stamp);
  font-size: 0.92rem;
  color: var(--blood);
  margin-bottom: var(--sp-2);
  letter-spacing: 0.02em;
}
.flyer-datetime .tbd {
  color: var(--felt);
  font-weight: 700;
}
.flyer-desc {
  font-size: 0.98rem;
  color: #2a2420;
  margin: 0;
}
.tape {
  position: absolute;
  width: 70px;
  height: 24px;
  background: rgba(232, 223, 201, 0.35);
  border: 1px solid rgba(255,255,255,0.25);
  top: -10px;
}
.tape.left  { left: -18px; transform: rotate(-40deg); }
.tape.right { right: -18px; transform: rotate(40deg); }

/* ==========================================================================
   Wall of Fame — polaroid grid
   ========================================================================== */
.fame-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--sp-5) var(--sp-4);
  max-width: var(--container);
  margin: 0 auto;
}
.polaroid {
  width: 100%;
  max-width: 300px;
  background: var(--bone);
  padding: 0.65rem 0.65rem var(--sp-3);
  box-shadow: 0 14px 22px rgba(0,0,0,0.45);
  transform: rotate(var(--tilt, -2deg));
  transition: transform 0.25s ease;
}
.polaroid:hover { transform: rotate(0deg) scale(1.02); }
.polaroid:nth-child(2n) { --tilt: 2deg; }
.polaroid:nth-child(3n) { --tilt: -1deg; }
.polaroid:nth-child(4n) { --tilt: 1.5deg; }
.polaroid:nth-child(5n) { --tilt: -2.5deg; }

.polaroid-photo {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--void-2);
}
.polaroid-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.polaroid-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/></svg>");
  mix-blend-mode: overlay;
  opacity: 0.5;
}
.polaroid-photo.suit-spade   { background: linear-gradient(155deg, var(--void-3), var(--void)); }
.polaroid-photo.suit-heart   { background: linear-gradient(155deg, #5e1319, var(--void)); }
.polaroid-photo.suit-club    { background: linear-gradient(155deg, var(--felt), var(--void)); }
.polaroid-photo.suit-diamond { background: linear-gradient(155deg, #7a4a17, var(--void)); }

.polaroid-caption {
  padding: var(--sp-2) var(--sp-1) 0;
  text-align: center;
}
.polaroid-name {
  font-family: var(--font-label);
  letter-spacing: 0.06em;
  font-size: 1.05rem;
  color: var(--void);
}
.polaroid-note {
  font-family: var(--font-stamp);
  font-size: 0.82rem;
  color: var(--smoke);
  margin-top: 2px;
}

.fame-note {
  max-width: 640px;
  margin: var(--sp-6) auto 0;
  text-align: center;
  color: var(--bone-dim);
  font-family: var(--font-stamp);
  font-size: 0.95rem;
  border-top: 1px dashed var(--smoke);
  padding-top: var(--sp-3);
}

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  background: linear-gradient(120deg, var(--felt), #12362a 60%);
  padding: var(--sp-6) var(--sp-3);
  text-align: center;
  border-top: 3px solid var(--void);
  border-bottom: 3px solid var(--void);
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  margin-bottom: var(--sp-2);
}
.cta-band p { color: rgba(232,223,201,0.85); max-width: 560px; margin: 0 auto var(--sp-3); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--void-2);
  border-top: 3px solid var(--blood);
  padding: var(--sp-6) 0 var(--sp-4);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--sp-4);
  margin-bottom: var(--sp-5);
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--bone);
  margin-bottom: var(--sp-1);
}
.footer-brand span { color: var(--blood-bright); }
.footer-tag { color: var(--smoke); font-size: 0.92rem; }
.footer-col h3 {
  font-family: var(--font-label);
  letter-spacing: 0.12em;
  color: var(--rust-bright);
  font-size: 0.95rem;
  margin-bottom: var(--sp-2);
}
.footer-col p, .footer-col a { color: var(--bone-dim); font-size: 0.95rem; }
.footer-col a { display: inline-block; margin-top: 2px; }
.footer-col a:hover { color: var(--bone); }
.social-row { display: flex; gap: var(--sp-2); margin-top: var(--sp-2); }
.social-row a {
  border: 1px solid var(--smoke);
  border-radius: 50%;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-label);
  font-size: 0.85rem;
}
.social-row a:hover { border-color: var(--rust-bright); color: var(--rust-bright); }
.footer-bottom {
  border-top: 1px solid var(--void-3);
  padding-top: var(--sp-3);
  text-align: center;
  color: var(--smoke);
  font-size: 0.85rem;
}

@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-4); }
}

.page-hero.has-photo {
  position: relative;
  background: none;
  overflow: hidden;
  padding-top: var(--sp-8);
}
.page-hero.has-photo .hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero.has-photo .hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  filter: grayscale(1) contrast(1.1);
}
.page-hero.has-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,9,8,0.5) 0%, rgba(11,9,8,0.82) 65%, var(--void) 100%);
  z-index: 1;
}
.page-hero.has-photo > * { position: relative; z-index: 2; }

/* ==========================================================================
   Page intro (Events / Wall of Fame headers)
   ========================================================================== */
.page-hero {
  padding: var(--sp-6) var(--sp-3) var(--sp-5);
  text-align: center;
  background: linear-gradient(180deg, #1a1512, var(--void));
  border-bottom: 1px solid var(--void-3);
}
.page-hero .section-title { font-size: clamp(2.4rem, 6vw, 3.6rem); }
.page-hero .section-sub { max-width: 620px; margin: var(--sp-2) auto 0; }

/* ==========================================================================
   Mobile optimization
   ========================================================================== */

/* Prevent iOS text autosizing & accidental tap highlights */
html { -webkit-text-size-adjust: 100%; }
body { overflow-x: hidden; -webkit-tap-highlight-color: transparent; }

/* Wallpaper is a fixed pseudo-element (not background-attachment: fixed),
   which is iOS-safe and always sizes to the visible viewport. */
@media (max-width: 768px) {
  /* Pull the crop down slightly so the lit shelves sit center-screen */
  body.home-page::after { background-position: center 25%; }
}

@media (max-width: 720px) {
  /* Nav: bigger touch target + safe-area for notched phones */
  .nav-wrap {
    padding: calc(var(--sp-2) + env(safe-area-inset-top)) var(--sp-2) var(--sp-2);
  }
  .nav-toggle {
    padding: 0.6rem 0.9rem;
    font-size: 1rem;
  }
  .brand { font-size: 1.35rem; }
  .nav-logo-img { width: 28px; height: 28px; }
  .nav-wrap { gap: 0.5rem; }

  /* Hero: tighter padding, smaller logo, responsive type */
  .hero { padding: var(--sp-5) var(--sp-2) var(--sp-5); }
  .badge-logo { width: 140px; height: 140px; margin-bottom: var(--sp-3); }
  .neon { font-size: clamp(2.3rem, 13vw, 3.4rem); }
  .hero-eyebrow { font-size: 0.7rem; letter-spacing: 0.22em; padding: 0.3rem 0.7rem; }
  .tagline { font-size: 1rem; }
  .hero-meta { font-size: 0.85rem; }
  .hero-cta { gap: var(--sp-2); }
  .hero-cta .btn { width: 100%; max-width: 320px; text-align: center; }

  /* Sections: less vertical padding */
  .section { padding: var(--sp-5) 0; }
  .section-head { margin-bottom: var(--sp-4); }
  .section-title { font-size: clamp(1.7rem, 7vw, 2.2rem); }

  /* About card */
  .home-page .about-copy { padding: var(--sp-3); }

  /* Chips scale down */
  .chip { width: 150px; height: 150px; font-size: 1.9rem; }
  .chip:nth-child(2) { bottom: 34px; }
  .chip:nth-child(3) { bottom: 68px; }

  /* Feature cards */
  .feature-card { padding: var(--sp-3) var(--sp-2); }

  /* Flyers: keep tape inside the viewport */
  .board { padding: var(--sp-5) var(--sp-2); }
  .flyer { padding: var(--sp-3) var(--sp-2) var(--sp-2); }
  .flyer-title { font-size: 1.4rem; }
  .tape { width: 46px; height: 16px; }
  .tape.left { left: -6px; }
  .tape.right { right: -6px; }

  /* Page heroes */
  .page-hero { padding: var(--sp-5) var(--sp-2) var(--sp-4); }
  .page-hero.has-photo { padding-top: var(--sp-6); }

  /* CTA band */
  .cta-band { padding: var(--sp-5) var(--sp-2); }
  .cta-band .btn { width: 100%; max-width: 320px; text-align: center; }

  /* Footer */
  .site-footer { padding: var(--sp-5) 0 var(--sp-3); }
  .footer-grid { gap: var(--sp-4); }
}
