/* 2 Scoops Family Ice Cream Shop */
:root {
  --sky: #8ad7fb;
  --sky-deep: #3fb6ec;
  --sky-soft: #e3f5fe;
  --pink: #ff6f91;
  --pink-deep: #e84a72;
  --cream: #fff8ee;
  --vanilla: #fdebc8;
  --choc: #3b2318;
  --choc-soft: #6b4a3a;
  --white: #ffffff;
  --radius: 22px;
  --shadow: 0 10px 30px rgba(59, 35, 24, 0.12);
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--choc);
  font-family: "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--pink-deep); }
h1, h2, h3 {
  font-family: "Shrikhand", Georgia, serif;
  font-weight: 400;
  line-height: 1.1;
  margin: 0 0 0.5em;
  color: var(--choc);
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }

.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--white); padding: 8px 14px; z-index: 100; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 248, 238, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--vanilla);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--choc); }
.brand svg { width: 38px; height: 48px; }
.brand span { font-family: "Shrikhand", Georgia, serif; font-size: 1.5rem; line-height: 1; }
.brand small { display: block; font-family: "DM Sans", sans-serif; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--choc-soft); margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 8px 14px; border-radius: 999px;
  text-decoration: none; color: var(--choc); font-weight: 600;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--sky-soft); }
.nav-links .btn { margin-left: 6px; }
.menu-toggle {
  display: none; background: none; border: 2px solid var(--choc); border-radius: 12px;
  padding: 6px 12px; font: inherit; font-weight: 700; color: var(--choc); cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--pink); color: var(--white) !important;
  padding: 12px 22px; border-radius: 999px; font-weight: 700;
  text-decoration: none; border: 0; cursor: pointer;
  box-shadow: 0 4px 0 var(--pink-deep);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--pink-deep); }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--pink-deep); }
.btn.alt { background: var(--white); color: var(--choc) !important; box-shadow: 0 4px 0 var(--choc); border: 2px solid var(--choc); }
.btn.alt:hover { box-shadow: 0 6px 0 var(--choc); }
.nav-links .btn { padding: 9px 18px; }

/* Hero */
.hero {
  background: var(--sky);
  position: relative; overflow: hidden;
  padding: 64px 0 110px;
}
.hero::after {
  /* drip edge */
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 60px;
  background: var(--cream);
  -webkit-mask: radial-gradient(circle at 30px 0, transparent 29px, #000 30px) 0 0 / 60px 60px repeat-x;
          mask: radial-gradient(circle at 30px 0, transparent 29px, #000 30px) 0 0 / 60px 60px repeat-x;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 40px; }
.eyebrow {
  display: inline-block; background: var(--white); color: var(--choc);
  padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: 0.85rem;
  letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 18px;
}
.hero p.lead { font-size: 1.2rem; max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.hero-art { justify-self: center; width: min(360px, 100%); animation: bob 5s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-10px) rotate(-2deg); } }
@media (prefers-reduced-motion: reduce) { .hero-art { animation: none; } }

.open-pill {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 22px;
  background: rgba(255,255,255,0.7); padding: 8px 14px; border-radius: 999px; font-weight: 600;
}
.dot { width: 10px; height: 10px; border-radius: 50%; background: #2bb673; box-shadow: 0 0 0 4px rgba(43,182,115,0.25); }
.dot.closed { background: var(--pink-deep); box-shadow: 0 0 0 4px rgba(232,74,114,0.25); }

/* Sections */
section { padding: 72px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section-head p { color: var(--choc-soft); font-size: 1.1rem; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--white); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow); border: 2px solid var(--vanilla);
}
.card .icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  font-size: 1.8rem; margin-bottom: 14px; background: var(--sky-soft);
}
.card:nth-child(2) .icon { background: #ffe1e8; }
.card:nth-child(3) .icon { background: var(--vanilla); }

/* Price list */
.price-band { background: var(--white); }
.menu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.menu-group { background: var(--cream); border-radius: var(--radius); padding: 28px; border: 2px dashed var(--sky-deep); }
.menu-group h3 { margin-bottom: 14px; }
.item { display: flex; align-items: baseline; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--vanilla); }
.item:last-child { border-bottom: 0; }
.item strong { font-size: 1.08rem; }
.item .leader { flex: 1; border-bottom: 2px dotted var(--choc-soft); opacity: 0.35; transform: translateY(-5px); }
.item .price { font-weight: 800; color: var(--pink-deep); white-space: nowrap; }
.item-desc { font-size: 0.95rem; color: var(--choc-soft); margin: -4px 0 6px; }
.note { text-align: center; margin-top: 28px; color: var(--choc-soft); }

/* Flavor tags */
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 10px; }
.tag {
  display: inline-block; padding: 8px 16px; border-radius: 999px; font-weight: 700;
  background: var(--white); border: 2px solid var(--choc);
}
.tag.sky { background: var(--sky); }
.tag.pink { background: #ffd2dd; }
.tag.van { background: var(--vanilla); }
.flavor-board { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.flavor {
  background: var(--white); border-radius: 18px; padding: 16px 18px; border: 2px solid var(--vanilla);
  display: flex; align-items: center; gap: 12px; font-weight: 600;
}
.flavor .swatch { width: 26px; height: 26px; border-radius: 50%; flex: none; border: 2px solid rgba(59,35,24,0.15); }
.flavor small { display: block; font-weight: 500; color: var(--choc-soft); font-size: 0.8rem; }
.flavor-empty { text-align: center; background: var(--white); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); max-width: 640px; margin: 0 auto; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.panel {
  background: var(--sky); border-radius: 32px; padding: 40px; position: relative;
}
.panel.pink { background: #ffd2dd; }
.quote { font-family: "Shrikhand", Georgia, serif; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.2; }

/* Visit */
.visit { background: var(--choc); color: var(--cream); }
.visit h2, .visit h3 { color: var(--cream); }
.visit a { color: var(--sky); }
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: stretch; }
.hours { width: 100%; border-collapse: collapse; margin: 8px 0 20px; }
.hours td { padding: 8px 0; border-bottom: 1px solid rgba(255,248,238,0.15); }
.hours td:last-child { text-align: right; font-weight: 700; }
.hours tr.today td { color: var(--sky); }
.map { border: 0; width: 100%; height: 100%; min-height: 320px; border-radius: var(--radius); }

/* Banner */
.marquee { background: var(--pink); color: var(--white); overflow: hidden; padding: 14px 0; }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: slide 30s linear infinite; }
.marquee-track span { font-family: "Shrikhand", Georgia, serif; font-size: 1.4rem; white-space: nowrap; }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* Page hero (inner pages) */
.page-hero { background: var(--sky); padding: 56px 0 90px; position: relative; text-align: center; }
.page-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 60px; background: var(--cream);
  -webkit-mask: radial-gradient(circle at 30px 0, transparent 29px, #000 30px) 0 0 / 60px 60px repeat-x;
          mask: radial-gradient(circle at 30px 0, transparent 29px, #000 30px) 0 0 / 60px 60px repeat-x;
}
.page-hero p { font-size: 1.15rem; max-width: 46ch; margin: 0 auto; }

/* Social */
.social { display: flex; gap: 12px; flex-wrap: wrap; }
.social a {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
  background: rgba(255,255,255,0.1); color: var(--cream); text-decoration: none; font-weight: 600;
}
.social a:hover { background: rgba(255,255,255,0.2); }
.social svg { width: 18px; height: 18px; fill: currentColor; }

/* Footer */
.site-footer { background: #2a180f; color: rgba(255,248,238,0.75); padding: 40px 0; font-size: 0.95rem; }
.footer-grid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.site-footer a { color: var(--cream); }
.site-footer .brand { color: var(--cream); }
.site-footer .brand small { color: rgba(255,248,238,0.6); }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid, .split, .visit-grid, .menu-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; }
  .hero-art { width: min(260px, 70%); order: -1; }
  .menu-toggle { display: inline-block; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; background: var(--cream);
    padding: 12px 16px 20px; border-bottom: 2px solid var(--vanilla);
  }
  .nav-links.open { display: flex; }
  .nav-links .btn { margin: 8px 0 0; justify-content: center; }
  section { padding: 56px 0; }
}
