/* =========================================================
   Fathaha — corporate site
   Mobile-first. Brand colours sampled from the logo:
   green #32CC36, navy #0630A0.
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --green: #32cc36;
  --green-ink: #17801b;          /* green that passes contrast as text on light bg */
  --navy: #0630a0;
  --navy-deep: #041e66;
  --sand: #f2b84b;

  --bg: #f6f7f2;
  --surface: #ffffff;
  --surface-2: #eef0e8;
  --text: #0b1430;
  --muted: #5a6275;
  --line: rgba(11, 20, 48, .10);
  --grid: rgba(6, 48, 160, .07);
  --ring: rgba(6, 48, 160, .12);
  --accent: var(--navy);
  --accent-text: #fff;
  --kicker: var(--green-ink);
  --header-bg: rgba(246, 247, 242, .78);
  --shadow: 0 1px 2px rgba(11, 20, 48, .04), 0 12px 32px -12px rgba(11, 20, 48, .14);

  --dot-2: var(--navy);          /* second halftone dot colour */

  --font: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 22px;
  --radius-sm: 14px;
  --gutter: 20px;
  --max: 1240px;
  --header-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --slide-ms: 6500ms;
  /* faint thundu kunaa motif behind the page */
  --kunaa: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cpath fill='%230630A0' fill-opacity='.045' fill-rule='evenodd' d='M48 24L72 48L48 72L24 48ZM48 28L68 48L48 68L28 48ZM48 36.5L52.5 41L48 45.5L43.5 41ZM41 43.5L45.5 48L41 52.5L36.5 48ZM55 43.5L59.5 48L55 52.5L50.5 48ZM48 50.5L52.5 55L48 59.5L43.5 55ZM0 -7L7 0L0 7L-7 0ZM96 -7L103 0L96 7L89 0ZM0 89L7 96L0 103L-7 96ZM96 89L103 96L96 103L89 96ZM45.5 -2.5h5v5h-5ZM45.5 93.5h5v5h-5ZM-2.5 45.5h5v5h-5ZM93.5 45.5h5v5h-5Z'/%3E%3C/svg%3E");

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #060b1c;
    --surface: #0c142e;
    --surface-2: #111b3b;
    --text: #eef1f8;
    --muted: #98a2bd;
    --line: rgba(255, 255, 255, .09);
    --grid: rgba(255, 255, 255, .045);
    --ring: rgba(50, 204, 54, .14);
    --accent: var(--green);
    --accent-text: var(--navy-deep);
    --kicker: var(--green);
    --header-bg: rgba(6, 11, 28, .72);
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 40px -16px rgba(0, 0, 0, .6);
    --dot-2: #3a66e6;
    --kunaa: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cpath fill='%23ffffff' fill-opacity='.035' fill-rule='evenodd' d='M48 24L72 48L48 72L24 48ZM48 28L68 48L48 68L28 48ZM48 36.5L52.5 41L48 45.5L43.5 41ZM41 43.5L45.5 48L41 52.5L36.5 48ZM55 43.5L59.5 48L55 52.5L50.5 48ZM48 50.5L52.5 55L48 59.5L43.5 55ZM0 -7L7 0L0 7L-7 0ZM96 -7L103 0L96 7L89 0ZM0 89L7 96L0 103L-7 96ZM96 89L103 96L96 103L89 96ZM45.5 -2.5h5v5h-5ZM45.5 93.5h5v5h-5ZM-2.5 45.5h5v5h-5ZM93.5 45.5h5v5h-5Z'/%3E%3C/svg%3E");
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #060b1c;
  --surface: #0c142e;
  --surface-2: #111b3b;
  --text: #eef1f8;
  --muted: #98a2bd;
  --line: rgba(255, 255, 255, .09);
  --grid: rgba(255, 255, 255, .045);
  --ring: rgba(50, 204, 54, .14);
  --accent: var(--green);
  --accent-text: var(--navy-deep);
  --kicker: var(--green);
  --header-bg: rgba(6, 11, 28, .72);
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 40px -16px rgba(0, 0, 0, .6);
  --dot-2: #3a66e6;
  --kunaa: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cpath fill='%23ffffff' fill-opacity='.035' fill-rule='evenodd' d='M48 24L72 48L48 72L24 48ZM48 28L68 48L48 68L28 48ZM48 36.5L52.5 41L48 45.5L43.5 41ZM41 43.5L45.5 48L41 52.5L36.5 48ZM55 43.5L59.5 48L55 52.5L50.5 48ZM48 50.5L52.5 55L48 59.5L43.5 55ZM0 -7L7 0L0 7L-7 0ZM96 -7L103 0L96 7L89 0ZM0 89L7 96L0 103L-7 96ZM96 89L103 96L96 103L89 96ZM45.5 -2.5h5v5h-5ZM45.5 93.5h5v5h-5ZM-2.5 45.5h5v5h-5ZM93.5 45.5h5v5h-5Z'/%3E%3C/svg%3E");
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--kunaa) center top / 96px 96px, var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--green); color: var(--navy-deep); }

[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--accent); color: var(--accent-text);
  padding: 10px 16px; border-radius: 999px; transition: top .2s;
}
.skip:focus { top: 12px; }

/* Icons (Hugeicons, stroke-based) */
.i { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.5; flex: none; }
.i-xl { width: 44px; height: 44px; stroke-width: 1; }
.i-hero { width: 56px; height: 56px; stroke-width: 1; }
/* Flaticon UIcons (filled glyphs) */
.i-fill { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  height: 52px; padding: 0 24px; border-radius: 999px;
  font-weight: 500; font-size: 1rem; letter-spacing: -.005em; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn:active { transform: scale(.97); }
.btn-solid { background: var(--accent); color: var(--accent-text); }
.btn-solid:hover { background: var(--green); color: var(--navy-deep); }
.btn-ghost { border: 1px solid var(--line); background: var(--surface); }
.btn-ghost:hover { border-color: var(--green); }
.btn-outline { height: 42px; padding: 0 18px; border: 1px solid var(--green); color: var(--text); }
.btn-outline:hover { background: var(--green); color: var(--navy-deep); }

.icon-btn {
  width: 44px; height: 44px; border-radius: 50%;
  display: inline-grid; place-items: center;
  border: 1px solid var(--line);
  transition: background-color .2s, border-color .2s, transform .2s var(--ease);
}
.icon-btn:hover { border-color: var(--green); }
.icon-btn:active { transform: scale(.94); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: transparent;
  transition: background-color .3s, box-shadow .3s, backdrop-filter .3s;
}
.site-header.is-scrolled {
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.header-row { height: 100%; display: flex; align-items: center; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; margin-inline-end: auto; }
.brand img { width: 40px; height: 40px; }
.brand-name { font-weight: 600; font-size: 1.2rem; letter-spacing: -.02em; }

.nav { display: none; }
.header-tools { display: flex; align-items: center; gap: 8px; }
.header-cta { display: none; }

.lang {
  display: none;
  align-items: center; padding: 3px; gap: 2px;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: .82rem;
}
.header-tools > .lang { display: inline-flex; }
/* phones: language switch sits beside the theme button, so keep it compact */
@media (max-width: 479px) {
  .header-tools { gap: 6px; }
  .header-tools > .lang .lang-btn { height: 32px; padding: 0 10px; }
}
/* very small phones: the round logo alone carries the brand */
@media (max-width: 359px) {
  .brand-name { display: none; }
}
.lang-btn { height: 34px; padding: 0 12px; border-radius: 999px; color: var(--muted); transition: background-color .2s, color .2s; }
.lang-btn[lang="dv"] { font-family: "MV Faseyha", "Faruma", "Noto Sans Thaana", system-ui, sans-serif; font-size: .95rem; }
.lang-btn.is-active { background: var(--surface-2); color: var(--text); }

.theme-toggle .i-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .i-sun { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .i-moon { display: block; }
}

/* Hamburger: two lines that fold into an X */
.burger { position: relative; width: 18px; height: 12px; }
.burger i {
  position: absolute; left: 0; height: 1.5px; border-radius: 2px; background: currentColor;
  transition: transform .4s var(--ease), width .4s var(--ease), top .4s var(--ease);
}
.burger i:first-child { top: 2px; width: 18px; }
.burger i:last-child { top: 9px; width: 12px; }
.menu-toggle[aria-expanded="true"] .burger i { top: 5.5px; width: 18px; }
.menu-toggle[aria-expanded="true"] .burger i:first-child { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .burger i:last-child { transform: rotate(-45deg); }

/* Mobile menu: a floating glass card under the header */
.sheet {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  background: rgba(6, 14, 40, .18);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  opacity: 0; transition: opacity .3s var(--ease);
}
.sheet.is-open { opacity: 1; }
.sheet[hidden] { display: none; }
.sheet-inner {
  margin: 6px 0 0; margin-inline: auto 12px; width: min(340px, calc(100vw - 24px));
  max-height: calc(100dvh - var(--header-h) - 18px); overflow-y: auto;
  padding: 8px 8px 14px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  -webkit-backdrop-filter: blur(24px) saturate(170%); backdrop-filter: blur(24px) saturate(170%);
  box-shadow: 0 28px 60px -24px rgba(6, 20, 60, .45);
  transform-origin: top right;
  transform: translateY(-10px) scale(.96); opacity: 0;
  transition: transform .4s var(--ease), opacity .3s var(--ease);
}
.sheet.is-open .sheet-inner { transform: none; opacity: 1; }
.sheet-nav { display: grid; }
.sheet-nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 12px; border-radius: var(--radius-sm);
  font-size: 1.08rem; font-weight: 500; letter-spacing: -.015em;
  transition: background-color .2s;
}
.sheet-nav a:hover, .sheet-nav a:focus-visible { background: var(--surface-2); }
.sheet-nav a span:first-child { font-size: .72rem; color: var(--muted); width: 18px; font-variant-numeric: tabular-nums; }
.sheet-nav a .i { margin-inline-start: auto; width: 16px; height: 16px; color: var(--muted); transition: transform .25s var(--ease), color .2s; }
.sheet-nav a:hover .i { transform: translateX(3px); color: var(--accent); }
.sheet-foot {
  display: grid; gap: 12px; margin-top: 8px; padding: 14px 6px 0;
  border-top: 1px solid var(--line);
}
.sheet-row { display: flex; gap: 8px; align-items: center; }
.sheet-row .btn { flex: 1; min-width: 0; height: 44px; padding: 0 14px; font-size: .95rem; }
.sheet .socials { display: grid; grid-template-columns: repeat(auto-fit, minmax(38px, 1fr)); gap: 4px; justify-items: center; }
.sheet .socials a { width: 40px; height: 40px; }
.sheet .socials .i { width: 20px; height: 20px; }
/* links and footer rise in one after another */
.sheet-nav a, .sheet-foot {
  opacity: 0; transform: translateY(8px);
  transition: opacity .3s var(--ease), transform .4s var(--ease), background-color .2s;
}
.sheet.is-open .sheet-nav a, .sheet.is-open .sheet-foot { opacity: 1; transform: none; }
.sheet.is-open .sheet-nav a:nth-child(1) { transition-delay: .05s; }
.sheet.is-open .sheet-nav a:nth-child(2) { transition-delay: .09s; }
.sheet.is-open .sheet-nav a:nth-child(3) { transition-delay: .13s; }
.sheet.is-open .sheet-nav a:nth-child(4) { transition-delay: .17s; }
.sheet.is-open .sheet-nav a:nth-child(5) { transition-delay: .21s; }
.sheet.is-open .sheet-nav a:nth-child(6) { transition-delay: .25s; }
.sheet.is-open .sheet-foot { transition-delay: .3s; }
.sheet.is-open .sheet-nav a:hover { transition-delay: 0s; }
body.sheet-open { overflow: hidden; }
body.sheet-open .fab { opacity: 0; pointer-events: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--bg);   /* the hero keeps its own grid, no kunaa pattern */
  padding-block: 28px 28px;
  min-height: calc(100svh - var(--header-h));
  display: flex; flex-direction: column;
  margin-top: calc(var(--header-h) * -1);
  padding-top: calc(var(--header-h) + 28px);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(60% 50% at 80% 20%, rgba(50, 204, 54, .10), transparent 70%);
}
:root[data-theme="dark"] .hero::before {
  background:
    radial-gradient(55% 45% at 25% 30%, rgba(6, 48, 160, .45), transparent 70%),
    radial-gradient(40% 35% at 85% 70%, rgba(50, 204, 54, .10), transparent 70%);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hero::before {
    background:
      radial-gradient(55% 45% at 25% 30%, rgba(6, 48, 160, .45), transparent 70%),
      radial-gradient(40% 35% at 85% 70%, rgba(50, 204, 54, .10), transparent 70%);
  }
}
.hero-grid {
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 35%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 35%, transparent 80%);
}
.hero-inner {
  flex: 1;
  display: grid;
  grid-template-areas: "copy" "visual" "actions" "controls";
  align-content: start;
}

.slides { grid-area: copy; display: grid; padding-top: 6px; }
.slide {
  grid-area: 1 / 1;
  opacity: 0; visibility: hidden;
  transition: opacity .7s var(--ease), visibility 0s linear .7s;
}
.slide.is-active { opacity: 1; visibility: visible; transition: opacity .7s var(--ease), visibility 0s; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .85rem; color: var(--muted);
  padding: 6px 14px 6px 10px;
  border: 1px solid var(--line); border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 70%, transparent);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(50, 204, 54, .18); }

.display {
  margin-top: 22px;
  font-size: clamp(2.7rem, 12.5vw, 7rem);
  line-height: .98;
  font-weight: 500;
  letter-spacing: -.045em;
  font-variation-settings: "opsz" 96;
  text-wrap: balance;
}
.pill {
  position: relative;
  display: inline-block;
  color: var(--navy-deep);
  background: linear-gradient(180deg, #45d949, var(--green));
  padding: 0 .16em .04em;
  border-radius: .2em;
  box-shadow: inset 0 -.06em 0 rgba(4, 30, 102, .15);
  rotate: -2deg;
}
/* four-point sparkle */
.pill::after {
  content: ""; position: absolute; right: -.32em; top: -.22em;
  width: .34em; height: .34em; background: var(--green);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
}
.pill.no-spark::after { display: none; }
.slide .display > span, .slide .pill, .slide .lede, .slide .eyebrow {
  transition: transform .9s var(--ease), opacity .9s var(--ease);
}
.slide:not(.is-active) .display > span,
.slide:not(.is-active) .pill,
.slide:not(.is-active) .lede { transform: translateY(18px); opacity: 0; }
.slide.is-active .pill { transition-delay: .08s; }
.slide.is-active .display > span:last-child { transition-delay: .14s; }
.slide.is-active .lede { transition-delay: .22s; }

.lede { margin-top: 20px; max-width: 34ch; font-size: 1.06rem; color: var(--muted); text-wrap: balance; }

/* Hero visual: the full item cluster on slide 1, then a circular "lens"
   (green disc + navy ring, like the logo) zooms into details. */
.hero-visual {
  grid-area: visual;
  position: relative;
  width: min(78vw, 360px); aspect-ratio: 1;
  justify-self: center;
  margin-top: 16px;
  animation: float 9s ease-in-out infinite;
  pointer-events: none;   /* decoration only: its halftone overhangs and must not block the slide's links */
}
@keyframes float { 50% { translate: 0 -8px; } }
.halftone {
  position: absolute; inset: -10%; z-index: -1;
  background:
    radial-gradient(circle, var(--green) 1.7px, transparent 2.3px) 0 0 / 15px 15px,
    radial-gradient(circle, var(--dot-2) 1.4px, transparent 2px) 7.5px 7.5px / 15px 15px;
  -webkit-mask-image: radial-gradient(closest-side, #000 20%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 20%, transparent 100%);
  opacity: .45;
  transition: opacity .9s var(--ease), transform 1.4s var(--ease);
}
.lens {
  position: absolute; inset: 0;
  border-radius: 0;
  clip-path: circle(75% at 50% 50%);
  background: transparent;
  transition: clip-path 1.1s var(--ease), background-color .6s;
}
.lens img { width: 100%; height: 100%; transition: transform 1.4s var(--ease); }
.lens-ring {
  position: absolute; inset: 3%;
  border-radius: 50%;
  border: 6px solid var(--navy);
  box-shadow: 0 0 0 9px var(--green);
  opacity: 0; transform: scale(.92);
  transition: opacity .7s var(--ease), transform 1.1s var(--ease);
  pointer-events: none;
}
.hero:not([data-slide="0"]) .lens { clip-path: circle(47% at 50% 50%); background: #f4f8f1; }
.hero:not([data-slide="0"]) .lens-ring { opacity: 1; transform: none; }
.hero:not([data-slide="0"]) .halftone { opacity: .7; transform: scale(1.08); }
/* focus points: translate moves the item to the centre, then scale zooms in */
.hero[data-slide="1"] .lens img { transform: scale(1.15); }                           /* BML Rewards: voucher in front */
.hero[data-slide="2"] .lens img { transform: scale(1.6) translate(-18.9%, 4.1%); }   /* bucket, chairs, prayer mat */
.hero[data-slide="3"] .lens img { transform: scale(1.65) translate(8.7%, -23.5%); }  /* bodu beru, ohvalhu */
.hero[data-slide="4"] .lens img { transform: scale(1.15); }                           /* free delivery: badge in front */
.hero[data-slide="5"] .lens img { transform: scale(1.6) translate(1.8%, 20.2%); }    /* kunaa, ilolhu, clock */

/* Free delivery slide: logo-style badge (navy disc, green band) with a truck orbiting the ring */
.deliver-badge {
  position: absolute; left: 50%; top: 50%; width: 52%; aspect-ratio: 1;
  display: grid; place-content: center; justify-items: center; gap: 4px;
  padding: 10%; text-align: center; border-radius: 50%;
  color: #fff;
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 100%);
  box-shadow: 0 0 0 clamp(5px, 1.4vw, 8px) var(--green), 0 30px 60px -22px rgba(4, 30, 102, .6);
  opacity: 0; visibility: hidden;
  transform: translate(-50%, -50%) scale(.85);
  transition: opacity .6s var(--ease), transform .9s var(--ease), visibility 0s linear .9s;
}
.deliver-badge .i { width: clamp(26px, 8vw, 40px); height: clamp(26px, 8vw, 40px); color: var(--green); stroke-width: 1.25; }
.deliver-kicker { font-size: clamp(.6rem, 2.4vw, .78rem); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.deliver-title { font-size: clamp(.95rem, 4vw, 1.45rem); font-weight: 500; line-height: 1.1; letter-spacing: -.02em; text-wrap: balance; }
.deliver-orbit {
  position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible;
  opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility 0s linear .6s;
}
.deliver-track { fill: none; stroke: #fff; stroke-width: .6; stroke-dasharray: .1 2.4; stroke-linecap: round; opacity: .9; }
.deliver-truck circle { fill: var(--green); stroke: #fff; stroke-width: .8; }
.deliver-truck svg { fill: none; stroke: var(--navy-deep); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hero[data-slide="4"] .deliver-badge {
  opacity: 1; visibility: visible; transform: translate(-50%, -50%);
  transition: opacity .6s var(--ease) .15s, transform .9s var(--ease) .15s, visibility 0s;
}
.hero[data-slide="4"] .deliver-orbit { opacity: 1; visibility: visible; transition: opacity .6s var(--ease) .3s, visibility 0s; }
:root[lang="dv"] .deliver-title { font-family: var(--font-head); font-weight: 400; word-spacing: .22em; line-height: 1.5; }

/* BML Rewards voucher: a little poster card that slides over the lens */
.voucher {
  position: absolute; left: 50%; top: 50%; width: 74%;
  padding: 7% 7% 6%;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 100%);
  box-shadow: 0 30px 60px -22px rgba(4, 30, 102, .6), inset 0 0 0 1px rgba(255, 255, 255, .1);
  opacity: 0; visibility: hidden;
  transform: translate(-50%, -38%) rotate(2deg) scale(.9);
  transition: opacity .6s var(--ease), transform .9s var(--ease), visibility 0s linear .9s;
  pointer-events: none;
}
/* ticket notches */
.voucher::before, .voucher::after {
  content: ""; position: absolute; top: 62%; width: 22px; height: 22px; border-radius: 50%;
  background: #f4f8f1;
}
.voucher::before { left: -11px; }
.voucher::after { right: -11px; }
.hero[data-slide="1"] .voucher {
  opacity: 1; visibility: visible;
  transform: translate(-50%, -50%) rotate(-6deg);
  transition: opacity .6s var(--ease) .15s, transform .9s var(--ease) .15s, visibility 0s;
}
.voucher-top { display: flex; justify-content: space-between; align-items: center; }
.voucher-brand { display: flex; align-items: center; gap: 10px; }
.voucher-brand img { width: clamp(26px, 8vw, 36px); height: auto; border-radius: 4px; }
.eyebrow-logo { width: 20px; height: 20px; border-radius: 3px; }
.voucher-kicker { font-size: clamp(.62rem, 2.6vw, .78rem); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.voucher-top .i { width: 26px; height: 26px; color: var(--green); }
.voucher-title { margin-top: 10%; font-size: clamp(1.25rem, 6vw, 2rem); font-weight: 500; line-height: 1; letter-spacing: -.03em; }
.voucher-shop { margin-top: 4%; font-size: clamp(.78rem, 3vw, .95rem); color: rgba(255, 255, 255, .72); }
.voucher-shop b { color: #fff; font-weight: 600; }
.voucher-foot {
  margin-top: 9%; padding-top: 6%;
  border-top: 1.5px dashed rgba(255, 255, 255, .25);
  display: flex; justify-content: space-between; align-items: center;
  font-size: clamp(.68rem, 2.6vw, .82rem); color: rgba(255, 255, 255, .6); letter-spacing: .02em;
}
.voucher-foot img { width: 36px; height: 36px; }

.text-link {
  margin-top: 16px; display: inline-flex; align-items: center; gap: 6px;
  font-weight: 500; text-decoration: underline; text-decoration-color: var(--green); text-underline-offset: 5px;
}
.text-link .i { width: 18px; height: 18px; color: var(--accent); }
.slide .text-link { transition: opacity .9s var(--ease) .26s; }
.slide:not(.is-active) .text-link { opacity: 0; }

.hero-actions { grid-area: actions; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero-actions .btn { flex: 1 1 160px; }

.hero-controls { grid-area: controls; display: flex; align-items: center; gap: 16px; margin-top: 22px; }
.counter { display: flex; align-items: center; gap: 8px; font-size: .85rem; font-variant-numeric: tabular-nums; color: var(--muted); }
.counter-now { color: var(--text); }
.counter-sep { width: 18px; height: 1px; background: currentColor; }
.progress { display: flex; gap: 6px; flex: 1; }
.progress button { flex: 1; height: 24px; display: grid; align-items: center; }
.progress i { display: block; height: 2px; border-radius: 2px; background: var(--line); position: relative; overflow: hidden; }
.progress i::after {
  content: ""; position: absolute; inset: 0;
  background: var(--accent); transform-origin: left; transform: scaleX(0);
}
.progress [aria-selected="true"] i::after { animation: fill var(--slide-ms) linear forwards; }
.progress .is-done i::after { transform: scaleX(1); }
.hero.is-paused .progress [aria-selected="true"] i::after { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }
.arrows { display: none; gap: 8px; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(4.5rem, 12vw, 8.5rem); }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(2rem, 6vw, 3.5rem); }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--kicker);
}
.kicker::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.h2 {
  font-size: clamp(2rem, 8vw, 3.6rem);
  line-height: 1.02; font-weight: 500; letter-spacing: -.035em;
  max-width: 18ch; text-wrap: balance;
}

/* About */
.statement {
  margin-top: 22px;
  font-size: clamp(1.55rem, 6vw, 3rem);
  line-height: 1.18; font-weight: 400; letter-spacing: -.025em;
  max-width: 26ch; text-wrap: pretty;
}
.facts { margin-top: clamp(2.5rem, 8vw, 4.5rem); display: grid; gap: 0; }
.facts li { display: flex; align-items: center; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); }
.facts li:last-child { border-bottom: 1px solid var(--line); }
.facts strong {
  flex: none; width: 76px;
  font-size: 2.6rem; font-weight: 300; letter-spacing: -.04em; line-height: 1;
  color: var(--accent);
}
.facts span { color: var(--muted); max-width: 26ch; }

/* Categories */
.cat-grid { display: grid; gap: 10px; }
.cat {
  display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; row-gap: 4px; align-items: start;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .3s, transform .4s var(--ease), background-color .3s;
}
.cat .i-hero { grid-row: span 2; color: var(--accent); transition: transform .5s var(--ease), color .3s; }
.cat h3 { font-size: 1.2rem; font-weight: 500; letter-spacing: -.015em; align-self: end; }
.cat p { color: var(--muted); font-size: .95rem; }
.cat:hover { border-color: var(--green); }
.cat:hover .i-hero { transform: rotate(-6deg) scale(1.05); color: var(--green-ink); }
:root[data-theme="dark"] .cat:hover .i-hero { color: var(--green); }

/* Gallery — studio photos on a light grey backdrop, all 3:2, so tiles never crop */
.gallery-head { grid-template-columns: 1fr auto; align-items: end; }
.gallery-head .kicker, .gallery-head .h2 { grid-column: 1; }
.gallery-count {
  grid-column: 2; grid-row: 2; justify-self: end;
  font-size: .9rem; color: var(--muted); white-space: nowrap;
}
.gallery-count span:first-child { font-size: 2.6rem; font-weight: 300; letter-spacing: -.04em; line-height: 1; color: var(--accent); margin-inline-end: 4px; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.shot:nth-child(5n + 1) { grid-column: span 2; }   /* 1, 6, 11 run full width: no gaps with 13 photos */
.shot-btn {
  position: relative; display: block; width: 100%; padding: 0;
  overflow: hidden; isolation: isolate;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #e9e9e9; cursor: zoom-in;
  transition: border-color .3s;
}
/* photos keep their own proportions: the box takes its height from the image, never crops or stretches it */
.shot-btn img { display: block; width: 100%; height: auto; transition: transform .7s var(--ease); }
.shot-btn:hover { border-color: var(--green); }
.shot-btn:hover img { transform: scale(1.045); }
.shot-btn:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.shot-tag {
  position: absolute; inset-inline-start: 8px; bottom: 8px;
  max-width: calc(100% - 16px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  padding: 4px 10px; border-radius: 999px;
  font-size: .72rem; font-weight: 500; color: var(--navy-deep);
  background: rgba(255, 255, 255, .86); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 1px 2px rgba(11, 20, 48, .08);
}
.shot-zoom {
  position: absolute; inset-inline-end: 10px; top: 10px;
  width: 34px; height: 34px; padding: 8px; border-radius: 50%;
  color: #fff; background: var(--navy);
  opacity: 0; transform: scale(.8); transition: opacity .3s, transform .4s var(--ease);
}
.shot-btn:hover .shot-zoom, .shot-btn:focus-visible .shot-zoom { opacity: 1; transform: none; }
@media (max-width: 479px) {
  .shot:not(:nth-child(5n + 1)) .shot-tag { inset-inline-start: 6px; bottom: 6px; max-width: calc(100% - 12px); padding: 3px 8px; font-size: .66rem; }
}
:root[data-theme="dark"] .shot-btn img { filter: brightness(.93); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .shot-btn img { filter: brightness(.93); } }

/* Phones and tablets: a swipeable stack (JS adds .is-deck below 1024px).
   The next two photos fan out behind on either side so it is clear there are more. */
.gallery-grid.is-deck {
  display: grid; grid-template-columns: minmax(0, 1fr); align-items: start;
  margin: 12px 6% 0; max-width: 640px;
  touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.is-deck .shot {
  grid-area: 1 / 1;                 /* all cards share one cell, so they sit on top of each other */
  position: relative;
  transition: transform .45s var(--ease), opacity .35s !important;
  transition-delay: 0s !important;
  will-change: transform;
}
.is-deck .shot.is-dragging { transition: none !important; }
.is-deck .shot-btn { box-shadow: 0 14px 30px -18px rgba(11, 20, 48, .45); -webkit-user-drag: none; }
.is-deck .shot:not(.is-top) .shot-btn { filter: brightness(.9); }
.is-deck .shot:not(.is-top) .shot-tag { opacity: 0; }
@media (min-width: 720px) { .gallery-grid.is-deck { margin-inline: auto; } }
.is-deck .shot-btn img { pointer-events: none; }
.is-deck .shot-tag { inset-inline-start: 12px; bottom: 12px; max-width: calc(100% - 24px); padding: 5px 12px; font-size: .78rem; }
.is-deck .shot.is-top .shot-zoom { opacity: 1; transform: none; }
.deck-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 30px; }
.deck-nav[hidden] { display: none; }
.deck-count { min-width: 76px; text-align: center; color: var(--muted); font-size: .95rem; font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; }
.deck-now { color: var(--accent); font-weight: 600; }
[dir="rtl"] .deck-nav .i { transform: scaleX(-1); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: transparent; color: #fff;
  overflow: hidden;
}
.lightbox[open] { display: grid; place-items: center; animation: lb-in .3s var(--ease); }
.lightbox::backdrop { background: rgba(4, 12, 40, .9); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
@keyframes lb-in { from { opacity: 0; } }
/* every photo is 3:2, so size the box from whichever of width or height runs out first */
.lightbox { --lb-w: min(100vw - 32px, (100svh - 170px) * 1.5, 1200px); }
.lb-figure { display: grid; gap: 12px; width: var(--lb-w); margin: 0; }
.lb-img {
  display: block; width: 100%; height: auto;
  border-radius: var(--radius-sm); background: #e9e9e9;
  touch-action: pan-y; user-select: none; -webkit-user-drag: none;
}
.lb-img.is-swapping { animation: lb-swap .35s var(--ease); }
@keyframes lb-swap { from { opacity: .3; transform: scale(.985); } }
.lb-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: .9rem; }
.lb-tag { display: inline-flex; align-items: center; gap: 10px; color: var(--green); font-weight: 500; }
.lb-tag::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.lb-count { color: rgba(255, 255, 255, .7); font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; }
.lightbox .icon-btn { position: absolute; color: #fff; border-color: rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .06); }
.lightbox .icon-btn:hover { border-color: var(--green); }
.lb-close { top: 16px; inset-inline-end: 16px; }
.lb-prev, .lb-next { bottom: 16px; }
.lb-prev { inset-inline-start: calc(50% - 52px); }
.lb-next { inset-inline-end: calc(50% - 52px); }
[dir="rtl"] .lightbox .lb-prev .i, [dir="rtl"] .lightbox .lb-next .i { transform: scaleX(-1); }
body.lb-open { overflow: hidden; }

/* Outlets */
.outlet-list { border-top: 1px solid var(--line); }
.outlet {
  display: grid; grid-template-columns: 36px 1fr; gap: 10px;
  padding: 22px 4px; border-bottom: 1px solid var(--line);
  transition: background-color .25s;
}
.outlet-no { padding-top: 5px; font-size: .85rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.outlet h3 { font-size: 1.3rem; font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }
.outlet-addr { margin-top: 2px; color: var(--muted); }
.outlet-meta {
  margin-top: 6px; display: flex; flex-wrap: wrap; gap: 4px 16px;
  font-size: .85rem; color: var(--muted); font-variant-numeric: tabular-nums;
}
.credit { font-size: .72rem; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
:root[lang="dv"] .credit { font-size: .64rem; }   /* Dhivehi scales the root up; keep the credit the same small size */

/* Live open / closed status (filled by main.js) */
.outlet-status {
  margin-top: 8px; display: inline-flex; align-items: center; gap: 7px;
  padding: 4px 11px 4px 8px; border-radius: 999px;
  font-size: .82rem; font-weight: 500; font-variant-numeric: tabular-nums;
  background: color-mix(in srgb, var(--green) 16%, transparent); color: var(--kicker);
}
.outlet-status .i-fill { width: 17px; height: 17px; }
.outlet-status b { font-weight: 600; }
.outlet-status.is-soon { background: rgba(232, 160, 32, .16); color: #a86a00; }
.outlet-status.is-closed { background: rgba(226, 85, 79, .12); color: #c53a34; }
:root[data-theme="dark"] .outlet-status.is-soon { color: #f0b54a; }
:root[data-theme="dark"] .outlet-status.is-closed { color: #f07a74; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .outlet-status.is-soon { color: #f0b54a; }
  :root:not([data-theme="light"]) .outlet-status.is-closed { color: #f07a74; }
}

.outlet-actions { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 42px; padding: 0 13px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface);
  font-size: .92rem; font-weight: 500;
  transition: background-color .25s, border-color .25s, color .25s;
}
.chip .i { width: 19px; height: 19px; }
.chip:hover { border-color: var(--green); }
.chip-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.chip-primary:hover { background: var(--green); border-color: var(--green); color: var(--navy-deep); }

/* Opening hours: button under each outlet opens a glass popover */
.hours-btn {
  margin-top: 10px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 6px 6px 0;
  font-size: .92rem; font-weight: 500; color: var(--text);
}
.hours-btn .i { width: 19px; height: 19px; color: var(--accent); }
.hours-btn > span:nth-child(2) { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; transition: text-decoration-color .2s; }
.hours-btn:hover > span:nth-child(2) { text-decoration-color: var(--green); }
.hours-fri {
  font-size: .75rem; font-weight: 500; padding: 2px 8px; border-radius: 999px;
  background: color-mix(in srgb, var(--green) 16%, transparent); color: var(--kicker);
}
.hours-fri.is-closed { background: rgba(226, 85, 79, .12); color: #c53a34; }

.hours-pop {
  width: min(360px, calc(100vw - 32px));
  margin: auto; padding: 20px 22px 22px;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: var(--radius);
  color: var(--text);
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 24px 60px -20px rgba(6, 20, 60, .45);
  opacity: 0; transform: translateY(10px) scale(.97);
  transition: opacity .25s var(--ease), transform .3s var(--ease), overlay .3s allow-discrete, display .3s allow-discrete;
}
.hours-pop:popover-open { opacity: 1; transform: none; }
@starting-style { .hours-pop:popover-open { opacity: 0; transform: translateY(10px) scale(.97); } }
.hours-pop::backdrop { background: rgba(6, 11, 28, .25); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
:root[data-theme="dark"] .hours-pop { border-color: rgba(255, 255, 255, .12); box-shadow: 0 1px 0 rgba(255, 255, 255, .08) inset, 0 24px 60px -20px rgba(0, 0, 0, .8); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hours-pop { border-color: rgba(255, 255, 255, .12); box-shadow: 0 1px 0 rgba(255, 255, 255, .08) inset, 0 24px 60px -20px rgba(0, 0, 0, .8); }
}
.hours-pop-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.hours-pop-head .kicker { font-size: .7rem; }
.hours-pop h4 { margin: 4px 0 0; font-size: 1.3rem; font-weight: 500; letter-spacing: -.02em; line-height: 1.15; }
.hours-pop .icon-btn { width: 38px; height: 38px; flex: none; }
.hours-day { margin: 14px 0 4px; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.hours-list li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 9px 0; border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.hours-list li span:last-child { color: var(--text); font-weight: 500; font-variant-numeric: tabular-nums; }
.hours-list li.is-closed span:last-child { color: #c53a34; }
.hours-note { margin-top: 14px; font-size: .85rem; color: var(--muted); }

/* Corporate hotline band */
/* Free delivery tile (under the outlet list) */
.delivery {
  position: relative; overflow: hidden; isolation: isolate;
  margin-top: clamp(2.5rem, 7vw, 4rem);
  display: grid; gap: 8px;
  padding: 26px 20px 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
}
.delivery-copy { display: grid; gap: 8px; align-content: center; }
.delivery-title { font-size: clamp(1.45rem, 5.4vw, 2rem); font-weight: 500; letter-spacing: -.025em; line-height: 1.1; text-wrap: balance; }
.delivery-text { color: var(--muted); max-width: 42ch; }
.delivery-ways { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.delivery-ways li {
  display: inline-flex; align-items: center; gap: 7px;
  height: 34px; padding: 0 12px; border-radius: 999px;
  background: var(--surface-2); font-size: .85rem; font-weight: 500;
}
.delivery-ways .i { width: 17px; height: 17px; color: var(--accent); }

.delivery-art { position: relative; width: min(100%, 420px); justify-self: center; }
/* halftone behind the scene, same motif as the hero */
.delivery-art::before {
  content: ""; position: absolute; inset: 4% 0; z-index: -1;
  background:
    radial-gradient(circle, var(--green) 1.5px, transparent 2px) 0 0 / 14px 14px,
    radial-gradient(circle, var(--dot-2) 1.2px, transparent 1.8px) 7px 7px / 14px 14px;
  -webkit-mask-image: radial-gradient(closest-side, #000 15%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 15%, transparent 100%);
  opacity: .28;
}
.delivery-art svg { display: block; width: 100%; height: auto; overflow: visible; direction: ltr; }
.d-route {
  fill: none; stroke: var(--dot-2); stroke-width: 2; stroke-linecap: round;
  stroke-dasharray: .1 9; opacity: .55;
  animation: d-flow 1.1s linear infinite;
}
@keyframes d-flow { to { stroke-dashoffset: -18.2; } }
.d-band { fill: none; stroke: var(--green); stroke-width: 6; }   /* logo: green outer band… */
.d-disc { fill: var(--surface); stroke: var(--navy); stroke-width: 4; }   /* …navy ring */
.d-ic { fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.d-pulse { fill: none; stroke: var(--green); stroke-width: 2; }
.d-waves path { fill: none; stroke: var(--dot-2); stroke-width: 2; stroke-linecap: round; opacity: .6; }
.d-parcel circle { fill: var(--green); }
.d-parcel .d-ic { stroke: var(--navy-deep); }
.d-label { font-family: var(--font); font-size: 13px; font-weight: 500; fill: var(--muted); text-anchor: middle; }
:root[lang="dv"] .d-label { font-size: 18px; }   /* Thaana reads small at the same size */
:root[data-theme="dark"] .d-disc { stroke: var(--dot-2); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .d-disc { stroke: var(--dot-2); } }

.business { padding-bottom: 16px; }
.business-band {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; gap: 18px;
  padding: 24px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
}
/* halftone strip — same motif as the hero */
.business-band::after {
  content: ""; position: absolute; z-index: -1; right: 0; top: 0; bottom: 0; width: 45%;
  background:
    radial-gradient(circle, var(--green) 1.5px, transparent 2px) 0 0 / 14px 14px,
    radial-gradient(circle, var(--dot-2) 1.2px, transparent 1.8px) 7px 7px / 14px 14px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 85%);
  mask-image: linear-gradient(90deg, transparent, #000 85%);
  opacity: .22;
}
.business-icon { width: 48px; height: 48px; stroke-width: 1; color: var(--accent); }
.business-copy { display: grid; gap: 6px; }
.business-copy h2 { font-size: clamp(1.4rem, 5vw, 1.8rem); font-weight: 500; letter-spacing: -.025em; line-height: 1.1; }
.business-copy p:last-child { color: var(--muted); max-width: 52ch; }
.business-cta { justify-self: start; }

/* Contact */
.contact { padding-top: 0; padding-bottom: clamp(3rem, 8vw, 5rem); }
.contact-card {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--navy);
  color: #fff;
  border-radius: calc(var(--radius) + 6px);
  padding: 30px 20px 20px;
  display: grid; gap: 26px;
}
:root[data-theme="dark"] .contact-card { background: var(--surface); border: 1px solid var(--line); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .contact-card { background: var(--surface); border: 1px solid var(--line); }
}
.kicker-on-dark { color: var(--green); }
.contact-copy { display: grid; gap: 10px; }
.contact-title {
  font-size: clamp(1.6rem, 6.5vw, 2.3rem);
  line-height: 1.06; font-weight: 500; letter-spacing: -.03em;
  max-width: 20ch; text-wrap: balance;
}
.contact-copy p:last-child { color: rgba(255, 255, 255, .72); max-width: 40ch; }

/* Contact priority: Viber and Call as two equal pills, then the socials as equal round icons */
.contact-actions { display: grid; gap: 14px; }
.contact-main { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 8px; }   /* stacked on phones, side by side when there's room */
.contact-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 6px 18px;
  border-radius: 999px; text-align: center;
  font-weight: 600;
  transition: background-color .3s, border-color .3s;
}
.contact-btn .i { width: 22px; height: 22px; flex: none; }
/* Viber is the primary channel */
.contact-primary { background: var(--green); color: var(--navy-deep); }
.contact-primary:hover { background: #45d949; }
.contact-call { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); }
.contact-call .i { stroke-width: 1.25; }
.contact-call:hover { background: rgba(255, 255, 255, .14); border-color: var(--green); }

.contact-social { display: flex; justify-content: center; gap: 10px; }
.contact-social a {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  transition: background-color .3s, border-color .3s, color .3s;
}
.contact-social .i { width: 22px; height: 22px; stroke-width: 1.25; }
.contact-social a:hover { background: var(--green); border-color: var(--green); color: var(--navy-deep); }
.contact-ring {
  position: absolute; z-index: -1; width: 360px; aspect-ratio: 1; right: -170px; top: -190px;
  border-radius: 50%; border: 28px solid rgba(50, 204, 54, .16);
}

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 48px 28px; padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
.footer-row { display: grid; gap: 28px; }
.footer-brand { display: flex; gap: 16px; align-items: center; color: var(--muted); font-size: .95rem; }
.footer-brand img { width: 56px; height: 56px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-nav a:hover, .to-top:hover { color: var(--green-ink); }
.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.socials a {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); transition: background-color .25s, border-color .25s, color .25s;
}
.socials .i { width: 22px; height: 22px; }
.socials a:hover { background: var(--green); border-color: var(--green); color: var(--navy-deep); }
.footer-base { margin-top: 36px; display: flex; justify-content: space-between; align-items: center; font-size: .85rem; color: var(--muted); }
.to-top { display: inline-flex; align-items: center; gap: 6px; }
.to-top .i { rotate: -45deg; }

/* Floating WhatsApp */
.fab {
  position: fixed; inset-inline-end: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--green); color: var(--navy-deep);
  box-shadow: 0 10px 28px -8px rgba(6, 48, 160, .45);
  transition: transform .35s var(--ease), opacity .35s;
}
.fab .i { width: 28px; height: 28px; }
.fab.is-hidden { transform: translateY(90px); opacity: 0; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: calc(88px + env(safe-area-inset-bottom)); z-index: 60;
  translate: -50% 0;
  max-width: calc(100% - 32px);
  padding: 12px 18px; border-radius: 14px;
  background: var(--text); color: var(--bg);
  font-size: .92rem; text-align: center;
  opacity: 0; transform: translateY(10px); pointer-events: none;
  transition: opacity .3s, transform .3s var(--ease);
}
.toast.is-on { opacity: 1; transform: none; }

/* Scroll reveal (only when JS is running) */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- ≥ 480px ---------- */
@media (min-width: 480px) {
  .hero-actions .btn { flex: 0 0 auto; }
}

/* ---------- ≥ 720px ---------- */
@media (min-width: 720px) {
  :root { --gutter: 32px; --header-h: 76px; }
  .header-cta { display: inline-flex; }
  .fab { display: none; }
  .hero-visual { width: min(70vw, 480px); }
  .lede { font-size: 1.15rem; }
  .facts { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .facts li { flex-direction: column; align-items: flex-start; border-bottom: 1px solid var(--line); }
  .facts strong { width: auto; font-size: 3.4rem; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-card { padding: 36px; }
  .business-band { grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; padding: 28px 36px; }
  .delivery { grid-template-columns: minmax(0, 1fr) minmax(0, 400px); align-items: center; gap: 32px; padding: 32px 36px; }
  .business-cta { justify-self: end; }
  .footer-row { grid-template-columns: 1.4fr 1fr auto; align-items: center; }
  .arrows { display: flex; }
}

/* ---------- ≥ 1024px ---------- */
@media (min-width: 1024px) {
  .nav {
    display: flex; gap: 2px; padding: 4px;
    margin-inline: auto;
    border: 1px solid var(--line); border-radius: 999px;
    background: color-mix(in srgb, var(--surface) 60%, transparent);
    font-size: .95rem;
  }
  .nav a { padding: 9px 16px; border-radius: 999px; color: var(--muted); transition: color .2s, background-color .2s; }
  .nav a:hover { color: var(--text); }
  .nav a.is-active { background: var(--surface-2); color: var(--text); }
  .brand { margin-inline-end: 0; flex: 1; }
  .header-tools { flex: 1; justify-content: flex-end; }
  .menu-toggle { display: none; }

  .hero { min-height: min(100svh, 920px); padding-bottom: 36px; }
  .hero-inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    grid-template-rows: 1fr auto auto;
    grid-template-areas: "copy visual" "actions visual" "controls controls";
    column-gap: 48px;
  }
  .slides { align-self: end; }
  .slide { align-self: end; }
  .display { font-size: clamp(3.8rem, 6vw, 6.4rem); max-width: 11ch; }
  .lede { max-width: 40ch; text-wrap: pretty; }
  .hero-visual { width: min(100%, 600px); justify-self: end; align-self: center; margin-top: 0; }
  .hero-actions { margin-top: 34px; align-self: start; }
  .hero-controls { padding-top: 36px; }
  .progress { max-width: 280px; }

  .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .cat { grid-template-columns: 1fr; padding: 32px; min-height: 280px; align-content: space-between; row-gap: 8px; }
  .cat .i-hero { grid-row: auto; width: 64px; height: 64px; margin-bottom: auto; }
  .cat h3 { margin-top: 64px; font-size: 1.4rem; }

  /* row gap = column gap ÷ 1.5, so the big photo spanning 2 × 2 is exactly the same 3:2 shape as the small ones */
  .gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 15px; align-items: start; }
  .shot:nth-child(5n + 1) { grid-column: auto; }
  .shot:first-child { grid-column: span 2; grid-row: span 2; }   /* 4 + 12 = a clean 4 × 4 */
  .shot-btn { border-radius: var(--radius); }
  .shot-tag { inset-inline-start: 12px; bottom: 12px; font-size: .78rem; }
  .shot:first-child .shot-tag { inset-inline-start: 20px; bottom: 20px; font-size: .9rem; padding: 6px 14px; }
  .lightbox { --lb-w: min(100vw - 200px, (100svh - 120px) * 1.5, 1200px); }
  .lb-prev, .lb-next { bottom: auto; top: calc(50% - 22px); width: 52px; height: 52px; }
  .lb-prev { inset-inline-start: 32px; }
  .lb-next { inset-inline-end: 32px; }
  .lb-close { top: 24px; inset-inline-end: 32px; }

  .outlet-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
  .outlet { padding: 28px 12px 28px 0; grid-template-columns: 56px 1fr; }
  .outlet h3 { font-size: 1.5rem; }

  .contact-card { grid-template-columns: minmax(0, 1fr) minmax(0, 540px); align-items: center; gap: 48px; padding: 40px 44px; }
  .contact-social { justify-content: flex-start; }
}

/* Seven nav links need ~1300px; keep the menu button below that */
@media (min-width: 1024px) and (max-width: 1299px) {
  .nav { display: none; }
  .menu-toggle { display: inline-grid; }
  .brand { flex: none; margin-inline-end: auto; }
  .header-tools { flex: none; }
}

/* ---------- Dhivehi (lang="dv", dir="rtl") ----------
   Latin text and numbers stay in Bricolage; Thaana falls through to Noto Sans Thaana.
   Thaana needs room above and below the line for its vowel marks (fili),
   and no tight letter-spacing. */
/* Faruma for text, MV Waheed for headlines. Thaana-only fonts, so they are
   limited to the Thaana range and only download when Dhivehi is on screen. */
@font-face {
  font-family: "Faruma"; src: url("../fonts/faruma.woff2") format("woff2");
  font-weight: 400; font-display: swap;
  unicode-range: U+0780-07BF, U+060C, U+061B, U+061F, U+FDF2;
}
@font-face {
  font-family: "MV Waheed"; src: url("../fonts/mv-waheed.woff2") format("woff2");
  font-weight: 400; font-display: swap;
  unicode-range: U+0780-07BF, U+060C, U+061B, U+061F, U+FDF2;
}
:root[lang="dv"] {
  --font: "Bricolage Grotesque", "Faruma", "Noto Sans Thaana", system-ui, sans-serif;
  --font-head: "Bricolage Grotesque", "MV Waheed", "Faruma", "Noto Sans Thaana", system-ui, sans-serif;
  font-size: 112.5%;
  font-synthesis: none;   /* both fonts have one weight: no fake bold */
}
:root[lang="dv"] .display,
:root[lang="dv"] .h2,
:root[lang="dv"] .contact-title,
:root[lang="dv"] .business-copy h2,
:root[lang="dv"] .voucher-title,
:root[lang="dv"] .delivery-title,
:root[lang="dv"] .outlet h3,
:root[lang="dv"] .hours-pop h4,
:root[lang="dv"] .cat h3 {
  font-family: var(--font-head); font-weight: 400;
  word-spacing: .22em;   /* spaces come from Bricolage and are too thin beside Waheed */
}
:root[lang="dv"] body * { letter-spacing: 0 !important; }
:root[lang="dv"] .display { font-size: clamp(2.1rem, 10.5vw, 5rem); line-height: 1.32; }
:root[lang="dv"] .pill { padding: .02em .22em .1em; }
:root[lang="dv"] .statement,
:root[lang="dv"] .h2,
:root[lang="dv"] .contact-title,
:root[lang="dv"] .business-copy h2,
:root[lang="dv"] .voucher-title { line-height: 1.45; }
:root[lang="dv"] .lede,
:root[lang="dv"] p { line-height: 1.8; }
:root[lang="dv"] .outlet h3,
:root[lang="dv"] .hours-pop h4,
:root[lang="dv"] .cat h3 { line-height: 1.5; }

/* mirror direction-bound details */
[dir="rtl"] .arrows .i,
[dir="rtl"] .sheet-nav a .i,
[dir="rtl"] .hero-actions .i-arrow-right { transform: scaleX(-1); }
[dir="rtl"] .sheet-nav a:hover .i { transform: scaleX(-1) translateX(3px); }
[dir="rtl"] .text-link .i { transform: scaleX(-1); }   /* not .to-top: "up" is the same in both directions */
[dir="rtl"] .progress i::after { transform-origin: right; }
[dir="rtl"] .sheet-inner { transform-origin: top left; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
