/* Motion, hover effects and festive details, on top of style.css.
   Works in light and dark mode (html[data-mode="dark"]). Loaded last. */

:root {
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-spring: cubic-bezier(0.3, 1.6, 0.5, 1);
  /* product illustration backgrounds — 4 tones, varied per product */
  --tone0-bg: #f6efe2; --tone0-fl: #e9dcc4;
  --tone1-bg: #eaf1e8; --tone1-fl: #d3e2d0;
  --tone2-bg: #f8e9e6; --tone2-fl: #efd2cc;
  --tone3-bg: #efeaf5; --tone3-fl: #ddd3ea;
  --glow: 0.5;
  /* gold foil shimmer on highlighted heading words */
  --foil-1: #9c7a2e; --foil-2: #c9a14a; --foil-3: #f0d98f;
  --petal-1: #e8b4b8; --petal-2: #c9a14a; --petal-3: #fff6e8;
  --garland: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='52' viewBox='0 0 120 52'%3E%3Cpath d='M0 6Q60 40 120 6' fill='none' stroke='%23b8913a' stroke-width='1.4'/%3E%3Cg stroke='%23d9c9a3' stroke-width='.8'%3E%3Ccircle cx='12' cy='12.1' r='5' fill='%23fffaf0'/%3E%3Ccircle cx='24' cy='16.9' r='4.4' fill='%23c9a14a'/%3E%3Ccircle cx='36' cy='20.3' r='5' fill='%23fffaf0'/%3E%3Ccircle cx='48' cy='22.3' r='4.4' fill='%23c9a14a'/%3E%3Ccircle cx='60' cy='23' r='5' fill='%23fffaf0'/%3E%3Ccircle cx='72' cy='22.3' r='4.4' fill='%23c9a14a'/%3E%3Ccircle cx='84' cy='20.3' r='5' fill='%23fffaf0'/%3E%3Ccircle cx='96' cy='16.9' r='4.4' fill='%23c9a14a'/%3E%3Ccircle cx='108' cy='12.1' r='5' fill='%23fffaf0'/%3E%3C/g%3E%3Cpath d='M60 28v12' stroke='%23b8913a' stroke-width='1.2'/%3E%3Ccircle cx='60' cy='33' r='2.6' fill='%23fffaf0' stroke='%23d9c9a3' stroke-width='.6'/%3E%3Ccircle cx='60' cy='42' r='4.4' fill='%23e8a0a8'/%3E%3Cpath d='M57.6 42.4a2.4 2.4 0 1 1 2.4 2' fill='none' stroke='%23c76b78' stroke-width='.9'/%3E%3Ccircle cx='0' cy='6' r='6.4' fill='%23e8a0a8'/%3E%3Ccircle cx='120' cy='6' r='6.4' fill='%23e8a0a8'/%3E%3Cellipse cx='9' cy='4' rx='4' ry='1.8' fill='%232f7d5f' transform='rotate(-20 9 4)'/%3E%3Cellipse cx='111' cy='4' rx='4' ry='1.8' fill='%232f7d5f' transform='rotate(20 111 4)'/%3E%3C/svg%3E");
  --ornament: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 150 18'%3E%3Cpath d='M4 9h50M96 9h50' stroke='%23c9a14a' stroke-width='1.2'/%3E%3Ccircle cx='60' cy='9' r='2' fill='%23c9a14a'/%3E%3Ccircle cx='90' cy='9' r='2' fill='%23c9a14a'/%3E%3Cg fill='%23c9a14a'%3E%3Cellipse cx='75' cy='4.5' rx='2.6' ry='4.2'/%3E%3Cellipse cx='75' cy='13.5' rx='2.6' ry='4.2'/%3E%3Cellipse cx='70.5' cy='9' rx='4.2' ry='2.6'/%3E%3Cellipse cx='79.5' cy='9' rx='4.2' ry='2.6'/%3E%3C/g%3E%3Ccircle cx='75' cy='9' r='2.2' fill='%230f4c3a'/%3E%3C/svg%3E");
}
html[data-mode='dark'] {
  --tone0-bg: #22332b; --tone0-fl: #192720;
  --tone1-bg: #2d2a22; --tone1-fl: #221f18;
  --tone2-bg: #2c2430; --tone2-fl: #211b25;
  --tone3-bg: #1f2b34; --tone3-fl: #172129;
  --glow: 0.1;
  --foil-1: #c9a14a; --foil-2: #e8c872; --foil-3: #fff1c4;
  --petal-1: #c98a92; --petal-2: #c9a14a; --petal-3: #f3e7cf;
}

/* ---------- product illustrations ---------- */
.ph.ph-scene { display: block; padding: 0; background: var(--sb); --sb: var(--tone0-bg); --sf: var(--tone0-fl); }
.ph.ph-scene[data-tone='1'] { --sb: var(--tone1-bg); --sf: var(--tone1-fl); }
.ph.ph-scene[data-tone='2'] { --sb: var(--tone2-bg); --sf: var(--tone2-fl); }
.ph.ph-scene[data-tone='3'] { --sb: var(--tone3-bg); --sf: var(--tone3-fl); }
.ph.ph-scene svg, .line-thumb .ph.ph-scene svg { width: 100%; height: 100%; display: block; opacity: 1; }
.s-bg { fill: var(--sb); }
.s-floor { fill: var(--sf); }
.s-glow { fill: #fff; opacity: var(--glow); }

/* ---------- scroll reveal (only when JS is running) ---------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- light / dark switch ---------- */
.mode-btn { overflow: hidden; }
.mode-icon { position: absolute; inset: 0; display: grid; place-items: center; transition: transform 0.55s var(--ease-spring), opacity 0.3s; }
.mode-icon i[data-icon] { width: 21px; height: 21px; }
.mode-icon.sun { color: #e0a526; }
html:not([data-mode='dark']) .mode-icon.sun { transform: translateY(130%) rotate(90deg); opacity: 0; }
html[data-mode='dark'] .mode-icon.moon { transform: translateY(-130%) rotate(-90deg); opacity: 0; }
@media (hover: hover) { html[data-mode='dark'] .mode-btn:hover .mode-icon.sun { transform: rotate(45deg); } }
/* circular reveal when switching (browsers with View Transitions) */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
/* fallback: a soft colour fade */
html.mode-fade, html.mode-fade *, html.mode-fade *::before, html.mode-fade *::after {
  transition: background-color 0.45s ease, color 0.45s ease, border-color 0.45s ease, fill 0.45s ease !important;
}

/* ---------- hero ---------- */
.hero-copy > * { animation: rise-in 0.9s var(--ease-out) both; }
.hero-copy > :nth-child(2) { animation-delay: 0.08s; }
.hero-copy > :nth-child(3) { animation-delay: 0.16s; }
.hero-copy > :nth-child(4) { animation-delay: 0.3s; }
.hero-copy > :nth-child(5) { animation-delay: 0.42s; }
.hero-copy > :nth-child(6) { animation-delay: 0.54s; }
.hero h1 .w { display: inline-block; animation: word-in 0.8s var(--ease-out) both; animation-delay: calc(var(--i) * 60ms + 0.18s); }
.hero h1:not(.is-urdu) em .w {
  background: linear-gradient(100deg, var(--foil-1) 0%, var(--foil-2) 28%, var(--foil-3) 50%, var(--foil-2) 72%, var(--foil-1) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: 0.06em;
  animation: word-in 0.8s var(--ease-out) both, foil 7s linear infinite;
  animation-delay: calc(var(--i) * 60ms + 0.18s), calc(var(--i) * -0.4s);
}
.hero-visual { animation: art-in 1.1s var(--ease-out) 0.2s both; }
@keyframes rise-in { from { opacity: 0; transform: translateY(18px); } }
@keyframes word-in { from { opacity: 0; transform: translateY(0.45em) rotate(2deg); } }
@keyframes art-in { from { opacity: 0; transform: translateY(30px) scale(0.96); } }
@keyframes foil { to { background-position: -250% 0; } }

/* Urdu business name (shown when the main heading is in English) */
.hero-urdu {
  font-family: var(--font-urdu); font-weight: 700; font-size: clamp(2.1rem, 4.4vw, 3.3rem); line-height: 2.05;
  color: var(--accent-dark); margin: 4px 0 0; text-align: left;
}
/* Urdu main heading (set in Admin → Settings) */
.hero h1.is-urdu {
  font-family: var(--font-urdu); font-weight: 700; letter-spacing: 0;
  font-size: clamp(2.3rem, 4.8vw, 3.8rem); line-height: 2; text-align: left; margin-block: 0 22px;
}
.hero h1.is-urdu em { font-style: normal; color: var(--accent-dark); }
html[data-mode='dark'] .hero h1.is-urdu em { text-shadow: 0 0 22px rgba(232, 200, 114, 0.25); }

/* booking panel: emerald arch with all phone numbers */
.hero-visual { position: relative; width: min(440px, 100%); aspect-ratio: 440 / 500; justify-self: center; align-self: center; }
.hero-arch {
  position: absolute; top: 0; right: 0; width: 76%; height: 94%; overflow: hidden;
  border-radius: 999px 999px 22px 22px; border: 2px solid #c9a14a; color: #fbf7ef;
  background:
    radial-gradient(120% 60% at 50% 16%, rgba(246, 231, 185, 0.3), transparent 62%),
    linear-gradient(180deg, #1d6b53, #0a3328);
  box-shadow: 0 34px 60px -26px rgba(10, 51, 40, 0.6);
}
.hero-arch::before { content: ''; position: absolute; inset: 10px; border-radius: inherit; border: 1px solid rgba(201, 161, 74, 0.5); pointer-events: none; }
.ha-deco { position: absolute; top: 0; left: 0; width: 100%; height: auto; pointer-events: none; }
.ha-content {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; padding: 22% 9% 27%; text-align: center;
}
.hc-label { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: #e9d39a; }
.hc-phones { display: grid; gap: 2px; margin: 4px 0 2px; }
.hc-phones a { font-weight: 600; font-size: clamp(1.05rem, 2vw, 1.32rem); letter-spacing: 0.05em; color: #fff; text-decoration: none; transition: color 0.2s, transform 0.3s var(--ease-out); }
.hc-phones a:hover { color: #f3dc94; transform: scale(1.04); }
.hc-hours { font-size: 0.74rem; line-height: 1.4; color: rgba(251, 247, 239, 0.75); max-width: 92%; }
.ha-content .btn { margin-top: 8px; padding: 10px 20px; font-size: 0.9rem; }
html[data-mode='dark'] .hero-arch { background: radial-gradient(120% 60% at 50% 16%, rgba(246, 231, 185, 0.22), transparent 62%), linear-gradient(180deg, #164f3e, #071d16); box-shadow: 0 34px 60px -26px rgba(0, 0, 0, 0.9), 0 0 60px -20px rgba(201, 161, 74, 0.25); }

/* two ringed pictures (gold double ring) — real product photos once uploaded */
.medal {
  position: absolute; width: 35%; aspect-ratio: 1; border-radius: 50%; padding: 5px; overflow: hidden;
  background: var(--bg); border: 3px solid var(--accent);
  box-shadow: 0 0 0 5px var(--bg), 0 0 0 6px color-mix(in srgb, var(--accent) 60%, transparent), 0 20px 34px -14px rgba(0, 0, 0, 0.45);
  animation: bob 6s ease-in-out infinite; transition: border-color 0.3s;
}
.medal > svg, .medal > button { display: block; width: 100%; height: 100%; clip-path: circle(50%); transition: transform 0.6s var(--ease-out); }
.medal > button { padding: 0; border: 0; background: none; cursor: pointer; }
.medal img { width: 100%; height: 100%; object-fit: cover; }
.medal-a { left: 0; top: 43%; }
.medal-b { left: 15%; top: 72%; animation-duration: 7.5s; animation-delay: -2s; }
@media (hover: hover) {
  .medal:hover { border-color: var(--primary); }
  .medal:hover > svg, .medal:hover > button { transform: scale(1.1); }
}
@keyframes bob { 50% { transform: translateY(-10px); } }

/* falling petals */
.petals { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.petals i {
  position: absolute; top: -24px; left: var(--x); width: 11px; height: 15px;
  border-radius: 80% 0 80% 0; background: var(--petal-1); opacity: 0.75;
  animation: petal-fall var(--t) linear var(--delay) infinite;
}
.petals i:nth-child(3n) { background: var(--petal-2); width: 9px; height: 12px; }
.petals i:nth-child(3n + 1) { background: var(--petal-3); }
@keyframes petal-fall {
  0% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(var(--dx), 420px, 0) rotate(240deg); }
  100% { transform: translate3d(0, 860px, 0) rotate(520deg); opacity: 0; }
}
.hero-inner { position: relative; z-index: 1; }
.hero .hero-inner { padding-top: 82px; padding-bottom: 56px; align-items: center; }
.hero-copy { padding-bottom: 0; }

/* jasmine & gold garland hanging from the header (and over the footer) */
.garland {
  position: absolute; left: 0; right: 0; top: 0; height: 52px; z-index: 2; pointer-events: none;
  background: var(--garland) repeat-x center top / 120px 52px;
  animation: garland-sway 5s ease-in-out infinite;
  filter: drop-shadow(0 4px 3px rgba(0, 0, 0, 0.12));
}
@keyframes garland-sway { 50% { transform: translateY(2px); } }

/* ---------- buttons ---------- */
.btn { position: relative; overflow: hidden; isolation: isolate; transition: transform 0.25s var(--ease-out), background 0.25s, box-shadow 0.25s, color 0.25s; }
.btn::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(115deg, transparent 25%, rgba(255, 255, 255, 0.38) 50%, transparent 75%);
  transform: translateX(-130%); transition: transform 0.75s var(--ease-out);
}
.btn .arr { display: inline-flex; width: 1em; height: 1em; transition: transform 0.3s var(--ease-out); }
.btn .arr svg { width: 100%; height: 100%; }
.btn-sm { padding: 8px 16px; font-size: 0.88rem; }
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -12px color-mix(in srgb, var(--primary-dark) 60%, transparent); }
  .btn:hover::after { transform: translateX(130%); }
  .btn:hover .arr { transform: translateX(4px); }
  .icon-btn { transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.3s var(--ease-spring); }
  .icon-btn:hover { transform: translateY(-2px) rotate(-6deg); }
}

/* ---------- header ---------- */
.wa-link:hover, .wa-link:focus-visible { background: #25d366; border-color: #25d366; color: #fff; }
.header { transition: box-shadow 0.3s, background 0.3s; }
.header-inner { transition: height 0.3s var(--ease-out); }
html.is-scrolled { --header-h: 62px; }
html.is-scrolled .header { box-shadow: 0 12px 30px -20px rgba(0, 0, 0, 0.55); }
.brand-mark { transition: transform 0.3s var(--ease-out); }
html.is-scrolled .brand-mark { transform: scale(0.88); }
.nav a.active::after { transform: scaleX(1); }
@media (hover: hover) { .brand:hover .brand-mark { transform: rotate(-8deg) scale(1.06); } }

/* ---------- services ribbon (marquee) ---------- */
.marquee {
  position: relative; overflow: hidden; background: var(--primary-dark); color: var(--accent); padding: 6px 0; user-select: none;
  border-block: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-list { display: flex; align-items: center; gap: 26px; padding: 0 26px 0 0; margin: 0; list-style: none; white-space: nowrap; }
.marquee-list li { display: inline-flex; align-items: center; gap: 12px; }
.mq-en { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: 0.01em; }
.mq-ur { font-family: var(--font-urdu); font-size: 1.02rem; line-height: 2.1; opacity: 0.85; }
.mq-sep { width: 18px; height: 18px; color: currentColor; opacity: 0.8; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- section ornament ---------- */
.ornament { display: block; width: 150px; height: 18px; margin: 14px auto 0; background: var(--ornament) center / contain no-repeat; }
.section-head .eyebrow { margin-bottom: 2px; }

/* ---------- shop by occasion ---------- */
.occasions { padding: 84px 0 10px; }
.occ-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px; }
.occ { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 0; border: 0; background: none; text-align: center; color: var(--ink); cursor: pointer; }
.occ-art {
  position: relative; width: 100%; aspect-ratio: 1; border-radius: 50%; padding: 6px;
  background: var(--white); border: 2px solid var(--accent);
  box-shadow: 0 0 0 5px var(--bg), 0 0 0 6px color-mix(in srgb, var(--accent) 55%, transparent);
  transition: transform 0.5s var(--ease-spring), box-shadow 0.4s, border-color 0.3s;
}
.occ-art::after { content: ''; position: absolute; inset: -12px; border-radius: 50%; border: 1.5px dashed var(--accent); opacity: 0; transition: opacity 0.3s; animation: spin 18s linear infinite; }
.occ-art .ph { width: 100%; height: 100%; border-radius: 50%; overflow: hidden; transition: transform 0.7s var(--ease-out); }
.occ-name { margin-top: 14px; font-family: var(--font-display); font-weight: 600; font-size: 1.32rem; line-height: 1.2; transition: color 0.25s; }
.occ-ur { font-family: var(--font-urdu); font-size: 0.95rem; line-height: 2; color: var(--accent-dark); }
.occ-count { font-size: 0.78rem; color: var(--muted); }
.occ:focus-visible { outline: none; }
.occ:focus-visible .occ-art { box-shadow: 0 0 0 5px var(--bg), 0 0 0 8px color-mix(in srgb, var(--primary) 45%, transparent); }
@media (hover: hover) {
  .occ:hover .occ-art { transform: translateY(-8px); border-color: var(--primary); box-shadow: 0 0 0 5px var(--bg), 0 0 0 6px color-mix(in srgb, var(--accent) 55%, transparent), 0 26px 36px -20px rgba(0, 0, 0, 0.45); }
  .occ:hover .occ-art::after { opacity: 0.9; }
  .occ:hover .occ-art .ph { transform: scale(1.08); }
  .occ:hover .occ-name { color: var(--primary); }
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- tabs ---------- */
.tab { transition: background 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.25s, transform 0.3s var(--ease-out); }
.tab-icon svg { transition: transform 0.45s var(--ease-spring); }
@media (hover: hover) {
  .tab:hover { transform: translateY(-2px); }
  .tab:hover .tab-icon svg { transform: rotate(-12deg) scale(1.18); }
}
.tab[aria-selected='true'] .tab-icon { animation: tab-pop 0.45s var(--ease-spring); }
@keyframes tab-pop { 40% { transform: scale(1.15); } }

/* ---------- product cards ---------- */
.card {
  --rx: 0deg; --ry: 0deg; --ty: 0px;
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(var(--ty));
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), border-color 0.3s;
}
.card.tilting { transition: transform 0.12s linear, box-shadow 0.5s var(--ease-out), border-color 0.3s; }
.card:hover { --ty: -7px; transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(var(--ty)); box-shadow: 0 26px 40px -24px color-mix(in srgb, var(--primary-dark) 55%, transparent); border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
html[data-mode='dark'] .card:hover { box-shadow: 0 26px 44px -22px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(201, 161, 74, 0.25); }
.card.enter { animation: card-in 0.6s var(--ease-out) backwards; animation-delay: calc(min(var(--i, 0), 10) * 55ms); }
@keyframes card-in { from { opacity: 0; transform: translateY(22px) scale(0.98); } }
.card-media > img, .card-media > .ph { transition: transform 0.9s var(--ease-out); }
.card-media::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.32), transparent 60%); opacity: 0; transition: opacity 0.4s;
}
.card-media::after {
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.5) 46%, transparent 62%); transform: translateX(-120%);
}
.badges { z-index: 3; }
.quick {
  position: absolute; left: 50%; top: 50%; z-index: 3;
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.95); color: #15231e; font-size: 0.85rem; font-weight: 600; white-space: nowrap;
  box-shadow: 0 10px 22px -10px rgba(0, 0, 0, 0.45);
  opacity: 0; transform: translate(-50%, -30%); transition: opacity 0.35s, transform 0.45s var(--ease-out);
}
.quick .ic { width: 16px; height: 16px; color: #0f4c3a; }
@media (hover: hover) {
  .card:hover .card-media > img, .card:hover .card-media > .ph { transform: scale(1.08); }
  .card:hover .card-media::before { opacity: 1; }
  .card:hover .card-media::after { transform: translateX(120%); transition: transform 0.9s var(--ease-out); }
  .card:hover .quick { opacity: 1; transform: translate(-50%, -50%); }
}
@media (hover: none) { .quick { display: none; } }

.add-btn { transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.3s var(--ease-spring); }
.add-btn .ic { transition: transform 0.4s var(--ease-spring); }
@media (hover: hover) { .add-btn:hover .ic { transform: rotate(90deg); } .add-btn:hover { transform: translateY(-1px); } }
.add-btn.just-added { animation: added-pop 0.5s var(--ease-spring); }
@keyframes added-pop { 40% { transform: scale(1.14); } }

/* fly-to-basket & petal burst */
.fly { position: fixed; z-index: 95; margin: 0; pointer-events: none; overflow: hidden; border-radius: 14px; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.45); }
.fly > *, .fly img, .fly svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.burst { position: fixed; left: 0; top: 0; width: 0; height: 0; z-index: 96; pointer-events: none; }
.burst i { position: absolute; left: -5px; top: -6px; width: 10px; height: 13px; border-radius: 80% 0 80% 0; background: var(--c); animation: burst 0.9s cubic-bezier(0.15, 0.7, 0.3, 1) forwards; }
@keyframes burst { to { transform: translate(var(--x), var(--y)) rotate(var(--r)) scale(0.4); opacity: 0; } }
.basket-btn.bump, .fab.bump { animation: bump 0.45s var(--ease-spring); }

/* ---------- how it works (timeline) ---------- */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; position: relative; }
.timeline::before {
  content: ''; position: absolute; left: 16.6%; right: 16.6%; top: 46px; height: 6px;
  background: radial-gradient(circle, var(--accent) 2.6px, transparent 3px) 0 0 / 14px 6px repeat-x; opacity: 0.7;
}
.timeline li { position: relative; text-align: center; padding: 0 10px; }
.tl-icon {
  position: relative; display: inline-grid; place-items: center; width: 92px; height: 92px; border-radius: 50%;
  background: var(--primary); color: var(--accent); margin-bottom: 18px;
  box-shadow: 0 0 0 6px var(--bg-alt), 0 0 0 8px var(--accent);
  transition: transform 0.5s var(--ease-spring);
}
html[data-mode='dark'] .tl-icon { color: var(--bg); }
.tl-icon i[data-icon] { width: 38px; height: 38px; }
.tl-icon b {
  position: absolute; top: -4px; right: -4px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-size: 0.85rem; background: var(--accent); color: var(--primary-dark);
  box-shadow: 0 0 0 3px var(--bg-alt);
}
.timeline h3 { font-size: 1.55rem; color: var(--primary); margin-bottom: 8px; }
.timeline p { margin: 0 auto; color: var(--muted); max-width: 28ch; }
@media (hover: hover) { .timeline li:hover .tl-icon { transform: translateY(-8px) rotate(-8deg); } }

/* ---------- address strip (gold sash) ---------- */
.ribbon {
  position: relative; padding: 16px 0; color: #0a3328;
  background: linear-gradient(90deg, #b08734, #dcb963 50%, #b08734);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 -1px 0 rgba(0, 0, 0, 0.15);
}
.ribbon-inner { display: flex; align-items: center; justify-content: center; gap: 10px 18px; flex-wrap: wrap; text-align: center; }
.ribbon-inner > i[data-icon] { width: 26px; height: 26px; }
.ribbon-address { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.25rem, 2.4vw, 1.7rem); }
#ribbonCall { background: #0a3328; color: #f3dc94; }
#ribbonCall:hover { background: #134a3a; }

/* ---------- footer ---------- */
.footer { position: relative; overflow: hidden; padding-top: 88px; }
.footer .garland { top: 0; }
.footer-brand .footer-urdu {
  font-family: var(--font-urdu); font-weight: 700; font-size: 1.7rem; line-height: 2;
  color: var(--accent); text-align: left; margin: -2px 0 2px; letter-spacing: 0; text-transform: none;
}
.footer-watermark {
  position: absolute; right: -10px; bottom: -40px; z-index: 0; pointer-events: none;
  font-family: var(--font-urdu); font-weight: 700; font-size: clamp(5rem, 14vw, 11rem); line-height: 2.2;
  color: var(--accent); opacity: 0.07; white-space: nowrap;
}
.footer .container { position: relative; z-index: 1; }

/* ---------- modal & drawer polish ---------- */
.pm-main { overflow: hidden; }
.pm-main > img, .pm-main > .ph { transition: transform 1.2s var(--ease-out); }
@media (hover: hover) { .pm-main:hover > img, .pm-main:hover > .ph { transform: scale(1.05); } }
.line-item { animation: rise-in 0.4s var(--ease-out) both; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero .hero-inner { padding-top: 66px; padding-bottom: 40px; gap: 18px; }
  .hero-urdu, .hero h1.is-urdu { text-align: center; }
  .hero-visual { width: min(380px, 92%); }
  .occ-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 18px; }
  .timeline { grid-template-columns: 1fr; gap: 28px; max-width: 460px; margin: 0 auto; }
  .timeline::before { left: 45px; right: auto; top: 46px; bottom: 46px; width: 6px; height: auto; background-size: 6px 14px; background-repeat: repeat-y; }
  .timeline li { display: grid; grid-template-columns: 92px 1fr; column-gap: 20px; text-align: left; align-items: center; padding: 0; }
  .tl-icon { grid-row: span 2; margin: 0; }
  .timeline h3 { margin: 0; align-self: end; }
  .timeline p { margin: 4px 0 0; align-self: start; }
}
@media (max-width: 760px) {
  html.is-scrolled { --header-h: 56px; }
  .header-actions .mode-btn { order: -1; }
  .occasions { padding-top: 60px; }
  .occ-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; padding: 12px 16px 16px; margin: 0 -16px; scrollbar-width: none; }
  .occ-grid::-webkit-scrollbar { display: none; }
  .occ { flex: 0 0 36%; scroll-snap-align: start; }
  .occ-name { font-size: 1.12rem; }
  .mq-en { font-size: 1.1rem; }
  .garland { height: 40px; background-size: 92px 40px; }
  .hero .hero-inner { padding-top: 54px; }
  .hc-hours { display: none; }
  .ha-content .btn { padding: 8px 14px; font-size: 0.82rem; }
  .footer { padding-top: 70px; }
}

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; }
  .petals { display: none; }
  .marquee-track { animation: none; }
}
