/* =========================================================
   We Coffee — shared styles (index.html + menu.html)
   Palette:
     --ivory    #FAF7F2  main background
     --espresso #3B2923  logo, headings, primary buttons
     --caramel  #B88963  decorative accents
     --beige    #EADCCB  alternate section backgrounds
     --white    #FFFFFF  cards
     --text     #453B36  body text
   ========================================================= */

:root {
  --ivory: #FAF7F2;
  --espresso: #3B2923;
  --espresso-dark: #2B1D19;
  --caramel: #B88963;
  --caramel-soft: #D9BFA3;
  --beige: #EADCCB;
  --beige-soft: #F2E8DB;
  --white: #FFFFFF;
  --text: #453B36;
  --text-muted: #7A6A60;
  --line: rgba(59, 41, 35, 0.12);

  --font-heading: 'Lora', Georgia, 'Times New Roman', serif;
  --font-body: 'Manrope', 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(59, 41, 35, 0.06);
  --shadow: 0 8px 28px rgba(59, 41, 35, 0.08);
  --shadow-lg: 0 20px 50px rgba(59, 41, 35, 0.14);

  --container: 1180px;
  --header-h: 76px;
  --bottom-nav-h: 64px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.35s;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--ivory);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--espresso); line-height: 1.2; margin: 0 0 0.6em; font-weight: 600; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
a { color: var(--espresso); text-decoration-color: var(--caramel); text-underline-offset: 3px; }
button { font-family: inherit; font-size: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

/* Visible keyboard focus */
:focus-visible { outline: 3px solid var(--caramel); outline-offset: 3px; border-radius: 4px; }
:focus:not(:focus-visible) { outline: none; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
[hidden] { display: none !important; }

.skip-link {
  position: absolute; top: -100px; left: 16px; z-index: 2000;
  background: var(--espresso); color: var(--white); padding: 10px 16px; border-radius: var(--radius-sm);
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* ---------- Layout ---------- */
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section--alt { background: var(--beige); }
.section-head { max-width: 680px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--caramel); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--caramel); border-radius: 2px; }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 2px; background: var(--caramel); border-radius: 2px; }
.lead { font-size: 1.1rem; color: var(--text); }
.muted { color: var(--text-muted); }
.small { font-size: 0.9rem; }

.grid-2 { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 880px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.75rem 1.5rem; border-radius: 999px;
  font-weight: 700; font-size: 0.98rem; text-decoration: none; border: 2px solid transparent;
  transition: transform var(--dur) var(--ease), background var(--dur), color var(--dur), box-shadow var(--dur);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--espresso); color: var(--white); box-shadow: 0 6px 18px rgba(59, 41, 35, 0.22); }
.btn--primary:hover { background: var(--espresso-dark); }
.btn--secondary { background: transparent; color: var(--espresso); border-color: var(--espresso); }
.btn--secondary:hover { background: rgba(59, 41, 35, 0.06); }
.btn--sm { min-height: 40px; padding: 0.5rem 1.1rem; font-size: 0.9rem; }
.btn--block { width: 100%; }
.btn[aria-disabled="true"], .btn:disabled { opacity: 0.6; cursor: not-allowed; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; min-height: var(--header-h); gap: 0.75rem; }
.site-nav { margin-left: auto; }

/* MK / EN switch */
.lang-switch { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--beige-soft); border: 1px solid var(--line); }
.lang-switch button {
  display: inline-flex; align-items: center; gap: 0.35rem;
  min-width: 40px; min-height: 34px; padding: 0 0.6rem 0 0.35rem; border: 0; border-radius: 999px; background: transparent;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; color: var(--text-muted);
  transition: background var(--dur), color var(--dur);
}
.lang-switch button img { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px rgba(59, 41, 35, 0.15); }
.lang-switch button:not([aria-pressed="true"]) img { opacity: 0.75; }
.lang-switch button[aria-pressed="true"] { background: var(--espresso); color: var(--white); }
.lang-switch button:hover:not([aria-pressed="true"]) { color: var(--espresso); }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-logo { height: 58px; width: auto; }
main [id] { scroll-margin-top: calc(var(--header-h) + 12px); }
.site-nav ul { display: none; gap: 0.25rem; }
.site-nav a {
  display: inline-block; padding: 0.55rem 0.9rem; border-radius: 999px;
  text-decoration: none; font-weight: 600; color: var(--espresso); font-size: 0.95rem;
  transition: background var(--dur);
}
.site-nav a:hover, .site-nav a[aria-current="page"] { background: var(--beige); }
.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 48px; height: 48px; padding: 12px; border: 0; border-radius: var(--radius-sm); background: transparent;
}
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--espresso); border-radius: 2px; transition: transform var(--dur) var(--ease), opacity var(--dur); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 890;
  background: var(--ivory); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  padding: 0.75rem 1.25rem 1.25rem;
  transform: translateY(-8px); opacity: 0; visibility: hidden; pointer-events: none;
  transition: transform var(--dur) var(--ease), opacity var(--dur), visibility 0s linear var(--dur);
}
.mobile-nav.is-open { transform: none; opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
.mobile-nav a { display: block; padding: 0.9rem 0.5rem; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
.mobile-nav li:last-child a { border-bottom: 0; }

@media (min-width: 880px) {
  .site-nav ul { display: flex; }
  .nav-toggle, .mobile-nav { display: none; }
  .brand-logo { height: 64px; }
}

/* ---------- Image placeholders ---------- */
.ph {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background:
    radial-gradient(120% 90% at 10% 0%, var(--beige-soft) 0%, transparent 60%),
    linear-gradient(145deg, var(--beige) 0%, #E1CFBA 100%);
  color: var(--espresso);
  display: flex; align-items: center; justify-content: center; text-align: center;
  isolation: isolate;
}
.ph::before {
  content: ""; position: absolute; inset: 10px; border: 1.5px dashed rgba(59, 41, 35, 0.28); border-radius: calc(var(--radius) - 6px); pointer-events: none;
}
.ph__inner { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; padding: 1.25rem; }
.ph__icon { width: 36px; height: 36px; color: var(--caramel); }
.ph__label { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 600; }
.ph__note { font-size: 0.78rem; color: var(--text-muted); max-width: 26ch; line-height: 1.4; }
.ph--4x3 { aspect-ratio: 4 / 3; }
.ph--3x4 { aspect-ratio: 3 / 4; }
.ph--1x1 { aspect-ratio: 1 / 1; }
.ph--16x9 { aspect-ratio: 16 / 9; }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph img ~ .ph__inner { display: none; }
.ph--filled::before { display: none; }
.ph--filled { background: var(--white); }

/* Tag for illustrative/visualisation labels on real images */
.img-tag {
  position: absolute; left: 12px; top: 12px; z-index: 2;
  background: rgba(250, 247, 242, 0.92); color: var(--espresso);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.3rem 0.65rem; border-radius: 999px;
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(3rem, 7vw, 5rem); }
.hero__grid { display: grid; gap: 2rem; align-items: center; }
.hero__content { order: 1; }
.hero__media { order: 2; }
.hero__media .ph { aspect-ratio: 4 / 3; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.hero__label {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--beige); color: var(--espresso); font-weight: 700; font-size: 0.82rem;
  letter-spacing: 0.06em; text-transform: uppercase; padding: 0.45rem 0.9rem; border-radius: 999px; margin-bottom: 1.25rem;
}
.hero__label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--caramel); }
.hero h1 { margin-bottom: 0.5em; }
.hero__text { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 34rem; margin-bottom: 1.75rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero__date {
  margin: 1.5rem 0 0; display: inline-flex; align-items: baseline; gap: 0.5rem;
  padding: 0.75rem 1rem; border-left: 3px solid var(--caramel); background: var(--white); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.hero__date strong { font-family: var(--font-heading); color: var(--espresso); font-size: 1.15rem; }
.hero__date { flex-wrap: wrap; align-items: center; }
.hero__countdown { white-space: nowrap; font-size: 0.85rem; font-weight: 700; color: var(--white); background: var(--caramel); padding: 0.15rem 0.6rem; border-radius: 999px; }
@media (min-width: 880px) {
  .hero__grid { grid-template-columns: 1.05fr 1fr; gap: 3.5rem; }
  .hero__media .ph { aspect-ratio: 5 / 4; }
}

/* ---------- More than coffee ---------- */
.more-card {
  background: var(--white); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 0.9rem;
}
.more-card__title { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.more-card__title h3 { margin: 0; font-size: 1.15rem; }
.more-card p { margin: 0; font-size: 0.95rem; color: var(--text-muted); }
.more-list li { position: relative; padding-left: 1.25rem; font-size: 0.95rem; color: var(--text-muted); }
.more-list li + li { margin-top: 0.4rem; }
.more-list li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 7px; height: 7px; border-radius: 50%; background: var(--caramel); }
.events { display: grid; gap: 0.75rem; }
.event { display: grid; grid-template-columns: 52px 1fr; gap: 0.85rem; align-items: start; }
.event__date {
  display: flex; flex-direction: column; align-items: center; justify-content: center; height: 52px;
  border-radius: 12px; background: var(--espresso); color: var(--white); line-height: 1.1;
}
.event__date strong { font-family: var(--font-heading); font-size: 1.15rem; }
.event__date small { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--caramel-soft); }
.event h4 { font-family: var(--font-heading); font-size: 1rem; margin: 0 0 0.15rem; }
.event p { font-size: 0.88rem; }
.stamps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.5rem; max-width: 260px; margin-top: auto; }
.stamp { aspect-ratio: 1 / 1; border-radius: 50%; border: 1.5px dashed var(--caramel-soft); }
.stamp--reward { border: 0; background: var(--caramel); color: var(--white); display: flex; align-items: center; justify-content: center; }
.stamp--reward svg { width: 60%; height: 60%; }

/* ---------- Opening popup ---------- */
.launch {
  position: fixed; inset: 0; z-index: 1300; display: flex; align-items: center; justify-content: center;
  padding: 1rem; background: rgba(43, 29, 25, 0.55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  opacity: 0; transition: opacity var(--dur) var(--ease);
}
.launch.is-open { opacity: 1; }
.launch__card {
  position: relative; width: min(100%, 440px); max-height: calc(100vh - 2rem); overflow-y: auto;
  background: var(--ivory); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border-bottom: 4px solid var(--caramel);
  transform: translateY(16px) scale(0.98); transition: transform 0.45s var(--ease);
}
.launch.is-open .launch__card { transform: none; }
.launch__close {
  position: absolute; top: 12px; right: 12px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: rgba(250, 247, 242, 0.92); color: var(--espresso); display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm);
}
.launch__close svg { width: 20px; height: 20px; }
.launch__media { position: relative; aspect-ratio: 16 / 7; overflow: hidden; }
.launch__media img { width: 100%; height: 100%; object-fit: cover; }
.launch__body { position: relative; padding: 0 1.5rem 1.5rem; text-align: center; }
.launch__logo {
  display: flex; align-items: center; justify-content: center; width: 84px; height: 84px; margin: -42px auto 0.5rem;
  border-radius: 50%; background: var(--ivory); box-shadow: var(--shadow); position: relative; z-index: 2;
}
.launch__logo img { width: 62px; height: auto; }
.launch__eyebrow { margin: 0 0 0.25rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--caramel); }
.launch h2 { font-size: clamp(1.35rem, 5vw, 1.65rem); margin: 0 0 1rem; }
.launch h2 span { white-space: nowrap; }
.launch__count { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; margin-bottom: 1rem; }
.launch__unit { background: var(--white); border-radius: var(--radius-sm); padding: 0.6rem 0.25rem; box-shadow: var(--shadow-sm); }
.launch__unit strong { display: block; font-family: var(--font-heading); font-size: 1.6rem; line-height: 1.1; color: var(--espresso); font-variant-numeric: tabular-nums; }
.launch__unit span { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); }
.launch__text { font-size: 0.95rem; color: var(--text-muted); margin: 0 0 1.1rem; }
.launch__actions { display: grid; gap: 0.6rem; }
.launch__actions .btn { width: 100%; }
.launch__social { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-top: 1rem; font-size: 0.85rem; color: var(--text-muted); }
.launch__social a { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--line); color: var(--espresso); }
.launch__social svg { width: 18px; height: 18px; }
@media (prefers-reduced-motion: reduce) { .launch__card { transform: none; } }

/* ---------- Follow-us band ---------- */
.social-band { background: var(--espresso); color: var(--beige); padding: clamp(2.75rem, 6vw, 4rem) 0; }
.social-band__inner { display: grid; gap: 1.5rem; align-items: center; }
.social-band h2 { color: var(--white); margin-bottom: 0.4rem; }
.social-band p { margin: 0; color: rgba(234, 220, 203, 0.85); }
.social-band .eyebrow { color: var(--caramel-soft); }
.social-band .eyebrow::before { background: var(--caramel-soft); }
.social-band__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn--light { background: var(--ivory); color: var(--espresso); }
.btn--light:hover { background: var(--white); }
.btn--ghost-light { background: transparent; color: var(--beige); border-color: rgba(234, 220, 203, 0.5); }
.btn--ghost-light:hover { background: rgba(234, 220, 203, 0.1); }
@media (min-width: 880px) {
  .social-band__inner { grid-template-columns: 1fr auto; gap: 3rem; }
}

/* ---------- Cards ---------- */
.card {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  overflow: hidden; transition: transform var(--dur) var(--ease), box-shadow var(--dur);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .ph { border-radius: 0; }
.card__body { padding: 1.25rem 1.4rem 1.5rem; }
.card__body h3 { margin-bottom: 0.35rem; }
.card__body p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }
.cards-3 { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }
.section-cta { text-align: center; margin-top: clamp(2rem, 4vw, 3rem); }

/* ---------- About ---------- */
.about__media { position: relative; }
.about__media .ph { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.about__media::after {
  content: ""; position: absolute; right: -14px; bottom: -14px; width: 40%; height: 40%;
  border: 2px solid var(--caramel); border-radius: var(--radius-lg); z-index: -1; opacity: 0.6;
}

/* ---------- Gallery ---------- */
.gallery { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
.gallery__item {
  position: relative; border: 0; padding: 0; background: none; border-radius: var(--radius); overflow: hidden; cursor: zoom-in;
  transition: transform var(--dur) var(--ease); text-align: left; width: 100%;
}
.gallery__item:hover { transform: scale(1.015); }
.gallery__item .ph { width: 100%; }
.gallery__item:first-child { grid-column: span 2; }
.gallery__item:first-child .ph { aspect-ratio: 16 / 10; }
@media (min-width: 880px) {
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .gallery__item:first-child { grid-row: span 2; }
  .gallery__item:first-child .ph { height: 100%; aspect-ratio: auto; }
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 1200; display: flex; align-items: center; justify-content: center;
  background: rgba(43, 29, 25, 0.86); padding: 1rem;
  opacity: 0; visibility: hidden; transition: opacity var(--dur), visibility 0s linear var(--dur);
}
.lightbox.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.lightbox__figure { margin: 0; width: min(100%, 980px); max-height: 100%; display: flex; flex-direction: column; gap: 0.75rem; }
.lightbox__stage { position: relative; }
.lightbox__stage .ph { aspect-ratio: 4 / 3; max-height: 72vh; width: 100%; border-radius: var(--radius-lg); }
.lightbox__stage .ph .ph__label { font-size: 1.3rem; }
.lightbox__caption { color: var(--beige); text-align: center; font-size: 0.95rem; }
.lightbox__btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(250, 247, 242, 0.92); color: var(--espresso);
  display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow);
}
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__prev { left: 10px; }
.lightbox__next { right: 10px; }
.lightbox__close {
  position: absolute; top: 14px; right: 14px; z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: var(--ivory); color: var(--espresso); display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow);
}
.lightbox__close svg { width: 22px; height: 22px; }

/* ---------- Air quality ---------- */
.air__grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (min-width: 960px) { .air__grid { grid-template-columns: 1.1fr 0.9fr; } }
.features { display: grid; gap: 1rem; }
.feature {
  display: grid; grid-template-columns: 52px 1fr; gap: 1rem; align-items: start;
  background: var(--white); border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow-sm);
}
.feature__icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--beige); color: var(--espresso);
  display: inline-flex; align-items: center; justify-content: center;
}
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.1rem; margin-bottom: 0.3rem; }
.feature p { margin: 0; font-size: 0.95rem; color: var(--text-muted); }
.air__media .ph { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.air__note { font-size: 0.85rem; color: var(--text-muted); margin-top: 1rem; }
.air-partners { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; margin: -0.5rem 0 2rem; }
.air-partner {
  display: inline-flex; flex-direction: column; gap: 0.45rem; padding: 0.8rem 1.1rem; text-decoration: none;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur);
}
.air-partner:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.air-partner span { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--caramel); }
.air-partner img { height: 28px; width: auto; }
.air-live { margin-top: 0.75rem; }

.badge-card {
  margin-top: 1.5rem; display: grid; grid-template-columns: 96px 1fr; gap: 1.25rem; align-items: center;
  background: var(--white); border: 1.5px dashed var(--caramel-soft); border-radius: var(--radius); padding: 1.25rem;
}
.badge-card .ph { border-radius: 50%; aspect-ratio: 1 / 1; width: 96px; }
.badge-card .ph::before { border-radius: 50%; inset: 7px; }
.badge-card .ph__icon { width: 28px; height: 28px; }
.badge-card__title { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin-bottom: 0.25rem; }
.badge-card__title h3 { margin: 0; font-size: 1.1rem; }
.status-pill {
  display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.25rem 0.65rem; border-radius: 999px; background: var(--beige); color: var(--espresso);
}
.status-pill--done { background: var(--caramel); color: var(--white); }
.badge-card p { margin: 0; font-size: 0.9rem; color: var(--text-muted); }

/* ---------- Contact ---------- */
.contact__grid { display: grid; gap: 2rem; }
@media (min-width: 960px) { .contact__grid { grid-template-columns: 0.9fr 1.1fr; align-items: stretch; } }
.contact-list { display: grid; gap: 1rem; align-content: start; }
.contact-item {
  display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: start;
  background: var(--white); border-radius: var(--radius); padding: 1.1rem 1.2rem; box-shadow: var(--shadow-sm);
}
.contact-item__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--beige); color: var(--espresso); display: inline-flex; align-items: center; justify-content: center; }
.contact-item__icon svg { width: 22px; height: 22px; }
.contact-item h3 { font-size: 0.8rem; font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 0.3rem; }
.contact-item p, .contact-item a { margin: 0; font-size: 1.02rem; font-weight: 600; color: var(--espresso); overflow-wrap: anywhere; }
.contact-item a { text-decoration: none; }
.contact-item a:hover { text-decoration: underline; }
.contact-item .pending { font-weight: 500; color: var(--text-muted); font-style: italic; }
.social-row { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.social-btn {
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; padding: 0.5rem 1rem; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--white); color: var(--espresso); font-weight: 600; text-decoration: none; font-size: 0.92rem;
}
.social-btn svg { width: 18px; height: 18px; }
.social-btn:hover { background: var(--beige); }

.map-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); min-height: 320px; display: flex; flex-direction: column; }
.map-card .ph { border-radius: 0; flex: 1; min-height: 320px; }
.map-card iframe { width: 100%; min-height: 380px; border: 0; flex: 1; }
.map-card__footer { background: var(--white); padding: 1rem 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.map-card__footer p { margin: 0; font-size: 0.92rem; color: var(--text-muted); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(var(--bottom-nav-h) + var(--safe-bottom) + 16px); z-index: 1400;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--espresso); color: var(--white); padding: 0.8rem 1.2rem; border-radius: 999px; font-weight: 600; font-size: 0.92rem;
  box-shadow: var(--shadow-lg); max-width: calc(100% - 2rem); text-align: center;
  transition: transform var(--dur) var(--ease), opacity var(--dur);
}
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }
@media (min-width: 880px) { .toast { bottom: 24px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--espresso); color: var(--beige); padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; }
.site-footer a { color: var(--beige); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer__grid { display: grid; gap: 2.25rem; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer__logo { height: 96px; width: auto; filter: brightness(0) invert(1) sepia(0.2) saturate(1.2) opacity(0.95); }
.footer__tagline { margin-top: 1rem; max-width: 36ch; color: rgba(234, 220, 203, 0.85); }
.site-footer h3 { color: var(--white); font-family: var(--font-body); font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1rem; }
.footer__links li + li { margin-top: 0.55rem; }
.footer__social { display: flex; gap: 0.6rem; }
.footer__social a {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(234, 220, 203, 0.35);
}
.footer__social a:hover { background: rgba(234, 220, 203, 0.12); text-decoration: none; }
.footer__social svg { width: 20px; height: 20px; }
.footer__bottom { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(234, 220, 203, 0.2); font-size: 0.85rem; color: rgba(234, 220, 203, 0.7); display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; }

/* ---------- Mobile bottom navigation ---------- */
body { padding-bottom: calc(var(--bottom-nav-h) + var(--safe-bottom) + 8px); }
.bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000;
  background: var(--ivory); border-top: 1px solid var(--line);
  padding-bottom: var(--safe-bottom);
  box-shadow: 0 -4px 20px rgba(59, 41, 35, 0.06);
}
.bottom-nav ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.bottom-nav__btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  width: 100%; min-height: var(--bottom-nav-h); padding: 8px 4px; border: 0; background: transparent;
  color: var(--espresso); font-size: 0.72rem; font-weight: 700; text-decoration: none; letter-spacing: 0.01em;
  position: relative; -webkit-tap-highlight-color: transparent;
}
.bottom-nav__btn svg { width: 24px; height: 24px; }
.bottom-nav__btn:active { background: var(--beige-soft); }
.bottom-nav__btn.is-active::after {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 36px; height: 3px; border-radius: 0 0 3px 3px; background: var(--caramel);
}
.bottom-nav__btn:focus-visible { outline-offset: -4px; }
@media (min-width: 880px) {
  .bottom-nav { display: none; }
  body { padding-bottom: 0; }
}

/* ---------- Bottom sheets ---------- */
.sheet-backdrop {
  position: fixed; inset: 0; z-index: 1100; background: rgba(43, 29, 25, 0.5);
  opacity: 0; visibility: hidden; transition: opacity var(--dur), visibility 0s linear var(--dur);
}
.sheet-backdrop.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1150;
  background: var(--ivory); border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 0.75rem 1.25rem calc(1.5rem + var(--safe-bottom));
  box-shadow: var(--shadow-lg);
  transform: translateY(100%); visibility: hidden;
  transition: transform var(--dur) var(--ease), visibility 0s linear var(--dur);
  max-width: 560px; margin-inline: auto;
}
.sheet.is-open { transform: none; visibility: visible; transition-delay: 0s; }
.sheet__handle { width: 44px; height: 4px; border-radius: 2px; background: var(--caramel-soft); margin: 0 auto 0.75rem; }
.sheet__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.sheet__head h2 { font-size: 1.3rem; margin: 0; }
.sheet__close {
  width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--beige); color: var(--espresso);
  display: inline-flex; align-items: center; justify-content: center;
}
.sheet__close svg { width: 20px; height: 20px; }
.sheet__value { font-family: var(--font-heading); font-size: 1.5rem; color: var(--espresso); margin: 0 0 1rem; word-break: break-word; }
.sheet__hint { font-size: 0.92rem; color: var(--text-muted); margin: 0 0 0.5rem; }
.sheet__options { display: grid; gap: 0.75rem; }
.sheet__option {
  display: flex; align-items: center; gap: 0.9rem; min-height: 56px; padding: 0.75rem 1rem;
  border-radius: var(--radius); background: var(--white); border: 1.5px solid var(--line); color: var(--espresso);
  font-weight: 700; text-decoration: none; text-align: left; width: 100%;
}
.sheet__option svg { width: 24px; height: 24px; flex: none; }
.sheet__option span { flex: 1; }
.sheet__option small { font-weight: 500; color: var(--text-muted); font-size: 0.82rem; }
.sheet__option:hover { background: var(--beige-soft); }

/* ---------- Menu page ---------- */
.menu-page { --header-h: 72px; }
.menu-hero { padding: clamp(1.5rem, 4vw, 2.5rem) 0 1rem; }
.back-link { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; text-decoration: none; font-size: 0.95rem; margin-bottom: 1rem; }
.back-link svg { width: 18px; height: 18px; }
.menu-hero h1 { font-size: clamp(2rem, 6vw, 3rem); margin-bottom: 0.5rem; }
.menu-notice {
  display: flex; gap: 0.75rem; align-items: flex-start; background: var(--beige); border-left: 3px solid var(--caramel);
  border-radius: var(--radius-sm); padding: 0.85rem 1rem; font-size: 0.92rem; color: var(--espresso); margin: 1rem 0 0;
}
.menu-notice svg { width: 20px; height: 20px; flex: none; color: var(--caramel); margin-top: 2px; }
.menu-notice p { margin: 0; }

.install {
  display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; padding: 0.75rem 0.75rem 0.75rem 0.85rem;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.install > img { flex: none; border-radius: 10px; box-shadow: 0 0 0 1px var(--line); }
.install__text { flex: 1; min-width: 0; line-height: 1.35; }
.install__text strong { display: block; font-size: 0.92rem; color: var(--espresso); }
.install__text span { font-size: 0.82rem; color: var(--text-muted); }
.install__close {
  flex: none; width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--beige-soft); color: var(--text-muted);
  display: inline-flex; align-items: center; justify-content: center;
}
.install__close svg { width: 16px; height: 16px; }

.menu-controls {
  position: sticky; top: var(--header-h); z-index: 800; background: var(--ivory);
  padding: 0.85rem 0; border-bottom: 1px solid var(--line);
}
.search { position: relative; display: flex; align-items: center; }
.search > svg { position: absolute; left: 16px; width: 20px; height: 20px; color: var(--text-muted); pointer-events: none; }
.search input {
  width: 100%; min-height: 50px; padding: 0.75rem 3rem 0.75rem 3rem; border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--white); font: inherit; color: var(--espresso); -webkit-appearance: none; appearance: none;
}
.search input::placeholder { color: var(--text-muted); }
.search input:focus { border-color: var(--caramel); outline: 3px solid rgba(184, 137, 99, 0.3); outline-offset: 0; }
.search__clear {
  position: absolute; right: 8px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--beige); color: var(--espresso);
  display: inline-flex; align-items: center; justify-content: center;
}
.search__clear svg { width: 16px; height: 16px; }
.filters { display: flex; gap: 0.5rem; overflow-x: auto; padding: 0.75rem 0 0.25rem; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.filters::-webkit-scrollbar { display: none; }
.filter-btn {
  flex: none; min-height: 40px; padding: 0.45rem 1rem; border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--white); color: var(--espresso); font-weight: 600; font-size: 0.9rem; white-space: nowrap;
  transition: background var(--dur), color var(--dur), border-color var(--dur);
}
.filter-btn[aria-pressed="true"] { background: var(--espresso); color: var(--white); border-color: var(--espresso); }
.filter-btn:hover:not([aria-pressed="true"]) { background: var(--beige-soft); }

.menu-list { padding: 1.5rem 0 2rem; }
.menu-group { margin-bottom: 2rem; }
.menu-group h2 { font-size: 1.35rem; display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }
.menu-group h2::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.menu-items { list-style: none; }
.menu-item { display: flex; gap: 0.9rem; align-items: flex-start; padding: 0.85rem 0.15rem; border-bottom: 1px solid var(--line); }
.menu-item:last-child { border-bottom: 0; }
.menu-item__main { flex: 1; min-width: 0; }
.menu-item__row { display: flex; align-items: baseline; gap: 0.5rem; }
.menu-item__name { font-family: var(--font-heading); font-weight: 600; color: var(--espresso); font-size: 1.08rem; margin: 0; }
.menu-item__dots { flex: 1; min-width: 1.5rem; border-bottom: 2px dotted var(--caramel-soft); transform: translateY(-0.3em); }
.menu-item__price { font-weight: 700; color: var(--espresso); white-space: nowrap; font-variant-numeric: tabular-nums; }
.menu-item__desc { margin: 0.15rem 0 0; font-size: 0.9rem; color: var(--text-muted); }
.menu-item__tag { display: inline-block; margin-left: 0.2rem; padding: 0.1rem 0.5rem; border-radius: 999px; background: var(--beige-soft); font-family: var(--font-body); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--caramel); vertical-align: middle; }
.menu-item__tag--out { background: var(--beige); color: var(--text-muted); }
.menu-item__allergens { margin: 0.2rem 0 0; font-size: 0.78rem; color: var(--text-muted); }
.menu-item.is-unavailable .menu-item__name, .menu-item.is-unavailable .menu-item__price { opacity: 0.5; }
.menu-item__img { flex: none; width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }

/* Category banner */
.menu-group__head.has-img {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 16 / 7;
  display: flex; align-items: flex-end; padding: 1.1rem 1.25rem; margin-bottom: 0.5rem; box-shadow: var(--shadow);
}
.menu-group__head.has-img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.menu-group__head.has-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(43, 29, 25, 0) 35%, rgba(43, 29, 25, 0.78) 100%); }
.menu-group__head.has-img h2 { position: relative; z-index: 1; color: var(--white); margin: 0; font-size: clamp(1.5rem, 5vw, 2rem); }
.menu-group__head.has-img h2::after { display: none; }

/* Featured */
.featured { margin-bottom: 2.25rem; }
.featured > h2 { font-size: 1.35rem; margin-bottom: 0.9rem; }
.featured__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: 0.9rem;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.5rem; scrollbar-width: none;
}
.featured__track::-webkit-scrollbar { display: none; }
.featured-card { scroll-snap-align: start; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.featured-card__media { position: relative; aspect-ratio: 4 / 3; }
.featured-card__media img { width: 100%; height: 100%; object-fit: cover; }
.featured-card__body { padding: 0.9rem 1rem 1.1rem; }
.featured-card__row { display: flex; justify-content: space-between; align-items: baseline; gap: 0.75rem; }
.featured-card h3 { font-size: 1.05rem; margin: 0; }
.featured-card__price { font-weight: 700; color: var(--espresso); white-space: nowrap; }
.featured-card p { margin: 0.3rem 0 0; font-size: 0.88rem; color: var(--text-muted); }
@media (min-width: 640px) { .featured__track { grid-auto-flow: row; grid-template-columns: repeat(2, 1fr); overflow: visible; } }

/* Gentle reveal on first load */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
.menu-empty { text-align: center; padding: 3rem 1rem; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.menu-empty svg { width: 44px; height: 44px; color: var(--caramel); margin: 0 auto 0.75rem; }
.menu-empty h2 { font-size: 1.3rem; }
.menu-empty p { color: var(--text-muted); margin-bottom: 1rem; }
.menu-count { font-size: 0.85rem; color: var(--text-muted); margin: 0 0 1rem; min-height: 1.2em; }
@media (min-width: 760px) {
  .menu-list .container, .menu-controls .container, .menu-hero .container { max-width: 760px; }
}

.qr-box {
  display: grid; grid-template-columns: 120px 1fr; gap: 1.25rem; align-items: center;
  background: var(--white); border: 1.5px dashed var(--caramel-soft); border-radius: var(--radius); padding: 1.25rem;
}
.qr-box .ph { width: 120px; aspect-ratio: 1 / 1; }
.qr-box .ph__icon { width: 30px; height: 30px; }
.qr-box h2 { font-size: 1.15rem; margin-bottom: 0.3rem; }
.qr-box p { margin: 0; font-size: 0.9rem; color: var(--text-muted); }
.qr-box code { font-size: 0.82rem; background: var(--beige-soft); padding: 0.1rem 0.4rem; border-radius: 4px; }
@media (max-width: 480px) {
  .qr-box, .badge-card { grid-template-columns: 1fr; justify-items: start; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .btn:hover, .card:hover, .gallery__item:hover { transform: none; }
}
