/* =====================================================================
   STYLE.CSS: how the website looks.
   You normally don't need to edit this file. To change the colour
   scheme, change  theme:  in js/content.js.
   ===================================================================== */

/* ---------- Colour schemes ---------- */
:root,
[data-theme="magenta"] {          /* Magenta & Marigold */
  --brand: #8E1F5B; --brand-deep: #6E1646; --accent: #E3A21A; --bg: #FBF6EE; --text: #2A1A21;
  --soft: #F3E9DC; --muted: #65505B; --on-brand: #FBF6EE; --on-brand-soft: #F3D9E5;
  --line: #E6D7C6; --deep: #2A1A21; --deep-soft: #CDBFC5;
}
[data-theme="maroon"] {           /* Maroon & Gold */
  --brand: #6B1526; --brand-deep: #50101D; --accent: #C9A063; --bg: #F7F0E5; --text: #2B1A17;
  --soft: #EDE2D1; --muted: #65524B; --on-brand: #F7F0E5; --on-brand-soft: #EBD3C7;
  --line: #DFD0BB; --deep: #2B1A17; --deep-soft: #CFC2B8;
}
[data-theme="emerald"] {          /* Emerald & Brass */
  --brand: #1E4B3B; --brand-deep: #15372B; --accent: #D2A24C; --bg: #F6F1E6; --text: #1B2621;
  --soft: #E9E2D2; --muted: #505C56; --on-brand: #F6F1E6; --on-brand-soft: #CFE0D6;
  --line: #DCD3C0; --deep: #1B2621; --deep-soft: #C3CCC7;
}
[data-theme="plum"] {             /* Plum & Blush */
  --brand: #4B1F43; --brand-deep: #371631; --accent: #E7B7A8; --bg: #FAF4F1; --text: #2A1C27;
  --soft: #F1E3DE; --muted: #655462; --on-brand: #FAF4F1; --on-brand-soft: #EBD5E2;
  --line: #E6D5CF; --deep: #2A1C27; --deep-soft: #CEC1CA;
}

:root {
  --jaali: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='black' stroke-width='1'%3E%3Crect x='22' y='22' width='36' height='36'/%3E%3Crect x='22' y='22' width='36' height='36' transform='rotate(45 40 40)'/%3E%3Ccircle cx='40' cy='40' r='9'/%3E%3Cpath d='M0 0L22 22M80 0L58 22M0 80L22 58M80 80L58 58M40 0v14.5M40 80V65.5M0 40h14.5M80 40H65.5'/%3E%3C/g%3E%3C/svg%3E");
  --serif: "Cormorant Garamond", "Noto Nastaliq Urdu", Georgia, serif;
  --sans: Inter, "Noto Nastaliq Urdu", system-ui, -apple-system, "Segoe UI", sans-serif;
  --urdu: "Noto Nastaliq Urdu", serif;
  --ease: cubic-bezier(.16, .84, .24, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: var(--brand); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; margin: 0; }
h2 { font-size: clamp(40px, 10.5vw, 64px); line-height: 1; letter-spacing: -0.015em; }
p { margin: 0; }
button { font: inherit; cursor: pointer; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--bg); color: var(--text); padding: 12px 16px; border-radius: 6px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--brand); }
.eyebrow.light { color: var(--on-brand-soft); }
.lead { font-size: 17px; color: var(--muted); max-width: 30em; }
.head { display: flex; flex-direction: column; gap: 14px; }
.center { text-align: center; align-items: center; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 28px; border-radius: 999px;
  font-size: 15px; font-weight: 600; text-decoration: none; letter-spacing: .01em;
  transition: transform .35s var(--ease), background-color .3s, color .3s;
}
.btn:active { transform: scale(.97); }
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.arrow { transition: transform .35s var(--ease); }
a:hover .arrow { transform: translateX(4px); }
[dir="rtl"] .arrow { transform: scaleX(-1); }
[dir="rtl"] a:hover .arrow { transform: scaleX(-1) translateX(4px); }
.btn-light { background: var(--on-brand); color: var(--brand); }
/* a slow gold sheen passes across the main button */
.btn-light::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(227, 162, 26, .28), transparent);
  transform: skewX(-20deg); animation: sheen 5s ease-in-out 3s infinite;
}
@keyframes sheen { 0%, 70% { left: -60%; } 100% { left: 130%; } }
.btn-brand { background: var(--brand); color: var(--on-brand); }
.btn-outline { border: 1px solid var(--brand); color: var(--brand); }
.btn-outline:hover { background: var(--brand); color: var(--on-brand); }
.text-link { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; color: var(--on-brand); font-size: 15px; font-weight: 500; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .3); align-self: center; padding: 0 4px; }

/* ---------- Lattice pattern ---------- */
.jaali {
  position: absolute; inset: 0; pointer-events: none;
  background-color: var(--accent); opacity: .12;
  -webkit-mask-image: var(--jaali); mask-image: var(--jaali);
  -webkit-mask-size: 80px 80px; mask-size: 80px 80px;
  animation: drift 70s linear infinite;
}
@keyframes drift { to { -webkit-mask-position: 80px 160px; mask-position: 80px 160px; } }

/* ---------- Logo intro (first visit only) ---------- */
.curtain { display: none; }
.has-intro .curtain {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 100;
  background: var(--brand); color: var(--accent);
  transition: transform 1s var(--ease) .1s, visibility 0s 1.2s;
}
.has-intro.ready .curtain { transform: translateY(-100%); visibility: hidden; }
.curtain circle { fill: none; stroke: currentColor; stroke-width: 1; stroke-dasharray: 360; stroke-dashoffset: 360; animation: drawCircle 1.2s var(--ease) forwards; }
.curtain .c2 { stroke-width: .6; animation-delay: .15s; }
.curtain text { fill: var(--on-brand); font-family: "Cormorant Garamond", serif; font-size: 30px; font-weight: 600; letter-spacing: 4px; opacity: 0; animation: fadeIn .8s ease .5s forwards; }
@keyframes drawCircle { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }

/* ---------- Top section ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; background: var(--brand); color: var(--on-brand); padding-bottom: 48px; }
.bar { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; padding-bottom: 14px; }
.badge { display: block; color: var(--on-brand); border-radius: 50%; }
.badge svg, .badge-foot { display: block; }
.badge circle, .badge-foot circle { fill: none; stroke: currentColor; stroke-width: 1; }
.badge circle.thin, .badge-foot circle.thin { stroke-width: .6; }
.badge text, .badge-foot text { fill: currentColor; font-family: "Cormorant Garamond", serif; font-size: 15px; font-weight: 600; letter-spacing: 1.5px; }
.nav-inline { display: none; gap: 32px; }
.nav-inline a { color: var(--on-brand); text-decoration: none; font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; padding: 12px 0; position: relative; }
.nav-inline a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav-inline a:hover::after { transform: scaleX(1); }
.bar-right { display: flex; align-items: center; gap: 4px; }
.lang { display: flex; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; overflow: hidden; }
.lang button { min-height: 44px; min-width: 48px; padding: 0 12px; border: 0; background: transparent; color: var(--on-brand); font-size: 12px; font-weight: 600; letter-spacing: .08em; }
.lang button[aria-pressed="true"] { background: var(--on-brand); color: var(--brand); }
.lang .ur-btn { font-family: var(--urdu); font-weight: 400; font-size: 14px; letter-spacing: 0; line-height: 1; }
.menu-btn { width: 48px; height: 48px; border: 0; background: transparent; color: var(--on-brand); display: grid; place-items: center; }
.menu-btn path, .menu-close path { stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; fill: none; }

.hero-grid { position: relative; display: grid; gap: 40px; padding-top: 36px; }
.hero-text { display: flex; flex-direction: column; gap: 18px; text-align: center; align-items: center; }
.hero-title { font-size: clamp(60px, 17vw, 120px); line-height: .92; letter-spacing: -0.02em; color: var(--on-brand); display: flex; flex-direction: column; align-items: center; }
.hero-title .line { display: block; overflow: hidden; padding: 0 .04em .08em; }
.hero-title .italic { font-style: italic; color: var(--accent); }
.hero-title .ch { display: inline-block; white-space: pre; }
.tagline-ur { font-family: var(--urdu); font-size: 18px; line-height: 2; color: var(--on-brand-soft); margin-top: -6px; }
.hero-dates { font-size: 14px; color: var(--on-brand-soft); letter-spacing: .02em; }

.ornament { display: flex; align-items: center; gap: 10px; width: 140px; color: var(--accent); }
.ornament span { flex: 1; height: 1px; background: currentColor; }
.ornament i { width: 7px; height: 7px; border: 1px solid currentColor; transform: rotate(45deg); }

.countdown { width: 100%; max-width: 360px; display: flex; flex-direction: column; align-items: center; gap: 10px; padding-top: 6px; }
.count-label { font-size: 10px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--on-brand-soft); }
.count-units { width: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.count-units div { display: flex; flex-direction: column; align-items: center; border-inline-start: 1px solid rgba(255, 255, 255, .2); }
.count-units div:first-child { border: 0; }
.count-units b { display: inline-block; font-family: "Cormorant Garamond", serif; font-weight: 500; font-size: 40px; line-height: 1.05; font-variant-numeric: tabular-nums; color: var(--on-brand); }
.count-units b.flip { animation: flip .5s var(--ease); }
@keyframes flip { from { transform: translateY(-35%); opacity: 0; } }
.count-units span { font-size: 11px; letter-spacing: .08em; color: var(--on-brand-soft); }

.actions { width: 100%; max-width: 360px; display: flex; flex-direction: column; gap: 8px; padding-top: 6px; }
.actions .btn { width: 100%; }

.hero-visual { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.note-light { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-brand-soft); opacity: .8; }

/* ---------- Picture frames ---------- */
.arch, .photo-box, .panel-img, .map, .hall-img { margin: 0; position: relative; overflow: hidden; background: var(--soft); }
.arch { border-radius: 999px 999px 4px 4px; aspect-ratio: 4 / 5; width: 100%; }
.arch-hero { max-width: 440px; background: rgba(255, 255, 255, .08); outline: 1px solid rgba(255, 255, 255, .18); outline-offset: 8px; }
.photo-box { border-radius: 4px; aspect-ratio: 4 / 3; width: 100%; }
.arch img, .photo-box img, .panel-img img, .hall-img img {
  width: 100%; height: 100%; object-fit: cover;
  translate: 0 var(--py, 0px); scale: 1.12;
  transition: scale 1.6s var(--ease);
}

.ph { display: grid; place-items: center; color: var(--brand); }
.ph::before { content: ""; position: absolute; inset: 0; background-color: currentColor; opacity: .09; -webkit-mask-image: var(--jaali); mask-image: var(--jaali); -webkit-mask-size: 64px 64px; mask-size: 64px 64px; }
.ph-mark { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; font-family: var(--serif); font-size: 22px; color: var(--text); text-align: center; padding: 0 16px; }
.ph-mark i { width: 12px; height: 12px; border: 1px solid var(--brand); transform: rotate(45deg); }

/* ---------- Moving band ---------- */
.marquee { overflow: hidden; border-bottom: 1px solid var(--line); background: var(--bg); padding: 16px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track span { font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--text); white-space: nowrap; padding: 0 20px; display: flex; align-items: center; gap: 40px; }
.marquee-track span::after { content: ""; width: 6px; height: 6px; border: 1px solid var(--brand); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }
[dir="rtl"] .marquee-track { animation-name: marquee-rtl; }
@keyframes marquee-rtl { to { transform: translateX(50%); } }

/* ---------- Sections ---------- */
.section { padding-top: 80px; padding-bottom: 80px; }
.soft { background: var(--soft); }
.soft .arch, .soft .photo-box { background: var(--line); }

/* Ladies only: four short tiles */
.tiles { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; row-gap: 28px; }
.tile { position: relative; display: flex; flex-direction: column; gap: 10px; padding-top: 16px; }
.tile::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--brand); transform-origin: left; }
[dir="rtl"] .tile::before { transform-origin: right; }
.tile .n { font-family: "Cormorant Garamond", serif; font-size: 15px; color: var(--brand); }
.tile .t { font-family: var(--serif); font-size: 24px; line-height: 1.1; font-weight: 500; }

/* The hall */
.hall .head { margin-bottom: 36px; }
.hall-frame { margin: 0 auto; padding: 0 16px; max-width: 760px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.hall-img { width: 100%; aspect-ratio: 3 / 4; border-radius: 999px 999px 4px 4px; }
.hall-frame figcaption { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* Stalls: swipe on phones */
.panels { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 32px 24px 4px; scrollbar-width: none; scroll-padding: 0 24px; }
.panels::-webkit-scrollbar { display: none; }
.panel { margin: 0; flex: 0 0 76%; max-width: 320px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 12px; }
.panel-img { aspect-ratio: 4 / 5; border-radius: 2px; }
.panel figcaption { display: flex; gap: 10px; align-items: baseline; }
.panel .no { font-family: "Cormorant Garamond", serif; font-size: 14px; color: var(--brand); }
.panel .lb { font-family: var(--serif); font-size: 23px; font-weight: 500; line-height: 1.15; }
.panel-foot { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: 20px; }
.dots { display: flex; gap: 8px; }
.dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--line); transition: background .3s, width .3s var(--ease); }
.dots span.on { width: 22px; border-radius: 3px; background: var(--brand); }
.more { font-size: 14px; color: var(--muted); text-align: center; }

/* Image + text pairs */
.split { display: grid; gap: 36px; align-items: center; }
.split-text { display: flex; flex-direction: column; gap: 14px; }
.split .arch { max-width: 420px; justify-self: center; }
.menu-dots { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 0; font-family: var(--serif); font-size: 24px; }
.menu-dots li:not(:last-child)::after { content: "·"; color: var(--brand); padding: 0 12px; }

.offers { border: 1px solid var(--brand); border-radius: 4px; padding: 36px 24px; display: flex; flex-direction: column; gap: 14px; }
.lined { list-style: none; margin: 8px 0 0; padding: 0; font-size: 17px; }
.lined li { padding: 14px 0; border-top: 1px solid var(--line); }

/* House rules */
.rules { position: relative; overflow: hidden; isolation: isolate; background: var(--brand); color: var(--on-brand); padding: 72px 0; }
.rules-inner { position: relative; display: flex; flex-direction: column; gap: 28px; }
.diamonds { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.diamonds li { display: flex; gap: 16px; align-items: baseline; font-family: var(--serif); font-size: 26px; line-height: 1.2; }
.diamonds li::before { content: ""; width: 7px; height: 7px; flex-shrink: 0; border: 1px solid var(--accent); transform: translateY(-5px) rotate(45deg); }

/* Visit */
#visit h2 { font-size: clamp(36px, 9vw, 56px); }
#visit .btn { align-self: flex-start; margin-top: 8px; }
.map { border-radius: 4px; aspect-ratio: 4 / 3; width: 100%; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

.narrow { max-width: 560px; display: flex; flex-direction: column; gap: 14px; }
.narrow .btn { margin-top: 10px; }

/* ---------- Footer ---------- */
.footer { background: var(--deep); color: var(--bg); padding: 64px 0 calc(96px + env(safe-area-inset-bottom)); }
.footer-grid { display: grid; gap: 32px; }
.footer-brand { display: flex; align-items: center; gap: 16px; color: var(--accent); }
.footer-name { font-family: var(--serif); font-size: 26px; line-height: 1.1; color: var(--bg); }
.footer-ur { font-family: var(--urdu); font-size: 13px; line-height: 2; color: var(--deep-soft); }
.facts { margin: 0; display: flex; flex-direction: column; }
.facts div { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.facts dt { color: var(--deep-soft); font-size: 14px; }
.facts dd { margin: 0; font-size: 14px; text-align: end; }
.facts a { color: var(--bg); }
.footer-legal { margin-top: 40px; display: flex; flex-direction: column; gap: 6px; font-size: 12px; line-height: 1.6; color: var(--deep-soft); }

/* ---------- Phone menu ---------- */
.menu { position: fixed; inset: 0; z-index: 60; background: var(--bg); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; }
.menu nav { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.menu nav a { font-family: var(--serif); font-size: 36px; color: var(--text); text-decoration: none; padding: 4px 12px; }
.menu-close { position: absolute; top: 16px; inset-inline-end: 16px; min-height: 48px; padding: 0 12px; border: 0; background: transparent; color: var(--text); display: flex; align-items: center; gap: 8px; font-size: 14px; }
.menu.open nav a { animation: rise .7s var(--ease) both; }
.menu.open nav a:nth-child(2) { animation-delay: .04s; } .menu.open nav a:nth-child(3) { animation-delay: .08s; }
.menu.open nav a:nth-child(4) { animation-delay: .12s; } .menu.open nav a:nth-child(5) { animation-delay: .16s; }
.menu.open nav a:nth-child(6) { animation-delay: .2s; } .menu.open nav a:nth-child(7) { animation-delay: .24s; }

/* ---------- Floating WhatsApp (phones) ---------- */
.wa-float {
  position: fixed; z-index: 30; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom));
  min-height: 54px; border-radius: 999px; background: var(--brand); color: var(--on-brand);
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 600; font-size: 15px; text-decoration: none;
  box-shadow: 0 12px 32px rgba(42, 26, 33, .28);
  transform: translateY(150%); transition: transform .6s var(--ease);
}
.wa-float.show { transform: none; }

/* =====================================================================
   ANIMATIONS
   ===================================================================== */
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes charUp { from { transform: translateY(110%); } to { transform: none; } }
@keyframes drawLine { from { transform: scaleX(0); } to { transform: none; } }
@keyframes archOpen { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes zoomOut { from { scale: 1.4; } to { scale: 1.12; } }

/* Top section plays once the page (or the intro) is ready */
.js .hero-in, .js .hero-title .ch, .js .draw span, .js .draw i, .js .arch-hero { opacity: 0; }
.ready .hero-in { animation: rise 1s var(--ease) both; animation-delay: calc(var(--d, 0) * 90ms + 200ms); }
.ready .hero-title .ch { opacity: 1; animation: charUp 1s var(--ease) both; animation-delay: calc(var(--i) * 40ms + 100ms); }
.ready .draw span { opacity: 1; animation: drawLine 1.1s var(--ease) both .8s; }
.ready .draw span:first-child { transform-origin: right; }
.ready .draw span:last-child { transform-origin: left; }
.ready .draw i { animation: rise .8s var(--ease) both 1s; }
.ready .arch-hero { opacity: 1; animation: archOpen 1.5s var(--ease) both .45s; }
.ready .arch-hero img { animation: zoomOut 2.6s var(--ease) both .45s; }

/* Pictures wipe open as they scroll into view */
.js .wipe { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease); }
.js .wipe img { scale: 1.35; }
.js .wipe.in { clip-path: inset(0 0 0 0); }
.js .wipe.in img { scale: 1.12; }

/* Headings rise word by word */
[data-split] .wm { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
[data-split] .w { display: inline-block; }
.js [data-split] .w { transform: translateY(110%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 80ms); }
.js [data-split].in .w { transform: none; }

/* Fade up */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease) .15s, transform 1s var(--ease) .15s; }
.js .reveal.in { opacity: 1; transform: none; }

/* Lists and tiles one after another */
.js .tile, .js .diamonds li { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 110ms + 100ms); }
.js .tiles.in .tile, .js .diamonds.in li { opacity: 1; transform: none; }
.js .tile::before { transform: scaleX(0); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 110ms); }
.js .tiles.in .tile::before { transform: none; }
.js .panel { opacity: 0; transform: translateX(60px); transition: opacity 1s var(--ease), transform 1.1s var(--ease), flex-grow .8s var(--ease); transition-delay: calc(var(--i, 0) * 100ms), calc(var(--i, 0) * 100ms), 0s; }
[dir="rtl"].js .panel { transform: translateX(-60px); }
.js .panels.in .panel { opacity: 1; transform: none; }

/* ---------- Urdu ---------- */
html[lang="ur"] body { font-family: var(--urdu); line-height: 2.1; }
html[lang="ur"] h1, html[lang="ur"] h2, html[lang="ur"] .tile .t, html[lang="ur"] .panel .lb,
html[lang="ur"] .menu-dots, html[lang="ur"] .marquee-track span, html[lang="ur"] .footer-name,
html[lang="ur"] .menu nav a, html[lang="ur"] .diamonds li { font-family: var(--urdu); font-style: normal; font-weight: 400; line-height: 1.9; }
html[lang="ur"] .hero-title { font-size: clamp(44px, 12vw, 84px); line-height: 1.6; }
html[lang="ur"] .hero-title .line { overflow: visible; }
html[lang="ur"] h2 { font-size: clamp(30px, 7.5vw, 46px); }
html[lang="ur"] [data-split] .wm { overflow: visible; }
html[lang="ur"] .tile .t, html[lang="ur"] .panel .lb { font-size: 19px; }
html[lang="ur"] .diamonds li { font-size: 20px; }
html[lang="ur"] .eyebrow, html[lang="ur"] .count-label, html[lang="ur"] .nav-inline a,
html[lang="ur"] .note-light, html[lang="ur"] .hall-frame figcaption { letter-spacing: 0; text-transform: none; font-size: 14px; font-weight: 400; }
html[lang="ur"] .tagline-ur { display: none; }
html[lang="ur"] .marquee-track span { font-size: 20px; }
html[lang="ur"] .btn { font-weight: 400; }

/* ---------- Bigger screens ---------- */
@media (min-width: 900px) {
  .menu-btn { display: none; }
  .nav-inline { display: flex; }
  .hero { padding-bottom: 96px; }
  .hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; padding-top: 40px; gap: 72px; }
  .hero-text { text-align: start; align-items: flex-start; }
  .hero-title { align-items: flex-start; }
  .countdown { align-items: flex-start; }
  .count-units div { align-items: flex-start; padding-inline-start: 16px; }
  .count-units div:first-child { padding-inline-start: 0; }
  .actions { flex-direction: row; align-items: center; max-width: none; gap: 24px; }
  .actions .btn { width: auto; }
  .section { padding-top: 128px; padding-bottom: 128px; }
  .why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 72px; align-items: end; }
  .tiles { margin: 0; }
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 88px; }
  .split.flip > :first-child { order: 2; }
  .rules-inner { flex-direction: row; justify-content: space-between; align-items: flex-start; }
  .diamonds { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; max-width: 760px; }
  .footer { padding-bottom: 48px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }

  /* The reel's opening panels */
  .panels { max-width: 1160px; margin: 0 auto; overflow: visible; padding: 48px 24px 4px; gap: 14px; }
  .panel { flex: 1 1 0; max-width: none; min-width: 0; }
  .panel-img { aspect-ratio: auto; height: 520px; }
  .panel:hover { flex-grow: 2.4; }
  .panel:hover img { scale: 1.2; }
  .panel figcaption { white-space: nowrap; overflow: hidden; }
  .dots { display: none; }

  .wa-float { display: none; }
}

/* ---------- Phones set to "reduce motion": keep soft fades, drop movement ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track, .jaali, .btn-light::after { animation: none !important; }
  .has-intro .curtain { display: none !important; }
  .js .hero-in, .js .hero-title .ch, .js .draw span, .js .draw i, .js .arch-hero, .js .arch-hero img,
  .js .wipe, .js .wipe img, .js [data-split] .w, .js .reveal, .js .tile, .js .tile::before,
  .js .diamonds li, .js .panel, .count-units b.flip {
    transform: none !important; clip-path: none !important; translate: none !important; scale: 1 !important;
  }
}
