/* ============================================================
   POWDER HOUSE BEND — Cards, Tiles & Content Blocks
   Matches navbar.css token system.
   Typeface: Syne. Accent: glacier #62c1db.
   Retro: cyan primary only — no color scatter.
   ============================================================ */

:root {
  --card-font:    'Syne', system-ui, -apple-system, sans-serif;
  --card-mono:    'Courier New', Courier, monospace;
  --card-accent:  #62c1db;
  --card-seam:    rgba(98, 193, 219, 0.22);
  --card-glow:    rgba(98, 193, 219, 0.18);
  --card-bg:      rgba(14, 20, 32, 0.92);
  --card-border:  rgba(255, 255, 255, 0.09);
  --card-text:    #e8f0f8;
  --card-muted:   rgba(220, 229, 240, 0.80);
  --card-r:       12px;
  --card-ease:    cubic-bezier(0.22, 1, 0.36, 1);
}


/* ════════════════════════════════════════════════════════════
   FEATURES SECTION
════════════════════════════════════════════════════════════ */
.features {
  padding: 4rem 2rem;
  background: transparent;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}


/* ════════════════════════════════════════════════════════════
   FEATURE CARD
════════════════════════════════════════════════════════════ */
.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  color: var(--card-text);

  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border: 1px solid var(--card-border);
  border-top: 2px solid transparent;
  border-radius: var(--card-r);

  box-shadow:
    0 2px 12px rgba(0, 0, 0, 0.25),
    0 1px 0 rgba(255, 255, 255, 0.03) inset;

  transition:
    transform    0.28s var(--card-ease),
    box-shadow   0.28s ease,
    border-color 0.28s ease,
    background   0.22s ease;

  z-index: 1;
}

/* Shimmer layer */
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.04) 0%,
    transparent 60%
  );
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.22s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-top-color: var(--card-accent);
  background: rgba(20, 28, 44, 0.97);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(98, 193, 219, 0.12),
    0 0 24px var(--card-glow);
}

.feature-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid var(--card-border);
  display: block;
}

.feature-content {
  padding: 1.5rem;
  position: relative;
  z-index: 1;
  flex: 1;
}

.feature-card h2 {
  font-family: var(--card-font);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--card-text);
  margin: 0 0 0.5rem;
}

.feature-card p {
  font-family: var(--card-font);
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--card-muted);
  margin: 0;
}


/* ════════════════════════════════════════════════════════════
   FULL IMAGE SECTION
════════════════════════════════════════════════════════════ */
.full-image-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  text-align: center;
}

.full-image-section img {
  max-width: 100%;
  height: auto;
  border-radius: var(--card-r);
}


/* ════════════════════════════════════════════════════════════
   PATIO BOX
════════════════════════════════════════════════════════════ */
.patio-box {
  position: relative;
  max-width: 1000px;
  margin: 3rem auto;
  padding: 2rem 2rem 2rem 2.25rem;

  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border: 1px solid var(--card-border);
  border-left: 3px solid var(--card-accent);
  border-radius: var(--card-r);

  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);

  font-family: var(--card-font);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--card-muted);
}

/* ════════════════════════════════════════════════════════════
   GALLERY GRID
════════════════════════════════════════════════════════════ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  padding: 3rem 1.5rem 5rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* First item spans 2 columns on wider screens for visual anchor */
@media (min-width: 900px) {
  .gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 2;
  }

  .gallery-item:first-child img {
    height: 100%;
    min-height: 480px;
  }
}


/* ════════════════════════════════════════════════════════════
   GALLERY ITEM
════════════════════════════════════════════════════════════ */
.gallery-item {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--card-r);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;

  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.03);

  transition:
    transform     0.26s var(--card-ease),
    box-shadow    0.26s ease,
    border-color  0.22s ease;
}

.gallery-item:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(98, 193, 219, 0.38);
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(98, 193, 219, 0.12),
    0 0 20px var(--card-glow);
}

.gallery-item:active {
  transform: scale(0.98);
}


/* ════════════════════════════════════════════════════════════
   IMAGE
════════════════════════════════════════════════════════════ */
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--card-ease);
}

.gallery-item:hover img {
  transform: scale(1.06);
}


/* ════════════════════════════════════════════════════════════
   LABEL
════════════════════════════════════════════════════════════ */
.gallery-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 0.85rem 0.7rem;
  background: linear-gradient(
    to top,
    rgba(4, 8, 16, 0.92) 0%,
    rgba(4, 8, 16, 0.55) 55%,
    transparent 100%
  );
  font-family: var(--card-font);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(220, 229, 240, 0.92);
  text-align: center;
  transform: translateY(2px);
  transition: transform 0.24s ease;
}

.gallery-label strong {
  display: block;
  font-size: 0.82rem;
  color: #fff;
  margin-bottom: 0.15rem;
  letter-spacing: 0.05em;
}

.gallery-item:hover .gallery-label {
  transform: translateY(0);
}

/* Accent top border reveal on hover */
.gallery-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--card-accent, #62c1db);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.gallery-item:hover::after {
  opacity: 1;
}




/* ════════════════════════════════════════════════════════════
   MOBILE
════════════════════════════════════════════════════════════ */

/* Tablet — tighter 2-col */
@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
    padding: 2rem 1rem 4rem;
  }
}

/* Mobile — 2 tight columns, labels always visible */
@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
    padding: 1.25rem 0.75rem 3rem;
  }

  .gallery-item {
    aspect-ratio: 1 / 1;
    border-radius: 8px;
  }

  /* No hover transform on touch — use tap feedback instead */
  .gallery-item:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
  }

  .gallery-item:active {
    transform: scale(0.96);
    border-color: rgba(98, 193, 219, 0.38);
  }

  .gallery-label {
    font-size: 0.64rem;
    letter-spacing: 0.04em;
    padding: 1.25rem 0.5rem 0.5rem;
  }

  .gallery-label strong {
    font-size: 0.70rem;
  }

  /* First item full width on small screens */
  .gallery-item:first-child {
    grid-column: span 2;
    aspect-ratio: 16 / 9;
  }
}

/* Very small screens */
@media (max-width: 380px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 1rem 0.75rem 2.5rem;
  }

  .gallery-item,
  .gallery-item:first-child {
    grid-column: span 1;
    aspect-ratio: 4 / 3;
  }
}

/* ════════════════════════════════════════════════════════════
   GLASS INFO BOX
════════════════════════════════════════════════════════════ */
.glass-box {
  position: relative;
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border: 1px solid var(--card-border);
  border-top: 2px solid var(--card-seam);
  border-radius: var(--card-r);

  margin: 3rem auto;
  padding: 2rem;
  max-width: 1000px;

  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset;
}

.glass-box h2 {
  font-family: var(--card-font);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--card-accent);
  margin: 0 0 1rem;
  letter-spacing: 0.01em;
}

.glass-box p {
  font-family: var(--card-font);
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--card-muted);
  margin: 0.8rem 0;
}

.glass-box ul li {
  font-family: var(--card-font);
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--card-muted);
  margin: 0.6rem 0;
}


/* ════════════════════════════════════════════════════════════
   FEATURED EVENTS SECTION
════════════════════════════════════════════════════════════ */
.featured-event {
  padding: 4rem 1.5rem;
  text-align: center;
  background: transparent;
}

.featured-heading {
  font-family: var(--card-font);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--card-text);
  margin: 0 0 2rem;
}

.featured-event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.featured-event-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  text-align: left;

  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border: 1px solid var(--card-border);
  border-top: 2px solid transparent;
  border-radius: var(--card-r);

  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition:
    transform    0.24s var(--card-ease),
    box-shadow   0.24s ease,
    border-color 0.22s ease;
}

.featured-event-box:hover {
  transform: translateY(-5px);
  background: rgba(18, 26, 42, 0.97);
  border-top-color: var(--card-accent);
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.3),
    0 0 18px var(--card-glow);
}

/* Image */
.featured-image-wrapper {
  margin-bottom: 1.25rem;
}

.featured-image {
  max-height: 140px;
  width: auto;
  margin: 0 auto;
  display: block;
  border-radius: 8px;
  transition: transform 0.22s var(--card-ease);
}

.featured-image:hover {
  transform: scale(1.02);
}

/* Title */
.featured-title {
  font-family: var(--card-font);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--card-text);
  margin: 0 0 0.5rem;
}

.featured-link {
  color: var(--card-text);
  text-decoration: none;
  transition: color 0.14s ease;
}

.featured-link:hover {
  color: var(--card-accent);
}

/* Date pill */
.featured-date {
  display: inline-block;
  font-family: var(--card-font);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-style: normal;

  color: var(--card-accent);
  background: rgba(98, 193, 219, 0.09);
  border: 1px solid rgba(98, 193, 219, 0.22);
  padding: 0.3rem 0.85rem;
  border-radius: 100px;
  margin: 0 0 1.25rem;
  box-shadow: none;
  transition: background 0.14s ease;
}

/* Description */
.featured-description {
  font-family: var(--card-font);
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--card-muted);
  margin: 0 0 1.25rem;
}

/* CTA button */
.featured-buttons { text-align: left; }

.featured-btn {
  display: inline-flex;
  align-items: center;
  font-family: var(--card-font);
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;

  color: var(--card-accent);
  background: rgba(98, 193, 219, 0.09);
  border: 1px solid rgba(98, 193, 219, 0.26);
  border-radius: 100px;
  padding: 0.45rem 1rem;

  transition:
    background    0.16s ease,
    border-color  0.16s ease,
    box-shadow    0.16s ease;
}

.featured-btn:hover {
  background: rgba(98, 193, 219, 0.16);
  border-color: rgba(98, 193, 219, 0.46);
  box-shadow: 0 0 14px rgba(98, 193, 219, 0.18);
}

/* View all link */
.featured-view-all-wrapper { margin-top: 2.5rem; }

.featured-view-all {
  display: inline-flex;
  align-items: center;
  font-family: var(--card-font);
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;

  color: var(--card-muted);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: 0.45rem 1.1rem;
  border-radius: 100px;

  transition:
    color         0.16s ease,
    background    0.16s ease,
    border-color  0.16s ease;
}

.featured-view-all:hover {
  color: var(--card-accent);
  background: rgba(98, 193, 219, 0.07);
  border-color: rgba(98, 193, 219, 0.28);
}


/* ============================================================
   POWDER HOUSE BEND — Cards, Tiles & Content Blocks
   Matches navbar.css token system.
   Typeface: Syne. Accent: glacier #62c1db.

   Retro palette (from buttons.css tokens):
     Phosphor green  #c8f135  — headings, active labels, strong CTA
     Amber           #ffb347  — date pills, hover accents, warm detail
     Tron blue       #00e5ff  — borders, body text, utility links
     Terminal black  #050a03  — all retro backgrounds
   ============================================================ */

:root {
  --card-font:    'Syne', system-ui, -apple-system, sans-serif;
  --card-mono:    'Courier New', Courier, monospace;
  --card-accent:  #62c1db;
  --card-seam:    rgba(98, 193, 219, 0.22);
  --card-glow:    rgba(98, 193, 219, 0.18);
  --card-bg:      rgba(14, 20, 32, 0.92);
  --card-border:  rgba(255, 255, 255, 0.09);
  --card-text:    #e8f0f8;
  --card-muted:   rgba(220, 229, 240, 0.80);
  --card-r:       12px;
  --card-ease:    cubic-bezier(0.22, 1, 0.36, 1);

  /* Retro tokens — keep in sync with buttons.css */
  --r-green:      #c8f135;
  --r-amber:      #ffb347;
  --r-blue:       #00e5ff;
  --r-bg:         #050a03;
  --r-green-rgb:  200, 241, 53;
  --r-amber-rgb:  255, 179, 71;
  --r-blue-rgb:   0, 229, 255;
}


/* ════════════════════════════════════════════════════════════
   FEATURES SECTION  (unchanged)
════════════════════════════════════════════════════════════ */
.features {
  padding: 4rem 2rem;
  background: transparent;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}


/* ════════════════════════════════════════════════════════════
   FEATURE CARD  (unchanged)
════════════════════════════════════════════════════════════ */
.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  color: var(--card-text);

  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border: 1px solid var(--card-border);
  border-top: 2px solid transparent;
  border-radius: var(--card-r);

  box-shadow:
    0 2px 12px rgba(0, 0, 0, 0.25),
    0 1px 0 rgba(255, 255, 255, 0.03) inset;

  transition:
    transform    0.28s var(--card-ease),
    box-shadow   0.28s ease,
    border-color 0.28s ease,
    background   0.22s ease;

  z-index: 1;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.22s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-top-color: var(--card-accent);
  background: rgba(20, 28, 44, 0.97);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(98, 193, 219, 0.12),
    0 0 24px var(--card-glow);
}

.feature-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid var(--card-border);
  display: block;
}

.feature-content {
  padding: 1.5rem;
  position: relative;
  z-index: 1;
  flex: 1;
}

.feature-card h2 {
  font-family: var(--card-font);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--card-text);
  margin: 0 0 0.5rem;
}

.feature-card p {
  font-family: var(--card-font);
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--card-muted);
  margin: 0;
}

/* ── Retro feature cards ──
   Heading   → phosphor green  (it's the card title, primary info)
   Body text → Tron blue dim   (supporting copy, lower hierarchy)
   Hover top border → phosphor green burst
*/
body.retro-mode .feature-card {
  background: rgba(var(--r-green-rgb), 0.02);
  border: 1px solid rgba(var(--r-blue-rgb), 0.22);
  border-top: 2px solid transparent;
  border-radius: 2px;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

body.retro-mode .feature-card:hover {
  border-top-color: var(--r-green);
  background: rgba(var(--r-green-rgb), 0.04);
  box-shadow:
    0 0 20px rgba(var(--r-green-rgb), 0.08),
    0 0 0 1px rgba(var(--r-green-rgb), 0.06);
  transform: translateY(-4px);
}

body.retro-mode .feature-card h2 {
  font-family: var(--card-mono);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--r-green);
  text-shadow:
    0 0 4px  rgba(var(--r-green-rgb), 0.90),
    0 0 14px rgba(var(--r-green-rgb), 0.40);
}

body.retro-mode .feature-card p {
  font-family: var(--card-mono);
  font-size: 0.78rem;
  color: rgba(var(--r-blue-rgb), 0.50);
  text-shadow: none;
  line-height: 1.65;
}

body.retro-mode .feature-card img {
  border-bottom-color: rgba(var(--r-blue-rgb), 0.15);
  /* Slight terminal tint on images */
  filter: brightness(0.88) saturate(0.75);
}


/* ════════════════════════════════════════════════════════════
   FULL IMAGE SECTION  (unchanged)
════════════════════════════════════════════════════════════ */
.full-image-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  text-align: center;
}

.full-image-section img {
  max-width: 100%;
  height: auto;
  border-radius: var(--card-r);
}


/* ════════════════════════════════════════════════════════════
   PATIO BOX  (unchanged normal)
════════════════════════════════════════════════════════════ */
.patio-box {
  position: relative;
  max-width: 1000px;
  margin: 3rem auto;
  padding: 2rem 2rem 2rem 2.25rem;

  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border: 1px solid var(--card-border);
  border-left: 3px solid var(--card-accent);
  border-radius: var(--card-r);

  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);

  font-family: var(--card-font);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--card-muted);
}

/* Left accent stripe = amber — it's an editorial callout */
body.retro-mode .patio-box {
  background: rgba(5, 10, 3, 0.88);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid rgba(var(--r-blue-rgb), 0.20);
  border-left: 3px solid var(--r-amber);
  border-radius: 2px;
  box-shadow: none;
  font-family: var(--card-mono);
  font-size: 0.85rem;
  color: rgba(var(--r-blue-rgb), 0.55);
}


/* ════════════════════════════════════════════════════════════
   GALLERY GRID  (unchanged)
════════════════════════════════════════════════════════════ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  padding: 3rem 1.5rem 5rem;
  max-width: 1400px;
  margin: 0 auto;
}

@media (min-width: 900px) {
  .gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 2;
  }
  .gallery-item:first-child img {
    height: 100%;
    min-height: 480px;
  }
}


/* ════════════════════════════════════════════════════════════
   GALLERY ITEM  (unchanged normal)
════════════════════════════════════════════════════════════ */
.gallery-item {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--card-r);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;

  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.03);

  transition:
    transform    0.26s var(--card-ease),
    box-shadow   0.26s ease,
    border-color 0.22s ease;
}

.gallery-item:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(98, 193, 219, 0.38);
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(98, 193, 219, 0.12),
    0 0 20px var(--card-glow);
}

.gallery-item:active { transform: scale(0.98); }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--card-ease);
}

.gallery-item:hover img { transform: scale(1.06); }

.gallery-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem 0.85rem 0.7rem;
  background: linear-gradient(
    to top,
    rgba(4, 8, 16, 0.92) 0%,
    rgba(4, 8, 16, 0.55) 55%,
    transparent 100%
  );
  font-family: var(--card-font);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(220, 229, 240, 0.92);
  text-align: center;
  transform: translateY(2px);
  transition: transform 0.24s ease;
}

.gallery-label strong {
  display: block;
  font-size: 0.82rem;
  color: #fff;
  margin-bottom: 0.15rem;
  letter-spacing: 0.05em;
}

.gallery-item:hover .gallery-label { transform: translateY(0); }

.gallery-item::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--card-accent, #62c1db);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.gallery-item:hover::after { opacity: 1; }

/* ── Retro gallery ──
   Border/glow → Tron blue  (structural chrome)
   Top stripe  → phosphor green on hover (content highlight)
   Label text  → phosphor green bright   (legible over image)
   Image       → desaturated, dim        (CRT phosphor look)
*/
body.retro-mode .gallery-item {
  background: rgba(var(--r-green-rgb), 0.015);
  border: 1px solid rgba(var(--r-blue-rgb), 0.18);
  border-radius: 2px;
  box-shadow: none;
}

body.retro-mode .gallery-item:hover {
  transform: translateY(-3px) scale(1.01);
  border-color: rgba(var(--r-blue-rgb), 0.45);
  box-shadow: 0 0 20px rgba(var(--r-blue-rgb), 0.10);
}

body.retro-mode .gallery-item::after {
  background: var(--r-green);
}

body.retro-mode .gallery-item img {
  filter: brightness(0.82) saturate(0.65) sepia(0.10);
  transition: transform 0.5s var(--card-ease), filter 0.3s ease;
}

body.retro-mode .gallery-item:hover img {
  filter: brightness(0.90) saturate(0.80) sepia(0.08);
}

body.retro-mode .gallery-label {
  font-family: var(--card-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: rgba(var(--r-green-rgb), 0.75);
  background: linear-gradient(
    to top,
    rgba(5, 10, 3, 0.95) 0%,
    transparent 100%
  );
}

body.retro-mode .gallery-label strong {
  color: var(--r-green);
  text-shadow:
    0 0 4px  rgba(var(--r-green-rgb), 0.90),
    0 0 12px rgba(var(--r-green-rgb), 0.40);
}


/* ════════════════════════════════════════════════════════════
   GLASS INFO BOX  (unchanged normal)
════════════════════════════════════════════════════════════ */
.glass-box {
  position: relative;
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border: 1px solid var(--card-border);
  border-top: 2px solid var(--card-seam);
  border-radius: var(--card-r);

  margin: 3rem auto;
  padding: 2rem;
  max-width: 1000px;

  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset;
}

.glass-box h2 {
  font-family: var(--card-font);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--card-accent);
  margin: 0 0 1rem;
  letter-spacing: 0.01em;
}

.glass-box p {
  font-family: var(--card-font);
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--card-muted);
  margin: 0.8rem 0;
}

.glass-box ul li {
  font-family: var(--card-font);
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--card-muted);
  margin: 0.6rem 0;
}

/* Retro glass box —
   Top stripe → Tron blue (it's a system panel, structural)
   Heading    → phosphor green (primary info)
   Body/list  → Tron blue dim (supporting copy)
*/
body.retro-mode .glass-box {
  background: rgba(5, 10, 3, 0.92);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid rgba(var(--r-blue-rgb), 0.28);
  border-top: 2px solid var(--r-blue);
  border-radius: 2px;
  box-shadow:
    0 0 0 1px rgba(var(--r-blue-rgb), 0.05),
    0 0 24px rgba(var(--r-blue-rgb), 0.07);
}

body.retro-mode .glass-box h2 {
  font-family: var(--card-mono);
  font-size: 0.88rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--r-green);
  text-shadow:
    0 0 4px  rgba(var(--r-green-rgb), 0.90),
    0 0 16px rgba(var(--r-green-rgb), 0.40);
}

body.retro-mode .glass-box p {
  font-family: var(--card-mono);
  font-size: 0.80rem;
  color: rgba(var(--r-blue-rgb), 0.52);
  text-shadow: none;
  line-height: 1.7;
}

body.retro-mode .glass-box ul li {
  font-family: var(--card-mono);
  font-size: 0.80rem;
  color: rgba(var(--r-blue-rgb), 0.48);
  text-shadow: none;
}


/* ════════════════════════════════════════════════════════════
   FEATURED EVENTS  (unchanged normal)
════════════════════════════════════════════════════════════ */
.featured-event {
  padding: 4rem 1.5rem;
  text-align: center;
  background: transparent;
}

.featured-heading {
  font-family: var(--card-font);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--card-text);
  margin: 0 0 2rem;
}

.featured-event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.featured-event-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  text-align: left;

  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border: 1px solid var(--card-border);
  border-top: 2px solid transparent;
  border-radius: var(--card-r);

  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition:
    transform    0.24s var(--card-ease),
    box-shadow   0.24s ease,
    border-color 0.22s ease;
}

.featured-event-box:hover {
  transform: translateY(-5px);
  background: rgba(18, 26, 42, 0.97);
  border-top-color: var(--card-accent);
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.3),
    0 0 18px var(--card-glow);
}

.featured-image-wrapper { margin-bottom: 1.25rem; }

.featured-image {
  max-height: 140px;
  width: auto;
  margin: 0 auto;
  display: block;
  border-radius: 8px;
  transition: transform 0.22s var(--card-ease);
}

.featured-image:hover { transform: scale(1.02); }

.featured-title {
  font-family: var(--card-font);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--card-text);
  margin: 0 0 0.5rem;
}

.featured-link {
  color: var(--card-text);
  text-decoration: none;
  transition: color 0.14s ease;
}

.featured-link:hover { color: var(--card-accent); }

.featured-date {
  display: inline-block;
  font-family: var(--card-font);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-style: normal;
  color: var(--card-accent);
  background: rgba(98, 193, 219, 0.09);
  border: 1px solid rgba(98, 193, 219, 0.22);
  padding: 0.3rem 0.85rem;
  border-radius: 100px;
  margin: 0 0 1.25rem;
  transition: background 0.14s ease;
}

.featured-description {
  font-family: var(--card-font);
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--card-muted);
  margin: 0 0 1.25rem;
}

.featured-buttons { text-align: left; }

.featured-btn {
  display: inline-flex;
  align-items: center;
  font-family: var(--card-font);
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--card-accent);
  background: rgba(98, 193, 219, 0.09);
  border: 1px solid rgba(98, 193, 219, 0.26);
  border-radius: 100px;
  padding: 0.45rem 1rem;
  transition:
    background   0.16s ease,
    border-color 0.16s ease,
    box-shadow   0.16s ease;
}

.featured-btn:hover {
  background: rgba(98, 193, 219, 0.16);
  border-color: rgba(98, 193, 219, 0.46);
  box-shadow: 0 0 14px rgba(98, 193, 219, 0.18);
}

.featured-view-all-wrapper { margin-top: 2.5rem; }

.featured-view-all {
  display: inline-flex;
  align-items: center;
  font-family: var(--card-font);
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--card-muted);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: 0.45rem 1.1rem;
  border-radius: 100px;
  transition:
    color        0.16s ease,
    background   0.16s ease,
    border-color 0.16s ease;
}

.featured-view-all:hover {
  color: var(--card-accent);
  background: rgba(98, 193, 219, 0.07);
  border-color: rgba(98, 193, 219, 0.28);
}

/* ── Retro featured events ──
   Section heading  → phosphor green   (page-level title)
   Card border      → Tron blue        (structural chrome)
   Card hover top   → phosphor green   (selection indicator)
   Event title      → phosphor green   (primary card content)
   Title link hover → amber            (warm = "go there")
   Date pill        → amber            (time = urgency/warmth)
   Description      → Tron blue dim    (supporting copy)
   CTA btn          → phosphor green   (action)
   View all         → Tron blue dim    (low-priority nav)
*/
body.retro-mode .featured-event { background: transparent; }

body.retro-mode .featured-heading {
  font-family: var(--card-mono);
  font-size: 1rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--r-green);
  text-shadow:
    0 0 6px  rgba(var(--r-green-rgb), 0.90),
    0 0 20px rgba(var(--r-green-rgb), 0.35);
}

body.retro-mode .featured-event-box {
  background: rgba(var(--r-green-rgb), 0.015);
  border: 1px solid rgba(var(--r-blue-rgb), 0.20);
  border-top: 2px solid transparent;
  border-radius: 2px;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.retro-mode .featured-event-box:hover {
  border-top-color: var(--r-green);
  background: rgba(var(--r-green-rgb), 0.04);
  box-shadow:
    0 0 18px rgba(var(--r-green-rgb), 0.07),
    0 0 0 1px rgba(var(--r-green-rgb), 0.05);
  transform: translateY(-4px);
}

body.retro-mode .featured-title {
  font-family: var(--card-mono);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--r-green);
  text-shadow:
    0 0 4px  rgba(var(--r-green-rgb), 0.90),
    0 0 12px rgba(var(--r-green-rgb), 0.40);
}

/* Link hover → amber: warm pull, distinct from the green heading */
body.retro-mode .featured-link { color: var(--r-green); }
body.retro-mode .featured-link:hover {
  color: var(--r-amber);
  text-shadow: 0 0 8px rgba(var(--r-amber-rgb), 0.55);
}

/* Date pill → amber: time has urgency/warmth */
body.retro-mode .featured-date {
  font-family: var(--card-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--r-amber);
  background: rgba(var(--r-amber-rgb), 0.06);
  border: 1px solid rgba(var(--r-amber-rgb), 0.28);
  border-radius: 2px;
  text-shadow: 0 0 6px rgba(var(--r-amber-rgb), 0.40);
}

body.retro-mode .featured-description {
  font-family: var(--card-mono);
  font-size: 0.78rem;
  color: rgba(var(--r-blue-rgb), 0.46);
  text-shadow: none;
  line-height: 1.7;
}

/* CTA → phosphor green: "do the action" */
body.retro-mode .featured-btn {
  font-family: var(--card-mono);
  font-size: 0.64rem;
  letter-spacing: 0.10em;
  background: rgba(var(--r-green-rgb), 0.05);
  color: rgba(var(--r-green-rgb), 0.75);
  border: 1px solid rgba(var(--r-green-rgb), 0.30);
  border-radius: 2px;
}

body.retro-mode .featured-btn:hover {
  color: var(--r-green);
  border-color: rgba(var(--r-green-rgb), 0.70);
  background: rgba(var(--r-green-rgb), 0.08);
  text-shadow:
    0 0 4px  rgba(var(--r-green-rgb), 1.0),
    0 0 12px rgba(var(--r-green-rgb), 0.45);
  box-shadow: none;
}

/* View all → Tron blue dim: low-priority navigation */
body.retro-mode .featured-view-all {
  font-family: var(--card-mono);
  font-size: 0.64rem;
  letter-spacing: 0.10em;
  color: rgba(var(--r-blue-rgb), 0.40);
  background: transparent;
  border: 1px solid rgba(var(--r-blue-rgb), 0.18);
  border-radius: 2px;
}

body.retro-mode .featured-view-all:hover {
  color: var(--r-blue);
  border-color: rgba(var(--r-blue-rgb), 0.50);
  background: rgba(var(--r-blue-rgb), 0.06);
  text-shadow: 0 0 8px rgba(var(--r-blue-rgb), 0.45);
}

body.retro-mode .featured-image {
  filter: brightness(0.85) saturate(0.65) sepia(0.12);
}


/* ════════════════════════════════════════════════════════════
   RESPONSIVE  (unchanged)
════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .featured-heading     { font-size: 1.6rem; }
  .featured-title       { font-size: 1.1rem; }
  .featured-description { font-size: 0.85rem; }
  .patio-box,
  .glass-box            { padding: 1.5rem; }
  .gallery-grid         { padding: 2rem 1rem; gap: 1rem; }
  .feature-card img     { height: 180px; }
  .feature-card h2      { font-size: 1rem; }
  .feature-card p       { font-size: 0.84rem; }
  .glass-box h2         { font-size: 1.2rem; }
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
    padding: 2rem 1rem 4rem;
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
    padding: 1.25rem 0.75rem 3rem;
  }
  .gallery-item {
    aspect-ratio: 1 / 1;
    border-radius: 8px;
  }
  .gallery-item:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
  }
  .gallery-item:active {
    transform: scale(0.96);
    border-color: rgba(98, 193, 219, 0.38);
  }
  .gallery-label        { font-size: 0.64rem; letter-spacing: 0.04em; padding: 1.25rem 0.5rem 0.5rem; }
  .gallery-label strong { font-size: 0.70rem; }
  .gallery-item:first-child { grid-column: span 2; aspect-ratio: 16 / 9; }
}

@media (max-width: 380px) {
  .gallery-grid { grid-template-columns: 1fr; gap: 0.75rem; padding: 1rem 0.75rem 2.5rem; }
  .gallery-item,
  .gallery-item:first-child { grid-column: span 1; aspect-ratio: 4 / 3; }
}


/* ────────────────────────────────────────────────────────────
   REDUCED MOTION
──────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .feature-card,
  .gallery-item,
  .gallery-item img,
  .featured-event-box,
  .featured-image,
  .featured-btn,
  .featured-view-all {
    transition: none !important;
    animation: none !important;
  }
}
/* ════════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .featured-heading  { font-size: 1.6rem; }
  .featured-title    { font-size: 1.1rem; }
  .featured-description { font-size: 0.85rem; }

  .patio-box,
  .glass-box         { padding: 1.5rem; }

  .gallery-grid      { padding: 2rem 1rem; gap: 1rem; }

  .feature-card img  { height: 180px; }
  .feature-card h2   { font-size: 1rem; }
  .feature-card p    { font-size: 0.84rem; }

  .glass-box h2      { font-size: 1.2rem; }
}


/* ────────────────────────────────────────────────────────────
   REDUCED MOTION
──────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .feature-card,
  .gallery-item,
  .gallery-item img,
  .featured-event-box,
  .featured-image,
  .featured-btn,
  .featured-view-all {
    transition: none !important;
    animation: none !important;
  }
}