/* Shared look for every page (body.site): brand tokens, the menu bar over a dark photo/video
   hero, the page hero, footer, phone "Order online" bar and scroll reveal.
   Load after the page's own <style> and nav.css. Behaviour lives in site.js.
   Homepage-only sections are in home.css. */
:root {
  --cream: #F1EEDF; --white: #FFFFFF; --forest: #1C3A2C; --sage: #93C4A3; --sage-deep: #5E9C76;
  --ink: #2B2A26; --muted: #6B675C; --live: #3ECF6E; --line: rgba(28,58,44,.12); --yolk: #F2B134; --night: #10231A;
  --ease: cubic-bezier(.23, 1, .32, 1); --radius: 18px;
}
/* older pages name the same colours differently — point them at the brand */
body.site { --red: #1C3A2C; --red2: #5E9C76; --gold: #93C4A3; --cream: #F1EEDF; --cream2: #E6E0CC; --dark: #2B2A26; }
.site *, .site *::before, .site *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.site { margin: 0; background: var(--cream); color: var(--ink); font-family: 'Lato', system-ui, sans-serif; }
.site :focus-visible { outline: 3px solid var(--sage-deep); outline-offset: 3px; }
.st-skip { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--forest); color: #fff !important; padding: .6rem 1rem; border-radius: 0 0 10px 0; }
.st-skip:focus { left: 0; }

/* ── menu bar: see-through over the hero, white once scrolled ── */
body.site > nav { position: sticky; top: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 64px; padding: 0 5vw; background: var(--white); max-width: none; margin: 0; box-shadow: 0 1px 0 var(--line); transition: background .3s var(--ease), box-shadow .3s var(--ease); }
.site .nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; position: relative; }
.site .nav-logo img { position: static; width: 48px; height: 48px; filter: none; animation: none; }
.site .nav-logo span { margin-left: 0; color: var(--forest); font: 700 1.1rem 'Playfair Display', serif; text-shadow: none; white-space: nowrap; animation: none; }
.site .nav-links { display: flex; gap: 1.7rem; list-style: none; margin: 0; padding: 0; }
.site .nav-links a { color: var(--forest); text-decoration: none; font-weight: 700; }
.site .nav-links a.nav-cta, .site .nav-cta { background: var(--yolk) !important; color: var(--ink) !important; padding: 9px 18px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; box-shadow: none; }
.site .nav-links a.nav-cta::after { display: none; }
.site .nav-cta-mobile { background: var(--yolk); color: var(--ink); box-shadow: 0 4px 14px rgba(242,177,52,.4); }
.site .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: 0; padding: 4px; }
@media (max-width: 1180px) { .site .hamburger { display: flex; align-items: center; justify-content: center; } }
.site .hamburger span { display: block; width: 26px; height: 3px; background: var(--forest); border-radius: 2px; }
body.site.has-hero > nav:not(.scrolled) { background: transparent; box-shadow: none; }
body.site.has-hero > nav:not(.scrolled) .nav-logo span { color: var(--white); text-shadow: 0 1px 8px rgba(0,0,0,.4); }
body.site.has-hero > nav:not(.scrolled) .hamburger span { background: var(--white); }
@media (min-width: 1181px) {
  body.site.has-hero > nav:not(.scrolled) .nav-links a:not(.nav-cta) { color: rgba(255,255,255,.9); text-shadow: 0 1px 8px rgba(0,0,0,.4); }
  body.site.has-hero > nav:not(.scrolled) .nav-links a:not(.nav-cta):hover { color: var(--white); }
  body.site.has-hero > nav:not(.scrolled) .nav-links a:not(.nav-cta)::after { background: var(--white); }
}
@media (max-width: 1180px) {
  .site .nav-links { padding: 18px 5vw 22px; }
  .site .nav-links a.nav-cta { justify-content: center; }
}
@media (max-width: 420px) {
  .site .nav-logo img { width: 40px; height: 40px; }
  .site .nav-logo span { margin-left: 0; font-size: 1rem; }
}

/* ── page hero: photo or video under a dark gradient ── */
.st-hero { position: relative; isolation: isolate; margin-top: -64px; overflow: hidden; background: var(--night); color: var(--white); text-align: left; padding: 0; }
.st-hero-media { position: absolute; inset: 0; z-index: -1; }
.st-hero-media > img, .st-hero-media > video { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.st-hero-still { animation: st-zoom 20s ease-in-out infinite alternate; }
.st-hero-media video { opacity: 0; transition: opacity 1.2s ease; }
.st-hero-media video.playing { opacity: 1; }
.st-hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(10,20,15,.6) 0%, rgba(10,20,15,.15) 26%, rgba(10,20,15,.45) 52%, rgba(10,20,15,.95) 100%); }
.st-hero-inner { width: min(1100px, 90vw); min-height: 100vh; min-height: 100svh; margin: 0 auto; padding: 84px 0 2.2rem; display: flex; flex-direction: column; align-items: flex-start; }
.st-hero--page .st-hero-inner { min-height: 72vh; min-height: 72svh; }
.st-hero--page .st-hero-media::after { background: linear-gradient(to bottom, rgba(10,20,15,.7) 0%, rgba(10,20,15,.45) 30%, rgba(10,20,15,.68) 55%, rgba(10,20,15,.96) 100%); }
.st-hero-logo { width: clamp(110px, 32vw, 170px); height: auto; margin: 0 auto auto; animation: st-drop .9s var(--ease) both, st-glow 4s ease-in-out 1s infinite alternate; }
.st-hero--page .st-hero-logo { width: clamp(84px, 22vw, 120px); }
/* short hero for task pages (order): keeps the menu close to the top */
.st-hero--slim .st-hero-inner { min-height: 0; padding: 84px 0 1.6rem; }
.st-hero--slim .st-hero-logo { width: 72px; margin: 0 auto .8rem; }
.site .st-hero--slim .st-title { font-size: clamp(2.3rem, 10vw, 3.8rem); }
.st-hero--slim .st-sub { margin-bottom: 0; }
.st-kicker { margin: 1.2rem 0 .2rem; color: var(--sage); font-size: .8rem; font-weight: 900; letter-spacing: 2.5px; text-transform: uppercase; animation: st-fade .6s .2s both; }
.st-status { display: inline-flex; align-items: center; gap: 8px; margin: 1.4rem 0 .9rem; padding: 6px 12px; border-radius: 999px; background: rgba(0,0,0,.42); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--white); font-size: .85rem; font-weight: 900; animation: st-fade .6s .3s both; }
.st-kicker + .st-status { margin-top: .6rem; }
.st-status[hidden] { display: none; }
.st-status i { width: 9px; height: 9px; border-radius: 50%; background: #9aa59f; flex: none; }
.st-status.open i { background: var(--live); animation: st-pulse 1.8s infinite; }
.site .st-title { margin: 0; color: var(--white); font-family: 'Playfair Display', Georgia, serif; font-size: clamp(2.7rem, 11.5vw, 5.4rem); font-weight: 900; line-height: 1; letter-spacing: -.5px; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.st-hero--page .st-title { font-size: clamp(2.2rem, 9vw, 4.2rem); }
.st-title > span { display: block; overflow: hidden; padding-bottom: .08em; }
.st-title em { display: block; font-style: normal; animation: st-rise .9s var(--ease) .15s both; }
.st-title > span + span em { color: var(--sage); animation-delay: .3s; }
.st-sub { max-width: 640px; margin: .6rem 0 1.3rem; color: rgba(255,255,255,.88); font-size: 1.05rem; line-height: 1.6; animation: st-fade .6s .55s both; }
.st-sub a { color: var(--white); font-weight: 700; }
.st-actions { display: flex; flex-wrap: wrap; gap: .7rem; align-self: stretch; animation: st-fade .5s .7s both; }
.st-btn { position: relative; overflow: hidden; display: flex; align-self: stretch; justify-content: center; align-items: center; gap: .5rem; min-height: 58px; padding: 0 1.8rem; border-radius: 16px; background: var(--yolk); color: var(--ink) !important; font-size: 1.12rem; font-weight: 900; text-decoration: none; box-shadow: 0 10px 30px rgba(242,177,52,.45); transition: transform .15s var(--ease), box-shadow .2s var(--ease); animation: st-pop .55s .7s cubic-bezier(.34,1.56,.64,1) both; }
.st-btn::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.6) 50%, transparent 65%); transform: translateX(-120%); animation: st-shine 4s 2s infinite; }
.st-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(242,177,52,.55); }
.st-btn:active { transform: scale(.98); }
.st-btn--glass { flex: 1 1 auto; min-height: 50px; font-size: 1rem; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); color: var(--white) !important; box-shadow: none; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.st-btn--glass::after { display: none; }
.st-btn--glass:hover { background: rgba(255,255,255,.24); box-shadow: none; }
.st-actions .st-btn { flex: 1 1 100%; }
.st-actions .st-btn--glass { flex: 1 1 auto; }
.st-chips { display: flex; flex-wrap: nowrap; gap: .5rem; list-style: none; margin: 1rem -5vw 0 0; padding: 0 5vw .2rem 0; overflow-x: auto; scrollbar-width: none; align-self: stretch; }
.st-chips::-webkit-scrollbar { display: none; }
.st-chips li { flex: none; animation: st-fade-up .45s var(--ease) both; }
.st-chips li:nth-child(1) { animation-delay: .85s; } .st-chips li:nth-child(2) { animation-delay: .92s; } .st-chips li:nth-child(3) { animation-delay: .99s; }
.st-chips li:nth-child(4) { animation-delay: 1.06s; } .st-chips li:nth-child(5) { animation-delay: 1.13s; } .st-chips li:nth-child(6) { animation-delay: 1.2s; }
.st-chips a, .st-chips span { display: inline-flex; align-items: center; gap: .3rem; min-height: 40px; padding: 0 .95rem; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--white); font-size: .9rem; font-weight: 900; text-decoration: none; transition: background .2s; }
.st-chips a:hover { background: rgba(255,255,255,.26); }
.st-chips strong { color: var(--sage); }
.st-note { margin: 1rem 0 0; color: rgba(255,255,255,.8); font-size: .9rem; animation: st-fade .6s 1s both; }
.st-note a { color: var(--white); font-weight: 700; }

/* ── older page content in the brand look ── */
/* menu-page basket (whatsapp-order.css): brand colours instead of WhatsApp green */
body.site { --wa: #1C3A2C; --wa-dark: #1C3A2C; }
.site .wo-add { box-shadow: 0 3px 10px rgba(28,58,44,.25); }
.site .wo-add:hover { background: #26503d; }
.site .wo-tray-cta, .site .wo-badge { background: var(--yolk); color: var(--ink); }
.site .wo-send { box-shadow: 0 6px 20px rgba(28,58,44,.3); }
.site .wo-send:hover { background: #26503d; }
/* menu cards stand out as white cards on the cream page */
.site .menu-item { background: var(--white); border-left-color: var(--sage-deep); box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.site .menu-note { background: var(--white); border-color: var(--cream2); }
/* dish pictures on menu cards (tools/add-menu-images.js) */
.site .menu-item.has-img { display: grid; grid-template-columns: 92px minmax(0, 1fr); column-gap: .9rem; align-items: start; }
.site .menu-item.has-img > .mi-img { grid-row: 1 / span 3; width: 92px; height: 92px; object-fit: contain; margin: -.2rem 0 0 -.3rem; filter: drop-shadow(0 6px 10px rgba(0,0,0,.12)); transition: transform .35s var(--ease); }
.site .menu-item.has-img > :not(.mi-img) { grid-column: 2; }
@media (hover: hover) { .site .menu-item.has-img:hover > .mi-img { transform: scale(1.08) rotate(-2deg); } }
@media (max-width: 380px) { .site .menu-item.has-img { grid-template-columns: 72px minmax(0, 1fr); } .site .menu-item.has-img > .mi-img { width: 72px; height: 72px; } }
.site .tab-btn.active, .site .tab-btn:hover { background: var(--forest); border-color: var(--forest); color: var(--white); }

/* ── footer ── */
.st-footer { margin-top: 0; padding: 2.4rem 5vw 6.5rem; background: var(--forest); color: #cfe3d6; text-align: center; font-size: .92rem; }
.st-footer img { display: block; max-width: 100%; height: auto; margin: 0 auto 1rem; }
.st-footer p { margin: 0 0 .5rem; }
.site .st-footer a { color: var(--white); } /* .site: beats page-wide link colours such as .home a */
.st-footer strong { color: var(--white); }
.st-social { display: flex; justify-content: center; gap: .7rem; list-style: none; margin: 1rem 0; padding: 0; }
.site .st-social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.12); color: var(--white); transition: background .2s; }
.st-social a:hover { background: rgba(255,255,255,.22); }
.st-credit { margin-top: 1.2rem !important; font-size: .78rem; opacity: .65; }

/* ── phone sticky order bar ── */
.st-sticky { position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 90; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .7rem .7rem .7rem 1.1rem; border-radius: 16px; background: var(--forest); color: var(--white) !important; font-weight: 900; text-decoration: none; box-shadow: 0 10px 28px rgba(0,0,0,.28); transform: translateY(160%); transition: transform .3s var(--ease); }
.st-sticky.show { transform: none; }
body.wo-tray-visible .st-sticky { transform: translateY(160%); }
.st-sticky-state { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; }
.st-sticky-state.open::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 4px rgba(62,207,110,.22); }
.st-sticky-cta { background: var(--yolk); color: var(--ink); padding: .55rem 1rem; border-radius: 999px; white-space: nowrap; }

/* ── scroll reveal (site.js adds .st-reveal only to sections below the first screen) ── */
.st-reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.st-reveal.in { opacity: 1; transform: none; }

@keyframes st-rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes st-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes st-fade-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes st-pop { from { opacity: 0; transform: scale(.88); } to { opacity: 1; transform: none; } }
@keyframes st-shine { 0% { transform: translateX(-120%); } 30%, 100% { transform: translateX(120%); } }
@keyframes st-drop { from { opacity: 0; transform: translateY(-24px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes st-glow { from { filter: drop-shadow(0 0 8px rgba(147,196,163,.45)); } to { filter: drop-shadow(0 0 24px rgba(147,196,163,.95)); } }
@keyframes st-pulse { 0% { box-shadow: 0 0 0 0 rgba(62,207,110,.7); } 70% { box-shadow: 0 0 0 9px rgba(62,207,110,0); } 100% { box-shadow: 0 0 0 0 rgba(62,207,110,0); } }
@keyframes st-zoom { from { transform: scale(1); } to { transform: scale(1.1); } }
@keyframes st-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

@media (min-width: 1024px) {
  .st-hero-inner { align-items: center; justify-content: center; text-align: center; padding: 96px 0 4rem; }
  .st-hero-logo { margin: 0 auto 1rem; }
  .st-sub { margin-left: auto; margin-right: auto; }
  .st-actions { justify-content: center; align-self: center; }
  .st-btn { display: inline-flex; align-self: center; min-width: 300px; }
  .st-actions .st-btn { flex: 0 0 auto; }
  .st-btn--glass { min-width: 0; }
  .st-chips { flex-wrap: wrap; justify-content: center; margin-right: 0; padding-right: 0; overflow: visible; }
  .st-sticky { display: none; }
  .st-footer { padding-bottom: 2.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  .site *, .site *::before, .site *::after { transition: none !important; animation: none !important; }
}
