/* A Mahlak: olive velvet, cream paper and antique gold. The motion is deliberately slow. */
:root {
  --velvet: #2a3519;
  --velvet-deep: #1b2310;
  --gold: #dec38a;
  --gold-2: #f0dfb4;
  --plate: #f3ecda;
  --radius: 18px;
  --font: "IBM Plex Sans Arabic", system-ui, sans-serif;
  --font-head: "Amiri", "IBM Plex Sans Arabic", serif;
  --slow: cubic-bezier(.22, .7, .18, 1);
  --tabbar-h: 0px;
}
html[lang="en"] {
  --font: "IBM Plex Sans", system-ui, sans-serif;
  --font-head: "Fraunces", Georgia, serif;
}

/* Day: warm paper */
html[data-theme="light"] {
  color-scheme: light;
  --bg: #f5eede;
  --bg-2: #efe6d0;
  --surface: #fbf7ec;
  --surface-2: #ece3cc;
  --line: #dccfae;
  --text: #262f18;
  --muted: #6a6c52;
  --accent: #72591a;
  --accent-soft: rgba(114, 89, 26, .12);
  --primary: #36451f;
  --primary-hover: #445729;
  --on-primary: #f7f0dd;
  --bar: rgba(245, 238, 222, .86);
  --shadow: 0 10px 28px rgba(68, 58, 26, .14);
  --shadow-lift: 0 18px 40px rgba(68, 58, 26, .22);
}
/* Night: deep velvet */
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #10150b;
  --bg-2: #161c0f;
  --surface: #1b2212;
  --surface-2: #252e19;
  --line: #333d22;
  --text: #f1ead6;
  --muted: #a9a88a;
  --accent: #dec38a;
  --accent-soft: rgba(222, 195, 138, .14);
  --primary: #dec38a;
  --primary-hover: #f0dfb4;
  --on-primary: #1b2310;
  --bar: rgba(16, 21, 11, .86);
  --shadow: 0 10px 28px rgba(0, 0, 0, .4);
  --shadow-lift: 0 18px 44px rgba(0, 0, 0, .6);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 140px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); line-height: 1.65;
  padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); }
[hidden] { display: none !important; }
.wrap { width: min(1180px, 100%); margin-inline: auto; padding-inline: 16px; }
.skip { position: fixed; top: 8px; inset-inline-start: 16px; z-index: 100; background: var(--primary); color: var(--on-primary); padding: 8px 14px; border-radius: 10px; transform: translateY(-200%); }
.skip:focus { transform: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Logo: a mask, so the calligraphy takes any colour */
.logo {
  display: block; background: currentColor; aspect-ratio: 1396 / 338;
  -webkit-mask: url("../assets/img/logo.webp") center / contain no-repeat;
  mask: url("../assets/img/logo.webp") center / contain no-repeat;
}
.logo--bar { width: 104px; color: var(--primary); }
html[data-theme="dark"] .logo--bar { color: var(--gold); }
.logo--foot { width: 170px; margin: 0 auto 14px; color: var(--accent); }
.logo--ph { width: 70%; color: var(--velvet); opacity: .45; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; border-radius: 999px; border: 1px solid var(--primary);
  background: var(--primary); color: var(--on-primary); font-weight: 600; cursor: pointer;
  transition: transform .35s var(--slow), background .35s, box-shadow .35s;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.btn:hover { background: var(--primary-hover); transform: translateY(-2px); }
.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--velvet-deep); }
.btn--gold:hover { background: var(--gold-2); box-shadow: 0 0 34px rgba(222, 195, 138, .35); }
.btn--line { background: transparent; color: var(--gold-2); border-color: rgba(222, 195, 138, .6); }
.btn--line:hover { background: rgba(222, 195, 138, .14); }
.btn--line2 { background: transparent; color: var(--text); border-color: var(--line); }
.btn--line2:hover { background: var(--accent-soft); border-color: var(--accent); }
.btn--wa { background: #25d366; border-color: #25d366; color: #062b14; }
.btn--wa:hover { background: #3ee27b; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 6px; background: transparent; border: 1px solid var(--line);
  color: var(--text); border-radius: 999px; padding: 7px 14px; cursor: pointer; font-size: .85rem; white-space: nowrap;
}
.btn-ghost svg { width: 16px; height: 16px; fill: currentColor; }
.btn-ghost:hover { border-color: var(--accent); }

/* Top bar */
.topbar {
  position: sticky; top: 0; z-index: 40; background: var(--bar);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; padding-top: env(safe-area-inset-top);
  transition: border-color .4s, box-shadow .4s;
}
.topbar.scrolled { border-color: var(--line); box-shadow: 0 6px 22px rgba(0, 0, 0, .08); }
.topbar__in { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: block; transition: transform .6s var(--slow); }
.brand:hover { transform: scale(1.04); }
.nav { display: flex; gap: 28px; margin-inline-start: auto; }
.nav a { color: var(--muted); font-weight: 500; position: relative; padding-block: 4px; transition: color .3s; }
.nav a::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: var(--accent); transform: scaleX(0); transition: transform .5s var(--slow); }
.nav a:hover, .nav a.active { color: var(--text); }
.nav a.active::after { transform: scaleX(1); }
.topbar__actions { display: flex; gap: 8px; align-items: center; }
.icon-btn {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  border: 1px solid var(--line); background: transparent; transition: background .3s, border-color .3s;
}
.icon-btn svg { width: 18px; height: 18px; fill: var(--text); transition: transform .8s var(--slow); }
.icon-btn:hover { border-color: var(--accent); background: var(--accent-soft); }
#themeBtn:hover svg { transform: rotate(40deg); }
html[data-theme="light"] .only-dark, html[data-theme="dark"] .only-light { display: none; }
.lang {
  min-width: 44px; height: 38px; border-radius: 999px; cursor: pointer; font-weight: 700;
  border: 1px solid var(--accent); background: transparent; color: var(--accent); transition: background .3s;
}
.lang:hover { background: var(--accent-soft); }

/* Hero: a framed velvet panel, like the café's own menu cover */
.hero { padding: 0 12px; }
.hero__panel {
  --scroll: 0;
  position: relative; overflow: hidden; isolation: isolate; border-radius: 26px;
  min-height: min(84vh, 720px); display: grid; place-items: center;
  background: var(--velvet) url("../assets/img/velvet.webp") center / cover no-repeat;
  box-shadow: var(--shadow-lift);
}
.hero__panel::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse at center, rgba(90, 110, 50, .28), rgba(10, 14, 5, .5) 90%);
}
.hero__sheen {
  position: absolute; inset: -20% -40%; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 42%, rgba(240, 223, 180, .09) 50%, transparent 58%);
  animation: sheen 16s ease-in-out infinite alternate;
}
@keyframes sheen { from { transform: translateX(-22%); } to { transform: translateX(22%); } }
.hero__frame {
  position: absolute; inset: clamp(10px, 2vw, 20px); pointer-events: none;
  border: 1.5px solid rgba(222, 195, 138, .75); border-radius: 14px;
}
.hero__frame::after { content: ""; position: absolute; inset: 5px; border: 1px solid rgba(222, 195, 138, .35); border-radius: 10px; }

.flora {
  position: absolute; width: clamp(130px, 25vw, 290px); aspect-ratio: 1; pointer-events: none;
  background: url("../assets/img/flora.webp") center / contain no-repeat;
  animation: bloom 2.6s var(--slow) .2s backwards;
  --x: 1; --y: 1;
  transform: scale(var(--x), var(--y));
}
.flora--ts { top: clamp(14px, 2.2vw, 24px); left: clamp(14px, 2.2vw, 24px); }
.flora--te { top: clamp(14px, 2.2vw, 24px); right: clamp(14px, 2.2vw, 24px); --x: -1; }
.flora--bs { bottom: clamp(14px, 2.2vw, 24px); left: clamp(14px, 2.2vw, 24px); --y: -1; }
.flora--be { bottom: clamp(14px, 2.2vw, 24px); right: clamp(14px, 2.2vw, 24px); --x: -1; --y: -1; }
@keyframes bloom { from { opacity: 0; transform: scale(calc(var(--x) * .82), calc(var(--y) * .82)); } }

.petals { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.petals i {
  position: absolute; top: -6%; width: 11px; height: 15px; border-radius: 70% 10% 70% 10%; opacity: 0;
  background: linear-gradient(135deg, #f2dfc4, #c99f8c); animation: fall 24s linear infinite;
}
.petals i:nth-child(1) { left: 12%; animation-delay: 0s; }
.petals i:nth-child(2) { left: 30%; animation-delay: 7s; animation-duration: 28s; }
.petals i:nth-child(3) { left: 47%; animation-delay: 13s; }
.petals i:nth-child(4) { left: 63%; animation-delay: 3s; animation-duration: 30s; }
.petals i:nth-child(5) { left: 80%; animation-delay: 10s; }
.petals i:nth-child(6) { left: 92%; animation-delay: 18s; animation-duration: 26s; }
@keyframes fall {
  0% { opacity: 0; transform: translate3d(0, 0, 0) rotate(0); }
  8% { opacity: .75; }
  85% { opacity: .55; }
  100% { opacity: 0; transform: translate3d(-9vw, 92vh, 0) rotate(420deg); }
}

.hero__in {
  position: relative; text-align: center; padding: 76px 22px 70px; max-width: 760px; color: var(--gold-2);
  transform: translateY(calc(var(--scroll) * .08px));
}
.eyebrow { color: var(--gold); letter-spacing: .08em; font-weight: 500; margin: 0 0 22px; font-size: clamp(.9rem, 2.4vw, 1.08rem); animation: rise 1.2s var(--slow) .1s backwards; }
html[lang="en"] .eyebrow { letter-spacing: .24em; font-size: clamp(.72rem, 2vw, .9rem); }
.hero__logo { margin: 0; }
.logo--hero {
  width: min(600px, 74vw); margin-inline: auto;
  background: linear-gradient(100deg, #cfae6f 0%, #f4e6c1 45%, #d8bb7f 60%, #e9d6a6 100%);
  background-size: 240% 100%;
  /* The word is always written right to left, whatever the page language */
  animation: write 2.2s var(--slow) .2s backwards, gilt 11s ease-in-out 2.4s infinite alternate;
}
@keyframes write { from { clip-path: inset(0 0 0 100%); opacity: .3; } to { clip-path: inset(0 0 0 0); opacity: 1; } }
@keyframes gilt { from { background-position: 0 0; } to { background-position: 100% 0; } }
.hero__en { margin: 16px 0 0; font-family: "Fraunces", Georgia, serif; letter-spacing: .34em; font-size: clamp(.8rem, 2vw, 1rem); color: var(--gold); animation: rise 1.2s var(--slow) .9s backwards; }
.hero__lead { font-family: var(--font-head); font-size: clamp(1.25rem, 3.6vw, 1.85rem); line-height: 1.5; margin: 22px auto 32px; color: #f6efdc; animation: rise 1.2s var(--slow) 1.1s backwards; }
.hero__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; animation: rise 1.2s var(--slow) 1.3s backwards; }

/* Photo plate: studio shots have white backgrounds, so they sit on a cream plate in both themes */
.photo { display: grid; place-items: center; background: var(--plate); overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transition: transform 1.1s var(--slow); }

/* Category tiles */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 16px; }
.tile {
  display: block; position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform .7s var(--slow), box-shadow .7s var(--slow), border-color .5s;
}
.tile__photo { aspect-ratio: 1; }
.tile__name { display: block; padding: 10px 14px 13px; text-align: center; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; }
.tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); border-color: var(--accent); }
.tile:hover img { transform: scale(1.07); }

/* Ticker */
.ticker { overflow: hidden; margin-top: 52px; padding-block: 12px; border-block: 1px solid var(--line); color: var(--accent); direction: ltr; }
.ticker__run { display: flex; width: max-content; animation: ticker 70s linear infinite; }
.ticker__run > div { display: flex; align-items: center; gap: 22px; padding-inline-end: 22px; }
.ticker span { font-family: var(--font-head); font-size: 1.2rem; white-space: nowrap; }
.ticker svg { width: 11px; height: 11px; fill: currentColor; opacity: .55; flex: none; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Sections */
.section-head { text-align: center; margin-bottom: 24px; }
.section-head h2 { font-size: clamp(2rem, 5vw, 2.9rem); margin: 0; font-weight: 700; line-height: 1.25; }
.section-head p { color: var(--muted); margin: 6px 0 0; }
.sprig { display: block; width: 120px; height: 24px; margin: 6px auto 0; color: var(--accent); fill: currentColor; }
.menu, .visit { padding-block: 62px 16px; }

/* Menu */
.search {
  display: flex; align-items: center; gap: 10px; background: var(--surface); max-width: 620px; margin-inline: auto;
  border: 1px solid var(--line); border-radius: 999px; padding: 0 18px; height: 48px; transition: border-color .3s;
}
.search svg { width: 20px; height: 20px; fill: var(--muted); flex: none; }
.search input { flex: 1; background: none; border: 0; outline: 0; min-width: 0; font-size: 1rem; }
.search:focus-within { border-color: var(--accent); }
.menu__bar {
  position: sticky; top: calc(64px + env(safe-area-inset-top)); z-index: 30; margin-top: 8px;
  background: var(--bar); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line); padding-bottom: 8px;
}
.chips { display: flex; gap: 8px; overflow-x: auto; padding-top: 10px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .chips { justify-content: center; flex-wrap: wrap; } }
.chips--sub { padding-top: 8px; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; cursor: pointer; font-weight: 500;
  border: 1px solid var(--line); background: var(--surface); color: var(--text); padding: 7px 17px; border-radius: 999px;
  transition: background .35s, color .35s, border-color .35s, transform .2s;
}
.chip:active { transform: scale(.95); }
.chip:hover { border-color: var(--accent); }
.chip[aria-selected="true"] { background: var(--primary); border-color: var(--primary); color: var(--on-primary); font-weight: 600; }
.chip small { font-size: .78em; opacity: .75; }
.chip svg { width: 13px; height: 13px; fill: #b4553f; }
.chip[aria-selected="true"] svg { fill: currentColor; }
.chip--sub { padding: 4px 13px; font-size: .86rem; background: transparent; color: var(--muted); }
.chip--sub[aria-pressed="true"] { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); font-weight: 600; }

.menu__list { padding-top: 10px; min-height: 40vh; }
.cat-block { padding-top: 26px; }
.cat-block > h3 { font-size: 1.85rem; margin: 0 0 4px; font-weight: 700; color: var(--accent); }
.group { padding-top: 10px; }
.group h4 { font-size: 1.22rem; font-weight: 700; margin: 8px 0 12px; display: flex; align-items: center; gap: 12px; }
.group h4::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 345px), 1fr)); gap: 12px; }
.card {
  position: relative; display: flex; gap: 13px; align-items: stretch; text-align: start; width: 100%;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 9px; cursor: pointer; transition: border-color .4s, transform .5s var(--slow), box-shadow .5s var(--slow);
}
.card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow); }
.card__photo { width: 104px; height: 104px; border-radius: 13px; flex: none; }
.card:hover .card__photo img { transform: scale(1.08); }
.card__body { display: flex; flex-direction: column; min-width: 0; flex: 1; padding-block: 3px; padding-inline-end: 30px; }
.card__name { font-weight: 600; font-size: 1rem; line-height: 1.45; }
.card__desc { color: var(--muted); font-size: .83rem; line-height: 1.5; margin: 3px 0 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.card__foot .price { position: relative; inset-inline-start: 26px; }
.cal { color: var(--muted); font-size: .78rem; }
.price { color: var(--accent); font-weight: 700; white-space: nowrap; font-size: 1.05rem; }
.price small { font-weight: 500; font-size: .72em; margin-inline-start: 3px; }
.price del { display: inline-block; color: var(--muted); font-weight: 400; margin-inline-end: 8px; font-size: .84em; }
.price__ask { font-size: .78rem !important; margin: 0 !important; }
.badge { background: var(--accent-soft); color: var(--accent); font-size: .7rem; padding: 2px 8px; border-radius: 999px; font-weight: 700; margin-inline-start: 6px; vertical-align: middle; white-space: nowrap; }
.fav {
  position: absolute; top: 8px; inset-inline-end: 8px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; border: 0; background: transparent; cursor: pointer;
}
.fav svg { width: 17px; height: 17px; fill: none; stroke: var(--muted); stroke-width: 2; transition: fill .35s, stroke .35s, transform .5s var(--slow); }
.fav:hover svg { stroke: #b4553f; transform: scale(1.15); }
.fav[aria-pressed="true"] svg { fill: #b4553f; stroke: #b4553f; }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }
.note { text-align: center; color: var(--muted); font-size: .8rem; margin: 30px auto 0; max-width: 620px; }
mark { background: rgba(190, 150, 60, .32); color: inherit; border-radius: 3px; }

/* Visit */
.visit__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 14px; }
.place {
  position: relative; display: flex; align-items: center; gap: 16px; padding: 28px; border-radius: var(--radius); overflow: hidden; isolation: isolate;
  background: var(--velvet) url("../assets/img/velvet.webp") center / cover; color: #f6efdc; box-shadow: var(--shadow);
}
.place::after { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(222, 195, 138, .5); border-radius: 12px; pointer-events: none; }
.place__icon { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: rgba(222, 195, 138, .16); flex: none; transition: transform .7s var(--slow); }
.place:hover .place__icon { transform: translateY(-4px); }
.place__icon svg { width: 26px; height: 26px; fill: var(--gold); }
.place__text { display: flex; flex-direction: column; gap: 2px; }
.place b { font-family: var(--font-head); font-size: 1.45rem; font-weight: 700; color: var(--gold-2); }
.place small { color: #dcd7be; font-size: .9rem; }
.place em { font-style: normal; color: var(--gold); font-weight: 600; font-size: .92rem; margin-top: 8px; }
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.contact-card {
  display: flex; align-items: center; gap: 13px; padding: 16px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); transition: border-color .4s, transform .5s var(--slow);
}
.contact-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.contact-card svg { width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: var(--accent-soft); fill: var(--accent); flex: none; }
.contact-card span { display: flex; flex-direction: column; min-width: 0; line-height: 1.4; }
.contact-card small { color: var(--muted); }
html[dir="rtl"] .contact-card small[dir="ltr"] { text-align: end; }
button.contact-card { width: 100%; text-align: start; cursor: pointer; }

/* Footer */
.footer { text-align: center; padding: 40px 0 34px; color: var(--muted); font-size: .9rem; border-top: 1px solid var(--line); margin-top: 48px; background: var(--bg-2); }
.footer p { margin: 4px 0; }
.credit { font-size: .85rem; }
.credit a { color: var(--accent); font-weight: 700; transition: opacity .3s; }
.credit a:hover { opacity: .75; }

.tabbar { display: none; }

/* Sheets */
.sheet {
  border: 0; padding: 0; width: min(500px, 100%); max-width: 100%; max-height: 92vh; border-radius: 22px;
  background: var(--surface); color: var(--text); box-shadow: var(--shadow-lift); overflow: auto;
}
.sheet::backdrop { background: rgba(8, 11, 4, .68); backdrop-filter: blur(4px); }
.sheet[open] { animation: sheetIn .6s var(--slow); }
@keyframes sheetIn { from { opacity: 0; transform: translateY(44px) scale(.97); } }
.photo--sheet { aspect-ratio: 1; max-height: 56vh; width: 100%; }
.sheet__body { padding: 16px 22px 22px; }
.sheet h3 { margin: 0; font-size: 1.65rem; line-height: 1.3; }
.sheet__sub { color: var(--accent); font-size: .85rem; margin: 2px 0 8px; }
.sheet__body > p:not(.sheet__sub) { color: var(--muted); margin: 0 0 12px; }
.sheet__meta { display: flex; justify-content: space-between; align-items: center; font-size: 1.15rem; margin-bottom: 14px; }
.sheet__fav { width: 100%; padding-block: 10px; }
.sheet__fav svg { fill: none; stroke: currentColor; stroke-width: 2; }
.sheet__fav.is-on svg { fill: #b4553f; stroke: #b4553f; }
.sheet__close {
  position: absolute; inset-inline-end: 12px; top: 12px; z-index: 1; width: 38px; height: 38px;
  border-radius: 50%; border: 0; background: rgba(27, 35, 16, .72); color: #fff; cursor: pointer; font-size: 1rem;
}

/* Share */
.share, .ios { width: min(440px, 100%); }
.share__body { padding: 30px 22px 24px; text-align: center; }
.share__body > p { color: var(--muted); margin: 6px 0 18px; font-size: .95rem; }
.share__qr {
  width: min(250px, 66vw); margin: 0 auto 14px; padding: 10px; background: #fff; border-radius: 22px;
  box-shadow: 0 0 0 1.5px var(--gold), 0 0 0 7px var(--accent-soft), 0 18px 40px rgba(0, 0, 0, .28);
  animation: qrIn 1s var(--slow) .15s backwards;
}
.share__qr img { width: 100%; height: auto; border-radius: 12px; }
@keyframes qrIn { from { opacity: 0; transform: scale(.86) rotate(-3deg); } }
.share__url {
  display: inline-block; margin-bottom: 18px; padding: 6px 14px; border-radius: 999px; cursor: pointer;
  border: 1px dashed var(--line); background: var(--surface-2); color: var(--accent); font-family: "IBM Plex Sans", sans-serif; font-weight: 600;
}
.share__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.share__actions .btn { padding: 11px 12px; font-size: .92rem; white-space: nowrap; }
.share__actions #nativeShare:not([hidden]), .share__dl { grid-column: 1 / -1; }
@media (max-width: 360px) { .share__actions { grid-template-columns: 1fr; } }
.ios__steps { text-align: start; margin: 16px 0 0; padding-inline-start: 22px; display: grid; gap: 8px; }

.toast {
  position: fixed; inset-inline: 16px; bottom: calc(var(--tabbar-h) + 16px + env(safe-area-inset-bottom));
  margin-inline: auto; max-width: 420px; background: var(--surface-2); color: var(--text); border: 1px solid var(--accent);
  padding: 12px 16px; border-radius: 14px; text-align: center; z-index: 60; box-shadow: var(--shadow);
}

/* Motion */
.progress {
  position: fixed; top: 0; inset-inline: 0; height: 2px; z-index: 70; background: linear-gradient(90deg, var(--gold), var(--accent));
  transform: scaleX(0); transform-origin: left; pointer-events: none;
}
html[dir="rtl"] .progress { transform-origin: right; }
.reveal:not(.in) { opacity: 0; }
.reveal.in { animation: rise 1.1s var(--slow) var(--d, 0ms) backwards; }
@keyframes rise { from { opacity: 0; transform: translate3d(0, 24px, 0); } }
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

@media (max-width: 860px) {
  :root { --tabbar-h: 62px; }
  html { scroll-padding-top: 118px; }
  .nav { display: none; }
  .topbar__actions { margin-inline-start: auto; }
  .tiles { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .visit__grid { grid-template-columns: 1fr; }
  .hero { padding: 0 8px; }
  .hero__panel { min-height: calc(100svh - 64px - var(--tabbar-h) - 24px); border-radius: 20px; }
  .tabbar {
    display: grid; grid-template-columns: repeat(4, 1fr);
    position: fixed; inset-inline: 0; bottom: 0; z-index: 50;
    height: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
    background: var(--bar); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line);
  }
  .tabbar a, .tabbar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--muted); font-size: .72rem; background: none; border: 0; cursor: pointer; }
  .tabbar svg { width: 22px; height: 22px; fill: currentColor; transition: transform .5s var(--slow); }
  .tabbar a.active { color: var(--accent); }
  .tabbar a.active svg { transform: translateY(-2px) scale(1.1); }
  .sheet { margin: auto auto 0; border-radius: 22px 22px 0 0; max-height: 88vh; }
  .card__photo { width: 94px; height: 94px; }
}
@media (max-width: 520px) {
  .logo--bar { width: 84px; }
  .contact-grid { grid-template-columns: 1fr; }
  .btn-ghost span { display: none; }
  .btn-ghost { padding: 0; width: 38px; height: 38px; justify-content: center; }
  .topbar__in { gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .petals { display: none; }
}
