/* ==========================================================================
   home4: faithful rebuild of the reference (bikette.be) design.
   Colours, sizes and breakpoints were measured on the live site.
   To turn it into our design, change the variables in section 1.
   Standalone: does not load tokens.css / base.css (the reference uses a
   fixed 16px root, not our fluid scale).
   ========================================================================== */

/* 1. Theme ---------------------------------------------------------------- */

:root {
  --green: #18a86b;
  --floral-white: #fffaf0;
  --ink: #231f20;
  --dark-green: #15281e;
  --yellow: #f5f588;
  --orange: #f5793a;
  /* Closest fonts already on the computer (the reference's own files are not copied) */
  --font-sans: "Helvetica Neue", "Nimbus Sans", Helvetica, Arial, sans-serif;
  --font-serif: "Nimbus Roman No9 L", "Nimbus Roman", Times, "Times New Roman", serif;
  --font-narrow: "Barlow Condensed", "Avenir Next Condensed", "Arial Narrow", sans-serif;
}

/* Page colours (menu cream, chosen 2026-11-30)
     field     page colour           on-field  text and lines on it
     paper     cards                 on-paper  text and lines on cards */
:root {
  --field: #f9eadf; /* cream, as the printed menu pages */
  --on-field: var(--ink);
  --paper: var(--floral-white);
  --on-paper: var(--ink);
}

/* 1b. Library: Logo Reveal Loader ------------------------------------------ */

.loader {
  z-index: 10002; /* ours: above the grain and the mobile menu */
  color: var(--field); /* ours: logo and text in the page colour */
  width: 100%;
  height: 100dvh;
  position: fixed;
  inset: 0% 0% auto;
}

.loader__bg {
  background-color: #ef3642; /* ours: brand red, as the menu cover */
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0%;
}

.loader__container {
  z-index: 2;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  display: flex;
  position: relative;
}

.loader__bg-bar {
  z-index: 1;
  transform-origin: 0%;
  transform-style: preserve-3d;
  background-color: var(--field); /* ours */
  width: 100%;
  height: .5em;
  position: absolute;
  inset: auto 0% 0%;
  transform: scale3d(0, 1, 1);
}

.loader__logo-wrap {
  justify-content: center;
  align-items: center;
  width: min(20em, 76vw); /* ours: fits the El Taco Loco logo */
  aspect-ratio: 758 / 279;
  display: flex;
  position: relative;
}

.loader__logo-item {
  width: 100%;
  position: absolute;
}

.loader__logo-item.is--base {
  opacity: .2;
}

.loader__logo-item.is--top {
  -webkit-clip-path: inset(0% 100% 0% 0%);
  clip-path: inset(0% 100% 0% 0%);
}

.loader__logo-img {
  width: 100%;
  display: block;
}

.loader__text-wrap {
  flex-flow: column;
  justify-content: center;
  align-items: center;
  display: flex;
  position: absolute;
  bottom: 3.5em;
}

.loader__text-el {
  text-transform: uppercase;
  white-space: nowrap;
  margin-bottom: -.25em;
  padding-bottom: .25em;
  font-family: var(--font-display); /* ours */
  font-size: 1.8em; /* ours */
  position: absolute;
}

[data-load-reset]{ opacity: 0; }

/* Ours: no loader for reduced motion (!important beats the timeline's display: block) */
@media (prefers-reduced-motion: reduce) {
  .loader { display: none !important; }
}

/* 2. Base ------------------------------------------------------------------ */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--field); color: var(--on-field); font: 400 16px/1.25 var(--font-sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, address { margin: 0; padding: 0; font: inherit; }
ul { list-style: none; }
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--on-field); outline-offset: 3px; }
::selection { background: var(--on-field); color: var(--field); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* 3. Grain, cursor, scroll hint ------------------------------------------- */

.grain { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 9999; pointer-events: none; opacity: 0.3; mix-blend-mode: soft-light; }

/* Library: Custom Cursor (CSS), unchanged except the SVGs are self-hosted */
/* Cursor "default" */
body,
body :is([data-cursor="default"], [data-cursor="default"] *),
body * {
  cursor: url("../assets/cursors/cursor-default.svg") 2 0, auto;
}

/* Cursor "text" */
body :is([data-cursor="text"], [data-cursor="text"] *),
body :is(p, h1, h2, h3, h4, h5, h6, input[type="text"], textarea) {
  cursor: url("../assets/cursors/cursor-text.svg") 9 19, text;
}

/* Cursor "pointer" (Hover) */
body :is([data-cursor="pointer"], [data-cursor="pointer"] *),
body :is(a, a *, a p, button, button *, select, input[type="submit"], input[type="button"], input[type="radio"], input[type="checkbox"]) {
  cursor: url("../assets/cursors/cursor-pointer.svg") 12 0, pointer;
}

/* Cursor "grab" */
body :is([data-cursor="grab"], [data-cursor="grab"] *) {
  cursor: url("../assets/cursors/cursor-grab.svg") 12 4, grab;
}

/* Cursor "grabbing" */
body :is([data-cursor="grabbing"], [data-cursor="grabbing"] *) {
  cursor: url("../assets/cursors/cursor-grabbing.svg") 12 0, grabbing;
}
/* Ours: GSAP Draggable writes an inline system cursor, so override it,
   and show "grabbing" while the mouse is held down */
body [data-cursor="grab"][style*="cursor"],
body [data-cursor="grab"] [style*="cursor"] { cursor: url("../assets/cursors/cursor-grab.svg") 12 4, grab !important; }
body [data-cursor="grab"]:active,
body [data-cursor="grab"]:active * { cursor: url("../assets/cursors/cursor-grabbing.svg") 12 0, grabbing !important; }

.scroll-hint { position: fixed; bottom: 2em; left: 2em; z-index: 9998; display: flex; flex-direction: column; align-items: center; gap: 0.5em; pointer-events: none; transition: opacity 0.6s; }
.scroll-hint[data-scroll-hint="hidden"] { opacity: 0; }
.scroll-hint span { font: 700 11px/1 var(--font-narrow); letter-spacing: 0.15em; text-transform: uppercase; animation: blink 1.8s ease-in-out infinite; }
.scroll-hint svg { width: 16px; height: 24px; animation: bounce 1.8s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.2; } }
@keyframes bounce { 50% { transform: translateY(5px); } }

/* 4. Nav -------------------------------------------------------------------- */

.navbar { position: fixed; top: 2em; left: 2em; right: 2em; z-index: 10000; display: flex; justify-content: space-between; align-items: center; }
.logomark { padding: 1em 2em 1em 0; font-weight: 700; line-height: 1; }
.nav-links { display: flex; gap: 1em; align-items: center; }
.nav-cta {
  display: inline-block; padding: 1em; border: 2px solid var(--on-field); background: var(--field);
  font-size: 0.8rem; font-weight: 500; line-height: 20px; letter-spacing: 0.04em; text-transform: uppercase;
  transition: 0.3s cubic-bezier(0.455, 0.03, 0.515, 0.955);
}
.nav-cta:is(:hover, :focus-visible) { background: var(--on-field); color: var(--field); }
.hamburger { display: none; }
.overlay { display: none; }

/* 5. Hero ------------------------------------------------------------------- */

.hero { position: relative; width: 100%; height: 100vh; min-height: 600px; overflow: hidden; }
.canvas-matter { position: absolute; inset: 0; z-index: 1; overflow: hidden; }
.canvas-matter__target { position: absolute; inset: 0; }
#canvas-target canvas { position: relative; top: -1px; left: -1px; max-width: calc(100% + 2px); min-width: calc(100% + 2px); height: calc(100% + 2px); }
.hero-headline { position: absolute; left: 0; right: 0; bottom: 40px; z-index: 10; display: flex; flex-direction: column; align-items: center; pointer-events: none; text-align: center; visibility: hidden; }
.eyebrow { display: flex; align-items: center; gap: 1em; }
.hero-p { font-size: 1.8rem; font-weight: 700; line-height: 1.4; letter-spacing: 5px; text-transform: uppercase; opacity: 0.4; }
.eyebrow__dot { flex: none; width: 6px; height: 6px; border-radius: 50%; background: color-mix(in srgb, var(--on-field) 40%, transparent); }
.brand { display: block; width: calc(100% - 28px); margin-inline: auto; white-space: nowrap; text-align: center; font-family: var(--font-sans); font-weight: 700; font-size: 15vw; line-height: 0.92; letter-spacing: -0.05em; }
.brand > span { display: inline-block; padding-right: 0.05em; }

/* 6. Sticky title (library: Sticky Title Scroll Effect) --------------------- */

.sticky-section { border-top: 2px solid var(--on-field); }
.sticky-title-wrapper { width: 100%; height: 350vh; position: relative; }
.sticky-title-container { position: sticky; top: 0; display: flex; justify-content: center; align-items: center; width: 100%; height: 100vh; padding-inline: 1.5em; }
.sticky-title-inner { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; width: 100%; max-width: 60em; margin-inline: auto; text-align: center; }
.sticky-title-el { font-family: var(--font-serif); font-size: 5em; font-weight: 500; line-height: 1; letter-spacing: -0.05em; text-wrap: balance; -webkit-text-stroke: 1px var(--field); }
.sticky-title-el.is--stacked { visibility: hidden; position: absolute; }

/* 7. Photo bands ------------------------------------------------------------ */

/* As measured on the reference: two halves, each photo 130% tall and cropped
   to fill, drifting from -8% to 8% as the band crosses the screen */
.null-section { position: relative; display: flex; height: 100vh; overflow: hidden; border-block: 2px solid var(--on-field); }
.image-cover { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; }
.image-fill { position: absolute; top: -15%; left: 0; width: 100%; height: 130%; max-width: none; object-fit: cover; object-position: center; }

/* 8. Sections + giant titles (library: CSS Marquee) -------------------------- */

.spaced-section { position: relative; padding-block: 30dvh; overflow: clip; }
.marquee-css { position: relative; display: flex; width: 100%; overflow: hidden; }
.marquee-css__list { position: relative; display: flex; flex: none; align-items: center; }
.marquee-css__item { display: flex; flex: 0 0 auto; align-items: center; gap: 1em; padding: 1em 1em 1em 0; }
.marquee-css__item-p { font-family: var(--font-serif); font-size: 10em; font-weight: 400; line-height: 1; letter-spacing: -0.05em; text-transform: lowercase; white-space: nowrap; -webkit-text-stroke: 1px var(--field); }
.marquee-css__item-svg { width: 2em; }
@keyframes translateX { to { transform: translateX(-100%); } }
[data-css-marquee-list] { animation: translateX 30s linear infinite; animation-play-state: paused; }
.hang-title { margin: 5dvh 0 15dvh; padding-inline: 1rem; font-family: var(--font-serif); font-size: 5em; font-weight: 500; line-height: 1; letter-spacing: -0.05em; text-transform: lowercase; text-align: center; text-wrap: balance; opacity: 0.5; }

/* 9. Cards (library: Stacking Sticky Cards (Bounce)) ------------------------ */

.cards-stack { width: 100%; margin-top: 5dvh; }
.cards-stack + .cards-stack { margin-top: 30dvh; }
.cards-stack__list { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5em; width: 100%; }
.cards-stack__item { position: sticky; top: calc(-15em + 50vh); flex: none; width: 100%; max-width: 25em; }
.cards-stack__item.is--wide { max-width: 60em; top: 10em; }
.cards-stack-card { display: flex; flex-direction: column; justify-content: space-between; gap: 1em; width: 100%; aspect-ratio: 2 / 3; padding: 2.5em; background: var(--paper); color: var(--on-paper); border: 2px solid var(--on-paper); border-radius: 2em; }
.cards-stack-card.is--wide { aspect-ratio: 5 / 3; }
.cards-stack-card__number { font-size: 6.75em; font-weight: 500; line-height: 0.95; }
.cards-stack-card__end { display: flex; flex-direction: column; gap: 2em; }
.cards-stack-card__h { font-size: 2.3em; font-weight: 500; line-height: 1.1; }
.pill { display: inline-block; padding: 0.1em 0.45em; border: 2px solid var(--on-paper); border-radius: 1000em; line-height: 1; }
.cards-stack-card__services { display: flex; flex-direction: column; justify-content: flex-end; min-height: 11em; font-size: 1.125em; font-weight: 500; line-height: 1.4; }
.cards-stack-card__rows li { display: flex; justify-content: space-between; gap: 1em; }

/* Visit card */
.visit-card { display: grid; grid-template-columns: 1fr 1fr; gap: 5em; width: min(55em, 100% - 4em); margin-inline: auto; padding: 2.5em; background: var(--paper); color: var(--on-paper); border: 2px solid var(--on-paper); border-radius: 2em; }
.column-flex { display: flex; flex-direction: column; gap: 0.5rem; }
.column-flex.is--right { text-align: right; }
.visit-card .cards-stack-card__h.is--light { opacity: 0.4; text-transform: uppercase; }
.visit-card__lines { font-size: 2.3em; font-weight: 500; line-height: 1.1; font-style: normal; }
.visit-card__more { display: flex; flex-direction: column; gap: 2rem; }

/* 10. Slider (library: Overlapping Slider) ---------------------------------- */

.overlapping-slider__wrap { width: 100%; margin-top: 15dvh; padding-inline: 1em; }
.overlapping-slider__collection { position: relative; display: flex; width: 100%; }
.overlapping-slider__list { position: relative; display: flex; flex: none; align-items: center; }
.overlapping-slider__item { flex: none; margin-right: 1em; }
.demo-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 1em; width: 24em; max-width: 85vw; aspect-ratio: 3 / 4; padding: 1em; overflow: hidden; background: #fff; color: #000; border: 2px solid var(--on-field); }
.demo-card__logo { position: absolute; top: 1em; right: 0.75em; writing-mode: vertical-rl; font-size: 1.5em; font-weight: 700; line-height: 0.95; letter-spacing: -0.04em; }
.demo-card__quote { margin: 0 0 auto; padding-top: 3.5em; padding-right: 1.5em; font-family: var(--font-serif); font-size: 2.1em; line-height: 1.05; letter-spacing: -0.03em; }
.demo-card__name { font-size: 1.5em; font-weight: 700; line-height: 1; letter-spacing: -0.03em; }
.demo-card__desc { font-family: var(--font-serif); font-size: 1.05em; line-height: 1.1; }
.demo-card__pill { align-self: flex-start; padding: 0.15em 0.9em; border: 1.5px solid #000; border-radius: 100em; font-size: 0.85em; font-weight: 700; }

/* Extras cards: the photo fills the card */
.demo-card.is--photo { width: 17em; max-width: 72vw; background: #f9dc0c; border: 2px solid var(--ink); }
.demo-card.is--photo .demo-card__logo { font-size: 1.1em; }
.demo-card.is--photo .demo-card__name { font-size: 1.2em; }
.demo-card.is--photo picture { display: contents; }
.demo-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.demo-card.is--photo > :not(picture) { position: relative; }
.demo-card.is--photo .demo-card__logo { position: absolute; }
.demo-card.is--photo .demo-card__desc:empty, .demo-card__pill:empty { display: none; }
.spaced-section.is--follow { padding-top: 0; }

/* Parties & events ----------------------------------------------------------
   Title strip + big faded lines, then version A (stacked cards) or B (tabs). */

.events { overflow: clip; }
.events .hang-title { max-width: 18em; margin-inline: auto; margin-bottom: 10dvh; }
.events .hang-title br { display: block; }

/* A. Library: Stacked Cards Slider (colours and size ours) */
.events__cards { display: flex; justify-content: center; }
.stack-cards { width: min(25em, 76vw); position: relative; }
.stacked-cards__stack { z-index: 0; width: 100%; position: relative; }
.stack-cards__before { padding-top: 117.5%; }
.stacked-cards__collection, .stack-cards__list, .stack-cards__item { width: 100%; height: 100%; position: absolute; top: 0; left: 0; }
.stack-cards__card { transition: box-shadow 0.25s cubic-bezier(0.625, 0.05, 0, 1); background-color: var(--paper); color: var(--on-paper); border: 0.1875em solid var(--ink); border-radius: 1.6em; width: 100%; height: 100%; position: absolute; top: 0; left: 0; overflow: hidden; box-shadow: 0em 0.5em 0em 0em rgba(0, 0, 0, 0); }
.stack-cards__item.is--active .stack-cards__card,
.stack-cards__item.is--second .stack-cards__card { box-shadow: 0em 0.5em 0em 0em rgba(0, 0, 0, 0.15); }
.stack-cards__card-image { pointer-events: none; object-fit: cover; user-select: none; border-radius: 0.7em; width: calc(100% - 1.8em); height: calc(100% - 4.5em); position: absolute; top: 0.9em; left: 0.9em; }
.stack-cards__caption { font-family: var(--font-display); position: absolute; left: 0; right: 0; bottom: 0; height: 3.4rem; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; text-align: center; }
.stacked-cards__controls { z-index: 1; gap: 0.75em; flex-wrap: wrap; justify-content: center; align-items: center; margin-top: 2.5em; display: flex; position: relative; }
.shuffle-btn { gap: 0.375em; color: var(--paper); background-color: var(--ink); border: 2px solid var(--ink); border-radius: 10em; justify-content: center; align-items: center; height: 2.75em; padding-inline: 1.25em 1.5em; font-size: 1.1em; line-height: 1; display: flex; cursor: pointer; }
.shuffle-btn.is--quiet { background: transparent; color: var(--ink); padding-inline: 1.5em; }
.shuffle-btn__span { white-space: nowrap; font-size: 1.0625em; font-weight: 500; }
.shuffle-btn__icon-svg { width: 1em; }

/* B. Library: Tab System with Autoplay Option (layout from home2, home4 look) */
.events__layout { display: grid; grid-template-columns: 5fr 7fr; gap: 2em; align-items: stretch; width: min(72em, 100% - 4em); margin-inline: auto; }
.events__list { display: flex; flex-direction: column; justify-content: center; gap: 0.75em; }
.events__tab { display: block; width: 100%; padding: 1.25em 1.5em; text-align: left; background: transparent; color: var(--ink); border: 2px solid var(--ink); border-radius: 1.5em; }
.events__tab.active { background: var(--paper); }
.events__tab-name { display: block; font: 400 2em/1.1 var(--font-display); }
.events__detail { display: block; height: 0; overflow: hidden; }
.events__detail-text { display: block; padding-top: 0.75em; font-size: 1.125em; line-height: 1.4; }
.events__track { display: block; height: 3px; margin-top: 1em; background: rgb(35 31 32 / 0.15); }
.events__progress { display: block; width: 100%; height: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left center; }
.events__stage { position: relative; min-height: 34em; }
.events__visual { position: absolute; inset: 0; margin: 0; overflow: hidden; visibility: hidden; border: 2px solid var(--ink); border-radius: 2em; }
.events__visual.active { visibility: visible; }
.events__img { width: 100%; height: 100%; object-fit: cover; }
.events__caption { position: absolute; left: 0.75em; bottom: 0.75em; padding: 0.3em 0.7em; background: var(--paper); color: var(--ink); border: 2px solid var(--ink); border-radius: 100em; font: 400 1.5em/1.1 var(--font-display); }
@media (max-width: 991px) {
  .events__layout { grid-template-columns: 1fr; width: calc(100% - 2.5em); }
  .events__stage { order: -1; min-height: 0; aspect-ratio: 4 / 5; }
  .events__tab-name { font-size: 1.5em; }
}

/* 11. Footer ----------------------------------------------------------------- */

.footer { position: relative; padding-block: 4em; border-top: 2px solid var(--on-field); }
.footer__top { margin-inline: 2em; }
.footer .logomark { display: inline-block; }
.footer-center { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5em; margin-top: 1em; }
.footer-link { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.04em; opacity: 0.7; transition: opacity 0.2s; }
.footer-link:is(:hover, :focus-visible) { opacity: 1; }
.brand.is--footer { margin-block: 4vw; opacity: 0.3; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1em; margin: 2em 2em 0; }

/* 12. Tablet and below ------------------------------------------------------- */

@media (max-width: 991px) {
  .navbar { top: 1em; left: 1.25em; right: 1.25em; }
  .nav-links { display: none; }
  .hamburger { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 40px; height: 40px; }
  .hamburger span { width: 2em; height: 2px; background: var(--on-field); }

  .overlay { position: fixed; inset: 0; z-index: 10001; display: flex; flex-direction: column; justify-content: center; background: var(--field); color: var(--on-field); opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0.4s; }
  .overlay[data-overlay="open"] { opacity: 1; visibility: visible; }
  .overlay__close { position: absolute; top: 1em; right: 1.25em; font-size: 2em; line-height: 1; }
  .overlay__links { display: flex; flex-direction: column; align-items: flex-start; gap: 1em; margin-left: 4em; }
  .overlay__links a { font-size: clamp(28px, 5vw, 52px); line-height: 1; letter-spacing: -0.02em; text-transform: uppercase; }

  .hero { height: 90dvh; }
  .hero-headline { gap: 1em; }
  .marquee-css__item-p { font-size: 7em; }
  .spaced-section { padding-block: 20dvh; }
  .null-section { height: 70vh; }
  .hang-title { font-size: 4em; }
  .cards-stack { width: auto; margin-inline: 2em; }
  .cards-stack__item, .cards-stack__item.is--wide { top: 20dvh; }
  .cards-stack-card, .cards-stack-card.is--wide { aspect-ratio: 1 / 1; }
  .cards-stack-card__number { font-size: 4em; }
  .cards-stack-card__h { font-size: 2em; }
  .cards-stack-card__services { min-height: 0; }
  .visit-card { grid-template-columns: 1fr; gap: 2.5em; }
  .visit-card__lines { font-size: 1.75em; }
  .column-flex.is--right { text-align: left; }
  .demo-card { width: 20em; }
  .demo-card.is--photo { width: 15em; }
}

@media (max-width: 767px) {
  .sticky-title-el { font-size: 3.25em; } /* long lines: keep them to about 4 rows */
  .hero-p { font-size: 1rem; letter-spacing: 3px; }
  .eyebrow { flex-wrap: wrap; justify-content: center; gap: 0.5em; padding-inline: 1em; }
  .cards-stack { margin-inline: 1.25em; }
  .cards-stack-card { padding: 1.75em; }
}

/* Tall screens (phones, upright tablets): side by side would cut the plates
   in half, so the two photos stack. (The reference keeps them side by side.) */
@media (max-aspect-ratio: 5/4) {
  .null-section { flex-direction: column; height: auto; }
  .image-cover { flex: none; width: 100%; aspect-ratio: 1; }
}

/* Food intro. Library: Masked Text Reveal (GSAP SplitText) */
[data-split="heading"] { visibility: hidden; } /* shown by JS right before the reveal */
@font-face { font-family: "Lenia Mono"; src: url("../assets/fonts/LeniaMono-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
.food-intro { margin: 0 0 15dvh; padding-inline: 1.25rem; font-family: "Lenia Mono", monospace; font-weight: 700; font-synthesis: none; font-size: max(2.25rem, 6.4vw); line-height: 1.15; text-align: center; font-kerning: none; }
.food-intro .line { padding-bottom: 0.08em; } /* room for descenders inside the mask */

/* Library: Horizontal Scrolling Sections ------------------------------------
   Full-width panels, one food category each. The library's CSS values; its
   .demo-card is renamed .food-card (home4 already has a .demo-card). Ours: the
   square photo is shown whole on a card in its own backdrop colour
   (--photo-bg, set per panel), and the top padding clears the nav. */
#food { overflow: visible; } /* the library needs no clipping parent */
.horizontal__wrap { flex-flow: row; min-height: 100dvh; margin-top: 5dvh; display: flex; overflow: hidden; }
.horizontal__panel { flex: none; width: 100%; }
.horizontal__panel-inner { width: 100%; height: 100%; padding: 5.5em 1.25em 1.25em; }
.food-card { display: flex; flex-flow: column; justify-content: flex-end; align-items: flex-start; width: 100%; height: 100%; padding: 3em; position: relative; overflow: hidden; border: 2px solid var(--ink); border-radius: 1.25em; background: var(--photo-bg, var(--paper)); color: var(--ink); }
.food-card__bg { z-index: 0; position: absolute; inset: 0; display: grid; place-items: center; container-type: size; }
.food-card__bg picture { display: contents; }
/* The photo's square edges are faded so no seam shows against the card */
.food-card__bg-img {
  grid-area: 1 / 1; width: min(100cqw, 100cqh); height: min(100cqw, 100cqh);
  mask-image: linear-gradient(to right, #0000, #000 7%, #000 93%, #0000), linear-gradient(#0000, #000 5%, #000 95%, #0000);
  mask-composite: intersect;
}
.food-card__todo { position: absolute; inset: 0; display: grid; place-items: center; padding: 1em; text-align: center; font-weight: 700; }
.food-card__inner { z-index: 1; position: relative; }
.food-card__title { max-width: 5.5em; font-family: var(--font-display); font-size: 4em; font-weight: 400; line-height: 0.95; }
@media (min-width: 768px) {
  .horizontal__wrap { height: 100dvh; }
}
@media (max-width: 767px) {
  .horizontal__wrap { flex-flow: column; }
  .horizontal__panel { height: 30em; }
  .horizontal__panel-inner { padding: 0.625em 1.25em; }
  .food-card { padding: 1.25em; }
  .food-card__title { font-size: 2.5em; }
}
@media (prefers-reduced-motion: reduce) {
  .horizontal__wrap { flex-flow: column; height: auto; }
  .horizontal__panel { height: min(40em, 100dvh); }
}

/* 13. Reduced motion --------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  [data-css-marquee-list], .scroll-hint span, .scroll-hint svg { animation: none; }
  .sticky-title-wrapper { height: auto; padding-block: 6rem; }
  .sticky-title-container { position: static; height: auto; }
  .sticky-title-inner { gap: 1.5rem; }
  .sticky-title-el.is--stacked { visibility: visible; position: static; }
  .cards-stack__item { position: static; }
}

/* 14. Heading font: Roketto (home4 only) -----------------------------------
   Headings and titles. Body text, prices, nav and quotes are unchanged.
   One weight only, so no fake bold. The arrows in "drag" use the fallback. */

@font-face { font-family: "Roketto"; src: url("../assets/fonts/Roketto-Regular.otf") format("opentype"); font-weight: 400; font-style: normal; font-display: swap; }

:root { --font-display: "Roketto", "Helvetica Neue", Arial, sans-serif; }

.brand, .sticky-title-el, .marquee-css__item-p, .hang-title, .cards-stack-card__h, .demo-card__name, .visit-card .cards-stack-card__h.is--light {
  font-family: var(--font-display);
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: 0;
  -webkit-text-stroke: 0;
}
