/* WinnipegBouncyCastle - Design System & Layout
   Run locally: open index.html or use a simple live server */

@import url('https://fonts.googleapis.com/css2?family=PT+Sans+Narrow:wght@400;700&display=swap');

/* ========== RESET & BASE ========== */
*, *::before, *::after {
  box-sizing: border-box;
  max-width: 100%;
}
html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
body {
  margin: 0;
  font-family: 'PT Sans Narrow', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1rem;
  line-height: var(--line-height-body);
  color: var(--text-body);
  background: linear-gradient(160deg, var(--blue) 0%, var(--purple) 50%, var(--white) 100%);
  min-height: 100vh;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  letter-spacing: var(--letter-spacing-body);
}

:root {
  /* Colors */
  --teal: #00b4d8;
  --blue: #0077b6;
  --blue-bright: #0096c7;
  --purple: #7b2cbf;
  --purple-dark: #5a189a;
  --pink: #ff3b81;
  --pink-light: #ff6b9d;
  --lime: #bfff00;
  --lime-soft: #ccff33;
  --orange: #ff9f1c;
  --white: #ffffff;
  --black: #1a1a1a;
  --gray: #3d3d3d;
  /* Readability */
  --text-body: #252525;
  --line-height-body: 1.65;
  --line-height-tight: 1.35;
  --line-height-loose: 1.7;
  --letter-spacing-body: 0.01em;
  --max-width-read: 65ch;
  /* Typography */
  --font-heading: 'PT Sans Narrow', sans-serif;
  --font-body: 'PT Sans Narrow', sans-serif;
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  /* Radii */
  --radius-pill: 50px;
  --radius-card: 16px;
  --radius-btn: 50px;
  /* Shadows */
  --shadow-soft: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-card: 0 6px 24px rgba(0,0,0,0.1);
  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --duration: 0.3s;
}

body { font-family: var(--font-body); }
h1, h2, h3, h4, .font-heading { font-family: var(--font-heading); }

img {
  max-width: 100%;
  height: auto;
  display: block;
  -webkit-user-select: none;
  user-select: none;
}
a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: rgba(0,0,0,0.1);
}
table { width: 100%; table-layout: fixed; }
iframe, video, embed, object { max-width: 100%; }

/* Readability: paragraphs and text blocks */
p {
  line-height: var(--line-height-body);
  margin: 0 0 var(--space-sm);
}
p:last-child { margin-bottom: 0; }
.readable-width { max-width: var(--max-width-read); }

/* ========== LAYOUT ========== */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

/* ========== HEADER – FLOATING SEPARATE SECTION ========== */
.site-header {
  position: fixed;
  top: var(--space-md);
  left: var(--space-md);
  right: var(--space-md);
  z-index: 100;
  background: linear-gradient(90deg, var(--teal) 0%, var(--blue) 45%, var(--purple) 100%);
  padding: var(--space-xs) var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: box-shadow var(--duration) var(--ease), background var(--duration) var(--ease);
  width: calc(100% - 2 * var(--space-md));
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  border-radius: var(--radius-card);
  box-shadow:
    0 10px 30px rgba(0,0,0,0.15),
    0 4px 12px rgba(0,0,0,0.08),
    inset 0 1px 0 rgba(255,255,255,0.15);
}
.site-header.scrolled {
  box-shadow:
    0 10px 30px rgba(0,0,0,0.2),
    0 4px 12px rgba(0,0,0,0.1),
    inset 0 1px 0 rgba(255,255,255,0.15);
  background: linear-gradient(90deg, var(--teal) 0%, var(--blue) 45%, var(--purple) 100%);
  backdrop-filter: blur(10px);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  flex-wrap: nowrap;
  gap: var(--space-sm);
}

.logo-link {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--black);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0;
}
.logo-link img { height: 56px; width: auto; min-width: 56px; display: block; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; margin: 0; color: var(--black); }
.logo-text span:last-child { font-size: 0.72em; color: var(--white); }
@media (min-width: 768px) {
  .logo-link { font-size: 1.35rem; }
  .logo-link img { height: 64px; min-width: 64px; }
}
.site-header .header-actions .btn {
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}
.header-call {
  white-space: nowrap;
}
.hamburger {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--lime);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}
.hamburger:hover { transform: scale(1.05); box-shadow: var(--shadow-hover); }
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--black);
  position: relative;
  transition: var(--duration) var(--ease);
}
.hamburger span::before,
.hamburger span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--black);
  top: -6px;
}
.hamburger span::after { top: 6px; }
.hamburger.open span { background: transparent; }
.hamburger.open span::before { top: 0; transform: rotate(45deg); }
.hamburger.open span::after { top: 0; transform: rotate(-45deg); }

/* Tour Dates CTA in header (optional, visible on desktop) */
.header-cta {
  display: none;
}
@media (min-width: 768px) {
  .header-cta { display: inline-block; }
}

/* ========== NAV OVERLAY (FULL HEIGHT, RIGHT) ========== */
.nav-overlay {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 320px;
  height: 100vh;
  background: var(--purple);
  z-index: 110;
  padding: var(--space-2xl) var(--space-lg);
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  overflow-y: auto;
  box-shadow: -10px 0 40px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
}
.nav-overlay.open { transform: translateX(0); }
.nav-overlay .nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}
.nav-overlay .nav-list li { margin-bottom: var(--space-sm); }
.nav-overlay .nav-list a {
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.4;
  display: block;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  transition: color var(--duration), padding-left var(--duration);
  letter-spacing: 0.02em;
}
.nav-overlay .nav-list a:hover,
.nav-overlay .nav-list a.active { color: var(--lime); padding-left: var(--space-sm); }
.nav-overlay .nav-list a.active { font-weight: 800; }

.nav-close {
  margin-top: var(--space-2xl);
  margin-left: auto;
  margin-right: auto;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--black);
  font-size: 2rem;
  line-height: 1;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease), background var(--duration);
  box-shadow: var(--shadow);
  flex-shrink: 0;
}
.nav-close:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-hover);
  background: #fff;
}
.nav-close span { display: block; margin-top: -0.15em; pointer-events: none; }

.overlay-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 105;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.overlay-backdrop.open { opacity: 1; visibility: visible; }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.75rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease), background var(--duration);
}
.btn-primary {
  background: var(--blue-bright);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--blue);
  transform: translateY(-2px);
}
.btn-pink {
  background: var(--pink);
  color: var(--white);
}
.btn-pink:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  width: 100%;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: var(--space-2xl) var(--space-md);
  overflow: hidden;
}
.hero--blue {
  background: linear-gradient(135deg, var(--blue) 0%, var(--teal) 100%);
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}
.hero--pink {
  background: var(--pink);
  clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
}
.hero--angled {
  background: linear-gradient(160deg, var(--blue) 0%, var(--purple) 50%, var(--white) 100%);
  clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
}
.hero__content { position: relative; z-index: 2; width: 100%; max-width: 1200px; margin: 0 auto; }
.hero__headline {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  color: var(--white);
  margin: 0 0 var(--space-md);
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  max-width: 14ch;
  word-break: break-word;
  overflow-wrap: break-word;
}
.hero__subtext {
  color: rgba(255,255,255,0.98);
  font-size: 1.0625rem;
  line-height: var(--line-height-loose);
  max-width: 42ch;
  margin-bottom: var(--space-xl);
  word-break: break-word;
  overflow-wrap: break-word;
  letter-spacing: 0.02em;
}
.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  width: 100%;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  object-fit: cover;
  opacity: 0.35;
}
.hero__bg-wrap { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__bg-wrap img { width: 100%; height: 120%; object-fit: cover; opacity: 0.4; transform: translateY(0); transition: transform 0.1s ease-out; }
.hero__bg-wrap.parallax-bg img { will-change: transform; }

/* Diagonal separator after hero */
.section-sep {
  height: 60px;
  background: var(--purple);
  clip-path: polygon(0 0, 100% 100%, 100% 100%, 0 100%);
  margin-top: -1px;
}
.section-sep--lime { background: var(--lime); }
.section-sep--up { clip-path: polygon(0 100%, 100% 0, 100% 100%, 0 100%); }

/* ========== SECTIONS ========== */
section {
  padding: var(--space-2xl) 0;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}
.section-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  line-height: var(--line-height-tight);
  text-align: center;
  margin-bottom: var(--space-xl);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}
.bg-purple { background: var(--purple); color: var(--white); }
.bg-purple .section-title { color: var(--white); }
.bg-lime { background: var(--lime); color: var(--black); }
.bg-lime .section-title { color: var(--black); }
.bg-teal { background: var(--teal); color: var(--white); }
.bg-pink { background: var(--pink-light); color: var(--black); }

/* ========== CARDS ========== */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  max-width: 1200px;
  margin: 0 auto;
}
@media (min-width: 600px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .card-grid { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: rgba(255,255,255,0.95);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
  will-change: transform;
}
.card.revealed {
  animation: cardSlideUp 0.7s var(--ease) forwards;
}
@keyframes cardSlideUp {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.card:hover {
  transform: translateY(-6px) rotate(1deg) scale(1.02);
  box-shadow: var(--shadow-hover);
}
.card__image {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--purple-dark);
  width: 100%;
}
.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.card__body { padding: var(--space-lg); }
.card__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.125rem;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: var(--space-xs);
  color: var(--black);
}
.card__badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}
.card__badge--purple { background: var(--purple-dark); color: var(--white); }
.card__badge--pink { background: var(--pink); color: var(--white); }
.card__text {
  font-size: 1rem;
  line-height: var(--line-height-body);
  color: var(--gray);
  margin: 0;
  letter-spacing: var(--letter-spacing-body);
}

/* ========== 3D TILE CARDS (Homepage services) ========== */
.tiles-3d-section {
  padding: var(--space-2xl) 0;
  background: linear-gradient(180deg, var(--lime) 0%, var(--lime) 85%, var(--orange) 100%);
  min-height: 100vh;
}
.tiles-3d-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  max-width: 1100px;
  margin: 0 auto;
}
@media (min-width: 600px) {
  .tiles-3d-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .tiles-3d-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .tiles-3d-grid { grid-template-columns: repeat(4, 1fr); }
}
.tile-3d {
  background: linear-gradient(145deg, #e8f0d4 0%, #d4e4b8 100%);
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 10px 30px rgba(0,0,0,0.12),
    0 4px 12px rgba(0,0,0,0.08),
    inset 0 1px 0 rgba(255,255,255,0.6);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
  will-change: transform;
}
.tile-3d:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 20px 40px rgba(0,0,0,0.18),
    0 8px 20px rgba(0,0,0,0.1),
    inset 0 1px 0 rgba(255,255,255,0.6);
}
.tile-3d.revealed {
  animation: tilePopIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes tilePopIn {
  0% {
    opacity: 0;
    transform: scale(0.8) translateY(30px);
  }
  60% {
    transform: scale(1.05) translateY(-5px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
.tile-3d__inner { padding: var(--space-md); }
a.tile-3d__inner { display: block; text-decoration: none; color: inherit; }
.tile-3d__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.0625rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--black);
  margin: 0 0 var(--space-sm);
  line-height: 1.25;
}
.tile-3d__image-wrap {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--purple-dark);
  margin-bottom: var(--space-sm);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  width: 100%;
}
.tile-3d__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tile-3d__badge {
  display: inline-block;
  background: var(--purple-dark);
  color: var(--white);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-sm);
}
.tile-3d__desc {
  font-size: 0.9375rem;
  line-height: var(--line-height-body);
  color: var(--gray);
  margin: 0;
  transform: rotate(-0.5deg);
  letter-spacing: var(--letter-spacing-body);
}
.tiles-3d-section .btn-learn-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: var(--space-xl);
  padding: 0.875rem 1.5rem;
  background: #6b7280;
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}
.tiles-3d-section .btn-learn-more:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

/* ========== SERVICES LIST ========== */
.services-section { padding: var(--space-2xl) 0; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--space-sm);
  max-width: 1000px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}
.services-grid li {
  background: rgba(255,255,255,0.95);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-card);
  font-family: var(--font-heading);
  font-weight: 700;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}
.services-grid li:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.services-grid a { color: inherit; text-decoration: none; }
.footer-contact a { display: inline-block; margin-bottom: 0.35rem; }
.footer-contact .footer-address {
  list-style: none;
  margin-top: 0.5rem;
  margin-bottom: 0;
  color: rgba(255,255,255,0.92);
  font-size: 1rem;
  line-height: 1.6;
}

/* ========== TESTIMONIALS ========== */
.testimonials { padding: var(--space-2xl) var(--space-md); }
.testimonials .container { max-width: 900px; margin: 0 auto; }
.testimonial-bubble {
  background: rgba(255,255,255,0.2);
  border-radius: 24px;
  padding: var(--space-xl);
  margin-bottom: var(--space-lg);
  position: relative;
  border: 2px solid rgba(255,255,255,0.3);
  transition: transform var(--duration) var(--ease);
  will-change: transform;
}
.testimonial-bubble.revealed {
  animation: bubbleFloat 0.8s var(--ease) forwards;
}
@keyframes bubbleFloat {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.testimonial-bubble:hover { transform: scale(1.02) translateY(-3px); }
.testimonial-bubble::before {
  content: '"';
  font-size: 4rem;
  font-family: var(--font-heading);
  color: rgba(255,255,255,0.4);
  position: absolute;
  top: 10px;
  left: 20px;
}
.testimonial-bubble p {
  font-size: 1.1875rem;
  line-height: var(--line-height-loose);
  font-weight: 700;
  color: var(--white);
  margin: 0 0 var(--space-sm);
  padding-left: var(--space-md);
  letter-spacing: 0.01em;
}
.testimonial-bubble cite {
  color: rgba(255,255,255,0.95);
  font-style: normal;
  font-size: 1rem;
  line-height: 1.4;
  padding-left: var(--space-md);
}

/* ========== EVENT UPDATES CTA ========== */
.event-updates-cta {
  text-align: center;
  padding: var(--space-2xl) var(--space-md);
  background: var(--purple-dark);
  clip-path: polygon(0 5%, 100% 0, 100% 100%, 0 100%);
  color: var(--white);
}
.event-updates-cta .section-title { color: var(--white); margin-bottom: var(--space-sm); }
.event-updates-cta p {
  font-size: 1.0625rem;
  line-height: var(--line-height-loose);
  margin-bottom: var(--space-lg);
  color: rgba(255,255,255,0.98);
  max-width: var(--max-width-read);
  margin-left: auto;
  margin-right: auto;
}

/* ========== FOOTER – FLOATING TILE ========== */
.site-footer {
  position: relative;
  z-index: 1;
  background: var(--purple-dark);
  color: var(--white);
  padding: var(--space-2xl) var(--space-md) var(--space-lg);
  margin: var(--space-2xl) var(--space-md) var(--space-md);
  border-radius: var(--radius-card);
  box-shadow:
    0 12px 40px rgba(0,0,0,0.18),
    0 6px 16px rgba(0,0,0,0.1),
    inset 0 1px 0 rgba(255,255,255,0.1);
}
.footer-logo-wrap {
  text-align: center;
  margin-bottom: var(--space-lg);
}
.footer-logo-link {
  display: inline-block;
  line-height: 0;
  transition: transform 0.35s var(--ease);
}
.footer-logo-link:hover {
  transform: scale(1.06);
}
.footer-logo-img {
  height: 80px;
  width: auto;
  display: block;
  max-width: 100%;
  animation: footer-logo-pulse 3s ease-in-out infinite;
}
@keyframes footer-logo-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.03); opacity: 0.95; }
}
@media (min-width: 768px) {
  .footer-logo-img { height: 128px; }
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  max-width: 1200px;
  margin: 0 auto var(--space-xl);
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-col h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-sm);
  color: var(--white);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 0.5rem; line-height: 1.5; }
.footer-col a {
  color: rgba(255,255,255,0.92);
  font-size: 1rem;
  line-height: 1.5;
  transition: color var(--duration);
}
.footer-col a:hover { color: var(--lime); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255,255,255,0.2);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
}
.footer-bottom .copyright {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.95);
  text-align: center;
  width: 100%;
}
.footer-bottom .copyright a { color: var(--lime); text-decoration: underline; transition: color var(--duration); }
.footer-bottom .copyright a:hover { color: var(--white); }
.footer-bottom .presented { font-size: 0.85rem; opacity: 0.85; }
.footer-buttons { display: flex; flex-wrap: wrap; gap: var(--space-sm); justify-content: center; margin-top: var(--space-md); }

/* ========== REVEAL ANIMATIONS (for IntersectionObserver) ========== */
.reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  will-change: opacity, transform;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }
.reveal-delay-7 { transition-delay: 0.7s; }

/* Animation variants */
.reveal-left {
  opacity: 0;
  transform: translateX(-60px) scale(0.95);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0) scale(1);
}
.reveal-right {
  opacity: 0;
  transform: translateX(60px) scale(0.95);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0) scale(1);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.7) rotate(-5deg);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}
.reveal-bounce {
  opacity: 0;
  transform: translateY(50px) scale(0.8);
  transition: opacity 0.9s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.9s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.reveal-bounce.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.reveal-fade {
  opacity: 0;
  transition: opacity 1s var(--ease);
}
.reveal-fade.revealed { opacity: 1; }

/* Section slide-down effect */
.section-slide {
  position: relative;
  overflow: hidden;
}
.section-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: inherit;
  transform: translateY(-100%);
  transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 0;
  pointer-events: none;
}
.section-slide.revealed::before {
  transform: translateY(0);
}
.section-slide > * { position: relative; z-index: 1; }
.section-active {
  animation: sectionSlideIn 0.8s var(--ease) forwards;
}
@keyframes sectionSlideIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Parallax backgrounds */
.parallax-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  will-change: transform;
}
.parallax-bg img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  transform: translateY(0);
  transition: transform 0.1s ease-out;
}

/* ========== GALLERY ========== */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  margin-bottom: var(--space-xl);
}
.gallery-filters .btn { font-size: 0.9rem; padding: 0.65rem 1.25rem; }
.gallery-filters .btn.active { background: var(--white); color: var(--purple); border: 2px solid var(--white); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-md);
}
.gallery-item {
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 4/3;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
  width: 100%;
}
.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-hover);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-item.hidden { display: none; }

/* ========== FEATURED IMAGE SECTION ========== */
.featured-section {
  padding: var(--space-2xl) 0;
  background: var(--lime);
}
.featured-section .container { max-width: 1000px; margin: 0 auto; }
.featured-image-wrap {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--duration) var(--ease);
}
.featured-image-wrap:hover { box-shadow: var(--shadow-hover); }
.featured-image-wrap {
  width: 100%;
  max-width: 100%;
}
.featured-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
}

/* ========== PAGE-SPECIFIC ========== */
.page-hero { min-height: 40vh; padding: var(--space-xl) var(--space-md); }
main {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  position: relative;
  z-index: 1;
  padding-top: 5.5rem; /* space for fixed floating header */
}
.main-content {
  padding: var(--space-xl) 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
.accordion-item { border-bottom: 1px solid rgba(255,255,255,0.2); }
.accordion-trigger {
  width: 100%;
  padding: var(--space-md) 0;
  background: none;
  border: none;
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  letter-spacing: 0.02em;
}
.accordion-trigger::after { content: '+'; font-size: 1.5rem; }
.accordion-trigger.open::after { content: '−'; }
.accordion-panel { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.accordion-panel p {
  padding: 0 0 var(--space-md);
  margin: 0;
  color: rgba(255,255,255,0.95);
  font-size: 1rem;
  line-height: var(--line-height-body);
}

/* Contact page */
.contact-section.main-content { background: var(--purple); color: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  max-width: 900px;
  margin: 0 auto;
  align-items: start;
}
.contact-info h2,
.contact-form-wrap h2 {
  font-size: 1.5rem;
  line-height: 1.3;
  margin: 0 0 var(--space-md);
  color: var(--white);
}
.contact-info p {
  margin: 0 0 var(--space-sm);
  color: rgba(255,255,255,0.95);
  line-height: var(--line-height-body);
  font-size: 1rem;
}
.contact-details {
  list-style: none;
  padding: 0;
  margin: var(--space-lg) 0;
}
.contact-details li {
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(255,255,255,0.2);
}
.contact-details li:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.contact-details a { color: var(--lime); text-decoration: underline; }
.contact-details a:hover { color: var(--lime-soft); }
.contact-actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-lg); }
.contact-form label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--white);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: var(--space-md);
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 12px;
  font-size: 1rem;
  line-height: 1.5;
  font-family: var(--font-body);
  background: rgba(255,255,255,0.15);
  color: var(--white);
  -webkit-appearance: none;
  appearance: none;
  letter-spacing: var(--letter-spacing-body);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255,255,255,0.6); }
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form .btn-block { width: 100%; margin-top: 0.25rem; }
.contact-form-status {
  display: none;
  padding: var(--space-sm);
  border-radius: 8px;
  margin-bottom: var(--space-md);
  font-size: 0.95rem;
}
.contact-form-status--success { background: rgba(191, 255, 0, 0.2); color: var(--white); }
.contact-form-status--error { background: rgba(255, 59, 129, 0.25); color: var(--white); }
.contact-form-note {
  margin-top: var(--space-md);
  font-size: 0.85rem;
  opacity: 0.9;
}
.contact-form-note a { color: var(--lime); text-decoration: underline; }

/* Exit-intent popup */
.exit-intent-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--duration) var(--ease), visibility var(--duration) var(--ease);
}
.exit-intent-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}
.exit-intent-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: 90%;
  max-width: 420px;
  background: var(--white);
  border-radius: var(--radius-card);
  padding: var(--space-xl);
  padding-top: 3rem;
  box-shadow: var(--shadow-card), 0 20px 60px rgba(0,0,0,0.3);
  z-index: 10001;
  transition: transform var(--duration) var(--ease);
}
.exit-intent-backdrop.is-open .exit-intent-modal {
  transform: translate(-50%, -50%) scale(1);
}
.exit-intent-modal h3 {
  margin: 0 0 var(--space-sm);
  font-size: 1.35rem;
  line-height: 1.3;
  color: var(--black);
}
.exit-intent-modal p {
  margin: 0 0 var(--space-lg);
  color: var(--gray);
  font-size: 1rem;
  line-height: var(--line-height-body);
}
.exit-intent-modal .exit-intent-buttons {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.exit-intent-modal .exit-intent-buttons a { text-align: center; }
.exit-intent-close {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(0,0,0,0.08);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--gray);
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--duration) var(--ease), color var(--duration) var(--ease);
}
.exit-intent-close:hover { background: rgba(0,0,0,0.12); color: var(--black); }

@media (max-width: 640px) {
  .contact-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
}

/* Tour dates list */
.tour-list { list-style: none; padding: 0; margin: 0; max-width: 700px; margin: 0 auto; }
.tour-list li {
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-card);
  padding: var(--space-lg);
  margin-bottom: var(--space-sm);
  border: 1px solid rgba(255,255,255,0.2);
  transition: transform var(--duration) var(--ease);
}
.tour-list li:hover { transform: translateX(8px); }
.tour-list strong {
  display: block;
  font-size: 1.125rem;
  line-height: 1.35;
  margin-bottom: 0.35rem;
}
.tour-list span {
  color: rgba(255,255,255,0.95);
  font-size: 1rem;
  line-height: 1.5;
}

/* Form */
.form-group { margin-bottom: var(--space-md); }
.form-group label { display: block; margin-bottom: 0.35rem; font-weight: 600; color: var(--white); }
.form-group input {
  width: 100%;
  max-width: 400px;
  padding: 0.75rem 1rem;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 12px;
  font-size: 1rem;
  background: rgba(255,255,255,0.15);
  color: var(--white);
}
.form-group input::placeholder { color: rgba(255,255,255,0.6); }
.event-updates-form { max-width: 480px; margin: 0 auto; text-align: left; }

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ========== MOBILE-FIRST & TOUCH OPTIMIZATION ========== */
/* Base: small screens (320px and up) */
/* ========== MOBILE-FIRST OPTIMIZATION (max-width: 767px) ========== */
@media (max-width: 767px) {
  /* Base typography & layout */
  html { font-size: 16px; -webkit-text-size-adjust: 100%; }
  body {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  /* Container & spacing */
  .container {
    padding-left: var(--space-sm);
    padding-right: var(--space-sm);
    width: 100%;
  }
  
  /* Header – floating tile, smaller gap on mobile */
  .site-header {
    top: var(--space-sm);
    left: var(--space-sm);
    right: var(--space-sm);
    width: calc(100% - 2 * var(--space-sm));
    margin: 0 auto;
    padding: var(--space-xs) var(--space-sm);
    padding-left: max(var(--space-sm), env(safe-area-inset-left));
    padding-right: max(var(--space-sm), env(safe-area-inset-right));
    flex-wrap: nowrap;
    overflow: hidden;
  }
  main {
    padding-top: 4.5rem; /* smaller gap on mobile for floating header */
  }
  .site-header .container {
    padding-left: 0;
    padding-right: 0;
    flex-wrap: nowrap;
    gap: var(--space-xs);
    overflow: hidden;
    min-width: 0;
  }
  .logo-link {
    font-size: 1rem;
    gap: var(--space-xs);
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
    max-width: calc(100% - 200px);
  }
  .logo-link img {
    height: 52px;
    min-width: 52px;
    flex-shrink: 0;
  }
  .logo-text {
    display: none; /* Hide "Winnipeg Bouncy Castles" and "Winnipeg, MB" on mobile */
  }
  .header-actions {
    gap: var(--space-xs);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
  }
  .header-cta {
    display: none !important;
  }
  .header-call {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
  }
  .hamburger {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
  }
  
  /* Navigation overlay */
  .nav-overlay {
    width: 100%;
    max-width: 100%;
    padding: max(var(--space-xl), env(safe-area-inset-top)) var(--space-md) var(--space-xl);
    padding-left: max(var(--space-md), env(safe-area-inset-left));
    padding-right: max(var(--space-md), env(safe-area-inset-right));
  }
  .nav-overlay .nav-list a {
    padding: 1rem 0;
    min-height: 48px;
    display: flex;
    align-items: center;
    font-size: 1rem;
    -webkit-tap-highlight-color: transparent;
  }
  
  /* Buttons */
  .btn {
    min-height: 48px;
    padding: 0.875rem 1.25rem;
    font-size: 0.9rem;
    width: 100%;
    max-width: 100%;
    -webkit-tap-highlight-color: transparent;
    white-space: nowrap;
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .btn-group {
    flex-direction: column;
    width: 100%;
    gap: var(--space-sm);
  }
  .btn-group .btn {
    width: 100%;
    margin: 0;
  }
  
  /* Hero section */
  .hero {
    min-height: 60vh;
    padding: var(--space-lg) var(--space-sm);
    padding-bottom: max(var(--space-xl), env(safe-area-inset-bottom));
    align-items: flex-start;
    padding-top: max(var(--space-xl), env(safe-area-inset-top));
  }
  .hero--blue,
  .hero--pink,
  .hero--angled {
    clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
  }
  .hero__content {
    padding: 0;
    width: 100%;
  }
  .hero__headline {
    font-size: clamp(1.4rem, 6vw, 1.8rem);
    max-width: 100%;
    margin-bottom: var(--space-sm);
    line-height: 1.2;
    word-wrap: break-word;
    hyphens: auto;
  }
  .hero__subtext {
    font-size: 1rem;
    max-width: 100%;
    margin-bottom: var(--space-md);
    line-height: var(--line-height-body);
  }
  .hero__buttons {
    flex-direction: column;
    width: 100%;
    gap: var(--space-sm);
  }
  .hero__buttons .btn {
    width: 100%;
    justify-content: center;
  }
  
  /* Sections */
  section {
    padding: var(--space-lg) 0;
    overflow-x: hidden;
  }
  .section-title {
    font-size: clamp(1.25rem, 5vw, 1.5rem);
    margin-bottom: var(--space-md);
    padding: 0 var(--space-sm);
    word-wrap: break-word;
  }
  
  /* Cards */
  .card-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
    padding: 0;
  }
  .card {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }
  .card__body {
    padding: var(--space-md);
  }
  .card__title {
    font-size: 0.95rem;
    line-height: 1.3;
  }
  .card__text {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  .card__badge {
    font-size: 0.75rem;
    padding: 0.3rem 0.75rem;
  }
  
  /* 3D Tiles */
  .tiles-3d-section {
    min-height: auto;
    padding: var(--space-lg) 0;
  }
  .tiles-3d-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
    padding: 0;
  }
  .tile-3d {
    width: 100%;
    max-width: 100%;
  }
  .tile-3d__inner {
    padding: var(--space-md);
  }
  .tile-3d__title {
    font-size: 0.9rem;
    margin-bottom: var(--space-xs);
    line-height: 1.2;
  }
  .tile-3d__desc {
    font-size: 0.9rem;
    line-height: 1.55;
  }
  .tile-3d__badge {
    font-size: 0.7rem;
    padding: 0.35rem 0.85rem;
  }
  .tiles-3d-section .btn-learn-more {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    min-height: 48px;
    padding: 0.875rem 1.25rem;
    font-size: 0.9rem;
  }
  /* Service cards: fade + slide in only on mobile (no pop/bounce) */
  .tiles-3d-grid .tile-3d.reveal-left,
  .tiles-3d-grid .tile-3d.reveal-right {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
  }
  .tiles-3d-grid .tile-3d.reveal-left.revealed,
  .tiles-3d-grid .tile-3d.reveal-right.revealed {
    opacity: 1;
    transform: translateY(0);
  }
  .tiles-3d-grid .tile-3d.revealed {
    animation: none;
  }
  
  /* Services grid */
  .services-grid {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }
  .services-grid li {
    padding: 1rem var(--space-md);
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
  }
  
  /* Testimonials */
  .testimonials {
    padding: var(--space-lg) var(--space-sm);
  }
  .testimonial-bubble {
    padding: var(--space-md);
    margin-bottom: var(--space-md);
  }
  .testimonial-bubble p {
    font-size: 1rem;
    line-height: 1.4;
  }
  .testimonial-bubble cite {
    font-size: 0.85rem;
  }
  
  /* Event updates */
  .event-updates-cta {
    padding: var(--space-lg) var(--space-sm);
    clip-path: polygon(0 2%, 100% 0, 100% 100%, 0 100%);
  }
  .event-updates-cta p {
    font-size: 0.95rem;
    padding: 0 var(--space-xs);
  }
  
  /* Footer – floating tile, smaller gap on mobile */
  .site-footer {
    margin: var(--space-xl) var(--space-sm) var(--space-sm);
    padding: var(--space-lg) var(--space-sm) var(--space-md);
    padding-bottom: max(var(--space-md), env(safe-area-inset-bottom));
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
    text-align: center;
    margin-bottom: var(--space-md);
  }
  .footer-col {
    margin-bottom: var(--space-sm);
  }
  .footer-col h4 {
    margin-bottom: var(--space-xs);
    font-size: 0.9rem;
  }
  .footer-col ul {
    margin-bottom: var(--space-sm);
  }
  .footer-col li {
    margin-bottom: 0.4rem;
  }
  .footer-col a {
    font-size: 0.9rem;
    display: inline-block;
    padding: 0.25rem 0;
  }
  .footer-contact {
    text-align: center;
  }
  .footer-contact a {
    margin-bottom: 0.5rem;
    display: block;
  }
  .footer-address {
    font-size: 0.85rem;
    line-height: 1.4;
    margin-top: var(--space-xs);
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    padding-top: var(--space-md);
    gap: var(--space-sm);
  }
  .footer-bottom .copyright {
    font-size: 0.85rem;
    line-height: 1.4;
  }
  .footer-buttons {
    flex-direction: column;
    width: 100%;
    padding: 0;
    margin-top: var(--space-md);
  }
  .footer-buttons .btn {
    width: 100%;
    min-height: 48px;
  }
  
  /* Gallery */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }
  .gallery-item {
    width: 100%;
    max-width: 100%;
  }
  .gallery-filters {
    gap: var(--space-xs);
    padding: 0 var(--space-xs);
  }
  .gallery-filters .btn {
    min-height: 44px;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    flex: 1 1 auto;
    min-width: 0;
  }
  
  /* Forms */
  .form-group {
    margin-bottom: var(--space-md);
  }
  .form-group label {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
  }
  .form-group input {
    font-size: 16px !important;
    width: 100%;
    max-width: 100%;
    padding: 0.875rem 1rem;
    min-height: 48px;
  }
  .event-updates-form {
    max-width: 100%;
    padding: 0 var(--space-xs);
  }
  
  /* Accordion */
  .accordion-trigger {
    min-height: 48px;
    padding: 1rem 0;
    font-size: 0.95rem;
  }
  .accordion-panel p {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  
  /* Tour list */
  .tour-list {
    padding: 0;
    max-width: 100%;
  }
  .tour-list li {
    padding: var(--space-md);
    margin-bottom: var(--space-sm);
  }
  .tour-list strong {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
  .tour-list span {
    font-size: 0.9rem;
  }
  
  /* Featured section */
  .featured-section {
    padding: var(--space-lg) 0;
  }
  .featured-image-wrap {
    margin: 0;
    border-radius: 12px;
  }
  
  /* Page hero */
  .page-hero {
    min-height: 30vh;
    padding: var(--space-lg) var(--space-sm);
    padding-top: max(var(--space-lg), env(safe-area-inset-top));
  }
  
  /* Section separator */
  .section-sep {
    height: 40px;
  }
  
  /* Diagonal clip paths - simpler on mobile */
  .hero--blue,
  .hero--pink,
  .hero--angled {
    clip-path: polygon(0 0, 100% 0, 100% 96%, 0 100%);
  }
  
  /* Prevent text overflow */
  * {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  h1, h2, h3, h4, h5, h6 {
    word-wrap: break-word;
    hyphens: auto;
  }
  
  /* Logo text on very small screens */
  @media (max-width: 360px) {
    .logo-text span:first-child {
      font-size: 0.85rem;
    }
    .logo-text span:last-child {
      font-size: 0.65em;
    }
    .hero__headline {
      font-size: 1.25rem;
    }
  }
  
  /* Extra small devices */
  @media (max-width: 320px) {
    .container {
      padding-left: var(--space-xs);
      padding-right: var(--space-xs);
    }
    .hero {
      padding-left: var(--space-xs);
      padding-right: var(--space-xs);
    }
    section {
      padding-left: var(--space-xs);
      padding-right: var(--space-xs);
    }
    .btn {
      padding: 0.75rem 1rem;
      font-size: 0.85rem;
    }
  }
  
  /* Fix for iOS Safari address bar */
  @supports (-webkit-touch-callout: none) {
    .hero {
      min-height: -webkit-fill-available;
    }
  }
}

/* Prevent zoom on input focus (iOS) - already handled above */

/* Touch: remove hover lift on touch devices to avoid sticky state */
@media (hover: none) {
  .card:hover { transform: none; }
  .btn-primary:hover { transform: none; }
  .btn-outline:hover { transform: none; }
  .gallery-item:hover { transform: none; }
}
