/* Esfiharia Super Líbano demo (place page).
   Cream ground, cedar-green ink, pomegranate red for the one action colour, one green brand band (orders).
   Big Shoulders Display (condensed, street-counter signage) for headings; Instrument Sans for text.
   The one type moment: the street set large under "Onde fica o balcão". Square photographs, flat grounds. */
:root {
  --cream: #f6efe2;     /* page ground */
  --alt: #ede2cd;       /* menu band */
  --paper: #fbf7ef;     /* fields */
  --ink: #1f3b2d;       /* cedar green: text, nav button, brand band */
  --ink-2: #4f5f52;     /* secondary text on cream: 6.3:1 */
  --red: #b3372f;       /* pomegranate: main action, star centre */
  --red-2: #962c25;
  --line: rgba(31,59,45,.18);
  --on-ink: #f6efe2;
  --on-ink-2: #c9d3c4;
  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --sans: "Instrument Sans", system-ui, sans-serif;
  --wrap: 1200px; --gut: 24px; --nav: 72px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav) + 8px); }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
p { margin: 0; }
.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 60; background: var(--paper); padding: 10px 14px; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.section--brand :focus-visible { outline-color: var(--on-ink); }

h1, h2, h3 { margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: -.005em; }
h1 { font-size: clamp(52px, 6.4vw, 96px); line-height: .92; }
h2 { font-size: clamp(42px, 4.8vw, 72px); line-height: .95; }
h3 { font: 600 15px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.lead { font-size: 18px; line-height: 1.6; color: var(--ink-2); max-width: 46ch; }
.kicker { font: 600 15px/1 var(--sans); color: var(--red); margin-bottom: 24px; display: flex; align-items: center; gap: 12px; }
.kicker::before { content: ""; width: 10px; height: 10px; background: currentColor; transform: rotate(45deg); }

/* buttons: square blocks, like a counter sign */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px;
  font: 600 16px/1 var(--sans); text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 3px 0 rgba(31,59,45,.25); }
.btn:active { transform: translateY(1px); box-shadow: none; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-2); }
.btn--ink { background: var(--ink); color: var(--on-ink); }
.btn--line { border-color: var(--ink); background: transparent; }
.btn--line:hover { background: rgba(31,59,45,.06); }
.btn--paper { background: var(--cream); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.textlink { font-weight: 600; text-decoration: none; padding: 10px 0 4px; display: inline-block;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat; transition: background-size .25s ease; }
.textlink:hover { background-size: 40% 2px; }

/* photographs: square corners, zoom inside the frame when they link somewhere */
.frame { display: block; overflow: hidden; background: var(--alt); }
.frame img { height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
a.frame:hover img { transform: scale(1.03); }

/* logo: an eight-point star (the classic Arab tile star) beside a stacked wordmark */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo__mark { width: 34px; height: 34px; color: var(--ink); flex: none; }
.logo__text { display: grid; line-height: 1; }
.logo__text small { font: 600 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--red); }
.logo__text span { font: 800 26px/1 var(--display); text-transform: uppercase; margin-top: 2px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 30; height: var(--nav); background: var(--cream); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.nav.is-scrolled { border-color: var(--line); }
.nav__bar { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__links { display: flex; gap: 32px; margin-left: auto; }
.nav__links a { font-size: 16px; font-weight: 500; text-decoration: none; padding: 12px 0;
  background: linear-gradient(currentColor, currentColor) 0 80% / 0 2px no-repeat; transition: background-size .2s ease; }
.nav__links a:hover { background-size: 100% 2px; }
.nav__end { display: flex; align-items: center; gap: 8px; }
.nav__cta { min-height: 44px; padding: 0 20px; font-size: 15px; }
.nav__menu { display: none; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; align-items: center; justify-content: center; }
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__menu { display: inline-flex; }
  .nav__cta { display: none; }
  .nav.is-open .nav__links { display: flex; flex-direction: column; gap: 0; position: fixed; inset: var(--nav) 0 0 0; background: var(--cream); padding: 24px var(--gut); }
  .nav.is-open .nav__links a { font: 800 40px/1.2 var(--display); text-transform: uppercase; padding: 10px 0; }
}

/* sections: one or two screens each */
.section { padding: 112px 0; min-height: calc(100svh - var(--nav)); display: flex; align-items: center; }
.section > .wrap { width: min(100% - 2 * var(--gut), var(--wrap)); }
.section--alt { background: var(--alt); }
.section--brand { background: var(--ink); color: var(--on-ink); }
.section--brand .lead { color: var(--on-ink-2); }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: end; margin-bottom: 56px; }
.sec-head .lead { justify-self: end; }

/* hero: text left, one tall photograph right */
.hero { min-height: calc(100svh - var(--nav)); display: flex; align-items: center; padding: 48px 0; }
.hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hero__lead { font-size: 19px; color: var(--ink-2); max-width: 44ch; margin: 28px 0 36px; }
.hero__fact { margin-top: 28px; font-size: 16px; color: var(--ink-2); }
.hero__fact strong { color: var(--ink); font-size: 18px; }
.hero__media { aspect-ratio: 4 / 5; height: min(735px, calc(100svh - var(--nav) - 112px)); width: auto; max-width: 100%; justify-self: end; overflow: hidden; }
.hero__media img { height: 100%; object-fit: cover; }
[data-enter] .hero__text > *, [data-enter] .hero__media { animation: enter .7s cubic-bezier(.2,.7,.2,1) both; }
[data-enter] .hero__text > :nth-child(2) { animation-delay: .06s; }
[data-enter] .hero__text > :nth-child(3) { animation-delay: .12s; }
[data-enter] .hero__text > :nth-child(n+4) { animation-delay: .18s; }
[data-enter] .hero__media { animation-delay: .1s; }
@keyframes enter { from { opacity: 0; transform: translateY(14px); } }

/* visit: the street large (type moment), info, square photo */
.visit { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.type-moment { font: 800 clamp(48px, 6vw, 88px)/.92 var(--display); text-transform: uppercase; margin: 24px 0 28px; }
.orders__text .lead { margin-top: 24px; }
.type-moment a { text-decoration: none; background: linear-gradient(var(--red), var(--red)) 0 100% / 0 4px no-repeat; transition: background-size .3s ease; }
.type-moment a:hover { background-size: 100% 4px; }
.visit__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.visit__cols h3 { margin-bottom: 10px; color: var(--red); }
.visit__cols li { font-size: 16px; line-height: 1.6; }
.visit__cols a { text-decoration: none; font-weight: 600; }
.visit__photo { aspect-ratio: 1; }

/* menu: three columns of dotted price rows, then a strip of four details */
.menu { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.menu__group h3 { color: var(--red); padding-bottom: 12px; border-bottom: 2px solid var(--ink); margin-bottom: 8px; }
.dish { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 0 8px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.dish__name { font-weight: 600; font-size: 17px; }
.dish__dots { border-bottom: 2px dotted var(--line); transform: translateY(-4px); }
.dish__price { font: 800 24px/1 var(--display); }
.dish__sub { grid-column: 1 / -1; font-size: 16px; color: var(--ink-2); }
.tag { font: 600 12px/1 var(--sans); letter-spacing: .04em; text-transform: uppercase; color: var(--ink); border: 1px solid var(--ink); padding: 3px 6px; margin-left: 6px; vertical-align: 2px; }
.menu__note { margin-top: 20px; font-size: 15px; color: var(--ink-2); }
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.strip .frame { aspect-ratio: 1; }

/* the house: offset trio (4:5, 1:1, 4:3 tops level), then rating + quotes */
.trio { display: grid; grid-template-columns: 5fr 4fr 3fr; gap: 24px; align-items: start; }
.trio__1 { aspect-ratio: 4 / 5; } .trio__2 { aspect-ratio: 1; } .trio__3 { aspect-ratio: 4 / 3; }
.reviews { display: grid; grid-template-columns: 3fr 5fr 4fr; gap: 24px; margin-top: 56px; padding-top: 32px; border-top: 2px solid var(--ink); align-items: start; }
.score { font: 800 96px/.85 var(--display); }
.reviews__score p + p { font-size: 16px; color: var(--ink-2); margin-top: 8px; }
.review { margin: 0; }
.review p { font-size: 17px; line-height: 1.55; }
.review--big p { font-size: 22px; line-height: 1.45; }
.review footer { margin-top: 12px; font-size: 15px; color: var(--ink-2); }

/* orders: the green band, text + photo left, form right */
.orders { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.orders__photo { margin-top: 36px; aspect-ratio: 4 / 3; }
.order-form { display: grid; gap: 20px; background: rgba(246,239,226,.06); border: 1px solid rgba(246,239,226,.2); padding: 32px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 15px; font-weight: 600; }
.field input, .field select { min-height: 52px; padding: 0 14px; font: 400 17px var(--sans); color: var(--ink); background: var(--paper); border: 2px solid transparent; border-radius: 0; }
.field input:focus, .field select:focus { outline: none; border-color: var(--red); }
.field [aria-invalid="true"] { border-color: #f08a7e; }
.field__error { font-size: 15px; color: #ffb3a8; }
.order-form__actions { display: grid; gap: 14px; margin-top: 4px; }
.order-form__actions .btn { width: 100%; }
.order-form__note { font-size: 15px; color: var(--on-ink-2); }
.order-form__note a { color: var(--on-ink); font-weight: 600; }

/* footer */
.footer { padding: 72px 0 112px; border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; }
.footer__brand p { margin-top: 16px; color: var(--ink-2); max-width: 34ch; font-size: 16px; }
.footer h3 { margin-bottom: 12px; color: var(--red); }
.footer li { font-size: 16px; }
.footer li a { display: inline-block; padding: 12px 0; text-decoration: none; }
.footer li a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 48px; font-size: 14px; color: var(--ink-2); }

/* phone bar (phones only) */
.bar { display: none; }
@media (max-width: 860px) {
  .bar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom)); background: var(--cream); border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform .25s ease; }
  .bar.is-on { transform: none; }
}

/* ?demo: outline unconfirmed content */
.show-assumed [data-assumed] { outline: 2px dashed #e0a100; outline-offset: 3px; }
img[data-placeholder] { background: var(--alt); }

@media (max-width: 1024px) {
  .menu { grid-template-columns: 1fr 1fr; }
  .reviews { grid-template-columns: 1fr 1fr; }
  .reviews .review--big { grid-column: 1 / -1; grid-row: 1; }
}
@media (max-width: 860px) {
  .section { padding: 72px 0; min-height: 0; }
  .hero { min-height: 0; padding: 24px 0 56px; }
  .hero__grid, .visit, .orders, .sec-head { grid-template-columns: 1fr; gap: 32px; }
  .sec-head { margin-bottom: 36px; }
  .sec-head .lead { justify-self: start; }
  .hero__media { height: auto; width: 100%; justify-self: stretch; }
  .menu { grid-template-columns: 1fr; gap: 36px; }
  .strip { grid-template-columns: 1fr 1fr; gap: 12px; }
  .trio { grid-template-columns: 1fr 1fr; gap: 12px; }
  .trio__1 { grid-column: 1 / -1; }
  .reviews { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .btn-row .btn { flex: 1 1 100%; }
  .order-form { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* films: the photo stays underneath; the video fades in only once it is really playing */
.hero__media, .frame--clip { position: relative; }
.hero__video, .frame--clip video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s ease; }
.hero__video.is-on, .frame--clip video.is-on { opacity: 1; }
a.frame--clip:hover video { transform: scale(1.03); transition: opacity .4s ease, transform .5s cubic-bezier(.2,.7,.2,1); }
.film-toggle { position: absolute; left: 16px; bottom: 16px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; cursor: pointer;
  background: var(--cream); color: var(--ink); transition: transform .15s ease; }
.film-toggle:hover { transform: translateY(-2px); }
.film-toggle svg { width: 16px; height: 16px; }
.film-toggle .i-play, .film-toggle[aria-pressed="true"] .i-pause { display: none; }
.film-toggle[aria-pressed="true"] .i-play { display: block; }

/* "Hoje" board: what ran out today, updated by the owner */
.today { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: -24px 0 40px; padding: 14px 18px; background: var(--cream); border-left: 4px solid var(--red); font-size: 16px; }
.today__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.dish.is-out .dish__name, .dish.is-out .dish__sub { color: var(--ink-2); }
.dish.is-out .dish__label { text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: var(--red); }
.dish__out { font: 600 13px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--red); padding: 6px 8px; }

/* order ahead */
.ahead { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 40px; padding: 28px 32px; background: var(--ink); color: var(--on-ink); }
.ahead__title { font: 800 clamp(30px, 3vw, 42px)/1 var(--display); text-transform: uppercase; }
.ahead__line { margin-top: 8px; color: var(--on-ink-2); font-size: 16px; max-width: 52ch; }
.ahead .btn { flex: none; }
@media (max-width: 860px) {
  .today { margin: -12px 0 32px; }
  .ahead { flex-direction: column; align-items: stretch; padding: 24px 20px; }
  .ahead .btn { width: 100%; }
}

/* gallery: a bit of every item, 3 x 2 on desktop, 2 columns on phones; each card opens the larger view */
.gallery { margin-top: 56px; }
.gallery__title { color: var(--red); padding-bottom: 12px; border-bottom: 2px solid var(--ink); margin-bottom: 24px; }
.gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { display: grid; gap: 12px; width: 100%; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: zoom-in; transition: transform .2s ease; }
.card:hover { transform: translateY(-2px); }
.card .frame { aspect-ratio: 4 / 3; }
.card:hover .frame img { transform: scale(1.03); }
.card__row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.card__name { font-weight: 600; font-size: 17px; }
.card__price { font: 800 24px/1 var(--display); }
.card.is-out .frame img { filter: grayscale(.7); opacity: .75; }
.card.is-out .card__name { color: var(--ink-2); }

/* larger view */
.lightbox { width: min(1100px, 100% - 32px); max-height: calc(100svh - 32px); padding: 0; border: 0; background: var(--cream); color: var(--ink); overflow: visible; }
.lightbox::backdrop { background: rgba(20, 30, 24, .82); }
.lightbox__fig { margin: 0; display: grid; grid-template-columns: 3fr 1fr; }
.lightbox__fig img { aspect-ratio: 4 / 3; height: auto; max-height: calc(100svh - 32px); object-fit: cover; }
.lightbox__text { padding: 32px 28px; display: grid; align-content: end; gap: 10px; }
.lightbox__title { font: 800 40px/1 var(--display); text-transform: uppercase; }
.lightbox__sub { font-size: 16px; color: var(--ink-2); }
.lightbox__price { font: 800 32px/1 var(--display); color: var(--red); margin-top: 8px; }
.lightbox.is-out .lightbox__price { font: 600 14px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--red); padding: 8px 10px; justify-self: start; }
.lightbox__btn { position: absolute; width: 48px; height: 48px; display: grid; place-items: center; border: 0; background: var(--ink); color: var(--on-ink); cursor: pointer; transition: transform .15s ease; }
.lightbox__btn:hover { transform: translateY(-2px); }
.lightbox__btn svg { width: 18px; height: 18px; }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__prev { left: 12px; top: calc(50% - 24px); }
.lightbox__next { right: calc(25% + 12px); top: calc(50% - 24px); }
@media (max-width: 860px) {
  .gallery__grid { grid-template-columns: 1fr 1fr; gap: 16px 12px; }
  .card__name { font-size: 15px; }
  .card__row { flex-direction: column; gap: 4px; }
  .card__price { font-size: 22px; }
  .lightbox__fig { grid-template-columns: 1fr; }
  .lightbox__text { padding: 20px; }
  .lightbox__title { font-size: 32px; }
  .lightbox__prev { top: auto; bottom: 16px; left: auto; right: 72px; }
  .lightbox__next { top: auto; bottom: 16px; right: 16px; }
  .lightbox__fig img { max-height: 60svh; }
}

/* full-screen hero: the loop fills the first screen; cream text on a dark warm shade */
.hero--full { position: relative; min-height: calc(100svh - var(--nav)); padding: 0; display: flex; align-items: center; color: var(--on-ink); overflow: hidden; background: #1a140f; }
.hero__bg, .hero__bg picture, .hero__bg img, .hero--full .hero__video, .hero__shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__bg img, .hero--full .hero__video { object-fit: cover; object-position: 60% 50%; }
.hero__shade { background: linear-gradient(90deg, rgba(18,22,16,.92) 0%, rgba(18,22,16,.84) 34%, rgba(18,22,16,.5) 56%, rgba(18,22,16,.08) 78%, rgba(18,22,16,0) 88%); }
.hero--full .hero__inner { position: relative; z-index: 1; padding: 64px 0 88px; }
.hero--full .hero__text { max-width: min(600px, 52%); }
.hero--full .hero__lead { max-width: 40ch; }
.hero--full h1 { color: var(--on-ink); font-size: clamp(52px, 5.6vw, 84px); }
.hero--full .kicker { color: #f0b9a6; }
.hero--full .hero__lead { color: #e6ddcc; }
.hero--full .hero__fact { color: #d8cfbd; }
.hero--full .hero__fact strong { color: var(--on-ink); }
.btn--glass { border-color: var(--on-ink); color: var(--on-ink); background: rgba(18,22,16,.25); }
.btn--glass:hover { background: rgba(246,239,226,.12); }
.hero--full .film-toggle { z-index: 2; left: auto; right: max(var(--gut), calc((100% - var(--wrap)) / 2)); bottom: 24px; }
.hero--full [data-enter] .hero__text > *, .hero--full.hero[data-enter] .hero__text > * { animation: enter .7s cubic-bezier(.2,.7,.2,1) both; }
.hero--full .hero__bg img { animation: settle 1.6s cubic-bezier(.2,.7,.2,1) both; }
@keyframes settle { from { transform: scale(1.04); } }
@media (max-aspect-ratio: 4/5), (max-width: 640px) {
  .hero--full { align-items: flex-end; min-height: calc(100svh - var(--nav)); }
  .hero__bg img, .hero--full .hero__video { object-position: 50% 30%; }
  .hero__shade { background: linear-gradient(0deg, rgba(18,22,16,.95) 0%, rgba(18,22,16,.9) 45%, rgba(18,22,16,.55) 66%, rgba(18,22,16,.1) 84%, rgba(18,22,16,0) 92%); }
  .hero--full .hero__inner { padding: 40px 0 32px; }
  .hero--full .hero__text { max-width: none; }
  .hero--full h1 { font-size: clamp(40px, 10.5vw, 64px); }
  .hero--full .hero__lead { margin: 18px 0 24px; font-size: 17px; }
  .hero--full .film-toggle { top: 16px; bottom: auto; }
}
