/* The Neighbourhood Ice Cream Shoppe — customer site
   Palette from the brand lockup: white, sky, navy, cherry, grass, pastel scoops. */

:root {
  --white: #ffffff;
  --sky: #3aa4dc;
  --sky-bright: #4cb8f8;
  --sky-deep: #1c7ab8;
  --sky-wash: #e8f6fd;
  --navy: #0c2744;
  --navy-ink: #152433;
  --cherry: #d41732;
  --cherry-dark: #b01228;
  --shoppe: #1e73c4;
  --green: #2e9a3c;
  --green-dark: #237a2e;
  --pink: #f4a3bc;
  --mint: #8ed9c4;
  --peach: #f2b07a;
  --cone: #e0a04a;
  --muted: #4a5d6e;
  --line: #d5e8f4;
  --shadow: 0 12px 32px rgba(12, 39, 68, 0.12);
  --radius: 18px;
  --max: 1120px;
  --font: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Allura", "Great Vibes", cursive;
  --ice: "Anton", Impact, sans-serif;
  --caps: "Montserrat", "Nunito", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--navy-ink);
  background: var(--white);
  line-height: 1.55;
  font-size: 1.05rem;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--shoppe); }
a:hover { color: var(--sky-deep); }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 100;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

/* ---------- header ---------- */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--sky);
  position: sticky;
  top: 0;
  z-index: 40;
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.55rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
.brand-cones {
  height: 52px;
  width: auto;
  max-height: 52px;
  flex-shrink: 0;
  object-fit: contain;
}
.wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.wm-script {
  font-family: var(--script);
  color: var(--navy);
  font-size: 1.45rem;
  letter-spacing: 0.01em;
  line-height: 0.85;
}
.wm-script .the {
  font-size: 0.72em;
  margin-right: 0.15em;
}
.wm-row {
  display: flex;
  align-items: baseline;
  gap: 0.28rem;
  flex-wrap: wrap;
}
.wm-ice {
  font-family: var(--ice);
  color: var(--cherry);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  font-weight: 400;
}
.wm-shoppe {
  font-family: var(--font);
  font-weight: 800;
  color: var(--shoppe);
  font-size: 0.95rem;
}
.wm-artisan {
  font-family: var(--caps);
  font-weight: 700;
  color: var(--green);
  font-size: 0.48rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-top: 0.18rem;
}

.nav-toggle {
  background: var(--sky);
  color: #fff;
  border: 0;
  border-radius: 10px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.nav-toggle:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.site-nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--white);
  border-bottom: 3px solid var(--sky);
  padding: 0.5rem 1rem 1rem;
}
.site-nav.is-open { display: block; }
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.site-nav a {
  display: block;
  padding: 0.7rem 0.85rem;
  text-decoration: none;
  color: var(--navy);
  font-weight: 700;
  border-radius: 10px;
}
.site-nav a:hover,
.site-nav a:focus-visible { background: var(--sky-wash); color: var(--navy); }
.site-nav a[aria-current="page"] {
  background: var(--sky);
  color: #fff;
}

/* ---------- layout ---------- */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1rem;
}
.section { padding: 2.5rem 0; }
.section-sky {
  background: linear-gradient(180deg, var(--sky) 0%, #67c0ee 55%, var(--sky-wash) 100%);
  color: var(--navy);
}
.section-sky .h { color: var(--navy); }
.section-wash { background: var(--sky-wash); }

.h {
  font-family: var(--font);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 0.6rem;
}
.h1 { font-size: clamp(1.8rem, 5vw, 2.8rem); }
.h2 { font-size: clamp(1.45rem, 3.5vw, 2rem); }
.lede {
  font-size: 1.12rem;
  color: var(--muted);
  margin: 0 0 1.25rem;
  max-width: 38rem;
}
.kicker {
  font-family: var(--caps);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 0.4rem;
}
.kicker-red { color: var(--cherry); }

.open-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--cherry);
  color: #fff;
  font-family: var(--caps);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
}
.open-badge .now {
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  font-family: var(--font);
  font-size: 0.9em;
}

.open-badge.is-closed { background: var(--navy); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  border: 2px solid transparent;
  min-height: 44px;
}
.btn:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.btn-cherry { background: var(--cherry); color: #fff; }
.btn-cherry:hover { background: var(--cherry-dark); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { color: #fff; background: #081c32; }
.btn-sky { background: var(--shoppe); color: #fff; }
.btn-sky:hover { background: var(--sky-deep); color: #fff; }
.btn-ghost {
  background: #fff;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-ghost:hover { background: var(--sky-wash); color: var(--navy); }
.actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }

/* ---------- hero ---------- */
.hero {
  display: grid;
  gap: 1.25rem;
  padding: 1.25rem 1rem 2rem;
  max-width: var(--max);
  margin: 0 auto;
}
.hero-copy { padding-top: 0.4rem; }
.hero-photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--sky);
}
.hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.hero-meta {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.hero-meta strong { color: var(--navy); }

.page-hero {
  padding: 1.75rem 0 1rem;
}
.page-hero .lede { margin-bottom: 0; }

/* ---------- flavour board ---------- */
.board {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem 1.1rem 1.4rem;
  border: 1px solid var(--line);
}
.board-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.flavours {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.flavours li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.8rem;
  background: var(--sky-wash);
  border-radius: 12px;
  font-weight: 800;
  color: var(--navy);
}
.scoop {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,0.12), 0 0 0 3px #fff;
}
.scoop-smores { background: #8b5a3c; }
.scoop-biscoff { background: #d4a054; }
.scoop-vanilla { background: #f3e6c4; }
.scoop-chocolate { background: #4a2c22; }
.scoop-lavender { background: #c4a5e0; }
.scoop-caramel { background: #c9782a; }

.prices {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin: 0;
}
.price-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem 1.2rem;
  border-top: 6px solid var(--sky);
  box-shadow: var(--shadow);
}
.price-card:nth-child(3n+1) { border-top-color: var(--sky); }
.price-card:nth-child(3n+2) { border-top-color: var(--cherry); }
.price-card:nth-child(3n) { border-top-color: var(--green); }
.price-card dt {
  font-family: var(--caps);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 800;
}
.price-card dd {
  margin: 0.2rem 0 0;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
}
.price-card .note {
  margin: 0.3rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}
.kicker-after-prices { margin-top: 1.35rem; }
.prices + .cone-strip { margin-top: 0.9rem; }

@media (min-width: 700px) {
  .prices.prices-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- cards / photos ---------- */
.mosaic {
  display: grid;
  gap: 0.85rem;
}
.shot {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--sky);
  box-shadow: var(--shadow);
}
.shot img {
  width: 100%;
  object-fit: cover;
}
.shot figcaption {
  padding: 0.7rem 0.9rem 0.85rem;
  background: #fff;
  font-size: 0.9rem;
  color: var(--muted);
}
.shot-tall img { aspect-ratio: 3 / 4; }
.shot-wide img { aspect-ratio: 4 / 3; }

.info-grid {
  display: grid;
  gap: 0.85rem;
}
.info-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem 1.25rem;
  box-shadow: var(--shadow);
}
.info-card h3 {
  margin: 0 0 0.35rem;
  color: var(--navy);
  font-size: 1.15rem;
}
.info-card p { margin: 0; color: var(--muted); }
.info-card a { font-weight: 800; }

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 280px;
  background: var(--sky-wash);
}
.map-wrap iframe {
  width: 100%;
  height: 320px;
  border: 0;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-weight: 700;
}
.hours-table th,
.hours-table td {
  text-align: left;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
}
.hours-table th { color: var(--navy); font-weight: 800; }
.hours-table td { color: var(--muted); }

.fb,
.tt {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  text-decoration: none;
}
.fb { color: #1877f2; }
.tt { color: #111; }
.fb svg,
.tt svg { width: 22px; height: 22px; }
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.15rem;
  align-items: center;
}

.social-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1.25rem;
  align-items: start;
}
.social-embed {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
.social-embed .fb-page,
.social-embed .tiktok-embed {
  max-width: 100%;
}
#flavours { scroll-margin-top: 5.5rem; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--navy);
  color: #d7e7f3;
  padding: 2rem 1rem 1.25rem;
  margin-top: 1rem;
}
.site-footer a { color: #fff; }
.site-footer .wm-script { color: #fff; }
.site-footer .wm-ice { color: #ff6b7e; }
.site-footer .wm-shoppe { color: #7ec8f5; }
.site-footer .wm-artisan { color: #8ee09a; }
.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 1.25rem;
}
.site-footer p { margin: 0.35rem 0; }
.tiny-staff {
  margin-top: 1.25rem;
  font-size: 0.75rem;
  opacity: 0.55;
}
.tiny-staff a {
  color: #9bb4c8;
  text-decoration: none;
  font-weight: 600;
}
.tiny-staff a:hover { color: #fff; text-decoration: underline; }

/* ---------- desktop ---------- */
@media (min-width: 760px) {
  .nav-toggle { display: none; }
  .header-inner { padding: 0.65rem 1.25rem; }
  .brand-cones { height: 64px; width: auto; max-height: 64px; }
  .wm-script { font-size: 1.85rem; }
  .wm-ice, .wm-shoppe { font-size: 1.15rem; }
  .wm-artisan { font-size: 0.55rem; }

  .site-nav {
    display: block;
    position: static;
    border: 0;
    padding: 0;
    background: transparent;
  }
  .site-nav ul {
    flex-direction: row;
    gap: 0.2rem;
  }
  .site-nav a { padding: 0.5rem 0.85rem; }

  .hero {
    grid-template-columns: 1fr 1.15fr;
    align-items: center;
    padding: 2rem 1.25rem 2.5rem;
    gap: 2rem;
  }
  .hero-photo img { aspect-ratio: 5 / 4; min-height: 420px; }

  .flavours {
    grid-template-columns: 1fr 1fr;
  }
  .prices {
    grid-template-columns: repeat(3, 1fr);
  }
  .mosaic {
    grid-template-columns: 1.1fr 0.9fr;
  }
  .info-grid {
    grid-template-columns: 1fr 1fr;
  }
  .social-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    padding: 0 0.25rem;
  }
  .section { padding: 3.25rem 0; }
  .wrap { padding: 0 1.25rem; }
}

@media (min-width: 980px) {
  .mosaic.three {
    grid-template-columns: 1.2fr 0.9fr 0.9fr;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.info-card h2 {
  margin: 0 0 0.35rem;
  color: var(--navy);
  font-size: 1.2rem;
}
.nav-toggle .bar,
.nav-toggle .bar::before,
.nav-toggle .bar::after {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  position: relative;
}
.nav-toggle .bar::before,
.nav-toggle .bar::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle .bar::before { top: -6px; }
.nav-toggle .bar::after { top: 6px; }

.kicker-navy { color: var(--navy); }
.lede-ink { color: var(--navy-ink); }
.board-head .kicker { margin: 0; }
.footer-blurb { margin-top: 0.85rem; }
.h-open { margin-top: 0.7rem; }
.mosaic { align-items: start; }

/* ---------- designed UI (no photos of people or vehicles) ---------- */
.hero-art {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #43abe8;
  min-height: 0;
  display: grid;
  place-items: center;
  position: relative;
  padding: 0;
}
.hero-art img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}
.look-grid {
  display: grid;
  gap: 0.85rem;
}
.look-card {
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem 1.45rem;
  box-shadow: var(--shadow);
  min-height: 168px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.25rem;
}
.look-card h3 {
  margin: 0;
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.look-card p {
  margin: 0;
  font-weight: 700;
  font-size: 0.98rem;
  opacity: 0.9;
}
.look-card .mini-cones {
  width: auto;
  height: 88px;
  margin-bottom: 0.55rem;
  object-fit: contain;
  filter: drop-shadow(0 6px 10px rgba(12, 39, 68, 0.16));
}
.look-pink { background: var(--pink); color: var(--navy); }
.look-mint { background: var(--mint); color: var(--navy); }
.look-peach { background: var(--peach); color: var(--navy); }
.look-navy { background: var(--navy); color: #fff; }
.look-navy .wm-script { color: #fff; font-size: 2rem; }
.look-cherry { background: var(--cherry); color: #fff; }
.look-cherry .ice-mark {
  font-family: var(--ice);
  font-size: 2.1rem;
  letter-spacing: 0.04em;
  line-height: 0.95;
  margin-bottom: 0.35rem;
}
.look-green { background: var(--green); color: #fff; }
.look-sky { background: var(--sky); color: var(--navy); }

.flavour-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.flavour-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.2rem 1rem 1.15rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.6rem;
  border: 1px solid var(--line);
}
.flavour-card h3 {
  margin: 0;
  font-size: 1.08rem;
  color: var(--navy);
}
.scoop-lg {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  box-shadow: inset 0 -7px 0 rgba(0, 0, 0, 0.1), 0 8px 16px rgba(12, 39, 68, 0.12);
}

.palette {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
}
.swatch {
  border-radius: 14px;
  min-height: 92px;
  display: flex;
  align-items: flex-end;
  padding: 0.65rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: var(--shadow);
}
.swatch-white { background: #fff; color: var(--navy); border: 1px solid var(--line); }
.swatch-sky { background: var(--sky); color: var(--navy); }
.swatch-navy { background: var(--navy); color: #fff; }
.swatch-cherry { background: var(--cherry); color: #fff; }
.swatch-green { background: var(--green); color: #fff; }
.swatch-pink { background: var(--pink); color: var(--navy); }
.swatch-mint { background: var(--mint); color: var(--navy); }
.swatch-peach { background: var(--peach); color: var(--navy); }

.brand-stage {
  background: #43abe8;
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  display: grid;
  justify-items: center;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.brand-stage img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}
.visit-banner {
  background: linear-gradient(135deg, var(--sky) 0%, #67c0ee 55%, var(--mint) 100%);
  border-radius: var(--radius);
  padding: 1.6rem 1.3rem 1.5rem;
  box-shadow: var(--shadow);
  color: var(--navy);
}
.visit-banner .wordmark { margin-bottom: 0.7rem; }
.visit-banner h2 { margin: 0 0 0.35rem; }
.visit-banner p { margin: 0; font-weight: 700; }

.cone-strip {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  background: #fff;
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.cone-strip img { width: auto; height: 64px; object-fit: contain; }
.cone-strip h3 { margin: 0 0 0.25rem; color: var(--navy); }
.cone-strip p { margin: 0; color: var(--muted); font-weight: 700; }

@media (min-width: 760px) {
  .hero-art { min-height: 0; padding: 0; }
  .look-grid { grid-template-columns: repeat(3, 1fr); }
  .flavour-cards { grid-template-columns: repeat(3, 1fr); }
  .palette { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 980px) {
  .palette { grid-template-columns: repeat(8, 1fr); }
}
/* ---------- staff schedule ---------- */
.cal-section { padding-top: 0.25rem; padding-bottom: 2rem; }
.cal-wrap { max-width: 1240px; }
.cal-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  overflow: hidden;
}
.cal-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  padding: 0.85rem 1rem 0.7rem;
  background: var(--sky-wash);
  border-bottom: 1px solid var(--line);
}
.cal-toolbar select,
.cal-toolbar button {
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  padding: 0.4rem 0.75rem;
  cursor: pointer;
  min-height: 40px;
}
.cal-toolbar button:hover,
.cal-toolbar select:hover { background: #fff; border-color: var(--sky); }
.cal-toolbar .cal-btn-primary {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.cal-toolbar .cal-btn-primary:hover { background: #081c32; color: #fff; }
.cal-month-name {
  margin: 0;
  font-weight: 800;
  color: var(--navy);
  font-size: 1.15rem;
}
.cal-spacer { flex: 1; }
.cal-status {
  min-height: 1.2rem;
  font-size: 0.92rem;
  color: var(--muted);
  padding: 0.45rem 1rem 0.2rem;
}
.cal-status.err { color: var(--cherry); font-weight: 700; }
.cal-status.ok { color: var(--green-dark); font-weight: 700; }

.cal-scroll { overflow-x: auto; }
.cal-inner { min-width: 860px; }
.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  background: var(--sky);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
}
.cal-weekdays > div {
  padding: 0.55rem 0.2rem;
  border-right: 1px solid rgba(255,255,255,.28);
}
.cal-weekdays > div:last-child { border-right: 0; }

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}
.cal-day {
  background: #fff;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  min-height: 132px;
  padding: 0.35rem 0.35rem 0.4rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.cal-day:nth-child(7n) { border-right: 0; }
.cal-day.empty { background: #f4f8fb; }
.cal-day.weekend:not(.empty) { background: var(--sky-wash); }
.cal-day.today { box-shadow: inset 0 0 0 2px var(--cherry); }
.cal-day .num {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
  padding: 0 0 0.12rem 0.05rem;
}
.cal-day .day-split {
  height: 0;
  border-top: 1px dashed var(--line);
  margin: 0.15rem 0 0.1rem;
}

.slot {
  flex: 1 1 0;
  min-height: 0;
  padding: 0.08rem 0.04rem;
  font-size: 0.78rem;
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
}
.slot.muted { opacity: 0.45; }
.slot .label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.25rem;
}
.slot .when {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.slot.morning .when { color: var(--shoppe); }
.slot.afternoon .when { color: var(--cherry); }
.slot .hours { font-weight: 800; color: var(--navy); }
.slot .who {
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.15;
  word-break: break-word;
}
.slot .open-label {
  font-style: italic;
  color: #8aa0b3;
  font-weight: 600;
}
.slot .open-row,
.slot .name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem;
  min-width: 0;
}
.slot button.claim {
  border: 1px solid var(--sky);
  background: #fff;
  color: var(--shoppe);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  cursor: pointer;
}
.slot button.claim:hover { background: var(--sky); color: #fff; }
.slot .release {
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 0.72rem;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 700;
}
.slot .release:hover { color: var(--cherry); }
.slot .dash { color: #9bb4c8; }

.cal-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.95rem;
  align-items: center;
  padding: 0.75rem 1rem 0.95rem;
  font-size: 0.92rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: #fff;
}
.cal-legend .who-swatch { font-weight: 800; }
.cal-legend .open-swatch { font-style: italic; color: #8aa0b3; }

.page-schedule dialog {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  width: min(94vw, 28rem);
  box-shadow: var(--shadow);
}
.page-schedule dialog::backdrop { background: rgba(12, 39, 68, 0.45); }
.dlg { padding: 1.35rem 1.35rem 1.4rem; }
.dlg h2 { margin: 0 0 0.4rem; font-size: 1.35rem; color: var(--navy); }
.dlg p { margin: 0 0 0.85rem; color: var(--muted); }
.dlg label {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.dlg select {
  width: 100%;
  margin: 0.35rem 0 1rem;
  font: inherit;
  font-size: 1.05rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.dlg-actions { display: flex; gap: 0.55rem; justify-content: flex-end; }
.dlg-actions button {
  font: inherit;
  font-weight: 800;
  border-radius: 999px;
  border: 2px solid var(--navy);
  background: #fff;
  color: var(--navy);
  padding: 0.5rem 0.95rem;
  cursor: pointer;
}
.dlg-actions button.primary {
  background: var(--cherry);
  color: #fff;
  border-color: var(--cherry);
}

.login-main {
  min-height: 58vh;
  display: grid;
  place-items: center;
  padding: 2.25rem 1rem;
  background:
    radial-gradient(circle at 12% 18%, rgba(244, 163, 188, 0.35), transparent 38%),
    radial-gradient(circle at 88% 82%, rgba(142, 217, 196, 0.35), transparent 42%),
    var(--sky-wash);
}
.login-card {
  width: min(100%, 24rem);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.7rem 1.45rem 1.6rem;
  border: 1px solid var(--line);
  display: grid;
  justify-items: stretch;
}
.login-card .login-cones {
  width: 88px;
  height: auto;
  margin: 0 auto 0.35rem;
}
.login-card .kicker,
.login-card .h { text-align: center; }
.login-card p { margin: 0 0 1rem; color: var(--muted); text-align: center; }
.login-card label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.login-card input {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 1rem;
  margin-bottom: 0.9rem;
  font-family: inherit;
}
.login-card .btn { width: 100%; }
.login-err {
  color: var(--cherry);
  font-weight: 800;
  text-align: center;
  margin: 0 0 0.75rem;
}

@media (min-width: 760px) {
  .cal-inner { min-width: 0; }
  .cal-day { min-height: 148px; }
}

/* ---------- 64px N64-style walkers on brand-color platform ---------- */
body.has-walk-stripe .site-footer {
  padding-bottom: 9.5rem;
}
.walk-stripe {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 52px;
  z-index: 28;
  pointer-events: auto;
  touch-action: manipulation;
  cursor: pointer;
  background-color: #0c2744;
  background-image:
    linear-gradient(180deg, rgba(255,255,255,0.45) 0 2px, #d41732 2px 8px, transparent 8px),
    repeating-linear-gradient(
      90deg,
      #0c2744 0 58px,
      #3aa4dc 58px 61px,
      #081c33 61px 116px,
      #4cb8f8 116px 118px
    );
  background-repeat: no-repeat, repeat-x;
  background-size: 100% 8px, 118px 44px;
  background-position: top left, 0 8px;
  box-shadow: 0 -8px 18px rgba(12, 39, 68, 0.28);
}
.walk-hint {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 136px);
  transform: translateX(-50%);
  margin: 0;
  max-width: min(92vw, 28rem);
  padding: 0.35rem 0.7rem;
  background: #fff;
  color: #0c2744;
  border: 2px solid #d41732;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  pointer-events: none;
  box-shadow: 0 6px 16px rgba(12, 39, 68, 0.2);
  transition: opacity 0.45s ease;
  z-index: 3;
}
.walk-hint.is-gone { opacity: 0; }

.actor {
  position: absolute;
  bottom: 44px;
  left: -200px;
  pointer-events: auto;
  cursor: pointer;
  opacity: 0;
  z-index: 2;
  transform-origin: 50% 100%;
}
.actor:not(.is-on) { pointer-events: none; }
.actor.is-on { opacity: 1; }
.actor-rider { width: 90px; height: 128px; }
.actor-allan { width: 60px; height: 128px; }
.actor-mocha { width: 128px; height: 126px; }
.actor.is-picked { z-index: 4; }
.actor-rider.is-on .spr {
  animation: ride-buck 0.4s ease-in-out infinite;
}
.actor-allan.is-moving .spr,
.actor-mocha.is-moving .spr {
  animation: walk-bob 0.28s steps(2, end) infinite;
}
@keyframes ride-buck {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  35% { transform: translateY(-7px) rotate(-2deg); }
  70% { transform: translateY(-2px) rotate(2deg); }
}
@keyframes walk-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.spr-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}
.actor.is-left .spr-wrap { transform: scaleX(-1); }

.spr {
  display: block;
  max-width: none;
  pointer-events: none;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  background-repeat: no-repeat;
  filter: drop-shadow(0 4px 3px rgba(12, 39, 68, 0.4));
}
.actor.is-picked .spr {
  outline: 2px solid #d41732;
  outline-offset: 2px;
}

.spr-tongue {
  position: absolute;
  left: 58%;
  top: 36%;
  width: 34px;
  height: 24px;
  display: none;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  pointer-events: none;
  filter: none;
}
.actor-mocha.is-lick .spr-tongue { display: block; }

.actor-tag {
  position: absolute;
  left: 50%;
  bottom: 100%;
  transform: translate(-50%, -4px);
  background: #0c2744;
  color: #fff;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.15rem 0.4rem;
  border-radius: 999px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 2px 0 #d41732;
}
.walk-stripe.is-play .actor-tag { opacity: 0.55; }
.walk-stripe.is-play .actor.is-picked .actor-tag { opacity: 1; }

.spr-speech {
  position: absolute;
  left: 50%;
  bottom: 132px;
  width: 220px;
  margin: 0;
  padding: 0.5rem 0.7rem;
  transform: translateX(-50%);
  background: #fff;
  color: #0c2744;
  border: 3px solid #d41732;
  border-radius: 16px;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: 0.01em;
  box-shadow: 0 6px 16px rgba(12, 39, 68, 0.22);
  pointer-events: none;
  display: none;
  z-index: 5;
}
.actor-allan.is-talk .spr-speech { display: block; }
.spr-who {
  display: block;
  color: #d41732;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}
.spr-speech::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 0;
  height: 0;
  border: 9px solid transparent;
  border-top-color: #d41732;
  transform: translateX(-50%);
}

@media (max-width: 640px) {
  .walk-hint { font-size: 0.64rem; bottom: calc(100% + 118px); }
  .spr-speech { width: 178px; font-size: 0.64rem; }
}
@media (prefers-reduced-motion: reduce) {
  .actor,
  .walk-stripe { display: none !important; }
}
