/* Real Dairy — classic ice cream truck site.
   Plain CSS, no build step. Edit the :root tokens to rebrand. */

:root {
  --blue: #0a66c2;
  --blue-deep: #064a8f;
  --sky: #d6ecff;
  --red: #e23b3b;
  --cream: #f2e7d2;
  --ink: #16263a;
  --sun: #ffd23f;
  --shadow: 0 14px 30px rgba(10, 60, 120, 0.16);
  --radius: 18px;
  --max: 1100px;
  --max-wide: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: "Nunito", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

h1, h2, h3, .brand { font-family: "Baloo 2", "Nunito", cursive; line-height: 1.1; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

/* Keyboard focus (desktop accessibility) */
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
.nav-cta:focus-visible, .btn:focus-visible { outline-offset: 3px; }

/* ---- Announcement bar ---- */
.announce {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: linear-gradient(90deg, var(--red), #f4791f);
  color: #fff;
  padding: 0.5rem clamp(2.4rem, 5vw, 3rem);
  position: relative;
  text-align: center;
}
.announce p { margin: 0; font-weight: 700; font-size: 0.95rem; }
.announce a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.announce-x {
  position: absolute;
  right: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.85;
  padding: 0.2rem 0.5rem;
  border-radius: 8px;
}
.announce-x:hover { opacity: 1; background: rgba(255, 255, 255, 0.18); }

/* ---- Call bar ---- */
.callbar {
  background: var(--red);
  color: #fff;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.45rem 1rem;
}
.callbar a { color: #fff; text-decoration: underline; white-space: nowrap; }

/* ---- Nav ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 60px;
  padding: 0.7rem clamp(1rem, 4vw, 2.5rem);
  background: rgba(242, 231, 210, 0.9);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(10, 60, 120, 0.08);
  transition: padding 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}
.nav.scrolled {
  background: rgba(242, 231, 210, 0.96);
  box-shadow: 0 6px 24px rgba(10, 60, 120, 0.1);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--blue-deep);
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.brand:hover { text-decoration: none; }
.brand-emoji { font-size: 1.7rem; line-height: 1; }
.brand-group { display: inline-flex; align-items: center; gap: 0.7rem; transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1); }
.brand-text { display: flex; flex-direction: column; line-height: 1.02; }
.brand-name { font-size: 1.3rem; font-weight: 800; }
.brand-light { font-size: 0.88rem; font-weight: 600; opacity: 0.5; }
.toronto-sign {
  display: inline-flex;
  align-items: center;
  gap: 0.5px;
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.5px;
  line-height: 1;
}
.toronto-sign > span { color: var(--c); text-shadow: 0 1px 1px rgba(0, 0, 0, 0.18); }
.toronto-leaf { width: 1em; height: 1em; margin-left: 2px; color: #e34a3f; }
.nav-links { display: flex; align-items: center; gap: clamp(0.6rem, 2vw, 1.6rem); transition: opacity 0.3s ease; }
.nav-links a { color: var(--blue-deep); font-weight: 700; }
.nav-cta {
  background: var(--blue);
  color: #fff !important;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
}
.nav-cta:hover { background: var(--blue-deep); text-decoration: none; }

/* Hamburger + drawer backdrop are desktop-hidden by default */
.nav-toggle { display: none; }
.nav-backdrop { display: none; }

/* Scrolled: brand glides to centre, links fade out, tagline appears.
   Desktop-only — on mobile the links live in the slide-out drawer. */
@media (min-width: 821px) {
  .nav.scrolled .nav-links { opacity: 0; visibility: hidden; pointer-events: none; }
  .nav.scrolled .brand-group { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  font-weight: 800;
  font-family: "Baloo 2", sans-serif;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn-ic { width: 1.15em; height: 1.15em; fill: currentColor; flex: 0 0 auto; }
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn-primary { background: var(--red); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: #c52f2f; }
.btn-ghost { background: #fff; color: var(--blue-deep); border-color: var(--blue); }
.btn-whatsapp { background: #25d366; color: #fff; box-shadow: var(--shadow); }
.btn-whatsapp:hover { background: #1eb955; }
.btn-text { background: var(--blue); color: #fff; box-shadow: var(--shadow); }
.btn-text:hover { background: var(--blue-deep); }
.book-quick { margin-top: 0.4rem; display: flex; flex-wrap: wrap; gap: 0.7rem; justify-content: center; }
.hero-sub { margin-top: 1rem; font-size: 0.95rem; opacity: 0.8; }

/* ---- Hero ---- */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2.2rem, 4vw, 3.5rem);
  align-items: center;
  padding-block: clamp(2rem, 6vw, 4rem);
  padding-inline: max(clamp(1rem, 5vw, 3rem), calc((100% - var(--max)) / 2));
  background:
    radial-gradient(900px 360px at 85% -10%, var(--sky), transparent),
    linear-gradient(160deg, #fbf3e4 0%, var(--cream) 60%);
}
.eyebrow {
  display: inline-block;
  margin: 0 0 0.6rem;
  padding: 0.25rem 0.8rem;
  background: var(--sun);
  color: var(--ink);
  font-weight: 800;
  border-radius: 999px;
  font-size: 0.85rem;
}
.hero h1 { font-size: clamp(2.4rem, 6.5vw, 4.3rem); margin: 0 0 1rem; color: var(--blue-deep); }
.lede { font-size: clamp(1rem, 2.2vw, 1.2rem); max-width: 48ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }
.hero-photo img {
  width: 100%;
  border-radius: 22px;
  box-shadow: var(--shadow);
  border: 5px solid #fff;
  object-fit: cover;
}

/* ---- Hero illustration (gentle zoom) ---- */
.hero-frame {
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-illustration {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  animation: hero-zoom 18s ease-in-out infinite;
  transform-origin: 60% 65%;
}
@keyframes hero-zoom {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-illustration { animation: none; }
}

/* ---- Animated hero scene ---- */
.scene {
  position: relative;
  width: 100%;
  aspect-ratio: 1600 / 1037;
  border-radius: 22px;
  border: 5px solid #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
  background: linear-gradient(180deg, #6fc8ff 0%, #a9e0ff 55%, #d6f2ff 100%);
}
.scene .sun {
  position: absolute;
  top: 12%;
  left: 14%;
  width: 16%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #ffe24f 0%, #ffe24f 58%, rgba(255,226,79,0) 72%);
  box-shadow: 0 0 60px 20px rgba(255, 226, 79, 0.55);
  animation: sun-pulse 4s ease-in-out infinite;
}
.scene .cloud {
  position: absolute;
  background: #fff;
  border-radius: 999px;
  filter: drop-shadow(0 6px 6px rgba(40, 90, 160, 0.12));
  opacity: 0.95;
}
.scene .cloud::before,
.scene .cloud::after {
  content: "";
  position: absolute;
  background: #fff;
  border-radius: 50%;
}
.scene .cloud-1 { top: 14%; width: 26%; height: 11%; animation: drift-1 26s linear infinite; }
.scene .cloud-2 { top: 32%; width: 18%; height: 8%;  animation: drift-2 34s linear infinite; }
.scene .cloud-3 { top: 8%;  width: 14%; height: 7%;  animation: drift-1 44s linear infinite; opacity: 0.8; }
.scene .cloud::before { width: 55%; height: 150%; top: -55%; left: 12%; }
.scene .cloud::after  { width: 40%; height: 130%; top: -40%; right: 14%; }
.scene .scene-trucks {
  position: absolute;
  bottom: 4%;
  left: 50%;
  width: 88%;
  transform: translateX(-50%);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 14px 10px rgba(20, 50, 100, 0.28));
  animation: truck-bob 3.4s ease-in-out infinite;
}
@keyframes truck-bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(-1.6%); }
}
@keyframes sun-pulse {
  0%, 100% { transform: scale(1);    box-shadow: 0 0 60px 20px rgba(255,226,79,0.55); }
  50%      { transform: scale(1.06); box-shadow: 0 0 80px 30px rgba(255,226,79,0.75); }
}
@keyframes drift-1 {
  from { transform: translateX(-40%); }
  to   { transform: translateX(420%); }
}
@keyframes drift-2 {
  from { transform: translateX(-60%); }
  to   { transform: translateX(560%); }
}
@media (prefers-reduced-motion: reduce) {
  .scene .sun,
  .scene .cloud,
  .scene .scene-trucks { animation: none; }
}

/* ---- "Coming soon" photo placeholder ---- */
.photo-soon {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 220px;
  padding: 2rem;
  border-radius: 22px;
  border: 3px dashed var(--blue);
  background: var(--sky);
  color: var(--blue-deep);
  font-weight: 800;
  font-size: 1.1rem;
}

/* ---- Marquee ---- */
.marquee {
  overflow: hidden;
  background: var(--blue-deep);
  color: #fff;
  padding: 0.55rem 0;
}
.marquee-track {
  display: inline-flex;
  gap: 2.5rem;
  white-space: nowrap;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  opacity: 0.95;
  animation: scroll 28s linear infinite;
}
.marquee-track span { display: inline-block; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---- Sections ---- */
.section { padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1rem, 5vw, 3rem); }
.section-alt { background: linear-gradient(180deg, var(--sky), var(--cream)); }
.section-head { max-width: var(--max); margin: 0 auto 2rem; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 4.5vw, 2.9rem); margin: 0 0 0.4rem; color: var(--blue-deep); }
.section-head p { margin: 0 auto; max-width: 54ch; opacity: 0.85; }

/* ---- Menu carousel (3D colour cards) ---- */
.menu-carousel {
  margin: 0 auto;
  max-width: var(--max-wide);
  overflow-x: auto;
  overflow-y: hidden;
  perspective: 1200px;
  padding: 1.8rem clamp(1rem, 5vw, 3rem) 2rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}
.menu-carousel::-webkit-scrollbar { display: none; }
.menu-track { display: flex; gap: 1.3rem; width: max-content; }
.menu-card3d {
  flex: 0 0 auto;
  width: 216px;
  min-height: 214px;
  border-radius: 20px;
  padding: 1.4rem 1.3rem;
  background: var(--g, var(--blue));
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.22);
  box-shadow: 0 18px 32px rgba(10, 40, 90, 0.22);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s ease;
}
.menu-card3d::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0) 46%);
  pointer-events: none;
}
.menu-card3d:hover {
  transform: translateY(-8px) rotateX(5deg) rotateY(-6deg) scale(1.03);
  box-shadow: 0 30px 46px rgba(10, 40, 90, 0.32);
}
.mc-icon { width: 54px; height: 54px; color: #fff; fill: currentColor; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25)); }
.menu-card3d h3 { margin: 0.6rem 0 0.35rem; font-size: 1.3rem; color: #fff; }
.menu-card3d p { margin: 0; font-weight: 600; line-height: 1.35; font-size: 0.9rem; }
.menu-card3d .sizes {
  display: inline-block;
  margin-top: 0.9rem;
  font-size: 0.78rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.menu-hint { text-align: center; opacity: 0.55; font-weight: 700; font-size: 0.85rem; margin: 0.2rem 0 0; }

/* ---- Gallery ---- */
.gallery {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.2rem;
}
.gallery figure { margin: 0; }
.gallery img {
  width: 100%;
  height: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---- Find ---- */
.find-cards {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
}
.find-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.8rem 1.4rem;
  box-shadow: var(--shadow);
  text-align: center;
}
.find-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--g, var(--blue));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(10, 40, 90, 0.18);
}
.find-badge svg { width: 30px; height: 30px; color: #fff; fill: currentColor; }
.find-card h3 { margin: 0.7rem 0 0.3rem; color: var(--blue-deep); }
.find-card p { margin: 0 0 1rem; opacity: 0.85; }
.social-row { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
.social-row .btn { padding: 0.55rem 1rem; font-size: 0.92rem; }

/* ---- Service area map ---- */
.service-map {
  max-width: 440px;
  margin: 0 auto 2.5rem;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(40, 120, 180, 0.25);
  background: #081523;
}
.service-map svg { width: 100%; height: auto; display: block; }
.service-map text { font-family: "Baloo 2", sans-serif; font-weight: 700; }
.service-map .labels text { fill: #dcefff; font-size: 15px; }
.service-map .lake-lbl { fill: #2f7da6; font-size: 16px; font-style: italic; font-weight: 600; letter-spacing: 0.5px; }
.service-map .dots circle { fill: #ffd23f; }
.hw-glow use { fill: none; stroke: #25c9ff; stroke-width: 5; stroke-linecap: round; opacity: 0.45; }
.hw-line use { fill: none; stroke: #bdecff; stroke-width: 1.6; stroke-linecap: round; opacity: 0.9; }
.hw-flow use { fill: none; stroke: #ffffff; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 3 22; animation: hwflow 2.4s linear infinite; }
@keyframes hwflow { to { stroke-dashoffset: -50; } }
.tor-dot { fill: #ff5a5a; }
.tor-ring { fill: none; stroke: #ff5a5a; stroke-width: 2.5; transform-box: fill-box; transform-origin: center; animation: torpulse 2.6s ease-out infinite; }
@keyframes torpulse { 0% { transform: scale(0.7); opacity: 0.8; } 100% { transform: scale(2.6); opacity: 0; } }
.tor-lbl { fill: #ffffff; font-size: 23px; font-weight: 800; }
.service-map .shields rect { fill: #1267b0; }
.service-map .shields text { fill: #fff; font-size: 11px; font-weight: 800; }

/* ---- Reviews ---- */
.reviews-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
}
.review {
  margin: 0;
  background: #fff;
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.review .stars { color: #ffc107; letter-spacing: 2px; font-size: 1.05rem; }
.review blockquote { margin: 0; font-size: 1.02rem; line-height: 1.5; }
.review figcaption { font-weight: 800; color: var(--blue-deep); font-size: 0.9rem; opacity: 0.8; }
.reviews-note { text-align: center; margin: 1.6rem auto 0; opacity: 0.7; font-weight: 700; }

/* ---- How it works ---- */
.steps {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem;
}
.steps li {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.8rem 1.4rem;
  box-shadow: var(--shadow);
  text-align: center;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}
.steps h3 { margin: 0.2rem 0 0.3rem; color: var(--blue-deep); }
.steps p { margin: 0; opacity: 0.85; }

/* ---- FAQ ---- */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 0.8rem; }
.faq details {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0 1.3rem;
}
.faq summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--blue-deep);
  padding: 1.1rem 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--blue); flex: 0 0 auto; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin: 0 0 1.1rem; opacity: 0.85; }
.faq-note { text-align: center; margin: 1.6rem auto 0; font-weight: 700; opacity: 0.8; }
.footer-areas { opacity: 0.6; font-size: 0.82rem; max-width: 60ch; margin: 0.6rem auto 0; }

/* ---- Booking form ---- */
.booking-form {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  background: #fff;
  padding: clamp(1.4rem, 4vw, 2.4rem);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-top: 6px solid var(--blue);
}
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field-full { grid-column: 1 / -1; }
.field label { font-weight: 800; font-size: 0.92rem; color: var(--blue-deep); }
.field input, .field select, .field textarea {
  font: inherit;
  padding: 0.7rem 0.8rem;
  border: 2px solid rgba(10, 60, 120, 0.18);
  border-radius: 12px;
  background: var(--cream);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(10, 102, 194, 0.22);
}
.hidden-field { display: none; }
.form-status { grid-column: 1 / -1; text-align: center; font-weight: 800; min-height: 1.2em; }
.form-status.ok { color: #1f9d6b; }

/* ---- Footer ---- */
.footer {
  background: var(--blue-deep);
  color: #eaf4ff;
  padding: 2.6rem 1.5rem;
  text-align: center;
}
.footer-inner { max-width: var(--max); margin: 0 auto; display: grid; gap: 0.25rem; }
.footer-brand { font-family: "Baloo 2", sans-serif; font-size: 1.5rem; margin: 0; }
.footer-tag { opacity: 0.85; }
.footer-social { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; justify-content: center; margin: 0.4rem 0; }
.footer a { color: var(--sun); font-weight: 800; display: inline-flex; align-items: center; gap: 0.35rem; }
.footer-inner > p > a { justify-content: center; }
.fine { opacity: 0.7; font-size: 0.9rem; margin-top: 0.6rem; }

/* ---- Fleet / capacity ---- */
.stats {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.4rem;
  text-align: center;
}
.stat-num {
  display: block;
  font-family: "Baloo 2", sans-serif;
  font-size: clamp(2rem, 5.5vw, 3.1rem);
  font-weight: 800;
  color: var(--blue-deep);
  line-height: 1;
}
.stat-label { font-weight: 700; font-size: 0.9rem; opacity: 0.72; }

.chart { max-width: 720px; margin: 3rem auto 0; }
.chart-bars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(0.6rem, 3vw, 2rem);
  height: 290px;
  padding: 2.2rem 0.5rem 1rem;
}
.bar {
  width: clamp(40px, 10vw, 62px);
  height: 0;
  background: var(--bar, linear-gradient(180deg, #6aa0f5, #2f6fe6));
  border-radius: 12px 12px 4px 4px;
  transition: height 1.1s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.chart.in .bar { height: var(--h); }
.bar-col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 8px; }
.bar-val { font-weight: 800; font-size: 0.85rem; color: var(--blue-deep); }
.bar-truck { width: 26px; height: 26px; fill: currentColor; flex: 0 0 auto; }
.fleet-note {
  text-align: center;
  margin: 3.4rem auto 0;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--blue-deep);
}

/* ---- Events grid ---- */
.events-grid {
  list-style: none;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.9rem;
}
.events-grid li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.6rem;
  background: #fff;
  border-radius: 18px;
  padding: 1.1rem 0.8rem;
  box-shadow: 0 8px 20px rgba(10, 60, 120, 0.07);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--blue-deep);
}
.ev-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--g, var(--blue));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(10, 40, 90, 0.18);
}
.ev-badge svg { width: 26px; height: 26px; color: #fff; fill: currentColor; }

/* ---- Scroll reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.in { opacity: 1; transform: none; }

/* ---- Responsive ---- */
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-photo { order: -1; }
  .gallery { grid-template-columns: 1fr; }
  .booking-form { grid-template-columns: 1fr; }

  /* Drop the blur so the fixed drawer is positioned to the viewport,
     not trapped inside the nav's backdrop-filter containing block. */
  .nav { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(242, 231, 210, 0.96); }

  /* Hamburger button */
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    position: relative;
    z-index: 3;
  }
  .nav-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    margin: 0 auto;
    border-radius: 3px;
    background: var(--blue-deep);
    transition: transform 0.3s ease, opacity 0.2s ease;
  }
  body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  /* Slide-out drawer */
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    height: 100dvh;
    width: min(82vw, 300px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.4rem;
    padding: 5rem 1.4rem 2rem;
    background: var(--cream);
    box-shadow: -12px 0 34px rgba(10, 60, 120, 0.22);
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.2, 0.7, 0.2, 1);
    overflow-y: auto;
    z-index: 2;
  }
  body.menu-open .nav-links { transform: translateX(0); }
  .nav-links a {
    padding: 0.85rem 0.7rem;
    border-radius: 12px;
    font-size: 1.1rem;
  }
  .nav-links a:not(.nav-cta):hover { background: rgba(10, 102, 194, 0.08); text-decoration: none; }
  .nav-links .nav-cta { text-align: center; margin-top: 0.6rem; }

  /* Dim backdrop */
  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(10, 30, 60, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1;
  }
  body.menu-open .nav-backdrop { opacity: 1; visibility: visible; }

  /* Lock background scroll while the drawer is open */
  body.menu-open { overflow: hidden; }
}
@media (max-width: 560px) {
  .brand-emoji { font-size: 1.4rem; }
  .brand-name { font-size: 1.05rem; }
  .brand-light { font-size: 0.76rem; }
  .brand-group { gap: 0.5rem; }
  .toronto-sign { font-size: 0.92rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .chart .bar { height: var(--h); transition: none; }
  .nav-links, .nav-backdrop, .nav-toggle span { transition: none; }
}
