
:root { --header-height: 5rem; }
html { scroll-padding-top: calc(var(--header-height) + 1rem); }
.site-header { position: sticky; top: 0; z-index: 30; background: #053327; color: #EFF4F2; border-bottom: 1px solid #31564A; }
.header-row { min-height: var(--header-height); display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); position: relative; }
.site-logo { flex: none; display: inline-flex; align-items: center; min-height: 44px; }
.site-logo img { width: 120px; height: auto; display: block; }
.primary-nav { margin-inline-end: auto; }
.primary-links { display: flex; align-items: center; gap: .25rem; padding: 0; margin: 0; list-style: none; }
.primary-links > li { flex: none; }
.header-actions { display: flex; align-items: center; gap: .875rem; flex: none; margin-inline-start: auto; }
.mega-trigger, .nav-direct, .mobile-toggle, .language-link { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 44px; padding: .65rem .75rem; background: transparent; border: 1px solid transparent; color: #D3E3DE; border-radius: .6rem; font: 600 .9375rem/1.5 var(--f-ui); text-decoration: none; white-space: nowrap; cursor: pointer; }
.mega-trigger svg, .mobile-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.75; }
.mega-trigger[aria-expanded='true'], .mega-trigger:hover, .nav-direct:hover, .language-link:hover { background: #164B3C; color: #FFF; }
.nav-direct[aria-current='page'], .mega-links a[aria-current='page'] { text-decoration: underline; text-underline-offset: .3em; }
.language-link, .mobile-toggle { border-color: #678C80; }
.header-cta { font-size: .875rem; min-height: 44px; padding: .65rem 1.1rem; white-space: nowrap; background: #8FE3C0 !important; color: #053327 !important; }
.header-cta:hover { background: #B6F0D7 !important; }
.site-header :focus-visible, .site-footer :focus-visible { outline: 3px solid #8FE3C0; outline-offset: 3px; }
.mega-panel { box-sizing: border-box; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.7fr); gap: 2rem; padding: 2rem; background: var(--surface); color: var(--ink); border: 1px solid var(--line-2); border-radius: 0 0 1.25rem 1.25rem; box-shadow: 0 24px 50px #03171140; text-align: start; }
.nav-ready.nav-wide .mega-panel { position: absolute; inset: 100% 0 auto; width: 100%; max-height: calc(100dvh - 6rem); overflow-y: auto; }
.nav-ready.nav-wide .mega-panel[popover] { position: fixed; inset: 5rem auto auto 50%; translate: -50% 0; margin: 0; width: var(--col); max-width: 1200px; }
.mega-panel[hidden], .primary-links[hidden], .mobile-toggle[hidden] { display: none; }
.mega-panel[popover]:not(:is(:popover-open)) { display: none; }
.mega-intro { padding: 1.5rem; border-radius: .875rem; background: var(--surface-2); }
.mega-intro .eyebrow { color: var(--accent-text); }
.mega-title { font: 600 clamp(1.5rem, 2.5vw, 2rem)/1.2 var(--f-brand); letter-spacing: -.025em; text-wrap: balance; margin-bottom: .75rem; }
.mega-intro > p:not(.eyebrow):not(.mega-title) { color: var(--ink-2); font-size: .9375rem; }
.mega-intro > a { display: inline-flex; align-items: center; min-height: 44px; gap: .6rem; font-weight: 600; }
.mega-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .375rem 1rem; align-content: start; }
.mega-links a { display: grid; gap: .25rem; padding: .875rem; min-height: 48px; border-radius: .75rem; text-decoration: none; color: var(--ink); }
.mega-links a:hover { background: var(--surface-2); }
.mega-link-title { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; font-weight: 650; }
.mega-description { color: var(--ink-2); font-size: .8125rem; line-height: 1.6; }
.mega-links > .mega-more { grid-column: 1 / -1; padding-top: .5rem; }
.mega-links .mega-more a { display: inline-flex; gap: .5rem; padding: .7rem 1.4rem; border-radius: 999px; }
.soon-badge { flex: none; font: 500 .625rem/1.5 var(--f-ui); letter-spacing: .03em; padding: .1rem .4rem; border: 1px solid currentColor; border-radius: 999px; }
.site-header:not(.nav-ready) .header-row { flex-wrap: wrap; }
.site-header:not(.nav-ready) .primary-links { display: grid; }
.nav-ready:not(.nav-wide) .primary-nav { margin-inline-start: auto; margin-inline-end: 0; }
.nav-ready:not(.nav-wide) .primary-links:not([hidden]) { position: absolute; inset: 100% 0 auto; display: grid; align-items: stretch; padding: .75rem; border: 1px solid #678C80; border-radius: 0 0 1rem 1rem; background: #053327; max-height: calc(100dvh - 6rem); overflow-y: auto; overscroll-behavior: contain; }
.nav-ready:not(.nav-wide) .primary-links > li { min-width: 0; }
.nav-ready:not(.nav-wide) .mega-trigger, .nav-ready:not(.nav-wide) .nav-direct { min-height: 48px; }
.nav-ready:not(.nav-wide) .mega-panel { position: static; width: auto; display: block; padding: .5rem; border-radius: .75rem; box-shadow: none; margin-block: .25rem .75rem; }
.nav-ready:not(.nav-wide) .mega-panel[hidden] { display: none; }
.nav-ready:not(.nav-wide) .mega-intro { display: none; }
.nav-ready:not(.nav-wide) .mega-links { grid-template-columns: 1fr; gap: .25rem; }
.nav-ready:not(.nav-wide) .header-actions { margin-inline-start: 0; }
.nav-measuring .header-cta { display: inline-flex !important; }
.nav-measuring .primary-links { display: flex !important; position: static !important; width: max-content; padding: 0 !important; }
.nav-measuring .mega-panel, .nav-measuring .mobile-toggle { display: none !important; }
.site-footer { margin-top: 0; padding-top: clamp(3rem,6vw,5rem); background: #053327; color: #C9DBD6; }
.footer-grid { display: grid; grid-template-columns: minmax(0,1.55fr) repeat(3,minmax(0,1fr)); gap: clamp(1.5rem,4vw,4rem); padding-bottom: 3rem; }
.footer-brand img { display: block; width: 145px; height: auto; }
.footer-bio { margin: 1.25rem 0 1.5rem; max-width: 32ch; font-size: .9375rem; line-height: 1.8; }
.footer-contact-title { color: #EFF4F2; font-size: .875rem; font-weight: 650; margin-bottom: .25rem; }
.footer-brand address { display: flex; flex-direction: column; align-items: flex-start; font-style: normal; }
.site-footer a { color: #C9DBD6; text-decoration: none; }
.site-footer a:hover { color: white; text-decoration: underline; }
.footer-brand address a { display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; overflow-wrap: anywhere; }
.footer-maker { margin: 1.25rem 0 0; font-size: .75rem; line-height: 1.8; max-width: 34ch; }
.footer-maker a { text-decoration: underline; }
.footer-column h2 { color: #EFF4F2; font: 650 .9375rem/1.5 var(--f-ui); letter-spacing: 0; margin: .25rem 0 1rem; }
.footer-column ul { list-style: none; padding: 0; margin: 0; }
.footer-column a { display: flex; align-items: center; gap: .5rem; min-height: 44px; padding-block: .45rem; font-size: .875rem; line-height: 1.5; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; padding-block: 1.25rem; border-top: 1px solid #31564A; }
.footer-bottom p { display: grid; gap: .2rem; font-size: .75rem; margin: 0; }
.footer-bottom nav { display: flex; align-items: center; gap: .5rem 1.25rem; flex-wrap: wrap; }
.footer-bottom a, .footer-bottom button { min-height: 44px; display: inline-flex; align-items: center; font-size: .75rem; }
.footer-bottom button[hidden] { display: none; }
.destination-page { padding-block: clamp(4rem,10vw,8rem); text-align: center; min-height: 55vh; }
.destination-page .lede { margin: 1.5rem auto; max-width: 42ch; }
.destination-page .ctas { justify-content: center; }
.destination-page h1 { text-wrap: balance; }
.destination-note { padding: 1.5rem; border: 1px solid var(--line); border-radius: 1rem; margin-block: 2rem; background: var(--surface); }
.destination-note h2 { font-size: 1.5rem; }
.destination-note p { margin: 0; color: var(--ink-2); }
.skip:focus { z-index: 100; }
:where(button,a,input,select,summary):focus-visible { outline: 3px solid var(--accent-text); outline-offset: 3px; }
html[lang='ur'] .mega-title { letter-spacing: 0; line-height: 1.7; }
html[lang='ur'] .soon-badge { font-size: .75rem; letter-spacing: 0; }
html[lang='ur'] .footer-column h2 { line-height: 1.8; }
@media (max-width: 1000px) {
 .footer-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
 .footer-brand { grid-column: 1 / -1; }
 .footer-bio { margin-bottom: 1.25rem; }
}
@media (max-width: 600px) {
 :root { --header-height: 4.5rem; }
 .site-logo img { width: 100px; }
 .header-row { gap: .65rem; }
 .header-actions { gap: .5rem; }
 .header-cta { display: none; }
 .mobile-toggle, .language-link { padding: .5rem .7rem; font-size: .875rem; }
 .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 2rem 1rem; }
 .footer-brand { display: block; }
 .footer-bio { max-width: 38ch; margin-bottom: 1.25rem; }
 .footer-column:last-child { grid-column: 1 / -1; }
 .footer-column:last-child ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 1rem; }
 .footer-column .soon-badge { display: none; }
 .footer-bottom nav { gap: .25rem 1rem; }
}
@media (forced-colors: active) {
 .mega-trigger[aria-expanded='true'] { border-color: Highlight; }
 .mega-panel, .site-header, .site-footer { border: 1px solid CanvasText; }
 :where(a,button,input,select,summary):focus-visible { outline-color: Highlight; }
}

/* Keep section links and secondary navigation clear of the sticky header. */
.cl-bar { top: var(--header-height, 5rem); }
main [id] { scroll-margin-top: calc(var(--header-height, 5rem) + 1rem); }

/* A brief, coordinated entrance; hidden panels remain out of the tab order. */
@media (prefers-reduced-motion: no-preference) {
 .nav-wide .mega-panel:is(:popover-open, :not([popover]):not([hidden])) { animation: mega-enter 320ms cubic-bezier(.2,0,0,1) both; }
 .nav-wide .mega-panel:is(:popover-open, :not([popover]):not([hidden])) :is(.mega-intro, .mega-links > li) { animation: mega-content 300ms cubic-bezier(.2,0,0,1) both; animation-delay: 60ms; }
 .mega-links > li:nth-child(2) { --mega-delay: 95ms; }
 .mega-links > li:nth-child(3) { --mega-delay: 130ms; }
 .mega-links > li:nth-child(4) { --mega-delay: 165ms; }
 .mega-links > li:nth-child(n+5) { --mega-delay: 195ms; }
 .nav-wide .mega-panel:is(:popover-open, :not([popover]):not([hidden])) .mega-links > li { animation-delay: var(--mega-delay, 60ms); }
 @keyframes mega-enter { from { opacity: 0; transform: translateY(-12px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
 @keyframes mega-content { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
}

.whatsapp-bubble { position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 25; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: #8FE3C0; color: #053327; border: 2px solid #053327; box-shadow: 0 4px 18px #0003; }
.whatsapp-bubble:hover { background: #B2F0D6; }
.whatsapp-bubble:focus-visible { outline: 3px solid #00715A; outline-offset: 4px; }
@media (max-width: 900px), (hover: none) {
 body:has(.chapter-rail.is-ready:not([hidden])) .whatsapp-bubble { bottom: calc(5.5rem + env(safe-area-inset-bottom)); }
}

.site-footer .maker-badge { display: inline-flex; flex-direction: column; align-items: flex-start; gap: .6rem; margin-top: 1.5rem; padding: .9rem 1.1rem; border: 1px solid #52796B; border-radius: .75rem; background: #ffffff06; text-decoration: none; }
.maker-badge span { font-size: .625rem; letter-spacing: .14em; text-transform: uppercase; line-height: 1.4; color: #C9DBD6; }
.footer-brand .maker-badge img { width: 172px; height: auto; }
.site-footer .maker-badge:hover { border-color: #8FE3C0; background: #ffffff0d; text-decoration: none; }
