/* ==========================================================================
   De Babbelaar – design system
   DO NOT EDIT THIS FILE. Write HTML that uses these classes.
   Per client: only change the variables in :root.
   ========================================================================== */

:root {
  /* Colour */
  --ink: #2b3a4a;          /* logo slate – main text, headings */
  --ink-deep: #1c2530;     /* dark sections, footer */
  --ink-soft: #55657a;     /* secondary text */
  --cream: #faf6ef;        /* page background */
  --sand: #f1e8da;         /* alternate section background */
  --mist: #dce5ec;         /* blue-grey from the Babbelbon / avatar */
  --accent: #b9582f;       /* terracotta – buttons, links */
  --accent-dark: #9a4724;
  --glow: #f0b45a;         /* neon amber – only on dark backgrounds */
  --blush: #f0cdd2;        /* babyshower accent, use sparingly */
  --white: #ffffff;

  /* Type */
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Shape & space */
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(43, 58, 74, 0.12);
  --shadow-sm: 0 4px 14px rgba(43, 58, 74, 0.10);
  --container: 1120px;
  --section-y: clamp(3.5rem, 8vw, 6.5rem);
  --header-h: 72px;
}

#content-error:not([hidden]) {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  padding: 1rem;
  color: #7a1f1f;
  background: #fff1f0;
  text-align: center;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; color: var(--ink); font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--glow); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 8px; z-index: 200; }
.skip-link:focus { left: 8px; color: #fff; }

/* ---------- Layout ---------- */
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.section { padding-block: var(--section-y); }
.section--sand { background: var(--sand); }
.section--mist { background: var(--mist); }
.section--dark { background: var(--ink-deep); color: #e9edf1; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark a:not(.btn) { color: var(--glow); }
.section-head { max-width: 640px; margin-bottom: 2.5rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: .75rem; }
.section--dark .eyebrow { color: var(--glow); }
.lead { font-size: 1.2rem; color: var(--ink-soft); }
.section--dark .lead { color: #c4ccd5; }
.split { display: grid; gap: clamp(1.75rem, 5vw, 4rem); align-items: center; }
@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse > :first-child { order: 2; }
}
.grid-3 { display: grid; gap: 1.5rem; }
@media (min-width: 760px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-2 { display: grid; gap: 1.5rem; }
@media (min-width: 760px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Image frames (always intentional-looking, even with no image) ---------- */
.ph {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--mist), var(--sand));
  aspect-ratio: 4 / 3; box-shadow: var(--shadow);
}
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.ph:hover img { transform: scale(1.04); }
.ph--tall { aspect-ratio: 4 / 5; }
.ph--wide { aspect-ratio: 16 / 10; }
.ph--square { aspect-ratio: 1 / 1; }

/* ---------- Buttons & chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.6rem; border-radius: 999px; border: 2px solid var(--accent);
  background: var(--accent); color: #fff; font: 700 1rem/1 var(--font-body);
  text-decoration: none; cursor: pointer; transition: background .2s, transform .2s, box-shadow .2s;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn--ghost { background: transparent; color: var(--accent); }
.btn--ghost:hover { background: var(--accent); color: #fff; }
.btn--light { background: #fff; border-color: #fff; color: var(--ink); }
.btn--light:hover { background: var(--glow); border-color: var(--glow); color: var(--ink-deep); }
.btn--outline-light { background: transparent; border-color: rgba(255,255,255,.7); color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.5rem; }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip { padding: .45rem .95rem; border-radius: 999px; background: #fff; border: 1px solid rgba(43,58,74,.12); font-size: .92rem; font-weight: 500; }
.section--dark .chip { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #fff; }

/* ---------- Announcement bar ---------- */
.announce { background: var(--ink-deep); color: #fff; font-size: .92rem; text-align: center; padding: .55rem 2.5rem; position: relative; }
.announce a { color: var(--glow); font-weight: 700; }
.announce button { position: absolute; right: .6rem; top: 50%; transform: translateY(-50%); background: none; border: 0; color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; padding: .3rem .6rem; }
.announce[hidden] { display: none; }

/* ---------- Header / nav ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(250,246,239,.94); backdrop-filter: blur(10px); height: var(--header-h); transition: box-shadow .25s; }
.site-header.is-scrolled { box-shadow: 0 2px 18px rgba(43,58,74,.12); }
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); }
.brand img { height: 46px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: var(--font-head); font-size: 1.45rem; font-weight: 700; }
.brand-text small { font-size: .62rem; letter-spacing: .32em; text-transform: uppercase; color: var(--ink-soft); margin-top: .3rem; }
.nav { display: none; align-items: center; gap: 1.6rem; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem; position: relative; padding-block: .3rem; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--accent); transition: width .25s; }
.nav a:hover::after, .nav a.is-active::after { width: 100%; }
.nav .btn { color: #fff; padding: .65rem 1.3rem; font-size: .95rem; }
.nav .btn::after { display: none; }
.open-pill { display: none; align-items: center; gap: .45rem; font-size: .82rem; font-weight: 700; padding: .35rem .8rem; border-radius: 999px; background: #fff; border: 1px solid rgba(43,58,74,.12); }
.open-pill::before { content: ""; width: .6rem; height: .6rem; border-radius: 50%; background: #9aa5b1; }
.open-pill.is-open::before { background: #3aa76d; box-shadow: 0 0 0 4px rgba(58,167,109,.2); }
.nav-toggle { background: none; border: 0; width: 44px; height: 44px; display: grid; place-content: center; gap: 6px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--ink); transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
@media (max-width: 959px) {
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--cream); padding: 1rem 1.5rem 1.75rem; box-shadow: 0 20px 30px rgba(43,58,74,.15); max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .nav.is-open { display: flex; }
  .nav a { padding: .9rem 0; font-size: 1.1rem; border-bottom: 1px solid rgba(43,58,74,.08); }
  .nav a::after { display: none; }
  .nav .btn { margin-top: 1rem; text-align: center; }
}
@media (min-width: 960px) {
  .nav { display: flex; }
  .nav-toggle { display: none; }
  .open-pill { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; color: #fff; min-height: min(86vh, 760px); display: flex; align-items: flex-end; background: var(--ink-deep); overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(28,37,48,.35) 0%, rgba(28,37,48,.55) 45%, rgba(28,37,48,.92) 100%); }
.hero-content { padding-block: clamp(5rem, 14vw, 9rem) clamp(2.5rem, 6vw, 4.5rem); max-width: 760px; }
.hero h1 { color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.hero h1 em { font-style: italic; color: var(--glow); font-weight: 600; }
.hero .lead { color: #e4e9ee; max-width: 560px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: 2rem; font-size: .95rem; color: #d3dae1; }
.hero-facts span::before { content: "•"; color: var(--glow); margin-right: .55rem; }
.hero-facts span:first-child::before { display: none; }

/* ---------- Highlight cards (3-up photo cards) ---------- */
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card .ph { border-radius: 0; box-shadow: none; aspect-ratio: 4 / 3; }
.card-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.card-body p { color: var(--ink-soft); margin-bottom: 1rem; }
.card-body .more { margin-top: auto; font-weight: 700; text-decoration: none; }
.card-body .more::after { content: " →"; }
.price-tag { display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; color: var(--accent); margin-bottom: .6rem; }
.card--blush { background: linear-gradient(180deg, #fff, #fbeff1); }

/* ---------- Check list ---------- */
.checks li { position: relative; padding-left: 1.9rem; margin-bottom: .6rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 1.05rem; height: .55rem; border-left: 3px solid var(--accent); border-bottom: 3px solid var(--accent); transform: rotate(-45deg) translateY(-30%); }
.section--dark .checks li::before { border-color: var(--glow); }

/* ---------- Menu ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.tab { padding: .7rem 1.3rem; border-radius: 999px; border: 2px solid rgba(43,58,74,.18); background: transparent; color: var(--ink); font: 700 .95rem/1 var(--font-body); cursor: pointer; transition: all .2s; }
.tab:hover { border-color: var(--accent); }
.tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.tab-panel[hidden] { display: none; }
.menu-grid { display: grid; gap: 0 3rem; }
@media (min-width: 800px) { .menu-grid { grid-template-columns: 1fr 1fr; } }
.menu-item { padding: 1.1rem 0; border-bottom: 1px dashed rgba(43,58,74,.25); }
.menu-item-top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.menu-item h4 { font-size: 1.2rem; margin: 0; }
.menu-item .price { font-family: var(--font-head); font-weight: 600; color: var(--accent); white-space: nowrap; }
.menu-item p { margin: .25rem 0 0; color: var(--ink-soft); font-size: .98rem; }
.tag { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .15rem .55rem; border-radius: 999px; background: var(--mist); color: var(--ink); margin-left: .5rem; vertical-align: middle; }
.tag--vega { background: #d8eadb; }
.menu-note { margin-top: 2rem; padding: 1.1rem 1.4rem; border-radius: var(--radius-sm); background: #fff; border-left: 4px solid var(--glow); font-size: .98rem; }

/* ---------- Dark feature band (Babbel & Dine) ---------- */
.feature-dark { position: relative; overflow: hidden; }
.feature-dark::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -160px; background: radial-gradient(circle, rgba(240,180,90,.22), transparent 65%); pointer-events: none; }
.big-price { font-family: var(--font-head); font-size: 2.6rem; font-weight: 600; color: var(--glow); line-height: 1; }
.big-price small { font-family: var(--font-body); font-size: .95rem; color: #c4ccd5; font-weight: 400; margin-left: .4rem; }
.shifts { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.25rem 0; }
.shift { padding: .6rem 1rem; border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,.25); font-size: .95rem; }

/* ---------- Quote / about ---------- */
.signature { font-family: var(--font-head); font-style: italic; font-size: 1.5rem; color: var(--accent); margin-top: 1rem; }
.pull { font-family: var(--font-head); font-size: clamp(1.4rem, 3vw, 1.9rem); line-height: 1.35; border-left: 4px solid var(--accent); padding-left: 1.25rem; margin: 1.5rem 0; }

/* ---------- Reviews ---------- */
.ratings { display: grid; gap: 1rem; margin-bottom: 1.75rem; }
@media (min-width: 700px) { .ratings { grid-template-columns: repeat(3, 1fr); } }
.rating { background: #fff; border-radius: var(--radius); padding: 1.4rem; text-align: center; box-shadow: var(--shadow-sm); }
.rating strong { display: block; font-family: var(--font-head); font-size: 2.4rem; line-height: 1; color: var(--accent); }
.rating span { display: block; margin-top: .4rem; font-size: .92rem; color: var(--ink-soft); }
.stars { color: var(--glow); letter-spacing: .15em; font-size: 1.1rem; }

/* ---------- Photo strip (Instagram) ---------- */
.photo-strip { display: grid; gap: .75rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .photo-strip { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .photo-strip { grid-template-columns: repeat(6, 1fr); } }
.photo-strip .ph { aspect-ratio: 1 / 1; border-radius: var(--radius-sm); }

/* ---------- Contact ---------- */
.hours { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; }
.hours th, .hours td { text-align: left; padding: .55rem 0; border-bottom: 1px solid rgba(43,58,74,.12); font-weight: 400; }
.hours td { text-align: right; font-weight: 500; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 700; color: var(--accent); }
.hours .closed td { color: var(--ink-soft); }
.contact-list li { display: flex; gap: .75rem; margin-bottom: .6rem; }
.contact-list strong { min-width: 5.5rem; }
.form-card { background: #fff; padding: clamp(1.4rem, 4vw, 2.25rem); border-radius: var(--radius); box-shadow: var(--shadow); }
.form-grid { display: grid; gap: 1rem; }
@media (min-width: 560px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: .35rem; }
.field input, .field select, .field textarea { width: 100%; padding: .8rem 1rem; border: 1.5px solid rgba(43,58,74,.25); border-radius: var(--radius-sm); font: inherit; color: var(--ink); background: var(--cream); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(185,88,47,.18); }
.form-note { font-size: .88rem; color: var(--ink-soft); margin-top: .75rem; }
.map { border: 0; width: 100%; height: 320px; border-radius: var(--radius); box-shadow: var(--shadow-sm); margin-top: 1.5rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-deep); color: #c4ccd5; padding-block: 3.5rem 2rem; font-size: .95rem; }
.site-footer a { color: #fff; }
.site-footer h3 { color: #fff; font-size: 1.1rem; }
.footer-grid { display: grid; gap: 2rem; margin-bottom: 2.5rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; font-size: .85rem; }
.social { display: flex; gap: .75rem; margin-top: 1rem; }
.social a { padding: .45rem .9rem; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; text-decoration: none; }
.social a:hover { background: #fff; color: var(--ink); }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

:root{box-sizing:border-box;padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px);color-scheme:light dark}
html{scroll-padding-top:calc(var(--header-h) + env(safe-area-inset-top,0px) + 12px)}
.site-header{top:env(safe-area-inset-top,0px)}
body::before{content:"";position:fixed;inset:0 0 auto;height:env(safe-area-inset-top,0px);background:var(--cream);z-index:101}
.hero-media img{object-position:50% 18%}
.brand svg{width:40px;height:40px;color:var(--accent)}
.section-head .lead{margin-bottom:0}.center-row{text-align:center;margin-top:2rem}
.cap{font-size:.85rem;color:var(--ink-soft);margin-top:.6rem}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){--ink:#e9eef3;--ink-soft:#aab6c3;--cream:#141b23;--sand:#1a232d;--mist:#202c38;--ink-deep:#0d1319;--shadow:0 10px 30px rgba(0,0,0,.4);--shadow-sm:0 4px 14px rgba(0,0,0,.35)}:root:not([data-theme="light"]) :is(.card,.chip,.rating,.form-card,.menu-note,.open-pill){background:#1f2933;color:#e9eef3}.site-header{background:rgba(20,27,35,.94)}.btn--light{color:#1c2530}.tab[aria-selected="true"]{color:#141b23}.skip-link{color:#141b23}.card--blush{background:#2a2228}.field input,.field select,.field textarea{background:#141b23}}
:root[data-theme="dark"]{--ink:#e9eef3;--ink-soft:#aab6c3;--cream:#141b23;--sand:#1a232d;--mist:#202c38;--ink-deep:#0d1319;--shadow:0 10px 30px rgba(0,0,0,.4);--shadow-sm:0 4px 14px rgba(0,0,0,.35)}
