/* =========================================================================
   LAHORE LEGACY — lean edition
   Palette: Warm Ivory · Sandstone · Antique Gold · Deep Charcoal ·
            Midnight Navy · Muted Burgundy · Warm White
   ========================================================================= */

:root {
  --ivory: #F4EFE5; --sand: #C9B89A; --gold: #B28A45; --gold-2: #D1B27A;
  --charcoal: #17191B; --navy: #172333; --navy-2: #1D2B3E; --burgundy: #632F36; --white: #FAF8F3;
  --ink: #23272B; --ink-soft: #5E5850;
  --dim: rgba(244, 239, 229, 0.74); --faint: rgba(244, 239, 229, 0.5);
  --line: rgba(201, 184, 154, 0.22); --line-2: rgba(201, 184, 154, 0.42);
  --ok: #7FB48F; --bad: #C4615A;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --urdu: "Noto Naskh Arabic", "Noto Nastaliq Urdu", serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --top: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--charcoal); color: var(--ivory); font: 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--gold-2); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.08; margin: 0 0 0.4em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); }
h1 em { font-style: italic; font-weight: 500; color: var(--sand); }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
p { margin: 0 0 1em; }
.eyebrow { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-2); margin: 0 0 0.8rem; }
.lead { font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.45; color: var(--dim); max-width: 36em; }
.hint { font-size: 0.85rem; color: var(--faint); margin: -0.2rem 0 1rem; }
.credit { font-size: 0.7rem; line-height: 1.5; color: var(--faint); margin: 0.6rem 0 0; }
.credit a { color: var(--dim); }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.wrap-narrow { width: min(760px, 100% - 40px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; z-index: 99; background: var(--gold); color: var(--charcoal); padding: 6px 12px; }
.skip:focus { inset-inline-start: 8px; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; }

/* ---------- Urdu blocks (history + key visitor info) ----------
   The interface is English. Any element with lang="ur" switches to Naskh,
   a clear, easy-to-read Urdu typeface, with roomier line spacing. */
body { font-family: var(--sans), var(--urdu), sans-serif; }
[lang="ur"] { font-family: var(--urdu), serif; line-height: 1.95; }
[lang="ur"][dir="rtl"] { text-align: right; }
.story[lang="ur"] { font-size: clamp(1.2rem, 2.2vw, 1.42rem); line-height: 2.1; font-weight: 500; }
.story[lang="ur"]::first-letter { float: none; font-size: inherit; padding: 0; color: inherit; }
.facts[lang="ur"] li { font-size: 1.1rem; }
.facts[lang="ur"] li::before { font-family: var(--serif); }
.look[lang="ur"] label { font-size: 1.05rem; }
.visit dl[lang="ur"] dt { letter-spacing: 0; text-transform: none; font-size: 1rem; font-weight: 700; }
.visit dl[lang="ur"] dd { font-size: 1.05rem; }
.quick dd[lang="ur"] { font-size: 1.02rem; line-height: 1.7; }
div[lang="ur"] .q { font-family: var(--urdu); font-weight: 700; line-height: 1.75; }
div[lang="ur"] .answer { font-size: 1.06rem; line-height: 1.7; }
.card__line[lang="ur"] { font-size: 1.02rem; line-height: 1.85; }
.card__ur, .site__ur, .tour__ur, h3 [lang="ur"], b [lang="ur"], .tour-list [lang="ur"] { color: var(--sand); font-weight: 500; }
.card__ur { font-size: 0.95rem; margin-inline-start: 0.35rem; }
.site__ur { font-size: 1.5rem; margin: 0.3rem 0 0; }
.tour__ur { display: block; font-size: 1.15rem; margin-top: 0.2rem; }
.pill--lang.is-ur { font-family: var(--urdu); font-size: 0.95rem; font-weight: 600; }

/* ---------- Buttons & pills ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5em; min-height: 50px; padding: 0 1.6em; border: 1px solid transparent; border-radius: 2px; font-weight: 600; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; transition: background 0.25s, border-color 0.25s, transform 0.2s; text-decoration: none !important; }
.btn--gold { background: var(--gold); color: var(--charcoal); }
.btn--gold:hover { background: var(--gold-2); }
.btn--ghost { border-color: var(--line-2); color: var(--ivory); background: transparent; }
.btn--ghost:hover { border-color: var(--ivory); }
.btn:active { transform: translateY(1px); }
.actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.actions.center { justify-content: center; }
.pill { display: inline-flex; align-items: center; gap: 0.55rem; height: 36px; padding: 0 0.9rem; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ivory); font-size: 0.82rem; text-decoration: none !important; }
.pill:hover { border-color: var(--sand); }
.dots { display: inline-flex; gap: 3px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--line-2); }
.dots i.half { background: rgba(201, 184, 154, 0.45); border-color: transparent; }
.dots i.on { background: var(--gold-2); border-color: var(--gold-2); }
.linkish { background: none; border: 0; padding: 0; color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Header ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--top); display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0 clamp(14px, 3vw, 36px); background: linear-gradient(rgba(23, 25, 27, 0.7), rgba(23, 25, 27, 0)); transition: background 0.3s; }
body.is-scrolled .top { background: rgba(23, 25, 27, 0.95); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.brand { display: flex; align-items: center; gap: 0.55rem; color: var(--gold-2); text-decoration: none !important; }
.brand svg { width: 24px; height: 24px; }
.brand span { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; color: var(--ivory); }
.brand em { color: var(--gold-2); font-weight: 500; }
.nav { display: flex; gap: 0.2rem; }
.nav a { padding: 0.45rem 0.85rem; color: var(--dim); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a.is-active { color: var(--ivory); border-bottom-color: var(--gold-2); }
.top__right { display: flex; gap: 0.5rem; }

/* ---------- Page transition ---------- */
main { min-height: 70vh; outline: none; }
main.is-in { animation: fade 0.5s var(--ease) both; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Media ---------- */
.media { position: relative; overflow: hidden; background: var(--navy-2); }
.media.is-loading::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(244, 239, 229, 0.06) 50%, transparent 70%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.media img, .media svg { width: 100%; height: 100%; object-fit: cover; }
.media img { opacity: 0; transition: opacity 0.8s var(--ease), transform 1.2s var(--ease); }
.media.is-ready img { opacity: 1; }
.media__label { position: absolute; z-index: 2; inset-inline-start: 10px; top: 10px; font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.3em 0.6em; background: rgba(23, 25, 27, 0.85); color: var(--sand); }

/* ---------- Home ---------- */
.hero { position: relative; min-height: 92vh; min-height: 92svh; display: grid; align-items: end; padding: calc(var(--top) + 2rem) clamp(20px, 6vw, 80px) clamp(3rem, 9vh, 6rem); isolation: isolate; }
.hero__photo { position: absolute; inset: 0; z-index: -2; }
.hero__photo .media { position: absolute; inset: 0; }
.hero__photo img { animation: push 24s ease-out both; }
@keyframes push { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(23, 25, 27, 0.9), rgba(23, 25, 27, 0.45) 55%, rgba(23, 25, 27, 0.1)), linear-gradient(to top, var(--charcoal), transparent 40%); }
html[dir="rtl"] .hero::before { background: linear-gradient(270deg, rgba(23, 25, 27, 0.9), rgba(23, 25, 27, 0.45) 55%, rgba(23, 25, 27, 0.1)), linear-gradient(to top, var(--charcoal), transparent 40%); }
.hero__inner { max-width: 700px; }
.hero__inner .lead { margin-bottom: 2rem; }
.hero__progress { margin: 1.4rem 0 0; font-size: 0.85rem; color: var(--sand); }
.hero__credit { position: absolute; inset-inline-end: 20px; bottom: 14px; max-width: 55%; text-align: end; }

.section-title { text-align: center; margin: 4.5rem 0 2rem; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.card { position: relative; display: flex; flex-direction: column; background: var(--navy); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; color: var(--ivory); text-decoration: none !important; transition: transform 0.4s var(--ease), border-color 0.3s; animation: fade 0.6s var(--ease) both; }
.card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.card .media { aspect-ratio: 4 / 3; }
.card:hover img { transform: scale(1.04); }
.card__body { padding: 1.1rem 1.25rem 1.3rem; }
.card__meta { display: flex; justify-content: space-between; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-2); margin: 0 0 0.4rem; }
.card h3 { font-size: 1.65rem; margin: 0; }
.card p:last-child { margin: 0; color: var(--dim); font-size: 0.92rem; }
.card__stamp { position: absolute; z-index: 2; top: 12px; inset-inline-end: 12px; padding: 0.25em 0.65em; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; background: var(--burgundy); color: var(--white); }

.duo { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.1rem; margin-top: 4.5rem; margin-bottom: 5rem; }
.band { display: block; border-radius: 8px; overflow: hidden; color: var(--ivory); text-decoration: none !important; border: 1px solid var(--line); }
.band--photo { position: relative; min-height: 380px; display: grid; align-items: end; isolation: isolate; }
.band__media { position: absolute; inset: 0; z-index: -2; }
.band__media .media { position: absolute; inset: 0; }
.band--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(23, 25, 27, 0.95), rgba(23, 25, 27, 0.2) 70%); }
.band__text { padding: 2rem; }
.band__text p { color: var(--dim); }
.band .link { color: var(--gold-2); font-weight: 600; font-size: 0.85rem; }
.band--photo:hover img { transform: scale(1.03); }
.band--quiz { background: var(--white); color: var(--ink); padding: 2rem; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; border-color: transparent; border-top: 3px solid var(--burgundy); }
.band--quiz .eyebrow { color: var(--burgundy); }
.band--quiz h2 { color: var(--charcoal); }
.band--quiz p { color: var(--ink-soft); }
.band--quiz .best b { color: var(--burgundy); }
.band--cert { margin-top: 3rem; display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.5rem; align-items: center; padding: 2rem; background: var(--navy); border-top: 3px solid var(--gold); }
.band--cert p { color: var(--dim); margin: 0; }
.cert-form { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.input { flex: 1; min-width: 180px; height: 50px; padding: 0 0.9rem; border-radius: 2px; border: 1px solid var(--line-2); background: rgba(23, 25, 27, 0.5); color: var(--ivory); font: inherit; }
.input:focus { outline: none; border-color: var(--sand); }

/* ---------- Site page ---------- */
.site__hero { position: relative; min-height: 78vh; min-height: 78svh; display: grid; align-items: end; padding: calc(var(--top) + 1rem) clamp(20px, 6vw, 80px) 3rem; isolation: isolate; }
.site__photo { position: absolute; inset: 0; z-index: -2; }
.site__photo .media { position: absolute; inset: 0; }
.site__photo img { animation: push 20s ease-out both; }
.site__hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, var(--charcoal) 2%, rgba(23, 25, 27, 0.35) 55%, rgba(23, 25, 27, 0.25)); }
.site__title h1 { margin: 0; }
.back { display: inline-block; margin-bottom: 1.4rem; font-size: 0.82rem; color: var(--dim); }
.site__credit { position: absolute; inset-inline-end: 20px; bottom: 12px; max-width: 55%; text-align: end; }
.site__body { padding: 2.5rem 0 5rem; }
.story { font-family: var(--serif); font-size: clamp(1.35rem, 2.4vw, 1.7rem); line-height: 1.5; color: var(--ivory); margin: 0 0 3rem; }
.story::first-letter { float: inline-start; font-size: 3.4em; line-height: 0.85; padding-inline-end: 0.08em; color: var(--gold-2); font-weight: 600; }
.block { padding: 2.2rem 0; border-top: 1px solid var(--line); }
.block h2 { margin-bottom: 1rem; }
.facts { list-style: none; counter-reset: f; margin: 0; padding: 0; display: grid; gap: 1rem; }
.facts li { counter-increment: f; display: grid; grid-template-columns: 2.4rem 1fr; gap: 0.6rem; align-items: baseline; font-size: 1.02rem; }
.facts li::before { content: counter(f, decimal-leading-zero); font-family: var(--serif); font-size: 1.5rem; color: var(--gold-2); font-style: italic; }
.look { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.look label { display: flex; gap: 0.85rem; align-items: flex-start; padding: 0.85rem 1rem; border: 1px solid var(--line); border-radius: 6px; cursor: pointer; transition: border-color 0.25s, background 0.25s; }
.look label:hover { border-color: var(--sand); }
.look input { appearance: none; flex: none; width: 22px; height: 22px; margin: 0.15em 0 0; border: 1px solid var(--line-2); border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.look input:checked { background: var(--gold-2); border-color: var(--gold-2); }
.look input:checked::after { content: "✓"; color: var(--charcoal); font-size: 0.75rem; font-weight: 700; }
.look input:checked + span { color: var(--faint); text-decoration: line-through; text-decoration-color: var(--line-2); }

.compare { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 6px; background: var(--navy-2); user-select: none; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare__old { clip-path: inset(0 calc(100% - var(--pos)) 0 0); filter: sepia(0.15); }
.compare__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--white); box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); pointer-events: none; }
.compare__line::after { content: "↔"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--white); color: var(--charcoal); font-weight: 700; }
.compare__tag { position: absolute; top: 12px; padding: 0.2em 0.6em; background: rgba(23, 25, 27, 0.8); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; pointer-events: none; }
.compare__tag--then { left: 12px; } .compare__tag--now { right: 12px; }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; direction: ltr; }

.strip { display: flex; gap: 0.6rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.6rem; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.strip__item { flex: 0 0 min(72%, 300px); scroll-snap-align: start; padding: 0; border: 0; background: none; text-align: start; }
.strip__item .media { aspect-ratio: 4 / 3; border-radius: 4px; }
.strip__item span { display: block; font-size: 0.78rem; color: var(--dim); margin-top: 0.35rem; }
.strip__item:hover img { transform: scale(1.04); }

.visit dl { margin: 0; display: grid; gap: 0; }
.visit dl div { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
.visit dt { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-2); padding-top: 0.2em; }
.visit dd { margin: 0; color: var(--dim); }
.visit .hint { margin-top: 1rem; }

.q { font-family: var(--serif); font-size: 1.45rem; line-height: 1.35; margin: 0.4rem 0 1rem; }
.q--big { font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
.answers { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.answer { text-align: start; padding: 0.9rem 1rem; border-radius: 4px; border: 1px solid var(--line); background: var(--navy); color: var(--ivory); transition: border-color 0.2s, background 0.2s; }
.answer:hover:not(:disabled) { border-color: var(--sand); }
.answer:disabled { cursor: default; }
.answer.is-right { border-color: var(--ok); background: rgba(127, 180, 143, 0.15); }
.answer.is-wrong { border-color: var(--bad); background: rgba(196, 97, 90, 0.15); }
.feedback { min-height: 1.6em; margin: 0.8rem 0 0; color: var(--dim); font-size: 0.92rem; }
.stamp-done { display: flex; align-items: center; gap: 1.2rem; }
.stamp-done h2 { margin: 0; }
.stamp-done p { margin: 0; color: var(--dim); }
.seal { flex: none; width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; font-size: 1.8rem; color: var(--white); background: var(--burgundy); box-shadow: inset 0 0 0 4px var(--burgundy), inset 0 0 0 6px rgba(250, 248, 243, 0.6); transform: rotate(-8deg); }
.stamp-done.is-new .seal { animation: stampIn 0.7s var(--ease) both; }
@keyframes stampIn { from { transform: scale(1.8) rotate(-24deg); opacity: 0; } to { transform: rotate(-8deg); opacity: 1; } }

.next { display: grid; grid-template-columns: 1fr 140px; grid-template-rows: auto auto; gap: 0 1.2rem; align-items: center; margin-top: 2.5rem; padding: 1.2rem; border: 1px solid var(--line); border-radius: 8px; color: var(--ivory); text-decoration: none !important; transition: border-color 0.25s; }
.next:hover { border-color: var(--sand); }
.next__label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-2); }
.next__name { font-family: var(--serif); font-size: 1.8rem; font-weight: 600; grid-row: 2; }
.next__media { grid-column: 2; grid-row: 1 / 3; }
.next__media .media { aspect-ratio: 4 / 3; border-radius: 4px; }

/* ---------- Quiz ---------- */
.quiz { padding: calc(var(--top) + 3rem) 0 5rem; min-height: 80vh; }
.quiz__top { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; }
.timer { flex: 1; height: 3px; background: rgba(244, 239, 229, 0.12); }
.timer i { display: block; height: 100%; width: 100%; background: var(--gold-2); transition: width 1s linear; }
.timer i.is-low { background: var(--bad); }
.quiz__top b { font-family: var(--serif); font-size: 1.8rem; min-width: 2ch; text-align: center; font-variant-numeric: tabular-nums; }
.quiz__score { padding: 0.2rem 0.75rem; border-radius: 999px; background: var(--gold); color: var(--charcoal); font-weight: 700; font-variant-numeric: tabular-nums; }
.best b { color: var(--gold-2); }
.quiz--done { text-align: center; }
.big { font-family: var(--serif); font-size: clamp(6rem, 18vw, 10rem); font-weight: 600; line-height: 1; margin: 0; }
.big small { font-size: 0.35em; color: var(--faint); }
.quiz--done .lead { margin: 1rem auto 2rem; }
.mini-sites { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem 1.2rem; margin-top: 3rem; font-size: 0.9rem; }

/* ---------- Walk ---------- */
.walk__hero { position: relative; min-height: 62vh; display: grid; align-items: end; padding: calc(var(--top) + 1rem) 0 2.5rem; isolation: isolate; }
.walk__photo { position: absolute; inset: 0; z-index: -2; }
.walk__photo .media { position: absolute; inset: 0; }
.walk__hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, var(--charcoal) 5%, rgba(23, 25, 27, 0.45)); }
.walk__title { width: min(1200px, 100% - 40px); }
.walk__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.5rem; padding: 2.5rem 0 1rem; align-items: start; }
.map { margin: 0; position: sticky; top: calc(var(--top) + 16px); background: var(--navy); border: 1px solid var(--line); border-radius: 8px; padding: 1rem; }
.map svg { width: 100%; height: auto; direction: ltr; }
.map__river { fill: none; stroke: #4F6F8F; stroke-width: 16; stroke-linecap: round; opacity: 0.6; }
.map__label { fill: var(--faint); font: italic 14px var(--serif); }
.map__city { fill: rgba(201, 184, 154, 0.07); stroke: var(--line-2); stroke-dasharray: 5 6; }
.map__route { fill: none; stroke: var(--gold-2); stroke-width: 3; stroke-dasharray: 2 7; stroke-linecap: round; }
.map__stop circle { fill: var(--charcoal); stroke: var(--sand); stroke-width: 1.5; }
.map__stop.is-site circle { fill: var(--burgundy); stroke: var(--white); }
.map__stop text { fill: var(--ivory); font: 700 12px var(--sans); text-anchor: middle; }
.map figcaption { font-size: 0.72rem; color: var(--faint); margin-top: 0.5rem; }
.stops { list-style: none; margin: 0; padding: 0; }
.stop { display: grid; grid-template-columns: 2.2rem 1fr; gap: 0.8rem; padding: 0.9rem 0; }
.stop .n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--sand); font-size: 0.8rem; font-weight: 700; }
.stop.is-site .n { background: var(--burgundy); border-color: var(--burgundy); color: var(--white); }
.stop b { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; }
.stop p { margin: 0; color: var(--dim); font-size: 0.92rem; }
.stop a { font-size: 0.85rem; font-weight: 600; }
.leg { padding-inline-start: 0.5rem; font-size: 0.78rem; color: var(--faint); border-inline-start: 1px dashed var(--line-2); margin-inline-start: 14px; padding-block: 0.3rem; }
.aside { padding: 1.2rem 1.4rem; border-inline-start: 2px solid var(--gold); background: var(--navy); color: var(--dim); margin: 1.5rem 0 5rem; }

/* ---------- Footer, dialog, lightbox, toast ---------- */
.foot { border-top: 1px solid var(--line); padding: 2.2rem 0; background: #121315; font-size: 0.86rem; color: var(--faint); }
.foot__inner { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; align-items: end; }
.foot b { font-family: var(--serif); font-size: 1.2rem; color: var(--ivory); }
.foot em { color: var(--gold-2); }
.foot p { margin: 0; }
.dialog { width: min(980px, 100% - 24px); max-height: 86vh; border: 1px solid var(--line); border-radius: 8px; background: #1E2124; color: var(--ivory); padding: 2rem; }
.dialog::backdrop { background: rgba(10, 11, 12, 0.8); }
.dialog__close { position: sticky; top: 0; float: inline-end; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--charcoal); }
.dialog__table { overflow: auto; }
.dialog table { width: 100%; border-collapse: collapse; font-size: 0.8rem; }
.dialog th, .dialog td { text-align: start; padding: 0.5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.dialog th { color: var(--gold-2); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; }
.dialog td a { word-break: break-word; }
.sources { padding-inline-start: 1.1rem; font-size: 0.88rem; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10, 11, 12, 0.96); display: grid; grid-template-columns: 56px 1fr 56px; align-items: center; padding: 16px; animation: fade 0.3s both; direction: ltr; }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: 0.6rem; }
.lightbox img { max-height: calc(100vh - 130px); width: auto; max-width: 100%; object-fit: contain; opacity: 0; transition: opacity 0.4s; }
.lightbox img.is-ready { opacity: 1; }
.lightbox figcaption { display: grid; gap: 0.15rem; text-align: center; font-size: 0.8rem; color: var(--dim); }
.lightbox figcaption b { font-family: var(--serif); font-size: 1.2rem; color: var(--ivory); }
.lightbox__close, .lightbox__nav { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(23, 25, 27, 0.7); font-size: 1.3rem; }
.lightbox__close { position: absolute; top: 14px; right: 14px; font-size: 1rem; }
.toast { position: fixed; z-index: 120; left: 50%; bottom: 24px; transform: translateX(-50%); padding: 0.75rem 1.2rem; border-radius: 4px; background: var(--white); color: var(--charcoal); font-weight: 600; box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.8); border-top: 3px solid var(--burgundy); animation: fade 0.4s var(--ease) both; transition: opacity 0.4s; }
.toast.is-out { opacity: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .duo, .band--cert, .walk__grid { grid-template-columns: 1fr; }
  .map { position: static; }
}
@media (max-width: 640px) {
  :root { --top: 58px; }
  .top { background: rgba(23, 25, 27, 0.95); }
  .brand span { font-size: 1.1rem; }
  .nav { position: fixed; inset: auto 0 0 0; z-index: 50; justify-content: space-around; background: rgba(23, 25, 27, 0.97); border-top: 1px solid var(--line); padding: 0.4rem 0 calc(0.4rem + env(safe-area-inset-bottom)); }
  .nav a { flex: 1; text-align: center; padding: 0.7rem 0; }
  body { padding-bottom: 56px; }
  .cards { grid-template-columns: 1fr; }
  .hero { min-height: 86vh; }
  .hero::before, html[dir="rtl"] .hero::before { background: linear-gradient(to top, var(--charcoal) 15%, rgba(23, 25, 27, 0.5) 60%, rgba(23, 25, 27, 0.35)); }
  .actions .btn { flex: 1 1 100%; }
  .hero__credit, .site__credit { max-width: 90%; font-size: 0.62rem; }
  .answers { grid-template-columns: 1fr; }
  .visit dl div { grid-template-columns: 1fr; gap: 0.15rem; }
  .next { grid-template-columns: 1fr 100px; }
  .next__name { font-size: 1.4rem; }
  .lightbox { grid-template-columns: 1fr; }
  .lightbox__nav { position: absolute; bottom: 18px; }
  .lightbox__nav.prev { left: 18px; } .lightbox__nav.next { right: 18px; }
  .toast { bottom: 76px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

.num { white-space: nowrap; unicode-bidi: isolate; }

/* =========================================================================
   v5 — two paths, tourist guide, virtual tour
   ========================================================================= */
.ico { width: 1.15em; height: 1.15em; flex: none; }
.nav a { display: inline-flex; align-items: center; gap: 0.45rem; }
.nav a .ico { display: none; }

/* Home: two paths */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; max-width: 760px; margin-top: 0.4rem; }
.path { display: flex; gap: 1rem; align-items: flex-start; padding: 1.15rem 1.2rem; border: 1px solid var(--line-2); border-radius: 8px; background: rgba(23, 25, 27, 0.62); backdrop-filter: blur(8px); color: var(--ivory); text-decoration: none !important; transition: border-color 0.25s, background 0.25s, transform 0.3s var(--ease); }
.path:hover { border-color: var(--gold-2); background: rgba(23, 35, 51, 0.8); transform: translateY(-2px); }
.path__icon { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--charcoal); }
.path__icon .ico { width: 22px; height: 22px; }
.path small { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-2); }
.path b { display: block; font-family: var(--serif); font-size: 1.5rem; font-weight: 600; line-height: 1.2; margin: 0.15rem 0 0.25rem; }
.path em { display: block; font-style: normal; font-size: 0.88rem; color: var(--dim); line-height: 1.5; }
.band--quiz { flex-direction: row; align-items: center; justify-content: space-between; gap: 1.5rem; margin: 4rem 0 5rem; }
.band--quiz > div { max-width: 560px; }

/* Place page */
.site__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.4rem; }
.btn--sm { min-height: 40px; padding: 0 1.1em; font-size: 0.72rem; }
.quick { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 0 2.4rem; border: 1px solid var(--line); border-radius: 8px; background: var(--navy); }
.quick div { padding: 0.9rem 1rem; }
.quick div + div { border-inline-start: 1px solid var(--line); }
.quick dt { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 0.2rem; }
.quick dd { margin: 0; font-size: 0.95rem; line-height: 1.45; }

/* Virtual tour */
body.on-tour .foot { display: none; }
.tour { position: relative; height: 100vh; height: 100svh; padding-top: var(--top); display: grid; grid-template-columns: 1fr 400px; background: #0E0F10; }
.tour__stage { position: relative; overflow: hidden; touch-action: none; cursor: grab; outline: none; background: #0E0F10; }
.tour__stage.is-dragging { cursor: grabbing; }
.tour__stage .media { position: absolute; inset: 0; }
.viewer__world { position: absolute; top: 0; left: 0; will-change: transform; }
.viewer__world img { width: 100%; height: 100%; display: block; user-select: none; -webkit-user-drag: none; pointer-events: none; animation: fade 0.6s both; }
.tour__loading { position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(244, 239, 229, 0.05) 50%, transparent 70%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
.tour__chips { position: absolute; top: calc(var(--top) + 14px); left: 14px; z-index: 3; }
.chip { display: inline-block; padding: 0.3em 0.75em; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; background: rgba(23, 25, 27, 0.85); border: 1px solid var(--line); color: var(--sand); }
.tour__hint { position: absolute; z-index: 3; left: calc((100% - 400px) / 2); top: 50%; transform: translate(-50%, -50%); padding: 0.7rem 1.1rem; border-radius: 999px; background: rgba(23, 25, 27, 0.8); font-size: 0.85rem; pointer-events: none; transition: opacity 0.6s; }
.tour__hint::before { content: "↔ "; color: var(--gold-2); }
.tour__hint.is-hidden { opacity: 0; }
.tour__tools { position: absolute; z-index: 3; top: calc(var(--top) + 14px); right: 414px; display: flex; gap: 0.35rem; }
.tool { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(23, 25, 27, 0.8); display: grid; place-items: center; }
.tool:hover, .tool.is-on { border-color: var(--gold-2); color: var(--gold-2); }
.tool[hidden] { display: none; }
.tour__thumbs { position: absolute; z-index: 3; left: 14px; right: 414px; bottom: 14px; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.tour__thumbs button { flex: none; width: 72px; height: 50px; padding: 0; border: 1px solid var(--line); background: var(--charcoal); opacity: 0.65; overflow: hidden; border-radius: 3px; transition: opacity 0.2s, border-color 0.2s; }
.tour__thumbs button[aria-current="true"], .tour__thumbs button:hover { opacity: 1; border-color: var(--white); }
.tour__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.tour__panel { overflow-y: auto; padding: 1.6rem 1.6rem 2rem; background: var(--charcoal); border-inline-start: 1px solid var(--line); }
.tour__panel h1 { font-size: clamp(2rem, 3vw, 2.6rem); margin-bottom: 0.8rem; }
.tour__dots { display: flex; gap: 6px; margin-bottom: 1.2rem; }
.tour__dots a { flex: 1; height: 3px; background: rgba(244, 239, 229, 0.15); }
.tour__dots a.half { background: rgba(201, 184, 154, 0.5); }
.tour__dots a.on { background: var(--gold-2); }
.tour__teaser { font-family: var(--serif); font-size: 1.25rem; line-height: 1.5; }
.tour__teaser[lang="ur"] { font-family: var(--urdu); font-size: 1.15rem; line-height: 2; }
.tour__fact { padding: 0.9rem 1rem; border-inline-start: 2px solid var(--gold); background: var(--navy); color: var(--dim); font-size: 0.95rem; }
.tour__fact b { display: block; color: var(--gold-2); font-size: 0.8rem; margin-bottom: 0.15rem; }
.tour__nav { display: flex; justify-content: space-between; gap: 0.5rem; margin: 1.4rem 0 1rem; }
.tour__links { font-size: 0.88rem; }
.tour-intro { position: relative; min-height: calc(100vh - 0px); display: grid; align-items: end; padding: calc(var(--top) + 2rem) 0 4rem; isolation: isolate; }
.tour-intro__photo { position: absolute; inset: 0; z-index: -2; }
.tour-intro__photo .media { position: absolute; inset: 0; }
.tour-intro__photo img { animation: push 24s ease-out both; }
.tour-intro::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, var(--charcoal) 20%, rgba(23, 25, 27, 0.4)); }
.tour-list { list-style: none; padding: 0; margin: 2.2rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem 1.4rem; }
.tour-list a { display: flex; align-items: center; gap: 0.7rem; padding: 0.55rem 0; border-bottom: 1px solid var(--line); color: var(--ivory); font-family: var(--serif); font-size: 1.2rem; }
.tour-list .n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--sand); font: 700 0.75rem var(--sans); }
.tour-list [lang="ur"] { font-size: 0.95rem; margin-inline-start: auto; }

/* Plan */
.plan { padding: calc(var(--top) + 2.5rem) 0 5rem; }
.plan__head { max-width: 760px; }
.seg { display: inline-flex; gap: 0.3rem; padding: 0.3rem; border: 1px solid var(--line-2); border-radius: 6px; margin-top: 0.5rem; flex-wrap: wrap; }
.seg button { border: 0; background: none; padding: 0.7rem 1.2rem; border-radius: 4px; font-weight: 600; color: var(--dim); display: grid; text-align: center; }
.seg button small { font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-2); font-weight: 700; }
.seg button[aria-selected="true"] { background: var(--ivory); color: var(--charcoal); }
.seg button[aria-selected="true"] small { color: var(--burgundy); }
.plan__intro { margin: 2.4rem 0 1.5rem; max-width: 760px; }
.plan__intro p { color: var(--dim); font-size: 1.05rem; }
.itin { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; max-width: 860px; }
.itin__stop { display: grid; grid-template-columns: 76px 110px 1fr; gap: 1.2rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.itin__time { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--gold-2); }
.itin__media { aspect-ratio: 4 / 3; border-radius: 4px; overflow: hidden; background: var(--navy); }
.itin__media:empty::after { content: ""; display: block; width: 100%; height: 100%; background: radial-gradient(circle, rgba(201, 184, 154, 0.15), transparent 70%); }
.itin__media .media { width: 100%; height: 100%; }
.itin__text b, .stop b { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; }
.itin__text b [lang="ur"], .stop b [lang="ur"] { font-size: 0.95rem; margin-inline-start: 0.4rem; }
.itin__text p { margin: 0.1rem 0 0; color: var(--dim); }
.stop__links { font-size: 0.85rem; font-weight: 600; }
.plan .walk__grid { padding: 0; }
.tips { margin-top: 4rem; }
.tips__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; margin-bottom: 1rem; }
.tip { display: flex; gap: 0.9rem; padding: 1.1rem; border: 1px solid var(--line); border-radius: 8px; background: var(--navy); }
.tip__icon { width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--gold-2); }
.tip b { display: block; margin-bottom: 0.2rem; }
.tip p { margin: 0; color: var(--dim); font-size: 0.92rem; }

@media (max-width: 960px) {
  .tips__grid { grid-template-columns: 1fr 1fr; }
  .tour { grid-template-columns: 1fr; grid-template-rows: 58vh auto; height: auto; min-height: 100svh; }
  .tour__stage { height: 58vh; }
  .tour__panel { border: 0; border-top: 1px solid var(--line); }
  .tour__tools { right: 14px; }
  .tour__thumbs { right: 14px; top: calc(var(--top) + 58vh - 64px); bottom: auto; }
  .tour__hint { left: 50%; top: calc(var(--top) + 29vh); }
}
@media (max-width: 640px) {
  .nav a { flex-direction: column; gap: 0.15rem; font-size: 0.64rem; letter-spacing: 0.06em; padding: 0.45rem 0; }
  .nav a .ico { display: block; width: 22px; height: 22px; }
  .nav a.is-active { border-bottom-color: transparent; color: var(--gold-2); }
  .paths { grid-template-columns: 1fr; }
  .path { padding: 0.95rem 1rem; }
  .path b { font-size: 1.3rem; }
  .quick { grid-template-columns: 1fr; }
  .quick div + div { border-inline-start: 0; border-top: 1px solid var(--line); }
  .band--quiz { flex-direction: column; align-items: flex-start; }
  .itin__stop { grid-template-columns: 56px 1fr; }
  .itin__media { display: none; }
  .tips__grid, .tour-list { grid-template-columns: 1fr; }
  .tour { grid-template-rows: 52vh auto; }
  .tour__stage { height: 52vh; }
  .tour__thumbs { top: calc(var(--top) + 52vh - 64px); }
  .tour__hint { top: calc(var(--top) + 26vh); }
  .pill { padding: 0 0.7rem; }
  #progress-pill .dots { display: none; }
}

/* ===================== v6 — more places, grouped by area ===================== */
.pill__seal { color: var(--gold-2); font-weight: 700; }
.section-lead { text-align: center; color: var(--dim); margin: -1.4rem auto 2rem; max-width: 36em; }
.chips { display: flex; gap: 0.45rem; flex-wrap: wrap; justify-content: center; margin: 0 0 2rem; }
.chips button { border: 1px solid var(--line-2); background: transparent; color: var(--dim); border-radius: 999px; padding: 0.5rem 0.95rem; font: 600 0.85rem var(--sans); cursor: pointer; }
.chips button small { color: var(--faint); font-weight: 600; margin-inline-start: 0.2rem; }
.chips button[aria-selected="true"] { background: var(--ivory); color: var(--charcoal); border-color: var(--ivory); }
.chips button[aria-selected="true"] small { color: var(--burgundy); }
.area { margin: 0 0 2.4rem; animation: fade 0.5s var(--ease) both; }
.area__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 0.6rem; margin-bottom: 1rem; }
.area__head h3 { font-size: 1.6rem; margin: 0; }
.area__head h3 [lang="ur"] { font-size: 1.05rem; margin-inline-start: 0.4rem; }
.area__head p { margin: 0; font-size: 0.82rem; color: var(--faint); }
.minis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }
.mini { display: grid; grid-template-columns: 112px 1fr; gap: 0.9rem; align-items: center; background: var(--navy); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; color: var(--ivory); text-decoration: none !important; transition: border-color 0.3s, transform 0.3s var(--ease); min-height: 104px; }
.mini:hover { border-color: var(--gold); transform: translateY(-2px); }
.mini__media { height: 100%; min-height: 104px; }
.mini__media img, .mini__media svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.mini__body { padding: 0.7rem 0.9rem 0.7rem 0; min-width: 0; }
.mini__meta { margin: 0 0 0.15rem; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-2); }
.mini__meta b { color: var(--ok); }
.mini h4 { font-family: var(--serif); font-size: 1.22rem; line-height: 1.1; margin: 0 0 0.25rem; }
.mini h4 [lang="ur"] { font-size: 0.85rem; color: var(--sand); font-weight: 500; }
.mini__line { margin: 0; font-size: 0.85rem; color: var(--dim); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mini__line[lang="ur"] { font-size: 0.92rem; line-height: 1.8; }
.tour-area { font-size: 1.25rem; margin: 2rem 0 0; color: var(--gold-2); }
.tour-area [lang="ur"] { font-size: 0.95rem; color: var(--sand); margin-inline-start: 0.4rem; }
.tour-area + .tour-list { margin-top: 0.6rem; }
.tour-list .seen { color: var(--ok); font-size: 0.85rem; margin-inline-start: 0.5rem; }
.tour__dots { gap: 3px; }
@media (max-width: 1000px) { .minis { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .minis { grid-template-columns: 1fr; }
  .mini { grid-template-columns: 96px 1fr; min-height: 92px; }
  .chips { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 0 16px 0.3rem; scrollbar-width: none; }
  .chips button { flex: none; }
}

/* ===================== v7 — real photos, explorer map, game, road map ===================== */
/* photos: soft preview, then sharp */
.media.is-soft img { filter: blur(6px); transform: scale(1.04); }
.media img { transition: opacity 0.5s var(--ease), filter 0.6s var(--ease), transform 1.2s var(--ease); }
.noimg { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 0.2rem; padding: 1rem; background: linear-gradient(160deg, var(--navy-2), var(--charcoal)); }
.noimg b { font-family: var(--serif); font-size: 1.3rem; color: var(--ivory); line-height: 1.1; }
.noimg span { color: var(--sand); font-size: 1rem; }
.noimg small { color: var(--faint); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; }

/* header rank pill */
#progress-pill .ico { width: 15px; height: 15px; }
.pill__seal { display: inline-flex; color: var(--gold-2); }
.pill__rank { color: var(--dim); font-size: 0.75rem; }
.hero__progress { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.5rem 0.9rem; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(23, 25, 27, 0.55); color: var(--ivory); }
.hero__progress .ico { width: 16px; height: 16px; color: var(--gold-2); }

/* status chips */
.status { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.2rem 0.55rem; border-radius: 999px; margin: 0 0 0.35rem; }
.status .ico { width: 12px; height: 12px; }
.status--new { color: var(--faint); border: 1px dashed var(--line-2); }
.status--seen { color: var(--sand); background: rgba(201, 184, 154, 0.12); }
.status--stamp { color: var(--charcoal); background: var(--gold-2); }
.status--visited { color: #0f2a19; background: var(--ok); }
.card__stamp { background: none; padding: 0; }
.card__stamp .status { margin: 0; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4); }

/* place page: check-in */
.been { display: grid; grid-template-columns: auto 1fr auto; gap: 0.9rem 1rem; align-items: center; padding: 1rem 1.1rem; margin: 0 0 2rem; border: 1px solid var(--line-2); border-radius: 10px; background: linear-gradient(135deg, rgba(178, 138, 69, 0.14), rgba(23, 35, 51, 0.6)); }
.been__icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--charcoal); }
.been__icon .ico { width: 22px; height: 22px; }
.been b { font-size: 1.02rem; }
.been p { margin: 0.15rem 0 0; font-size: 0.85rem; color: var(--dim); }
.been__btns { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.been.is-done { background: rgba(127, 180, 143, 0.12); border-color: rgba(127, 180, 143, 0.5); grid-template-columns: auto 1fr; }
.been.is-done .been__icon { background: var(--ok); }
.linkish { background: none; border: 0; padding: 0; color: var(--gold-2); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) { .been { grid-template-columns: auto 1fr; } .been__btns { grid-column: 1 / -1; } }

/* bars */
.bar { display: block; height: 6px; border-radius: 99px; background: rgba(244, 239, 229, 0.1); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--gold), var(--gold-2)); transition: width 0.8s var(--ease); }

/* My Lahore */
.me { padding-top: calc(var(--top) + 2.5rem); padding-bottom: 4rem; }
.me__head { display: grid; grid-template-columns: 1fr minmax(260px, 360px); gap: 1.5rem 2.5rem; align-items: end; margin-bottom: 1.6rem; }
.me__head h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.rank { display: flex; gap: 1rem; align-items: center; padding: 1.1rem 1.2rem; border-radius: 12px; background: linear-gradient(135deg, var(--burgundy), #3d1c22); border: 1px solid rgba(209, 178, 122, 0.4); }
.rank__icon { width: 54px; height: 54px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--gold-2); color: var(--charcoal); }
.rank__icon .ico { width: 28px; height: 28px; }
.rank__body { display: grid; gap: 0.3rem; flex: 1; }
.rank__body b { font-family: var(--serif); font-size: 1.6rem; line-height: 1; }
.rank__body b [lang="ur"] { font-size: 1rem; color: var(--sand); margin-inline-start: 0.3rem; }
.rank__body small { color: var(--dim); font-size: 0.75rem; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; margin-bottom: 1.6rem; }
.stats div { padding: 0.9rem 1rem; border: 1px solid var(--line); border-radius: 10px; background: var(--navy); }
.stats b { display: block; font-family: var(--serif); font-size: 2rem; line-height: 1; }
.stats b small { font-size: 1rem; color: var(--faint); }
.stats span { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-2); font-weight: 700; }
#map-chips { justify-content: flex-start; margin-bottom: 0.9rem; }
.me__h { font-size: 1.8rem; margin: 3rem 0 1.1rem; }
.me__h small { font-family: var(--sans); font-size: 0.9rem; color: var(--faint); }
.legend { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; padding: 0; margin: 0.8rem 0 0; font-size: 0.8rem; color: var(--dim); }
.legend li { display: flex; align-items: center; gap: 0.4rem; }
.lg { width: 14px; height: 14px; border-radius: 50%; border: 3px solid; }
.lg--new { border-color: rgba(244, 239, 229, 0.35); border-style: dashed; }
.lg--seen { border-color: var(--sand); } .lg--stamp { border-color: var(--gold-2); background: var(--gold-2); } .lg--visited { border-color: var(--ok); background: var(--ok); }
.areas-prog { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 0.8rem; }
.ap { padding: 1rem; border: 1px solid var(--line); border-radius: 10px; background: var(--navy); display: grid; gap: 0.6rem; }
.ap__top { display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem; }
.ap__top b { font-family: var(--serif); font-size: 1.25rem; }
.ap__top b [lang="ur"] { font-size: 0.85rem; color: var(--sand); }
.ap__top > span { font-weight: 700; color: var(--gold-2); }
.ap__thumbs { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.ap__t { width: 42px; height: 42px; border-radius: 50%; overflow: hidden; border: 2px solid rgba(244, 239, 229, 0.25); position: relative; }
.ap__t .media { width: 100%; height: 100%; }
.ap__t.is-new .media img { filter: grayscale(1) brightness(0.6); }
.ap__t.is-seen { border-color: var(--sand); } .ap__t.is-stamp { border-color: var(--gold-2); } .ap__t.is-visited { border-color: var(--ok); }
.badges { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 0.8rem; }
.badge { position: relative; display: grid; gap: 0.25rem; align-content: start; padding: 1.1rem 1rem; border-radius: 12px; border: 1px dashed var(--line-2); background: rgba(23, 35, 51, 0.5); color: var(--faint); }
.badge__icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--line-2); margin-bottom: 0.4rem; color: var(--faint); }
.badge__icon .ico { width: 24px; height: 24px; }
.badge b { color: var(--dim); font-size: 0.98rem; }
.badge__ur { font-size: 0.85rem; }
.badge p { margin: 0.1rem 0 0.4rem; font-size: 0.78rem; line-height: 1.45; }
.badge small { font-size: 0.72rem; }
.badge.is-on { border-style: solid; border-color: rgba(209, 178, 122, 0.55); background: linear-gradient(160deg, rgba(178, 138, 69, 0.22), var(--navy)); color: var(--dim); }
.badge.is-on .badge__icon { background: var(--gold-2); border-color: var(--gold-2); color: var(--charcoal); box-shadow: 0 0 0 5px rgba(209, 178, 122, 0.15); }
.badge.is-on b { color: var(--ivory); }
.badge__got { display: inline-flex; gap: 0.3rem; align-items: center; color: var(--ok); font-weight: 700; }
.badge__got .ico { width: 13px; height: 13px; }
.pts { margin-top: 2.4rem; border: 1px solid var(--line); border-radius: 10px; padding: 0.9rem 1.1rem; }
.pts summary { cursor: pointer; font-weight: 700; }
.pts table { margin: 0.8rem 0; border-collapse: collapse; font-size: 0.9rem; }
.pts td { padding: 0.25rem 1.6rem 0.25rem 0; color: var(--dim); }
.pts td + td { color: var(--gold-2); font-weight: 700; }
@media (max-width: 760px) { .me__head { grid-template-columns: 1fr; } .stats { grid-template-columns: repeat(2, 1fr); } }

/* explorer map */
.explorer { position: relative; height: min(68vh, 560px); border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); background: radial-gradient(ellipse at 40% 40%, #1f2f44, #141c27 70%); touch-action: none; user-select: none; cursor: grab; }
.explorer:active { cursor: grabbing; }
.lmap__base { position: absolute; inset: 0; width: 100%; height: 100%; }
.lmap__river { fill: none; stroke: #3c7a91; stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; opacity: 0.55; vector-effect: non-scaling-stroke; }
.lmap__walled { fill: rgba(178, 138, 69, 0.13); stroke: rgba(209, 178, 122, 0.55); stroke-width: 1.5; stroke-dasharray: 5 4; vector-effect: non-scaling-stroke; }
.lmap__road { fill: none; stroke: rgba(244, 239, 229, 0.16); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.lmap__route { fill: none; stroke: var(--gold-2); stroke-width: 3.5; stroke-dasharray: 2 7; stroke-linecap: round; vector-effect: non-scaling-stroke; animation: march 1.2s linear infinite; }
@keyframes march { to { stroke-dashoffset: -18; } }
.lmap__labels text { fill: rgba(244, 239, 229, 0.42); font-family: var(--sans); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; text-anchor: middle; }
.lmap__pins { position: absolute; inset: 0; }
.lpin, .lcluster { position: absolute; left: 0; top: 0; padding: 0; border: 0; cursor: pointer; will-change: transform; }
.lpin { width: 44px; height: 44px; border-radius: 50%; background: var(--navy-2); box-shadow: 0 0 0 3px rgba(244, 239, 229, 0.3), 0 8px 18px rgba(0, 0, 0, 0.55); transition: box-shadow 0.25s; }
.lpin .media { width: 100%; height: 100%; border-radius: 50%; }
.lpin.is-new .media img { filter: grayscale(1) brightness(0.65); }
.lpin.is-seen { box-shadow: 0 0 0 3px var(--sand), 0 8px 18px rgba(0, 0, 0, 0.55); }
.lpin.is-stamp { box-shadow: 0 0 0 3px var(--gold-2), 0 0 0 7px rgba(209, 178, 122, 0.25), 0 8px 18px rgba(0, 0, 0, 0.55); }
.lpin.is-visited { box-shadow: 0 0 0 3px var(--ok), 0 0 0 7px rgba(127, 180, 143, 0.25), 0 8px 18px rgba(0, 0, 0, 0.55); }
.lpin.is-active { box-shadow: 0 0 0 3px var(--white), 0 0 0 8px rgba(250, 248, 243, 0.25), 0 8px 18px rgba(0, 0, 0, 0.55); z-index: 3; }
.lpin:hover { z-index: 4; }
.lpin__num, .lpin__mark { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 4px; border-radius: 99px; display: grid; place-items: center; font: 800 0.7rem var(--sans); background: var(--gold-2); color: var(--charcoal); }
.lpin__mark { background: var(--ok); }
.lpin__mark.is-stamp { background: var(--gold-2); }
.lpin__num + .lpin__mark { top: auto; bottom: -6px; }
.lpin__label { position: absolute; top: 50px; left: 50%; transform: translateX(-50%); white-space: nowrap; font: 700 0.68rem var(--sans); color: var(--ivory); background: rgba(23, 25, 27, 0.85); padding: 0.15rem 0.45rem; border-radius: 4px; opacity: 0; pointer-events: none; transition: opacity 0.2s; }
.lpin.show-label .lpin__label, .lpin:hover .lpin__label, .lpin.is-active .lpin__label { opacity: 1; }
.lcluster { width: 52px; height: 52px; border-radius: 50%; display: grid; place-content: center; text-align: center; background: radial-gradient(circle, var(--gold-2), var(--gold)); color: var(--charcoal); box-shadow: 0 0 0 6px rgba(209, 178, 122, 0.25), 0 10px 22px rgba(0, 0, 0, 0.55); }
.lcluster b { font: 800 1.15rem/1 var(--sans); }
.lcluster small { font: 700 0.55rem var(--sans); letter-spacing: 0.06em; text-transform: uppercase; }
.lmap__tools { position: absolute; top: 12px; right: 12px; display: grid; gap: 6px; z-index: 5; }
.lmap__tools button { width: 38px; height: 38px; border-radius: 8px; border: 1px solid var(--line-2); background: rgba(23, 25, 27, 0.85); color: var(--ivory); font-size: 1.15rem; cursor: pointer; }
.lmap__note { position: absolute; left: 12px; bottom: 8px; margin: 0; font-size: 0.65rem; color: var(--faint); pointer-events: none; }
.lmap__card { position: absolute; left: 12px; bottom: 12px; z-index: 6; width: min(360px, calc(100% - 24px)); display: grid; grid-template-columns: 110px 1fr; border-radius: 12px; overflow: hidden; background: var(--charcoal); border: 1px solid var(--line-2); box-shadow: 0 24px 50px -10px rgba(0, 0, 0, 0.8); animation: fade 0.3s var(--ease) both; cursor: default; }
.lmap__card[hidden] { display: none; }
.lmap__card > .media { height: 100%; min-height: 150px; }
.lmap__cardbody { position: relative; padding: 0.8rem 0.9rem; display: grid; gap: 0.3rem; align-content: start; }
.lmap__close { position: absolute; top: 4px; right: 6px; border: 0; background: none; color: var(--faint); font-size: 0.9rem; cursor: pointer; }
.lmap__era { margin: 0; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-2); }
.lmap__name { font-family: var(--serif); font-size: 1.2rem; line-height: 1.1; padding-right: 1rem; }
.lmap__name [lang="ur"] { display: block; font-size: 0.85rem; color: var(--sand); }
.lmap__line { margin: 0; font-size: 0.8rem; color: var(--dim); line-height: 1.45; }
.lmap__line[lang="ur"] { font-size: 0.88rem; line-height: 1.8; }
.lmap__acts { display: flex; gap: 0.35rem; flex-wrap: wrap; margin-top: 0.2rem; }
.lmap__acts .btn { padding: 0.45rem 0.65rem; font-size: 0.66rem; }
.lmap__acts .ico { width: 14px; height: 14px; }
.lmap__cardbody .status { justify-self: start; }

/* plan: journey = route map + road */
.journey { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 2rem; align-items: start; margin-top: 1.4rem; }
.journey__map { position: sticky; top: calc(var(--top) + 1rem); }
.explorer--route { height: min(72vh, 620px); }
.roadbar { display: grid; grid-template-columns: auto 1fr auto; gap: 0.8rem; align-items: center; font-size: 0.85rem; font-weight: 700; color: var(--sand); margin-bottom: 1.2rem; }
.road { --x: 34px; position: relative; list-style: none; margin: 0; padding: 0 0 0 calc(var(--x) * 2 + 12px); }
.road::before, .road::after { content: ""; position: absolute; left: calc(var(--x) - 3px); top: 18px; bottom: 18px; width: 6px; border-radius: 6px; }
.road::before { background: repeating-linear-gradient(180deg, rgba(244, 239, 229, 0.22) 0 10px, transparent 10px 18px); }
.road::after { bottom: auto; height: calc((100% - 36px) * var(--done) / 100); background: linear-gradient(180deg, var(--gold), var(--gold-2)); transition: height 0.8s var(--ease); }
.road__flag { position: relative; display: flex; align-items: center; gap: 0.5rem; font-weight: 700; color: var(--sand); padding: 0.4rem 0; margin-left: calc(var(--x) * -2 - 12px); padding-left: calc(var(--x) - 15px); }
.road__flag .ico { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--charcoal); border: 2px solid var(--line-2); position: relative; z-index: 1; }
.road__flag--end.is-on { color: var(--ivory); }
.road__flag--end.is-on .ico { background: var(--gold-2); color: var(--charcoal); border-color: var(--gold-2); }
.road__flag b { color: var(--gold-2); }
.road__leg { position: relative; font-size: 0.78rem; color: var(--faint); padding: 0.35rem 0; display: flex; align-items: center; gap: 0.4rem; }
.road__leg .ico { width: 16px; height: 16px; }
.road__stop { position: relative; margin: 0.7rem 0; }
.road__pin { position: absolute; left: calc(var(--x) * -2 - 12px); top: 4px; width: calc(var(--x) * 2); height: calc(var(--x) * 2); border-radius: 50%; background: var(--navy-2); box-shadow: 0 0 0 3px var(--charcoal), 0 0 0 5px var(--line-2); z-index: 1; }
.road__pin .media { position: absolute; inset: 0; border-radius: 50%; }
.road__n { position: absolute; right: -4px; bottom: -4px; z-index: 2; min-width: 24px; height: 24px; border-radius: 99px; display: grid; place-items: center; font: 800 0.75rem var(--sans); background: var(--ivory); color: var(--charcoal); box-shadow: 0 0 0 3px var(--charcoal); }
.road__stop.is-done .road__pin { box-shadow: 0 0 0 3px var(--charcoal), 0 0 0 6px var(--ok); }
.road__stop.is-done .road__n { background: var(--ok); }
.road__card { padding: 0.9rem 1rem; border-radius: 10px; background: var(--navy); border: 1px solid var(--line); transition: border-color 0.3s, opacity 0.3s; }
.road__stop.is-done .road__card { border-color: rgba(127, 180, 143, 0.45); }
.road__time { margin: 0 0 0.2rem; font: 700 0.72rem var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-2); }
.road__card b { font-family: var(--serif); font-size: 1.3rem; line-height: 1.15; }
.road__card b [lang="ur"] { font-size: 0.9rem; color: var(--sand); font-weight: 500; }
.road__card p { margin: 0.35rem 0 0; color: var(--dim); font-size: 0.9rem; }
.road__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 1rem; margin-top: 0.7rem; font-size: 0.85rem; }
.tick { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.4rem 0.8rem; border-radius: 99px; border: 1px solid var(--line-2); background: transparent; color: var(--ivory); font: 700 0.78rem var(--sans); cursor: pointer; }
.tick .ico { width: 14px; height: 14px; }
.tick.is-on { background: var(--ok); border-color: var(--ok); color: #0f2a19; }
@media (max-width: 900px) {
  .journey { grid-template-columns: 1fr; }
  .journey__map { position: static; }
  .explorer--route { height: 52vh; }
  .road { --x: 28px; }
}
@media (max-width: 640px) {
  .explorer { height: 62vh; border-radius: 10px; }
  .lmap__card { grid-template-columns: 92px 1fr; }
  .nav a { font-size: 0.6rem; }
}
/* small photo spots: no text when a photo can't load */
.lpin .noimg *, .ap__t .noimg *, .road__pin .noimg *, .mini__media .noimg small { display: none; }
.mini__media .noimg b { font-size: 0.85rem; }
.mini__media .noimg span { font-size: 0.75rem; }
@media (max-width: 640px) { .pill__rank { display: none; } .top__right { gap: 0.4rem; } }

/* ===================== v8 — motion: videos, slideshow, reveals, rewards ===================== */
/* hero slideshow + background video */
.hero, .site__hero { overflow: hidden; }
.hero__photo, .site__photo { will-change: transform; }
.hero__photo .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--ease); }
.hero__photo .slide.is-on { opacity: 1; }
.hero__photo .slide img { animation: none; }
.kb1 img { animation: kb1 9s linear both !important; }
.kb2 img { animation: kb2 9s linear both !important; }
.kb3 img { animation: kb3 9s linear both !important; }
@keyframes kb1 { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.14) translate(-2%, -1.5%); } }
@keyframes kb2 { from { transform: scale(1.14) translate(2%, 0); } to { transform: scale(1.03) translate(0, 1%); } }
@keyframes kb3 { from { transform: scale(1.04) translate(-1.5%, 1%); } to { transform: scale(1.15) translate(1.5%, -1%); } }
.bgvideo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.3s var(--ease); z-index: 1; }
.bgvideo.is-on { opacity: 1; }
.hero__media-cap { position: absolute; z-index: 2; inset-inline-end: clamp(16px, 4vw, 40px); bottom: 18px; display: flex; align-items: center; gap: 0.6rem; max-width: 70%; font-size: 0.72rem; color: rgba(244, 239, 229, 0.75); text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8); }
.hero__media-cap a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.hero__vbtn { width: 30px; height: 30px; flex: none; border-radius: 50%; border: 1px solid rgba(244, 239, 229, 0.4); background: rgba(23, 25, 27, 0.55); color: var(--ivory); font-size: 0.62rem; cursor: pointer; }
.site__vcap { position: absolute; z-index: 2; inset-inline-end: 20px; top: calc(var(--top) + 12px); margin: 0; font-size: 0.7rem; color: rgba(244, 239, 229, 0.75); text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8); }
.site__vcap a { color: inherit; }
.hero__inner > * { animation: rise 0.9s var(--ease) both; }
.hero__inner > :nth-child(2) { animation-delay: 0.12s; } .hero__inner > :nth-child(3) { animation-delay: 0.24s; } .hero__inner > :nth-child(4) { animation-delay: 0.36s; } .hero__inner > :nth-child(5) { animation-delay: 0.48s; }
.site__title > * { animation: rise 0.8s var(--ease) both; }
.site__title > :nth-child(2) { animation-delay: 0.08s; } .site__title > :nth-child(3) { animation-delay: 0.16s; } .site__title > :nth-child(4) { animation-delay: 0.24s; } .site__title > :nth-child(5) { animation-delay: 0.32s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* scroll reveal */
.rv { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.8s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.rv.in { opacity: 1; transform: none; }
.card.rv { animation: none; }
.area.rv { animation: none; }

/* reading bar */
.readbar { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 80; background: linear-gradient(90deg, var(--gold), var(--gold-2)); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }

/* cards: 3D tilt + light sheen */
.cards { perspective: 1200px; }
.card { transform: rotateX(var(--rx, 0)) rotateY(var(--ry, 0)) translateY(0); transform-style: preserve-3d; }
.card.rv:not(.in) { transform: translateY(28px); }
.card:hover { transform: rotateX(var(--rx, 0)) rotateY(var(--ry, 0)) translateY(-6px); box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.8); }
.card__shine { position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; transition: opacity 0.3s; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 240, 210, 0.18), transparent 45%); }
.card:hover .card__shine { opacity: 1; }
.card .media img, .mini .media img { transition: transform 1.2s var(--ease), opacity 0.5s, filter 0.6s; }
.card:hover .media img { transform: scale(1.08); }
.mini:hover .media img { transform: scale(1.1); }

/* area sections: soft photo behind */
.area { position: relative; isolation: isolate; padding: 1.2rem; border-radius: 14px; overflow: hidden; }
.area__bg { position: absolute !important; inset: 0; z-index: -1; opacity: 0.22; }
.area__bg img { filter: blur(18px) saturate(1.2); transform: scale(1.2); }
.area__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23, 25, 27, 0.2), var(--charcoal) 85%); }
.area__bg .noimg { display: none; }

/* page morph (View Transitions) */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.35s; }
::view-transition-group(hero-photo) { animation-duration: 0.55s; animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1); }
::view-transition-old(hero-photo), ::view-transition-new(hero-photo) { height: 100%; object-fit: cover; overflow: hidden; }

/* virtual tour: each new view zooms in gently */
.tour__stage.is-enter .viewer__world { animation: tourIn 0.9s var(--ease) both; }
@keyframes tourIn { from { opacity: 0; filter: blur(6px); scale: 1.06; } to { opacity: 1; filter: none; scale: 1; } }

/* map: pins drop in, "next" pin pulses */
.lpin.drop { animation: pinDrop 0.6s cubic-bezier(0.3, 1.5, 0.5, 1) both; animation-delay: var(--d, 0ms); }
@keyframes pinDrop { from { translate: 0 -46px; opacity: 0; } 70% { opacity: 1; } to { translate: 0 0; opacity: 1; } }
.lpin.is-next::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--gold-2); animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { from { transform: scale(0.9); opacity: 0.9; } to { transform: scale(1.7); opacity: 0; } }
.lpin__next { position: absolute; bottom: -9px; left: 50%; transform: translateX(-50%); padding: 0.05rem 0.4rem; border-radius: 99px; font: 800 0.55rem var(--sans); letter-spacing: 0.08em; text-transform: uppercase; background: var(--gold-2); color: var(--charcoal); }
.lcluster { animation: pinDrop 0.5s cubic-bezier(0.3, 1.5, 0.5, 1) both; }
.stats b { font-variant-numeric: tabular-nums; }

/* ---------- reward moments ---------- */
.fx { position: fixed; inset: 0; z-index: 200; display: grid; place-content: center; justify-items: center; gap: 1.2rem; background: rgba(14, 15, 16, 0.55); backdrop-filter: blur(3px); animation: fxIn 0.25s ease both; cursor: pointer; }
.fx.is-out { animation: fxOut 0.35s ease both; }
@keyframes fxIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fxOut { to { opacity: 0; } }
.fx-confetti { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 210; pointer-events: none; }
.fx-stamp { position: relative; width: min(64vw, 260px); aspect-ratio: 1; color: #b53a3a; display: grid; place-items: center; text-align: center; animation: slam 0.5s cubic-bezier(0.2, 1.4, 0.4, 1) both; filter: drop-shadow(0 0 1px rgba(181, 58, 58, 0.6)); }
.fx-stamp svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.fx-stamp__in { display: grid; gap: 0.15rem; padding: 0 14%; transform: rotate(-12deg); background: rgba(244, 239, 229, 0.92); border-radius: 50%; aspect-ratio: 1; place-content: center; width: 84%; mix-blend-mode: normal; }
.fx-stamp__in small { font: 800 0.62rem var(--sans); letter-spacing: 0.2em; text-transform: uppercase; }
.fx-stamp__in b { font-family: var(--serif); font-size: clamp(1.2rem, 5vw, 1.6rem); line-height: 1.05; }
.fx-stamp__in span { font-size: 1rem; }
@keyframes slam { 0% { transform: scale(2.6) rotate(-28deg); opacity: 0; } 60% { transform: scale(0.94) rotate(-10deg); opacity: 1; } 100% { transform: scale(1) rotate(-12deg); } }
.fx-cap { margin: 0; color: var(--ivory); font-weight: 700; animation: rise 0.5s 0.4s var(--ease) both; }
.fx-cap b { color: var(--gold-2); }
body.fx-shake main { animation: shake 0.35s linear; }
@keyframes shake { 20% { transform: translate(-4px, 2px); } 40% { transform: translate(4px, -2px); } 60% { transform: translate(-2px, 1px); } 80% { transform: translate(2px, 0); } }
.fx-points { position: fixed; z-index: 220; transform: translate(-50%, 0); font: 800 1.4rem var(--sans); color: var(--gold-2); text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7); pointer-events: none; animation: floatUp 1.3s var(--ease) both; }
@keyframes floatUp { 0% { opacity: 0; transform: translate(-50%, 6px) scale(0.7); } 20% { opacity: 1; transform: translate(-50%, -10px) scale(1.15); } 100% { opacity: 0; transform: translate(-50%, -80px) scale(1); } }
.fx-badge { position: relative; overflow: hidden; width: min(86vw, 330px); padding: 1.8rem 1.4rem 1.5rem; border-radius: 18px; text-align: center; display: grid; justify-items: center; gap: 0.3rem; background: linear-gradient(160deg, #2a2216, var(--navy) 70%); border: 1px solid rgba(209, 178, 122, 0.6); box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.9); animation: flip 0.8s cubic-bezier(0.2, 0.9, 0.3, 1.1) both; cursor: default; }
.fx-badge::after { content: ""; position: absolute; inset: -50%; background: linear-gradient(105deg, transparent 40%, rgba(255, 236, 190, 0.35) 50%, transparent 60%); animation: sweep 1.6s 0.7s ease both; }
@keyframes flip { from { transform: perspective(900px) rotateY(180deg) scale(0.6); opacity: 0; } to { transform: perspective(900px) rotateY(0) scale(1); opacity: 1; } }
@keyframes sweep { from { transform: translateX(-60%); } to { transform: translateX(60%); } }
.fx-badge__eyebrow { margin: 0; font: 800 0.66rem var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-2); }
.fx-badge__icon { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; margin: 0.6rem 0; background: var(--gold-2); color: var(--charcoal); box-shadow: 0 0 0 8px rgba(209, 178, 122, 0.18), 0 0 40px rgba(209, 178, 122, 0.5); }
.fx-badge__icon .ico { width: 40px; height: 40px; }
.fx-badge b { font-family: var(--serif); font-size: 1.7rem; }
.fx-badge [lang="ur"] { color: var(--sand); }
.fx-badge p { margin: 0.3rem 0 0.9rem; font-size: 0.85rem; color: var(--dim); }
.fx--rank { place-content: start center; padding-top: calc(var(--top) + 1rem); background: transparent; backdrop-filter: none; pointer-events: none; }
.fx-rank { display: flex; gap: 0.9rem; align-items: center; padding: 0.8rem 1.3rem 0.8rem 0.8rem; border-radius: 99px; background: linear-gradient(135deg, var(--burgundy), #3d1c22); border: 1px solid var(--gold-2); box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.8); animation: drop 0.6s cubic-bezier(0.3, 1.4, 0.5, 1) both; pointer-events: auto; }
@keyframes drop { from { transform: translateY(-120%); opacity: 0; } to { transform: none; opacity: 1; } }
.fx-rank__icon { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-2); color: var(--charcoal); }
.fx-rank small { display: block; font: 800 0.6rem var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-2); }
.fx-rank b { font-family: var(--serif); font-size: 1.5rem; margin-inline-end: 0.4rem; }
.fx-rank [lang="ur"] { color: var(--sand); }

@media (max-width: 640px) {
  .hero__media-cap { max-width: calc(100% - 32px); bottom: 10px; font-size: 0.66rem; }
  .area { padding: 0.9rem 0.7rem; margin-inline: -4px; }
}

/* everything calm for "reduce motion" */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .rv { opacity: 1; transform: none; }
}

/* ===================== v9 — easy to use: short home, real map, follow-me plan ===================== */
/* readable minimums */
.eyebrow, .card__meta, .mini__meta, .lmap__era, .stop__time, .road__time, .status, .stats span, .tile__body small { font-size: max(0.78rem, 12.5px) !important; }
small, .hint { font-size: max(0.82rem, 13px); }
[lang="ur"] { font-size: max(1em, 1.0625rem); }
.btn { min-height: 44px; }
.btn--sm { min-height: 42px; padding-inline: 1rem; }
.chips button { min-height: 42px; }
.back { padding: 0.6rem 0; }

/* home: short hero with search + 3 actions */
.hero--short { min-height: auto; padding-top: calc(var(--top) + clamp(2.5rem, 10vh, 6rem)); padding-bottom: 3.2rem; }
.hero--short .hero__inner { max-width: 640px; }
.hero--short h1 { font-size: clamp(2.5rem, 7vw, 4.4rem); margin-bottom: 0.3em; }
.hero--short .lead { font-size: clamp(1.1rem, 2.6vw, 1.35rem); margin-bottom: 1.3rem; color: var(--ivory); text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6); }
.search { position: relative; margin-bottom: 1rem; }
.search input { width: 100%; height: 54px; padding: 0 1rem 0 3rem; border-radius: 14px; border: 1px solid rgba(244, 239, 229, 0.25); background: rgba(23, 25, 27, 0.78); backdrop-filter: blur(10px); color: var(--ivory); font: 500 1rem var(--sans); }
.search input::placeholder { color: rgba(244, 239, 229, 0.55); }
.search input:focus { outline: none; border-color: var(--gold-2); box-shadow: 0 0 0 4px rgba(209, 178, 122, 0.2); }
.search__icon { position: absolute; left: 1rem; top: 15px; color: var(--gold-2); pointer-events: none; }
.search__icon .ico { width: 22px; height: 22px; }
.search__results { position: absolute; z-index: 30; left: 0; right: 0; top: 60px; padding: 0.4rem; border-radius: 14px; background: var(--charcoal); border: 1px solid var(--line-2); box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.85); max-height: 60vh; overflow: auto; }
.sr-item { display: flex; gap: 0.8rem; align-items: center; padding: 0.5rem; border-radius: 10px; color: var(--ivory); text-decoration: none !important; min-height: 60px; }
.sr-item:hover, .sr-item:focus { background: var(--navy); }
.sr-ph { width: 52px; height: 52px; flex: none; border-radius: 10px; }
.sr-item b { font-size: 1rem; }
.sr-item small { display: block; color: var(--faint); }
.sr-none { margin: 0; padding: 0.8rem; color: var(--dim); }
.actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.action { display: grid; gap: 0.15rem; padding: 0.9rem 0.9rem 0.85rem; border-radius: 14px; background: rgba(23, 25, 27, 0.72); backdrop-filter: blur(10px); border: 1px solid rgba(244, 239, 229, 0.18); color: var(--ivory); text-decoration: none !important; transition: border-color 0.25s, transform 0.25s var(--ease), background 0.25s; }
.action:hover { border-color: var(--gold-2); transform: translateY(-2px); }
.action:first-child { background: linear-gradient(135deg, rgba(178, 138, 69, 0.85), rgba(99, 47, 54, 0.85)); border-color: rgba(209, 178, 122, 0.7); }
.action__icon { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(244, 239, 229, 0.12); color: var(--gold-2); margin-bottom: 0.35rem; }
.action:first-child .action__icon { background: var(--ivory); color: var(--burgundy); }
.action__icon .ico { width: 20px; height: 20px; }
.action b { font-size: 1.02rem; line-height: 1.2; }
.action small { color: rgba(244, 239, 229, 0.72); font-size: 0.82rem; line-height: 1.3; }
.hero--short .hero__progress { margin-top: 1rem; }

/* swipe rows */
.row { margin: 2.6rem 0 0; }
.row__head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 0.9rem; }
.row__head h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); margin: 0; }
.row__head h2 [lang="ur"] { font-size: 1.05rem; color: var(--sand); margin-inline-start: 0.35rem; font-weight: 500; }
.row__head p { margin: 0.2rem 0 0; color: var(--dim); font-size: 0.92rem; }
.row__more { flex: none; display: inline-flex; align-items: center; gap: 0.35rem; min-height: 42px; padding: 0 0.9rem; border-radius: 99px; border: 1px solid var(--line-2); color: var(--ivory); font-size: 0.85rem; font-weight: 700; text-decoration: none !important; }
.row__more .ico { width: 16px; height: 16px; color: var(--gold-2); }
.row__scroll { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(200px, 62vw, 270px); gap: 0.8rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0.3rem max(16px, calc((100vw - var(--wrap, 1180px)) / 2 + 20px)) 1rem; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; overscroll-behavior-x: contain; }
.tile { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; scroll-snap-align: start; color: var(--ivory); text-decoration: none !important; background: var(--navy-2); box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.9); transition: transform 0.3s var(--ease); }
.tile:hover { transform: translateY(-3px); }
.tile .media { position: absolute; inset: 0; }
.tile:hover .media img { transform: scale(1.06); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(14, 15, 16, 0.92) 0%, rgba(14, 15, 16, 0.25) 45%, transparent 70%); pointer-events: none; }
.tile__top { position: absolute; z-index: 2; top: 10px; left: 10px; right: 10px; display: flex; justify-content: space-between; gap: 0.4rem; }
.tile__top .status { margin: 0; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5); }
.tile__dist { margin-inline-start: auto; padding: 0.2rem 0.55rem; border-radius: 99px; background: rgba(14, 15, 16, 0.75); font-size: 0.78rem; font-weight: 700; }
.tile__body { position: absolute; z-index: 2; left: 14px; right: 14px; bottom: 14px; display: grid; gap: 0.1rem; }
.tile__body small { color: var(--gold-2); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.tile__body b { font-family: var(--serif); font-size: 1.45rem; line-height: 1.05; }
.tile__body [lang="ur"] { color: var(--sand); }
.tile .noimg { padding-bottom: 5rem; }

/* full-screen map page */
body.on-map { overflow: hidden; }
body.on-map .foot { display: none; }
.mapview { position: fixed; left: 0; right: 0; top: var(--top); bottom: 0; }
.mapview__map { position: absolute; inset: 0; }
.mapview__map.lmap { border-radius: 0; border: 0; height: auto; }
.mapview__chips { position: absolute; z-index: 7; top: 10px; left: 0; right: 60px; justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding: 0 12px; margin: 0; scrollbar-width: none; }
.mapview__chips button { flex: none; background: rgba(23, 25, 27, 0.88); backdrop-filter: blur(8px); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35); }
.lmap { position: relative; overflow: hidden; touch-action: none; user-select: none; background: #e9e4dc; cursor: grab; }
.lmap:active { cursor: grabbing; }
.lmap__tiles { position: absolute; inset: 0; }
.lmap__tile { position: absolute; left: 0; top: 0; width: 256px; height: 256px; transform-origin: 0 0; opacity: 0; transition: opacity 0.25s; max-width: none; pointer-events: none; }
.lmap__tile.is-on { opacity: 1; }
.lmap__base { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.lmap__fallback { display: none; }
.lmap.no-tiles { background: radial-gradient(ellipse at 40% 40%, #1f2f44, #141c27 70%); }
.lmap.no-tiles .lmap__fallback { display: inline; }
.lmap__route-bg { fill: none; stroke: #fff; stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; opacity: 0.85; }
.lmap__route { fill: none; stroke: #632F36; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: none; animation: none; vector-effect: non-scaling-stroke; }
.lmap.no-tiles .lmap__route { stroke: var(--gold-2); }
.lpin { width: 48px; height: 48px; box-shadow: 0 0 0 3px #fff, 0 8px 18px rgba(0, 0, 0, 0.45); }
.lpin.is-new .media img { filter: none; }
.lpin.is-new { box-shadow: 0 0 0 3px #fff, 0 8px 18px rgba(0, 0, 0, 0.45); }
.lpin.is-seen { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--sand), 0 8px 18px rgba(0, 0, 0, 0.45); }
.lpin__label { opacity: 1; top: 52px; font-size: 0.75rem; background: #fff; color: #17191B; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25); padding: 0.15rem 0.5rem; border-radius: 6px; }
.lmap.no-tiles .lpin__label { background: rgba(23, 25, 27, 0.9); color: var(--ivory); }
.lcluster { width: 54px; height: 54px; box-shadow: 0 0 0 4px #fff, 0 10px 22px rgba(0, 0, 0, 0.4); }
.lme { position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: #2f7cf6; border: 3px solid #fff; box-shadow: 0 0 0 8px rgba(47, 124, 246, 0.22), 0 2px 8px rgba(0, 0, 0, 0.4); z-index: 5; pointer-events: none; }
.lme::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(47, 124, 246, 0.5); animation: pulse 2s ease-out infinite; }
.lmap__tools { top: 10px; right: 10px; }
.lmap__tools button { width: 44px; height: 44px; border-radius: 12px; background: #fff; color: #17191B; border: 0; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3); font-size: 1.3rem; }
.lmap__tools .lmap__me { color: #2f7cf6; font-size: 1.4rem; }
.lmap.is-locating .lmap__me { animation: pulse 1s infinite; }
.lmap__attr { position: absolute; right: 6px; bottom: 4px; margin: 0; z-index: 4; font-size: 10px !important; color: #555; background: rgba(255, 255, 255, 0.8); padding: 0 4px; border-radius: 3px; }
.lmap__attr a { color: inherit; }
.mapview .lmap__attr { bottom: calc(var(--sheet-peek, 150px) + 4px); }
.mapview .lmap__card { bottom: calc(var(--sheet-peek, 150px) + 12px); left: 10px; right: 10px; width: auto; max-width: 440px; }
.lmap__card { grid-template-columns: 120px 1fr; }
.lmap__acts .btn { min-height: 42px; font-size: 0.78rem; }
/* bottom sheet */
.sheet { --h: 150px; position: absolute; z-index: 8; left: 0; right: 0; bottom: 0; height: var(--h); display: grid; grid-template-rows: auto auto 1fr; background: var(--charcoal); border-radius: 20px 20px 0 0; box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.45); transition: height 0.35s var(--ease); max-width: 760px; margin: 0 auto; }
.sheet[data-state="half"] { --h: 48%; }
.sheet[data-state="full"] { --h: calc(100% - 64px); }
.sheet__handle { display: grid; place-items: center; height: 26px; border: 0; background: none; cursor: pointer; }
.sheet__handle i { width: 44px; height: 5px; border-radius: 9px; background: rgba(244, 239, 229, 0.35); }
.sheet__head { display: flex; justify-content: space-between; align-items: center; gap: 0.8rem; padding: 0 1rem 0.6rem; }
.sheet__head b { font-size: 1rem; }
.sheet__list { list-style: none; margin: 0; padding: 0 0.6rem 1rem; overflow-y: auto; overscroll-behavior: contain; }
.sheet__list li { display: flex; align-items: center; gap: 0.4rem; border-bottom: 1px solid var(--line); }
.pl { flex: 1; display: flex; gap: 0.8rem; align-items: center; min-height: 72px; padding: 0.5rem 0.4rem; border: 0; background: none; color: var(--ivory); text-align: start; cursor: pointer; font: inherit; }
.pl__ph { width: 56px; height: 56px; flex: none; border-radius: 12px; overflow: hidden; }
.pl__ph .media { width: 100%; height: 100%; }
.pl__body { display: grid; gap: 0.1rem; justify-items: start; }
.pl__body b { font-size: 1rem; line-height: 1.25; }
.pl__body small { color: var(--faint); }
.pl__body em { font-style: normal; color: var(--gold-2); font-weight: 700; }
.pl__body .status { margin: 0.15rem 0 0; }
.pl__go { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: var(--gold-2); }
.pl__go .ico { width: 22px; height: 22px; }

/* plan: choices + follow list */
.plan__head h1 { font-size: clamp(2rem, 6vw, 3.2rem); margin-bottom: 1rem; }
.choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.choice { position: relative; display: grid; gap: 0.15rem; justify-items: start; text-align: start; padding: 1rem 0.9rem; min-height: 86px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--navy); color: var(--ivory); font: inherit; cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.choice b { font-size: 1.12rem; }
.choice small { color: var(--dim); font-size: 0.85rem; }
.choice em { position: absolute; top: -9px; right: 10px; padding: 0.1rem 0.5rem; border-radius: 99px; background: var(--gold-2); color: var(--charcoal); font: 800 0.66rem var(--sans); font-style: normal; letter-spacing: 0.06em; text-transform: uppercase; }
.choice[aria-pressed="true"] { border-color: var(--gold-2); background: linear-gradient(135deg, rgba(178, 138, 69, 0.3), var(--navy)); box-shadow: 0 0 0 2px rgba(209, 178, 122, 0.35); }
.plan__more { margin-top: 0.8rem; min-height: 44px; }
.plan__more[aria-pressed="true"] { color: var(--ivory); }
.plan__top { margin: 2rem 0 1rem; }
.plan__top h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); margin-bottom: 0.3rem; }
.plan__intro { color: var(--dim); margin: 0 0 1rem; }
.plan__bar { position: sticky; top: calc(var(--top) + 6px); z-index: 20; display: flex; gap: 0.5rem; overflow-x: auto; padding: 0.5rem; margin: 0 -0.5rem; border-radius: 14px; background: rgba(23, 25, 27, 0.92); backdrop-filter: blur(10px); scrollbar-width: none; }
.plan__bar .btn { flex: none; }
.plan__bar .ico { width: 18px; height: 18px; }
.plan__prog { display: grid; grid-template-columns: auto 1fr auto; gap: 0.8rem; align-items: center; margin-top: 0.8rem; font-weight: 700; color: var(--sand); font-size: 0.9rem; }
.stops { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.2rem; }
.stop { display: grid; grid-template-columns: 48px 76px 1fr; gap: 0.8rem; align-items: start; padding: 0.9rem; border-radius: 16px; background: var(--navy); border: 1px solid var(--line); }
.stop.is-done { border-color: rgba(127, 180, 143, 0.5); background: linear-gradient(135deg, rgba(127, 180, 143, 0.12), var(--navy)); }
.stop__tick { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--charcoal); color: var(--ivory); font: 800 1.05rem var(--sans); cursor: pointer; display: grid; place-items: center; }
.stop__tick .ico { width: 22px; height: 22px; }
.stop.is-done .stop__tick { background: var(--ok); border-color: var(--ok); color: #0f2a19; }
.stop__ph { width: 76px; height: 76px; border-radius: 12px; overflow: hidden; background: var(--navy-2); }
.stop__ph .media { width: 100%; height: 100%; }
.stop__time { margin: 0; font: 800 0.8rem var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-2); }
.stop__body b { display: block; font-family: var(--serif); font-size: 1.35rem; line-height: 1.15; }
.stop__note { margin: 0.3rem 0 0.7rem; color: var(--dim); font-size: 0.95rem; }
.stop__note[lang="ur"] { line-height: 1.85; }
.stop__acts { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.stop__acts .ico { width: 16px; height: 16px; }
.leg { display: flex; align-items: center; gap: 0.4rem; padding: 0.35rem 0 0.35rem 1.4rem; color: var(--faint); font-size: 0.88rem; }
.leg .ico { width: 18px; height: 18px; }
.tips { margin-top: 2.4rem; border: 1px solid var(--line); border-radius: 14px; padding: 0.4rem 1rem; }
.tips summary { cursor: pointer; font-family: var(--serif); font-size: 1.4rem; font-weight: 600; min-height: 48px; display: flex; align-items: center; }
.tips .tips__grid { margin-top: 0.6rem; }
@media (max-width: 640px) {
  .stop { grid-template-columns: 44px 1fr; }
  .stop__tick { width: 44px; height: 44px; }
  .stop__ph { grid-column: 2; grid-row: 1; width: 100%; height: 140px; }
  .stop__body { grid-column: 2; }
  .choices { grid-template-columns: 1fr; }
  .choice { min-height: 64px; grid-template-columns: 1fr auto; align-items: center; }
  .choice em { position: static; grid-row: 1 / 3; grid-column: 2; }
  .actions { grid-template-columns: 1fr 1fr; }
  .action:first-child { grid-column: 1 / -1; grid-template-columns: auto 1fr; column-gap: 0.8rem; align-items: center; }
  .action:first-child .action__icon { grid-row: 1 / 3; margin: 0; }
}

/* walk mode: one stop at a time */
body.no-scroll { overflow: hidden; }
.walkmode { position: fixed; inset: 0; z-index: 150; display: grid; grid-template-rows: 1fr auto; background: var(--charcoal); animation: fxIn 0.25s ease both; }
.walkmode__ph { position: relative; min-height: 0; background: var(--navy-2); }
.walkmode__ph .media { position: absolute; inset: 0; }
.walkmode__ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--charcoal), transparent 45%); }
.walkmode__x { position: absolute; z-index: 3; top: calc(12px + env(safe-area-inset-top)); right: 12px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(23, 25, 27, 0.8); color: var(--ivory); font-size: 1.1rem; cursor: pointer; }
.walkmode__card { display: grid; gap: 0.6rem; padding: 0 1.2rem calc(1.2rem + env(safe-area-inset-bottom)); max-width: 620px; width: 100%; margin: -3rem auto 0; position: relative; z-index: 2; }
.walkmode__prog { display: grid; grid-template-columns: auto 1fr; gap: 0.8rem; align-items: center; font-weight: 800; color: var(--gold-2); }
.walkmode h2 { margin: 0; font-size: clamp(1.9rem, 7vw, 2.6rem); }
.walkmode h2 [lang="ur"] { display: block; font-size: 1.1rem; color: var(--sand); font-weight: 500; }
.walkmode__note { margin: 0; color: var(--dim); font-size: 1.02rem; }
.walkmode__note[lang="ur"] { line-height: 1.9; }
.walkmode__nav, .walkmode__here { width: 100%; min-height: 54px; font-size: 1rem; justify-content: center; }
.walkmode__here .ico, .walkmode__nav .ico { width: 20px; height: 20px; }
.walkmode__nav2 { display: flex; justify-content: space-between; gap: 1rem; }
.walkmode__nav2 .linkish { min-height: 44px; }
.walkmode__nav2 .linkish:disabled { opacity: 0.3; }

/* plan map overlay */
.mapoverlay { position: fixed; inset: 0; z-index: 150; display: grid; grid-template-rows: auto 1fr; background: var(--charcoal); }
.mapoverlay__bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: calc(8px + env(safe-area-inset-top)) 12px 8px 16px; }
.mapoverlay__map { position: relative; }
.mapoverlay__map.lmap { height: auto; border: 0; border-radius: 0; }

/* place page bits */
.dist { color: var(--ivory); }
.me__links { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 0.5rem; }
.stats > div { display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 0.15rem; }
.stats > div span { grid-column: 1 / -1; }
.stats > div > small { font-size: 1rem; color: var(--faint); }
.tour__dots { display: none; }
@media (min-width: 900px) { .tour__dots { display: flex; } }
@media (max-width: 640px) {
  .mapview { bottom: calc(64px + env(safe-area-inset-bottom)); }
  .lmap__card { grid-template-columns: 100px 1fr; }
}
.lmap__tiles { z-index: 0; }
.lmap__base { z-index: 1; }
.lmap__pins { z-index: 3; }
.lmap__tools, .lmap__card { z-index: 6; }
.mapview__map.lmap { position: absolute; inset: 0; }
.search { z-index: 6; }
/* the map page is fixed to the screen: no animated transform on <main> there */
body.on-map #main, body.on-map #main.is-in { animation: none !important; transform: none !important; }
/* Urdu body text never below ~17px */
p[lang="ur"], ol[lang="ur"], ul[lang="ur"], dl[lang="ur"] dd, dd[lang="ur"] { font-size: max(1.0625rem, 1em) !important; line-height: 1.9; }
.badge p { font-size: 0.85rem; }
.badge small, .ap__top > span { font-size: 0.85rem; }
