:root {
  /* Calm and modern preset */
  --bg: #FAFAF7; --surface: #EDEFE9; --text: #1F2321; --muted: #59605B;
  --accent: #2F5D50; --on-accent: #FFFFFF; --radius: 10px;
  --font-display: "Fraunces", Georgia, serif; --display-weight: 600;
  --font-text: "Inter", system-ui, sans-serif;
  /* The same for every site */
  --line: color-mix(in srgb, var(--text) 15%, transparent);
  --max: 1200px; --header-h: 76px; --bar-h: 0px;
  --section: clamp(64px, 9vw, 120px);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 clamp(1rem, .95rem + .25vw, 1.125rem)/1.65 var(--font-text); overflow-wrap: anywhere; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; }
h1, h2, h3 { margin: 0 0 .5em; font-family: var(--font-display); font-weight: var(--display-weight); line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(2.75rem, 1.5rem + 5vw, 5.75rem); letter-spacing: -.02em; }
h2 { font-size: clamp(2rem, 1.4rem + 2.5vw, 3.5rem); letter-spacing: -.01em; }
h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); }
p { margin: 0 0 1em; max-width: 65ch; }
.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.narrow { max-width: 760px; }
section { padding-block: var(--section); scroll-margin-top: var(--header-h); }
.alt { background: var(--surface); }
.eyebrow { margin-bottom: 1.25rem; color: var(--muted); font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.lead { color: var(--muted); font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem); }
.intro { margin-bottom: 2.5rem; color: var(--muted); }

/* Buttons and icons */
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .7rem 1.4rem; border: 2px solid var(--accent); border-radius: var(--radius); background: var(--accent); color: var(--on-accent); font-weight: 600; line-height: 1.2; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px color-mix(in srgb, var(--accent) 30%, transparent); }
.btn-outline { background: transparent; color: var(--text); border-color: color-mix(in srgb, var(--text) 35%, transparent); }
.icon { flex: none; width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: var(--bg); transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 1px 0 var(--line), 0 10px 30px rgb(0 0 0 / .06); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 100%; }
.logo { display: flex; align-items: center; gap: .6rem; min-width: 0; min-height: 44px; font-family: var(--font-display); font-size: 1.4rem; font-weight: var(--display-weight); line-height: 1.1; text-decoration: none; }
.logo img { width: auto; max-height: calc(var(--header-h) - 24px); }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav a:not(.btn) { font-weight: 500; text-decoration: none; }
.nav a:not(.btn):hover { text-decoration: underline; }

/* Hero A: text beside a photo (on top of it on phones and tablets) */
.hero { padding-block: clamp(32px, 6vw, 80px); }
.hero-grid { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero-media img { width: 100%; max-height: 620px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.status { display: inline-flex; align-items: center; gap: .5rem; margin: 1.5rem 0 0; font-size: .95rem; font-weight: 600; }
.status::before { content: ""; width: .6rem; height: .6rem; border-radius: 50%; background: #DC2626; }
.status.open::before { background: #16A34A; }
@media (min-width: 900px) {
  .hero { display: grid; align-items: center; min-height: min(780px, calc(100vh - var(--header-h))); min-height: min(780px, calc(100svh - var(--header-h))); }
  .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
}
@media (max-width: 899px) {
  .hero-media { order: -1; }
  .hero-media img { aspect-ratio: 16 / 10; }
}
/* Hero B: a full photo behind the text */
.hero-full { position: relative; isolation: isolate; display: grid; align-items: end; color: #FFFFFF; min-height: min(780px, calc(100vh - var(--header-h) - var(--bar-h))); min-height: min(780px, calc(100svh - var(--header-h) - var(--bar-h))); }
.hero-full .hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 75% 30%; }
.hero-full::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgb(0 0 0 / .85), rgb(0 0 0 / .55) 55%, rgb(0 0 0 / .2)); }
.hero-full .eyebrow, .hero-full .lead { color: rgb(255 255 255 / .9); }
.hero-full .btn-outline { color: #FFFFFF; border-color: rgb(255 255 255 / .7); }
/* Hero C: type only, on the accent colour */
.hero-type { background: var(--accent); color: var(--on-accent); }
.hero-type .eyebrow, .hero-type .lead { color: inherit; }
.hero-type .btn { background: var(--on-accent); color: var(--accent); border-color: var(--on-accent); }
.hero-type .btn-outline { background: transparent; color: var(--on-accent); }
.hero-type :focus-visible { outline-color: var(--on-accent); }
.hero-full .hero-grid, .hero-type .hero-grid { grid-template-columns: minmax(0, 1fr); }
.hero-full .hero-text, .hero-type .hero-text { max-width: 820px; }

/* Sections */
.split { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .split.flip > :first-child { order: 2; }
}
.menu { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); column-gap: clamp(2rem, 6vw, 5rem); margin: 0; padding: 0; list-style: none; }
.menu li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .25rem 1rem; align-items: baseline; padding-block: 1rem; border-bottom: 1px solid var(--line); }
.menu .name { font-size: 1.1rem; font-weight: 600; }
.menu .price { font-weight: 600; white-space: nowrap; }
.menu .desc { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: .95rem; }
.menu + h3 { margin-top: 3rem; }
.split + .split { margin-top: clamp(2.5rem, 5vw, 4rem); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: clamp(1.5rem, 4vw, 3rem); margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { padding-top: 1.25rem; border-top: 2px solid var(--accent); counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; margin-bottom: .75rem; color: var(--accent); font-family: var(--font-display); font-size: 2rem; font-weight: var(--display-weight); line-height: 1; }
.steps p { margin: 0; color: var(--muted); }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1rem; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(2rem, 4vw, 3rem); }
.quotes figure { margin: 0; }
.quotes blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(1.2rem, 1.1rem + .5vw, 1.5rem); line-height: 1.4; }
.quotes figcaption { margin-top: 1rem; color: var(--muted); font-size: .95rem; font-weight: 600; }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; gap: 1rem; padding-block: 1.1rem; font-size: 1.1rem; font-weight: 600; list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.5rem; line-height: 1; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0 0 1.25rem; color: var(--muted); }
.band { background: var(--accent); color: var(--on-accent); text-align: center; }
.band p { margin-inline: auto; }
.band .actions { justify-content: center; }
.band .btn { background: var(--on-accent); color: var(--accent); border-color: var(--on-accent); }
.photo-band { position: relative; isolation: isolate; display: grid; align-items: center; min-height: clamp(340px, 45vw, 560px); color: #FFFFFF; text-align: center; }
.photo-band img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 75% 30%; }
.photo-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgb(0 0 0 / .55); }
.photo-band p { margin-inline: auto; }
.photo-band .actions { justify-content: center; }
.photo-band :focus-visible { outline-color: #FFFFFF; }

/* Visit us */
.visit-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (min-width: 900px) { .visit-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); } }
address { margin-bottom: 1rem; font-size: 1.15rem; font-style: normal; }
.map { display: block; width: 100%; height: clamp(320px, 42vw, 520px); border: 0; border-radius: var(--radius); background: var(--surface); }
.hours { width: 100%; max-width: 420px; margin: 1.5rem 0; border-collapse: collapse; }
.hours th, .hours td { padding: .5rem 0; border-bottom: 1px solid var(--line); font-weight: 400; text-align: left; }
.hours td { text-align: right; white-space: nowrap; }
.hours .today th, .hours .today td { font-weight: 700; }

/* Footer */
.site-footer { padding-block: 3.5rem; background: var(--text); color: var(--bg); }
.site-footer a { color: inherit; }
.footer-name { font-family: var(--font-display); font-size: 1.6rem; font-weight: var(--display-weight); }
.social { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.social a { display: inline-flex; align-items: center; gap: .5rem; }
.small { margin-top: 2.5rem; font-size: .875rem; opacity: .8; }

/* Tablets and phones: fewer header links; on phones the actions move to a bar at the bottom */
.action-bar { display: none; }
@media (max-width: 899px) { .nav a:not(.btn) { display: none; } }
@media (max-width: 699px) {
  :root { --header-h: 64px; --bar-h: 68px; }
  .nav { display: none; }
  body { padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom)); }
  .actions .btn { flex: 1 1 100%; }
  .action-bar { position: fixed; inset: auto 0 0; z-index: 60; display: grid; grid-auto-columns: 1fr; grid-auto-flow: column; gap: .5rem; padding: .5rem .5rem calc(.5rem + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line); }
  .action-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem; min-height: 52px; border-radius: var(--radius); font-size: .8rem; font-weight: 600; text-decoration: none; }
  .action-bar a:first-child { background: var(--accent); color: var(--on-accent); }
  .action-bar .icon { width: 22px; height: 22px; }
}

/* Motion: blocks fade in as they scroll into view (only once the script runs) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .5s ease, transform .5s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
}

/* Jolly Tots Corner: a little more colour and character, without losing the calm layout. */
.hero-full { padding-block: clamp(48px, 8vw, 100px); }
.hero-full .hero-grid { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.hero-full .hero-text { max-width: 620px; }
.hero-full h1 { max-width: 9ch; font-size: clamp(3.2rem, 2rem + 6vw, 6.5rem); }
.hero-full .eyebrow { color: #FFFFFF; }
.hero-full .actions { margin-top: 1.5rem; }
.hero-full .btn-outline { border-color: rgb(255 255 255 / .75); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 1.25rem; }
.section-heading h2 { margin-bottom: 0; }
.service-intro { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); color: var(--muted); }
.service-block h3 { margin-bottom: .65rem; }
.service-block > div > p { color: var(--muted); }
.service-block .menu { margin-top: 1rem; }
.service-block img { aspect-ratio: 4 / 3; }
.service-note { margin-top: 1.75rem; color: var(--muted); }
.about-copy p:last-child { margin-bottom: 0; }
.party-times { max-width: 540px; margin-top: 1.25rem; border-collapse: collapse; }
.party-times th, .party-times td { padding: .65rem .5rem .65rem 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.party-times th { width: 42%; font-weight: 600; }
.party-times td { color: var(--muted); }
.time-note { margin-top: 1rem; color: var(--muted); font-size: .95rem; }
.visit-contact { display: grid; gap: .4rem; margin-top: 1rem; }
.visit-contact p { margin: 0; }
.visit-contact .actions { margin-top: 1.2rem; }
.reviews { background: var(--surface); }
.reviews h2 { margin-bottom: 2rem; }
.reviews .quotes { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.reviews figure { padding-top: 1.25rem; border-top: 2px solid var(--accent); }
.reviews blockquote p { margin: 0; }
.review-date { color: var(--muted); font-size: .875rem; }
.site-footer .footer-address { color: var(--bg); }
.hero-full .hero-bg { object-position: 72% 42%; }
.photo-band img { object-position: 72% center; }
@media (max-width: 699px) {
  .hero-full { min-height: min(700px, calc(100svh - var(--header-h) - var(--bar-h))); padding-block: 3rem; align-items: end; }
  .hero-full .hero-grid { width: min(100% - 2rem, var(--max)); }
  .hero-full h1 { font-size: clamp(3rem, 13vw, 4.4rem); }
  .hero-full::before { background: linear-gradient(to top, rgb(0 0 0 / .88), rgb(0 0 0 / .55) 62%, rgb(0 0 0 / .1)); }
  .section-heading { display: block; }
  .party-times th { width: 39%; }
}

/* Keep short three-item collections balanced at tablet widths. */
@media (min-width: 600px) {
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 600px) and (max-width: 899px) {
  .reviews .quotes { grid-template-columns: minmax(0, 1fr); }
}

/* At tablet widths, keep service and About photography beside its copy. */
@media (min-width: 760px) and (max-width: 899px) {
  .service-block, #about .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .service-block.flip > :first-child { order: 2; }
  .visit-grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
}
