@font-face { font-family: Fredoka; font-style: normal; font-weight: 500; font-display: swap; src: url(fredoka-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: Fredoka; font-style: normal; font-weight: 700; font-display: swap; src: url(fredoka-latin-700-normal.woff2) format("woff2"); }

:root {
    --page-gutter: 20px;
    --ink: #100814;
    --ink-deep: #07050a;
    --cream: #f6f1e8;
    --orange: #f28c28;
    --cyan: #2ec4e6;
    --coral: #e15a45;
    --muted: #c4b6c0;
  }

* { box-sizing: border-box; }

html, body { margin: 0; }

html { background: var(--ink-deep); }

body {
    position: relative;
    font-family: Fredoka, "Avenir Next", sans-serif;
    min-height: 100vh;
    color: var(--cream);
    line-height: 1.45;
    background:
      radial-gradient(ellipse 120% 95% at 6% -8%,
        rgba(242, 140, 40, .42) 0%,
        rgba(242, 140, 40, .22) 26%,
        rgba(242, 140, 40, .08) 52%,
        transparent 82%),
      radial-gradient(ellipse 105% 88% at 108% 0%,
        rgba(225, 90, 69, .46) 0%,
        rgba(225, 90, 69, .24) 28%,
        rgba(225, 90, 69, .08) 54%,
        transparent 80%),
      radial-gradient(ellipse 110% 78% at 70% 118%,
        rgba(92, 22, 70, .58) 0%,
        rgba(92, 22, 70, .32) 32%,
        rgba(92, 22, 70, .10) 58%,
        transparent 84%),
      linear-gradient(168deg, #2d1232 0%, #160a18 48%, #0a060c 100%);
  }

body > .icon-field { position: fixed; }

a { color: inherit; }

.wrap, header, .preview { position: relative; z-index: 1; }

.wrap { width: min(720px, calc(100% - max(var(--page-gutter), env(safe-area-inset-left)) - max(var(--page-gutter), env(safe-area-inset-right)))); margin: 0 auto; }

header { padding: 28px 0 8px; text-align: center; }

header img { width: min(280px, 70vw); height: auto; }

.hero { text-align: center; padding: 28px 0 8px; }

.kicker {
    margin: 0 0 8px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 13px;
    color: var(--orange);
  }

h1 { font-size: clamp(40px, 8vw, 64px); line-height: 0.95; margin: 0; }

.lede { font-size: 22px; margin: 14px auto 0; max-width: 32ch; }

.facts {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
    margin: 28px 0;
  }

.fact, .place, .card {
    border-radius: 22px;
    color: var(--cream);
  }

.fact { padding: 20px; }

.fact b { display: block; font-size: 18px; }

.fact span { color: rgba(246,241,232,.72); font-size: 14px; }

.places { display: grid; gap: 10px; }

@media (min-width: 640px) { .places { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

.place { padding: 24px; }

.place .where { margin: 0; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--coral); }

.place h2 { margin: 4px 0 6px; font-size: 22px; }

.place p { margin: 0; color: rgba(246,241,232,.74); }

h2.section { font-size: 28px; margin: 36px 0 8px; }

.sub { margin: 0 0 14px; color: rgba(246,241,232,.78); }

@media (min-width: 640px) { .row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

.fine { font-size: 13px; color: rgba(246,241,232,.68); }

.split { display: grid; gap: 10px; margin: 10px 0 40px; }

@media (min-width: 640px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

.card { padding: 24px; }

.card h3 { margin: 0 0 6px; font-size: 20px; }

.card p { margin: 0 0 10px; color: rgba(246,241,232,.74); }

.card a.jump {
    color: var(--cyan);
    font-weight: 700;
    text-decoration: none;
  }

footer { position: relative; z-index: 1; padding: 10px 0 40px; text-align: center; color: rgba(246,241,232,.55); font-size: 13px; }

footer a { color: inherit; }

.stamp { animation: bob 5.6s ease-in-out infinite; animation-delay: var(--d, 0s); }

@keyframes bob {
    0%, 100% { transform: rotate(var(--r, 0deg)) translateY(0); }
    50% { transform: rotate(var(--r, 0deg)) translateY(-7px); }
  }

/* Shared icon field + iOS glass, from the homepage. */
.icon-field {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.stamp {
  position: absolute;
  aspect-ratio: 1;
  background: var(--c, #f6f1e8);
  -webkit-mask: var(--i) center / contain no-repeat;
          mask: var(--i) center / contain no-repeat;
  transform: rotate(var(--r, 0deg));
  opacity: var(--o, .42);
}

.glass {
  background: linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,.08));
  border: 1px solid rgba(255,255,255,.28);
  box-shadow:
    0 18px 40px rgba(0,0,0,.28),
    inset 0 1px 0 rgba(255,255,255,.42);
  backdrop-filter: blur(28px) saturate(1.7);
  -webkit-backdrop-filter: blur(28px) saturate(1.7);
}

.glass-ink {
  background: linear-gradient(180deg, rgba(16,8,20,.82), rgba(16,8,20,.68));
  border: 1px solid rgba(255,255,255,.18);
  box-shadow:
    0 14px 32px rgba(0,0,0,.22),
    inset 0 1px 0 rgba(255,255,255,.22);
  backdrop-filter: blur(22px) saturate(1.5);
  -webkit-backdrop-filter: blur(22px) saturate(1.5);
}

@media (prefers-reduced-motion: reduce) {
  .stamp { animation: none !important; }
}

a:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }
.skip-link { position: absolute; left: 16px; top: -64px; z-index: 60; background: var(--cream); color: var(--ink); padding: 10px 16px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }
.note-open { padding: 24px; border-radius: 22px; margin: 0 0 8px; }
.note-open p { margin: 0; }
.fine a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
footer a { display: inline-flex; align-items: center; min-height: 44px; }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.reminder { padding: 24px; border-radius: 22px; margin: 0 0 8px; }
.reminder fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.reminder label.field { display: block; font-size: 14px; margin: 0 0 4px; }
.reminder input { width: 100%; font: inherit; font-size: 16px; padding: 12px; border-radius: 12px; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.55); color: var(--ink); }
.reminder button { font: inherit; font-weight: 700; background: var(--cyan); color: var(--ink); cursor: pointer; border: 0; border-radius: 999px; padding: 14px 18px; width: 100%; margin-top: 14px; }
.reminder .fine { margin: 12px 0 0; }
.reminder select { width: 100%; font: inherit; font-size: 16px; padding: 12px; border-radius: 12px; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.55); color: var(--ink); }
.reminder label.field { margin-top: 14px; }
.reminder legend { font-size: 14px; padding: 0; margin: 14px 0 4px; }
.reminder label.choice { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.reminder label.choice input { width: 22px; height: 22px; flex: none; }
.reminder .cf-turnstile { margin: 16px 0; }
.reminder .day-choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); column-gap: 12px; }
.notice { margin: 0 0 14px; padding: 12px 16px; border-radius: 14px; font-weight: 700; }
.notice-ok { background: rgba(255,255,255,.9); color: var(--ink); }
.notice-bad { background: var(--orange); color: var(--ink); }
.place a.jump { position: relative; color: var(--cyan); font-weight: 700; text-decoration: none; }
/* 44px tap target without stretching the paragraph's line box */
.place a.jump::after { content: ""; position: absolute; left: -6px; right: -6px; top: 50%; height: 44px; transform: translateY(-50%); }
.place a.jump:hover { text-decoration: underline; }

/* Customer content keeps its gutter even on devices with display cutouts. */
body { overflow-wrap: anywhere; }
footer { padding-bottom: max(40px, env(safe-area-inset-bottom)); }
@media (min-width: 768px) { :root { --page-gutter: 24px; } }
@media (max-width: 430px) { .facts { grid-template-columns: minmax(0, 1fr); } }
header { padding-top: max(28px, env(safe-area-inset-top)); }
/* the logo link wraps a block image; give it the image's box so the tap area is the whole logo */
header.wrap > a { display: inline-block; line-height: 0; }

/* Upcoming Little Potters: a plain list, not cards. The poster is only a small unbubbled thumbnail. */
.upcoming h2.section { margin-top: 28px; }
.dates { list-style: none; margin: 0; padding: 0; }
.date-row { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-top: 1px solid rgba(246,241,232,.22); }
.date-row:last-child { border-bottom: 1px solid rgba(246,241,232,.22); }
.date-thumb { flex: none; width: 56px; line-height: 0; }
.date-thumb img { width: 56px; height: auto; max-height: 84px; object-fit: contain; }
.date-text { min-width: 0; }
.date-text .where { margin: 0; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--coral); }
.date-text h3 { margin: 2px 0 4px; font-size: 20px; }
.date-text p { margin: 0; color: rgba(246,241,232,.78); }
.date-text a.jump { position: relative; color: var(--cyan); font-weight: 700; text-decoration: none; white-space: nowrap; }
.date-text a.jump::after { content: ""; position: absolute; left: -6px; right: -6px; top: 50%; height: 44px; transform: translateY(-50%); }
.date-text a.jump:hover { text-decoration: underline; }

/* Confirmation state (?signup=ok / ?signup=confirmed): one calm panel replaces the page top and the form. */
.confirm { margin: 24px 0 8px; padding: 28px 24px; border-radius: 22px; text-align: center; }
.confirm h1 { font-size: clamp(34px, 9vw, 52px); }
.confirm-mark { position: relative; width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 50%; background: var(--cyan); color: var(--ink); font-size: 40px; font-weight: 700; line-height: 72px; }
.confirm-mark-confirmed::after { content: ""; position: absolute; left: 26px; top: 14px; width: 18px; height: 32px; border: solid var(--ink); border-width: 0 7px 7px 0; border-radius: 2px; transform: rotate(45deg); }
.confirm-mark-ok { background: var(--orange); }
.confirm-lede { margin: 14px auto 0; font-size: 20px; max-width: 34ch; }
.confirm-walkin { margin: 10px auto 0; color: rgba(246,241,232,.8); max-width: 34ch; }
.confirm .confirm-dates { margin: 24px 0 8px; font-size: 16px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--orange); }
.confirm-events { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; text-align: left; }
.confirm-events li { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 12px; padding: 12px 16px; border-radius: 14px; background: rgba(16,8,20,.4); }
.confirm-events .where { flex: 1 1 100%; margin: 0; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--coral); }
.confirm-events b { flex: 1 1 auto; min-width: 0; }
.confirm-events a.jump { display: inline-flex; align-items: center; min-height: 44px; color: var(--cyan); font-weight: 700; text-decoration: none; }
.confirm-events a.jump:hover { text-decoration: underline; }
.confirm-btn { display: flex; align-items: center; justify-content: center; min-height: 48px; margin: 24px auto 0; max-width: 360px; padding: 12px 20px; border-radius: 999px; background: var(--cyan); color: var(--ink); font-weight: 700; text-decoration: none; }
.confirm-btn:focus-visible { outline: 3px solid var(--cream); outline-offset: 3px; }

.reminder-preferences { margin-top: 18px; }
.reminder-preferences > summary { display: list-item; min-height: 48px; padding: 12px 0; color: var(--cream); cursor: pointer; }
.reminder-preferences > summary:focus-visible { outline: 3px solid var(--cream); outline-offset: 4px; }
