/* =====================================================
   Cannon-Behan Reunion 2026 — Stylesheet
   Modern, crisp, with warm rustic accents
   ===================================================== */

:root {
  /* warm base */
  --forest: #2f4a36;
  --forest-deep: #1f3525;
  --bark: #6b4423;
  --bark-deep: #4a2f18;
  --rust: #b25a35;

  /* modern grays */
  --slate-900: #1e2227;
  --slate-700: #3a434c;
  --slate-500: #6c7682;
  --slate-300: #c5cbd2;
  --slate-100: #eef0f3;

  /* surfaces */
  --bg: #f7f5f1;          /* off-white, warm gray */
  --surface: #ffffff;
  --surface-alt: #fafaf8;
  --ink: #20262c;
  --ink-soft: #5a626b;

  --shadow-sm: 0 1px 2px rgba(20, 26, 36, 0.05), 0 1px 3px rgba(20, 26, 36, 0.06);
  --shadow:    0 4px 14px rgba(20, 26, 36, 0.08);
  --shadow-lg: 0 16px 40px rgba(20, 26, 36, 0.12);

  --radius-sm: 8px;
  --radius:    12px;
  --radius-lg: 18px;
  --radius-pill: 999px;

  --font-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max-width: 1140px;
  --max-width-narrow: 760px;
  --nav-height: 68px;
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-height); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--rust); text-decoration: none; transition: color .2s; }
a:hover { color: var(--bark-deep); text-decoration: underline; }

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
  color: var(--slate-900);
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 600; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: var(--max-width-narrow); margin: 0 auto; padding: 0 24px; }

/* ---------- Sticky Nav (frosted glass) ---------- */
.topnav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 1px 0 rgba(20, 26, 36, 0.04), 0 4px 18px rgba(20, 26, 36, 0.05);
  height: var(--nav-height);
  display: flex;
  align-items: center;
}
/* Fallback for browsers without backdrop-filter */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .topnav { background: rgba(247, 245, 241, 0.95); }
}

.nav-inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--slate-900);
  letter-spacing: -0.01em;
}
.brand:hover { color: var(--rust); text-decoration: none; }
.brand-mark { width: auto; height: 34px; color: #000; }

.nav-links { display: flex; gap: 30px; }
.nav-links a {
  color: var(--slate-700);
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  position: relative;
  padding: 6px 0;
  transition: color .2s;
}
.nav-links a:hover { color: var(--slate-900); text-decoration: none; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--forest);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s;
}
.nav-links a:hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--slate-900);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}

/* ---------- Hero / Parallax ---------- */
/*
  IMAGE NOTES — to swap with specific Glacier National Park photos:
  1. Browse https://unsplash.com/s/photos/glacier-national-park
  2. Open a photo, copy its image URL (right-click → Copy image address)
  3. Replace the URL inside url(...) below.
  The fallback color/gradient ensures nothing looks broken if the image fails.
*/
.parallax {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-color: #2a3a3e;     /* dark slate fallback while image loads */
}
/* HERO BACKGROUND
   Save your Glacier photo as photos/hero.jpg in this folder.
   The dark slate fallback below shows until the file exists. */
.hero {
  background-color: #2a3a3e;
  background-image:
    linear-gradient(rgba(20,30,40,0.10), rgba(20,30,40,0.30)),
    url('photos/hero.jpg');
  background-position: center 60%;   /* favors lake/mountains over sky */
  position: relative;
  overflow: hidden;                  /* keep the watermark from bleeding out */
  min-height: 70vh;                  /* shorter than before (was 95vh) */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 90px 24px 60px;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 30, 40, 0.30) 0%, rgba(20, 30, 40, 0.55) 100%);
}
/* Large CB monogram watermark, sits behind the text */
.hero-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: clamp(300px, 62vh, 620px);
  width: auto;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}
/* Script logo title — Great Vibes from Google Fonts */
.hero-script {
  font-family: 'Great Vibes', cursive;
  font-weight: 400;
  font-size: clamp(4.2rem, 12vw, 8rem);
  line-height: 0.95;
  color: #fffbf5;                /* matches the SVG fill */
  text-shadow: 0 4px 28px rgba(0,0,0,0.45), 0 1px 2px rgba(0,0,0,0.25);
  margin: 0 0 6px;
  letter-spacing: 0;
}
.hero-year {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: rgba(255, 251, 245, 0.92);
  margin: 0 0 22px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.35);
}
.tagline {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 400;
  margin: 0 0 32px;
  opacity: 0.95;
  text-shadow: 0 1px 8px rgba(0,0,0,0.35);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 30px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius-pill);
  cursor: pointer;
  border: none;
  transition: transform .15s, box-shadow .2s, background .2s, color .2s;
  text-align: center;
}
.btn-primary {
  background: var(--forest);
  color: #fff;
  box-shadow: var(--shadow);
}
.btn-primary:hover {
  background: var(--forest-deep);
  color: #fff;
  transform: translateY(-1px);
  text-decoration: none;
  box-shadow: var(--shadow-lg);
}
.btn-secondary {
  background: var(--surface);
  color: var(--slate-900);
  border: 1px solid var(--slate-300);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  background: var(--slate-100);
  color: var(--slate-900);
  text-decoration: none;
}
.btn-ghost {
  background: transparent;
  color: var(--forest);
  border: 1.5px solid var(--forest);
  padding: 10px 22px;
  font-size: 0.9rem;
}
.btn-ghost:hover {
  background: var(--forest);
  color: #fff;
  text-decoration: none;
}

.scroll-cue {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.scroll-cue span {
  display: block;
  width: 22px;
  height: 36px;
  border: 2px solid rgba(255,255,255,0.85);
  border-radius: 12px;
  position: relative;
  opacity: 0.85;
}
.scroll-cue span::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: rgba(255,255,255,0.9);
  border-radius: 2px;
  animation: scrollPulse 1.8s infinite;
}
@keyframes scrollPulse {
  0% { transform: translate(-50%, 0); opacity: 1; }
  100% { transform: translate(-50%, 12px); opacity: 0; }
}

/* ---------- Sections ---------- */
.section {
  padding: 100px 0;
  background: var(--bg);
}
.section-title {
  text-align: center;
  margin-bottom: 8px;
}
.section-title-only {
  margin-bottom: 40px;     /* extra breathing room when there's no subhead */
}
.section-sub {
  text-align: center;
  color: var(--ink-soft);
  font-size: 1.1rem;
  margin: 0 0 56px;
}

/* ---------- Upcoming Reunion ---------- */
.section-upcoming { background: var(--surface); }
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 56px;
}
.info-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.info-card {
  background: var(--surface-alt);
  padding: 36px 28px;
  text-align: center;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-100);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.info-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--slate-300);
}
.info-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  color: var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
}
.info-icon svg { width: 100%; height: 100%; }
.info-card h3 {
  color: var(--slate-700);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
}
.info-card p {
  margin: 0 0 8px;
  color: var(--ink-soft);
  font-size: 0.96rem;
}
.info-card p:last-child { margin-bottom: 0; }
.card-headline {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--slate-900) !important;
  margin-bottom: 10px !important;
  line-height: 1.2;
}

/* Campground showcase */
.venue-showcase {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: center;
  background: var(--surface-alt);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 56px;
  border: 1px solid var(--slate-100);
}
.venue-text h3 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}
.venue-text p {
  color: var(--ink-soft);
  margin: 0 0 16px;
}
.venue-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.venue-images img {
  width: 100%;
  height: 100%;
  min-height: 130px;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--slate-100);
}
.venue-images img:first-child {
  grid-column: 1 / -1;
  height: 220px;
}

.schedule {
  background: var(--surface-alt);
  padding: 36px 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-100);
  max-width: 700px;
  margin: 0 auto;
}
.schedule h3 {
  text-align: center;
  margin-bottom: 24px;
  font-size: 1.4rem;
}
.schedule-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.schedule-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--slate-100);
  color: var(--ink-soft);
}
.schedule-list li:last-child { border: none; }
.schedule-list strong { color: var(--slate-900); display: inline-block; min-width: 150px; }

/* ---------- Parallax Breaks ---------- */
.parallax-break {
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Glacier NP — local photo behind the quote */
.parallax-2 {
  background-image:
    linear-gradient(rgba(20,30,40,0.10), rgba(20,30,40,0.25)),
    url('photos/hendrik-cornelissen--mid_image.jpg');
}
/* fallback Glacier-style mountain photo if 2 fails */
.parallax-3 {
  background-image:
    linear-gradient(rgba(20,30,40,0.10), rgba(20,30,40,0.25)),
    url('https://images.unsplash.com/photo-1469474968028-56623f02e42e?auto=format&fit=crop&w=2400&q=80');
}
.parallax-quote {
  background: transparent;
  padding: 0 24px;
  max-width: 900px;
}
.parallax-quote p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  line-height: 1.25;
  color: #fff;
  margin: 0;
  text-align: center;
  font-weight: 500;
  letter-spacing: 0.005em;
  /* Layered soft shadow — close glow for crispness, wider glow for legibility */
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.45),
    0 4px 14px rgba(0, 0, 0, 0.55),
    0 12px 40px rgba(0, 0, 0, 0.45);
}

/* ---------- Carousel (Past Reunion) ---------- */
.section-slideshow { background: var(--surface); }
.carousel {
  position: relative;
  background: var(--slate-900);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.carousel-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform .5s cubic-bezier(.65, 0, .35, 1);
}
.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform .35s ease;
}
.carousel-slide img:hover { transform: scale(1.02); }
.carousel-counter {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: white;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  z-index: 2;
  letter-spacing: 0.5px;
}
.carousel-expand-hint {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: white;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  z-index: 2;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .25s, transform .25s;
  pointer-events: none;
}
.carousel:hover .carousel-expand-hint {
  opacity: 1;
  transform: translateY(0);
}
.carousel-loading, .carousel-empty {
  flex: 0 0 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-300);
  font-style: italic;
  text-align: center;
  padding: 40px;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: none;
  color: var(--slate-900);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: background .2s, transform .15s;
  z-index: 2;
}
.carousel-btn:hover {
  background: white;
  transform: translateY(-50%) scale(1.05);
}
.carousel-btn svg { width: 22px; height: 22px; }
.carousel-prev { left: 16px; }
.carousel-next { right: 16px; }
.carousel-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .2s, transform .2s;
}
.carousel-dot.active {
  background: white;
  transform: scale(1.3);
}
.photo-note {
  text-align: center;
  color: var(--ink-soft);
  margin-top: 26px;
  font-size: 0.95rem;
}

/* ---------- T-Shirts ---------- */
.section-tshirts { background: var(--surface); padding-top: 28px; }
.section-tshirts .section-sub { margin-bottom: 14px; }
.shirt-meta {
  text-align: center;
  font-size: 1.05rem;
  margin: 0 0 36px;
  color: var(--ink-soft);
}
.shirt-meta p { margin: 0; }
.shirt-meta strong { color: var(--slate-900); }

/* ---------- Forms ---------- */
.form {
  background: var(--surface-alt);
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-100);
}
.form-row { margin-bottom: 18px; }
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.form-grid-2 .form-row { margin-bottom: 0; }
.form-grid-3 {
  display: grid;
  grid-template-columns: 1.4fr 1.4fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.form-grid-3 .form-row { margin-bottom: 0; }

label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--slate-700);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}
.req { color: var(--rust); }

input[type="text"], input[type="email"], input[type="tel"],
input[type="number"], select, textarea {
  width: 100%;
  padding: 11px 14px;
  font-family: var(--font-sans);
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
  transition: border-color .2s, box-shadow .2s;
}
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 38px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23495159' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><polyline points='1.5 1.5 6 6 10.5 1.5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 8px;
}
select::-ms-expand { display: none; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(47, 74, 54, 0.12);
}
textarea { resize: vertical; font-family: var(--font-sans); }

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.order-lines {
  border: 1px solid var(--slate-100);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 20px;
}
.order-lines-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--slate-900);
  margin: 0 0 4px;
}
.hint {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin: 4px 0 18px;
}
.shirt-line {
  display: grid;
  grid-template-columns: minmax(0, 2.6fr) minmax(0, 0.9fr) minmax(0, 1.1fr) auto;
  gap: 12px;
  align-items: end;
  padding: 12px 0;
  border-bottom: 1px solid var(--slate-100);
}
.shirt-line:last-of-type { border-bottom: none; }
.shirt-line label {
  font-size: 0.72rem;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--slate-500);
}
.remove-line {
  background: transparent;
  border: 1px solid var(--slate-300);
  color: var(--slate-500);
  width: 38px;
  height: 40px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  transition: all .2s;
}
.remove-line:hover {
  background: var(--rust);
  color: white;
  border-color: var(--rust);
}
.totals {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--slate-100);
  display: flex;
  justify-content: space-between;
  font-size: 0.98rem;
  color: var(--slate-700);
}
.totals strong { color: var(--slate-900); }

.form-status {
  margin: 16px 0 0;
  padding: 0;
  font-weight: 600;
  text-align: center;
  min-height: 1.5em;
}
.form-status.success { color: var(--forest); }
.form-status.error { color: var(--rust); }

/* ---------- Message Board ---------- */
.section-messages { background: var(--bg); }
.messages-list {
  margin-top: 50px;
}
.message-card {
  background: var(--surface);
  padding: 22px 26px;
  border-radius: var(--radius);
  margin-bottom: 14px;
  border: 1px solid var(--slate-100);
  box-shadow: var(--shadow-sm);
}
.message-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.message-author {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--slate-900);
}
.message-from { color: var(--ink-soft); font-size: 0.9rem; }
.message-date { color: var(--slate-500); font-size: 0.85rem; }
.message-body { margin: 0; color: var(--ink); white-space: pre-wrap; }
.loading { text-align: center; color: var(--ink-soft); }
.no-messages {
  text-align: center;
  padding: 30px;
  color: var(--ink-soft);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--slate-900);
  color: var(--slate-300);
  padding: 40px 0;
  text-align: center;
}
.site-footer p { margin: 4px 0; }
.site-footer .small { font-size: 0.9rem; opacity: 0.8; }
.site-footer a { color: white; }
.site-footer a:hover { color: var(--rust); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 12, 16, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 60px 80px;
  opacity: 0;
  transition: opacity .25s;
}
.lightbox.open {
  display: flex;
  opacity: 1;
}
.lightbox-stage {
  max-width: 100%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-stage img {
  max-width: 100%;
  max-height: calc(100vh - 120px);
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  cursor: zoom-out;
  animation: lightboxIn .3s ease;
}
@keyframes lightboxIn {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}
.lightbox-close, .lightbox-btn {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, transform .15s;
}
.lightbox-close:hover, .lightbox-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: scale(1.06);
}
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev  { left: 20px;  top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-prev:hover { transform: translateY(-50%) scale(1.06); }
.lightbox-next:hover { transform: translateY(-50%) scale(1.06); }
.lightbox-close svg, .lightbox-btn svg { width: 22px; height: 22px; }
.lightbox-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 1px;
  background: rgba(255, 255, 255, 0.08);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
body.lightbox-open { overflow: hidden; }

/* ---------- Mobile ---------- */
@media (max-width: 880px) {
  .info-grid-3 { grid-template-columns: 1fr; }
  .venue-showcase { grid-template-columns: 1fr; padding: 28px; }
  .venue-text { text-align: center; }
  .schedule { text-align: center; }
  .schedule-list li { text-align: center; }
}
@media (max-width: 768px) {
  .parallax { background-attachment: scroll; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    padding: 20px 24px;
    gap: 18px;
    border-bottom: 1px solid var(--slate-100);
    box-shadow: 0 8px 20px rgba(20, 26, 36, 0.08);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: transform .2s, opacity .2s;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  .form-grid-2 { grid-template-columns: 1fr; }
  .form-grid-3 { grid-template-columns: 1fr; }
  .shirt-line {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1.1fr) auto;
    gap: 8px;
  }
  .shirt-line .shirt-name-cell { grid-column: auto; }
  .shirt-line .shirt-gen-cell  { grid-column: auto; }
  .shirt-line select {
    padding-left: 10px;
    padding-right: 28px;
    background-position: right 8px center;
  }
  .shirt-line input[type="text"] {
    padding-left: 10px;
    padding-right: 10px;
  }
  .shirt-line .remove-line { width: 36px; }
  .form { padding: 24px 18px; }
  .section { padding: 64px 0; }
  .totals { flex-direction: column; gap: 6px; align-items: flex-start; }
  .carousel-btn { width: 38px; height: 38px; }
  .carousel-prev { left: 8px; }
  .carousel-next { right: 8px; }
  .schedule-list strong { display: block; min-width: 0; margin-bottom: 4px; }
  .lightbox { padding: 50px 12px; }
  .lightbox-close { top: 12px; right: 12px; }
  .lightbox-prev  { left: 8px; }
  .lightbox-next  { right: 8px; }
  .lightbox-close, .lightbox-btn { width: 40px; height: 40px; }
  .carousel-expand-hint { display: none; }
}
