/* A single floating capsule: identity, scene choices and the Pakistan clock. */
.topbar{top:20px;left:50%;right:auto;transform:translateX(-50%);width:min(860px,calc(100% - 48px));height:76px;border-radius:999px;padding:10px 20px;gap:20px;justify-content:space-between}
.topbar .brand{font-size:28px;flex-shrink:0}.topbar .brand-dot{font-size:34px}
.topbar .theme-controls{display:flex;flex:1;justify-content:center;gap:3px;padding:0;background:none;border:0;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
.topbar .theme-controls button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:10px 13px;border-radius:999px;font-size:12px;line-height:1.2;white-space:nowrap}
.topbar .theme-controls button svg{width:21px;height:21px;flex-shrink:0}
.topbar .theme-controls button span{font-size:inherit;line-height:inherit}
.topbar .theme-controls #auto-theme[aria-pressed=true]{box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--accent) 28%,transparent)}
.topbar .top-right{gap:8px;font-size:12px;flex-shrink:0}.topbar .top-right .micro{font-size:10px;letter-spacing:1px}
.topbar .top-right .icon-button{width:42px;height:42px;margin:0;font-size:24px}
.topbar .top-right>.live-dot{display:none}
/* Name-led opening, with the forest still visible to its right. */
.intro{padding-top:154px;padding-bottom:100px;overflow:visible}
.hero-copy{max-width:620px;width:100%;padding-right:14px}
.hero-copy .hero-kicker{gap:13px;font-size:12px;letter-spacing:1.8px;line-height:1.6;margin-bottom:24px}
.hero-kicker>svg{width:28px;height:28px;flex-shrink:0}.kicker-slash{opacity:.45;margin:0 7px}
.hero-copy h1{font-family:'Arial Black',Arial,Helvetica,sans-serif;font-weight:900;font-style:italic;font-size:clamp(62px,6.1vw,94px);line-height:.96;letter-spacing:-.06em;text-transform:uppercase;color:var(--ink);text-shadow:2px 3px 0 color-mix(in srgb,var(--accent) 23%,transparent);margin:0}
.hero-copy h1>span{display:block}.hero-copy .name-dot{color:var(--accent)}
.hero-copy .hero-motto{font-size:clamp(25px,2.35vw,34px);line-height:1.3;margin:18px 0 27px;color:var(--accent)}
.hero-copy .hero-role{border-left:2px solid var(--accent);padding:3px 0 3px 16px;font:700 16px/1.6 'Courier New',monospace;letter-spacing:.7px;text-transform:uppercase;color:var(--ink)}
.hero-role span{display:block}
.hero-copy .hero-description{font-size:17px;line-height:1.85;margin-top:22px;max-width:52ch;color:var(--body-ink)}
.hero-copy .hero-actions{gap:14px;margin-top:28px;flex-wrap:wrap}
.hero-copy .hero-actions .button{min-height:56px;padding:15px 22px;font-size:15px;gap:24px;border-radius:12px}
.hero-actions svg{width:24px;height:24px;flex-shrink:0;transition:transform .2s}
@media(hover:hover){.hero-actions a:hover svg{transform:translate(2px,-2px)}}
.hero-copy .hero-foot{font-size:10px;line-height:1.6;letter-spacing:1.2px;gap:10px;margin-top:26px}
.chapter-footer{bottom:32px}.scroll-cue{font-size:10px}.scroll-cue>span{width:38px;height:38px;font-size:22px}
@media(min-width:768px) and (max-width:1100px){
 .topbar{width:calc(100% - 40px);gap:12px;padding:10px 16px}.topbar .brand{font-size:25px}
 .topbar .theme-controls button{padding:10px 9px;font-size:11px;gap:5px}.topbar .theme-controls button svg{width:20px;height:20px}
 .topbar .top-right{font-size:11px;gap:5px}.topbar .top-right .micro{display:none}
 .hero-copy h1{font-size:clamp(56px,6.6vw,72px)}.hero-copy .hero-kicker{font-size:11px}.hero-copy .hero-description{font-size:17px}
 .hero-copy .hero-actions .button{padding:14px 18px;font-size:14px;gap:16px}
}
@media(max-width:767px),(max-width:950px) and (max-height:500px){
 :root{--mobile-header:calc(126px + env(safe-area-inset-top,0px))}
 .topbar{position:sticky;top:calc(8px + env(safe-area-inset-top,0px));left:auto;right:auto;transform:none;width:calc(100% - 24px);height:110px;margin:0 auto;border-radius:30px;padding:9px 12px;display:grid;grid-template-columns:auto 1fr;grid-template-rows:38px 44px;column-gap:8px;row-gap:7px}
 .topbar .brand{font-size:25px;grid-row:1;grid-column:1}.topbar .brand-dot{font-size:29px}
 .topbar .top-right{grid-row:1;grid-column:2;justify-self:end;gap:6px;font-size:12px}.topbar .top-right .micro{display:inline;font-size:9px;letter-spacing:.6px}
 .topbar .top-right .icon-button{width:36px;height:36px;min-width:36px;font-size:23px}
 .topbar .theme-controls{grid-column:1/-1;grid-row:2;display:flex;width:100%;gap:3px;justify-content:space-between}
 .topbar .theme-controls button{min-height:44px;flex:1;padding:8px 5px;gap:5px;font-size:10px;letter-spacing:0}
 .topbar .theme-controls button svg{width:18px;height:18px}.topbar .theme-controls #auto-theme{flex:1.4}
 .intro{padding-top:38px;padding-bottom:var(--mobile-dock);min-height:100svh}
 .hero-copy{max-width:100%;padding-right:0}
 .hero-copy .hero-kicker{font-size:10px;gap:9px;letter-spacing:1.1px;margin-bottom:24px}.hero-kicker>svg{width:25px;height:25px}.kicker-slash{margin:0 3px}
 .hero-copy h1{font-size:clamp(43px,12.5vw,66px);line-height:1;letter-spacing:-.065em}
 .hero-copy .hero-motto{font-size:28px;margin:18px 0 26px}
 .hero-copy .hero-role{font-size:14px;letter-spacing:.3px;line-height:1.7;padding-left:13px}
 .hero-copy .hero-description{font-size:17px;line-height:1.8;margin-top:22px}
 .hero-copy .hero-description br{display:none}.hero-copy .hero-description br:after{content:' '}
 .hero-copy .hero-actions{gap:12px;margin-top:26px}
 .hero-copy .hero-actions .button{font-size:16px;min-height:54px;padding:14px;gap:10px}
 .hero-copy .hero-foot{font-size:10px;letter-spacing:.7px;gap:8px;margin-top:24px}
}
@media(max-width:359px){.topbar .theme-controls button{font-size:9px;gap:3px}.topbar .theme-controls button svg{width:16px;height:16px}.hero-copy h1{font-size:39px}}
@media(prefers-reduced-motion:reduce){.hero-actions svg{transition:none}}
html:not(.js) .topbar{height:auto;min-height:60px;display:flex}html:not(.js) .topbar .top-right{display:none}
@media(max-width:479px){.hero-copy .hero-actions{display:grid;grid-template-columns:1fr}.hero-copy .hero-actions .button{width:100%;justify-content:space-between}}

/* Handle-first identity: a stable frame keeps the name reveal from moving content. */
.topbar{width:min(800px,calc(100% - 48px))}
.hero-copy .hero-kicker{margin-bottom:28px;letter-spacing:1.6px}
.hero-copy h1{font-family:Arial,Helvetica,sans-serif;font-style:normal;text-transform:none;text-shadow:none;letter-spacing:-.055em;line-height:1;margin:0 0 32px}
.identity-reveal{position:relative;display:block;width:100%;height:176px;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;backdrop-filter:none;color:inherit;font:inherit;text-align:left;cursor:pointer;-webkit-tap-highlight-color:transparent}
.identity-reveal:focus-visible{outline:2px solid var(--accent);outline-offset:10px;border-radius:4px}
.identity-reveal>span{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;transition:opacity .45s ease,transform .55s cubic-bezier(.22,1,.36,1);pointer-events:none}
.identity-handle{font-size:clamp(84px,8.5vw,120px);font-weight:600;letter-spacing:-.075em;opacity:1;transform:translateY(0)}
.identity-reveal .identity-name{display:block;align-content:center;font-family:Georgia,'Times New Roman',serif;font-size:clamp(50px,5.2vw,70px);font-weight:400;line-height:1.1;letter-spacing:-.045em;opacity:0;transform:translateY(12px)}
.identity-name em{color:var(--accent);font-weight:400}
.identity-reveal[aria-pressed="true"] .identity-handle{opacity:0;transform:translateY(-12px)}
.identity-reveal[aria-pressed="true"] .identity-name{opacity:1;transform:translateY(0)}
.hero-copy .hero-role{border:0;padding:0;font:500 19px/1.5 Arial,Helvetica,sans-serif;letter-spacing:.1px;text-transform:none;color:var(--ink)}
.hero-role span{font-size:16px;color:var(--body-ink);margin-top:3px}
.hero-copy .hero-description{font-size:18px;line-height:1.8;max-width:43ch;margin-top:22px}
.hero-copy .hero-actions{margin-top:32px}
@media(min-width:768px) and (max-width:1100px){.topbar{width:calc(100% - 40px)}.identity-handle{font-size:90px}.identity-reveal{height:160px}.identity-reveal .identity-name{font-size:60px}}
@media(max-width:767px),(max-width:950px) and (max-height:500px){
 .topbar{width:calc(100% - 24px)}
 .hero-copy .hero-kicker{font-size:10px;letter-spacing:1px;margin-bottom:18px}
 .hero-copy h1{margin-bottom:26px}
 .identity-reveal{height:140px}
 .identity-handle{font-size:clamp(72px,21vw,96px)}
 .identity-reveal .identity-name{font-size:clamp(43px,12vw,56px);line-height:1.08}
 .hero-copy .hero-role{font-size:19px;line-height:1.5;padding:0}
 .hero-role span{font-size:16px}
 .hero-copy .hero-description{font-size:17px;line-height:1.8;margin-top:22px}
}
@media(prefers-reduced-motion:reduce){.identity-reveal>span{transition:none}}
