:root {
  --sky: #d7f5ff;
  --sky-2: #7fd9f5;
  --yellow: #ffd23f;
  --red: #f2482b;
  --ink: #161616;
  --charcoal: #444;
  --muted: #555b60;
  --bg: #f6fcff;
  --card: #ffffff;
  --line: #cfe7ef;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}
.wrap { max-width: 820px; margin: 0 auto; padding: 0 16px; }
.stencil { font-family: "Stardos Stencil", Impact, "Arial Black", sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
img { max-width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--sky) 0%, #a9e9fb 45%, var(--sky-2) 100%);
  border-bottom: 6px solid var(--ink);
  padding: 36px 0 0;
}
.rings {
  position: absolute; left: -150px; top: -170px; width: 340px; height: 340px; border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 12px, var(--yellow) 12px 15px);
  opacity: .85; pointer-events: none;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1fr; align-items: end; gap: 0; }
.hero-text { padding-bottom: 8px; }
h1 { font-size: clamp(3.4rem, 16vw, 6.5rem); line-height: .9; margin: 0 0 14px; }
.bubble {
  display: inline-block; background: #fff; border: 3px solid var(--ink); border-radius: 28px;
  padding: 10px 18px; font-weight: 800; font-size: 1.1rem; margin: 0 0 14px; box-shadow: 4px 4px 0 var(--ink);
}
.status { font-weight: 700; margin: 0 0 18px; min-height: 1.5em; }
.status .dot { display: inline-block; width: .7em; height: .7em; border-radius: 50%; margin-right: .45em; border: 2px solid var(--ink); vertical-align: -1px; }
.mascot { width: min(180px, 48%); height: auto; justify-self: end; margin-top: -10px; filter: drop-shadow(4px 6px 0 rgba(0,0,0,.15)); }
.scene { position: relative; width: 100%; max-width: 540px; justify-self: center; }
.scene-sound {
  display: block; margin: 6px auto 0; font: inherit; font-size: .8rem; font-weight: 800; color: var(--ink);
  background: rgba(255,255,255,.8); border: 2px solid var(--ink); border-radius: 999px; padding: 6px 12px; min-height: 36px; cursor: pointer;
}
.scene-sound[aria-pressed="true"] { background: var(--yellow); }
.scene .mascot { display: block; margin: 0 auto; }
.scene svg { display: block; width: 100%; height: auto; overflow: visible; }
@media (min-width: 680px) {
  .hero { padding-top: 48px; }
  .hero-inner { grid-template-columns: 1.4fr 1fr; }
  .hero-text { padding-bottom: 48px; }
  .mascot { width: 100%; max-width: 300px; margin-top: 0; }
  .scene { align-self: end; }
}

/* ---------- Buttons ---------- */
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .3em; min-height: 48px; padding: 10px 22px;
  border-radius: 999px; background: var(--yellow); color: var(--ink); font-weight: 800; text-decoration: none;
  border: 3px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); font: inherit; font-weight: 800; cursor: pointer;
}
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn-ghost { background: #fff; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--red); outline-offset: 2px;
}

/* ---------- Sections ---------- */
section.wrap { padding: 44px 16px; }
section + section { border-top: 2px dashed var(--line); }
h2 { font-size: clamp(2rem, 8vw, 2.6rem); margin: 0 0 14px; line-height: 1; }
h3 { margin: 0 0 6px; }
.note { color: var(--muted); font-size: .95rem; }

/* ---------- Menu ---------- */
.menu { list-style: none; padding: 0; margin: 0 0 12px; }
.menu li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 14px 0; border-bottom: 2px dotted var(--line);
}
.item { font-weight: 800; font-size: 1.08rem; }
.item small { display: block; font-weight: 400; font-size: .92rem; color: var(--muted); }
.price { font-weight: 800; font-size: 1.15rem; white-space: nowrap; }
.badge {
  display: inline-block; margin-left: 8px; padding: 1px 8px; font-size: .72rem; font-weight: 800; text-transform: uppercase;
  background: var(--yellow); border: 2px solid var(--ink); border-radius: 6px; transform: rotate(-4deg); vertical-align: 2px;
}

/* ---------- Gallery ---------- */
.gallery { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery figure { margin: 0; }
.gallery .ph {
  aspect-ratio: 1; border-radius: 14px; overflow: hidden; border: 3px solid var(--ink);
  background: var(--sky) url("/img/mascot-sm.png") center 40% / 45% no-repeat;
  display: flex; align-items: flex-end; justify-content: center; text-align: center;
  color: var(--charcoal); font-size: .85rem; font-weight: 600; padding: 8px;
}
.gallery .ph.has-img { padding: 0; background: var(--sky); }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery figcaption { font-size: .95rem; margin-top: 6px; font-weight: 800; }

/* ---------- Pre-order ---------- */
.order-items { margin-bottom: 18px; }
.order-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 2px dotted var(--line); }
.qty { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.qty button {
  width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--ink); background: #fff;
  color: var(--ink); font-size: 1.3rem; font-weight: 800; cursor: pointer; line-height: 1; padding: 0;
}
.qty button.plus { background: var(--yellow); }
.qty output { min-width: 1.6em; text-align: center; font-weight: 800; font-size: 1.1rem; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 700; margin-bottom: 4px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 10px 12px; font: inherit; font-size: 16px; color: var(--ink); background: #fff;
  border: 2px solid var(--ink); border-radius: 10px; min-height: 48px;
}
.total { font-size: 1.2rem; }
.error { color: #b3261e; font-weight: 700; min-height: 1.2em; margin: 0 0 8px; }

/* ---------- Catering (wood) ---------- */
.catering { background: #d9b48c url("/img/wood.jpg") repeat; padding: 44px 0; border-top: 6px solid var(--ink) !important; border-bottom: 6px solid var(--ink); }
.catering-card { background: rgba(255,255,255,.93); border: 3px solid var(--ink); border-radius: 18px; padding: 22px 18px; box-shadow: 6px 6px 0 var(--ink); }
.catering + section { border-top: 0; }

/* ---------- Find us ---------- */
.grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid { grid-template-columns: 1fr 1fr; } }
.card { background: var(--card); border: 3px solid var(--ink); border-radius: 14px; padding: 16px; }
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 4px 0; }
.hours td:last-child { text-align: right; }
.hours tr.today { font-weight: 800; }
a { color: #0b5f86; }
.owner { font-size: 1.1rem; }

footer { padding: 24px 16px 40px; color: var(--muted); font-size: .9rem; }
footer a { color: var(--muted); }

/* ---------- Faith touches ---------- */
.cross { width: 30px; height: 42px; flex-shrink: 0; }
.cross-sm { width: 24px; height: 34px; margin-right: 10px; vertical-align: -4px; }
.verse { background: var(--ink); color: #fff; }
.verse .wrap { display: flex; gap: 16px; align-items: center; padding-top: 22px; padding-bottom: 22px; }
.verse blockquote { margin: 0; }
.verse .verse-label { font-size: .85rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--sky-2); margin-bottom: 6px; }
.verse p { margin: 0 0 4px; font-size: 1.2rem; font-weight: 600; line-height: 1.4; }
.verse p span { transition: color .25s ease, text-shadow .25s ease; }
.verse p span.reading { color: var(--yellow); text-shadow: 0 0 14px rgba(255,210,63,.55); }
.verse cite { font-style: normal; font-weight: 800; color: var(--yellow); letter-spacing: .04em; }
.prayer { background: linear-gradient(180deg, #fffbe6, #fff3c2); border-radius: 0; }
section.prayer.wrap { max-width: none; }
.prayer > * { max-width: 788px; margin-left: auto; margin-right: auto; }
.blessing { font-size: 1.1rem; font-weight: 700; color: var(--ink); }
.ready { margin-top: 18px; padding: 16px; background: #fff; border: 3px solid var(--ink); border-radius: 14px; box-shadow: 4px 4px 0 var(--ink); }
.ready pre { white-space: pre-wrap; font: inherit; background: var(--sky); padding: 12px; border-radius: 10px; margin: 0 0 12px; }

.back-office {
  position: fixed; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 50;
  background: var(--ink); color: #fff; font-weight: 800; text-decoration: none; padding: 14px 18px; border-radius: 999px;
  border: 3px solid var(--yellow); box-shadow: 0 4px 12px rgba(0,0,0,.3);
}

/* ---------- Bigger and easier on phones ---------- */
html { font-size: 18px; }
body { line-height: 1.6; }
.bubble { font-size: 1.15rem; }
.status { font-size: 1.05rem; }
.place { font-weight: 800; font-size: 1.1rem; margin: 0 0 6px; letter-spacing: .02em; }
.btn { min-height: 56px; padding: 12px 26px; font-size: 1.1rem; }
.btn-big { width: 100%; min-height: 64px; font-size: 1.25rem; }
@media (min-width: 680px) { .btn-big { width: auto; } }
.item { font-size: 1.25rem; }
.item small { font-size: 1rem; }
.price { font-size: 1.35rem; }
.badge { font-size: .8rem; }
.menu li { padding: 16px 0; }
.qty button { width: 54px; height: 54px; font-size: 1.6rem; }
.qty output { font-size: 1.3rem; min-width: 1.8em; }
.order-row { padding: 14px 0; }
.field label { font-size: 1.05rem; }
.field input, .field select, .field textarea { min-height: 56px; font-size: 18px; padding: 12px 14px; }
.total { font-size: 1.35rem; }
.gallery figcaption { font-size: 1.05rem; }
.hours td { padding: 6px 0; font-size: 1.05rem; }
.note { font-size: 1rem; }
footer { font-size: 1rem; }

/* ---------- Order steps, sent panels, catering form ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 0; margin: 14px 0 22px; }
.steps li { background: #fff; border: 3px solid var(--ink); border-radius: 16px; padding: 12px 6px; text-align: center; font-weight: 800; font-size: .92rem; line-height: 1.25; box-shadow: 3px 3px 0 var(--ink); }
.steps span { display: grid; place-items: center; width: 34px; height: 34px; margin: 0 auto 6px; border-radius: 50%; background: var(--yellow); border: 3px solid var(--ink); font-family: "Stardos Stencil", serif; font-size: 1.1rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ready.done { border-color: #1f8a3b; background: #effbf1; animation: pop .45s cubic-bezier(.2,1.4,.4,1) both; outline: none; }
.done-title { font-size: 1.35rem; font-weight: 800; margin: 0 0 6px; }
@keyframes pop { from { transform: scale(.94); opacity: 0; } to { transform: none; opacity: 1; } }
.cater-h { font-size: 1.2rem; margin: 22px 0 10px; }
.two-col { display: grid; gap: 0 14px; }
@media (min-width: 560px) { .two-col { grid-template-columns: 1fr 1fr; } }
button[disabled] { opacity: .6; cursor: progress; }

/* ---------- Quick-action bar ---------- */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; gap: 10px; justify-content: center;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 3px solid var(--ink);
  transform: translateY(110%); transition: transform .35s cubic-bezier(.2,.9,.3,1); 
}
.dock.show { transform: none; }
.dock .btn { flex: 1 1 auto; max-width: 320px; min-height: 52px; }
.dock .btn-ghost { flex: 0 0 auto; }
body { padding-bottom: 0; }
footer { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
.back-office { bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }

/* ---------- Smooth motion ---------- */
html { scroll-behavior: smooth; }
section[id], aside { scroll-margin-top: 12px; }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.btn { transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease; }
.btn:active { transform: translate(2px, 2px); }
.qty button { transition: transform .12s ease, background-color .12s ease; }
.qty button:active { transform: scale(.9); }
.hero .stencil { animation: rise .7s cubic-bezier(.2,.9,.3,1) both; }
.hero .bubble { animation: rise .7s .12s cubic-bezier(.2,1.3,.4,1) both; }
.hero .place, .hero .status, .hero .cta { animation: rise .7s .22s cubic-bezier(.2,.9,.3,1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
