/* ============================================================
   GOXUNE · Components: nav, hero, footer, loader, sections
   ============================================================ */

/* ---------------- Page loader (first visit only) ---------------- */
.loader {
  position: fixed; inset: 0; z-index: var(--z-loader);
  display: grid; place-items: center;
  background: var(--c-cream);
  transition: opacity .45s var(--ease-out), visibility .45s;
}
.loader[hidden] { display: none; }
.loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader__inner { display: grid; place-items: center; gap: 1.5rem; }
.loader__mark { width: clamp(96px, 22vw, 160px); height: auto; }
.loader__bar { width: min(220px, 60vw); height: 4px; border-radius: 999px; background: var(--c-line); overflow: hidden; }
.loader__bar i { display: block; height: 100%; width: 0%; border-radius: 999px; background: linear-gradient(90deg, var(--c-crust-soft), var(--c-crust)); }
.loader__txt { font-family: var(--font-display); font-style: italic; color: var(--c-cocoa-soft); font-size: var(--fs-400); }

/* ---------------- Top navigation ---------------- */
.nav {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: var(--z-nav);
  transition: background var(--dur) var(--ease-out), box-shadow var(--dur), border-color var(--dur);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: color-mix(in srgb, var(--c-cream) 86%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  border-bottom-color: var(--c-line);
  box-shadow: var(--sh-1);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5); min-height: 76px; }
.nav__brand { display: inline-flex; align-items: center; gap: .6rem; z-index: 2; }
.nav__brand svg, .nav__brand img { height: 38px; width: auto; }
.nav__links { display: flex; align-items: center; gap: clamp(.5rem, 2vw, 1.75rem); }
.nav__link {
  position: relative; font-weight: 500; font-size: var(--fs-400);
  color: var(--c-cocoa); padding: .4rem .15rem; transition: color var(--dur);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--accent); border-radius: 2px; transition: right var(--dur) var(--ease-out);
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after { right: 0; }
.nav__link[aria-current="page"] { color: var(--accent-deep); }

.nav__actions { display: flex; align-items: center; gap: var(--sp-3); }

/* desktop: links + actions in a single row, right-aligned */
@media (min-width: 901px) {
  .nav__menu { display: flex; align-items: center; gap: clamp(1.25rem, 3vw, 2.5rem); }
}

/* overlay variant: pages with photo hero — light chrome until scrolled/open */
.nav__logo--light { display: none; }
.nav--overlay:not(.is-scrolled):not(.is-open) .nav__logo--dark { display: none; }
.nav--overlay:not(.is-scrolled):not(.is-open) .nav__logo--light { display: block; }
.nav--overlay:not(.is-scrolled):not(.is-open) .nav__link { color: var(--c-flour); text-shadow: 0 1px 10px rgba(44,30,21,.45); }
.nav--overlay:not(.is-scrolled):not(.is-open) .nav__link[aria-current="page"] { color: var(--c-wheat); }
.nav--overlay:not(.is-scrolled):not(.is-open) .nav__link::after { background: var(--c-wheat); }
.nav--overlay:not(.is-scrolled):not(.is-open) .nav__toggle span { background: var(--c-flour); }
.nav--overlay:not(.is-scrolled):not(.is-open) .lang__btn { color: var(--c-flour); border-color: rgba(255,252,247,.55); text-shadow: 0 1px 8px rgba(44,30,21,.4); }
.nav--overlay:not(.is-scrolled):not(.is-open) .lang__btn:hover { background: rgba(255,252,247,.14); border-color: var(--c-flour); }

/* language switcher */
.lang { position: relative; }
.lang__btn {
  display: inline-flex; align-items: center; gap: .4rem; background: transparent;
  border: 1.5px solid var(--c-line-strong); border-radius: 999px;
  padding: .5rem .85rem; min-height: 44px; font-weight: 600; cursor: pointer;
  transition: border-color var(--dur), background var(--dur);
}
.lang__btn:hover { border-color: var(--accent); background: var(--surface); }
.lang__menu {
  position: absolute; right: 0; top: calc(100% + .5rem); min-width: 11rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--sh-2); padding: .4rem; display: grid; gap: .15rem;
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98);
  transition: opacity var(--dur), transform var(--dur) var(--ease-out), visibility var(--dur);
  z-index: var(--z-overlay);
}
.lang.is-open .lang__menu { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.lang__item { display: flex; align-items: center; gap: .6rem; padding: .6rem .75rem; border-radius: 10px; font-weight: 500; }
.lang__item:hover { background: var(--bg-alt); }
.lang__item[aria-current="true"] { color: var(--accent-deep); font-weight: 600; }
.lang__code {
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; line-height: 1;
  padding: .22rem .42rem; border-radius: 6px;
  background: color-mix(in srgb, currentColor 13%, transparent);
}

/* mobile toggle */
.nav__toggle { display: none; width: 48px; height: 48px; border: none; background: transparent; cursor: pointer; position: relative; z-index: 2; }
.nav__toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--c-cocoa); border-radius: 2px; transition: transform var(--dur) var(--ease-out), opacity var(--dur); }
.nav__toggle span:nth-child(1) { top: 18px; }
.nav__toggle span:nth-child(2) { top: 24px; }
.nav__toggle span:nth-child(3) { top: 30px; }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav__toggle { display: block; }
  .nav__menu {
    position: fixed; top: 0; left: 0; right: 0; height: 100dvh; padding: 6rem var(--gutter) 2rem;
    background: var(--c-cream); display: flex; flex-direction: column; gap: var(--sp-5);
    transform: translateX(100%); transition: transform var(--dur-slow) var(--ease-out);
    overflow-y: auto; overscroll-behavior: contain;
  }
  .nav.is-open .nav__menu { transform: translateX(0); }
  .nav__links { flex-direction: column; align-items: flex-start; gap: var(--sp-4); }
  .nav__link { font-family: var(--font-display); font-size: var(--fs-700); }
  .nav__actions { flex-direction: column; align-items: stretch; width: 100%; gap: var(--sp-4); margin-top: auto; }
  /* the language list is always visible on mobile — the dropdown button is redundant */
  .lang__btn { display: none; }
  .lang__menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding: 0; }
}

/* ---------------- Hero (split layout on a warm light background) ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.hero__inner { position: relative; z-index: 2; padding-block: clamp(7rem, 16vh, 11rem) clamp(3rem, 8vh, 6rem); width: 100%; }
.hero__content { max-width: 46rem; }
.hero h1 em { font-style: italic; color: var(--accent-deep); }
.hero__lead { color: var(--text-muted); font-size: var(--fs-500); margin-top: var(--sp-5); max-width: 44ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--sp-4); margin-top: var(--sp-7); }
.hero__meta { display: flex; flex-wrap: wrap; gap: var(--sp-6); margin-top: var(--sp-8); }
.hero__stat { color: var(--c-cocoa); }
.hero__stat b { display: block; font-family: var(--font-display); font-size: var(--fs-700); font-weight: 500; line-height: 1; }
.hero__stat span { font-size: var(--fs-300); text-transform: uppercase; letter-spacing: .12em; color: var(--text-muted); }
.hero__scroll {
  position: absolute; left: 50%; bottom: 1.75rem; transform: translateX(-50%); z-index: 2;
  display: grid; place-items: center; gap: .5rem; color: var(--c-cocoa);
  font-size: var(--fs-300); letter-spacing: .14em; text-transform: uppercase;
}
.hero__scroll .mouse { width: 24px; height: 38px; border: 2px solid var(--c-cocoa); border-radius: 999px; position: relative; }
.hero__scroll .mouse::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; background: var(--accent); border-radius: 999px; transform: translateX(-50%); animation: scrollDot 1.6s var(--ease-in-out) infinite; }
@keyframes scrollDot { 0%,100% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translate(-50%, 12px); } }

/* page hero (interior pages): cinematic dark veil + giant cream type */
.pagehero { position: relative; min-height: 74svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--c-bark); }
/* top bleed for the parallax shift (see .hero__bg) */
.pagehero__bg { position: absolute; inset: -7% 0 0; z-index: 0; }
.pagehero__bg img { width: 100%; height: 100%; object-fit: cover; }
.pagehero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(76deg, rgba(28,17,10,.86) 0%, rgba(28,17,10,.52) 40%, rgba(28,17,10,.2) 75%, rgba(28,17,10,.4) 100%),
    linear-gradient(0deg, rgba(28,17,10,.7) 0%, rgba(28,17,10,.18) 38%, rgba(28,17,10,.28) 100%);
}
.pagehero__inner { position: relative; z-index: 2; padding-block: clamp(7rem,16vh,10rem) clamp(3rem,7vh,4.5rem); }
.pagehero h1 { color: var(--c-flour); font-size: var(--fs-900); letter-spacing: -.02em; text-shadow: 0 2px 26px rgba(28,17,10,.35); }
.pagehero__crumb { display: flex; gap: .5rem; align-items: center; font-size: var(--fs-300); color: rgba(250,244,234,.72); margin-bottom: var(--sp-3); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.pagehero__crumb a:hover { color: var(--c-wheat); }
.pagehero p { color: rgba(250,244,234,.88); font-size: var(--fs-500); margin-top: var(--sp-3); }
/* scalloped baker's-paper edge into the page */
.pagehero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 24px; z-index: 4; pointer-events: none;
  background: radial-gradient(circle at 50% 0, transparent 11px, var(--c-cream) 11.8px);
  background-size: 48px 24px; background-position: center top;
}

/* ---------------- Feature row (alternating image/text) ---------------- */
.feature { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.feature--rev .feature__media { order: 2; }
.feature__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--sh-2); aspect-ratio: 5/4; }
.feature__media img { width: 100%; height: 100%; object-fit: cover; }
.feature__media--stack { aspect-ratio: auto; box-shadow: none; overflow: visible; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.feature__media--stack img { border-radius: var(--radius); box-shadow: var(--sh-2); aspect-ratio: 3/4; }
.feature__media--stack img:first-child { margin-top: 2rem; }
.feature__body h2 { margin-bottom: var(--sp-4); }
.feature__body p { color: var(--text-muted); font-size: var(--fs-500); }
.feature__body p + p { margin-top: var(--sp-4); }
@media (max-width: 820px) {
  .feature { grid-template-columns: 1fr; gap: var(--sp-6); }
  .feature--rev .feature__media { order: 0; }
}

/* ---------------- Gallery (masonry-safe, symmetric) ---------------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.75rem, 1.5vw, 1.25rem); }
.gallery__item { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 1; box-shadow: var(--sh-1); cursor: pointer; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.gallery__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(44,30,21,.5)); opacity: 0; transition: opacity var(--dur); }
.gallery__cap { position: absolute; left: 1rem; bottom: .85rem; color: var(--c-flour); font-weight: 600; font-size: var(--fs-300); z-index: 2; opacity: 0; transform: translateY(8px); transition: opacity var(--dur), transform var(--dur) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .gallery__item:hover img { transform: scale(1.08); }
  .gallery__item:hover::after { opacity: 1; }
  .gallery__item:hover .gallery__cap { opacity: 1; transform: translateY(0); }
}
.gallery__item--tall { aspect-ratio: 1 / 1.4; }
.gallery__item--wide { aspect-ratio: 1.4 / 1; }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); } .gallery__item--tall, .gallery__item--wide { aspect-ratio: 1; } }

/* ---------------- Menu list: editorial with ghost numerals ---------------- */
main { counter-reset: menucat; }
.menu-cat { margin-bottom: clamp(4rem, 8vw, 6.5rem); counter-increment: menucat; }
.menu-cat__head { display: flex; align-items: baseline; gap: var(--sp-4); margin-bottom: var(--sp-6); }
.menu-cat__head::before {
  content: counter(menucat, decimal-leading-zero);
  font-family: var(--font-display); font-style: italic; font-weight: 600; line-height: .75;
  font-size: clamp(2.8rem, 5.5vw, 4.4rem);
  color: color-mix(in srgb, var(--accent) 24%, transparent);
}
.menu-cat__head h3 { font-size: var(--fs-700); white-space: nowrap; }
.menu-cat__rule { flex: 1; height: 1px; background: var(--c-line-strong); }
.menu-items { display: grid; gap: var(--sp-4); }
.menu-item { display: grid; gap: .25rem; padding-bottom: var(--sp-3); border-bottom: 1px dashed var(--c-line-strong); }
.menu-item__name { font-family: var(--font-display); font-size: var(--fs-500); font-weight: 500; color: var(--c-cocoa); }
.menu-item__desc { color: var(--text-muted); font-size: var(--fs-400); }
/* oven-arch photos, zigzag sides, sticky while the list scrolls */
.menu-cat .feature__media { aspect-ratio: 3 / 4 !important; border-radius: 12rem 12rem var(--radius) var(--radius); }
@media (min-width: 821px) {
  .menu-cat .feature__media { position: sticky; top: 110px; }
  div.menu-cat:nth-of-type(even) .grid--2 .feature__media { order: -1; }
}
@media (max-width: 820px) {
  .menu-cat .grid--2 { grid-template-columns: 1fr; }
  .menu-cat .feature__media { order: -1; max-height: 340px; aspect-ratio: 16/10 !important; border-radius: var(--radius-lg); }
}

/* ---------------- Review cards ---------------- */
.review { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--sp-5); box-shadow: var(--sh-1); display: flex; flex-direction: column; gap: var(--sp-3); height: 100%; }
.review__stars { display: inline-flex; gap: 2px; color: var(--c-crust); }
.review__text { color: var(--c-cocoa); font-size: var(--fs-400); flex: 1; }
.review__who { display: flex; align-items: center; gap: .75rem; margin-top: var(--sp-2); }
.review__avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--c-wheat); color: var(--c-cocoa); font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; }
.review__name { font-weight: 600; }
.review__date { font-size: var(--fs-300); color: var(--text-muted); }

/* ---------------- Info / contact ---------------- */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 3vw, 3rem); }
@media (max-width: 820px) { .info-grid { grid-template-columns: 1fr; } }
.info-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--sp-6); box-shadow: var(--sh-1); }
.info-row { display: flex; gap: var(--sp-4); padding-block: var(--sp-4); border-bottom: 1px solid var(--c-line); }
.info-row:last-child { border-bottom: none; }
.info-row__icon { flex: none; width: 44px; height: 44px; border-radius: 12px; background: color-mix(in srgb, var(--accent) 12%, transparent); display: grid; place-items: center; color: var(--accent-deep); }
.info-row__label { font-size: var(--fs-300); text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); font-weight: 600; }
.info-row__value { font-weight: 500; color: var(--c-cocoa); }
.info-row__value a:hover { color: var(--accent-deep); }

.hours { display: grid; gap: .15rem; }
.hours__row { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem .25rem; border-radius: 8px; }
.hours__row.is-today { background: color-mix(in srgb, var(--accent) 10%, transparent); padding-inline: .75rem; font-weight: 600; }
.hours__day { color: var(--c-cocoa); }
.hours__time { color: var(--text-muted); font-variant-numeric: tabular-nums; text-align: right; }
.hours__row.is-today .hours__time { color: var(--accent-deep); }

.map-embed { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--sh-2); border: 1px solid var(--border); aspect-ratio: 16/10; }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* contact form */
.field { display: grid; gap: .4rem; margin-bottom: var(--sp-4); }
.field label { font-weight: 600; font-size: var(--fs-400); }
.field input, .field textarea, .field select {
  width: 100%; padding: .85rem 1rem; min-height: 48px; background: var(--bg);
  border: 1.5px solid var(--c-line-strong); border-radius: 12px;
  transition: border-color var(--dur), box-shadow var(--dur);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.field__hint { font-size: var(--fs-300); color: var(--text-muted); }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
@media (max-width: 560px) { .field--row { grid-template-columns: 1fr; } }

/* ---------------- CTA band: dark editorial ---------------- */
.cta { position: relative; overflow: hidden; border-radius: var(--radius-xl); padding: clamp(3rem, 7vw, 5.5rem); background: var(--c-bark); color: var(--c-flour); text-align: center; }
.cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(36rem 18rem at 12% -20%, rgba(196,106,46,.3), transparent 62%),
    radial-gradient(34rem 18rem at 90% 120%, rgba(231,200,147,.18), transparent 60%);
}
.cta > * { position: relative; }
.cta h2 { color: var(--c-cream); font-size: var(--fs-800); }
.cta p { color: rgba(250,244,234,.82); margin: var(--sp-4) auto var(--sp-6); font-size: var(--fs-500); }
.cta .btn { --btn-bg: var(--accent-btn); --btn-fg: var(--c-flour); }
.cta .btn::after { background: var(--accent-deep); }
.cta__hours { color: rgba(231,200,147,.95); }

/* ---------------- Footer ---------------- */
.footer { background: var(--c-bark); color: var(--c-cream); position: relative; z-index: 2; padding-top: clamp(3rem, 6vw, 5rem); margin-top: clamp(3rem,8vw,6rem); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--sp-6); padding-bottom: var(--sp-8); }
.footer__brand svg, .footer__brand img { height: 44px; margin-bottom: var(--sp-4); }
.footer__brand p { color: rgba(250,244,234,.72); max-width: 30ch; }
.footer__col h4 { color: var(--c-wheat); font-family: var(--font-body); font-size: var(--fs-300); text-transform: uppercase; letter-spacing: .12em; margin-bottom: var(--sp-4); }
.footer__col a, .footer__col p { color: rgba(250,244,234,.8); display: block; padding-block: .3rem; transition: color var(--dur), transform var(--dur); }
.footer__col a:hover { color: var(--c-wheat); }
@media (hover: hover) and (pointer: fine) {
  .footer__col a:hover { transform: translateX(3px); }
}
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-4); padding-block: var(--sp-5); border-top: 1px solid rgba(250,244,234,.14); color: rgba(250,244,234,.66); font-size: var(--fs-300); }
.footer__credit a { color: var(--c-wheat); font-weight: 600; }
.footer__credit a:hover { text-decoration: underline; }
.footer__social { display: flex; gap: .6rem; }
.footer__social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(250,244,234,.2); display: grid; place-items: center; color: var(--c-cream); transition: background var(--dur), border-color var(--dur), transform var(--dur); }
.footer__social a:hover { background: var(--c-crust); border-color: var(--c-crust); }
@media (hover: hover) and (pointer: fine) {
  .footer__social a:hover { transform: translateY(-3px); }
}
@media (max-width: 820px) { .footer__top { grid-template-columns: 1fr 1fr; gap: var(--sp-6); } }
@media (max-width: 480px) { .footer__top { grid-template-columns: 1fr; } .footer__bottom { flex-direction: column; align-items: flex-start; } }

/* ---------------- Lightbox ---------------- */
.lightbox { position: fixed; inset: 0; z-index: var(--z-loader); background: rgba(44,30,21,.92); display: grid; place-items: center; padding: var(--gutter); opacity: 0; visibility: hidden; transition: opacity var(--dur), visibility var(--dur); overscroll-behavior: contain; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(92vw, 1100px); max-height: 86vh; border-radius: var(--radius); box-shadow: var(--sh-3); }
.lightbox__close { position: absolute; top: 1.25rem; right: 1.25rem; width: 52px; height: 52px; border-radius: 50%; border: none; background: var(--c-flour); color: var(--c-cocoa); cursor: pointer; display: grid; place-items: center; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: none; background: rgba(250,244,234,.92); color: var(--c-cocoa); cursor: pointer; display: grid; place-items: center; }
.lightbox__nav--prev { left: 1.25rem; } .lightbox__nav--next { right: 1.25rem; }

/* decorative steam / wheat svg helpers sit inline; class hooks for animation */
.deco { position: absolute; pointer-events: none; z-index: 1; }

/* ---------------- Inline icon sizing ----------------
   The inline SVGs carry no width/height attributes; without explicit sizes
   they fall back to 300x150 and blow up flex layouts. */
.btn svg { width: 20px; height: 20px; flex: none; }
.lang__btn svg { flex: none; }
.ico { width: 44px; height: 44px; }
.card__ico { display: inline-flex; }
.info-row__icon svg { width: 22px; height: 22px; }
.info-card h3 svg { width: 26px; height: 26px; flex: none; }
.review__stars svg { width: 16px; height: 16px; }
.footer__social svg { width: 20px; height: 20px; }

/* ---------------- Photo vibrancy ----------------
   Subtle saturation/contrast lift on every photo (and the hero video)
   so the food and the warm interior pop a little more. */
.card__media img,
.feature__media img,
.gallery__item img,
.strip img,
.pagehero__bg img,
.carousel__slide img,
.lightbox img {
  filter: saturate(1.16) contrast(1.05) brightness(1.02);
}

/* ---------------- Scroll progress bar ---------------- */
.scrollbar { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: calc(var(--z-nav) + 1); pointer-events: none; }
.scrollbar i { display: block; height: 100%; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, var(--c-crust-soft), var(--c-crust)); }

/* ---------------- Open-now badge (hero) ---------------- */
.open-badge {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .45rem .95rem; border-radius: 999px; margin-bottom: 1.1rem;
  background: color-mix(in srgb, var(--accent) 9%, transparent);
  border: 1px solid var(--c-line-strong);
  color: var(--c-cocoa); font-size: var(--fs-300); font-weight: 600; letter-spacing: .04em;
}
.open-badge i { width: 9px; height: 9px; border-radius: 50%; background: var(--c-line-strong); flex: none; }
.open-badge.is-open i { background: #7FB069; animation: badgePulse 2s ease-out infinite; }
@keyframes badgePulse {
  0% { box-shadow: 0 0 0 0 rgba(127,176,105,.55); }
  70%, 100% { box-shadow: 0 0 0 9px rgba(127,176,105,0); }
}

/* hero rating stars */
.hero__rating { display: flex; align-items: center; gap: .55rem; }
.hero__rating .stars { display: inline-flex; gap: 2px; color: var(--c-wheat); }
.hero__rating .stars svg { width: 17px; height: 17px; }

/* ---------------- Photo strip (infinite film) ---------------- */
@keyframes marqueeScroll { to { transform: translateX(-50%); } }
.strip { overflow: hidden; padding-block: clamp(2rem, 4vw, 3.5rem) clamp(3rem, 5vw, 4.5rem); }
.strip__track { display: flex; gap: clamp(.75rem, 1.5vw, 1.25rem); width: max-content; animation: marqueeScroll 70s linear infinite; }
.strip figure { width: clamp(200px, 24vw, 330px); aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; flex: none; box-shadow: var(--sh-1); margin: 0 0 1.5rem; }
.strip figure:nth-child(even) { transform: translateY(1.5rem); }
.strip img { width: 100%; height: 100%; object-fit: cover; }

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

/* ---------------- CTA extras ---------------- */
.cta__deco { position: absolute; right: -3.5rem; bottom: -4.5rem; pointer-events: none; color: rgba(255,252,247,.13); transform: rotate(18deg); }
.cta__deco .ico { width: 280px; height: 280px; }
.cta__hours {
  display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.4rem;
  font-size: var(--fs-300); font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(231,200,147,.95);
}
.cta__hours svg { width: 16px; height: 16px; }

/* ---------------- Sticky mobile action bar ---------------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-nav);
  display: none; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--c-line-strong); border-top: 1px solid var(--c-line-strong);
  transform: translateY(102%); transition: transform .35s var(--ease-out);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bar.is-visible { transform: translateY(0); }
.mobile-bar__btn {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 56px; background: var(--c-flour); font-weight: 600; color: var(--c-cocoa);
}
.mobile-bar__btn svg { width: 18px; height: 18px; color: var(--accent-deep); }
.mobile-bar__btn--call { background: var(--accent-btn); color: var(--c-flour); }
.mobile-bar__btn--call svg { color: currentColor; }
@media (max-width: 760px) {
  .mobile-bar { display: grid; }
  .footer { padding-bottom: 76px; }
}

/* ---------------- Immersive hero (home): full-bleed photo, giant type ----- */
.hero--immersive { min-height: 100svh; background: var(--c-bark); display: flex; align-items: flex-end; }
.hero--immersive .hero__inner {
  display: flex; align-items: flex-end; width: 100%;
  padding-block: clamp(8rem, 18vh, 12rem) clamp(4.5rem, 10vh, 7rem);
}
.hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero__bg .carousel__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s var(--ease-in-out); }
.hero__bg .carousel__slide.is-active { opacity: 1; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.18) contrast(1.06); }
.hero__bg .carousel__slide.is-active img { animation: heroKen 8.5s var(--ease-out) forwards; }
@keyframes heroKen { from { transform: scale(1.09); } to { transform: scale(1); } }
.hero__veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(76deg, rgba(28,17,10,.9) 0%, rgba(28,17,10,.62) 36%, rgba(28,17,10,.2) 68%, rgba(28,17,10,.42) 100%),
    linear-gradient(0deg, rgba(28,17,10,.78) 0%, rgba(28,17,10,.22) 34%, transparent 55%);
}
.hero--immersive .hero__content { max-width: 58rem; }
.hero--immersive .eyebrow { color: var(--c-wheat); }
.hero--immersive h1 { font-size: var(--fs-950); color: var(--c-flour); letter-spacing: -.02em; text-shadow: 0 2px 30px rgba(28,17,10,.35); }
.hero--immersive h1 em { color: var(--c-wheat); }
.hero h1 > span { display: inline-block; }
.hero--immersive .hero__lead { color: rgba(250,244,234,.88); max-width: 50ch; }
.hero--immersive .hero__cta { margin-top: var(--sp-6); }
.hero--immersive .hero__meta { margin-top: var(--sp-7); }
.hero--immersive .hero__stat b { color: var(--c-flour); }
.hero--immersive .hero__stat span { color: rgba(250,244,234,.66); }
.hero--immersive .hero__rating .stars { color: var(--c-wheat); }
.hero--immersive .open-badge {
  background: rgba(250,244,234,.12); border-color: rgba(250,244,234,.32); color: var(--c-flour);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.hero--immersive .btn--ghost { --btn-fg: var(--c-flour); border-color: rgba(250,244,234,.55); }
.hero--immersive .btn--ghost:hover { border-color: var(--c-flour); }
.hero--immersive .hero__scroll { color: rgba(250,244,234,.85); }
.hero--immersive .hero__scroll .mouse { border-color: rgba(250,244,234,.85); }
.hero--immersive .hero__scroll .mouse::after { background: var(--c-wheat); }

/* rotating bakery stamp */
.hero__stamp {
  position: absolute; z-index: 3;
  right: clamp(1.5rem, 6vw, 5.5rem); bottom: clamp(5.5rem, 13vh, 8rem);
  width: clamp(120px, 13vw, 175px); aspect-ratio: 1;
  display: grid; place-items: center; pointer-events: none;
}
.hero__stamp-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: stampSpin 28s linear infinite; }
.hero__stamp-ring text { font-family: var(--font-body); font-size: 13px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; fill: var(--c-wheat); }
.hero__stamp-ico { width: clamp(36px, 4vw, 48px); height: auto; color: var(--c-flour); }
@keyframes stampSpin { to { transform: rotate(1turn); } }

/* scalloped baker's-paper edge into the page */
.hero__edge {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 24px; z-index: 4; pointer-events: none;
  background: radial-gradient(circle at 50% 0, transparent 11px, var(--c-cream) 11.8px);
  background-size: 48px 24px; background-position: center top;
}

@media (max-width: 900px) {
  .hero--immersive .hero__inner { padding-bottom: clamp(4rem, 9vh, 6rem); }
  .hero__stamp { display: none; }
  .hero--immersive .hero__scroll { display: none; }
  .hero--immersive .hero__meta { gap: var(--sp-5); }
  /* diagonal veil is tuned for wide desktop photos; on narrow/tall mobile
     screens too much bright photo shows through behind the text, so add a
     stronger, mostly-vertical veil to guarantee contrast for the type. */
  .hero--immersive .hero__veil {
    background:
      linear-gradient(0deg, rgba(20,12,7,.92) 0%, rgba(20,12,7,.62) 42%, rgba(20,12,7,.28) 68%, rgba(20,12,7,.15) 100%),
      linear-gradient(180deg, rgba(20,12,7,.55) 0%, transparent 30%);
  }
}

/* ---------------- Dish cards: oven-arch photos ---------------------------- */
figure.card { background: transparent; border: none; box-shadow: none; border-radius: 0; overflow: visible; }
figure.card:hover { box-shadow: none; border: none; }
@media (hover: hover) and (pointer: fine) {
  figure.card:hover { transform: translateY(-8px); }
}
figure.card .card__media {
  aspect-ratio: 4 / 5;
  border-radius: 12rem 12rem var(--radius) var(--radius);
  box-shadow: var(--sh-2);
  border: 1px solid var(--c-line);
}
figure.card:hover .card__media { box-shadow: var(--sh-3); }
figure.card .card__body { padding: var(--sp-4) 0 0; text-align: center; align-items: center; }
figure.card .card__body h3 { font-style: italic; font-weight: 500; font-size: var(--fs-500); }

/* ---------------- Giant phone link (contact) ------------------------------ */
.tel-xl { display: block; margin: var(--sp-5) 0 var(--sp-6); }
.tel-xl__label {
  display: block; font-size: var(--fs-300); font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--accent-deep);
  margin-bottom: .35rem;
}
.tel-xl__num {
  display: inline-block; font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.5rem, 6vw, 4.4rem); line-height: 1.05; color: var(--c-cocoa);
  border-bottom: 3px solid var(--c-wheat);
  transition: color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
  font-variant-numeric: tabular-nums;
}
.tel-xl:hover .tel-xl__num { color: var(--accent-deep); border-color: var(--accent); }

/* ---------------- Editorial pull quote (nosotros) ------------------------- */
.quote-band { position: relative; overflow: hidden; background: var(--c-bark); padding-block: clamp(4.5rem, 10vw, 8rem); }
.quote-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(38rem 20rem at 90% 120%, rgba(231,200,147,.16), transparent 62%),
    radial-gradient(30rem 16rem at 6% -25%, rgba(196,106,46,.24), transparent 60%);
}
.bigquote { position: relative; max-width: 56rem; margin-inline: auto; text-align: center; }
.bigquote__mark {
  display: block; font-family: var(--font-display); font-style: italic; line-height: .1;
  font-size: clamp(6rem, 13vw, 11rem); color: rgba(231,200,147,.3); height: .35em;
}
.bigquote p { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: var(--fs-800); line-height: 1.12; color: var(--c-cream); max-width: none; text-wrap: balance; }
.bigquote cite {
  display: block; margin-top: var(--sp-5); font-style: normal;
  font-size: var(--fs-300); font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(250,244,234,.62);
}

/* ---------------- Gallery mosaic: hero tiles ------------------------------
   8 real photos -> 4+6+2 = 12 cells: exactly 4 rows of 3 (and 6 rows of 2
   on mobile), so the mosaic never leaves an orphan hole. */
.gallery { grid-auto-flow: dense; }
.gallery__item:first-child { grid-column: span 2; grid-row: span 2; }
.gallery__item:last-child { grid-column: span 2; }

/* word-reveal helper (JS splits section h2 into masked words) */
.wrd { display: inline-block; overflow: hidden; vertical-align: bottom; }
.wrd > span { display: inline-block; }

/* ---------------- Gentle icon animations (hooks: steam/sway/rock/bubbles) ---- */
@keyframes icoSteam { 0%, 100% { transform: translateY(0); opacity: .55; } 50% { transform: translateY(-2.5px); opacity: 1; } }
.ico--coffee .steam { animation: icoSteam 2.4s ease-in-out infinite; }
@keyframes icoSway { 0%, 100% { transform: rotate(-2.5deg); } 50% { transform: rotate(2.5deg); } }
.ico--wheat .sway { transform-origin: 50% 92%; animation: icoSway 3.2s ease-in-out infinite; }
@keyframes icoRock { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
.ico--croissant .rock { transform-origin: 50% 62%; animation: icoRock 3.6s ease-in-out infinite; }
@keyframes icoBubbles { 0%, 100% { transform: translateY(0); opacity: .55; } 50% { transform: translateY(-2px); opacity: 1; } }
.ico--bar .bubbles { animation: icoBubbles 2.1s ease-in-out infinite; }
