/* Paesano — https://paesano.bg
   Layout and type scale measured from the live theme (app.7c7eea.css / home.c230ed.css),
   archived under reference/live-2026-07-27/assets/. */

:root {
  --yellow: #FEC82B;
  --black:  #1B1919;
  --white:  #FFFFFF;

  --header-h: 80px;
  --col: 1140px;        /* hero content column */
  --wrapper: 570px;     /* copy column inside one half of a split */
  --menu-w: 1280px;
  --ease: cubic-bezier(0.13, 0.13, 0.02, 1.07);
}

@font-face {
  font-family: 'TTRunsRegular';
  src: url('/fonts/TTRunsRegular.woff2') format('woff2'),
       url('/fonts/TTRunsRegular.woff') format('woff');
  font-display: swap;
}
@font-face {
  font-family: 'TTRunsMedium';
  src: url('/fonts/TTRunsMedium.woff2') format('woff2'),
       url('/fonts/TTRunsMedium.woff') format('woff');
  font-display: swap;
}
@font-face {
  font-family: 'TTRunsBlack';
  src: url('/fonts/TTRunsBlack.woff2') format('woff2'),
       url('/fonts/TTRunsBlack.woff') format('woff');
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  font-family: 'TTRunsRegular', system-ui, sans-serif;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.4;
}

h1, h2, h3, h4 {
  font-family: 'TTRunsBlack', sans-serif;
  font-weight: 900;
  line-height: 1.1em;
  margin: 0;
}
p { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.skip-link {
  position: absolute; left: -9999px;
  background: var(--black); color: var(--white); padding: 0.75rem 1rem; z-index: 10000;
}
.skip-link:focus { left: 0; top: 0; }
:focus-visible { outline: 3px solid var(--black); outline-offset: 2px; }

/* Reveal-on-scroll. Content is hidden only under .js-anim, set inline only when
   IntersectionObserver exists and reduced motion is not requested. Nothing here depends
   on the GSAP CDN. */
.js-anim .reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js-anim .reveal.is-in { opacity: 1; transform: none; }
.js-anim .wipe { clip-path: inset(0 100% 0 0); transition: clip-path 1s ease; }
.js-anim .wipe.is-in { clip-path: inset(0 0 0 0); }

/* ---------------------------------------------------------------- buttons */

/* The theme's stacked offset-shadow button. */
.btn, .header__btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: 'TTRunsRegular', sans-serif;
  font-size: 1rem; letter-spacing: 0; text-transform: uppercase; text-decoration: none;
  color: var(--black); background: var(--yellow); cursor: pointer;
  border: 3px solid; padding: 0.7em 1.6em;
  box-shadow: 1px 1px 0 0, 2px 2px 0 0, 3px 3px 0 0, 4px 4px 0 0, 5px 5px 0 0;
  position: relative; user-select: none; touch-action: manipulation;
}
.btn:active, .header__btn:active { box-shadow: 0 0 0 0; top: 5px; left: 5px; }
.btn__glovo, .header__glovo img {
  filter: invert(1); width: 60px;
  /* The wordmark's weight sits low (the pin fills the top), so a box-centred logo reads
     low against the capitals; lift it to line up visually. */
  transform: translateY(-0.15em);
}

/* ---------------------------------------------------------------- header */

.header {
  position: fixed; top: 0; left: 0; width: 100%;
  min-height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  background: var(--yellow);
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  z-index: 999;
  transition: box-shadow 0.3s ease;
}
.header.is-stuck { box-shadow: 0 4px 18px rgba(0,0,0,0.28); }
.header__left { padding-left: 1rem; }
.header__right {
  display: flex; align-items: center; gap: 2rem;
  justify-content: flex-end; padding-right: 1rem;
}
.header__center { position: absolute; left: calc(50vw - 50px); z-index: 10000; }
.header__center img { width: 100px; }

.header__lang { font-size: 1rem; text-decoration: none; text-transform: uppercase; }
.header__lang:hover { text-decoration: underline; }

.header__howto { position: relative; }
.header__howto-panel {
  position: absolute; right: 0; top: calc(100% + 0.75rem);
  display: flex; flex-direction: column; gap: 0.75rem;
  background: var(--yellow); padding: 1rem; border: 3px solid var(--black);
  white-space: nowrap;
}
.header__howto-panel[hidden] { display: none; }
.header__glovo, .header__book {
  display: inline-flex; align-items: center; gap: 0.4rem;
  text-decoration: none; text-transform: uppercase;
}
.header__glovo:hover, .header__book:hover { text-decoration: underline; }

/* The live desktop header shows only the two buttons; the hamburger is mobile-only. */
.hamburger {
  display: none;
  width: 2em; height: 2em; background: none; border: 0; cursor: pointer;
  padding: 0.25em; position: relative; z-index: 1100;
}
.hamburger__bars, .hamburger__bars::before, .hamburger__bars::after {
  content: ''; display: block; position: absolute;
  height: 3px; width: 1.5em; background: var(--black); transition: 0.3s ease;
}
.hamburger__bars { top: 0.9em; }
.hamburger__bars::before { top: -0.5em; left: 0; }
.hamburger__bars::after  { top:  0.5em; left: 0; }
.hamburger[aria-expanded="true"] .hamburger__bars { background: transparent; }
.hamburger[aria-expanded="true"] .hamburger__bars::before { top: 0; transform: rotate(-45deg); }
.hamburger[aria-expanded="true"] .hamburger__bars::after  { top: 0; transform: rotate(45deg); }

.fsmenu {
  position: fixed; inset: 0; width: 100vw; height: 100vh;
  overflow: hidden; z-index: 1000; background: var(--yellow);
  padding: 8em 2rem 3em;
}
.fsmenu[hidden] { display: none; }
.fsmenu.is-active { animation: fsmenuReveal 0.6s var(--ease) forwards; }
.fsmenu.is-closing { animation: fsmenuClose 0.6s var(--ease) forwards; }
.fsmenu__list { list-style: none; margin: 0; padding: 0; height: 100%; display: flex; flex-direction: column; }
.fsmenu__item { flex: 1; position: relative; display: flex; align-items: center; }
.fsmenu__item a {
  font-family: 'TTRunsBlack', sans-serif;
  font-size: clamp(2rem, 9vw, 3.5rem); letter-spacing: 6px;
  text-transform: uppercase; text-decoration: none; position: relative; z-index: 1002;
  width: 100%; text-align: center; color: var(--white); transition: color 0.2s ease;
}
.fsmenu__item a:hover { color: var(--black); }
.fsmenu__ghost { display: none; }

@keyframes fsmenuReveal { from { width: 0vw; } to { width: 100vw; } }
@keyframes fsmenuClose  { from { width: 100vw; } to { width: 0vw; } }

/* ---------------------------------------------------------------- hero */

.hero { position: relative; height: 100vh; width: 100%; background: var(--yellow); overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; z-index: 1;
  background-position: 50%; background-repeat: no-repeat; background-size: cover;
}
.hero__overlay {
  position: absolute; inset: 0; z-index: 2;
  background: rgba(254,200,43,0.4); mix-blend-mode: multiply;
}
.hero__content {
  position: absolute; inset: 0; z-index: 3;
  display: flex; align-items: center; justify-content: center;
}
.hero__inner {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  max-width: var(--col); width: 100%; height: 100%; padding: 1rem;
}
.hero__title {
  background: var(--yellow); color: var(--black);
  font-size: max(3rem, min(10vw, 6.85rem));
  line-height: 1.1em; margin-bottom: 1rem;
  padding: 1rem 1.5rem; text-align: left;
  /* Capped so the headline block stays narrower than the body bar beneath it, which is
     what gives the hero its stepped silhouette. */
  width: fit-content; max-width: 70%;
}
.hero__sub {
  background: var(--yellow); color: var(--black);
  font-family: 'TTRunsMedium', sans-serif;
  font-size: 1.15rem; line-height: 1.1em;
  margin-top: -1rem; margin-bottom: 1rem;
  padding: 1rem 1.5rem; text-align: left; width: fit-content;
}
.hero .btn { margin-top: 0.75rem; }

/* ------------------------------------------------- split sections */

/* street-gourmet, premium-ingredients, highlights: edge-to-edge halves, min 90vh. */
.split {
  display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: 1fr;
  gap: 0; min-height: 90vh;
}
.split--yellow .split__content { background: var(--yellow); }
.split--reverse .split__media { order: 2; }

.split__media {
  background-position: 50%; background-repeat: no-repeat; background-size: cover;
  min-height: 45vh;
}
.split__content {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 100%; height: 100%; padding: 2rem 1rem;
}
.split__wrapper { max-width: var(--wrapper); width: 100%; }
.split__title {
  font-size: max(1.6rem, min(5.75vw, 3.8rem));
  line-height: 1.1; margin-bottom: 2rem;
}
.split__copy p {
  font-family: 'TTRunsMedium', sans-serif;
  color: var(--black); line-height: 1.4em; text-align: left;
}
/* The highlights copy is the longest passage on the page; the lighter cut keeps a block
   that size from reading as heavy. */
.split__copy--light p { font-family: 'TTRunsRegular', sans-serif; }
.split__wrapper .btn { margin-top: 1.5rem; }

/* ---------------------------------------------------------------- menu */

/* Pages that do not open with a full-bleed hero must clear the fixed header themselves.
   On home the hero is meant to run underneath it; here the heading would just vanish. */
.page--menu main { padding-top: var(--header-h); }

/* No bottom padding: the dancer is the last thing in the flow, so the section ends where
   it does and the figure stands on the boundary with the next section. */
.menu {
  position: relative; background: var(--white); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  padding: 5rem 1rem 0;
}
.menu__inner {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  max-width: var(--menu-w); width: 100%;
}
.menu__title {
  font-size: max(1.9rem, min(6.3vw, 4.236rem));
  line-height: 1.1em; margin-bottom: 2rem;
}
.menu__groups { width: 100%; position: relative; z-index: 100; }

.menu-group { width: 100%; }
.menu-group__trigger {
  cursor: pointer; list-style: none; position: relative;
  font-family: 'TTRunsBlack', sans-serif; font-size: 28px;
  color: var(--black); text-transform: uppercase;
  padding: 1.6rem 2rem 1.6rem 0;
}
.menu-group__trigger::-webkit-details-marker { display: none; }
.menu-group__trigger::after {
  content: '+'; position: absolute; right: 10px; top: 50%;
  transform: translateY(-50%); width: 15px; text-align: center;
}
.menu-group[open] > .menu-group__trigger::after { content: '–'; }

.menu-group__panel {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem;
  padding-bottom: 2rem;
}

.menu-item {
  display: flex; gap: 1rem; align-items: center;
  padding: 1rem 0; background: hsla(0, 0%, 100%, 0.65);
}
.menu-item__media { flex: 0 0 200px; max-width: 200px; }
.menu-item__media img { width: 200px; height: 133px; object-fit: cover; }
.menu-item__name {
  font-family: 'TTRunsBlack', sans-serif; font-size: 20px; color: var(--black);
}
.menu-item__allergens { display: flex; gap: 0.25rem; margin: 0.25rem 0; }
.allergen { width: 22px; height: 22px; }
.menu-item__meta { font-size: 14px; font-style: italic; }
.menu-item__meta em { font-style: italic; }
.menu-item__desc { font-size: 14px; font-weight: 400; margin-top: 0.75rem; }

/* In the flow, right-aligned below the last group: it can never cover a dish, however
   many groups are open. `display: block` plus `margin-bottom: 0` sits it flush on the
   section edge, and the bottom transform-origin makes it sway on its feet rather than
   about its middle. */
.menu__dancer {
  display: block;
  width: clamp(120px, 16vw, 240px);
  margin: 3rem 0 0 auto;
  pointer-events: none;
  transform-origin: bottom center;
}

/* A slow idle sway, only when motion is welcome — .js-anim is set inline and never
   appears under prefers-reduced-motion. Pure CSS so nothing fights GSAP for the
   transform. */
.js-anim .menu__dancer { animation: dancerSway 3.6s ease-in-out infinite; }

@keyframes dancerSway {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50%      { transform: translateY(-9px) rotate(1.5deg); }
}
/* Absolute, but only beside the heading, where there is nothing to collide with. */
.menu__disco {
  position: absolute; top: 0; right: 8%; z-index: 1;
  width: clamp(70px, 9vw, 130px); pointer-events: none;
}

/* ---------------------------------------------------------------- carousel */

.carousel { position: relative; height: 100%; overflow: hidden; }
.carousel__track {
  display: flex; height: 100%; margin: 0; padding: 0; list-style: none;
  overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__slide { flex: 0 0 100%; scroll-snap-align: center; height: 100%; }
.carousel__img { width: 100%; height: 100%; min-height: 45vh; object-fit: cover; }


/* ---------------------------------------------------------------- locations */

.locations {
  display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: 1fr;
  gap: 0; min-height: 90vh;
}

/* Layered: photograph, dark multiply overlay, white details centred on top. Hovering
   deepens the overlay and grows the type. Measured from the live theme. */
.location {
  position: relative; width: 100%; height: 100%; min-height: 45vh; overflow: hidden;
  transition: all 0.5s ease-in-out;
}
.location__image,
.location__overlay,
.location__details { position: absolute; inset: 0; width: 100%; height: 100%; }

.location__image {
  top: -6%; bottom: -6%; height: auto; /* headroom for the ±5% scroll drift */
  background-position: 50%; background-repeat: no-repeat; background-size: cover;
  z-index: 1; transition: transform 0.6s ease-in-out;
}
.location__overlay {
  background: rgba(0, 0, 0, 0.4); mix-blend-mode: multiply; z-index: 2;
  transition: background 0.5s ease-in-out;
}
.location__details {
  z-index: 3; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 2rem; color: var(--white);
}

.location__name {
  font-size: max(1.9rem, min(6.3vw, 4.236rem));
  color: var(--white); margin-bottom: 0.5rem;
  transition: font-size 0.5s ease-in-out;
}
.location__address,
.location__phone {
  font-family: 'TTRunsMedium', sans-serif; font-size: 1.1rem;
  color: var(--white); margin: 0.15rem 0;
  transition: font-size 0.5s ease-in-out;
}
.location__address a,
.location__phone a { color: inherit; text-decoration: none; }
.location__address a:hover,
.location__phone a:hover { text-decoration: underline; }

.location:hover .location__overlay { background: rgba(0, 0, 0, 0.8); }
.location:hover .location__image { transform: scale(1.04); }
.location:hover .location__name { font-size: max(2.4rem, min(7vw, 5rem)); }
.location:hover .location__address,
.location:hover .location__phone { font-size: max(1.3rem, min(4vw, 2rem)); }

/* Announced but not open yet. */
.location--pending { opacity: 0.5; pointer-events: none; }

/* ---------------------------------------------------------------- footer */

.footer {
  background: var(--yellow); color: var(--black);
  padding: 60px 0; font-size: 16px; width: 100%;
  -webkit-font-smoothing: antialiased;
}
.footer__inner {
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
  padding: 0 5rem;
}
.footer__legal, .footer__follow { margin: 0; }
.footer__legal { display: inline-flex; align-items: center; gap: 0.5rem; }
.footer__credit { display: inline-flex; color: inherit; transition: opacity 0.2s ease; }
.footer__credit:hover { opacity: 0.7; }
.footer__credit-logo { height: 18px; width: auto; }
.footer__socials { display: flex; gap: 1rem; }
.footer__social img { width: 28px; height: 28px; }

/* ---------------------------------------------------------------- scroll top */

.scroll-top {
  position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 900;
  width: 3rem; height: 3rem; border: 3px solid var(--black);
  background: var(--yellow); color: var(--black);
  display: grid; place-items: center; padding: 0;
  cursor: pointer; opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.scroll-top.is-visible { opacity: 1; pointer-events: auto; }

/* ---------------------------------------------------------------- responsive */

@media (max-width: 1024px) {
  .menu-group__panel { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  /* The live theme renders the two text buttons on desktop only; the hamburger carries
     the same destinations on small screens. */
  .header__howto, #the_menu_btn { display: none; }
  .hamburger { display: block; }

  .split, .locations {
    grid-template-columns: 1fr; grid-template-rows: repeat(2, 1fr);
  }
  .split--reverse .split__media { order: 0; }
  .split__content { padding: 3rem 1rem; }

  .menu-group__trigger { font-size: 18px; }
  .menu { padding: 2rem 1rem 30vh; }
  .menu-item { flex-direction: row; }
  .menu-item__media { flex: 0 0 130px; max-width: 130px; }
  .menu-item__media img { width: 130px; height: 87px; }
}

@media (max-width: 520px) {
  .hero__title { font-size: 3rem; padding: 0.75rem 1rem; }
  .hero__sub { font-size: 1rem; padding: 0.75rem 1rem; }
  .footer__inner { padding: 0 1.5rem; }
}
