/* =============================================================
   GELI SNACKS — styles.css
   Playful, whimsical, retro-candy event-dessert brand
   Palette: Black #000 · Red #F10104 · Yellow #FED85E · White #FFF
   Only HTML5 + CSS3 + Vanilla JS. No frameworks.
   ============================================================= */

/* ---------- Google Fonts ----------
   Fredoka  -> bold playful rounded display
   Nunito Sans -> clean readable body
   Pacifico -> handwritten script accent (used VERY sparingly)
------------------------------------ */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Nunito+Sans:ital,opsz,wght@0,6..12,400;0,6..12,600;0,6..12,700;0,6..12,800;1,6..12,600&family=Pacifico&display=swap');

/* ---------- Design Tokens ---------- */
:root {
  /* Core brand colors */
  --black: #000000;
  --red: #F10104;
  --yellow: #FED85E;
  --white: #FFFFFF;

  /* Derived warm tints (only from yellow/white/black) */
  --cream: #FFF7E0;          /* warm near-white page base */
  --cream-deep: #FDEFC4;     /* slightly deeper cream */
  --red-deep: #C60003;       /* darker red for depth/shadows */
  --ink-70: rgba(0, 0, 0, 0.70);
  --ink-55: rgba(0, 0, 0, 0.55);
  --ink-12: rgba(0, 0, 0, 0.12);
  --ink-08: rgba(0, 0, 0, 0.08);

  /* Type */
  --font-display: 'Fredoka', system-ui, sans-serif;
  --font-body: 'Nunito Sans', system-ui, -apple-system, sans-serif;
  --font-script: 'Pacifico', cursive;

  /* Structure */
  --border: 3px solid var(--black);
  --border-thick: 4px solid var(--black);
  --radius: 22px;
  --radius-lg: 34px;
  --shadow-pop: 6px 6px 0 var(--black);
  --shadow-pop-sm: 4px 4px 0 var(--black);
  --shadow-soft: 0 18px 40px -20px rgba(0, 0, 0, 0.45);

  --container: 1180px;
  --gutter: clamp(1.1rem, 4vw, 2.4rem);
  --section-pad: clamp(3.5rem, 9vw, 7rem);

  --nav-h: 76px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}

body {
  font-family: var(--font-body);
  color: var(--black);
  background-color: var(--cream);
  background-image:
    radial-gradient(circle at 12% 8%, rgba(254, 216, 94, 0.55) 0, transparent 34%),
    radial-gradient(circle at 88% 4%, rgba(241, 1, 4, 0.06) 0, transparent 30%),
    radial-gradient(circle at 78% 92%, rgba(254, 216, 94, 0.45) 0, transparent 40%);
  background-attachment: fixed;
  line-height: 1.6;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.08rem);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; height: auto; }

a { color: inherit; text-decoration: none; }

button { font-family: inherit; cursor: pointer; }

ul { list-style: none; padding: 0; }

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: 50%;
  top: -100px;
  transform: translateX(-50%);
  background: var(--black);
  color: var(--white);
  padding: 0.7rem 1.3rem;
  border-radius: 0 0 14px 14px;
  z-index: 2000;
  font-weight: 700;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.01em;
}

.h-xl {
  font-size: clamp(2.6rem, 1.5rem + 6.2vw, 5.6rem);
  font-weight: 700;
  line-height: 0.98;
}
.h-lg {
  font-size: clamp(2rem, 1.2rem + 3.8vw, 3.6rem);
  font-weight: 700;
  line-height: 1.02;
}
.h-md {
  font-size: clamp(1.5rem, 1.1rem + 1.7vw, 2.2rem);
  font-weight: 600;
}

.script {
  font-family: var(--font-script);
  font-weight: 400;
  letter-spacing: 0;
}

.text-red { color: var(--red); }
.text-yellow { color: var(--yellow); }
.text-cream { color: var(--cream); }

.lead {
  font-size: clamp(1.05rem, 1rem + 0.5vw, 1.28rem);
  color: var(--ink-70);
  font-weight: 600;
}

/* Outlined "sticker" headline effect */
.headline-pop {
  color: var(--yellow);
  text-shadow:
    3px 3px 0 var(--black),
    -1px -1px 0 var(--black),
    1px -1px 0 var(--black),
    -1px 1px 0 var(--black);
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container-narrow { max-width: 820px; }

.section { padding-block: var(--section-pad); position: relative; }

.section-head { max-width: 720px; margin-bottom: clamp(2rem, 5vw, 3rem); }
.section-head.center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5ch;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--black);
  color: var(--yellow);
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.eyebrow.on-yellow { background: var(--red); color: var(--white); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--yellow);
  --btn-fg: var(--black);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55ch;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  text-align: center;
  padding: 0.95rem 1.6rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow-pop-sm);
  transition: transform 0.14s ease, box-shadow 0.14s ease, background-color 0.14s ease;
  will-change: transform;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--black); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--black); }

.btn--red { --btn-bg: var(--red); --btn-fg: var(--white); }
.btn--white { --btn-bg: var(--white); --btn-fg: var(--black); }
.btn--black { --btn-bg: var(--black); --btn-fg: var(--yellow); }
.btn--lg { font-size: 1.1rem; padding: 1.1rem 2rem; box-shadow: var(--shadow-pop); }
.btn--sm { font-size: 0.9rem; padding: 0.7rem 1.2rem; }
.btn--block { width: 100%; }

.btn-arrow { transition: transform 0.18s ease; }
.btn:hover .btn-arrow { transform: translateX(4px); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}

/* ---------- Pills, stickers, tags ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5ch;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.45rem 1rem;
  border: var(--border);
  border-radius: 999px;
  background: var(--white);
}
.pill--yellow { background: var(--yellow); }
.pill--red { background: var(--red); color: var(--white); }
.pill--black { background: var(--black); color: var(--yellow); }

/* Badge with pulsing "open" dot */
.badge-247 {
  display: inline-flex;
  align-items: center;
  gap: 0.6ch;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  padding: 0.5rem 1.1rem 0.5rem 0.9rem;
  background: var(--black);
  color: var(--white);
  border: var(--border);
  border-color: var(--black);
  border-radius: 999px;
  box-shadow: var(--shadow-pop-sm);
}
.badge-247 .dot {
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 0 rgba(254, 216, 94, 0.9);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(254, 216, 94, 0.85); }
  70% { box-shadow: 0 0 0 8px rgba(254, 216, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(254, 216, 94, 0); }
}

/* Sticker label — slightly rotated tag */
.sticker {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  padding: 0.35rem 0.9rem;
  background: var(--yellow);
  border: var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow-pop-sm);
  transform: rotate(-3deg);
}

/* ---------- Arch / window frame motif ---------- */
.arch {
  position: relative;
  border: var(--border-thick);
  background: var(--white);
  overflow: hidden;
  /* tall arched top, gently rounded bottom */
  border-radius: 46% 46% 20px 20px / 30% 30% 12px 12px;
}
.arch--soft { border-radius: 40% 40% 22px 22px / 24% 24% 12px 12px; }

/* An image/emoji "photo" placeholder that lives inside an arch.
   Drop a real <img> in later — this gradient sits behind it. */
.arch-media {
  aspect-ratio: 3 / 4;
  display: grid;
  place-items: center;
  font-size: clamp(3.5rem, 10vw, 5.5rem);
  line-height: 1;
  background: var(--cream-deep);
  position: relative;
}
.arch-media picture { position: absolute; inset: 0; display: block; width: 100%; height: 100%; z-index: 1; }
.arch-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.arch-media .glyph {
  filter: drop-shadow(2px 3px 0 rgba(0, 0, 0, 0.18));
  transform: translateZ(0);
}

/* ---------- Decorative shapes ---------- */
.deco { position: absolute; pointer-events: none; user-select: none; z-index: 0; }

.sparkle {
  position: absolute;
  width: 26px; height: 26px;
  pointer-events: none;
  color: var(--yellow);
}
.sparkle svg { width: 100%; height: 100%; }

.confetti-dot {
  position: absolute;
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 2px solid var(--black);
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 46% 54% 60% 40% / 52% 44% 56% 48%;
  pointer-events: none;
  z-index: 0;
}

/* Float animation for decorations */
.floaty { animation: floaty 6s ease-in-out infinite; }
.floaty-slow { animation: floaty 9s ease-in-out infinite; }
@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
  50% { transform: translateY(-14px) rotate(calc(var(--rot, 0deg) + 4deg)); }
}
.spin-slow { animation: spin 22s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Wavy / scalloped section dividers ---------- */
.divider { display: block; width: 100%; line-height: 0; }
.divider svg { display: block; width: 100%; height: clamp(40px, 6vw, 80px); }

.scallop-edge {
  height: 26px;
  width: 100%;
  background:
    radial-gradient(circle at 13px -3px, transparent 13px, var(--black) 13.5px, var(--black) 15px, transparent 15.5px) repeat-x;
  background-size: 26px 26px;
  opacity: 0.9;
}

/* =============================================================
   NAVIGATION
   ============================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 247, 224, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 3px solid var(--black);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.nav.scrolled { box-shadow: 0 8px 24px -14px rgba(0, 0, 0, 0.55); }

.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
}
.nav-logo img { height: 52px; width: auto; }
.nav-logo .logo-word { display: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.4rem, 1.4vw, 1.4rem);
}
.nav-links a.nav-link {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.02rem;
  padding: 0.4rem 0.2rem;
  position: relative;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 2px;
  width: 100%; height: 3px;
  background: var(--red);
  border-radius: 3px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: var(--red); }

.nav-cta { display: inline-flex; align-items: center; gap: 0.8rem; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px; height: 48px;
  background: var(--yellow);
  border: var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-pop-sm);
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 3px;
  margin-inline: auto;
  background: var(--black);
  border-radius: 3px;
  transition: transform 0.3s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile menu panel */
.mobile-menu {
  position: fixed;
  inset: var(--nav-h) 0 auto 0;
  background: var(--cream);
  border-bottom: 3px solid var(--black);
  padding: 1.2rem var(--gutter) 1.8rem;
  transform: translateY(-115%);
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 999;
  box-shadow: var(--shadow-soft);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu ul { display: flex; flex-direction: column; gap: 0.3rem; }
.mobile-menu a {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  padding: 0.7rem 0.4rem;
  border-bottom: 2px dashed var(--ink-12);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu .btn { margin-top: 1rem; }

.menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 998;
}
.menu-backdrop.show { opacity: 1; visibility: visible; }

/* =============================================================
   HERO
   ============================================================= */
.hero {
  position: relative;
  padding-top: clamp(2.5rem, 6vw, 4rem);
  padding-bottom: clamp(3rem, 7vw, 5rem);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
.hero-copy { position: relative; z-index: 2; }
.hero-copy h1 { margin-bottom: 1.1rem; }
.hero-copy .lead { margin-bottom: 0.4rem; max-width: 30ch; }
.hero-body { margin: 1.1rem 0 1.6rem; max-width: 46ch; color: var(--ink-70); font-weight: 600; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center; margin-bottom: 1.6rem; }
.hero-schedule { font-weight: 700; font-size: 0.95rem; }

/* hand-drawn arrow pointing to CTA */
.hero-arrow {
  position: absolute;
  right: -8px;
  bottom: -46px;
  width: 92px;
  color: var(--red);
  transform: rotate(6deg);
  z-index: 3;
}

/* Hero collage */
.hero-collage {
  position: relative;
  z-index: 1;
  aspect-ratio: 1 / 1;
  min-height: 340px;
}
.hero-arch {
  position: absolute;
  inset: 6% 12% 4% 10%;
  border-radius: 48% 48% 26px 26px / 34% 34% 16px 16px;
  border: var(--border-thick);
  background:
    linear-gradient(150deg, var(--yellow) 0%, #ffe9a3 45%, var(--red) 130%);
  box-shadow: var(--shadow-pop);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.hero-arch .hero-logo {
  width: 74%;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.25));
  animation: floaty 7s ease-in-out infinite;
}
.hero-arch .hero-photo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.hero-arch .hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-circle {
  position: absolute;
  right: -4%;
  bottom: 2%;
  width: 40%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: var(--border-thick);
  background: var(--white);
  display: grid;
  place-items: center;
  font-size: clamp(2.5rem, 7vw, 4rem);
  box-shadow: var(--shadow-pop-sm);
  z-index: 2;
  overflow: hidden;
}
.hero-circle picture { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.hero-circle img { width: 100%; height: 100%; object-fit: cover; }
.hero-tag {
  position: absolute;
  top: 2%;
  left: -2%;
  z-index: 3;
  transform: rotate(-8deg);
}
.hero-starburst {
  position: absolute;
  top: 6%;
  right: 4%;
  width: 84px;
  z-index: 3;
  color: var(--red);
}

/* =============================================================
   MARQUEE
   ============================================================= */
.marquee {
  background: var(--black);
  border-block: 3px solid var(--black);
  padding-block: 0.75rem;
  overflow: hidden;
  position: relative;
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: marquee 26s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.05rem, 0.9rem + 1vw, 1.6rem);
  color: var(--yellow);
  padding-inline: 1.1rem;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 1.1rem;
}
.marquee-item .star { color: var(--red); font-size: 0.9em; }
.marquee-item:nth-child(even) { color: var(--white); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =============================================================
   INTRO / ABOUT
   ============================================================= */
.intro-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.intro-visual { position: relative; }
.intro-arch {
  max-width: 360px;
  margin-inline: auto;
}
.intro-arch .arch-media {
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, #fff0bf, var(--yellow));
  font-size: clamp(4rem, 12vw, 6rem);
}
.intro-arch .arch-emoji-cluster {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 0.4rem 0.8rem;
  place-items: center;
}
.intro-note {
  position: absolute;
  bottom: -18px;
  right: -6px;
  z-index: 3;
}

/* =============================================================
   TREATS
   ============================================================= */
.treats { position: relative; }
.treats-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1rem, 2.4vw, 1.8rem);
}
.treat-card {
  grid-column: span 3;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease;
}
/* Alternating editorial offsets (desktop only; reset at <=1024) */
.treat-card:nth-child(4n+2) { transform: translateY(18px); }
.treat-card:nth-child(4n+4) { transform: translateY(28px); }
.treat-card:hover { transform: translateY(-6px) rotate(-1.2deg); }
.treat-card:nth-child(4n+2):hover { transform: translateY(12px) rotate(1.2deg); }
.treat-card:nth-child(4n+4):hover { transform: translateY(22px) rotate(-1.4deg); }

.treat-card .arch { box-shadow: var(--shadow-pop-sm); background: var(--white); }
.treat-card:nth-child(3n+1) .arch-media { background: linear-gradient(160deg, #fff0bd, var(--yellow)); }
.treat-card:nth-child(3n+2) .arch-media { background: linear-gradient(160deg, #ffd0a0, #ffb27a); }
.treat-card:nth-child(3n+3) .arch-media { background: linear-gradient(160deg, #ffb3b0, var(--red)); }
.treat-card .arch-media .glyph { transition: transform 0.3s ease; }
.treat-card:hover .arch-media .glyph { transform: scale(1.12) rotate(-4deg); }
.treat-card:hover .arch-media img { transform: scale(1.06); }

.treat-label {
  align-self: center;
  margin-top: -18px;
  z-index: 2;
  position: relative;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  border: 2px solid var(--black);
  box-shadow: var(--shadow-pop-sm);
  transform: rotate(-2deg);
  text-align: center;
}
.treat-card:nth-child(even) .treat-label { transform: rotate(2deg); background: var(--red); }
.treat-desc {
  margin-top: 0.7rem;
  font-size: 0.92rem;
  color: var(--ink-70);
  text-align: center;
  font-weight: 600;
  padding-inline: 0.3rem;
}

.treats-cta { margin-top: clamp(2.5rem, 6vw, 4rem); text-align: center; }

/* Decorative stars sprinkled in treats grid */
.treats .star-deco { color: var(--red); }

/* =============================================================
   EVENTS (black section)
   ============================================================= */
.events {
  background: var(--black);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.events .eyebrow { background: var(--yellow); color: var(--black); }
.events h2 { color: var(--white); }
.events h2 .hl { color: var(--yellow); }
.events-lead { color: rgba(255, 255, 255, 0.82); max-width: 56ch; }

/* Events photo gallery — real event setups in arched frames */
.events-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.8rem, 2vw, 1.4rem);
  margin: 2.4rem 0 0.5rem;
}
.event-shot {
  margin: 0;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: var(--border-thick);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 44% 44% 18px 18px / 30% 30% 12px 12px;
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.55);
  transition: transform 0.22s ease;
}
.event-shot:nth-child(odd) { transform: rotate(-1.4deg); }
.event-shot:nth-child(even) { transform: rotate(1.4deg); }
.event-shot:hover { transform: translateY(-5px) rotate(0deg); }
.event-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.event-shot:hover img { transform: scale(1.06); }

.event-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 2rem 0;
}
/* ticket / tag shaped labels */
.ticket {
  --tk: var(--yellow);
  position: relative;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.6rem 1.15rem;
  background: var(--tk);
  color: var(--black);
  border: 3px solid var(--tk);
  border-radius: 10px;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.6);
}
/* punched notches on ticket sides */
.ticket::before, .ticket::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 12px; height: 12px;
  background: var(--black);
  border-radius: 50%;
  transform: translateY(-50%);
}
.ticket::before { left: -7px; }
.ticket::after { right: -7px; }
.ticket:nth-child(3n+2) { --tk: var(--red); color: var(--white); }
.ticket:nth-child(3n+3) { --tk: var(--white); }
.ticket:nth-child(odd) { transform: rotate(-1.5deg); }
.ticket:nth-child(even) { transform: rotate(1.5deg); }

/* =============================================================
   WHY GELI SNACKS
   ============================================================= */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2.5vw, 1.6rem);
}
.benefit {
  background: var(--white);
  border: var(--border-thick);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  box-shadow: var(--shadow-pop-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}
.benefit:hover { transform: translateY(-5px); box-shadow: var(--shadow-pop); }
.benefit:nth-child(2) { background: var(--yellow); }
.benefit:nth-child(3) { background: var(--red); color: var(--white); }
.benefit:nth-child(3) .benefit-num { color: var(--white); -webkit-text-stroke-color: var(--white); }
.benefit-icon {
  width: 58px; height: 58px;
  display: grid;
  place-items: center;
  font-size: 1.9rem;
  background: var(--cream);
  border: var(--border);
  border-radius: 16px;
  margin-bottom: 1rem;
}
.benefit:nth-child(3) .benefit-icon { background: var(--white); }
.benefit h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.benefit p { font-size: 0.95rem; font-weight: 600; }
.benefit:not(:nth-child(3)) p { color: var(--ink-70); }
.benefit-num {
  position: absolute;
  top: 0.4rem; right: 0.8rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.4rem;
  color: transparent;
  -webkit-text-stroke: 2px var(--ink-12);
  line-height: 1;
}

/* =============================================================
   ORDERING PROCESS
   ============================================================= */
.process { background: var(--cream-deep); position: relative; }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 3vw, 2.2rem);
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--white);
  border: var(--border-thick);
  border-radius: var(--radius);
  padding: 2rem 1.5rem 1.6rem;
  box-shadow: var(--shadow-pop-sm);
  transition: transform 0.2s ease;
}
.step:hover { transform: translateY(-5px); }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px; height: 62px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--white);
  background: var(--red);
  border: var(--border);
  border-radius: 50%;
  box-shadow: var(--shadow-pop-sm);
  margin-bottom: 1rem;
}
.step:nth-child(2) .step-num { background: var(--black); color: var(--yellow); }
.step:nth-child(3) .step-num { background: var(--yellow); color: var(--black); }
.step .step-kicker {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--red);
  text-transform: uppercase;
}
.step h3 { font-size: 1.3rem; margin: 0.2rem 0 0.5rem; }
.step p { font-size: 0.95rem; font-weight: 600; color: var(--ink-70); }
/* dashed connectors between steps (desktop) */
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50px; right: -1.3rem;
  width: 1.3rem; height: 4px;
  background-image: linear-gradient(90deg, var(--black) 55%, transparent 0);
  background-size: 12px 4px;
}
.process-cta { text-align: center; margin-top: clamp(2rem, 5vw, 3rem); }

/* =============================================================
   SOCIAL / INSTAGRAM
   ============================================================= */
.social-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(0.6rem, 1.6vw, 1rem);
  margin-block: clamp(2rem, 5vw, 3rem);
}
.ig-tile {
  aspect-ratio: 1;
  border: var(--border);
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  box-shadow: var(--shadow-pop-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
  position: relative;
}
.ig-tile:hover { transform: translateY(-4px) rotate(-2deg); box-shadow: var(--shadow-pop); }
.ig-tile:nth-child(6n+1) { background: linear-gradient(160deg, #fff0bd, var(--yellow)); }
.ig-tile:nth-child(6n+2) { background: linear-gradient(160deg, #ffc7c6, var(--red)); }
.ig-tile:nth-child(6n+3) { background: linear-gradient(160deg, #fff, var(--cream-deep)); }
.ig-tile:nth-child(6n+4) { background: linear-gradient(160deg, #ffd8a3, #ff9f5a); }
.ig-tile:nth-child(6n+5) { background: linear-gradient(160deg, var(--yellow), #ffcf3f); }
.ig-tile:nth-child(6n+6) { background: linear-gradient(160deg, #ffb3b1, #ff7a78); }
.ig-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.ig-tile:hover img { transform: scale(1.08); }
.ig-tile .ig-mark {
  position: absolute; bottom: 6px; right: 8px;
  font-size: 0.9rem; opacity: 0.5;
  z-index: 2;
  color: var(--white);
  text-shadow: 0 1px 3px rgba(0,0,0,.5);
}
.social-btns { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; }

/* =============================================================
   FINAL CTA
   ============================================================= */
.final-cta {
  background: var(--yellow);
  border-top: var(--border-thick);
  border-bottom: var(--border-thick);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta h2 { margin-bottom: 1rem; }
.final-cta .lead { color: var(--ink-70); max-width: 52ch; margin-inline: auto; }
.final-cta .btn-row { justify-content: center; margin-top: 1.8rem; }
.final-cta .fine { margin-top: 1rem; font-weight: 700; font-size: 0.92rem; }

/* =============================================================
   FOOTER
   ============================================================= */
.footer {
  background: var(--black);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding-top: clamp(3rem, 7vw, 5rem);
}
.footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 20px;
  background:
    radial-gradient(circle at 13px 26px, var(--black) 13px, transparent 14px) repeat-x;
  background-size: 26px 26px;
  background-position: 0 -13px;
  filter: drop-shadow(0 -3px 0 var(--black));
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  padding-bottom: 2.5rem;
}
.footer-brand img { height: auto; width: 200px; max-width: 100%; margin-bottom: 1rem; }
.footer-tagline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--yellow);
  margin-bottom: 0.6rem;
}
.footer-brand p { color: rgba(255, 255, 255, 0.72); font-weight: 600; font-size: 0.95rem; }
.footer-brand .badge-247 { margin-top: 1rem; }
.footer-col h4 { color: var(--yellow); font-size: 1.15rem; margin-bottom: 1rem; }
.footer-col a { display: inline-block; padding: 0.35rem 0; color: rgba(255, 255, 255, 0.82); font-weight: 600; }
.footer-col a:hover { color: var(--yellow); }
.footer-phone { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; color: var(--white); }

.socials { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-top: 0.4rem; }
.socials .social-icon {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  background: var(--white);
  color: var(--black);
  border: 3px solid var(--white);
  border-radius: 50%;
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}
.socials .social-icon svg { width: 22px; height: 22px; }
.socials .social-icon:hover { transform: translateY(-4px) rotate(-6deg); background: var(--yellow); border-color: var(--yellow); color: var(--black); }

.footer-bar {
  border-top: 2px solid rgba(255, 255, 255, 0.18);
  padding-block: 1.4rem 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  justify-content: space-between;
  align-items: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  font-weight: 600;
}
.footer-bar a { color: rgba(255, 255, 255, 0.75); }
.footer-bar a:hover { color: var(--yellow); }

/* =============================================================
   CONTACT PAGE
   ============================================================= */
.page-hero {
  position: relative;
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
  overflow: hidden;
  text-align: center;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .lead { max-width: 54ch; margin-inline: auto; }

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: start;
}
.info-stack { display: flex; flex-direction: column; gap: 1.2rem; }
.info-card {
  background: var(--white);
  border: var(--border-thick);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow-pop-sm);
}
.info-card--yellow { background: var(--yellow); }
.info-card--black { background: var(--black); color: var(--white); }
.info-card--black h3 { color: var(--yellow); }
.info-card h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }
.info-card p { font-weight: 600; }
.info-card .big-phone {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 1rem + 2vw, 2rem);
  color: var(--red);
  display: inline-block;
  margin-top: 0.3rem;
}
.info-card--black .big-phone { color: var(--yellow); }
.info-row { display: flex; align-items: center; gap: 0.7rem; margin-top: 0.4rem; font-weight: 700; }
.info-row .ic {
  width: 40px; height: 40px; flex: none;
  display: grid; place-items: center;
  background: var(--cream); border: var(--border); border-radius: 12px;
}
.info-card--black .info-row .ic { background: rgba(255,255,255,0.12); border-color: var(--white); color: var(--yellow); }

/* Service area map treatment (pure CSS, no Google JS) */
.map-card { padding: 0; overflow: hidden; }
.map-art {
  position: relative;
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(180deg, #fff2c4, var(--yellow));
  border-bottom: var(--border-thick);
  overflow: hidden;
}
.map-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-pin {
  position: absolute;
  top: 46%; left: 50%;
  transform: translate(-50%, -100%);
  z-index: 3;
  color: var(--red);
  width: 46px;
  filter: drop-shadow(2px 4px 0 rgba(0,0,0,0.25));
  animation: pinbob 2.4s ease-in-out infinite;
}
@keyframes pinbob { 0%,100%{ transform: translate(-50%,-100%);} 50%{ transform: translate(-50%,-118%);} }
.map-label {
  position: absolute;
  bottom: 12px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}
.map-card .map-body { padding: 1.4rem 1.5rem 1.6rem; }

/* Order card highlight */
.order-card {
  background: linear-gradient(160deg, var(--yellow), #ffcf3f);
  border: var(--border-thick);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 4vw, 2.4rem);
  box-shadow: var(--shadow-pop);
  position: relative;
  overflow: hidden;
}
.order-card h2 { margin-bottom: 0.6rem; }
.order-card p { font-weight: 700; max-width: 46ch; }

/* Contact form */
.form-card {
  background: var(--white);
  border: var(--border-thick);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 4vw, 2.6rem);
  box-shadow: var(--shadow-pop);
}
.form-card h2 { margin-bottom: 0.4rem; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
  margin-top: 1.4rem;
}
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
}
.field label .req { color: var(--red); }
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
  padding: 0.8rem 0.95rem;
  background: var(--cream);
  border: var(--border);
  border-radius: 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: var(--white);
  box-shadow: var(--shadow-pop-sm);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-55); font-weight: 600; }
.form-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink-70);
  background: var(--cream-deep);
  border: 2px dashed var(--black);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}
.form-actions { margin-top: 1.3rem; }
.form-success {
  display: none;
  margin-top: 1rem;
  padding: 0.9rem 1.1rem;
  background: var(--yellow);
  border: var(--border);
  border-radius: 14px;
  font-weight: 700;
}
.form-success.show { display: block; }

/* =============================================================
   SCROLL REVEAL
   ============================================================= */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 1024px) {
  .treat-card { grid-column: span 4; }
  .treat-card:nth-child(4n+2), .treat-card:nth-child(4n+4) { transform: none; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .social-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-collage { order: -1; max-width: 460px; margin-inline: auto; width: 100%; }
  .hero-arrow { display: none; }

  .intro-grid { grid-template-columns: 1fr; }
  .intro-visual { order: -1; }

  .contact-layout { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { display: none; }
}

@media (max-width: 640px) {
  .treats-grid { gap: 1.4rem 1.1rem; }
  .treat-card { grid-column: span 6; }
  .events-gallery { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .social-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .btn-row .btn { width: 100%; }
  .hero-badges { flex-direction: column; align-items: flex-start; }

  /* Decorative sparkles are positioned for wide layouts and collide
     with text on narrow screens — hide them (they are aria-hidden). */
  .sparkle { display: none; }

  /* Keep the hero accent circle fully on-screen (it bled off the right) */
  .hero-circle { right: 3%; bottom: 3%; width: 37%; }
}

@media (max-width: 400px) {
  /* Keep treats a tidy 2-up grid on phones (no oversized single column) */
  .treats-grid { gap: 1.1rem 0.8rem; }
  .nav-logo img { height: 44px; }
}

/* =============================================================
   REDUCED MOTION
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; transform: none; justify-content: center; }
  .floaty, .floaty-slow, .spin-slow, .hero-arch .hero-logo, .map-pin, .badge-247 .dot { animation: none; }
}
