:root {
  --ink: #1a1a1a;
  --muted: #555;
  --accent: #5040ae;
  --accent-dark: #3b2f83;
  --bg: #ffffff;
  --bg-alt: #f5f4fb;
  --maxw: 960px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Open Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

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

h2 {
  font-family: "Patua One", Georgia, serif;
  letter-spacing: 1px;
  line-height: 1.15;
}

a { color: var(--accent); }
a:hover { color: var(--accent-dark); }

/* ---------- Sticky announcement banner ---------- */
.sticky-banner {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 16px;
  background: linear-gradient(90deg, #e4d3ef, #f2d6e6, #edd9e6);
  color: #5c4c62;
  font-weight: 550;
  letter-spacing: 0.5px;
  font-size: 0.95rem;
}
.sticky-banner .sparkle {
  display: inline-block;
  animation: sparkle-pulse 1.6s ease-in-out infinite;
}
@keyframes sparkle-pulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.25); opacity: 1; }
}

/* ---------- HERO (everything above the fold) ---------- */
.hero {
  min-height: 100vh;            /* fallback */
  min-height: 100dvh;           /* mobile-safe dynamic viewport height */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 20px;
  color: var(--ink);
  background: var(--bg-alt);
  border-bottom: 3px solid var(--accent);
}
.hero-inner {
  width: 100%;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.8rem;
  color: var(--accent);
}
.title-wrap {
  position: relative;
  display: inline-block;
}
.spider {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  will-change: transform;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.35));
}
.spider.crawling { opacity: 1; }
.spider.crawling g { animation: leg-wiggle 0.25s ease-in-out infinite alternate; }
@keyframes leg-wiggle {
  from { transform: scaleY(1); }
  to   { transform: scaleY(0.88); }
}

.hero h1 {
  margin: 0;
  font-family: "Segoe UI", Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 7vw, 3rem);
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--ink);
}

/* Rotator line */
.rotator-line {
  margin: 0;
  font-size: clamp(1.05rem, 4.5vw, 1.5rem);
  font-weight: 600;
  min-height: 1.6em;            /* reserve space so layout doesn't jump */
}
.rotator__word { color: var(--accent); }
.rotator__cursor {
  display: inline-block;
  width: 0.6ch;
  height: 1.05em;
  margin-left: 2px;
  background: var(--accent);
  transform: translateY(0.15em);
  animation: blink 1s step-end infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Storefront thumbnail */
.storefront {
  width: 240px;
  max-width: 80%;
  height: 150px;
  object-fit: cover;
  object-position: 50% 55%;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  border: 3px solid #fff;
}

/* Facts */
.facts {
  margin: 6px 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 32px;
}
.facts .fact { margin: 0; }
.facts dt {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.7rem;
  color: var(--muted);
}
.facts dd {
  margin: 2px 0 0;
  font-size: 1rem;
  color: var(--ink);
}
.facts a { color: var(--accent); text-decoration: underline; }

/* Call-to-action button */
.btn {
  display: inline-block;
  margin-top: 6px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 999px;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover {
  background: var(--accent-dark);
  color: #fff;
  transform: translateY(-2px);
}

.giftcards {
  margin: 4px 0 0;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--accent);
}

.scroll-cue {
  margin-top: 10px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.scroll-cue:hover { color: var(--accent); }

/* ---------- Sections below the fold ---------- */
.section { padding: 60px 0; }
.section h2 {
  text-align: center;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: 0;
}
.gallery { background: var(--bg-alt); }
.gallery h2 {
  font-family: "Segoe UI", Helvetica, Arial, sans-serif;
  font-weight: 700;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.grid figure {
  margin: 0;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}
.grid img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.grid figcaption {
  padding: 10px 12px;
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
}

.contact-extra {
  text-align: center;
  color: var(--muted);
  max-width: 560px;
  margin: 36px auto 0;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: #ccc;
  text-align: center;
  padding: 22px 0;
  font-size: 0.85rem;
}
.site-footer p { margin: 0; }

/* ---------- Mobile tweaks ---------- */
@media (max-width: 480px) {
  .facts { flex-direction: column; gap: 12px; }
  .hero { padding: 28px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rotator__cursor { animation: none; }
  .sticky-banner .sparkle { animation: none; }
}
