/* ============================================================
   Sweet Sanity Ice Cream — playful hometown scoop shop
   Cream · strawberry pink · mint · chocolate — their real
   pink/green/white parlor colors. Signature motif: sprinkles.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@500;600;700;800&family=Nunito:ital,wght@0,400;0,600;0,700;0,800;1,400&display=swap');

:root {
  --cream: #fff9f1;
  --cream-deep: #fdf1e3;
  --panel: #fffdf9;
  --line: #f3e2d3;
  --pink: #e0568a;
  --pink-deep: #c23a6e;
  --pink-soft: #fbdfe9;
  --mint: #2f9273;
  --mint-soft: #def2e9;
  --choc: #46312a;
  --muted: #8a6f63;
  --sun: #f5b940;
  --sky: #5aa7d6;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(70, 49, 42, 0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  overflow-x: hidden;
  background: var(--cream);
  color: var(--choc);
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: 1.05rem;
  line-height: 1.65;
}

img { max-width: 100%; display: block; }
::selection { background: var(--pink); color: #fff; }

h1, h2, h3 { font-family: 'Baloo 2', system-ui, sans-serif; line-height: 1.08; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 1.4rem; }
a { color: var(--pink-deep); }

/* ---------- sprinkles divider ---------- */
.sprinkles {
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='14'%3E%3Cg stroke-linecap='round' stroke-width='4'%3E%3Cline x1='8' y1='4' x2='16' y2='10' stroke='%23e0568a'/%3E%3Cline x1='34' y1='10' x2='42' y2='4' stroke='%232f9273'/%3E%3Cline x1='60' y1='3' x2='70' y2='6' stroke='%23f5b940'/%3E%3Cline x1='88' y1='10' x2='96' y2='4' stroke='%235aa7d6'/%3E%3Cline x1='114' y1='4' x2='124' y2='9' stroke='%23e0568a'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-color: var(--panel);
}

/* ---------- topbar & header ---------- */
.topbar {
  background: var(--pink-deep);
  color: #ffe9f1;
  font-size: 0.88rem;
  text-align: center;
  padding: 0.45rem 1rem;
}
.topbar strong { color: #fff; }
.topbar a { color: #ffd7e5; font-weight: 800; text-decoration: none; }

header.site {
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
  box-shadow: 0 2px 14px rgba(70,49,42,0.06);
}
.nav-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.7rem 1.4rem; max-width: 1180px; margin: 0 auto; flex-wrap: wrap;
}
.brand { text-decoration: none; display: flex; align-items: center; gap: 0.7rem; }
.scoops { width: 44px; height: 52px; position: relative; flex-shrink: 0; }
.scoops span { position: absolute; width: 26px; height: 26px; border-radius: 50%; }
.scoops .s1 { background: var(--pink); left: 0; top: 12px; }
.scoops .s2 { background: var(--mint); right: 0; top: 12px; }
.scoops .s3 { background: var(--sun); left: 9px; top: 0; }
.scoops::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%);
  bottom: 0; width: 0; height: 0;
  border-left: 13px solid transparent; border-right: 13px solid transparent;
  border-top: 20px solid #c98a4b;
}
.brand-name {
  font-family: 'Baloo 2', sans-serif; font-weight: 800;
  font-size: 1.5rem; color: var(--choc); line-height: 1;
}
.brand-name span { color: var(--pink-deep); }
.brand-tag {
  display: block; font-family: 'Nunito', sans-serif;
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--muted);
}
nav.main { display: flex; align-items: center; gap: 0.25rem; flex-wrap: wrap; }
nav.main a {
  text-decoration: none; color: var(--choc); font-weight: 800; font-size: 0.98rem;
  padding: 0.45rem 0.9rem; border-radius: 999px; transition: background 0.15s, color 0.15s;
}
nav.main a:hover { background: var(--pink-soft); color: var(--pink-deep); }
nav.main a.active { background: var(--pink); color: #fff; }
nav.main a.cta { background: var(--mint); color: #fff; margin-left: 0.35rem; }
nav.main a.cta:hover { background: #23745a; color: #fff; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 74vh;
  display: flex; align-items: flex-end;
  color: #fff; isolation: isolate; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(60,25,35,0.18) 0%, rgba(60,25,35,0.05) 40%, rgba(45,18,26,0.78) 100%);
}
.hero-inner { padding-top: 5.5rem; padding-bottom: 3.2rem; width: 100%; }
.hero .kicker {
  display: inline-block; background: var(--pink);
  color: #fff; font-weight: 800; font-size: 0.82rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 0.4rem 1rem; border-radius: 999px; margin-bottom: 1.1rem;
}
.hero h1 {
  color: #fff; font-size: clamp(2.5rem, 5.6vw, 4.3rem); font-weight: 800;
  max-width: 15ch; text-shadow: 0 3px 22px rgba(0,0,0,0.4);
}
.hero p.lede {
  max-width: 54ch; margin: 1rem 0 1.8rem;
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  color: #ffeef4; text-shadow: 0 2px 12px rgba(0,0,0,0.45);
}
.hero .btns { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-bottom: 1rem; }
.hero--page { min-height: 44vh; }
.hero--page .hero-inner { padding-top: 4rem; padding-bottom: 2.4rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; font-weight: 800;
  font-family: 'Baloo 2', sans-serif; font-size: 1.02rem;
  padding: 0.8rem 1.7rem; border-radius: 999px;
  transition: transform 0.12s, box-shadow 0.12s, background 0.15s;
}
.btn:hover { transform: translateY(-2px) rotate(-1deg); box-shadow: 0 10px 24px rgba(0,0,0,0.2); }
.btn-pink { background: var(--pink); color: #fff; }
.btn-pink:hover { background: var(--pink-deep); }
.btn-mint { background: var(--mint); color: #fff; }
.btn-mint:hover { background: #23745a; }
.btn-cream { background: #fffdf9; color: var(--pink-deep); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.75); }
.btn-outline:hover { background: rgba(255,255,255,0.15); }

/* ---------- info strip ---------- */
.info-strip { background: var(--choc); color: #f3e4d8; }
.info-strip .wrap {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.5rem 2rem; padding: 1.1rem 1.4rem;
}
.info-strip .cell { display: flex; align-items: center; gap: 0.75rem; font-size: 0.97rem; }
.info-strip .cell strong { display: block; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sun); }
.info-strip a { color: #f3e4d8; text-decoration: none; }
.info-strip a:hover { color: #fff; text-decoration: underline; }
.info-ico { font-size: 1.5rem; line-height: 1; }

/* ---------- sections ---------- */
section.block { padding: 4.4rem 0; }
section.block--deep { background: var(--cream-deep); }
section.block--white { background: var(--panel); }
.eyebrow {
  font-weight: 800; font-size: 0.82rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--pink-deep); margin-bottom: 0.5rem;
}
.block h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 800; margin-bottom: 0.6rem; }
.block .sub { color: var(--muted); max-width: 62ch; margin-bottom: 2.2rem; font-size: 1.08rem; }
.center { text-align: center; }
.center .sub { margin-left: auto; margin-right: auto; }

/* ---------- cards ---------- */
.grid { display: grid; gap: 1.6rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card {
  background: var(--panel); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform 0.18s, box-shadow 0.18s;
  border: 1px solid var(--line);
}
.card:hover { transform: translateY(-5px) rotate(-0.4deg); box-shadow: 0 16px 40px rgba(70,49,42,0.18); }
.card img { height: 210px; width: 100%; object-fit: cover; }
.card .pad { padding: 1.2rem 1.3rem 1.4rem; flex: 1; }
.card h3 { font-size: 1.35rem; font-weight: 700; margin-bottom: 0.35rem; }
.card p { color: var(--muted); font-size: 0.96rem; }

/* ---------- split ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items: center; }
.split.rev { grid-template-columns: 1fr 1.05fr; }
.split-img {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  border: 10px solid #fff; outline: 1px solid var(--line); transform: rotate(-1.2deg);
}
.split.rev .split-img { transform: rotate(1.2deg); }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 840px) { .split, .split.rev { grid-template-columns: 1fr; gap: 1.8rem; } }

ul.checks { list-style: none; margin-top: 1rem; }
ul.checks li { padding-left: 2rem; position: relative; margin-bottom: 0.65rem; }
ul.checks li::before { content: "🍒"; position: absolute; left: 0; top: 0; font-size: 0.95rem; }

/* ---------- reviews ---------- */
.review {
  background: var(--panel); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 1.8rem 1.7rem 1.5rem; position: relative; border: 1px solid var(--line);
}
.review::before {
  content: "\201C"; font-family: 'Baloo 2', sans-serif; font-size: 4.2rem;
  color: var(--pink-soft); position: absolute; top: 0.3rem; left: 1.1rem; line-height: 1;
}
.review p { position: relative; font-size: 1rem; margin-bottom: 1rem; padding-top: 0.9rem; }
.review .who { font-weight: 800; color: var(--pink-deep); font-size: 0.92rem; }
.review .stars { color: var(--sun); letter-spacing: 0.12em; margin-bottom: 0.2rem; }

/* ---------- flavor chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 0.55rem; margin: 1rem 0 0.4rem; }
.chips span {
  background: var(--pink-soft); color: var(--pink-deep);
  border-radius: 999px; font-weight: 800; font-size: 0.92rem;
  padding: 0.35rem 1rem;
}
.chips span.mint { background: var(--mint-soft); color: var(--mint); }
.chips span.more { background: transparent; border: 2px dashed var(--line); color: var(--muted); }

/* ---------- menu board ---------- */
.menu-board {
  background: var(--panel);
  border: 3px solid var(--pink);
  border-radius: 26px;
  box-shadow: var(--shadow);
  padding: clamp(1.4rem, 4vw, 3rem);
}
.menu-section { margin-bottom: 2.6rem; }
.menu-section:last-child { margin-bottom: 0; }
.menu-section > h3 {
  font-size: 1.65rem; font-weight: 800; color: var(--pink-deep);
  display: flex; align-items: center; gap: 0.9rem; margin-bottom: 0.3rem;
}
.menu-section > h3::after {
  content: ""; flex: 1; height: 10px; border-radius: 6px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='14'%3E%3Cg stroke-linecap='round' stroke-width='4'%3E%3Cline x1='8' y1='4' x2='16' y2='10' stroke='%23e0568a'/%3E%3Cline x1='34' y1='10' x2='42' y2='4' stroke='%232f9273'/%3E%3Cline x1='60' y1='3' x2='70' y2='6' stroke='%23f5b940'/%3E%3Cline x1='88' y1='10' x2='96' y2='4' stroke='%235aa7d6'/%3E%3Cline x1='114' y1='4' x2='124' y2='9' stroke='%23e0568a'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat-x; background-position: center;
}
.menu-section .note { color: var(--muted); font-size: 0.95rem; font-style: italic; margin-bottom: 1.1rem; }
.menu-items { display: grid; grid-template-columns: 1fr 1fr; gap: 0.35rem 2.6rem; }
@media (max-width: 760px) { .menu-items { grid-template-columns: 1fr; } }
.mi {
  display: grid; grid-template-columns: 1fr auto; gap: 0.2rem 1rem;
  padding: 0.7rem 0.2rem; border-bottom: 2px dotted var(--line);
}
.mi .n { font-weight: 800; font-size: 1.03rem; }
.mi .p { font-weight: 800; color: var(--pink-deep); white-space: nowrap; }
.mi .d { grid-column: 1 / -1; color: var(--muted); font-size: 0.92rem; line-height: 1.5; }
.pill {
  display: inline-block; background: var(--mint-soft); color: var(--mint);
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  border-radius: 999px; padding: 0.1rem 0.6rem; margin-left: 0.45rem; vertical-align: 2px;
}
.menu-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin: 0.6rem 0 1.6rem; }
.menu-photo img { width: 100%; height: 240px; object-fit: cover; }

/* ---------- banner ---------- */
.banner {
  position: relative; color: #fff; isolation: isolate; overflow: hidden;
  border-radius: var(--radius);
}
.banner img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.banner::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(50,20,30,0.82) 0%, rgba(50,20,30,0.42) 60%, rgba(50,20,30,0.18) 100%);
}
.banner .pad { padding: 3.2rem 2.6rem; max-width: 62%; }
.banner h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 0.7rem; }
.banner p { color: #ffe3ec; margin-bottom: 1.5rem; }
@media (max-width: 720px) { .banner .pad { max-width: 100%; padding: 2.4rem 1.6rem; } }

/* ---------- hours table ---------- */
table.hours { width: 100%; border-collapse: collapse; }
table.hours td { padding: 0.7rem 0.4rem; border-bottom: 2px dotted var(--line); font-size: 1.02rem; }
table.hours td:last-child { text-align: right; font-weight: 800; }
table.hours tr.today td { color: var(--pink-deep); font-weight: 800; }

.map-frame {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  border: 10px solid #fff; outline: 1px solid var(--line);
}
.map-frame iframe { display: block; width: 100%; height: 400px; border: 0; }

.tip {
  background: var(--mint-soft); border-left: 5px solid var(--mint);
  border-radius: 0 12px 12px 0; padding: 1rem 1.3rem;
  font-size: 0.98rem; margin: 1.6rem 0;
}
.tip strong { color: var(--mint); }

/* ---------- footer ---------- */
footer.site { background: var(--choc); color: #f3e4d8; }
footer.site .cols {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.2rem; padding: 3rem 0 2rem;
}
@media (max-width: 860px) { footer.site .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { footer.site .cols { grid-template-columns: 1fr; } }
footer.site h4 { font-family: 'Baloo 2', sans-serif; color: #fff; font-size: 1.05rem; margin-bottom: 0.8rem; }
footer.site a { color: #f3e4d8; text-decoration: none; }
footer.site a:hover { color: #fff; text-decoration: underline; }
footer.site ul { list-style: none; }
footer.site li { margin-bottom: 0.45rem; font-size: 0.96rem; }
footer.site .brand-name { color: #fff; }
footer.site p.small { font-size: 0.9rem; color: #d3bcab; margin-top: 0.6rem; }
.footnote {
  border-top: 1px solid rgba(243,228,216,0.25);
  padding: 1.2rem 0 1.6rem; font-size: 0.85rem; color: #c4a893; text-align: center;
}
.footnote strong { color: #f3e4d8; }

@media (max-width: 640px) {
  .hero { min-height: 62vh; }
  nav.main { justify-content: center; width: 100%; }
  .nav-row { justify-content: center; }
}
