/* =========================================================
   OPS Torino: "Truck art meets Torino" theme
   Pakistani truck-art colours and patterns on green and white.
   Change the colours in :root and the whole site follows.
   ========================================================= */

:root {
  --green: #01411c;      /* Pakistan flag green */
  --green-d: #012a12;
  --green-m: #0a7440;
  --mint: #2fd08a;
  --mint-l: #e5f7ee;
  --gold: #a7dcb8;
  --gold-d: #6fbf8a;
  --pink: #12804a;
  --pink-d: #01411c;
  --teal: #2d9d5f;
  --orange: #1f7a4a;
  --cream: #f2f9f4;
  --ink: #14211a;
  --muted: #5d6b63;
  --line: #d4e9da;
  --white: #fff;

  --display: "Segoe UI Black", "Arial Black", "Segoe UI", system-ui, sans-serif;
  --body: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --script: Georgia, "Times New Roman", serif;
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--white); line-height: 1.6; font-size: 16.5px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--green-m); text-underline-offset: 3px; }
a:hover { color: var(--green); }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 800; }
.skip-link:focus { top: 12px; }
.wrap { width: min(100% - 36px, var(--max)); margin-inline: auto; }
.svg-defs { position: absolute; width: 0; height: 0; }

/* ---------- Truck-art strips ---------- */
.strip { display: block; width: 100%; height: 30px; }
.strip.thin { height: 22px; }
.fringe { display: block; width: 100%; height: 18px; margin-top: -1px; }

/* ---------- Type ---------- */
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.05; }
h1 { font-family: var(--display); font-size: clamp(2.5rem, 6vw, 4.6rem); letter-spacing: -.025em; color: var(--white); }
h2 { font-family: var(--display); font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.02em; color: var(--green); margin-top: 10px; }
h3 { color: var(--green); }
h1 em, h2 em { font-family: var(--script); font-weight: 400; }
h1 em { color: var(--mint); }
h2 em { color: var(--pink); }
h1 .g { color: var(--gold); }
h1 .p { color: var(--pink); }
.kick { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--pink); }
.kick::before, .kick::after { content: "✿"; color: var(--gold); letter-spacing: 0; }
.on-dark .kick, .hero .kick, .page-hero .kick { color: var(--gold); }
.on-dark .kick::before, .on-dark .kick::after, .hero .kick::before, .hero .kick::after, .page-hero .kick::before, .page-hero .kick::after { color: var(--pink); }
.sub { color: var(--muted); max-width: 62ch; font-size: 1.06rem; }
.head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 34px; }
.head h2 { margin-bottom: 6px; }
.more { font-weight: 800; color: var(--green); text-decoration: none; border-bottom: 3px solid var(--gold); white-space: nowrap; }
.more:hover { border-color: var(--pink); }
.note { margin-top: 18px; font-size: 13.5px; color: var(--muted); font-style: italic; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 22px; border-radius: 14px; font-weight: 800; font-size: 15px; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; line-height: 1.2; transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-2px) rotate(-1deg); }
.btn:active { transform: translateY(2px); }
.btn-gold { background: var(--gold); color: var(--green-d); box-shadow: 0 5px 0 var(--gold-d); }
.btn-gold:hover { color: var(--green-d); }
.btn-pink { background: var(--pink); color: var(--white); box-shadow: 0 5px 0 var(--pink-d); }
.btn-pink:hover { color: var(--white); }
.btn-green { background: var(--green); color: var(--white); box-shadow: 0 5px 0 #000; }
.btn-green:hover { color: var(--white); }
.btn-line { border: 2.5px solid currentColor; color: var(--white); background: transparent; }
.btn-line:hover { background: rgba(255,255,255,.1); color: var(--white); }
.btn-outline { border: 2.5px solid var(--green); color: var(--green); background: var(--white); }
.btn-outline:hover { background: var(--mint-l); color: var(--green); }
.btn-sm { padding: 9px 15px; font-size: 14px; border-radius: 11px; }
.btn-gold.btn-sm, .btn-green.btn-sm, .btn-pink.btn-sm { box-shadow: 0 4px 0 var(--sh, #000); }
.btn-gold.btn-sm { --sh: var(--gold-d); } .btn-pink.btn-sm { --sh: var(--pink-d); }
.btn[aria-disabled="true"] { background: #ecefed; color: #7b8a83; box-shadow: none; pointer-events: none; border: 0; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 18px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand img { width: 44px; height: 44px; }
.brand b { display: block; font-family: var(--display); font-size: 18px; color: var(--green); line-height: 1; letter-spacing: -.01em; }
.brand small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 600; margin-top: 2px; }
.nav-links { display: flex; gap: 3px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 8px 13px; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 650; font-size: 14.5px; }
.nav-links a:hover { background: #e3f3e8; color: var(--green); }
.nav-links a[aria-current="page"] { background: var(--green); color: var(--white); }
.nav-cta { margin-left: 10px; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 0; background: none; border-radius: 12px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2.5px; margin: 5px auto; border-radius: 2px; background: var(--green); transition: .25s; }
@media (max-width: 1000px) {
  .nav-toggle { display: block; }
  .nav-menu { display: none; position: fixed; inset: 88px 0 auto 0; background: var(--cream); padding: 14px 18px 24px; border-bottom: 4px solid var(--gold); box-shadow: 0 20px 40px rgba(0,0,0,.15); }
  .nav-menu.open { display: block; }
  .nav-links { flex-direction: column; }
  .nav-links a { padding: 13px 14px; font-size: 1.05rem; }
  .nav-cta { margin: 12px 0 0; width: 100%; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}
@media (min-width: 1001px) { .nav-menu { display: flex; align-items: center; } }

/* ---------- Announcement ---------- */
.announce { background: var(--gold); color: var(--green-d); text-align: center; font-weight: 700; font-size: .95rem; padding: 9px 16px; }
.announce a { color: var(--green-d); font-weight: 900; margin-left: 6px; }

/* ---------- Hero ---------- */
.hero, .page-hero { position: relative; overflow: hidden; background: var(--green); color: #e9f7ee; }
.hero { padding-top: 64px; }
.page-hero { padding: 64px 0 0; }
.jaal { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .16; pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.25fr .9fr; gap: 40px; align-items: center; }
.greet { display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,.08); border: 1.5px dashed rgba(167,220,184,.65); padding: 7px 14px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--gold); }
.greet span { display: inline-block; text-align: center; transition: opacity .35s, transform .35s; }
.greet span.out { opacity: 0; transform: translateY(-6px); }
.hero h1 { margin: 18px 0; line-height: .98; }
.lead { font-size: 1.15rem; color: #cfe8d9; max-width: 56ch; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0; }
.count { display: inline-flex; flex-wrap: wrap; gap: 16px; align-items: center; background: var(--cream); color: var(--green-d); border-radius: 18px; padding: 14px 18px; margin: 12px 8px 30px; text-decoration: none; box-shadow: 0 0 0 4px var(--gold), 0 0 0 8px var(--pink), 0 18px 40px rgba(0,0,0,.35); transition: transform .2s; }
a.count:hover { transform: rotate(-1deg) scale(1.02); color: var(--green-d); }
.count .lbl { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--pink); }
.count .ev { font-weight: 800; font-size: 15px; line-height: 1.3; }
.count .ev small { display: block; font-weight: 600; color: var(--muted); font-size: 12.5px; }
.digits { display: flex; gap: 6px; }
.digits div { background: var(--green); color: var(--white); border-radius: 10px; padding: 6px 8px; text-align: center; min-width: 50px; }
.digits b { display: block; font-family: var(--display); font-size: 22px; line-height: 1; }
.digits i { font-style: normal; font-size: 10px; opacity: .8; text-transform: uppercase; letter-spacing: .08em; }
.medal { position: relative; justify-self: center; width: min(100%, 380px); aspect-ratio: 1; }
.medal svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 60s linear infinite; }
.medal img { position: absolute; inset: 17%; width: 66%; height: 66%; filter: drop-shadow(0 18px 30px rgba(0,0,0,.4)); animation: bob 6s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { 50% { transform: translateY(-10px); } }
.skyline { position: relative; display: block; width: 100%; height: auto; aspect-ratio: 1440 / 150; min-height: 84px; margin-top: 10px; }
.page-hero .skyline { margin-top: 30px; }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); margin: 14px 0 12px; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .medal { width: 220px; order: -1; }
}

/* ---------- Sections ---------- */
section.sec { padding: 84px 0; }
section.sec.tight { padding-top: 48px; }
.cream { background: var(--cream); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 980px) { .grid4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) { .grid3 { grid-template-columns: 1fr; } }
@media (min-width: 600px) and (max-width: 860px) { .grid3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .grid4 { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Path cards with number plates ---------- */
.path { position: relative; display: flex; flex-direction: column; background: var(--white); border: 2px solid var(--line); border-radius: 22px; padding: 30px 26px 26px; text-decoration: none; color: var(--ink); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.path:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: 0 20px 40px -18px rgba(1,65,28,.45); color: var(--ink); }
.path::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: var(--c, var(--gold)); }
.plate { align-self: flex-start; font-family: var(--display); font-size: 14px; letter-spacing: .12em; background: var(--gold); color: var(--ink); border: 2.5px solid var(--ink); border-radius: 7px; padding: 3px 10px; margin-bottom: 18px; box-shadow: 3px 3px 0 var(--ink); }
.path h3 { font-family: var(--display); font-size: 22px; margin: 0 0 8px; letter-spacing: -.01em; }
.path p { color: var(--muted); margin: 0 0 16px; }
.path .go { margin-top: auto; font-weight: 800; color: var(--c2, var(--green)); }
.corner { position: absolute; right: -14px; bottom: -14px; width: 90px; height: 90px; pointer-events: none; }
.icon-badge { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--c, var(--green)); color: var(--white); margin-bottom: 16px; box-shadow: 4px 4px 0 var(--ink); }

/* ---------- Memory / event tiles ---------- */
.mem { display: flex; flex-direction: column; background: var(--white); border: 2px solid var(--line); border-radius: 20px; overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s; }
.mem:hover { transform: translateY(-5px); box-shadow: 0 18px 36px -18px rgba(1,65,28,.45); color: var(--ink); }
.mem .ph { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--tile, var(--green-m)); }
.mem .ph > img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.mem:hover .ph > img { transform: scale(1.05); }
.mem .ph.poster > img { object-fit: contain; background: var(--green-d); }
.tile-fallback { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 0 18px; font-family: var(--display); color: var(--white); font-size: 17px; line-height: 1.15; text-shadow: 0 2px 0 rgba(0,0,0,.2); }
.tile-fallback svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.tile-fallback span { position: relative; }
.date { position: absolute; top: 12px; left: 12px; z-index: 1; background: var(--cream); color: var(--green); border-radius: 12px; padding: 6px 10px; text-align: center; line-height: 1; box-shadow: 0 0 0 3px var(--gold); }
.date b { display: block; font-family: var(--display); font-size: 20px; }
.date i { font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: .1em; color: var(--pink); text-transform: uppercase; }
.badge-up { position: absolute; top: 12px; right: 12px; z-index: 1; background: var(--pink); color: var(--white); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.mem .bd { padding: 16px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.mem .tag { font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--green-m); }
.mem h3 { margin: 6px 0 4px; font-size: 18px; line-height: 1.2; }
.mem p { margin: 0; color: var(--muted); font-size: 14.5px; }
.mem .meta { font-size: 13.5px; color: var(--muted); margin: 2px 0 8px; font-weight: 600; }

/* ---------- Event feature (events page) ---------- */
.tabs { display: inline-flex; gap: 6px; padding: 6px; background: var(--cream); border: 2px solid var(--line); border-radius: 999px; margin-bottom: 36px; }
.tabs button { border: 0; background: transparent; padding: 10px 22px; border-radius: 999px; font-weight: 800; font-size: .95rem; cursor: pointer; color: var(--green); font-family: inherit; }
.tabs button[aria-selected="true"] { background: var(--green); color: var(--white); box-shadow: 0 4px 0 #000; }
.feature { display: grid; grid-template-columns: 1fr 1.1fr; background: var(--white); border: 3px solid var(--green); border-radius: 26px; overflow: hidden; margin-bottom: 44px; box-shadow: 10px 10px 0 var(--fc, var(--gold)); scroll-margin-top: 110px; }
.feature:nth-child(even) { grid-template-columns: 1.1fr 1fr; }
.feature:nth-child(even) .f-media { order: 2; }
.feature:nth-child(3n+2) { --fc: var(--pink); }
.feature:nth-child(3n+3) { --fc: var(--teal); }
.f-media { position: relative; min-height: 330px; background: var(--tile, var(--green-m)); }
.f-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.f-media.poster { background: var(--green-d); }
.f-media.poster > img { object-fit: contain; padding: 18px; }
.f-body { padding: clamp(24px, 4vw, 42px); }
.f-body .cat { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--pink); }
.f-body h3 { font-family: var(--display); font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin: 8px 0 4px; letter-spacing: -.015em; }
.f-body .subtitle { font-family: var(--script); font-style: italic; font-size: 1.15rem; color: var(--green-m); margin-bottom: 12px; }
.f-body .tagline { color: var(--muted); }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; margin-bottom: 12px; }
.status.up { background: #d9efe1; color: var(--pink-d); }
.status.up::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 4px rgba(18,128,74,.25); animation: blink 1.6s infinite; }
.status.past { background: var(--cream); color: var(--muted); border: 1.5px solid var(--line); }
@keyframes blink { 50% { opacity: .35; } }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin: 16px 0; padding: 0; list-style: none; }
.facts li { background: var(--cream); border: 2px dashed var(--line); border-radius: 14px; padding: 11px 14px; font-size: .93rem; }
.facts li b { display: block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--pink); margin-bottom: 2px; }
.f-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.chip { font-size: 12px; font-weight: 800; padding: 5px 11px; border-radius: 999px; background: var(--mint-l); color: var(--green-m); }
.chip.pk { background: #d9efe1; color: var(--pink-d); }
.chip.gd { background: #e3f3e8; color: #14532d; }
.chip.tl { background: #e6f4ea; color: #0a5c34; }
.chip.mu { background: #eef5f0; color: var(--muted); }
details.story { margin-top: 14px; border-top: 2px dashed var(--line); padding-top: 12px; }
details.story summary { cursor: pointer; font-weight: 800; color: var(--green); list-style: none; display: inline-flex; gap: 8px; align-items: center; }
details.story summary::-webkit-details-marker { display: none; }
details.story summary::after { content: "✿"; color: var(--pink); transition: transform .3s; }
details.story[open] summary::after { transform: rotate(90deg); }
details.story p { margin-top: 12px; color: #2c3c34; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; margin-top: 16px; }
.gallery button { padding: 0; border: 3px solid var(--white); outline: 2px solid var(--line); border-radius: 14px; overflow: hidden; cursor: zoom-in; aspect-ratio: 1; background: var(--cream); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery button:hover img { transform: scale(1.07); }
@media (max-width: 900px) {
  .feature, .feature:nth-child(even) { grid-template-columns: 1fr; box-shadow: 6px 6px 0 var(--fc, var(--gold)); }
  .feature:nth-child(even) .f-media { order: 0; }
  .f-media { min-height: 240px; aspect-ratio: 16/10; }
}

/* ---------- Checklist ---------- */
.check { background: var(--white); border: 3px solid var(--green); border-radius: 24px; padding: 26px; box-shadow: 10px 10px 0 var(--gold); }
.check-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.check-top b { color: var(--green); font-size: 18px; }
.done { font-weight: 800; color: var(--pink); }
.bar { height: 12px; border-radius: 99px; background: #eef3ef; overflow: hidden; margin: 8px 0 14px; }
.bar div { height: 100%; width: 0; background: linear-gradient(90deg, var(--mint), var(--gold), var(--pink)); transition: width .4s; }
.check label { display: flex; gap: 12px; align-items: flex-start; padding: 11px 8px; border-bottom: 1.5px dashed var(--line); border-radius: 10px; cursor: pointer; }
.check label:last-of-type { border-bottom: 0; }
.check label:hover { background: var(--cream); }
.check input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--green); }
.check input:checked + span b { text-decoration: line-through; color: var(--muted); }
.check span b { display: block; }
.check span small { color: var(--muted); }
.check span a { font-weight: 700; font-size: 13px; white-space: nowrap; }
.check .reset { background: none; border: 0; color: var(--muted); font-size: 12.5px; text-decoration: underline; cursor: pointer; padding: 6px 0 0; font-family: inherit; }

/* ---------- Opportunities ---------- */
.opp { display: flex; flex-direction: column; background: var(--white); border: 2px solid var(--line); border-radius: 20px; padding: 24px; transition: transform .2s, box-shadow .2s; }
.opp:hover { transform: translateY(-4px); box-shadow: 0 18px 36px -20px rgba(1,65,28,.45); }
.opp .chips { margin: 0 0 12px; }
.opp h3 { margin: 0 0 6px; font-size: 19px; line-height: 1.25; }
.dl { align-self: flex-start; display: inline-block; margin: 6px 0 12px; font-weight: 800; font-size: 13.5px; border-radius: 10px; padding: 6px 10px; background: #e3f3e8; color: #14532d; }
.dl.soon { background: #cfeadb; color: #01411c; }
.dl.open { background: var(--mint-l); color: var(--green-m); }
.opp dl { display: grid; grid-template-columns: auto 1fr; gap: 3px 12px; font-size: 14px; margin: 0 0 12px; }
.opp dt { font-weight: 800; color: var(--green); }
.opp dd { margin: 0; color: var(--muted); }
.opp p { color: var(--muted); margin: 0 0 14px; font-size: 14.5px; }
.opp .foot { margin-top: auto; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.filters button { border: 2px solid var(--line); background: var(--white); border-radius: 999px; padding: 8px 16px; font-weight: 800; font-size: .9rem; cursor: pointer; color: var(--green); font-family: inherit; }
.filters button[aria-pressed="true"] { background: var(--green); color: var(--white); border-color: var(--green); box-shadow: 0 3px 0 #000; }

/* ---------- Resource cards ---------- */
.res { display: flex; flex-direction: column; background: var(--white); border: 2px solid var(--line); border-radius: 20px; padding: 24px; position: relative; overflow: hidden; }
.res::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 7px; background: var(--c, var(--teal)); }
.res .cat { font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--c, var(--teal)); margin-bottom: 8px; }
.res h3 { font-size: 19px; margin: 0 0 8px; line-height: 1.25; }
.res p { color: var(--muted); font-size: 14.5px; }
.res .warn { font-size: 13.5px; background: var(--cream); border: 1.5px dashed var(--gold); border-radius: 10px; padding: 9px 12px; color: var(--ink); }
.res .foot { margin-top: auto; }

/* ---------- Board flip cards ---------- */
.board { display: grid; grid-template-columns: repeat(auto-fill, minmax(205px, 1fr)); gap: 18px; }
.flip { perspective: 900px; height: 236px; cursor: pointer; outline: none; }
.flip .in { position: relative; width: 100%; height: 100%; transition: transform .6s; transform-style: preserve-3d; }
.flip.flipped .in { transform: rotateY(180deg); }
@media (hover: hover) { .flip:hover .in { transform: rotateY(180deg); } }
.flip:focus-visible { outline: 3px solid var(--pink); outline-offset: 4px; border-radius: 20px; }
.face { position: absolute; inset: 0; -webkit-backface-visibility: hidden; backface-visibility: hidden; border-radius: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 18px; }
.front { background: var(--white); border: 2px solid var(--line); }
.back { background: var(--green); color: #e8f6ee; transform: rotateY(180deg); box-shadow: inset 0 0 0 5px var(--gold), inset 0 0 0 9px var(--pink); }
.av { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; font-family: var(--display); font-size: 28px; color: var(--white); background: var(--c); margin-bottom: 12px; box-shadow: 0 0 0 4px var(--white), 0 0 0 7px var(--c); }
.av img { width: 100%; height: 100%; object-fit: cover; }
.front h3 { margin: 0; font-size: 17px; }
.front p { margin: 3px 0 0; font-weight: 700; font-size: 13.5px; color: var(--c); line-height: 1.3; }
.back b { color: var(--gold); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; }
.back p { margin: 8px 0 0; font-size: 14px; }
.back a { color: var(--gold); font-weight: 800; margin-top: 10px; }

/* ---------- Panels, contact, FAQ ---------- */
.panel { background: var(--white); border: 3px solid var(--green); border-radius: 24px; padding: clamp(22px, 4vw, 34px); box-shadow: 10px 10px 0 var(--pink); }
.panel h3 { font-size: 20px; }
.contact { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 14px; }
.contact li { display: flex; gap: 14px; align-items: center; }
.contact .ci { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--cream); color: var(--green); border: 2px solid var(--line); }
.contact small { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--pink); }
.contact a { font-weight: 800; text-decoration: none; word-break: break-word; }
.faq details { border-bottom: 2px dashed var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 800; color: var(--green); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "✿"; color: var(--pink); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(90deg); }
.faq details p { margin: 10px 0 0; color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; }
.ticks li::before { content: "✓"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--green-d); font-weight: 900; border: 2px solid var(--ink); }
.ticks b { display: block; color: var(--green); }
.ticks span { color: var(--muted); }

/* ---------- Join band ---------- */
.join { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.3fr auto; gap: 24px; align-items: center; background: var(--pink); color: var(--white); border-radius: 30px; padding: clamp(30px, 6vw, 60px); }
.join h2 { color: var(--white); }
.join h2 em { color: var(--gold); }
.join .kick { color: var(--white); }
.join .truck { position: absolute; right: 20px; bottom: -6px; width: 240px; opacity: .18; pointer-events: none; }
.join .acts { position: relative; display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 760px) { .join { grid-template-columns: 1fr; } }

/* ---------- Empty / loading ---------- */
.empty { grid-column: 1 / -1; text-align: center; padding: 42px 24px; background: var(--white); border: 3px dashed var(--gold); border-radius: 22px; color: var(--muted); }
.empty h3 { font-family: var(--display); font-size: 22px; }
.loading { color: var(--muted); padding: 20px 0; }

/* ---------- Prose (privacy) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-d); color: #b8d5c4; padding-bottom: 26px; }
.fgrid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 30px; padding-top: 56px; }
@media (max-width: 860px) { .fgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .fgrid { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--gold); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #e1f0e7; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer .brand b { color: var(--white); }
.site-footer .brand small { color: #9fc4b0; }
.slogan { display: inline-block; margin-top: 16px; font-family: var(--script); font-style: italic; font-size: 22px; color: var(--gold); border: 2px dashed var(--pink); border-radius: 14px; padding: 8px 16px; transform: rotate(-2deg); }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.08); border: 1.5px solid rgba(167,220,184,.35); }
.socials a:hover { background: var(--pink); border-color: var(--pink); color: var(--white); }
.fbot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 18px; font-size: 13.5px; }
.fbot .motto { font-family: var(--script); font-style: italic; color: var(--gold); }

/* ---------- Lightbox ---------- */
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: min(94vw, 1200px); max-height: 92vh; }
dialog.lightbox::backdrop { background: rgba(1,20,10,.9); }
dialog.lightbox img { max-width: 100%; max-height: 82vh; margin: 0 auto; border-radius: 14px; box-shadow: 0 0 0 4px var(--gold), 0 0 0 8px var(--pink); }
dialog.lightbox p { color: #e6f4ec; text-align: center; margin: 16px 0 0; }
dialog.lightbox .close, dialog.lightbox .nav-btn { position: fixed; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--gold); color: var(--ink); font-size: 1.4rem; font-weight: 900; cursor: pointer; }
dialog.lightbox .close { top: 18px; right: 22px; }
dialog.lightbox .nav-btn { top: 50%; transform: translateY(-50%); }
dialog.lightbox .prev { left: 18px; } dialog.lightbox .next { right: 18px; }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print { .site-header, .site-footer, .announce, .medal, .strip, .fringe, .skyline { display: none !important; } .hero, .page-hero { background: none; color: var(--ink); } }
.warnbox { margin: 18px 0 22px; font-size: 14.5px; background: var(--cream); border: 2px dashed var(--gold); border-radius: 12px; padding: 12px 14px; }

/* ---------- Urdu text (Nastaliq where available) ---------- */
.ur { font-family: "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", "Urdu Typesetting", "Noto Naskh Arabic", "Segoe UI", Tahoma, serif; font-style: normal; font-weight: 700; unicode-bidi: isolate; line-height: 1.9; }
.greet .ur { font-size: 18px; line-height: 1.4; }
.slogan.ur { font-size: 22px; padding: 2px 16px 6px; }
.motto.ur { font-size: 15px; }
h3 .ur, h4 .ur { font-size: 1.05em; line-height: 1; }

/* ---------- Festive greeting bar ---------- */
.festive { background: var(--green); color: var(--white); text-align: center; padding: 8px 16px; font-weight: 800; display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; border-bottom: 3px solid var(--gold); }
.festive .g { font-size: 1.05rem; color: var(--gold); }
.festive .g.ur { font-size: 1.25rem; line-height: 1.5; }
.festive .sparkle { color: var(--pink); }
.festive .flag { width: 22px; height: 15px; }

/* ---------- Flags ---------- */
.flag { width: 24px; height: 16px; border-radius: 3px; flex: none; box-shadow: 0 0 0 1.5px rgba(0,0,0,.12); vertical-align: middle; }

/* ---------- Cultural calendar ---------- */
.cal-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 980px) { .cal-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .cal-strip { grid-template-columns: 1fr; } }
.cal-mini { display: flex; gap: 14px; align-items: center; background: var(--white); border: 2px solid var(--line); border-radius: 18px; padding: 14px; text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s; }
.cal-mini:hover { transform: translateY(-4px) rotate(-.5deg); box-shadow: 0 14px 30px -18px rgba(1,65,28,.5); color: var(--ink); }
.cal-mini h3 { font-size: 15.5px; margin: 4px 0 0; line-height: 1.25; }
.cal-mini .local { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.cal-mini .local.ur { font-size: 16px; line-height: 1.6; }
.cal-date { flex: none; width: 58px; text-align: center; background: var(--green); color: var(--white); border-radius: 14px; padding: 8px 4px; line-height: 1; box-shadow: 3px 3px 0 var(--gold); }
.cal-date b { display: block; font-family: var(--display); font-size: 22px; }
.cal-date i { font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.cal-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cal-month { font-family: var(--display); color: var(--pink); font-size: 1.15rem; margin: 18px 0 2px; letter-spacing: -.01em; }
.cal-month:first-child { margin-top: 0; }
.cal-row { display: flex; gap: 18px; align-items: flex-start; background: var(--white); border: 2px solid var(--line); border-radius: 18px; padding: 16px 18px; }
.cal-row.is-today { border-color: var(--pink); box-shadow: 6px 6px 0 var(--pink); }
.cal-title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cal-title h3 { margin: 0; font-size: 18px; }
.cal-title .local { color: var(--green-m); font-weight: 700; }
.cal-title .local.ur { font-size: 1.15rem; line-height: 1.6; }
.cal-when { font-size: 13.5px; color: var(--muted); font-weight: 600; margin-top: 2px; }
.cal-body { flex: 1; min-width: 0; }
.cal-body p { margin: 6px 0 0; color: var(--muted); font-size: 14.5px; }
.cal-body .chips { margin-top: 10px; }
.chip.today { background: var(--pink); color: var(--white); }

/* ---------- Subscribe cards ---------- */
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 26px; }
@media (max-width: 760px) { .grid2 { grid-template-columns: 1fr; } }
.sub-card { position: relative; background: var(--white); border: 3px solid var(--green); border-radius: 24px; padding: 26px; box-shadow: 8px 8px 0 var(--c, var(--gold)); }
.sub-card .plate { display: inline-block; margin-bottom: 14px; }
.sub-card h3 { font-family: var(--display); font-size: 22px; margin-bottom: 6px; }
.sub-card p { color: var(--muted); }
.sub-btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Newsletter (footer) ---------- */
.newsletter { display: grid; grid-template-columns: 1fr 1.05fr; gap: 30px; align-items: center; margin-top: 46px; padding: 28px; border-radius: 24px; background: rgba(255,255,255,.05); border: 2px dashed rgba(167,220,184,.45); }
@media (max-width: 860px) { .newsletter { grid-template-columns: 1fr; } }
.newsletter h3 { color: var(--white); font-family: var(--display); font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin: 8px 0 6px; }
.newsletter p { margin: 0 0 8px; }
.cal-link { color: var(--gold) !important; font-weight: 800; }
.nl-row { display: flex; gap: 10px; flex-wrap: wrap; }
.nl-row input { flex: 1 1 220px; min-width: 0; font: inherit; font-size: 16px; padding: 13px 16px; border-radius: 14px; border: 2.5px solid var(--gold); background: var(--white); color: var(--ink); }
.nl-row input:focus { outline: 3px solid var(--pink); outline-offset: 2px; }
.nl-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; margin-top: 12px; color: #cfe3d7; }
.nl-consent input { width: 18px; height: 18px; flex: none; margin-top: 2px; accent-color: var(--gold); }
.nl-consent a { color: var(--gold); text-decoration: underline; }
.nl-msg { min-height: 1.2em; margin: 10px 0 0; font-weight: 700; color: var(--gold); }
.nl-msg.err { color: #ffffff; }
.nl-msg.ok { color: var(--mint); }
.nl-msg a { color: var(--gold); text-decoration: underline; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- Offices map ---------- */
.map-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 28px; align-items: start; }
@media (max-width: 980px) { .map-layout { grid-template-columns: 1fr; } }
.map-col { position: sticky; top: 100px; }
@media (max-width: 980px) { .map-col { position: static; } }
.office-map { position: relative; height: 480px; border-radius: 24px; overflow: hidden; border: 3px solid var(--green); box-shadow: 10px 10px 0 var(--gold); background: #e8efe9; touch-action: none; user-select: none; }
@media (max-width: 600px) { .office-map { height: 380px; } }
.office-map:not(.live) { touch-action: auto; }
.map-cover { position: absolute; inset: 0; background: var(--green); display: grid; place-items: center; text-align: center; color: #e9f7ee; padding: 24px; }
.map-cover svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-cover-in { position: relative; }
.map-cover h3 { color: var(--white); font-family: var(--display); font-size: 1.6rem; margin: 12px 0 6px; }
.map-cover p { color: #cfe8d9; }
.map-cover .plate { display: inline-block; }
.office-map.live { cursor: grab; }
.office-map.grab { cursor: grabbing; }
.map-tiles img { position: absolute; width: 256px; height: 256px; max-width: none; pointer-events: none; }
.map-pins { position: absolute; inset: 0; }
.pin { position: absolute; transform: translate(-50%, -100%); width: 34px; height: 34px; border: 0; padding: 0; cursor: pointer; background: none; }
.pin span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--c); border: 3px solid var(--white); box-shadow: 0 6px 14px rgba(0,0,0,.35); color: var(--white); font-weight: 900; font-size: 13px; }
.pin span i { font-style: normal; transform: rotate(45deg); line-height: 1; }
.pin.on span { background: var(--ink); }
.pin:focus-visible { outline: 3px solid var(--pink); }
.map-pop { position: absolute; transform: translate(-50%, calc(-100% - 46px)); width: 230px; background: var(--white); border: 2.5px solid var(--green); border-radius: 14px; padding: 10px 12px; font-size: 13px; box-shadow: 5px 5px 0 var(--gold); z-index: 3; }
.map-pop b { display: block; color: var(--green); font-size: 14px; }
.map-pop span { display: block; color: var(--muted); margin: 2px 0 6px; }
.map-pop a { font-weight: 800; }
.map-zoom { position: absolute; right: 12px; top: 12px; display: grid; gap: 6px; z-index: 4; }
.map-zoom button { width: 40px; height: 40px; border-radius: 12px; border: 2.5px solid var(--green); background: var(--white); font-size: 22px; font-weight: 900; color: var(--green); cursor: pointer; }
.map-attr { position: absolute; right: 0; bottom: 0; background: rgba(255,255,255,.85); font-size: 11px; padding: 2px 8px; border-top-left-radius: 8px; z-index: 4; }
.legend { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 0; margin: 20px 0 0; font-size: 13.5px; font-weight: 700; color: var(--muted); }
.legend span { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.places { display: grid; gap: 14px; }
.place { position: relative; background: var(--white); border: 2px solid var(--line); border-radius: 18px; padding: 18px 20px 18px 24px; overflow: hidden; scroll-margin-top: 110px; }
.place::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 7px; background: var(--c); }
.place:target { border-color: var(--c); box-shadow: 6px 6px 0 var(--c); }
.place-top { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 8px; }
.step { font-family: var(--display); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; background: var(--c); color: var(--white); padding: 4px 10px; border-radius: 8px; box-shadow: 2px 2px 0 var(--ink); }
.place h3 { font-size: 18px; margin: 0 0 6px; }
.place p { color: var(--muted); font-size: 14.5px; margin: 0 0 8px; }
.place-facts { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 4px; font-size: 14px; }
.place-acts { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* ---------- Newsletter band (Home + Events) ---------- */
.nl-band { position: relative; overflow: hidden; background: var(--green); color: #cfe3d7; border-radius: 30px; padding: clamp(26px, 5vw, 50px); box-shadow: 10px 10px 0 var(--gold); }
.nl-band .jaal { opacity: .12; }
.nl-band .newsletter { position: relative; margin: 0; padding: 0; border: 0; background: none; }
.nl-band .kick { color: var(--gold); }
.nl-band .kick::before, .nl-band .kick::after { color: var(--pink); }
.nl-chips { margin: 14px 0 0; }

/* ---------- One-month calendar ---------- */
.month-wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 26px; align-items: start; }
@media (max-width: 900px) { .month-wrap { grid-template-columns: 1fr; } }
.month-card { background: var(--white); border: 3px solid var(--green); border-radius: 24px; padding: 22px; box-shadow: 10px 10px 0 var(--pink); }
.month-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.month-head h3 { font-family: var(--display); font-size: 1.6rem; margin: 0; }
.month-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.mg-h { text-align: center; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--pink); padding-bottom: 4px; }
.mg-c { position: relative; aspect-ratio: 1; border-radius: 12px; background: var(--cream); border: 1.5px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.mg-c b { font-size: 15px; color: var(--green); }
.mg-c.mg-blank { background: none; border: 0; }
.mg-c.past { opacity: .55; }
.mg-c.has { background: var(--white); border-color: var(--gold); border-width: 2.5px; }
.mg-c.today { background: var(--green); border-color: var(--green); opacity: 1; }
.mg-c.today b { color: var(--white); }
.mg-dots { display: flex; gap: 3px; }
.mg-dots i, .month-key span { display: inline-block; width: 9px; height: 9px; border-radius: 50%; }
.d-pk, .k-pk { background: #01411c; box-shadow: inset 0 0 0 2px #fff, 0 0 0 1px #01411c; }
.mg-c.today .d-pk { box-shadow: 0 0 0 1.5px #fff; }
.d-it, .k-it { background: linear-gradient(90deg, #009246 33%, #fff 33% 66%, #ce2b37 66%); box-shadow: 0 0 0 1px rgba(0,0,0,.25); }
.k-today { background: var(--green); border-radius: 3px !important; }
.month-key { list-style: none; display: flex; gap: 16px; flex-wrap: wrap; padding: 0; margin: 14px 0 0; font-size: 13px; font-weight: 700; color: var(--muted); }
.month-key span { margin-right: 6px; vertical-align: -1px; }
.cal-row.is-past { opacity: .6; }
#cal-list .empty { grid-column: auto; }
