/* Hallmark · v2.0.0 · redesign: full · theme: carnival (diner-sign, by palette request: "more professional, less common") · deal: manual · genre: editorial · signature: the GRAB burger flying apart, real footage, on the first screen */
/* critique: the old system was stock fast-food (pure red #e8101b + black + yellow, tracked-capital eyebrows, pills, soft red glows); the new one is a printed diner register: cream paper, espresso ink, one cherry and one navy, hard 4px ink shadows, 2px rules, condensed capitals for heads only. */
/* Hallmark · dropped #combo, #story · the owner asked for both sections to go */
/* Hallmark · kept as found: every link, Order (Jaldimai) / Call / WhatsApp, the Google Sheet wiring, prices, the burger film, the waffle switcher, the ad */
/* Hallmark · waive 47b · the films and the waffle switcher stay dark/colour-led: their footage is the material */

/* ---------- tokens: every colour and face below goes through these ---------- */
:root {
  --color-paper: #f6efdd;
  --color-paper-2: #ebe2cc;
  --color-paper-3: #ddd1b6;
  --color-ink: #1d1310;
  --color-ink-2: #33241f;
  --color-muted: #5c4a42;
  --color-accent: #c9372c;          /* cherry: primary fills */
  --color-accent-hover: #b02e25;
  --color-accent-2: #16305f;        /* navy: rules, links, the second field */
  --color-on-dark: #f6efdd;
  --color-on-dark-dim: rgba(246, 239, 221, .74);
  --color-highlight: #f0d9a6;       /* soft cream-gold on dark footage, never a fill */
  --color-focus: #c9372c;
  --shadow-hard: 4px 4px 0 var(--color-ink);
  --shadow-hard-press: 1px 1px 0 var(--color-ink);
  --rule-bar: 2px;
  --radius-card: 2px;

  /* the old names now point at the new system, so every older rule follows */
  --red: var(--color-accent);
  --red-bright: #d84a3a;
  --maroon: #8c2620;
  --maroon-deep: #3a120e;
  --ink: var(--color-ink);
  --ink-2: #241915;
  --ink-3: #2f211c;
  --paper: var(--color-paper);
  --cream: var(--color-paper-2);
  --yellow: var(--color-highlight);
  --text: var(--color-on-dark);
  --text-dim: var(--color-on-dark-dim);
  --line: rgba(246, 239, 221, .14);
  --ink-line: rgba(29, 19, 16, .16);
  --radius: var(--radius-card);

  --font-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --font-body: "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;
}

html, body { overflow-x: clip; }
body { background: var(--color-ink); color: var(--color-on-dark); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; border-radius: var(--radius-card); transition: none; }

/* heads: condensed capitals, one weight */
h1, h2, h3, .section-title, .film-cap h3, .flv-title, .ad-cap, .ad-end-title, .home-title-word, .loc-body h3, .local-card h3, .faq-title, .sc-name {
  font-family: var(--font-display); font-weight: 800; letter-spacing: .015em; overflow-wrap: break-word; min-width: 0;
}

/* ---------- labels (Floor 9): body face, a step smaller, sentence case, untracked ---------- */
.eyebrow, .hero-kicker, .film-eyebrow, .film-cap .k, .flv-eyebrow, .ad-top, .sc-count, .local-more, .loc-tag,
.footer-col h4, .home-cue, .film-prog button small, .main-nav, .main-nav a, .cat-nav button, .act-btn, .flv-chip,
.ad-sound, .ad-play, .flv-360, .open-badge, .offer-pill b, .film-eyebrow b, .flv-count b, .preloader-meta {
  font-family: var(--font-body); text-transform: none; letter-spacing: 0;
}
.eyebrow::before { content: none; }
.hero-kicker, .film-cap .k, .flv-eyebrow, .film-eyebrow { font-size: .95rem; font-weight: 600; }
.film-eyebrow b, .flv-count b { font-size: inherit; }
.main-nav a, .cat-nav button { font-size: .95rem; font-weight: 600; }
.film-prog button small { font-size: .8rem; font-weight: 600; }
.home-cue { font-size: .85rem; font-weight: 500; }

/* ---------- controls: the Carnival pair, hard shadow, no lift ---------- */
.btn {
  --btn-edge: var(--color-ink);
  border-radius: var(--radius-card); border: var(--rule-bar) solid var(--btn-edge); box-shadow: 4px 4px 0 var(--btn-edge);
  font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: .02em; text-transform: uppercase;
  transition: background-color .15s, color .15s, box-shadow .12s, transform .12s;
}
.btn:hover { transform: none; }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--btn-edge); }
.btn .icon { display: none; }                           /* Floor 10: no arrows glued to labels */
.btn-primary { background: var(--color-accent); color: var(--color-paper); box-shadow: 4px 4px 0 var(--btn-edge); }
.btn-primary::after { content: none; }
.btn-primary:hover { background: var(--color-accent-hover); }
.btn-ghost { background: transparent; color: currentColor; border-color: var(--btn-edge); }
.btn-ghost:hover { background: rgba(246, 239, 221, .1); border-color: var(--btn-edge); }
.btn-light { background: var(--color-paper); color: var(--color-ink); }
.btn-light:hover { background: var(--color-paper-2); }
.btn-lg { height: 56px; padding: 0 1.6em; }
/* on dark footage the edge is black, so the shadow still reads */
.film, .flv, .ad, .site-header, .mobile-menu, .act-bar { --btn-edge-dark: #000; }
.film .btn, .flv .btn, .ad .btn, .site-header .btn, .mobile-menu .btn { --btn-edge: #000; }
.film .btn-ghost, .flv .btn-ghost, .ad .btn-ghost { border-color: var(--color-on-dark); color: var(--color-on-dark); }
.header-order { height: 44px; font-size: 1rem; }

/* ---------- chrome ---------- */
.site-header.is-scrolled { background: rgba(29, 19, 16, .96); border-color: rgba(246, 239, 221, .1); }
.cat-nav { border-radius: var(--radius-card); background: var(--color-ink); border: var(--rule-bar) solid #000; box-shadow: 4px 4px 0 #000; }
.cat-nav button { border-radius: var(--radius-card); }
.cat-nav-indicator { border-radius: var(--radius-card); background: var(--color-accent); box-shadow: none; }
.act-bar { border-radius: var(--radius-card); background: var(--color-ink); border: var(--rule-bar) solid #000; box-shadow: 4px 4px 0 #000; }
.act-btn { border-radius: var(--radius-card); font-size: .9rem; font-weight: 600; }
.act-btn--order { background: var(--color-accent); box-shadow: none; }
.flv-chip, .flv-arrow, .ad-play, .ad-sound, .flv-360, .open-badge { border-radius: var(--radius-card); }
.flv-chip.is-on { background: var(--color-paper); color: var(--color-ink); }
.flv-chip { font-size: .85rem; font-weight: 600; }

/* ---------- the first screen (the burger film): one head, one line, the actions ---------- */
.home-title-word { color: var(--color-accent); text-shadow: 4px 4px 0 #000; font-size: clamp(5.5rem, 10.5vw, 11.5rem); }
.film-home .hero-kicker { color: var(--color-highlight); font-size: 1.05rem; }
.film-cap h3 { font-size: clamp(3rem, 5.4vw, 6rem); line-height: .92; }
.film-cap .k { color: var(--color-highlight); }

/* ---------- the waffle switcher ---------- */
.flv-title { font-size: clamp(3.6rem, 6.6vw, 7rem); }
.flv-title em { color: var(--color-highlight); }
.flv-price { color: var(--color-highlight); font-family: var(--font-display); font-size: 2rem; letter-spacing: .02em; }
.flv-word { font-family: var(--font-display); }

/* ---------- the ad ---------- */
.ad-cap em, .ad-end-title em { color: var(--color-accent); }
.ad-end-sub { color: var(--color-highlight); }
.ad-bar i { background: var(--color-accent); }

/* ---------- paper sections: intro, menu, Damak, visit ---------- */
.intro, .showcase, .locations { background: var(--color-paper); color: var(--color-ink); }
.local { background: var(--color-paper-2); color: var(--color-ink); }
.intro, .showcase, .local, .locations { border-top: var(--rule-bar) solid var(--color-accent-2); }
.intro { padding: clamp(90px, 14vh, 150px) 0 clamp(70px, 10vh, 110px); }
.intro-text { color: var(--color-ink); font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: .01em; line-height: .98; font-size: clamp(2.6rem, 5.2vw, 5.4rem); max-width: 18ch; }
.intro-text .hl { color: var(--color-accent); }
.section-title { color: var(--color-ink); text-transform: uppercase; line-height: .95; }
.showcase .section-title, .local .section-title, .locations .section-title { font-size: clamp(3rem, 6vw, 6rem); }

/* menu cards: prints pinned to the wall */
.sc-card { border-radius: var(--radius-card); border: var(--rule-bar) solid var(--color-ink); box-shadow: var(--shadow-hard); transition: box-shadow .12s, transform .12s; }
.sc-card:hover { box-shadow: 7px 7px 0 var(--color-ink); transform: translate(-2px, -2px); }
.sc-card:active { box-shadow: var(--shadow-hard-press); transform: translate(3px, 3px); }
.sc-count { color: var(--color-highlight); font-size: .85rem; font-weight: 600; }
.sc-meta .icon { border-radius: var(--radius-card); background: var(--color-accent); }
.showcase .btn-ghost, .local .btn-ghost, .locations .btn-ghost { color: var(--color-ink); border-color: var(--color-ink); }
.showcase .btn-ghost:hover, .local .btn-ghost:hover, .locations .btn-ghost:hover { background: var(--color-paper-2); }

/* Damak cards + FAQ: ruled rows */
.local-lead { color: var(--color-muted); font-size: 1.1rem; }
.local-card { border-radius: var(--radius-card); border: var(--rule-bar) solid var(--color-ink); background: var(--color-paper); box-shadow: var(--shadow-hard); transition: box-shadow .12s, transform .12s; }
.local-card:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--color-ink); border-color: var(--color-ink); }
.local-card h3 { font-size: 2rem; color: var(--color-ink); }
.local-card p { color: var(--color-muted); }
.local-more { color: var(--color-accent-2); font-size: .95rem; font-weight: 600; text-decoration: underline; text-decoration-color: var(--color-accent); text-underline-offset: 3px; }
.faq details { border-bottom: var(--rule-bar) solid var(--color-accent-2); }
.faq summary { font-size: 1.08rem; }
.faq summary::after { color: var(--color-accent); }
.faq details a { color: var(--color-accent-2); text-decoration-color: var(--color-accent); }

/* visit */
.loc-card { border-radius: var(--radius-card); border: var(--rule-bar) solid var(--color-ink); box-shadow: var(--shadow-hard); overflow: visible; }
.loc-tag { border-radius: var(--radius-card); background: var(--color-accent-2); color: var(--color-paper); font-size: .85rem; font-weight: 600; }
.loc-rows .icon { color: var(--color-accent); }
.locations a:not(.btn) { color: var(--color-accent-2); }

/* ---------- footer: the navy field under paper type ---------- */
.site-footer { background: var(--color-accent-2); color: var(--color-paper); border-top: var(--rule-bar) solid var(--color-ink); }
.site-footer .btn-light { background: var(--color-paper); color: var(--color-ink); --btn-edge: var(--color-ink); }
.footer-col h4 { opacity: .75; font-size: .9rem; font-weight: 600; }

/* ---------- motion: keep it still where the theme does ---------- */
@media (prefers-reduced-motion: reduce) {
  .btn, .sc-card, .local-card { transition: none; }
}

/* contact strip under the map: three prints, one per job */
.contact-card { border-radius: var(--radius-card); border: var(--rule-bar) solid var(--color-ink); box-shadow: var(--shadow-hard); background: var(--color-paper); color: var(--color-ink); transition: box-shadow .12s, transform .12s; }
.contact-card:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--color-ink); }
.contact-icon { border-radius: var(--radius-card); background: var(--color-paper-2); color: var(--color-accent); }
.contact-label { font-size: .85rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--color-muted); }
.contact-card--social { background: var(--color-ink); color: var(--color-paper); border-radius: var(--radius-card); }
.contact-card--social .contact-label { color: var(--color-on-dark-dim); }
.contact-card--order { background: var(--color-accent); color: var(--color-paper); }
.contact-card--order .contact-icon { background: rgba(246, 239, 221, .16); color: var(--color-paper); }
.contact-card--order .contact-label { color: rgba(246, 239, 221, .85); }
.loc-chip, .loc-tags span, .loc-body .tag { border-radius: var(--radius-card); }
a.contact-card:hover { translate: none; }
.follow { font-size: .8rem; font-weight: 600; letter-spacing: 0; }
.follow-title { font-family: var(--font-display); }
.act-btn--order .icon { display: none; }
/* the "Drag to turn it" tag stays hidden (owner asked); dragging still works */
.flv-360 { display: none !important; }

/* phones: no CSS masks on playing video (costly to repaint every frame); a painted fade on top instead */
@media (max-width: 899px) {
  .film-screen, .film--home .film-screen { -webkit-mask-image: none; mask-image: none; }
  .film-screen::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(180deg, #120606 0, rgba(18, 6, 6, 0) 10%, rgba(18, 6, 6, 0) 64%, #120606 100%); }
  .ad-frame { -webkit-mask-image: none; mask-image: none; }
  .ad-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(180deg, #0e0808 0, rgba(14, 8, 8, 0) 8%, rgba(14, 8, 8, 0) 70%, #0e0808 100%); }
  .hero-particles { display: none; }
}

/* ================= the first screen, Carnival: the footage is a print pinned to cream paper =================
   Hallmark · the home film leaves 47b: no melting edges, no colour-matching. The video sits whole inside a 2px ink
   rule on the hard shadow, the type sits beside it on paper and never on the picture. */
.film--home { --film-bg: var(--color-paper); --btn-edge: var(--color-ink); background: var(--color-paper); color: var(--color-ink); }
.film--home .film-stage { background: var(--color-paper); }
.film--home .hero-particles, .film--home .film-shade, .film--home .film-bug, .film--home .film-stamp { display: none; }
.film--home .film-screen {
  -webkit-mask-image: none; mask-image: none;
  border: var(--rule-bar) solid var(--color-ink); border-radius: var(--radius-card);
  box-shadow: 6px 6px 0 var(--color-ink); background: var(--color-ink); overflow: hidden;
}
.film--home .film-screen::after { content: none; }
/* the flying-layers clip is framed a little wider than the Ready clip: match the burger size */
.film--home .film-clip:nth-of-type(2) video { transform: translateY(-3%) scale(1.12); transform-origin: 50% 50%; }

/* type on paper: ink heads, one cherry */
.film--home .home-title-word { color: var(--color-accent); text-shadow: 5px 5px 0 var(--color-ink); line-height: .82; }
.film--home .hero-headline { margin: 1.1rem 0 1.7rem; max-width: 30ch; font-size: clamp(1.1rem, 1.35vw, 1.3rem); font-weight: 500; line-height: 1.4; color: var(--color-ink); opacity: 1; }
.film--home .btn-ghost { color: var(--color-ink); border-color: var(--color-ink); }
.film--home .btn-ghost:hover { background: var(--color-paper-2); }
.film--home .open-badge { margin: 22px 0 0; padding: 0; background: none; border: 0; color: var(--color-muted); font-size: .95rem; font-weight: 500; }
.film--home .open-badge i { width: 8px; height: 8px; box-shadow: none; }
.film--home .film-eyebrow { color: var(--color-ink); }
.film--home .film-eyebrow b, .film--home .film-cap .k { color: var(--color-accent); }
.film--home .film-cap h3 { color: var(--color-ink); }
.film--home .film-cap p { color: var(--color-ink-2); opacity: 1; }
.film--home .film-mini { filter: none; }
.film--home .film-prog button { background-image: linear-gradient(var(--color-paper-3), var(--color-paper-3)); }
.film--home .film-prog button i { background: var(--color-ink); border-radius: 0; }
.film--home .film-prog button small { color: var(--color-ink); opacity: 1; }
.film--home .offer-bar { color: var(--color-ink); }

.film--home .film-cap .acts .btn { padding: 0 1.1em; }

/* the header is a solid ink bar over the paper from the first pixel */
.site-header { background: var(--color-ink); border-color: var(--color-ink); }
.site-header .brand img { filter: none; }

@media (min-width: 900px) {
  .film--home .film-stage { grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); }
  .film--home .film-screen {
    right: var(--gutter); top: calc((100svh + var(--header-h) - 56px) / 2);
    width: min(57%, (100svh - var(--header-h) - 190px) * 16 / 9);
  }
}
@media (max-width: 899px) {
  .film--home .film-stage { padding-top: calc(var(--header-h) + 16px); gap: 22px; }
  .film--home .film-screen {
    justify-self: stretch; width: auto; height: auto; aspect-ratio: 4 / 3; max-height: 44svh;
    margin: 0 20px; box-shadow: var(--shadow-hard);
  }
  .film--home .film-copy { margin-top: 0; }
  /* the words always sit in front of the picture. iPhone Safari paints a playing video above its neighbours
     unless they get their own layer too, so the copy is lifted onto one; the print stays below it. */
  .film--home .film-screen { z-index: 1; }
  .film--home .film-copy { z-index: 5; -webkit-transform: translateZ(0); transform: translateZ(0); }
  /* the chapter line can touch the print's black edge and shadow: a thin paper-white outline round the letters
     keeps them clear of it */
  .film--home .film-eyebrow {
    text-shadow: 2px 0 0 var(--color-paper), -2px 0 0 var(--color-paper), 0 2px 0 var(--color-paper), 0 -2px 0 var(--color-paper),
      1.5px 1.5px 0 var(--color-paper), -1.5px 1.5px 0 var(--color-paper), 1.5px -1.5px 0 var(--color-paper), -1.5px -1.5px 0 var(--color-paper),
      0 0 4px var(--color-paper);
  }
  .film--home .hero-headline { margin: .6rem auto 1.2rem; font-size: 1.02rem; }
  .film--home .open-badge { margin-top: 14px; justify-content: center; }
  /* keep the bottom bun inside the smaller print */
  .film--home .film-clip:nth-of-type(2) video { transform: translateY(-8%) scale(1.06); }
  /* "part 02 of 2" already tells the progress; the bar crossed the buttons */
  .film--home .film-prog { display: none; }
}

/* ================= the GRAB mark: the owner's badge as a clean vector, in its own red and white =================
   Hallmark · brand colours are the owner's and never change (#fe0000 + white). Only the sticker treatment went:
   no white outline, no drop shadow, no glow, no spin. assets/images/brand/grab-mark.svg */
.mark { display: block; width: auto; height: 1em; aspect-ratio: 347 / 324; flex: none; }
.brand-tile { display: inline-grid; place-items: center; flex: none; }
.brand-tile .mark { height: 42px; }
.brand-tile--lg .mark { height: 68px; }
.brand-tile--xl .mark { height: clamp(78px, 7.5vw, 106px); }

/* header lockup: badge, name, place */
.brand { gap: 12px; }
.brand-name { display: grid; gap: 3px; font-family: var(--font-display); font-weight: 800; font-size: 1.75rem; line-height: .85; letter-spacing: .02em; color: var(--color-paper); }
.brand-name small { white-space: nowrap; font-family: var(--font-body); font-size: .74rem; font-weight: 500; letter-spacing: 0; line-height: 1; color: var(--color-on-dark-dim); }
@media (max-width: 899px) {
  .site-header .brand-tile .mark { height: 36px; }
  .brand-name { font-size: 1.5rem; }
}
@media (max-width: 380px) { .site-header .brand-name small { display: none; } }

.preloader-logo { height: clamp(84px, 14vh, 128px); filter: none; }
.film-mini { height: 22px; width: auto; filter: none; }
.ad-top .mark { height: 22px; }

/* the ad's end card: the badge simply appears, no slap or spin */
.ad-end-logo { transform: translateY(10px); filter: none; transition: transform .6s var(--ease-out) .15s, opacity .4s .15s; }
.ad.is-end .ad-end-logo { transform: none; }

/* footer: the lockup, and the badge leading the giant word */
.brand--footer { display: inline-flex; align-items: center; gap: 16px; }
.brand--footer .brand-name { font-size: 2.6rem; }
.brand--footer .brand-name small { font-size: .9rem; }
.footer-badge .mark { height: .7em; }
