/* Ahmed Vaseer — site styles */

/* ============================================================
   PALETTE  —  "Forest & Chartreuse"
   Deep Pakistan-forest green, crisp paper white, one confident
   chartreuse accent. Every colour on the site reads from these
   tokens, so a palette swap is a single block change.
   Contrast (WCAG): paper on bg 14.5 · accent on bg 12.7 ·
   ink on accent 12.7 · muted on bg 8.0 · ink-muted on paper 6.1
   ============================================================ */
:root{
  --bg:#0F241D;          /* page background (also ink on light sections) */
  --bg-2:#12291F;        /* alternate dark section */
  --surface:#19352B;     /* cards on dark */
  --surface-2:#1F3E33;   /* raised cards / nodes */
  --deep:#0A1A14;        /* terminals, key shadows */
  --stripe-a:#1C3A2F; --stripe-b:#17312A;  /* photo placeholders on dark */
  --line:#24443A; --line-2:#2E5246; --line-3:#3B6153;
  --paper:#F4F2EA;       /* light sections + text on dark */
  --paper-2:#ECE9DE; --paper-3:#E3DFD1; --paper-line:#D5D0C0;
  --muted:#A7BBB0;       /* secondary text on dark */
  --soft:#CBD8D0;        /* body text on dark cards */
  --ink:#0F241D;         /* text on paper/accent */
  --ink-muted:#4F5E57;   /* secondary text on paper */
  --accent:#C6F35E;      /* chartreuse */
  --accent-hi:#D8FA8C;
  --accent-deep:#5F7F1F; /* 3D key shadows */
}
/* Alternate palettes, ready to paste over the block above:
   Navy & Tangerine:  --bg:#0E1A2B --surface:#16263D --surface-2:#1D3150 --line:#243A57 --paper:#F5F1EA --accent:#FF8A3D --accent-hi:#FFA769 --accent-deep:#8A3F12 --muted:#9FB0C6
   Ink & Coral:       --bg:#141414 --surface:#1E1E1E --surface-2:#262626 --line:#2E2E2E --paper:#F3F0EA --accent:#FF6F59 --accent-hi:#FF907E --accent-deep:#8C2F21 --muted:#A8A39B */

body{margin:0;background:var(--bg);font-family:'Inter Tight',system-ui,-apple-system,'Segoe UI',sans-serif;color:var(--paper)}
a{color:var(--paper)}a:hover{color:var(--accent)}
.nl{text-decoration:none;color:var(--paper);font-size:14px;letter-spacing:.04em;padding:12px 2px}
.nl:hover{color:var(--accent)}
.ink{color:var(--bg)}.ink:hover{color:var(--bg);text-decoration-thickness:3px}
@keyframes mq{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.mq{animation:mq 30s linear infinite}
.lift{transition:transform .4s cubic-bezier(.2,.7,.2,1),border-color .4s}
.lift:hover{transform:translateY(-6px);border-color:var(--accent) !important}
.row{transition:background .25s,color .25s}
.row:hover{background:var(--accent);color:var(--bg)}

.btn{transition:transform .25s}
.btn:hover{transform:translateY(-2px)}
@keyframes mq2{from{transform:translateX(-50%)}to{transform:translateX(0)}}
.mq2{animation:mq2 26s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
.spin{animation:spin 16s linear infinite;transform-origin:50% 50%}
.badge:hover .spin{animation-duration:4s}

@keyframes blink{50%{opacity:.15}}

@media (min-width: 960px){.w2{grid-column:span 2}.h2{grid-row:span 2}}

@keyframes globe{from{transform:rotateX(-16deg) rotateY(0deg)}to{transform:rotateX(-16deg) rotateY(360deg)}}

@keyframes orbit{to{transform:rotateZ(360deg)}}

@keyframes drum{0%,20%{transform:rotateX(0deg)}25%,45%{transform:rotateX(90deg)}50%,70%{transform:rotateX(180deg)}75%,95%{transform:rotateX(270deg)}100%{transform:rotateX(360deg)}}
.face{backface-visibility:hidden;-webkit-backface-visibility:hidden}
.floor{animation:floor 2.4s linear infinite}
@keyframes floor{to{background-position:0 80px}}
@keyframes ping{0%{transform:scale(1);opacity:.9}100%{transform:scale(3.4);opacity:0}}
.ping{animation:ping 1.8s ease-out infinite}

@keyframes ftA{from{transform:rotateX(0deg)}to{transform:rotateX(-90deg)}}
@keyframes ftB{from{transform:rotateX(0deg)}to{transform:rotateX(-90deg)}}
@keyframes fbA{from{transform:rotateX(90deg)}to{transform:rotateX(0deg)}}
@keyframes fbB{from{transform:rotateX(90deg)}to{transform:rotateX(0deg)}}

.board{transition:transform .6s cubic-bezier(.2,.7,.2,1)}

.side{position:absolute;top:24px;width:250px;z-index:3}
@media (max-width: 1300px){.side{display:none}}
@keyframes swing{0%,100%{transform:rotate(-4deg)}50%{transform:rotate(4deg)}}
.swing{transform-origin:50% 0;animation:swing 4.5s ease-in-out infinite}
@keyframes sway{0%,100%{transform:rotateY(-20deg) rotate(-3deg)}50%{transform:rotateY(20deg) rotate(3deg)}}
.sway{transform-origin:50% 0;animation:sway 5s ease-in-out infinite}
@keyframes stamp{0%{transform:scale(2.2);opacity:0}6%{transform:scale(.94);opacity:1}9%{transform:scale(1);opacity:1}82%{transform:scale(1);opacity:1}92%,100%{transform:scale(1);opacity:0}}
.stamp{animation:stamp 9s cubic-bezier(.3,1.4,.5,1) infinite both}
.x3d{color:var(--accent);text-shadow:.012em .012em 0 color-mix(in oklab, var(--accent) 72%, black),.024em .024em 0 color-mix(in oklab, var(--accent) 50%, black),.036em .036em 0 color-mix(in oklab, var(--accent) 32%, black),.06em .1em .18em rgba(0,0,0,.4)}
.x3dw{color:var(--paper);text-shadow:.012em .012em 0 color-mix(in oklab, var(--paper) 72%, black),.024em .024em 0 color-mix(in oklab, var(--paper) 50%, black),.036em .036em 0 color-mix(in oklab, var(--paper) 32%, black),.06em .1em .18em rgba(0,0,0,.4)}
.x3dk{color:var(--ink);text-shadow:.012em .012em 0 var(--accent),.024em .024em 0 color-mix(in oklab, var(--accent) 85%, black),.036em .036em 0 color-mix(in oklab, var(--accent) 70%, black),.06em .1em .18em color-mix(in srgb, var(--ink) 16%, transparent)}
.x3dl{color:var(--accent);-webkit-text-stroke:.018em var(--ink);paint-order:stroke fill;text-shadow:.024em .024em 0 var(--ink),.048em .048em 0 var(--ink),.08em .12em .2em color-mix(in srgb, var(--ink) 22%, transparent)}

.wtIn{transition:transform .7s cubic-bezier(.3,1.35,.5,1)}
.wt.on .wtIn{transform:rotateX(180deg)}

.typed{animation:typeIn 1.4s steps(24,end) .45s both}

@media (prefers-reduced-motion: reduce){.hfl,.typed{animation:none}}
@property --g{syntax:'<length>';inherits:true;initial-value:64px}
.stack{--g:64px}
@keyframes stackOpen{from{--g:6px}to{--g:64px}}
@keyframes floaty{0%,100%{transform:translateY(0)}50%{transform:translateY(-16px)}}

.caret{display:inline-block;flex:none;width:10px;height:1.1em;background:var(--accent);vertical-align:-3px;margin-left:4px;animation:blink 1s steps(1) infinite}
@keyframes typeIn{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 0 0 0)}}
.key{display:flex;flex-direction:column;justify-content:space-between;gap:12px;padding:16px;border-radius:18px;background:linear-gradient(var(--surface-2),var(--surface));border:1px solid var(--line-3);box-shadow:0 8px 0 var(--deep),0 14px 26px rgba(0,0,0,.45);text-decoration:none;color:var(--paper);transition:transform .12s,box-shadow .12s;box-sizing:border-box}
.key:hover{transform:translateY(3px);box-shadow:0 5px 0 var(--deep),0 9px 16px rgba(0,0,0,.45);color:var(--paper)}
.key:active{transform:translateY(8px);box-shadow:0 0 0 var(--deep),0 4px 8px rgba(0,0,0,.4)}
.keyMain{background:linear-gradient(var(--accent-hi),var(--accent));color:var(--bg);border-color:var(--accent);box-shadow:0 8px 0 var(--accent-deep),0 14px 26px rgba(0,0,0,.45)}
.keyMain:hover{color:var(--bg);box-shadow:0 5px 0 var(--accent-deep),0 9px 16px rgba(0,0,0,.45)}
.keyMain:active{box-shadow:0 0 0 var(--accent-deep),0 4px 8px rgba(0,0,0,.4)}
.key:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
@supports (animation-timeline: view()){
.stack{animation:stackOpen linear both;animation-timeline:view();animation-range:entry 10% cover 45%}
.tl{animation:typeIn steps(30,end) both;animation-timeline:view()}
}
@media (prefers-reduced-motion: reduce){.stack,.stackFloat,.tl,.caret{animation:none}.plate,.key{transition:none}}
@media (prefers-reduced-motion: reduce){.wtIn{transition:none}}
.follow{transition:left .14s ease-out,top .14s ease-out}
.flip{perspective:900px}

@media (prefers-reduced-motion: reduce){.swing,.sway,.stamp{animation:none}.flipIn,.par,.follow,.cta3d{transition:none}}

.mbHint{display:none}
/* laptop fit: --mbs (scale) is set by main.js §2 from the viewport width AND height; these are no-JS fallbacks.
   --mbT is the vertical offset (local px) that centres the whole laptop (lid + deck), not just the lid box. */
.mbFit{--mbT:-53px;position:relative;top:calc(var(--mbT) * var(--mbs, 1));transform:scale(var(--mbs, 1))}
@media (max-width: 960px){.mbFit{--mbs:.62}}
@media (max-width: 600px){.mbFit{--mbs:.4}}
@keyframes mbLid{from{transform:rotateX(-89deg)}to{transform:rotateX(0deg)}}
@keyframes mbGlass{from{opacity:1}to{opacity:0}}
@keyframes mbOut{to{opacity:0;transform:translateY(-24px)}}
@keyframes mbZoom{from{transform:translateY(0) scale(1)}to{transform:translateY(calc(11px - var(--mbT, -53px))) scale(var(--mbz, 2.6))}}
.scrolly .mbStage{height:100vh !important;height:100dvh !important}
@keyframes wave{0%,100%{transform:rotateY(-12deg) skewY(-1.5deg)}50%{transform:rotateY(10deg) skewY(1.5deg)}}

@keyframes cloth{to{background-position:-200% 0}}

.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.ring{animation:ringSpin 36s linear infinite}
@keyframes ringSpin{from{transform:rotateY(0deg)}to{transform:rotateY(-360deg)}}

.s3d{position:relative;border-radius:44px 44px 0 0;margin-top:-44px;box-shadow:0 -30px 60px rgba(0,0,0,.35)}
@keyframes s3dIn{from{transform:perspective(1800px) rotateX(24deg) translateY(140px) scale(.9)}to{transform:none}}
@keyframes s3dOut{from{transform:none}to{transform:perspective(1800px) rotateX(-12deg) scale(.92)}}
@supports (animation-timeline: view()){
.s3d{transform-origin:50% 0;animation:s3dIn linear both, s3dOut linear forwards;animation-timeline:view(), view();animation-range:entry 0% entry 85%, exit 15% exit 100%}
}
@media (prefers-reduced-motion: reduce){.ring,.s3d{animation:none}}
.mapPlane,.mapLabel{transition:transform .5s cubic-bezier(.2,.7,.2,1)}
.arc{animation:dash 1.4s linear infinite}
@keyframes dash{to{stroke-dashoffset:-32}}
.fly{offset-rotate:0deg;animation:fly 3.4s cubic-bezier(.5,0,.5,1) infinite}
@keyframes fly{0%{offset-distance:0%;opacity:0}12%{opacity:1}88%{opacity:1}100%{offset-distance:100%;opacity:0}}
.mapFit{transform:scale(.8)}
@media (max-width: 1300px){.mapFit{transform:scale(.68)}}
@media (max-width: 1000px){.mapFit{transform:scale(.5)}.mapStage{height:380px !important}}
@media (max-width: 640px){.mapFit{transform:scale(.28)}.mapStage{height:260px !important}}
@media (prefers-reduced-motion: reduce){.arc{animation:none}.fly{display:none}.mapPlane,.mapLabel{transition:none}}
@keyframes sigReveal{from{clip-path:inset(-40% 100% -40% -10%)}to{clip-path:inset(-40% -10% -40% -10%)}}
@keyframes sigPen{0%{left:0%;opacity:1}94%{opacity:1}100%{left:100%;opacity:0}}
@keyframes sigLine{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@keyframes hlGrow{from{background-size:0% 100%}to{background-size:100% 100%}}
.tilt{transition:transform .5s cubic-bezier(.2,.7,.2,1),box-shadow .5s}
.tilt:hover{transform:rotateX(8deg) translateY(-10px);box-shadow:0 30px 50px rgba(0,0,0,.45)}
@keyframes wordIn{from{transform:translateY(.3em)}to{transform:none}}
@keyframes roleIn{from{transform:translateY(12px)}to{transform:none}}

@supports (animation-timeline: view()){
.msgTrack.scrolly{view-timeline-name:--msg}
.msgTrack.scrolly .msgStage{min-height:100vh;min-height:100dvh}

.scrolly .hl{animation:wordIn ease-out both, hlGrow linear both;animation-timeline:--msg, --msg}

}
@media (prefers-reduced-motion: reduce){.tilt{transition:none}}
/* ---------- Message: typed as you scroll (main.js §2b) ----------
   Untyped characters keep their space (visibility, not opacity) so nothing reflows. */
.msgType{margin:0;font-size:clamp(26px,3.2vw,44px);line-height:1.3;font-weight:500;letter-spacing:-.015em}
.mw{display:inline-block}

.mwHl{font-weight:700;padding:0 .08em;background:linear-gradient(var(--accent),var(--accent)) no-repeat 0 0/0% 100%;transition:background-size .5s cubic-bezier(.2,.7,.2,1)}
.mwHl.done{background-size:100% 100%}
.msgType.typing .mc{visibility:hidden}
.msgType.typing .mc.on{visibility:visible}
.mc.cur{position:relative}
.mc.cur::after,.mc.pre::before{content:'';visibility:visible;position:absolute;top:.1em;bottom:.04em;width:.075em;border-radius:2px;background:var(--accent);box-shadow:0 0 0 1.5px var(--ink);animation:blink 1s steps(1) infinite}
.mc.cur::after{left:100%;margin-left:.04em}
.mc.pre{position:relative}
.mc.pre::before{right:100%;margin-right:.04em}
.msgType.typed .mc.cur::after{display:none}
@media (prefers-reduced-motion: reduce){.mwHl{transition:none}.mc.cur::after,.mc.pre::before{animation:none}}

@keyframes fdash{to{stroke-dashoffset:-24}}

@keyframes fpulse{from{transform:scale(1);opacity:1}to{transform:scale(2.8);opacity:0}}

@keyframes fplane{0%{offset-distance:0%}100%{offset-distance:100%}}
.ripple{animation:ripple 3s ease-out infinite}
@keyframes ripple{from{transform:scale(.08);opacity:.9}to{transform:scale(1);opacity:0}}
.sweep{animation:sweep 7s linear infinite}
@keyframes sweep{from{left:-12%}to{left:104%}}
.mapLabel > div{transition:transform .3s cubic-bezier(.2,.7,.2,1)}
.mapLabel:hover > div{transform:translateY(-8px)}
@media (prefers-reduced-motion: reduce){.sigWrite,.sigPen,.sigLine,.hl,.fpath,.fpulse,.ripple,.sweep{animation:none}}
@keyframes mbIn{from{opacity:0}to{opacity:1}}
@supports (animation-timeline: view()){
.mbTrack.scrolly{view-timeline-name:--mb}
.scrolly .mbHint{display:flex}
.scrolly .mbLid{animation:mbLid linear both;animation-timeline:--mb;animation-range:contain 0% contain 30%}
.scrolly .mbGlass{animation:mbGlass linear both;animation-timeline:--mb;animation-range:contain 24% contain 38%}
.scrolly .mbIntro{animation:mbOut linear both;animation-timeline:--mb;animation-range:contain 0% contain 18%}
.scrolly .mbZoom{animation:mbZoom both;animation-timing-function:cubic-bezier(.55,0,.35,1);animation-timeline:--mb;animation-range:contain 40% contain 90%}
.scrolly .mbArrive{animation:mbIn linear both;animation-timeline:--mb;animation-range:contain 88% contain 100%}
}
@media (prefers-reduced-motion: reduce){.mq,.mq2,.spin,.blink,.globe,.orbit,.drum,.floor,.ping{animation:none}.lift,.row,.btn,.soc,.badge .core{transition:none}}

/* ---------- hero split-flap tiles (generated by main.js) ---------- */
.wt{position:relative;display:block;perspective:320px}
.wtIn{position:absolute;inset:0;transform-style:preserve-3d}
.wtF,.wtB{position:absolute;inset:0;border-radius:6px;display:flex;align-items:center;justify-content:center;font-family:'Big Shoulders Display',sans-serif;font-size:30px;backface-visibility:hidden;-webkit-backface-visibility:hidden}
.wtF{background:var(--surface);color:var(--line);font-weight:800}
.wtB{background:var(--accent);color:var(--bg);font-weight:900;transform:rotateX(180deg)}
.wtHinge{position:absolute;left:0;right:0;top:29.5px;height:1px;background:var(--deep)}

/* ---------- Hero: "All-Access Pass" (driven by main.js §3b) ----------
   A speaker badge on a lanyard drops in from the top edge and swings. Every size inside
   the card is a fraction of --ch (card height), so the pass scales as one object. */
.hx{position:relative;overflow:hidden;background:var(--bg);display:flex;flex-direction:column;
  --mqh:76px;--ch:clamp(330px,calc(100svh - 300px),560px);--cw:calc(var(--ch) * .64);--rr:clamp(40px,8.5vw,190px);
  --ease:cubic-bezier(.2,.7,.2,1)}
@media (min-width:1001px){.hx{height:max(640px,100svh)}}
.hxShade{position:absolute;inset:0;z-index:0;pointer-events:none;background:
  radial-gradient(ellipse 50% 60% at 27% 54%,color-mix(in srgb,var(--bg) 90%,transparent) 0%,color-mix(in srgb,var(--bg) 62%,transparent) 58%,transparent 100%),
  linear-gradient(0deg,color-mix(in srgb,var(--bg) 95%,transparent) 0%,transparent 22%),
  linear-gradient(180deg,color-mix(in srgb,var(--bg) 75%,transparent) 0,transparent 130px)}

.hxHead{position:relative;z-index:6;width:100%;max-width:1360px;margin:0 auto;box-sizing:border-box;padding:22px clamp(20px,4vw,48px);display:flex;align-items:center;justify-content:space-between;gap:16px}
.hxHeadL{display:flex;align-items:center;gap:clamp(20px,3vw,44px);flex-wrap:wrap}
.hxLogo{display:flex;align-items:center;justify-content:center;flex:none;width:48px;height:48px;border:1.5px solid var(--accent);border-radius:999px;text-decoration:none;font-family:'Big Shoulders Display',sans-serif;font-weight:900;font-size:20px;color:var(--accent)}
.hxNav{display:flex;align-items:center;gap:clamp(14px,2vw,30px);flex-wrap:wrap}
.hxCta{display:inline-flex;align-items:center;gap:10px;flex:none;min-height:48px;padding:0 22px;border-radius:999px;background:var(--accent);color:var(--bg);text-decoration:none;font-weight:600;font-size:15px}
.hxCta:hover{color:var(--bg)}

/* left: the statement */
.hxMain{position:relative;z-index:4;flex:1;width:100%;max-width:1360px;margin:0 auto;box-sizing:border-box;padding:0 clamp(20px,4vw,48px) clamp(16px,3vh,40px);display:flex;align-items:center;pointer-events:none}
.hxCopy{pointer-events:auto;max-width:calc(100% - var(--cw) - var(--rr) - 48px);display:flex;flex-direction:column;align-items:flex-start;gap:clamp(12px,2.3vh,28px)}
.hxEyebrow{margin:0;display:flex;align-items:center;gap:12px;font-size:13px;letter-spacing:.18em;text-transform:uppercase;color:var(--muted)}

.hxTitle{margin:0;display:flex;flex-direction:column;font-family:'Big Shoulders Display',sans-serif;font-weight:900;text-transform:uppercase;line-height:.86;letter-spacing:-.005em;font-size:clamp(52px,min(7.4vw,11.5vh),150px)}
.hxLine{display:block;overflow:hidden;padding:.02em .16em .1em 0;margin-bottom:-.08em}
.hxLine>span{display:inline-block;white-space:nowrap;transform-origin:0 100%;animation:hxUp 1s var(--ease) both}
.hxLine:nth-child(2)>span{animation-delay:.1s}
.hxLine:nth-child(3)>span{animation-delay:.2s}
@keyframes hxUp{from{transform:translateY(108%) rotate(5deg)}to{transform:none}}
.hxLede{margin:0;max-width:520px;font-size:clamp(15px,1.9vh,18px);line-height:1.5;color:var(--soft);animation:hxWipe 1.1s var(--ease) .4s both}
.hxLede b{color:var(--paper);font-weight:600}
@keyframes hxWipe{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(-4px -4px -4px 0)}}

/* split-flap "now shipping" board (cells built by main.js) */

.hxF{position:relative;display:block;width:.7em;height:1.14em;perspective:200px}
.hxFi{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;border-radius:4px;background:linear-gradient(var(--surface-2) 0 50%,var(--surface) 50% 100%);color:var(--accent);line-height:1;transform-origin:50% 50%}
.hxF::after{content:'';position:absolute;left:0;right:0;top:50%;height:1px;background:var(--deep)}
.hxKeys{display:flex;flex-wrap:wrap;gap:14px;padding-bottom:8px}
.hxKey{flex-direction:row;align-items:center;justify-content:center;gap:10px;min-height:54px;padding:0 24px;font-weight:700;font-size:16px}

/* right: the pass on its lanyard */
.hxRigWrap{position:absolute;top:0;left:0;right:0;bottom:var(--mqh);z-index:3;pointer-events:none}
.hxRigBox{position:relative;height:100%;max-width:1360px;margin:0 auto}
.hxRig{position:absolute;top:0;bottom:0;right:calc(clamp(20px,4vw,48px) + var(--rr));width:var(--cw)}
.hxDrop{height:100%;animation:hxDrop 1.3s cubic-bezier(.3,1.22,.45,1) .25s both}
@keyframes hxDrop{from{transform:translateY(-104%)}to{transform:none}}
.hxSwing{height:100%;box-sizing:border-box;padding-bottom:clamp(18px,3.5vh,40px);display:flex;flex-direction:column;align-items:center;transform-origin:50% 0;transform:rotate(var(--sw,0deg))}
.hxStrap{position:relative;flex:1;min-height:40px;width:clamp(26px,calc(var(--ch) * .07),38px);overflow:hidden;box-shadow:0 0 18px rgba(0,0,0,.35);
  background:linear-gradient(90deg,color-mix(in oklab,var(--accent) 62%,black) 0,var(--accent) 16%,var(--accent-hi) 50%,var(--accent) 84%,color-mix(in oklab,var(--accent) 62%,black) 100%)}
.hxStrap::before{content:'';position:absolute;inset:0 3px;border-left:1px dashed color-mix(in srgb,var(--ink) 40%,transparent);border-right:1px dashed color-mix(in srgb,var(--ink) 40%,transparent)}
.hxStrap span{position:absolute;bottom:6px;left:50%;translate:-50% 0;writing-mode:vertical-rl;transform:rotate(180deg);white-space:nowrap;line-height:1;font-family:'Big Shoulders Display',sans-serif;font-weight:800;font-size:clamp(12px,calc(var(--ch) * .032),16px);letter-spacing:.14em;text-transform:uppercase;color:var(--ink)}
.hxClasp{position:relative;z-index:2;flex:none;width:clamp(36px,calc(var(--ch) * .1),54px);margin:-2px 0 calc(var(--ch) * -.05);filter:drop-shadow(0 4px 4px rgba(0,0,0,.45))}

.hxCard{all:unset;position:relative;z-index:1;display:block;flex:none;width:var(--cw);height:var(--ch);cursor:grab;pointer-events:auto;perspective:1400px;touch-action:pan-y;-webkit-tap-highlight-color:transparent}
.hxCard.drag{cursor:grabbing}
.hxCard:focus-visible{outline:2px solid var(--accent);outline-offset:calc(var(--ch) * .03);border-radius:calc(var(--ch) * .05)}
.hxSleeve{position:absolute;inset:0;display:block;transform-style:preserve-3d;transform:rotateY(var(--tw,0deg))}
.hxSlot{position:absolute;z-index:3;top:calc(var(--ch) * .022);left:50%;width:calc(var(--ch) * .15);height:calc(var(--ch) * .026);transform:translateX(-50%) translateZ(2px);border-radius:99px;background:var(--bg);box-shadow:inset 0 2px 3px rgba(0,0,0,.6)}
.hxFlip{position:absolute;inset:0;display:block;transform-style:preserve-3d;transition:transform 1s cubic-bezier(.3,1.3,.5,1)}
.hxCard.flipped .hxFlip{transform:rotateY(180deg)}
.hxFace{position:absolute;inset:0;box-sizing:border-box;display:flex;flex-direction:column;overflow:hidden;border-radius:calc(var(--ch) * .035);backface-visibility:hidden;-webkit-backface-visibility:hidden;text-align:left;
  box-shadow:0 0 0 calc(var(--ch) * .014) rgba(244,242,234,.16),0 0 0 calc(var(--ch) * .014 + 1px) rgba(244,242,234,.4),0 34px 60px rgba(0,0,0,.55)}
.hxFace::after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(115deg,transparent 34%,rgba(255,255,255,.34) 44%,rgba(255,255,255,.08) 50%,transparent 58%);background-size:260% 100%;background-position:var(--gl,50%) 0}

/* front */
.hxFront{background:var(--paper);color:var(--ink);padding-bottom:calc(var(--ch) * .03)}
.hxBand{flex:none;display:flex;align-items:flex-end;justify-content:space-between;height:calc(var(--ch) * .135);box-sizing:border-box;padding:0 calc(var(--ch) * .035) calc(var(--ch) * .018);background:var(--accent)}
.hxAll{font-family:'Big Shoulders Display',sans-serif;font-weight:900;font-size:calc(var(--ch) * .064);line-height:.85;text-transform:uppercase;letter-spacing:.01em}
.hxNo{font-family:'JetBrains Mono',ui-monospace,monospace;font-weight:600;font-size:calc(var(--ch) * .019);line-height:1.25;text-align:right;text-transform:uppercase}
.hxPhoto{position:relative;flex:none;align-self:center;width:calc(var(--ch) * .36);height:calc(var(--ch) * .44);margin-top:calc(var(--ch) * .03);border-radius:calc(var(--ch) * .018);overflow:hidden;background:#F8E3A6;box-shadow:0 0 0 3px var(--paper),0 0 0 4px var(--paper-line)}
/* crop of the 500x550 portrait: head and shoulders, leaving out the baked-in "15+ years" text */
.hxPhoto img{position:absolute;width:294%;max-width:none;height:auto;left:-95.6%;top:-10.6%}
.hxHolo{position:absolute;right:calc(var(--ch) * .012);bottom:calc(var(--ch) * .012);width:calc(var(--ch) * .085);height:calc(var(--ch) * .085);border-radius:50%;display:flex;align-items:center;justify-content:center;
  background:conic-gradient(from 0deg,var(--accent),#9FF0D0,var(--paper),#E8F59A,var(--accent));box-shadow:0 0 0 2px rgba(255,255,255,.7),0 3px 8px rgba(0,0,0,.3);transform:rotate(calc(var(--sw,0deg) * 8))}
.hxHolo span{font-family:'Big Shoulders Display',sans-serif;font-weight:900;font-size:calc(var(--ch) * .03);color:var(--ink);transform:rotate(calc(var(--sw,0deg) * -8))}
.hxName{margin-top:calc(var(--ch) * .03);white-space:nowrap;text-align:center;font-family:'Big Shoulders Display',sans-serif;font-weight:900;font-size:calc(var(--ch) * .072);line-height:.9;letter-spacing:.01em;text-transform:uppercase}
.hxName span{background:linear-gradient(transparent 58%,var(--accent) 58% 94%,transparent 94%);padding:0 .06em}
.hxRoles{display:flex;flex-direction:column;align-items:center;gap:calc(var(--ch) * .005);margin-top:calc(var(--ch) * .018);font-size:calc(var(--ch) * .025);line-height:1.25;text-align:center;color:var(--ink-muted)}
.hxRoles b{color:var(--ink);font-weight:700}
.hxZones{display:flex;justify-content:center;gap:calc(var(--ch) * .01);margin-top:calc(var(--ch) * .024)}
.hxZones span{display:flex;align-items:center;gap:calc(var(--ch) * .008);padding:calc(var(--ch) * .006) calc(var(--ch) * .014);border:1.5px solid var(--ink);border-radius:99px;font-family:'JetBrains Mono',ui-monospace,monospace;font-weight:600;font-size:calc(var(--ch) * .017);letter-spacing:.08em;text-transform:uppercase}
.hxZones span:first-child{background:var(--ink);color:var(--accent)}
.hxFoot{position:relative;margin-top:auto;display:flex;align-items:flex-end;justify-content:space-between;height:calc(var(--ch) * .075);padding:0 calc(var(--ch) * .035)}
.hxBar{width:calc(var(--ch) * .24);height:calc(var(--ch) * .052);background:repeating-linear-gradient(90deg,var(--ink) 0 2px,transparent 2px 4px,var(--ink) 4px 7px,transparent 7px 8px,var(--ink) 8px 9px,transparent 9px 12px,var(--ink) 12px 13px,transparent 13px 16px,var(--ink) 16px 19px,transparent 19px 20px)}
.hxSig{white-space:nowrap;font-family:'Ms Madi',cursive;font-size:calc(var(--ch) * .072);line-height:1;color:#1F3F8A;padding-right:.15em;margin-bottom:calc(var(--ch) * -.012);transform:rotate(-8deg);transform-origin:100% 100%;animation:hxWipe 1.6s ease-in-out 1.6s both}

/* back */
.hxBack{transform:rotateY(180deg);background:var(--surface);color:var(--paper);gap:calc(var(--ch) * .028);padding:0 calc(var(--ch) * .04) calc(var(--ch) * .035)}
.hxStripe{flex:none;height:calc(var(--ch) * .08);margin:calc(var(--ch) * .075) calc(var(--ch) * -.04) 0;background:linear-gradient(#0a0f0d,#1f2925 50%,#0a0f0d)}
.hxLevel{display:flex;flex-direction:column;gap:calc(var(--ch) * .006)}
.hxLevel span,.hxSeen span{font-family:'JetBrains Mono',ui-monospace,monospace;font-weight:400;font-size:calc(var(--ch) * .02);letter-spacing:.16em;text-transform:uppercase;color:var(--muted)}
.hxLevel b{font-family:'Big Shoulders Display',sans-serif;font-weight:900;font-size:calc(var(--ch) * .08);line-height:.9;text-transform:uppercase;color:var(--accent)}
.hxStats{display:grid;grid-template-columns:1fr 1fr;gap:1px;overflow:hidden;border-radius:calc(var(--ch) * .02);background:var(--line-3);border:1px solid var(--line-3)}
.hxStats>span{display:flex;flex-direction:column;padding:calc(var(--ch) * .016) calc(var(--ch) * .022);background:var(--surface);font-size:calc(var(--ch) * .019);letter-spacing:.12em;text-transform:uppercase;color:var(--soft)}
.hxStats b{font-family:'Big Shoulders Display',sans-serif;font-weight:900;font-size:calc(var(--ch) * .072);line-height:.95;letter-spacing:0;color:var(--paper)}
.hxSeen{display:flex;flex-direction:column;gap:calc(var(--ch) * .006);font-family:'Big Shoulders Display',sans-serif;font-weight:800;font-size:calc(var(--ch) * .036);line-height:1.1;text-transform:uppercase}
.hxIso{position:absolute;right:calc(var(--ch) * .04);bottom:calc(var(--ch) * .035);width:calc(var(--ch) * .12);height:calc(var(--ch) * .12);border-radius:50%;display:flex;align-items:center;justify-content:center;text-align:center;border:2px solid var(--accent);box-shadow:inset 0 0 0 3px var(--surface),inset 0 0 0 4px var(--accent);color:var(--accent);font-family:'Big Shoulders Display',sans-serif;font-weight:900;font-size:calc(var(--ch) * .026);line-height:.95;transform:rotate(-14deg)}
.hxReturn{margin-top:auto;max-width:64%;font-size:calc(var(--ch) * .019);line-height:1.35;color:var(--muted)}

/* handwritten hint beside the pass */
.hxHint{position:absolute;right:calc(100% + 44px);bottom:calc(var(--ch) * .5);display:flex;flex-direction:column;align-items:flex-end;font-family:'Google Sans',system-ui,sans-serif;font-weight:600;font-size:18.7px;line-height:.95;text-align:right;color:var(--accent);pointer-events:none}
.hxHint svg{order:2;width:64px;height:40px;margin:4px -8px 0 0;fill:none;stroke:var(--accent);stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
@media (max-width:1279px){.hxHint{display:none}}

.hxMq{position:relative;z-index:5;flex:none;height:var(--mqh);box-sizing:border-box;display:flex;align-items:center;overflow:hidden;background:var(--bg);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.hxMq .mq{display:flex;width:max-content;gap:40px;font-family:'Big Shoulders Display',sans-serif;font-weight:800;font-size:34px;letter-spacing:.02em;text-transform:uppercase;white-space:nowrap}
.hxSl{color:var(--accent)}

/* tablets & phones: copy first, then the pass hangs below it */
@media (max-width:1000px){
  .hx{--ch:min(440px,116vw);--rr:0px}
  .hxMain{padding-top:20px;padding-bottom:12px}
  .hxCopy{max-width:none}
  .hxTitle{font-size:clamp(48px,14vw,96px)}
  .hxRigWrap{position:relative;bottom:auto}
  .hxRig{position:relative;right:auto;margin:0 auto;height:calc(var(--ch) + 160px)}
  
  .hxSwing{padding-top:10px}
  .hxSwing::before{content:'';position:absolute;top:0;left:50%;width:22px;height:22px;margin-left:-11px;border-radius:50%;z-index:2;
    background:radial-gradient(circle at 35% 30%,#f4f7f5,#9aa6a0 55%,#5d6a64);box-shadow:0 3px 6px rgba(0,0,0,.5)}
  .hxSwing{position:relative}
}
@media (max-width:760px){
  .hxHead{flex-wrap:wrap;row-gap:6px}
  .hxHeadL{display:contents}
  .hxLogo{order:1}.hxCta{order:2}
  .hxNav{order:3;width:100%;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;gap:20px;margin:0 -4px;padding:0 4px}
  .hxNav .nl{white-space:nowrap}
}
@media (prefers-reduced-motion: reduce){
  .hxDrop,.hxLine>span,.hxLede,.hxSig{animation:none}
  .hxFlip{transition:none}
}

/* ---------- Playbook: coach's clipboard (driven by main.js §5) ---------- */
.pb{overflow:hidden;--ease:cubic-bezier(.2,.7,.2,1);--spring:cubic-bezier(.34,1.5,.5,1);--flip:cubic-bezier(.65,.02,.25,1)}
.pbHead{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:28px}

/* the board */
.pbDesk{position:relative;padding-top:30px}

/* index tabs */

.pbTab{position:relative;display:flex;align-items:center;gap:10px;min-width:150px;padding:16px 20px 18px 16px;border:0;border-radius:0 16px 16px 0;background:var(--paper-3);color:var(--ink);cursor:pointer;font-family:'Big Shoulders Display',sans-serif;font-weight:800;font-size:22px;text-transform:uppercase;text-align:left;box-shadow:inset 6px 0 8px -4px rgba(15,36,29,.35);transform:translateX(-10px);transition:transform .45s var(--spring),background .3s,color .3s}
.pbTab b{font-family:'JetBrains Mono',ui-monospace,monospace;font-weight:600;font-size:12px;opacity:.7}
.pbTab:hover{transform:translateX(0);background:var(--paper-line)}
.pbTab.on{background:var(--accent);transform:translateX(8px);box-shadow:inset 6px 0 8px -4px rgba(15,36,29,.35),0 6px 0 var(--ink)}
.pbTab:focus-visible{outline:3px solid var(--ink);outline-offset:3px}
.pbBar{position:absolute;left:16px;right:20px;bottom:7px;height:3px;border-radius:3px;background:rgba(15,36,29,.14);overflow:hidden;visibility:hidden}
.pbBar i{display:block;height:100%;background:var(--ink);transform:scaleX(0);transform-origin:0 50%}
.pbTab.on .pbBar{visibility:visible}
.pb.auto .pbTab.on .pbBar i{animation:pbFill var(--pbdur,8s) linear forwards}
.pb.paused .pbTab.on .pbBar i{animation-play-state:paused}
@keyframes pbFill{to{transform:scaleX(1)}}

/* the sheets: a real stack — the top one flips up over the clip */

.pbSheet{--d:var(--n);grid-area:1/1;position:relative;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);grid-template-rows:auto 1fr;gap:18px clamp(20px,2.6vw,36px);padding:26px clamp(18px,2.4vw,32px) 30px;border-radius:10px;
  background-color:#FBFAF4;background-image:linear-gradient(transparent 31px,rgba(15,36,29,.05) 32px);background-size:100% 32px;
  color:var(--ink);transform-origin:50% -46px;z-index:calc(20 - var(--d));
  transform:translateY(calc(var(--d) * 6px)) rotate(calc(var(--d) * .7deg));
  box-shadow:0 1px 0 rgba(15,36,29,.06),0 3px 10px rgba(15,36,29,.22);
  transition:transform .95s var(--flip);backface-visibility:hidden;-webkit-backface-visibility:hidden}
.pbSheet.past{transform:rotateX(-176deg) translateY(4px);z-index:30;pointer-events:none}

.pbSheet:not(.on){visibility:visible}

/* chalk pitch */

.pbChalk{filter:url(#pbChalk)}

@keyframes pbDraw{to{stroke-dashoffset:0}}

@keyframes pbPop{to{transform:scale(1)}}

@keyframes pbRip{from{transform:scale(.3);stroke-opacity:.8}to{transform:scale(1.7);stroke-opacity:0}}

/* coach's notes */

@media (max-width: 1080px){
  
  
  
  .pbTab{flex:none;min-width:0;border-radius:14px;transform:none;padding:12px 16px 16px;font-size:19px;box-shadow:none}
  .pbTab:hover{transform:none}
  .pbTab.on{transform:translateY(-3px);box-shadow:0 4px 0 var(--ink)}
}
@media (max-width: 760px){
  .pbSheet{grid-template-columns:1fr}
  
  
}
@media (prefers-reduced-motion: reduce){
  
  
  .pbSheet{transition:none}
  
  
  
  
}

/* ---------- Principles: "four of a kind" — a dealt, fanned hand (main.js §6) ---------- */
.hand{position:relative;height:580px;margin-bottom:16px;perspective:1600px;--sp:min(400px,31vw);--spring:cubic-bezier(.34,1.4,.5,1)}

.pc{--bx:0px;--by:150px;--br:0deg;--lift:0px;--rot:1;--sc:1;
  position:absolute;left:50%;bottom:24px;width:280px;height:430px;margin-left:-140px;z-index:calc(var(--i) + 1);outline:none;cursor:default;
  transform:translate(calc(var(--bx) + var(--i) * 3px), calc(var(--by) + var(--lift) - var(--i) * 3px)) rotate(calc(var(--br) * var(--rot))) scale(var(--sc));
  transform-origin:50% 110%;transition:transform .9s var(--spring),filter .4s;transition-delay:calc(var(--i) * .13s)}
.hand.dealt .pc:nth-of-type(1){--bx:calc(var(--sp) * -1);--by:36px;--br:-9deg}
.hand.dealt .pc:nth-of-type(2){--bx:calc(var(--sp) / -3);--by:4px;--br:-3deg}
.hand.dealt .pc:nth-of-type(3){--bx:calc(var(--sp) / 3);--by:4px;--br:3deg}
.hand.dealt .pc:nth-of-type(4){--bx:var(--sp);--by:36px;--br:9deg}
.hand.settled .pc{transition-delay:0s}
.hand.settled .pc:hover,.hand.settled .pc:focus-visible{--lift:-56px;--rot:0;--sc:1.06;z-index:10}
.hand.settled:has(.pc:hover) .pc:not(:hover){filter:brightness(.62) saturate(.8)}

@keyframes pcTip{0%,100%{transform:rotate(-7deg)}50%{transform:rotate(7deg)}}

.pc h3{margin:0 0 10px;padding:0 6px;font-family:'Big Shoulders Display',sans-serif;font-weight:900;font-size:min(32px,calc(var(--ch,430px) * .068));line-height:.92;text-transform:uppercase;text-align:center;overflow-wrap:break-word}
.pc p{margin:0;padding:0 8px;font-size:14.5px;line-height:1.5;text-align:center;color:var(--ink-muted)}

@keyframes pcStamp{to{transform:scale(1) rotate(12deg)}}

@media (max-width: 1000px){
  .hand{height:auto;display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;padding:12px 4px 36px;scrollbar-width:none;perspective:none}
  .hand::-webkit-scrollbar{display:none}
  
  .pc,.hand.dealt .pc:nth-of-type(n){position:relative;left:auto;bottom:auto;margin:0;flex:none;width:262px;height:420px;scroll-snap-align:center;transform:rotate(calc((var(--i) - 1.5) * 1.4deg));transition:transform .5s var(--spring)}
}
@media (prefers-reduced-motion: reduce){
  .pc,.pcIn,.pcArt svg *{transition:none}
  
  
}

/* ---------- Scoreboard + Stage (main.js §7) ---------- */

/* the two panels */
.stg{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.stOn,.stOff{position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;justify-content:flex-end;height:clamp(420px,56vh,600px);border-radius:28px;text-decoration:none;transition:transform .5s cubic-bezier(.2,.7,.2,1),box-shadow .5s}
.stOn:hover,.stOff:hover{transform:translateY(-6px)}

.stH{margin:0;font-family:'Big Shoulders Display',sans-serif;font-weight:900;text-transform:uppercase;font-size:clamp(46px,7.4vh,84px);line-height:.85}
.stBody{position:relative;z-index:4;display:flex;flex-direction:column;gap:12px}
.stBody p{margin:0;max-width:520px;font-size:16px;line-height:1.5}

/* ON STAGE */
.stOn{--lx:50%;color:var(--paper);background:radial-gradient(120% 70% at 50% 0%,#14302A,#0A1712 70%);box-shadow:inset 0 0 0 1px var(--line),0 30px 60px -30px rgba(0,0,0,.8)}
.stOn:hover{box-shadow:inset 0 0 0 1px var(--accent),0 40px 70px -30px rgba(0,0,0,.85)}

.stSpot{position:absolute;z-index:1;top:0;left:var(--lx);width:min(560px,90%);height:100%;transform:translateX(-50%);pointer-events:none;transition:left .35s ease-out;
  background:linear-gradient(180deg,rgba(236,255,190,.24),rgba(198,243,94,.06) 70%,transparent);clip-path:polygon(44% 0,56% 0,100% 100%,0 100%);filter:blur(6px)}
.stSpot::after{content:"";position:absolute;left:10%;right:10%;bottom:3%;height:16%;border-radius:50%;background:radial-gradient(closest-side,rgba(198,243,94,.3),transparent)}

/* OFF STAGE */
.stOff{color:var(--ink);padding:28px clamp(24px,3vw,40px) 28px;background-color:var(--paper);
  background-image:linear-gradient(rgba(15,36,29,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(15,36,29,.06) 1px,transparent 1px);background-size:26px 26px;
  box-shadow:inset 0 0 0 1px var(--paper-line),0 30px 60px -30px rgba(0,0,0,.8)}
.stOff:hover{box-shadow:inset 0 0 0 2px var(--ink),0 40px 70px -30px rgba(0,0,0,.85)}
.stOff .stBody p{color:var(--ink-muted)}
.stH.dark{color:var(--ink)}
.stHl{display:inline-block;padding:0 .08em;background:var(--accent);transform:rotate(-2deg);box-shadow:4px 4px 0 var(--ink)}
.stRing{position:absolute;z-index:0;top:-26px;right:90px;width:150px;height:150px;border-radius:99px;border:9px solid rgba(110,80,40,.09);box-shadow:inset 0 0 0 3px rgba(110,80,40,.05)}
.stDesk{position:relative;flex:1;min-height:0}

.stSticky{position:absolute;top:10%;right:4%;width:clamp(140px,13vw,170px);padding:18px 16px 22px;background:var(--accent);font-family:'Google Sans',system-ui,sans-serif;font-weight:600;font-size:19.5px;line-height:1.05;color:var(--ink);
  transform:rotate(6deg);box-shadow:0 18px 22px -12px rgba(15,36,29,.6);clip-path:polygon(0 0,100% 0,100% 88%,88% 100%,0 100%);transition:transform .6s cubic-bezier(.34,1.4,.5,1)}
.stSticky b{display:block;margin-top:6px;font-weight:700;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:3px}

.stOff:hover .stSticky{transform:rotate(-2deg) translateY(-6px)}
/* On Stage: same paper desk as Off Stage (white graph paper), with stage props */
.stOn{color:var(--ink);padding:28px clamp(24px,3vw,40px);background-color:var(--paper);
  background-image:linear-gradient(rgba(15,36,29,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(15,36,29,.06) 1px,transparent 1px);background-size:26px 26px;
  box-shadow:inset 0 0 0 1px var(--paper-line),0 30px 60px -30px rgba(0,0,0,.8)}
.stOn:hover{box-shadow:inset 0 0 0 2px var(--ink),0 40px 70px -30px rgba(0,0,0,.85)}
.stOn .stSpot{display:none}
.stOn .stBody p{color:var(--ink-muted)}

@media (max-width: 1000px){
  
  
  .stg{grid-template-columns:1fr}
  .stOn,.stOff{height:auto;min-height:520px}
  
  .stDesk{min-height:260px}
}
@media (max-width: 520px){
  
  
  
  .stSticky{width:130px;font-size:16.4px}
  
}
@media (prefers-reduced-motion: reduce){
  
  .stCurt,.stSpot,.stPolaroid,.stSticky,.stTickets li,.stGo{transition:none}
}

/* ---------- One screen per section (desktop) ----------
   Every section is sized against the viewport height so it is seen whole on a
   laptop/desktop screen (checked at 1440x900 and 1920x1080). Phones scroll normally. */
@media (min-width: 1001px){
  #principles{padding-top:clamp(44px,7vh,104px) !important;padding-bottom:clamp(44px,7vh,104px) !important}
  #principles>div{gap:clamp(14px,2.4vh,36px) !important}
  #principles h2{font-size:clamp(40px,min(4.6vw,7.4vh),72px) !important}
  .hand{--ch:clamp(350px,45vh,430px);height:calc(var(--ch) + 130px)}
  .pc{height:var(--ch);width:calc(var(--ch) * .66);margin-left:calc(var(--ch) * -.33)}
  

  #playbook{padding-top:clamp(44px,6vh,112px) !important;padding-bottom:clamp(44px,6vh,112px) !important}
  #playbook>div{gap:clamp(16px,2.6vh,48px) !important}
  
  
  .pbDesk{padding-top:24px}
  
  
  .pbSheet{padding-top:14px;padding-bottom:20px;row-gap:14px}
  
  
  
  
  

  #global{padding-top:clamp(44px,6vh,100px) !important;padding-bottom:clamp(36px,5vh,90px) !important}
  #global>div:first-child{gap:clamp(10px,1.8vh,22px) !important}
  #global h2{font-size:clamp(36px,min(4.6vw,7vh),72px) !important}
  #global .mapStage{height:clamp(300px,43vh,470px) !important;margin-top:clamp(40px,7vh,80px)}  /* room for the standing pins above the map, clear of the intro text */
  #global .mapFit{margin-top:50px !important}

  #contact{padding-top:clamp(48px,6vh,100px) !important}
  #contact>div{gap:clamp(22px,3.6vh,80px) !important}
  #contact h2{font-size:clamp(40px,min(7vw,9.5vh),112px) !important}
  #contact>div[aria-hidden]{font-size:clamp(56px,min(11vw,14vh),168px) !important}
}
@media (min-width: 1001px) and (max-height: 960px){
  #global .mapFit{transform:scale(.66);margin-top:10px !important}
}
@media (min-width: 1001px) and (max-height: 800px){
  #global .mapFit{transform:scale(.56);margin-top:26px !important}
  #global .mapStage{height:clamp(276px,40vh,326px) !important}
}
/* photo frames hold their own image */

/* Global: industries strip sits below the map, never on it */
.gInd{position:relative;z-index:2;display:flex;flex-direction:column;gap:14px;margin-top:clamp(18px,3vh,40px)}
.gIndLbl{display:flex;align-items:center;gap:16px;max-width:1360px;width:100%;margin:0 auto;padding:0 clamp(20px,4vw,48px);box-sizing:border-box;font-size:13px;font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:var(--accent)}
.gIndLbl::before,.gIndLbl::after{content:"";flex:1;height:1px;background:var(--line-2)}

/* In the Room: graph paper, sticky note on the heading, terminal window with keycap chips */
.irPaper{background-color:var(--paper)!important;background-image:linear-gradient(rgba(15,36,29,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(15,36,29,.06) 1px,transparent 1px)!important;background-size:26px 26px!important;background-position:center center!important}
.irHead{position:relative}
.irStk{position:absolute;top:4%;left:100%;margin-left:22px;width:132px;padding:12px 12px 16px;background:var(--accent);color:var(--ink);font-family:'Google Sans',system-ui,sans-serif;font-weight:600;font-size:19.5px;line-height:1;text-align:left;letter-spacing:0;text-transform:none;transform:rotate(7deg);box-shadow:0 16px 20px -12px rgba(15,36,29,.6);clip-path:polygon(0 0,100% 0,100% 86%,86% 100%,0 100%)}

@media (max-width: 760px){.irStk{display:none}}

/* Section labels: embossed label-maker tape (replaces the dot + spaced-caps eyebrow) */
.lbl{display:flex;width:fit-content;max-width:100%;margin:0;transform:rotate(-1.4deg);transform-origin:0 50%;filter:drop-shadow(0 5px 6px rgba(0,0,0,.3))}
.lblT{--cut:9px;display:inline-flex;align-items:center;gap:12px;padding:9px 22px 8px;font-family:'JetBrains Mono',ui-monospace,monospace;font-size:13px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;line-height:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;
  clip-path:polygon(0 0,100% 0,calc(100% - var(--cut)) 50%,100% 100%,0 100%,var(--cut) 50%);
  background-image:repeating-linear-gradient(90deg,rgba(255,255,255,.06) 0 1px,transparent 1px 3px),linear-gradient(180deg,rgba(255,255,255,.18),transparent 45%,rgba(0,0,0,.12))}
.lblT b{font-weight:800;padding-right:12px;border-right:2px dotted currentColor}
.lblD .lblT{background-color:var(--accent);color:var(--ink);text-shadow:0 1px 0 rgba(255,255,255,.55),0 -1px 0 rgba(15,36,29,.25)}
.lblP .lblT{background-color:var(--bg);color:#EEECE4;text-shadow:0 1px 0 rgba(0,0,0,.7),0 -1px 0 rgba(255,255,255,.14)}
.mbIntro .lbl,.mbArrive .lbl,.irPaper .lbl{transform:rotate(-1.4deg);transform-origin:50% 50%}
@keyframes lblPrint{from{clip-path:polygon(0 0,0 0,0 50%,0 100%,0 100%,0 50%)}to{clip-path:polygon(0 0,100% 0,calc(100% - var(--cut)) 50%,100% 100%,0 100%,var(--cut) 50%)}}
@supports (animation-timeline: view()){
  .lbl:not(.lblStatic):not(.hxEyebrow) .lblT{animation:lblPrint linear both;animation-timeline:view();animation-range:entry 20% cover 30%}
}
.hxEyebrow .lblT{animation:lblPrint .7s cubic-bezier(.6,0,.2,1) .3s both}
@media (prefers-reduced-motion: reduce){.lbl .lblT,.hxEyebrow .lblT{animation:none!important}}
@media (max-width: 420px){.lblLong{display:none}.lblT{letter-spacing:.1em;padding:9px 18px 8px}}

/* ===== Footer: marker note, typed terminal, tear-off line, keycap name ===== */
.ftHead{position:relative}
.ftMark{position:relative;display:inline-block}
.ftMark svg{position:absolute;left:-2%;bottom:-.1em;width:104%;height:.2em;overflow:visible}
.ftMark path{fill:none;stroke:var(--paper);stroke-width:5;stroke-linecap:round;vector-effect:non-scaling-stroke;stroke-dasharray:1;stroke-dashoffset:0}
.ftNote{position:absolute;right:150px;bottom:-4px;margin:0;font-family:'Google Sans',system-ui,sans-serif;font-weight:600;font-size:23.4px;line-height:1;color:var(--accent)}
.ftNote svg{position:absolute;left:96%;top:10px;width:96px;height:72px;overflow:visible}
.ftNote path{stroke:var(--accent);stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1;stroke-dashoffset:0}
@media (max-width: 1100px){.ftNote{display:none}}
.ftArm .ftMark path,.ftArm .ftNote path{stroke-dashoffset:1}
.ftArm.ftOn .ftMark path{transition:stroke-dashoffset .9s cubic-bezier(.6,0,.2,1) .3s;stroke-dashoffset:0}
.ftArm.ftOn .ftNote path{transition:stroke-dashoffset .8s cubic-bezier(.6,0,.2,1) 1.4s;stroke-dashoffset:0}
.ftArm.ftOn .ftNote path+path{transition-delay:2.1s;transition-duration:.3s}
.ftArm .ftNote{clip-path:inset(-20px 100% -40px -20px)}
.ftArm.ftOn .ftNote{clip-path:inset(-20px -140px -40px -20px);transition:clip-path .7s steps(14,end) .7s}
/* terminal: typed on arrival (time based, so it always finishes) */
.ftArm .ftTerm .tl{animation:none;clip-path:inset(0 100% 0 0)}
.ftArm.ftOn .ftTerm .tl{animation:typeIn .5s steps(26,end) both;animation-timeline:auto;animation-delay:calc(var(--i, 0) * .45s + .4s)}
/* tear-off line with scissors */
.ftTear{position:relative}

/* ===== Navbar: split-flap board track with a sliding knob, plus a floating dock ===== */
.hxLogo{position:relative;overflow:hidden;width:50px;height:50px;border:0;border-radius:12px;background:linear-gradient(180deg,#D8FA8C 0 49.4%,#0F241D 49.4% 50.6%,#C6F35E 50.6%);color:var(--ink);font-size:22px;box-shadow:0 4px 0 var(--accent-deep),0 10px 18px -6px rgba(0,0,0,.6);transition:transform .15s,box-shadow .15s}
.hxLogo span{position:relative;z-index:1}
.hxLogo::before,.hxLogo::after{content:"";position:absolute;top:50%;width:5px;height:9px;margin-top:-4.5px;border-radius:2px;background:#0F241D}
.hxLogo::before{left:-2px}.hxLogo::after{right:-2px}
.hxLogo:hover{transform:translateY(2px);box-shadow:0 2px 0 var(--accent-deep),0 6px 10px -4px rgba(0,0,0,.6)}
.navTrack{position:relative;display:flex;align-items:center;gap:2px;padding:5px;border-radius:999px;background:linear-gradient(#08130F,#0B1A15);box-shadow:inset 0 2px 4px rgba(0,0,0,.7),inset 0 0 0 1px rgba(255,255,255,.04),0 1px 0 rgba(255,255,255,.07)}
.navTrack .nl{position:relative;z-index:1;padding:10px 15px 9px;border-radius:999px;font-family:'JetBrains Mono',ui-monospace,monospace;font-size:12.5px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:#C9D6CF;white-space:nowrap;transition:color .2s}
.navTrack .nl:hover{color:var(--accent)}
.navTrack .nl.on,.navTrack .nl.on:hover{color:var(--ink)}
.navTrack .nl:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.navKnob{position:absolute;z-index:0;top:5px;bottom:5px;left:0;width:0;border-radius:999px;background:linear-gradient(180deg,#D8FA8C,#C6F35E);box-shadow:0 2px 0 var(--accent-deep),inset 0 1px 0 rgba(255,255,255,.5),0 6px 12px -4px rgba(198,243,94,.45);
  transition:transform .45s cubic-bezier(.34,1.35,.5,1),width .45s cubic-bezier(.34,1.35,.5,1)}
.navKnob::after{content:"";position:absolute;left:50%;bottom:4px;width:14px;height:2px;margin-left:-7px;border-radius:2px;background:rgba(15,36,29,.35)}
.navTrack:not(.has) .navKnob{width:0 !important}
.hxCta{box-shadow:0 4px 0 var(--accent-deep),0 10px 18px -6px rgba(0,0,0,.6);transition:transform .15s,box-shadow .15s}
.hxCta:hover{transform:translateY(2px);box-shadow:0 2px 0 var(--accent-deep),0 6px 10px -4px rgba(0,0,0,.6)}
.hxCta svg{transition:transform .25s}
.hxCta:hover svg{transform:translate(2px,-2px)}
/* floating dock (cloned by JS), slides down once the hero header is gone */
.dock{position:fixed;z-index:90;top:12px;left:50%;display:flex;align-items:center;gap:10px;padding:6px;border-radius:999px;background:rgba(14,32,26,.9);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
  box-shadow:0 0 0 1px var(--line-2),0 18px 40px -12px rgba(0,0,0,.7);transform:translate(-50%,-160%);transition:transform .5s cubic-bezier(.5,0,.2,1);max-width:calc(100vw - 24px);box-sizing:border-box}
.dock.show{transform:translate(-50%,0);transition:transform .55s cubic-bezier(.34,1.3,.5,1)}
.dock .hxLogo{width:42px;height:42px;font-size:19px;border-radius:999px;box-shadow:none}
.dock .hxLogo::before,.dock .hxLogo::after{display:none}
.dock .hxCta{min-height:42px;padding:0 18px;font-size:14px;box-shadow:none}
.dock .hxCta:hover{box-shadow:none}
@media (max-width: 760px){
  .navTrack{max-width:100%;overflow-x:auto;scrollbar-width:none}
  .navTrack::-webkit-scrollbar{display:none}
  .hxNav.navTrack{margin:0;padding:5px}
  .dock{left:12px;right:12px;transform:translateY(-160%)}
  .dock.show{transform:none}
  .dock .hxCta{display:none}
  .dock .navTrack{flex:1;min-width:0}
}
@media (prefers-reduced-motion: reduce){.navKnob,.dock,.dock.show,.hxLogo,.hxCta{transition:none}}

/* ===== Cursor: camera focus brackets that frame what you point at ===== */
/* (old JS cursor removed) */
.cur{position:fixed;z-index:9999;left:0;top:0;width:0;height:0;pointer-events:none}

.cur.hide{visibility:hidden}

/* ===== Footer sign-off: handwritten signature written on, over a sign line ===== */
.ftSign{position:relative;max-width:1360px;margin:clamp(8px,2vw,24px) auto 0;padding:0 0 clamp(36px,5vw,64px);text-align:center}
.ftSig{display:inline-block;padding:.12em .3em .06em;font-family:'Mrs Saint Delafield',cursive;font-weight:400;font-size:clamp(84px,13vw,210px);line-height:1;color:var(--accent);white-space:nowrap;text-shadow:0 .02em 0 var(--accent-deep),0 .06em .14em rgba(0,0,0,.35)}
.ftLine{position:relative;display:flex;align-items:center;gap:14px;width:min(760px,90%);margin:-.1em auto 0;padding-top:12px;border-top:1.5px solid var(--line-3);font-family:'JetBrains Mono',ui-monospace,monospace;font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--muted)}
.ftLine b{position:absolute;left:0;top:-30px;font-family:'Inter Tight',sans-serif;font-weight:500;font-size:22px;color:var(--muted)}
.ftLine span:last-child{margin-left:auto}
.ftArm .ftSig{clip-path:inset(-10% 100% -20% -2%)}
.ftArm .ftSign.go .ftSig{clip-path:inset(-10% -2% -20% -2%);transition:clip-path 2.2s cubic-bezier(.45,.05,.35,1) .1s}
@media (max-width: 600px){.ftLine{font-size:9px;gap:8px}.ftLine b{font-size:18px;top:-24px}}
.navTrack{flex-wrap:nowrap !important}

/* Section labels in Google Sans (the handwritten font was replaced 2026-11-18), number in a pen-drawn ring, written on left to right */
.lbl,.mbIntro .lbl,.mbArrive .lbl,.irPaper .lbl{transform:rotate(-2deg);filter:none}
.lblT,.lblD .lblT,.lblP .lblT{--cut:0px;gap:10px;padding:2px 6px 6px 2px;clip-path:none;background:none !important;text-shadow:none;
  font-family:'Google Sans',system-ui,sans-serif;font-size:clamp(19.5px,1.6vw,23.4px);font-weight:600;letter-spacing:0;text-transform:none;line-height:1}
.lblT>span:last-child{position:relative}
.lblT>span:last-child::after{content:"";position:absolute;left:-2px;right:-6px;bottom:-5px;height:7px;border-radius:50%;border-bottom:2.5px solid currentColor;opacity:.55;transform:rotate(-1deg)}
.lblT b{display:inline-flex;align-items:center;justify-content:center;width:1.45em;height:1.25em;padding:0;border:2.5px solid currentColor;border-right:2.5px solid currentColor;border-radius:52% 46% 55% 44% / 50% 58% 42% 50%;font-size:.78em;font-weight:700;transform:rotate(-6deg)}
.lblD .lblT{color:var(--accent)}
.lblP .lblT{color:var(--ink)}
@keyframes lblPrint{from{clip-path:inset(-20% 100% -40% -6%)}to{clip-path:inset(-20% -6% -40% -6%)}}
.lblT,.lblD .lblT,.lblP .lblT{overflow:visible}
@media (min-width: 761px){.dock{width:max-content}}

/* ---------- Career tally: notepad strip, taped down, pen tally marks (main.js §7) ---------- */

/* map stays clear of the industries strip even at full tilt */
@media (min-width: 1301px) and (min-height: 961px){#global .mapFit{transform:scale(.7)}}
@media (min-width: 1001px) and (max-height: 960px){#global .mapFit{transform:scale(.58)}}
@media (min-width: 1001px) and (max-height: 800px){#global .mapFit{transform:scale(.48)}}
@media (min-width: 1001px){#global .mapFit{margin-top:12px !important}}
@media (min-width: 1001px) and (max-height: 960px){#global .mapFit{margin-top:-14px !important}}
@media (min-width: 1001px) and (max-height: 800px){#global .mapFit{margin-top:-6px !important}}

/* ===== Hero: parcel shipping label, services stamped on with a rubber stamp ===== */

.hxBar{display:block;width:72px;height:12px;margin-top:4px;background:repeating-linear-gradient(90deg,var(--ink) 0 2px,transparent 2px 3px,var(--ink) 3px 4px,transparent 4px 7px,var(--ink) 7px 10px,transparent 10px 11px)}

@keyframes hxStampIn{0%{transform:translateY(-14px) scale(1.75) rotate(var(--r))}55%{transform:scale(.94) rotate(var(--r))}75%{transform:scale(1.03) rotate(var(--r))}100%{transform:scale(1) rotate(var(--r))}}
@media (max-width: 520px){.hxBar{width:56px}}

/* ===== Hero: "now shipping" LED dot-matrix sign (replaces the paper label) ===== */

.hxLedTx{grid-area:1/1;padding:0 14px;filter:drop-shadow(0 0 3px rgba(198,243,94,.75)) drop-shadow(0 0 10px rgba(198,243,94,.3))}
.hxLedTx span{display:block;font-family:'JetBrains Mono',ui-monospace,monospace;font-weight:600;font-size:24px;line-height:1;letter-spacing:.03em;text-transform:uppercase;white-space:nowrap;color:#E2FF9E;
  -webkit-mask:radial-gradient(circle,#000 1.15px,transparent 1.35px) 0 0/3px 3px;mask:radial-gradient(circle,#000 1.15px,transparent 1.35px) 0 0/3px 3px}
.hxLedTx.in{animation:hxLedIn .6s steps(16,end) both}
.hxLedTx.out{animation:hxLedOut .6s steps(16,end) both}
@keyframes hxLedIn{from{transform:translateX(100%)}to{transform:translateX(0)}}
@keyframes hxLedOut{from{transform:translateX(0)}to{transform:translateX(-100%)}}
@media (max-width: 520px){.hxLedTx span{font-size:19px}}
@media (prefers-reduced-motion: reduce){.hxLedTx.in,.hxLedTx.out{animation:none}}
/* navbar: same type as the rest of the site (Inter Tight) */
.navTrack .nl{font-family:'Inter Tight',system-ui,sans-serif;font-size:15px;font-weight:600;letter-spacing:.01em;text-transform:none;padding:9px 16px 10px}
/* navbar CTA in handwriting */
.hxCta{font-family:'Google Sans',system-ui,sans-serif;font-weight:600;font-size:18.7px;letter-spacing:0;line-height:1}
.dock .hxCta{font-size:17px}

/* ---------- Career stats: poker-chip stacks under the message (main.js §7) ---------- */
.ck{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(16px,3vw,40px);max-width:1120px;margin:0 auto;padding:0 clamp(20px,4vw,48px) clamp(72px,9vh,110px);box-sizing:content-box;color:var(--ink)}

@keyframes ckDrop{0%{transform:translate(var(--dx,0),-170px)}70%{transform:translate(var(--dx,0),3px)}85%{transform:translate(var(--dx,0),-3px)}100%{transform:translate(var(--dx,0),0)}}

@media (max-width: 900px){.ck{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:36px}}

/* principles cards: no grey dimming; the rest of the hand sinks instead */
.hand.settled:has(.pc:hover) .pc:not(:hover){filter:none;--lift:26px}
/* card 2: dark forest face */

.pc:nth-of-type(2) p{color:#B9C9C0}

/* card 3: graph-paper face */

/* On Stage tickets: names in handwriting */

/* On Stage tickets v2: slim tickets, name on the left, "admit one" on a perforated stub; no overlap */

/* laptop lid: embossed apple mark */
.mbApple{width:58px;height:68px;fill:color-mix(in srgb,var(--bg) 18%,transparent);filter:drop-shadow(0 1px 0 rgba(255,255,255,.65))}

/* industries divider label in handwriting */
.gIndLbl span{font-family:'Google Sans',system-ui,sans-serif !important;font-weight:600 !important;font-size:21.8px !important;letter-spacing:0 !important;text-transform:none !important;line-height:1 !important;color:var(--accent);display:inline-block}
.gIndLbl span{font-size:20.3px !important;line-height:.7 !important;margin:-6px 0}

/* ===== Stages gallery: 3D photo cards (main.js §12) ===== */
.gal3d{perspective:1400px}
.g3{transition:border-color .4s !important;transform-origin:50% 0;will-change:transform;box-shadow:0 30px 50px -28px rgba(15,36,29,.6),0 8px 16px -10px rgba(15,36,29,.35)}
.g3:hover{transform:none}
.g3 img{will-change:transform;transform:scale(1.16)}
.g3::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;box-shadow:inset 0 1px 0 rgba(255,255,255,.35),inset 0 0 0 1px rgba(255,255,255,.08)}

/* ===== Logo: AV ligature, the V's last stroke ships out as an arrow ===== */
.hxLogo{background:linear-gradient(180deg,#183A2E,#0F241D) !important;border:1.5px solid var(--line-3) !important;border-radius:14px !important;box-shadow:0 4px 0 #06120E,0 10px 18px -6px rgba(0,0,0,.6) !important;color:var(--accent)}
.hxLogo::before,.hxLogo::after{display:none !important}
.avMark{width:72%;height:72%;fill:none;stroke:var(--accent);stroke-width:4.4;stroke-linecap:round;stroke-linejoin:round;overflow:visible}
.avBar{stroke:var(--paper)}
.avA{stroke-dasharray:1;stroke-dashoffset:0}
.hxLogo:hover .avA{animation:avDraw .7s cubic-bezier(.6,0,.2,1)}
.hxLogo:hover .avTip{animation:avTip .7s cubic-bezier(.6,0,.2,1)}
@keyframes avDraw{0%{stroke-dashoffset:1}100%{stroke-dashoffset:0}}
@keyframes avTip{0%,60%{transform:translate(-4px,6px)}100%{transform:none}}
.dock .hxLogo{border-radius:999px !important}

/* ===== Navbar: logo left, links dead centre, CTA right ===== */
@media (min-width: 761px){
  .hxHead{display:grid;grid-template-columns:1fr auto 1fr;align-items:center}
  .hxHeadL{display:contents}
  .hxHead .hxLogo{justify-self:start}
  .hxHead .hxNav{justify-self:center}
  .hxHead .hxCta{justify-self:end}
}

/* ===== Buttons: ink/accent fill grows from where the cursor enters, arrow loops, magnetic pull ===== */
.fxBtn{position:relative;overflow:hidden;isolation:isolate;transition:color .35s,transform .15s,box-shadow .15s,translate .35s cubic-bezier(.2,.7,.2,1)}
.fxBtn::after{content:"";position:absolute;z-index:-1;left:var(--mx,50%);top:var(--my,50%);width:var(--d,0px);height:var(--d,0px);border-radius:50%;background:var(--fx,#0F241D);transform:translate(-50%,-50%) scale(0);transition:transform .55s cubic-bezier(.2,.7,.2,1);pointer-events:none}
.fxBtn:hover::after,.fxBtn:focus-visible::after{transform:translate(-50%,-50%) scale(1)}
.fxBtn.keyMain,.fxBtn.hxCta{--fx:#0F241D}
.fxBtn.keyMain:hover,.fxBtn.hxCta:hover{color:var(--accent) !important}
.fxBtn.key:not(.keyMain){--fx:var(--accent)}
.fxBtn.key:not(.keyMain):hover{color:var(--ink) !important;border-color:var(--accent)}
.fxBtn svg{position:relative}
.fxBtn:hover svg{animation:fxArrow .55s cubic-bezier(.6,0,.3,1)}
@keyframes fxArrow{0%{transform:none}45%{transform:translate(16px,-16px)}46%{transform:translate(-16px,16px)}100%{transform:none}}
@media (prefers-reduced-motion: reduce){.fxBtn::after{transition:none}.fxBtn:hover svg{animation:none}}

/* ===== Hero: rotating last word ("that ship. / scale. / last. ...") ===== */
.hxRot{display:inline-grid;vertical-align:top}
.hxRotW{grid-area:1/1;white-space:nowrap}
.hxRotW>span{display:inline-block}
.hxRotW.in>span{animation:rotIn .6s cubic-bezier(.2,.9,.25,1.15) both;animation-delay:calc(var(--i) * 45ms)}
.hxRotW.out>span{animation:rotOut .42s cubic-bezier(.6,0,.85,.4) both;animation-delay:calc(var(--i) * 35ms)}
@keyframes rotIn{from{transform:translateY(110%) rotate(8deg)}to{transform:none}}
@keyframes rotOut{from{transform:none}to{transform:translateY(-115%) rotate(-6deg)}}
.avMark{stroke-width:4}
.avA,.avBar{stroke:var(--paper)}
.avV{stroke:var(--accent);stroke-dasharray:1;stroke-dashoffset:0}
.hxLogo:hover .avA{animation:avDraw .6s cubic-bezier(.6,0,.2,1)}
.hxLogo:hover .avV{animation:avDraw .6s cubic-bezier(.6,0,.2,1) .25s backwards}
.hxLogo:hover .avTip{animation:avTip .9s cubic-bezier(.6,0,.2,1)}

/* ===== Rotating word v2: strike-through, tumble out, drop in, width eases ===== */
.hxRot{display:inline-grid;justify-items:start;vertical-align:top;transition:width .55s cubic-bezier(.3,.9,.3,1)}
.hxRotW{position:relative;grid-area:1/1;white-space:nowrap}
.hxRotW>span{display:inline-block;transform-origin:50% 100%}
.hxStrike{position:absolute;left:-3%;top:40%;width:106%;height:.24em;overflow:visible;pointer-events:none}
.hxStrike path{fill:none;stroke:var(--paper);stroke-width:.09em;stroke-linecap:round;stroke-dasharray:1;stroke-dashoffset:1;filter:drop-shadow(0 .03em 0 rgba(0,0,0,.35))}
.hxRotW.strike .hxStrike path{stroke-dashoffset:0;transition:stroke-dashoffset .38s cubic-bezier(.6,0,.3,1)}
.hxRotW.out>span{animation:rotFall .7s cubic-bezier(.55,0,.9,.45) both;animation-delay:calc(var(--i) * 40ms)}
.hxRotW.out .hxStrike{animation:rotFallS .7s cubic-bezier(.55,0,.9,.45) both}
.hxRotW.in>span{animation:rotDrop .7s cubic-bezier(.2,.9,.3,1.25) both;animation-delay:calc(var(--i) * 55ms + .12s)}
@keyframes rotFall{0%{transform:none}100%{transform:translateY(135%) rotate(var(--tw))}}
@keyframes rotFallS{0%{transform:none}100%{transform:translateY(160%) rotate(-4deg)}}
@keyframes rotDrop{0%{transform:translateY(-125%) rotate(calc(var(--tw) * -.4))}100%{transform:none}}
.hxStrike path,.trLine,.ftMark path,.ftNote path{stroke-dasharray:1 2}
/* rotating word: old word clears the line before the new one drops (no overlap) */
.hxRotW.out>span{animation:rotFall .42s cubic-bezier(.6,0,.95,.4) both;animation-delay:calc(var(--i) * 25ms)}
.hxRotW.out .hxStrike{animation:rotFallS .42s cubic-bezier(.6,0,.95,.4) both}
.hxRotW.in>span{animation:rotDrop .6s cubic-bezier(.2,.9,.3,1.25) both;animation-delay:calc(var(--i) * 50ms)}
/* rotating word: the crossed-out word falls as one piece, strike and letters together */
.hxRotW.out{animation:rotWordFall .45s cubic-bezier(.6,0,.95,.4) both}
.hxRotW.out>span{animation:rotTilt .45s cubic-bezier(.6,0,.95,.4) both;animation-delay:0s}
.hxRotW.out .hxStrike{animation:none}
@keyframes rotWordFall{from{transform:none}to{transform:translateY(130%) rotate(3deg)}}
@keyframes rotTilt{from{transform:none}to{transform:rotate(calc(var(--tw) * .5))}}

/* ===== In the room: 3D photo sphere (main.js §15) ===== */
.galOff{display:none !important}
.sph{--R:330px;--tw:150px;--th:110px;position:relative}
.sphStage{position:relative;height:clamp(560px,82vh,780px);perspective:1400px;display:grid;place-items:center;overflow:hidden;touch-action:pan-y;cursor:grab;user-select:none;-webkit-user-select:none}
.sphStage.drag{cursor:grabbing}
.sphStage::before{content:"";position:absolute;left:50%;top:50%;width:calc(var(--R) * 2.3);height:calc(var(--R) * 2.3);transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(closest-side,rgba(198,243,94,.22),rgba(198,243,94,.06) 60%,transparent);pointer-events:none}
.sphBall{position:relative;width:0;height:0;transform-style:preserve-3d}
.sphT{position:absolute;left:calc(var(--tw) / -2);top:calc(var(--th) / -2);width:var(--tw);height:var(--th);padding:0;margin:0;border:2px solid #FFFEF9;border-radius:12px;overflow:hidden;background:var(--paper-3);
  backface-visibility:hidden;-webkit-backface-visibility:hidden;cursor:pointer;box-shadow:0 12px 26px -12px rgba(15,36,29,.7);filter:brightness(var(--lit,1));transition:transform .35s cubic-bezier(.2,.9,.3,1.2),border-color .25s}
.sphT img{display:block;width:100%;height:100%;object-fit:cover;pointer-events:none;-webkit-user-drag:none}
.sphT:hover,.sphT:focus-visible{border-color:var(--accent);outline:none}
.sphHint{margin:6px 0 0;text-align:center;font-family:'Google Sans',system-ui,sans-serif;font-weight:600;font-size:18.7px;color:var(--ink-muted)}
.sphBox{position:fixed;inset:0;z-index:120;display:grid;place-items:center;padding:24px;background:rgba(10,23,19,.86);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);visibility:hidden;perspective:1200px}
.sphBox.on{visibility:visible}
.sphBox figure{position:relative;margin:0;max-width:min(980px,92vw);transform:translateY(60px) rotateX(28deg) scale(.7);transition:transform .55s cubic-bezier(.2,.9,.3,1.15)}
.sphBox.on figure{transform:none}
.sphBox img{display:block;max-width:100%;max-height:74vh;border-radius:18px;border:3px solid #FFFEF9;box-shadow:0 40px 80px -20px rgba(0,0,0,.8)}
.sphBox figcaption{position:absolute;left:16px;bottom:16px;display:flex;flex-wrap:wrap;gap:8px}
.sphP,.sphC{padding:11px 16px;border-radius:999px;font-size:15px;font-weight:600}
.sphP{background:var(--bg);color:var(--paper)}
.sphC{background:var(--accent);color:var(--bg)}
.sphX{position:absolute;top:-18px;right:-18px;width:44px;height:44px;border-radius:50%;border:0;background:var(--accent);color:var(--ink);font-size:26px;line-height:1;cursor:pointer;box-shadow:0 6px 0 var(--accent-deep)}
@media (max-width: 760px){.sph{--R:150px;--tw:74px;--th:56px}.sphStage{height:420px}.sphT{border-radius:8px;border-width:1.5px}.sphX{top:-14px;right:-6px}}
@media (prefers-reduced-motion: reduce){.sphT,.sphBox figure{transition:none}}
@media (max-width: 760px){.sphStage{height:370px}}

/* ===== In the room v2: inside-out photo sphere, full bleed ===== */
.sph{--P:900px;--R:900px;--tw:270px;--th:262px}
.sphStage{width:100vw;margin-left:calc(50% - 50vw);height:max(560px,min(100vh,940px));perspective:var(--P);perspective-origin:50% 50%;background:#ECEAE3;border-radius:0}
.sphStage::before{display:none}
.sphBall{position:absolute;left:50%;top:50%}
.sphT{border:0;border-radius:18px;box-shadow:0 18px 30px -18px rgba(15,36,29,.45);filter:none;transition:transform .45s cubic-bezier(.2,.9,.3,1.1)}
.sphT:hover,.sphT:focus-visible{box-shadow:0 0 0 4px var(--accent),0 24px 40px -18px rgba(15,36,29,.6)}
.sphHint{position:absolute;left:50%;bottom:22px;z-index:2;margin:0;transform:translateX(-50%);padding:8px 18px 10px;border-radius:999px;background:rgba(15,36,29,.88);color:var(--paper);font-size:22px;white-space:nowrap;pointer-events:none}
@media (max-width: 760px){.sph{--P:520px;--R:520px;--tw:156px;--th:150px}.sphStage{height:560px}.sphT{border-radius:12px}.sphHint{font-size:18px}}
.sph{--tw:300px;--th:268px}@media (max-width: 760px){.sph{--tw:172px;--th:152px}}

/* ===== In the room: handwritten rooms strip ===== */
.rn{position:relative;display:flex;flex-direction:column;align-items:center;gap:14px;padding:clamp(8px,2vh,24px) 0 0;color:var(--ink)}
.rnK{margin:0;font-family:'Google Sans',system-ui,sans-serif;font-weight:600;font-size:20.3px;color:var(--ink-muted)}
.rnRow{position:relative;display:flex;flex-wrap:wrap;justify-content:center;gap:clamp(18px,5vw,72px);margin:0;padding:0;list-style:none}
.rnRow::before{content:"";position:absolute;left:8%;right:8%;top:40px;border-top:2.5px dashed rgba(15,36,29,.22);z-index:0}
.rnI{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:8px;transform:rotate(calc((var(--k) - 1.5) * 3deg))}
.rnIc{display:grid;place-items:center;width:80px;height:80px;border-radius:52% 48% 55% 45%/50% 56% 44% 50%;background:var(--paper);border:2.5px solid var(--ink);box-shadow:4px 5px 0 var(--accent)}
.rnI:nth-child(even) .rnIc{background:var(--accent);box-shadow:4px 5px 0 var(--ink)}
.rnIc svg{width:46px;height:46px;fill:none;stroke:var(--ink);stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round;overflow:visible}
.rnIc svg *{stroke-dasharray:1 2;stroke-dashoffset:0}
.rnL{font-family:'Google Sans',system-ui,sans-serif;font-weight:600;font-size:21.8px;line-height:1}
.rnGo{display:flex;align-items:flex-end;gap:6px;margin:0 0 -6px 120px;font-family:'Google Sans',system-ui,sans-serif;font-weight:600;font-size:18.7px;color:#3E7A1E}
.rnGo svg{width:84px;height:64px;fill:none;stroke:#3E7A1E;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round;overflow:visible}
.rnGo svg path{stroke-dasharray:1 2;stroke-dashoffset:0}
.rnGo span{transform:rotate(-4deg);margin-bottom:22px}
.rn.arm .rnIc svg *,.rn.arm .rnGo svg path{stroke-dashoffset:1}
.rn.arm .rnI{transform:translateY(30px) rotate(calc((var(--k) - 1.5) * -8deg))}
.rn.arm.go .rnI{transform:rotate(calc((var(--k) - 1.5) * 3deg));transition:transform .7s cubic-bezier(.3,1.5,.5,1) calc(var(--k) * .12s)}
.rn.arm.go .rnIc svg *{stroke-dashoffset:0;transition:stroke-dashoffset 1s cubic-bezier(.6,0,.3,1) calc(var(--k) * .15s + .2s)}
.rn.arm.go .rnGo svg path{stroke-dashoffset:0;transition:stroke-dashoffset .9s cubic-bezier(.6,0,.3,1) 1s}
.rn.arm .rnGo span{clip-path:inset(-10px 100% -10px -10px)}
.rn.arm.go .rnGo span{clip-path:inset(-10px -10px -10px -10px);transition:clip-path .8s steps(16,end) 1.5s}
@media (max-width: 760px){.rnRow::before{display:none}.rnIc{width:64px;height:64px}.rnIc svg{width:36px;height:36px}.rnL{font-size:18.7px}.rnGo{margin-left:40px;font-size:15.6px}}
@media (prefers-reduced-motion: reduce){.rn.arm .rnI,.rn.arm .rnIc svg *,.rn.arm .rnGo svg path,.rn.arm .rnGo span{transition:none}}

/* ===== Sphere tiles: handwritten place name on each photo ===== */
.sphTag{position:absolute;left:14px;bottom:10px;font-family:'Google Sans',system-ui,sans-serif;font-weight:600;font-size:20.3px;line-height:1;color:#FFFEF9;text-shadow:0 2px 6px rgba(0,0,0,.7),0 0 2px rgba(0,0,0,.6);pointer-events:none;white-space:nowrap}
@media (max-width: 760px){.sphTag{font-size:12.5px;left:8px;bottom:6px}}

/* ===== Lightbox as a mini monitor that powers on ===== */

@keyframes monOn{0%{transform:scale(.02,.004)}45%{transform:scale(1,.006)}100%{transform:scale(1,1)}}

.sphBox figcaption{left:22px;top:18px;bottom:auto;display:flex;flex-direction:column;align-items:flex-start;gap:0;transform:rotate(-3deg);transform-origin:0 0}
.sphBox .sphP,.sphBox .sphC{padding:0;border-radius:0;background:none;font-family:'Google Sans',system-ui,sans-serif;font-weight:600;line-height:1;text-shadow:0 2px 8px rgba(0,0,0,.75),0 0 2px rgba(0,0,0,.7)}
.sphBox .sphP{font-size:clamp(26.5px,3.1vw,40.6px);color:var(--accent)}
.sphBox .sphC{font-size:clamp(17.2px,1.9vw,23.4px);color:#FFFEF9;margin-top:2px}

.sphBox .sphX{top:-14px;right:-14px}

/* rooms strip sits right under the "In the room" page, pulled up into its empty lower half */
.roomCont{position:relative;z-index:5}
.rn{margin-top:var(--rnUp,0px);padding-top:0}
/* text on photos in the site green */
.sphTag,.sphBox .sphC{color:var(--accent);text-shadow:0 2px 6px rgba(0,0,0,.8),0 0 2px rgba(0,0,0,.75)}
/* highlighter swipe behind the handwritten text on photos (dark marker, so the green reads) */
.sphTag,.sphBox .sphP,.sphBox .sphC{position:relative;display:inline-block;width:fit-content;padding:.06em .32em .12em;text-shadow:none;isolation:isolate}
.sphTag::before,.sphBox .sphP::before,.sphBox .sphC::before{content:"";position:absolute;z-index:-1;left:0;right:0;top:12%;bottom:6%;background:rgba(15,36,29,.88);border-radius:.18em .5em .22em .45em/.5em .25em .45em .3em;transform:rotate(-1.2deg) skewX(-6deg)}
.sphBox .sphP::before{background:rgba(15,36,29,.9)}
.sphTag{left:10px;bottom:10px}

.sphBox .sphC{margin-top:4px}
.sphTag{position:absolute !important;left:12px;bottom:14px;top:auto;z-index:2}

/* ===== Sphere v3: dark night-sky room, polaroid-framed tiles, monitor with a captioned chin ===== */
.sphStage{background:radial-gradient(120% 90% at 50% 45%,#1E4436 0%,#123027 45%,#0A1A15 100%)}
.sphStage::after{content:"";position:absolute;inset:0;pointer-events:none;
  background-image:radial-gradient(rgba(198,243,94,.16) 1px,transparent 1.4px),radial-gradient(rgba(244,241,232,.08) 1px,transparent 1.4px);
  background-size:34px 34px,71px 71px;background-position:0 0,17px 23px;
  -webkit-mask-image:radial-gradient(closest-side,transparent 30%,#000 100%);mask-image:radial-gradient(closest-side,transparent 30%,#000 100%)}
.sphBall{z-index:1}
.sphHint{z-index:3;background:var(--accent);color:var(--ink)}
/* polaroid frames */
.sphT{overflow:visible;padding:10px 10px 0;box-sizing:border-box;background:#FFFEF9;border-radius:6px;box-shadow:0 22px 34px -16px rgba(0,0,0,.75),inset 0 0 0 1px rgba(15,36,29,.06)}
.sphT img{height:calc(100% - 46px);border-radius:3px}
.sphT::before{content:"";position:absolute;top:-9px;left:50%;width:76px;height:20px;margin-left:-38px;background:rgba(198,243,94,.78);transform:rotate(calc((var(--tilt,0) * 1deg) - 3deg));box-shadow:0 1px 2px rgba(0,0,0,.2);z-index:2}
.sphT:nth-child(3n)::before{transform:rotate(4deg);margin-left:-50px}
.sphT:nth-child(4n)::before{display:none}
.sphTag{position:absolute !important;left:0 !important;right:0;bottom:7px !important;padding:0 !important;text-align:center;color:var(--ink) !important;font-size:21.1px !important;text-shadow:none !important;transform:rotate(-1.5deg) !important;transform-origin:50% 50% !important;width:auto !important;display:block !important}
.sphTag::before{display:none !important}
.sphT:hover,.sphT:focus-visible{box-shadow:0 0 0 4px var(--accent),0 26px 40px -16px rgba(0,0,0,.8)}
@media (max-width: 760px){.sphT{padding:6px 6px 0}.sphT img{height:calc(100% - 28px)}.sphTag{font-size:13.3px !important;bottom:4px !important}.sphT::before{width:44px;height:12px;margin-left:-22px;top:-6px}}
/* monitor: clears the navbar, caption on the chin, power LED */
html.sphOpen .dock{transform:translate(-50%,-160%) !important}
@media (max-width: 760px){html.sphOpen .dock{transform:translateY(-160%) !important}}
.sphBox{padding:28px 20px}

.sphBox .sphX{top:-12px;right:-12px}

.sphT img{height:calc(100% - 60px) !important}
.sphTag{bottom:12px !important;line-height:1 !important}
@media (max-width: 760px){.sphT img{height:calc(100% - 34px) !important}.sphTag{bottom:6px !important}}
/* buttons centre their content vertically: pin the photo to the top of the polaroid */
.sphT img{position:absolute;top:10px;left:10px;width:calc(100% - 20px) !important;height:calc(100% - 62px) !important}
@media (max-width: 760px){.sphT img{top:6px;left:6px;width:calc(100% - 12px) !important;height:calc(100% - 34px) !important}}

/* ===== Lightbox v3: the photo opens on a phone (titanium frame, island, side keys) ===== */

@keyframes phWake{from{clip-path:circle(0% at 50% 4%)}to{clip-path:circle(150% at 50% 4%)}}

/* ===== Sphere room background v2: blueprint grid, drifting glows, starfield, vignette ===== */
.sphStage{background:#0C1E18;isolation:isolate}
.sphStage::before{display:block !important;content:"";position:absolute;inset:-20%;width:auto;height:auto;left:-20%;top:-20%;transform:none;border-radius:0;z-index:-1;pointer-events:none;
  background:radial-gradient(40% 35% at 30% 35%,rgba(198,243,94,.20),transparent 70%),radial-gradient(35% 30% at 72% 68%,rgba(70,160,120,.28),transparent 70%),radial-gradient(60% 50% at 50% 50%,#1C4334,transparent 80%);
  animation:sphGlow 18s ease-in-out infinite alternate}
@keyframes sphGlow{0%{transform:translate(0,0) rotate(0)}50%{transform:translate(4%,-3%) rotate(6deg)}100%{transform:translate(-4%,3%) rotate(-5deg)}}
.sphStage::after{z-index:0;background-image:
  radial-gradient(rgba(198,243,94,.35) 1px,transparent 1.6px),
  radial-gradient(rgba(244,241,232,.16) 1px,transparent 1.5px),
  linear-gradient(rgba(198,243,94,.06) 1px,transparent 1px),
  linear-gradient(90deg,rgba(198,243,94,.06) 1px,transparent 1px),
  radial-gradient(120% 90% at 50% 50%,transparent 45%,rgba(4,12,9,.85) 100%);
  background-size:97px 89px,43px 47px,64px 64px,64px 64px,100% 100%;background-position:11px 7px,0 0,center,center,0 0;
  -webkit-mask-image:none;mask-image:none}
@media (prefers-reduced-motion: reduce){.sphStage::before{animation:none}}
.sph img{-webkit-user-drag:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}

/* ===== Cursor: one branded native cursor (CSS only, zero JS cost) ===== */
@media (hover: hover) and (pointer: fine){
  html,body{cursor:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'><path d='M4 3 L25 13.5 L15.5 16 L11.5 25.5 Z' fill='%23C6F35E' stroke='%230F241D' stroke-width='2.2' stroke-linejoin='round'/></svg>") 4 3,auto}
  a,button,[role="button"],.pbTab,.env,.sphT,label,summary,.key{cursor:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='34' height='34' viewBox='0 0 34 34'><circle cx='17' cy='17' r='13' fill='none' stroke='%230F241D' stroke-width='4.5'/><circle cx='17' cy='17' r='13' fill='none' stroke='%23C6F35E' stroke-width='2.5'/><circle cx='17' cy='17' r='4.5' fill='%23C6F35E' stroke='%230F241D' stroke-width='2'/></svg>") 17 17,pointer !important}
  .hxCard,.hxCard.drag,.sphStage,.sphStage.drag,[data-ref="map"]{cursor:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='34' height='34' viewBox='0 0 34 34'><g stroke-linecap='round' stroke-linejoin='round' fill='none'><path d='M17 4v26M4 17h26M17 4l-4 4M17 4l4 4M17 30l-4-4M17 30l4-4M4 17l4-4M4 17l4 4M30 17l-4-4M30 17l-4 4' stroke='%230F241D' stroke-width='5'/><path d='M17 4v26M4 17h26M17 4l-4 4M17 4l4 4M17 30l-4-4M17 30l4-4M4 17l4-4M4 17l4 4M30 17l-4-4M30 17l-4 4' stroke='%23C6F35E' stroke-width='2.4'/></g></svg>") 17 17,grab !important}
  .sphStage .sphT{cursor:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='34' height='34' viewBox='0 0 34 34'><circle cx='17' cy='17' r='13' fill='none' stroke='%230F241D' stroke-width='4.5'/><circle cx='17' cy='17' r='13' fill='none' stroke='%23C6F35E' stroke-width='2.5'/><circle cx='17' cy='17' r='4.5' fill='%23C6F35E' stroke='%230F241D' stroke-width='2'/></svg>") 17 17,pointer !important}
  input,textarea{cursor:text}
}
/* sphere room melts into the paper above and below instead of a hard cut */
.sphStage{-webkit-mask-image:linear-gradient(180deg,transparent 0,#000 140px,#000 calc(100% - 140px),transparent 100%);mask-image:linear-gradient(180deg,transparent 0,#000 140px,#000 calc(100% - 140px),transparent 100%)}
.sphHint{bottom:120px}
.roomCont{padding-bottom:clamp(24px,4vw,56px) !important}
.rn{margin-bottom:-60px;position:relative;z-index:2}
@media (max-width: 760px){.sphStage{-webkit-mask-image:linear-gradient(180deg,transparent 0,#000 80px,#000 calc(100% - 80px),transparent 100%);mask-image:linear-gradient(180deg,transparent 0,#000 80px,#000 calc(100% - 80px),transparent 100%)}.sphHint{bottom:84px}.rn{margin-bottom:-30px}}
/* bottom: the dark room runs straight into the dark contact section (no paper band) */
.sphStage{-webkit-mask-image:linear-gradient(180deg,transparent 0,#000 140px) !important;mask-image:linear-gradient(180deg,transparent 0,#000 140px) !important}
.roomCont{padding-bottom:0 !important}
.roomCont>div{gap:0 !important}
.sphHint{bottom:28px}
@media (max-width: 760px){.sphStage{-webkit-mask-image:linear-gradient(180deg,transparent 0,#000 80px) !important;mask-image:linear-gradient(180deg,transparent 0,#000 80px) !important}.sphHint{bottom:20px}}
.sphFade{position:absolute;left:0;right:0;bottom:0;height:200px;z-index:2;pointer-events:none;background:linear-gradient(transparent,var(--bg) 92%)}
@media (max-width: 760px){.sphFade{height:110px}}
/* breathing room above the footer: the dark room continues for a band before Contact starts */
.roomCont{padding-bottom:clamp(72px,9vw,140px) !important;background:linear-gradient(var(--paper) 0 calc(100% - clamp(72px,9vw,140px)),var(--bg) 0) !important}
/* rooms strip: no overlap with the photo room below */
.rn{margin-bottom:clamp(16px,3vw,40px) !important}
@media (max-width: 760px){.rn{margin-bottom:16px !important}}
@media (max-width: 760px){.rn{margin-bottom:34px !important}}
/* ===== Sphere hint v2: dark glass dock with two icon chips ===== */
.sphHint{display:flex;align-items:center;gap:14px;padding:8px 18px 8px 8px !important;border-radius:999px;background:rgba(10,23,19,.78) !important;color:var(--paper) !important;
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 0 0 1px rgba(198,243,94,.35),0 14px 30px -10px rgba(0,0,0,.7);font-size:21px !important;
  transition:transform .5s cubic-bezier(.5,0,.2,1)}
.shI{display:flex;align-items:center;gap:10px;white-space:nowrap}
.shIc{display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:50%;background:var(--accent);box-shadow:0 3px 0 var(--accent-deep)}
.shIc svg{width:20px;height:20px;fill:none;stroke:var(--ink);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.shTap{background:var(--paper);box-shadow:0 3px 0 #9DA69F}
.shDrag svg{animation:shNudge 2.2s cubic-bezier(.5,0,.3,1) infinite}
.shTap svg{animation:shTap 2.2s ease-in-out 1.1s infinite}
@keyframes shNudge{0%,100%{transform:translateX(-4px) rotate(-8deg)}50%{transform:translateX(4px) rotate(8deg)}}
@keyframes shTap{0%,70%,100%{transform:none}80%{transform:scale(.82)}}
.shSep{width:1px;height:26px;background:rgba(244,241,232,.2)}
.sph.used .sphHint{transform:translate(-50%,180%)}
@media (max-width: 760px){.sphHint{font-size:16px !important;gap:8px;padding:6px 12px 6px 6px !important}.shIc{width:30px;height:30px}.shIc svg{width:16px;height:16px}.shTap+span,.shSep+.shI span{display:none}}
@media (prefers-reduced-motion: reduce){.shDrag svg,.shTap svg{animation:none}}
@media (max-width: 760px){.shTap+span{display:inline !important}.shDrag+span{display:none}.sphHint .shSep{display:none}.sphHint .shI:first-child .shIc{display:none}.sphHint{padding:6px 14px 6px 6px !important}}
/* hint dock: clean UI type instead of handwriting */
.sphHint{font-family:'Inter Tight',system-ui,sans-serif !important;font-weight:600 !important;font-size:14px !important;letter-spacing:.01em}
.shI span{color:#E8EEE9}
@media (max-width: 760px){.sphHint{font-size:13px !important}}
.sph.used .sphHint{transform:translateX(-50%) !important}
/* footer signature v2: a real pen signature with a flourish */
.ftSig{position:relative;font-family:'Herr Von Muellerhoff',cursive !important;font-size:clamp(110px,16vw,260px) !important;line-height:.9 !important;padding:.05em .45em .2em .3em !important;color:var(--accent);
  text-shadow:0 .015em 0 var(--accent-deep),0 .05em .12em rgba(0,0,0,.35) !important;transform:rotate(-4deg)}
.ftFl{position:absolute;left:12%;right:2%;bottom:.08em;width:86%;height:.22em;overflow:visible}
.ftFl path{fill:none;stroke:var(--accent);stroke-width:3.5;stroke-linecap:round;vector-effect:non-scaling-stroke;stroke-dasharray:1 2;stroke-dashoffset:0}
.ftArm .ftFl path{stroke-dashoffset:1}
.ftArm .ftSign.go .ftFl path{stroke-dashoffset:0;transition:stroke-dashoffset .9s cubic-bezier(.6,0,.3,1) 2.1s}
@media (max-width: 760px){.ftSig{font-size:21vw !important;padding:.05em .25em .2em .15em !important}}
/* signature v3: never clipped, sits on the sign line, flourish runs off the last letter */
.ftSign{padding-top:clamp(20px,4vw,60px) !important}
.ftArm .ftSig{clip-path:inset(-60% 100% -40% -10%) !important}
.ftArm .ftSign.go .ftSig{clip-path:inset(-60% -10% -40% -10%) !important}
.ftSig{transform:rotate(-6deg) !important;transform-origin:50% 80%;padding:.18em .5em .05em .35em !important;
  background:linear-gradient(100deg,#D8FA8C,#C6F35E 45%,#A9D94A);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
  text-shadow:none !important;filter:drop-shadow(0 .012em 0 var(--accent-deep)) drop-shadow(0 .05em .08em rgba(0,0,0,.45))}
.ftFl{left:6% !important;right:auto !important;width:92% !important;bottom:-.02em !important;height:.32em !important}
.ftFl path{stroke:#C6F35E;stroke-width:3px}
.ftLine{margin-top:-.42em !important;position:relative;z-index:-1}
.ftLine b{color:var(--accent) !important;opacity:.7}
@media (max-width: 760px){.ftLine{margin-top:-.3em !important}}
.ftFl{bottom:.12em !important;height:.26em !important}
.ftLine{margin-top:-.08em !important}
@media (max-width: 760px){.ftLine{margin-top:0 !important}}

/* ===== ON AIR: studio with cassette deck, tape rack and tour list (main.js §17) ===== */
.oa{background:var(--bg-2);color:var(--paper);padding:clamp(64px,8vh,120px) clamp(20px,4vw,48px)}
.oaIn{max-width:1360px;margin:0 auto;display:flex;flex-direction:column;gap:clamp(32px,5vh,56px)}
.oaHead{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:20px}
.oaHeadL{display:flex;flex-direction:column;gap:16px}
.oaH{margin:0}
.oaLamp{display:inline-flex;align-items:center;gap:.28em;padding:.12em .32em .1em .26em;border-radius:.14em;border:4px solid #2C3A34;background:#1A2621;
  font-family:'Big Shoulders Display',sans-serif;font-weight:900;font-size:clamp(64px,9vw,140px);line-height:.85;text-transform:uppercase;color:#3B4A43;
  box-shadow:inset 0 0 0 2px #0A1310,0 20px 40px -20px rgba(0,0,0,.8)}
.oaLamp i{width:.2em;height:.2em;border-radius:50%;background:#3B4A43}
.oa.live .oaLamp{background:#C6F35E;color:var(--ink);border-color:#E2FF9E;box-shadow:inset 0 0 0 2px #7FA32F,0 0 0 6px rgba(198,243,94,.12),0 0 60px rgba(198,243,94,.45),0 20px 40px -20px rgba(0,0,0,.8);
  animation:oaFlick .5s steps(1) 1}
.oa.live .oaLamp i{background:#E8402F;box-shadow:0 0 12px #E8402F;animation:blink 1.4s steps(1) infinite}
@keyframes oaFlick{0%{background:#1A2621;color:#3B4A43}20%{background:#C6F35E;color:var(--ink)}35%{background:#1A2621;color:#3B4A43}55%,100%{background:#C6F35E;color:var(--ink)}}
.oaP{margin:0;max-width:380px;font-size:16px;line-height:1.5;color:var(--muted)}
.oaStudio{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:clamp(24px,3vw,44px);align-items:stretch}
/* deck */
.oaDeck{position:relative;display:flex;flex-direction:column;gap:18px;padding:20px 22px 22px;border-radius:22px;
  background:linear-gradient(180deg,#2A2F2D,#1A1E1C);box-shadow:inset 0 1px 0 rgba(255,255,255,.08),inset 0 0 0 1px #343B38,0 30px 60px -28px rgba(0,0,0,.85),0 8px 0 #0C0F0E}
.oaDeck::before{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:repeating-linear-gradient(90deg,rgba(255,255,255,.018) 0 1px,transparent 1px 3px)}
.oaDeckTop{display:flex;justify-content:space-between;align-items:center;font-family:'JetBrains Mono',ui-monospace,monospace;font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:#9AA49F}
.oaBrand{font-weight:600;color:#D7DDD9}.oaBrand small{margin-left:8px;font-size:10px;color:#7C8783;font-weight:400}
.oaLeds{display:flex;gap:6px}.oaLeds i{width:8px;height:8px;border-radius:50%;background:#3A433F}
.oa.live .oaLeds i:nth-child(1){background:var(--accent);box-shadow:0 0 8px var(--accent)}
.oa.live .oaLeds i:nth-child(2){background:var(--accent);animation:blink 1s steps(1) infinite}
.oaWin{position:relative;display:grid;place-items:center;overflow:hidden;aspect-ratio:2.05;padding:5% 10%;border-radius:14px;background:linear-gradient(180deg,#070A09,#121715);box-shadow:inset 0 3px 10px rgba(0,0,0,.9),inset 0 0 0 1px #2A312E}
.oaWin::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(160deg,rgba(255,255,255,.07),transparent 40%)}
.oaTape{grid-area:1/1;position:relative;width:100%;aspect-ratio:1.62;box-sizing:border-box;padding:6% 6% 0;border-radius:10px;background:#1E2422;
  box-shadow:inset 0 0 0 2px #2E3633,0 10px 22px -8px rgba(0,0,0,.8);display:flex;flex-direction:column}
.oaTape.in{animation:oaIn .55s cubic-bezier(.2,.9,.3,1.15) both}
.oaTape.out{animation:oaOut .42s cubic-bezier(.6,0,.9,.4) both}
@keyframes oaIn{from{transform:translateY(-115%) rotate(-3deg)}to{transform:none}}
@keyframes oaOut{to{transform:translateY(120%) rotate(4deg)}}
.oaTL{position:relative;display:flex;flex-direction:column;gap:2px;padding:6% 7% 0;height:58%;box-sizing:border-box;border-radius:6px;background:var(--c,#C6F35E);color:var(--ink);
  background-image:repeating-linear-gradient(180deg,transparent 0 22%,rgba(15,36,29,.14) 22% calc(22% + 1px))}
.oaTT{font-family:'Google Sans',system-ui,sans-serif;font-weight:600;font-size:clamp(17.2px,1.8vw,26.5px);line-height:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.oaTS{font-family:'JetBrains Mono',ui-monospace,monospace;font-size:clamp(9px,.8vw,11px);letter-spacing:.12em;text-transform:uppercase;opacity:.75;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.oaReels{position:absolute;left:18%;right:18%;top:42%;height:30%;display:flex;align-items:center;justify-content:space-between;padding:0 6%;border-radius:999px;background:#0C100E;box-shadow:inset 0 2px 6px rgba(0,0,0,.9)}
.oaGap{flex:1;height:40%;margin:0 6%;border-radius:4px;background:linear-gradient(90deg,#3B2416,#5A3825 50%,#3B2416)}
.oaReel{flex:none;height:78%;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,#0C100E 0 22%,transparent 23%),conic-gradient(#E9EDEA 0 12%,#9AA49F 12% 21%,#E9EDEA 21% 45%,#9AA49F 45% 54%,#E9EDEA 54% 79%,#9AA49F 79% 88%,#E9EDEA 88%)}
.oa.live .oaReel{animation:spin 3.2s linear infinite}
.oaTK{position:absolute;right:7%;bottom:7%;padding:3px 8px;border-radius:4px;background:#0C100E;font-family:'JetBrains Mono',ui-monospace,monospace;font-size:clamp(8px,.7vw,10px);letter-spacing:.16em;text-transform:uppercase;color:var(--accent)}
.oaCtl{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.oaNow{display:flex;flex-direction:column;gap:4px;min-width:0}
.oaNowK{font-family:'JetBrains Mono',ui-monospace,monospace;font-size:10.5px;letter-spacing:.18em;text-transform:uppercase;color:#7C8783}
.oaNowT{font-family:'JetBrains Mono',ui-monospace,monospace;font-size:14px;color:var(--accent);text-shadow:0 0 10px rgba(198,243,94,.35)}
.oaBtns{display:flex;gap:10px}
.oaKey{display:inline-flex;align-items:center;gap:8px;height:48px;padding:0 20px;border:0;border-radius:12px;font:600 15px/1 'Inter Tight',sans-serif;text-decoration:none;cursor:pointer;
  background:linear-gradient(#3A423F,#2A302E);color:#E8EEE9;box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 5px 0 #0C0F0E;transition:transform .12s,box-shadow .12s}
.oaKey svg{width:16px;height:16px;fill:currentColor;stroke:currentColor;stroke-width:1.5;stroke-linejoin:round}
.oaKey:active{transform:translateY(5px);box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 0 0 #0C0F0E}
.oaPlay{background:linear-gradient(#D8FA8C,#C6F35E);color:var(--ink);box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 5px 0 var(--accent-deep)}
.oaPlay[aria-disabled="true"]{opacity:.55;cursor:not-allowed}
.oaEj{width:48px;padding:0;justify-content:center}
/* rack */
.oaRack{display:flex;flex-direction:column;gap:12px}
.oaRackK{margin:0;font-family:'Google Sans',system-ui,sans-serif;font-weight:600;font-size:20.3px;color:var(--accent)}
.oaSpines{display:flex;flex-direction:column;gap:10px;margin:0;padding:14px;list-style:none;border-radius:18px;background:linear-gradient(90deg,#0B1713,#10221B);box-shadow:inset 0 2px 8px rgba(0,0,0,.6),inset 0 0 0 1px var(--line)}
.oaSpine{all:unset;box-sizing:border-box;position:relative;display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:14px;width:100%;padding:12px 16px 12px 12px;border-radius:8px;cursor:pointer;
  background:linear-gradient(90deg,var(--c) 0 10px,#1E2724 10px);box-shadow:inset 0 0 0 1px #2E3834,0 4px 0 #08100D;transition:transform .35s cubic-bezier(.3,1.4,.5,1)}
.oaSpine:hover{transform:translateX(-8px)}
.oaSpine.on{transform:translateX(-22px);box-shadow:inset 0 0 0 2px var(--c),0 4px 0 #08100D}
.oaSpine:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.oaSpK{grid-row:1/3;align-self:center;margin-left:10px;padding:4px 7px;border-radius:4px;background:#0C100E;font-family:'JetBrains Mono',ui-monospace,monospace;font-size:9.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--c)}
.oaSpT{font-family:'Google Sans',system-ui,sans-serif;font-weight:600;font-size:18.7px;line-height:1.05;color:#F4F1E8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.oaSpS{font-size:12.5px;color:#9AA49F;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* tour list */
.oaTour{border-top:2px solid var(--line-2);padding-top:22px}
.oaTourHead{display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin-bottom:10px}
.oaTourT{font-family:'Big Shoulders Display',sans-serif;font-weight:900;font-size:clamp(28px,3vw,40px);text-transform:uppercase;letter-spacing:.02em}
.oaTourT em{font-style:normal;font-family:'Google Sans',system-ui,sans-serif;font-weight:600;text-transform:none;color:var(--accent);font-size:0.8em;margin-left:6px}
.oaTourS{font-family:'JetBrains Mono',ui-monospace,monospace;font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--muted)}
.oaList{margin:0;padding:0;list-style:none}
.oaRow{display:grid;grid-template-columns:56px minmax(0,1.3fr) minmax(0,1fr) auto 28px;align-items:center;gap:16px;padding:16px 4px;border-bottom:1px dashed var(--line-2);transition:padding .3s cubic-bezier(.3,1.3,.5,1),background .3s}
.oaRow:hover{padding-left:18px;background:linear-gradient(90deg,rgba(198,243,94,.07),transparent 70%)}
.oaN{font-family:'JetBrains Mono',ui-monospace,monospace;font-size:13px;color:var(--muted)}
.oaE{font-family:'Big Shoulders Display',sans-serif;font-weight:900;font-size:clamp(24px,2.4vw,34px);text-transform:uppercase;line-height:1}
.oaC{font-size:15px;color:var(--soft)}
.oaR{padding:6px 12px;border-radius:999px;border:1.5px solid var(--accent);color:var(--accent);font-family:'Google Sans',system-ui,sans-serif;font-weight:600;font-size:15.6px;line-height:1}
.oaArr{width:22px;height:22px;fill:none;stroke:var(--accent);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transform:translateX(-10px);visibility:hidden;transition:transform .3s}
.oaRow:hover .oaArr{visibility:visible;transform:none}
/* entrance: deck rises, spines slide in from the right, tour rows roll in (no fades) */
.oa.arm .oaDeck{transform:translateY(60px) rotateX(14deg)}
.oa.arm .oaSpines li{transform:translateX(120%)}
.oa.arm .oaRow{clip-path:inset(0 100% 0 0)}
.oa.arm.go .oaDeck{transform:none;transition:transform .8s cubic-bezier(.2,.9,.3,1.1)}
.oa.arm.go .oaSpines li{transform:none;transition:transform .6s cubic-bezier(.2,.9,.3,1.15)}
.oa.arm.go .oaSpines li:nth-child(2){transition-delay:.08s}.oa.arm.go .oaSpines li:nth-child(3){transition-delay:.16s}.oa.arm.go .oaSpines li:nth-child(4){transition-delay:.24s}
.oa.arm.go .oaRow{clip-path:inset(0 0 0 0);transition:clip-path .6s cubic-bezier(.6,0,.2,1) calc(.4s + var(--k) * .09s)}
.oaSpines{overflow:hidden}
@media (max-width: 960px){.oaStudio{grid-template-columns:1fr}.oaSpine.on{transform:translateX(-10px)}}
@media (max-width: 640px){
  .oaRow{grid-template-columns:34px 1fr auto;row-gap:4px}.oaC{grid-column:2;grid-row:2;font-size:13px}.oaR{grid-row:1/3;grid-column:3}.oaArr{display:none}
  .oaWin{padding:5% 5%}.oaTourHead{flex-direction:column;align-items:flex-start;gap:4px}.oaDeck{padding:16px}
}
@media (prefers-reduced-motion: reduce){.oa.live .oaReel,.oa.live .oaLamp,.oa.live .oaLamp i{animation:none}.oaSpine,.oaRow{transition:none}}
/* On Air layout v2: fits one screen. Deck left; rack + tour stacked right */
.oa{padding-top:clamp(56px,7vh,100px);padding-bottom:clamp(56px,7vh,100px)}
.oaIn{gap:clamp(20px,3.5vh,40px)}
.oaLamp{font-size:clamp(56px,min(8vw,11vh),120px)}
.oaStudio{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);align-items:start}
.oaWin{aspect-ratio:auto;height:clamp(220px,34vh,330px);padding:4% 0}
.oaTape{height:100%;width:auto;aspect-ratio:1.62}
.oaRack{gap:10px}
.oaSpines{gap:8px;padding:10px}
.oaSpine{padding:8px 14px 8px 10px}
.oaSpT{font-size:16.4px}
.oaTour{border-top:0;padding-top:6px}
.oaTourT{font-size:clamp(22px,2.2vw,30px)}
.oaRow{grid-template-columns:30px minmax(0,1fr) minmax(0,.9fr) auto 22px;gap:12px;padding:8px 4px}
.oaE{font-size:clamp(20px,1.8vw,26px)}
.oaC{font-size:13.5px}
.oaR{font-size:13.3px;padding:4px 10px}
@media (max-width: 960px){.oaWin{height:auto;aspect-ratio:2.05}.oaTape{height:100%}}
@media (max-width: 640px){.oaRow{grid-template-columns:28px 1fr auto}}
@media (max-width: 960px){.oaStudio{grid-template-columns:1fr}}
@media (max-width: 640px){
  .oaRow{grid-template-columns:26px minmax(0,1fr) auto !important;gap:4px 10px}
  .oaE{font-size:22px;grid-column:2}.oaC{grid-column:2;grid-row:2}.oaR{grid-column:3;grid-row:1/3}.oaArr{display:none}
  .oaTourHead{flex-direction:column;align-items:flex-start}
}

/* ===== STUDIO: illustrated podcast set (main.js §18) ===== */
.stu{background:var(--bg);color:var(--paper);padding:clamp(56px,7vh,100px) clamp(20px,4vw,48px)}
.stuIn{max-width:1200px;margin:0 auto;display:flex;flex-direction:column;align-items:center;gap:clamp(20px,3vh,36px);text-align:center}
.stuStage{width:100%;border-radius:28px;overflow:hidden;box-shadow:0 0 0 1px var(--line-2),0 40px 80px -40px rgba(0,0,0,.9)}
.stuSvg{display:block;width:100%;height:auto;max-height:58vh}
.stuWall{fill:#10241D}
.stuFoam{fill:#1A3329;stroke:#0B1A15;stroke-width:2}
.stuPanels rect{fill:url(#stuEgg)}
.stuPanels{filter:drop-shadow(0 2px 0 #0B1A15)}
.stuPanels rect:nth-child(odd){fill:#1C372C}
.stuFloor{fill:#0B1914}
.stuRugRing{fill:none;stroke:rgba(198,243,94,.25);stroke-width:2;stroke-dasharray:6 8}
.stuSign rect{fill:#1A2621;stroke:#2C3A34;stroke-width:4}
.stuSign text{font-family:'Big Shoulders Display',sans-serif;font-weight:900;font-size:56px;fill:#3B4A43;letter-spacing:1px}
.stuRec{fill:#3B4A43}
.stuStand{fill:none;stroke:#5A6661;stroke-width:5;stroke-linecap:round}
.stuBox{fill:#24302B;stroke:#39463F;stroke-width:2}
.stuFace{fill:#3B4A43}
.stuBeam{fill:url(#stuBeamG);visibility:hidden}
.sfBack{fill:#2B5A47}.sfCush{fill:#33684F}.sfSeat{fill:#3A7459}.sfArm{fill:#2E6049}.sfLeg{fill:#0B1914}.sfPil{fill:var(--accent)}
.stuSofa:last-of-type .sfPil{fill:#F4F1E8}
.tbTop{fill:#D8C6A5}.tbTopS{fill:#9E8B6A}.tbStem{fill:#2B2E32}.tbBase{fill:#1A1C1F}
.stuMug rect{fill:#F4F1E8}.stuMug path{fill:none;stroke:#F4F1E8;stroke-width:4}
.stuMug .stuSteam{stroke:rgba(244,241,232,.5);stroke-width:2.5;stroke-linecap:round}
.stuCable{fill:none;stroke:#0B1A15;stroke-width:3}
.stuArm{fill:none;stroke:#2B2E32;stroke-width:7;stroke-linecap:round;stroke-linejoin:round}
.stuJoint{fill:#5A6661}
.stuMount{fill:none;stroke:#5A6661;stroke-width:4}
.stuCap{fill:#1E2124;stroke:#3C4045;stroke-width:2}
.stuGrill{stroke:#4D5258;stroke-width:2}
.stuWaves path{fill:none;stroke:var(--accent);stroke-width:4;stroke-linecap:round;visibility:hidden}
/* on: lights switch on (step flicker), sign lights, mics speak in turn, steam rises */
.stu.on .stuBeam{visibility:visible;animation:stuFlick .6s steps(1) both}
.stu.on .stuFace{fill:#F4FFE0}
.stu.on .stuSign rect{fill:var(--accent);stroke:#E2FF9E}
.stu.on .stuSign text{fill:var(--ink)}
.stu.on .stuRec{fill:#E8402F;animation:blink 1.4s steps(1) infinite}
.stu.on .stuSign{filter:drop-shadow(0 0 18px rgba(198,243,94,.55))}
.stu.on .stuWaves path{visibility:visible;transform-box:fill-box;transform-origin:100% 50%;animation:stuWave 1.6s cubic-bezier(.3,.6,.4,1) infinite}
.stu.on .stuWaves path+path{animation-delay:.2s}
.stu.on .stuMic:last-of-type .stuWaves path{animation-delay:.8s}
.stu.on .stuMic:last-of-type .stuWaves path+path{animation-delay:1s}
.stu.on .stuSteam{stroke-dasharray:8 6;animation:stuSteam 1.6s linear infinite}
@keyframes stuFlick{0%{visibility:visible}15%{visibility:hidden}30%{visibility:visible}42%{visibility:hidden}55%,100%{visibility:visible}}
@keyframes stuWave{0%{transform:scale(.4)}60%{transform:scale(1)}100%{transform:scale(1.15);visibility:hidden}}
@keyframes stuSteam{to{stroke-dashoffset:-28}}
/* text */
.stuText{display:flex;flex-direction:column;align-items:center;gap:16px;max-width:760px}
.stuText .lbl{transform-origin:50% 50%}
.stuH{margin:0;font-family:'Big Shoulders Display',sans-serif;font-weight:900;text-transform:uppercase;font-size:clamp(48px,6vw,96px);line-height:.88}
.stuP{margin:0;font-size:17px;line-height:1.55;color:var(--muted)}
.stuKeys{display:flex;flex-wrap:wrap;justify-content:center;gap:14px;padding-top:6px}
@media (max-width: 640px){.stuStage{border-radius:18px}.stuSvg{max-height:none}}
@media (prefers-reduced-motion: reduce){.stu .stuBeam{visibility:visible}.stu.on .stuWaves path,.stu.on .stuSteam,.stu.on .stuRec,.stu.on .stuBeam{animation:none}}
@media (max-width: 640px){.stuSvg{width:175%;max-width:none;margin-left:-37.5%}}

/* ===== Studio detailing ===== */
.stuShelf rect{fill:#3A2A1E}.stuShelf .bk1{fill:var(--accent)}.stuShelf .bk2{fill:#F4F1E8}.stuShelf .bk3{fill:#7FD1B9}
.pot{fill:#C9B08A;stroke:#8A7350;stroke-width:2}
.leaf{fill:#3E8A5C;stroke:#2B6A44;stroke-width:1.5}
.stuClock circle{fill:#2B2E32}.stuClock .ckFace{fill:#F4F1E8}.stuClock path{stroke:var(--ink);stroke-width:3;stroke-linecap:round}.stuClock .ckPin{fill:var(--accent)}
.stu.on .ckM{transform-origin:1000px 200px;animation:spin 12s linear infinite}
.stuFrame rect{fill:#F4F1E8;stroke:#8A7350;stroke-width:4}.stuFrame path{fill:#3E8A5C}.stuFrame circle{fill:#F2B66D}
.stuMixer rect:first-child{fill:#1E2124;stroke:#3C4045;stroke-width:1.5}
.mxBar{fill:var(--accent);transform-box:fill-box;transform-origin:50% 100%;transform:scaleY(.3)}
.stu.on .mxBar{animation:mxLev .5s steps(4,end) infinite alternate;animation-delay:var(--d)}
@keyframes mxLev{0%{transform:scaleY(.25)}100%{transform:scaleY(1)}}
.mxKnob{fill:#9AA49F}
.stuPhones path{fill:none;stroke:#1E2124;stroke-width:4;stroke-linecap:round}.stuPhones rect{fill:#1E2124;stroke:#3C4045;stroke-width:1.5}
.stuNotes rect{fill:#F4F1E8}
.sfStitch{fill:none;stroke:rgba(244,241,232,.25);stroke-width:1.5;stroke-dasharray:4 5}
.sfSeam{stroke:rgba(0,0,0,.25);stroke-width:2}
.stuDust{fill:#F4FFE0;visibility:hidden}
.stu.on .stuDust{visibility:visible;animation:stuDust 3.2s ease-in-out infinite;animation-delay:var(--d)}
@keyframes stuDust{0%,100%{transform:translate(0,0)}50%{transform:translate(6px,-10px)}}
.stuTopics{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 10px;margin:0;padding:0;list-style:none}
.stuTopics li{padding:6px 14px 7px;border-radius:999px;border:1.5px dashed rgba(198,243,94,.5);font-family:'Google Sans',system-ui,sans-serif;font-weight:600;font-size:16.4px;line-height:1;color:var(--accent)}
@media (prefers-reduced-motion: reduce){.stu.on .mxBar,.stu.on .stuDust,.stu.on .ckM{animation:none}}
.stuSvg{max-height:min(52vh,560px)}.stu{padding-top:clamp(40px,6vh,90px);padding-bottom:clamp(40px,6vh,90px)}.stuText{gap:12px}
.stuSvg{max-height:min(49vh,560px)}.stuTopics li{font-size:14.8px;padding:5px 12px 6px}
@media (max-height: 800px) and (min-width: 1001px){.stuSvg{max-height:44vh}.stuH{font-size:clamp(44px,5vw,72px)}}

/* ===== Studio: featured episode card ===== */
.stuEp{display:grid;grid-template-columns:minmax(0,300px) minmax(0,1fr);gap:20px;align-items:center;width:min(100%,680px);padding:12px;border-radius:20px;text-align:left;
  background:linear-gradient(180deg,#1A3329,#132A22);box-shadow:inset 0 0 0 1px var(--line-2),0 24px 40px -24px rgba(0,0,0,.8)}
.stuEpTv,.stuEpFrame{position:relative;display:block;width:100%;aspect-ratio:16/9;border:0;padding:0;border-radius:12px;overflow:hidden;background:#06100C;cursor:pointer;box-shadow:inset 0 0 0 3px #2B2E32}
.stuEpThumb{position:absolute;inset:0;background:#0B1914 center/cover no-repeat;
  background-image:radial-gradient(circle at 30% 40%,rgba(198,243,94,.25),transparent 55%),repeating-linear-gradient(0deg,rgba(255,255,255,.03) 0 2px,transparent 2px 4px)}
.stuEpPlay{position:absolute;left:50%;top:50%;display:grid;place-items:center;width:62px;height:62px;margin:-31px 0 0 -31px;border-radius:50%;background:var(--accent);box-shadow:0 6px 0 var(--accent-deep),0 0 0 8px rgba(198,243,94,.18);transition:transform .2s}
.stuEpPlay svg{width:26px;height:26px;margin-left:3px;fill:var(--ink)}
.stuEpTv:hover .stuEpPlay{transform:scale(1.08)}
.stuEpRec{position:absolute;left:10px;top:10px;display:flex;align-items:center;gap:6px;padding:4px 8px;border-radius:6px;background:rgba(0,0,0,.6);font:600 10px/1 'JetBrains Mono',monospace;letter-spacing:.14em;text-transform:uppercase;color:#fff}
.stuEpRec i{width:7px;height:7px;border-radius:50%;background:#E8402F;animation:blink 1.4s steps(1) infinite}
.stuEpTx{display:flex;flex-direction:column;gap:4px;min-width:0}
.stuEpK{font-family:'Google Sans',system-ui,sans-serif;font-weight:600;font-size:17.2px;color:var(--accent);line-height:1}
.stuEpT{font-family:'Big Shoulders Display',sans-serif;font-weight:900;font-size:clamp(24px,2.4vw,32px);line-height:1;text-transform:uppercase}
.stuEpS{font-size:14px;color:var(--muted)}
.stuEpYt{margin-top:6px;font-size:14px;font-weight:600;color:var(--accent)}
.stuEp.noVid .stuEpPlay{background:#3B4A43;box-shadow:0 6px 0 #1A2621}
.stuEp.noVid .stuEpRec{display:none}
.stuEp.noVid .stuEpTv{cursor:default}
@media (max-width: 640px){.stuEp{grid-template-columns:1fr}}
/* Episode card cycles newest -> oldest (main.js §19, 2026-11-19): wipe + roll, no fades */
.stuEpWipe{animation:epWipe .55s cubic-bezier(.7,0,.2,1) both}
@keyframes epWipe{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 0 0 0)}}
.stuEpT.roll,.stuEpS.roll{animation:epRoll .45s cubic-bezier(.2,.8,.2,1) both}
.stuEpS.roll{animation-delay:.06s}
@keyframes epRoll{from{transform:translateY(60%);clip-path:inset(0 0 100% 0)}to{transform:none;clip-path:inset(0 0 -20% 0)}}
.stuEpPlay,.stuEpRec{z-index:2}
.stuEpBar{display:none;position:absolute;left:0;right:0;bottom:0;height:4px;background:rgba(0,0,0,.45);z-index:2}
.stuEp.cyc .stuEpBar{display:block}
.stuEpBar i{display:block;height:100%;background:var(--accent);transform-origin:left;transform:scaleX(0);
  animation:epBar var(--epMs,6000ms) linear infinite;animation-play-state:paused}
.stuEp.cyc.seen:not(.held) .stuEpBar i{animation-play-state:running}
@keyframes epBar{to{transform:scaleX(1)}}
@media (prefers-reduced-motion: reduce){.stuEpBar i{animation:none;transform:none}}
@media (min-width: 1001px){.stuSvg{max-height:min(42vh,520px)}}
/* studio fills its frame edge to edge: scene continues past the illustration */
.stuStage{background:#10241D;position:relative}
.stuSvg{overflow:visible;width:100%;height:min(46vh,520px);max-height:none}
.stuStage::after{content:"";position:absolute;inset:0;pointer-events:none;border-radius:inherit;background:radial-gradient(130% 120% at 50% 40%,transparent 55%,rgba(4,12,9,.7) 100%)}
.stuWain{fill:#0E1F19}
.stuBoard{fill:#3A2A1E}

.stuTrack>rect{fill:#0A1612}
.stuTrack rect:not(:first-child){fill:#2B2E32}.trkCone{fill:#3C4045}
.trkGlow{fill:url(#stuBeamG);visibility:hidden;opacity:.6}
.stu.on .trkGlow{visibility:visible;animation:stuFlick .7s steps(1) .3s both}

@media (max-width: 640px){.stuSvg{width:175%;height:auto}}

/* ===== Paper transition (How he leads -> On stage): torn sheets slide across on scroll ===== */

@keyframes ptIn{from{transform:translateX(-105%) rotate(-4deg)}to{transform:translateX(0) rotate(var(--r))}}
@keyframes ptInR{from{transform:translateX(105%) rotate(4deg)}to{transform:translateX(0) rotate(var(--r))}}

/* ===== Pinned paper transition after How he leads (main.js §20) ===== */

/* paper wipe overlay (fixed, plays once per pass) */

/* smooth wipe: no filters, compositor-only transforms */

/* studio v3 detailing: slat walls, neon logo, night window, camera rig, planks */
.stuSlat{fill:#13291F}
.stuStage .stuSvg{background:repeating-linear-gradient(90deg,transparent 0 22px,rgba(0,0,0,.18) 22px 24px)}
.stuNeonAV rect{fill:#0B1914;stroke:#1E3A2F;stroke-width:3}
.stuNeonAV path{fill:none;stroke:#3B4A43;stroke-width:7;stroke-linecap:round;stroke-linejoin:round}
.stuNeonAV text{font-family:'Google Sans',system-ui,sans-serif;font-weight:600;font-size:18.7px;fill:#3B4A43}
.stu.on .stuNeonAV path{stroke:var(--accent);filter:drop-shadow(0 0 6px rgba(198,243,94,.9))}
.stu.on .stuNeonAV text{fill:#F4F1E8}
.wnF{fill:#3A2A1E}.wnSky{fill:#0A1A2A}.wnMoon{fill:#F4F1E8}.wnMoonC{fill:#0A1A2A}
.wnStars circle{fill:#F4F1E8}.skL rect{fill:#06111A}.skW{fill:#F2B66D}.wnBar{stroke:#3A2A1E;stroke-width:6}.wnSill{fill:#4A3626}
.stu.on .wnStars circle{animation:blink 2.4s steps(1) infinite}.stu.on .wnStars circle:nth-child(2n){animation-delay:1.1s}

.stuPlanks path{stroke:rgba(255,255,255,.04);stroke-width:2}
.stuRugIn{fill:none;stroke:rgba(198,243,94,.14);stroke-width:10}
/* studio v4: host + guest on the sofas, sign glow, floor shadows */

.stuShade ellipse{fill:rgba(0,0,0,.32)}
.stuGlow{fill:rgba(198,243,94,.0)}
.stu.on .stuGlow{fill:rgba(198,243,94,.10);filter:blur(30px)}

@keyframes pTalk{0%,45%,100%{transform:rotate(0)}15%{transform:rotate(2.2deg) translateY(-2px)}30%{transform:rotate(-1deg)}}

/* studio v5: speech above the speaker's head instead of waves over faces; faces get features */
.stuWaves{display:none}

@keyframes pSay{0%,40%{visibility:visible}41%,100%{visibility:hidden}}

/* studio v6 */
.stu.on .ckM{animation:none !important}
.ckS{stroke:#E8402F !important;stroke-width:1.6 !important}
.stuLed{fill:#2C3A34}
.stu.on .stuLed{fill:var(--accent);filter:drop-shadow(0 0 10px rgba(198,243,94,.9))}
.wnShoot{stroke:#F4F1E8;stroke-width:2;stroke-linecap:round;stroke-dasharray:14 200;stroke-dashoffset:14;visibility:hidden}
.stu.on .wnShoot{visibility:visible;animation:wnShoot 7s linear 2s infinite}
@keyframes wnShoot{0%{stroke-dashoffset:14}8%{stroke-dashoffset:-70}8.01%,100%{stroke-dashoffset:-200}}
.stuFg{filter:blur(2.5px)}
.fgArm{stroke:#060B09;stroke-width:16;stroke-linecap:round}
.fgBody,.fgVf{fill:#070D0B;stroke:#1E3A2F;stroke-width:2}
.fgLens{fill:#0B1411;stroke:#2B4A3D;stroke-width:3}
.fgRec{fill:#3B2020}
.stu.on .fgRec{fill:#E8402F;animation:blink 1.2s steps(1) infinite}
@media (max-width: 640px){.stuFg{display:none}}
@media (prefers-reduced-motion: reduce){.stu.on .wnShoot{animation:none;visibility:hidden}}
/* studio v7: parallax depths, pendants, floor reflection, character details */
.stuSlat,.stuPanels,.stuTrack,.stuLed,.stuGlow,.stuSign,.stuNeonAV,.stuWin,.stuShelf,.stuClock,.stuFrame,.stuPend{translate:calc(var(--px,0) * -10px) calc(var(--py,0) * -5px)}
.stuSofa,.stuShade,.stuTable,.stuP,.stuMic,.stuLight,.stuPlant,.stuDustG{translate:calc(var(--px,0) * 6px) calc(var(--py,0) * 3px)}
.stuFg{translate:calc(var(--px,0) * 34px) calc(var(--py,0) * 14px)}
.pdCord{stroke:#0A1612;stroke-width:3}
.pdShade{fill:#2B2E32;stroke:#3C4045;stroke-width:1.5}
.pdBulb{fill:#4A3A22}
.pdCone{fill:url(#stuWarm);visibility:hidden}
.stu.on .pdBulb{fill:#FFD38A;filter:drop-shadow(0 0 8px #F2B66D)}
.stu.on .pdCone{visibility:visible}
.stuRefl{opacity:.13;pointer-events:none}

/* figures removed: mic sound waves come back */
.stuWaves{display:inline}
/* hero buttons in handwriting */
.hxKeys .hxKey{font-family:'Google Sans',system-ui,sans-serif;font-weight:600;font-size:20.3px;letter-spacing:0;line-height:1}
@media (max-width: 520px){.hxKeys .hxKey{font-size:17.9px}}
img{-webkit-user-drag:none;user-drag:none}
.hxCard,.hxCard *{user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
/* lanyard hook goes INTO the card slot: the part of the ring below the slot's centre is hidden */
.hxClasp{clip-path:inset(-10% -20% 14% -20%)}
.hxSlot{box-shadow:inset 0 3px 4px rgba(0,0,0,.75),0 1px 0 rgba(255,255,255,.35)}

/* ---------- 24. Seam: forest ink bleeds into the paper under the hero (main.js §24) ----------
   A WebGL strip straddles the line between the hero and the message section. The section sits
   flat (no 3D entry tilt, no rounded top) so the ink edge reads as one continuous line. */
.seamSec{z-index:6;margin-top:0;border-radius:0;box-shadow:none}
@supports (animation-timeline: view()){
  .s3d.seamSec{animation:s3dOut linear forwards;animation-timeline:view();animation-range:exit 15% exit 100%}
}
.seam{--seam-up:110px;--seam-down:210px;position:absolute;z-index:4;left:0;right:0;top:calc(var(--seam-up) * -1);height:calc(var(--seam-up) + var(--seam-down));pointer-events:none}
.seamGl{display:block;width:100%;height:100%}
@media (max-width: 760px){.seam{--seam-up:90px;--seam-down:150px}}

/* seam over a section whose own top padding is small: keep the canvas under the content */
.seamSec>.seam~*{position:relative;z-index:5}
/* seam sections stay flat on the way out too, so the paper/ink always meets the line */
.s3d.seamSec{animation:none !important;transform:none !important}
/* Traction's heading sat 62px under the line: give the paper bleed room to run */

/* ---------- 25. Section tones: green and paper take turns down to the laptop ----------
   Every boundary from the hero to the laptop has a seam (§24), and a seam only reads
   when the two sides differ, so sections alternate: hero G · message P · traction G ·
   principles P · stage G · ventures P · playbook G · global P · laptop G.
   .toneLight re-maps the palette tokens inside a section that was designed on green, so
   its own rules render on paper without being rewritten; .toneDark does the reverse.
   --accent and --ink keep their meaning (chartreuse, and dark text on chartreuse). */
.toneLight{
  --bg:#F4F2EA; --bg-2:#F4F2EA; --surface:#FBFAF4; --surface-2:#ECE9DE; --deep:#D9D4C4;
  --line:#DDD8C9; --line-2:#CFC9B8; --line-3:#B9B29E;
  --paper:#0F241D; --muted:#4F5E57; --soft:#33443C;
  --stripe-a:#E3DFD1; --stripe-b:#ECE9DE;
  --paper-2:#E9E5D8; --paper-3:#DCD7C7; --paper-line:#CFC9B8; --ink-muted:#4F5E57;
  background:#F4F2EA !important; color:#0F241D !important;
}
/* chartreuse type has no contrast on paper: extruded accent headings become ink on a chartreuse extrusion */
.toneLight .x3d{color:var(--ink);text-shadow:.012em .012em 0 var(--accent),.024em .024em 0 color-mix(in oklab,var(--accent) 85%,black),.036em .036em 0 color-mix(in oklab,var(--accent) 70%,black),.06em .1em .18em rgba(15,36,29,.16)}
.toneLight .x3dw{color:var(--ink);text-shadow:.012em .012em 0 #CFC9B8,.024em .024em 0 #B9B29E,.036em .036em 0 #A39C88,.06em .1em .18em rgba(15,36,29,.14)}

.toneDark{
  --paper:#0F241D; --paper-2:#19352B; --paper-3:#1F3E33; --paper-line:#2E5246;
  --ink-muted:#A7BBB0;
  background:#0F241D !important; color:#F4F2EA !important;
}

.toneDark .x3dk{color:#F4F2EA;text-shadow:.012em .012em 0 var(--accent),.024em .024em 0 color-mix(in oklab,var(--accent) 70%,black),.036em .036em 0 color-mix(in oklab,var(--accent) 50%,black)}
/* the clipboard's sheets and tabs are physical paper: keep them paper on the green section */
.toneDark .pbSheet{--paper:#F4F2EA;--paper-2:#ECE9DE;--paper-3:#E3DFD1;--paper-line:#D5D0C0;--ink-muted:#4F5E57;color:var(--ink)}
.toneDark .pbTab{--paper-3:#E3DFD1;--paper-line:#D5D0C0}
/* a seam reaches up out of its section: clip sideways only */
.seamSec{overflow-x:clip !important;overflow-y:visible !important}
/* Physical objects inside a re-toned section keep the original palette (cards, container,
   certificate, clipboard board, map table): only the section around them changes tone. */
.toneLight .pc,.toneLight .mapStage,.toneDark .pbBoard{
  --bg:#0F241D; --bg-2:#12291F; --surface:#19352B; --surface-2:#1F3E33; --deep:#0A1A14;
  --stripe-a:#1C3A2F; --stripe-b:#17312A; --line:#24443A; --line-2:#2E5246; --line-3:#3B6153;
  --paper:#F4F2EA; --paper-2:#ECE9DE; --paper-3:#E3DFD1; --paper-line:#D5D0C0;
  --muted:#A7BBB0; --soft:#CBD8D0; --ink-muted:#4F5E57;
}
.toneLight .pc .x3d{color:var(--accent);text-shadow:.012em .012em 0 color-mix(in oklab,var(--accent) 72%,black),.024em .024em 0 color-mix(in oklab,var(--accent) 50%,black),.036em .036em 0 color-mix(in oklab,var(--accent) 32%,black),.06em .1em .18em rgba(0,0,0,.4)}
.toneLight .pc .x3dw{color:var(--paper);text-shadow:.012em .012em 0 color-mix(in oklab,var(--paper) 72%,black),.024em .024em 0 color-mix(in oklab,var(--paper) 50%,black),.036em .036em 0 color-mix(in oklab,var(--paper) 32%,black),.06em .1em .18em rgba(0,0,0,.4)}
/* handwritten chartreuse notes need ink on paper */

/* Global on paper: industry chips and the handwritten divider */
.toneLight .gIndLbl span{color:var(--ink)}
.toneLight .gInd span[style*="background: var(--accent)"]{color:var(--ink) !important}
.toneLight .gInd span[style*="background: var(--paper)"]{color:#F4F2EA !important}
/* the laptop stage paints its own dark background, so its seam sits above it */
#world>.seam{z-index:8}
.seamSec{position:relative}
/* room for the seams to bleed into: push each section's content a little below its line */
#world .mbIntro:not(.mbHint){top:95px !important}
#world .mbIntro.mbHint{top:205px !important}
@media (min-width: 1001px){
  /* …and win the height back so each section still fits one screen */
  .hand{--ch:clamp(330px,43vh,430px)}
  #global .mapStage{height:clamp(280px,37vh,470px) !important}
}
@media (min-width: 1001px) and (max-height: 820px){
  
  #global .mapStage{height:clamp(240px,31vh,470px) !important}
}

/* On Stage: the desks start lower, so the seam opens in green above them instead of
   running behind the paper cards (where it blended into them) */

/* ---------- 26. Full-screen sections (desktop) ----------
   Like the message section, every section between the hero and the laptop fills the
   screen with its content centred, which leaves generous green/paper space above and
   below each seam so the bleed reads clearly. Phones keep their natural heights. */
@media (min-width: 1001px){
  #book,#principles,#stage,#ventures,#playbook,#global{
    min-height:100vh;min-height:100svh;box-sizing:border-box;
    display:flex;flex-direction:column;justify-content:center
  }
  #book>*:not(.seam),#principles>*:not(.seam),#stage>*:not(.seam),
  #ventures>*:not(.seam),#playbook>*:not(.seam),#global>*:not(.seam){width:100%;box-sizing:border-box}
}
@media (min-width: 1001px){
  /* these two filled the screen already: trim the cards and the map so they get air too */
  .hand{--ch:clamp(300px,38vh,430px)}
  #global .mapStage{height:clamp(240px,31vh,470px) !important}
}
@media (min-width: 1001px) and (max-height: 820px){
  #global .mapStage{height:clamp(220px,27vh,470px) !important}
}

/* ---------- 27. Ventures: "Signed. Sealed. Shipped." — envelopes (main.js §26) ---------- */
.sv{background:#F4F2EA;color:var(--ink);padding:clamp(48px,7vh,96px) clamp(20px,4vw,48px);--spring:cubic-bezier(.34,1.45,.5,1);--ease:cubic-bezier(.2,.7,.2,1)}
.svIn{position:relative;z-index:5;max-width:1360px;margin:0 auto;display:flex;flex-direction:column;gap:clamp(18px,3.5vh,44px)}
.svHead{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:20px}
.svHeadL{display:flex;flex-direction:column;gap:12px}
.svH{margin:0;font-family:'Big Shoulders Display',sans-serif;font-weight:900;text-transform:uppercase;font-size:clamp(46px,min(6.6vw,9vh),104px);line-height:.88;color:var(--ink)}
.svW{display:inline-block;transform:translateY(.35em) rotate(4deg);transform-origin:0 100%;transition:transform .9s var(--spring)}
.svW:nth-child(2){transition-delay:.08s}.svW:nth-child(3){transition-delay:.16s}
.sv.in .svW{transform:none}
.svHl{padding:0 .1em;background:var(--accent);box-shadow:5px 5px 0 var(--ink)}
.sv.in .svHl{transform:rotate(-2deg)}
.svHeadR{display:flex;flex-direction:column;gap:8px;max-width:380px}
.svHeadR p{margin:0;font-size:16px;line-height:1.5;color:#4F5E57}
.svHint{align-self:flex-end;display:flex;align-items:flex-start;gap:4px;font-family:'Google Sans',system-ui,sans-serif;font-weight:600;font-size:18.7px;line-height:1;color:var(--ink)}
.svHint svg{margin-top:10px;overflow:visible}
.svHint path{fill:none;stroke:var(--ink);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}

/* the desk */
.svDesk{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(24px,4vw,72px);align-items:end}
.env{--c:#19352B;--c2:#1F3E33;--cIn:#0F241D;--ink-on:#F4F2EA;--seal:#C6F35E;--sealInk:#0F241D;
  position:relative;justify-self:center;width:min(100%,560px,64vh);outline:none;cursor:pointer;transform:rotate(-2.2deg);transition:transform .6s var(--spring)}
.env.envK{--c:#E6DCC4;--c2:#EFE7D3;--cIn:#CDBF9F;--ink-on:#0F241D;--seal:#1F5A3A;--sealInk:#F4F2EA;transform:rotate(2deg)}
.env::before{content:"";display:block;padding-top:27%}                      /* headroom for the risen letter */
.env:hover{transform:rotate(0) translateY(-4px)}
.env:focus-visible .envBody{outline:3px solid var(--accent);outline-offset:6px;border-radius:12px}
.envBody{position:relative;aspect-ratio:1.75;perspective:1300px}
.envBack{position:absolute;inset:0;border-radius:10px;background:var(--cIn);box-shadow:0 30px 50px -22px rgba(15,36,29,.55),0 8px 0 rgba(15,36,29,.12)}

/* the letter */
.envLetter{position:absolute;z-index:2;left:5%;right:5%;top:6%;height:124%;box-sizing:border-box;container-type:inline-size;overflow:hidden;
  display:flex;flex-direction:column;gap:1.3cqw;padding:4cqw 5.5cqw 3.6cqw;border-radius:6px;
  background-color:#FBFAF4;background-image:linear-gradient(transparent calc(100% - 1px),rgba(15,36,29,.05) 0);background-size:100% 6.4cqw;
  box-shadow:0 1px 0 rgba(15,36,29,.08),0 18px 30px -16px rgba(15,36,29,.45);color:var(--ink)}
.ltHead{display:flex;align-items:center;gap:3cqw;padding-bottom:1.8cqw;border-bottom:2px solid var(--ink)}

.ltIso{margin-left:auto;display:flex;align-items:center;justify-content:center;width:9.4cqw;height:9.4cqw;border-radius:99px;border:2px solid var(--ink);font-family:'JetBrains Mono',ui-monospace,monospace;font-size:clamp(7px,1.9cqw,10px);font-weight:700;line-height:1.1;text-align:center;transform:rotate(10deg)}
.ltHeadP{flex-direction:column;gap:.8cqw;text-align:center}
.ltSmall{font-family:'JetBrains Mono',ui-monospace,monospace;font-size:clamp(7px,1.8cqw,10px);letter-spacing:.16em;text-transform:uppercase;color:#4F5E57}

.ltCec{color:var(--ink);font-weight:700}
.ltRole{display:flex;align-items:center;gap:2cqw;font-family:'Google Sans',system-ui,sans-serif;font-weight:600;font-size:clamp(13.3px,3.7cqw,19.5px);line-height:1}
.ltRole span{display:inline-flex;align-items:center;justify-content:center;width:6.6cqw;height:5.6cqw;border:2px solid currentColor;border-radius:52% 46% 55% 44% / 50% 58% 42% 50%;font-size:.7em}
.ltBody{margin:0;font-size:clamp(11px,2.75cqw,14px);line-height:1.42;color:#33443C}
.ltTags{display:flex;flex-wrap:wrap;gap:1.2cqw;margin:0;padding:0;list-style:none}
.ltTags li{padding:.6cqw 2cqw;border:1.5px solid var(--ink);border-radius:99px;font-family:'JetBrains Mono',ui-monospace,monospace;font-size:clamp(8px,2.1cqw,11px);font-weight:600;text-transform:uppercase;letter-spacing:.06em}
.ltTags li:nth-child(2){background:var(--accent);border-color:var(--accent)}
.ltFoot{margin-top:auto;display:flex;align-items:flex-end;justify-content:space-between;gap:3cqw;padding-top:1.4cqw;border-top:1.5px dashed rgba(15,36,29,.25)}
.ltSig{font-family:'Ms Madi',cursive;font-size:clamp(24px,7cqw,36px);line-height:.8;color:var(--ink);transform:rotate(-4deg)}
.ltLink{display:inline-flex;align-items:center;gap:6px;font-size:clamp(11px,2.7cqw,14px);font-weight:700;color:var(--ink);text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:3px;white-space:nowrap}
.ltLink:hover{color:var(--ink);text-decoration-color:var(--accent)}

/* the envelope front: an X of creases, a lighter bottom pocket, address, stamp, postmark */
.envFront{position:absolute;inset:0;z-index:3;overflow:hidden;border-radius:10px;color:var(--ink-on);container-type:inline-size;
  background:linear-gradient(to top right,transparent calc(50% - 1px),rgba(0,0,0,.16) 50%,transparent calc(50% + 1px)),
             linear-gradient(to top left,transparent calc(50% - 1px),rgba(0,0,0,.16) 50%,transparent calc(50% + 1px)),var(--c)}
.envFront::before{content:"";position:absolute;inset:0;background:var(--c2);clip-path:polygon(0 100%,50% 50%,100% 100%)}
.envAddr{position:absolute;left:7%;bottom:9%;display:flex;flex-direction:column;font-family:'Google Sans',system-ui,sans-serif;font-weight:600;font-size:clamp(14px,4.4cqw,23.4px);line-height:1}
.envAddr em{font-style:normal;font-size:.62em;opacity:.8}
.envAddr small{margin-top:4px;font-family:'JetBrains Mono',ui-monospace,monospace;font-weight:600;font-size:clamp(8px,1.9cqw,11px);letter-spacing:.1em;text-transform:uppercase;opacity:.85}
.envStamp{position:absolute;top:7%;right:5%;display:flex;flex-direction:column;align-items:center;justify-content:center;width:13cqw;height:15cqw;background:var(--seal);color:var(--sealInk);
  outline:3px dotted #F4F2EA;outline-offset:-3px;transform:rotate(6deg);box-shadow:0 3px 6px rgba(0,0,0,.25)}
.envStamp b{font-family:'Big Shoulders Display',sans-serif;font-weight:900;font-size:clamp(16px,5.6cqw,30px);line-height:.9}
.envStamp small{font-family:'JetBrains Mono',ui-monospace,monospace;font-size:clamp(6px,1.4cqw,8px);font-weight:700;line-height:1.1;text-align:center;text-transform:uppercase}
.envPost{position:absolute;right:6%;bottom:10%;padding:1.2cqw 2.4cqw;border:2px solid currentColor;border-radius:99px;font-family:'JetBrains Mono',ui-monospace,monospace;font-size:clamp(7px,1.7cqw,10px);font-weight:700;letter-spacing:.08em;text-transform:uppercase;opacity:.75;transform:rotate(-8deg)}

/* the flap and the wax seal */
.envFlap{position:absolute;z-index:4;left:0;right:0;top:0;height:58%;transform-origin:50% 0;clip-path:polygon(0 0,100% 0,50% 100%);
  background:linear-gradient(180deg,var(--c2),var(--c) 80%);transition:transform .55s cubic-bezier(.6,.05,.3,1),z-index 0s}
.envFlap::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.14),transparent 30%)}
.envSeal{position:absolute;z-index:5;left:50%;top:58%;width:16%;aspect-ratio:1;margin:-8% 0 0 -8%;display:flex;align-items:center;justify-content:center;
  border-radius:48% 52% 45% 55% / 55% 46% 54% 45%;background:radial-gradient(circle at 38% 32%,color-mix(in oklab,var(--seal) 70%,white),var(--seal) 45%,color-mix(in oklab,var(--seal) 70%,black));
  box-shadow:0 4px 0 color-mix(in oklab,var(--seal) 60%,black),0 10px 18px rgba(0,0,0,.35),inset 0 0 0 4px color-mix(in oklab,var(--seal) 80%,black)}
.envSeal i{font-style:normal;font-family:'Big Shoulders Display',sans-serif;font-weight:900;font-size:clamp(14px,2.2vw,24px);color:var(--sealInk);text-shadow:0 1px 0 rgba(255,255,255,.3)}

/* OPEN: the seal cracks off, the flap swings up and behind, the letter rises out and settles in front */
.env.open .envSeal{animation:svSeal .55s cubic-bezier(.5,0,.75,0) forwards}
@keyframes svSeal{0%{transform:scale(1)}25%{transform:scale(1.18) rotate(8deg)}100%{transform:translateY(260%) rotate(-70deg) scale(.7);visibility:hidden}}
.env.open .envFlap{transform:rotateX(180deg);z-index:1;transition:transform .6s cubic-bezier(.6,.05,.3,1) .25s,z-index 0s .55s}
.env.open .envLetter{animation:svOut 1.15s cubic-bezier(.45,.05,.25,1) .62s forwards}
@keyframes svOut{
  0%{transform:translateY(0);z-index:2;clip-path:inset(-2% -4% 25% -4%)}
  30%{clip-path:inset(-2% -4% -4% -4%)}
  55%{transform:translateY(-92%) rotate(0);z-index:2}
  56%{z-index:6}
  100%{transform:translateY(-44%) rotate(-1.4deg);z-index:6;clip-path:inset(-2% -4% -4% -4%)}}
.env.envK.open .envLetter{animation-name:svOutK}
@keyframes svOutK{
  0%{transform:translateY(0);z-index:2;clip-path:inset(-2% -4% 25% -4%)}
  30%{clip-path:inset(-2% -4% -4% -4%)}
  55%{transform:translateY(-92%) rotate(0);z-index:2}
  56%{z-index:6}
  100%{transform:translateY(-44%) rotate(1.2deg);z-index:6;clip-path:inset(-2% -4% -4% -4%)}}
.env.open:hover .envLetter{translate:0 -6px}
.envLetter{transition:translate .35s var(--spring);clip-path:inset(-2% -4% 25% -4%)}

/* CLOSING (click to reseal): the letter slides back in, the flap folds down, the seal stamps on */
.env.closing .envLetter,.env.envK.closing .envLetter{animation:svBack .8s cubic-bezier(.45,.05,.25,1) forwards}
@keyframes svBack{
  0%{transform:translateY(-44%);z-index:6;clip-path:inset(-2% -4% -4% -4%)}
  40%{transform:translateY(-92%);z-index:6;clip-path:inset(-2% -4% -4% -4%)}
  41%{z-index:2;clip-path:inset(-2% -4% 25% -4%)}
  100%{transform:translateY(0);z-index:2;clip-path:inset(-2% -4% 25% -4%)}}
.env.closing .envFlap{transform:rotateX(0);z-index:4;transition:transform .5s cubic-bezier(.6,.05,.3,1) .7s,z-index 0s .7s}
.env.closing .envSeal{animation:svStamp .45s cubic-bezier(.34,1.6,.5,1) 1.1s both}
@keyframes svStamp{0%{transform:scale(2.2) rotate(-20deg);visibility:hidden}1%{visibility:visible}100%{transform:none}}

@media (max-width: 1000px){
  .svDesk{grid-template-columns:1fr;gap:32px}
  .env{width:min(100%,520px)}
  .svHint{display:none}
}
@media (prefers-reduced-motion: reduce){
  .svW,.env,.envFlap,.envLetter{transition:none}
  .svW{transform:none}
  .env .envSeal{visibility:hidden}
  .env .envFlap{transform:rotateX(180deg);z-index:1}
  .env .envLetter{transform:translateY(-44%);z-index:6;animation:none !important;clip-path:none}
}
@media (min-width: 1001px){
  #ventures{min-height:100vh;min-height:100svh;box-sizing:border-box;display:flex;flex-direction:column;justify-content:center}
  #ventures>*:not(.seam){width:100%;box-sizing:border-box}
}
@media (max-width: 1000px){
  /* on small envelopes the open letter covers most of the front: tuck the address away */
  .env.open .envAddr,.env.open .envPost{visibility:hidden;transition:visibility 0s 1.3s}
}
/* P@SHA letterhead: the association's own logo */
.ltPashaLogo{display:block;width:64cqw;max-width:100%;height:auto;margin:0 auto .4cqw}

/* ---------- 28. More breathing room in every full-screen section (desktop) ---------- */
@media (min-width: 1001px){
  #book,#principles,#stage,#ventures,#playbook,#global{
    padding-top:clamp(72px,11vh,150px) !important;padding-bottom:clamp(72px,11vh,150px) !important}
}

@media (min-width: 1001px) and (max-height: 820px){
  
  #global .mapStage{height:clamp(200px,24vh,470px) !important}
}
@media (min-width: 1001px) and (max-height: 820px){ #playbook{padding-top:70px !important;padding-bottom:70px !important} }

/* ---------- 29. Card hand: stable hover + content that clears the corner index ----------
   The card box (.pc) is the hover target and never moves on hover any more: lifting/sinking
   it slid the box out from under the cursor, hover dropped, it slid back, and so on forever.
   The lift, straighten and grow now happen on the inner face (.pcIn) via independent
   translate/rotate/scale, which leave the hit area where it is. */
.hand.settled .pc:hover,.hand.settled .pc:focus-visible{--lift:0px !important;--rot:1 !important;--sc:1 !important;z-index:10}
.hand.settled:has(.pc:hover) .pc:not(:hover){--lift:0px !important}

/* the card's own content stops above the upside-down corner index */

.pc p{font-size:clamp(11.5px,calc(var(--ch,430px) * .034),14.5px);line-height:1.42}
@media (min-width: 1001px){
  
  .pc h3{font-size:calc(var(--ch) * .064);margin-bottom:calc(var(--ch) * .02)}
}

/* short screens: the upside-down corner index (a decorative copy of the top one) would touch the text */

/* stronger seams: more room above the line for the bites (the JS still caps it at the content above) */
@media (min-width: 761px){ .seam{--seam-up:170px} }
@media (min-width: 761px){ .seam[data-from="--bg"]{--seam-up:110px} }
/* deeper bleed: content sits a little lower in each full-screen section, so the seam has
   room to run before the first line of text (total vertical space about the same) */
@media (min-width: 1001px){
  #book,#principles,#stage,#ventures,#playbook,#global{
    padding-top:clamp(110px,17vh,230px) !important;padding-bottom:clamp(48px,6vh,100px) !important}
}
@media (min-width: 1001px) and (max-height: 820px){ #playbook{padding-top:100px !important;padding-bottom:40px !important} }
@media (min-width: 1001px) and (min-height: 821px) and (max-height: 960px){ #playbook{padding-bottom:36px !important} }

/* ---------- 30. Studio on paper + seams on both of its edges (2026-11-13) ----------
   Stages/sphere (green) -> Studio (paper) -> Footer (green): the green/paper alternation
   carries on below the laptop. #studio uses .toneLight; the night scene, the episode player
   and the dark secondary key keep the original (dark) palette, like the other physical objects. */
:root{--sphBg:#0C1E18}  /* the sphere room's own colour: the studio seam bleeds this down */
.toneLight .stuStage,.toneLight .stuEp,.toneLight .stuKeys .key:not(.keyMain){
  --bg:#0F241D; --bg-2:#12291F; --surface:#19352B; --surface-2:#1F3E33; --deep:#0A1A14;
  --stripe-a:#1C3A2F; --stripe-b:#17312A; --line:#24443A; --line-2:#2E5246; --line-3:#3B6153;
  --paper:#F4F2EA; --paper-2:#ECE9DE; --paper-3:#E3DFD1; --paper-line:#D5D0C0;
  --muted:#A7BBB0; --soft:#CBD8D0; --ink-muted:#4F5E57;
}
.toneLight .stuEp{color:#F4F2EA}
.toneLight .stuStage{box-shadow:0 0 0 1px #0A1A14,0 40px 70px -36px rgba(15,36,29,.55)}
.toneLight .stuKeys .key:not(.keyMain){color:#F4F2EA}
.toneLight .stuKeys .keyMain{color:var(--ink)}
.toneLight .stuP{color:var(--ink-muted)}
.toneLight .stuTopics li{color:var(--ink);border-color:rgba(15,36,29,.45)}
/* seam room: scene sits well below the line; the footer's label too */
@media (min-width: 761px){
  #studio{padding-top:clamp(110px,16vh,200px) !important;padding-bottom:clamp(56px,7vh,100px) !important}
  #contact{padding-top:clamp(120px,17vh,210px) !important}
}
/* the sphere ends straight into the studio seam: no fade-to-colour, no dark band below it */
.sphFade{display:none !important}
.roomCont{padding-bottom:0 !important;background:var(--paper) !important}
#world{background:var(--sphBg) !important}
/* studio fits one screen on desktop: scene on top, then copy (left) + episode player (right) */
@media (min-width: 1001px){
  #studio{padding-top:clamp(96px,14vh,180px) !important;padding-bottom:clamp(40px,6vh,90px) !important}
  #studio .stuIn{gap:clamp(18px,3vh,34px)}
  #studio .stuSvg{height:clamp(230px,35vh,430px) !important;max-height:none !important}
  #studio .stuText{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,560px);column-gap:clamp(28px,4vw,64px);row-gap:12px;
    width:100%;max-width:1200px;text-align:left;justify-items:start;align-items:start}
  #studio .stuText>*{grid-column:1}
  #studio .stuText>.stuEp{grid-column:2;grid-row:1 / span 5;align-self:center;width:100%}
  #studio .stuH{font-size:clamp(44px,5.2vw,84px)}
  #studio .stuTopics,#studio .stuKeys{justify-content:flex-start}
  #studio .stuText .lbl{transform-origin:0 50%}
}
@media (min-width: 1001px) and (max-height: 820px){
  #studio .stuSvg{height:31vh !important}
  #studio{padding-top:92px !important;padding-bottom:34px !important}
  #studio .stuH{font-size:clamp(40px,4.6vw,64px)}
  #studio .stuP{font-size:15.5px;line-height:1.5}
}
@media (max-width: 760px){ #studio{padding-top:104px !important} #contact{padding-top:110px !important} }
@media (min-width: 1001px){#studio .stuEp{box-sizing:border-box}}
@media (min-width: 1001px){#studio .stuEpK{font-size:19px;white-space:nowrap}}
/* sphere: no fade strip at the top either; it starts with a clean straight edge under the rooms strip */
.sphStage{-webkit-mask-image:none !important;mask-image:none !important}
/* sphere bottom: no darkened vignette edge (it read as a hard dark line above the seam) */
.sphStage::after{background-image:radial-gradient(rgba(198,243,94,.35) 1px,transparent 1.6px),radial-gradient(rgba(244,241,232,.16) 1px,transparent 1.5px),linear-gradient(rgba(198,243,94,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(198,243,94,.06) 1px,transparent 1px),radial-gradient(120% 90% at 50% 40%,transparent 50%,rgba(4,12,9,.55) 100%) !important}
/* sphere -> studio seam (data-reveal): the sphere runs on 340px under the studio's top, and the
   studio keeps that strip transparent while its seam is live, so the drips show the real sphere
   (photos continue into the drips) instead of a flat dark band under a hard photo edge */
.sphStage{height:calc(max(560px,min(100vh,940px)) + 340px) !important;margin-bottom:-340px;perspective-origin:50% calc(50% - 170px) !important}
.sphBall{top:calc(50% - 170px) !important}
.sphHint{bottom:368px !important}
#world .roomCont{position:relative;z-index:1}
#studio.seamReveal{background:linear-gradient(transparent 0 var(--seamRoom,0px),#F4F2EA var(--seamRoom,0px)) !important}
@media (max-width: 760px){.sphStage{height:calc(560px + 340px) !important}.sphHint{bottom:360px !important}}
/* rooms strip back above the laptop's arrival page (icons were being covered) */
#world .roomCont{z-index:5 !important}
/* paper -> sphere seam (data-over): drawn over the live sphere, only the bleed is painted */
.sphSeamWrap{position:relative}
.sphSeamWrap>.sph{position:relative;z-index:1}
.sphSeamWrap>.seam{--seam-up:70px !important;z-index:4}
@media (max-width: 760px){.sphSeamWrap>.seam{--seam-up:50px !important}}
/* room for the sphere's ink to rise into the paper above it */
.sphSeamWrap{margin-top:110px}
.sphSeamWrap>.seam{--seam-up:130px !important}
@media (max-width: 760px){.sphSeamWrap{margin-top:70px}.sphSeamWrap>.seam{--seam-up:80px !important}}
/* upper sphere seam removed (looked like stray blobs): clean straight edge, original spacing */
.sphSeamWrap{margin-top:0 !important}
/* the rooms-strip paper is torn open over the top of the sphere ("step inside") */
.sphTear{position:absolute;z-index:3;left:0;top:-2px;width:100%;height:46px;pointer-events:none;overflow:visible}
.tearP{fill:var(--paper)}
.tearSh{fill:rgba(4,12,9,.45)}
.tearF{fill:none;stroke:#FFFEF9;stroke-width:1.4;vector-effect:non-scaling-stroke;stroke-dasharray:2 3;opacity:.9}
@media (max-width: 760px){.sphTear{height:28px}}
.sphTear{height:clamp(40px,4.2vw,72px)}.tearSh{fill:rgba(4,12,9,.55)}
.sphTear{width:100vw !important;left:calc(50% - 50vw) !important}
/* page frozen while the phone lightbox is open (scrollbar too); gutter kept so nothing shifts */
html{scrollbar-gutter:stable}
html.sphOpen,html.sphOpen body{overflow:hidden !important;overscroll-behavior:none}
/* laptop section keeps its own colour: the seam above paints this colour, so the sphere colour here
   showed as a darker band over "Open it up". (The studio seam names --sphBg itself, so it doesn't need it.) */
#world{background:var(--bg) !important}

/* ---------- 31. Badge wall: event badges pinned on a cork board (main.js §27) ----------
   Third tone (cork) on purpose: it sits between On Stage (green) and Ventures (paper), and a
   seam only reads when the two sides differ, so neither green nor paper would work here. */
.bw{--cork:#BE9A68;--bw:clamp(96px,min(7.4vw,13vh),150px);
  background-color:var(--cork);color:var(--ink);padding:clamp(56px,7vh,100px) clamp(20px,4vw,48px);
  background-image:radial-gradient(rgba(90,58,24,.32) 1px,transparent 1.6px),radial-gradient(rgba(255,240,214,.28) 1px,transparent 1.5px),radial-gradient(rgba(90,58,24,.18) 2px,transparent 2.6px),
    radial-gradient(120% 90% at 50% 40%,transparent 55%,rgba(70,44,16,.28) 100%);
  background-size:7px 9px,11px 7px,23px 19px,100% 100%;background-position:0 0,3px 4px,9px 5px,0 0}
.bwIn{max-width:1360px;margin:0 auto;display:flex;flex-direction:column;gap:clamp(16px,2.6vh,28px)}

.bwH{margin:0;font-family:'Big Shoulders Display',sans-serif;font-weight:900;text-transform:uppercase;font-size:clamp(44px,min(5.6vw,9vh),96px);line-height:.88;color:var(--ink)}
.bwH1{text-shadow:.012em .012em 0 #E9DCC4,.024em .024em 0 #D8C5A3,.036em .036em 0 #C5AE86,.06em .1em .18em rgba(60,36,10,.25)}
.bwH2{text-shadow:.012em .012em 0 var(--accent),.024em .024em 0 color-mix(in oklab,var(--accent) 85%,black),.036em .036em 0 color-mix(in oklab,var(--accent) 70%,black),.06em .1em .18em rgba(60,36,10,.25)}

.k-key{--band:#C6F35E;--bandT:#0F241D}
.k-jury{--band:#0F241D;--bandT:#C6F35E}
.k-goh{--band:#F2B66D;--bandT:#0F241D}
.k-intl{--band:#2B5A47;--bandT:#F4F2EA}
.k-evt{--band:#E3DFD1;--bandT:#4F5E57}

/* the board */

/* pinned on / dropped off (movement only) */

@keyframes bwIn{from{transform:translateY(-70px) rotate(calc(var(--r) * -3)) scale(1.08)}to{transform:rotate(var(--r))}}
@keyframes bwPin{from{transform:translateY(-14px) scale(1.6)}to{transform:none}}
@keyframes bwOut{to{transform:translateY(calc(var(--bw) * 3.4)) rotate(calc(var(--r) * -5 + 14deg))}}

/* desktop: one screen, room on top for the seam */
@media (min-width: 1001px){
  #badges{min-height:100vh;min-height:100svh;box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;
    padding-top:clamp(110px,15vh,200px) !important;padding-bottom:clamp(40px,5vh,80px) !important}
  #badges>.bwIn{width:100%}
}
@media (min-width: 1001px) and (max-height: 820px){ #badges{--bw:clamp(90px,min(7vw,12vh),150px);padding-top:96px !important}  .bwH{font-size:clamp(40px,4.6vw,64px)} }
/* phones: one swipeable row per year */
@media (max-width: 760px){
  .bw{--bw:128px;padding-top:110px}
  
  
  
}

/* ---------- 32. Badge wall v2: highlights + "AhmedOS" phone (main.js §27) ---------- */
.aos{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:clamp(28px,4vw,72px);align-items:stretch}
.aosL{display:flex;flex-direction:column;gap:16px;min-width:0}

.aosR{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;min-height:0}
.aosTry{display:flex;align-items:flex-start;gap:4px;margin:0 0 6px;font-family:'Google Sans',system-ui,sans-serif;font-weight:600;font-size:16.4px;line-height:1;color:#4A2E10;white-space:nowrap}
.aosTry svg{width:46px;height:24px;margin-top:6px;fill:none;stroke:#4A2E10;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.aosWrap{position:relative;flex:none}
.aosPh{position:absolute;left:0;top:0;width:360px;height:740px;box-sizing:border-box;padding:11px;border-radius:58px;transform-origin:0 0;
  background:linear-gradient(135deg,#8A8F95,#3C4045 18%,#6E7378 40%,#2B2E32 62%,#7C8186 84%,#4A4E53);
  box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.25),inset 0 0 0 4px #1B1D20,0 40px 70px -24px rgba(50,30,8,.7),0 0 0 1px rgba(0,0,0,.55)}
.aosK{position:absolute;width:4px;border-radius:2px;background:linear-gradient(90deg,#2B2E32,#7C8186)}
.aosK1{left:-3px;top:130px;height:34px}.aosK2{left:-3px;top:186px;height:62px}.aosK3{left:-3px;top:260px;height:62px}.aosK4{right:-3px;top:200px;height:96px;background:linear-gradient(270deg,#2B2E32,#7C8186)}
.aosScr{position:relative;width:100%;height:100%;overflow:hidden;border-radius:48px;color:#F4F2EA;font-family:'Inter Tight',system-ui,sans-serif;
  background:radial-gradient(120% 70% at 20% 0%,#2E6A50 0%,#163A2D 45%,#0A1A14 100%)}
.aosScr::before{content:"";position:absolute;inset:0;background:radial-gradient(rgba(198,243,94,.14) 1px,transparent 1.4px) 0 0/22px 22px;pointer-events:none}
.aosBar{position:absolute;z-index:30;left:0;right:0;top:0;height:46px;display:flex;align-items:center;justify-content:space-between;padding:0 30px 0 34px;font-size:14px;font-weight:700;pointer-events:none}
.aosIsl{position:absolute;left:50%;top:10px;width:110px;height:30px;margin-left:-55px;border-radius:20px;background:#000}
.aosSig{display:flex;align-items:flex-end;gap:2px}.aosSig i{width:3px;background:#fff;border-radius:1px}
.aosSig i:nth-child(1){height:4px}.aosSig i:nth-child(2){height:6px}.aosSig i:nth-child(3){height:8px}.aosSig i:nth-child(4){height:10px}
.aosSig em{width:21px;height:10px;margin-left:5px;border-radius:3px;border:1.5px solid #fff;box-sizing:border-box;background:linear-gradient(90deg,#C6F35E 0 80%,transparent 80%)}
.aosHome{position:absolute;inset:0;padding:62px 20px 0;display:flex;flex-direction:column;gap:18px}
.aosWid{display:flex;flex-direction:column;gap:2px;padding:16px 18px;border-radius:24px;background:rgba(244,242,234,.1);box-shadow:inset 0 0 0 1px rgba(244,242,234,.14)}
.aosWk{font-family:'JetBrains Mono',monospace;font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:#C6F35E}
.aosWid b{font-family:'Big Shoulders Display',sans-serif;font-weight:900;font-size:56px;line-height:.9}
.aosWn{font-family:'Google Sans',system-ui,sans-serif;font-weight:600;font-size:20.3px;line-height:1;color:#C6F35E;margin-top:4px}
.aosWr{font-size:12px;color:#B9C9C0}
.aosGrid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px 8px}
.aosDock{position:absolute;left:12px;right:12px;bottom:26px;display:grid;grid-template-columns:repeat(4,1fr);padding:12px 8px;border-radius:30px;background:rgba(244,242,234,.14);box-shadow:inset 0 0 0 1px rgba(244,242,234,.16)}
.aosDock .aLbl{display:none}
.aIc{all:unset;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;gap:6px;cursor:pointer;text-decoration:none}
.aIc:focus-visible .aTile{outline:2px solid #C6F35E;outline-offset:3px}
.aTile{position:relative;display:grid;place-items:center;width:60px;height:60px;border-radius:16px;box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 6px 12px -4px rgba(0,0,0,.5);transition:transform .15s}
.aIc:active .aTile{transform:scale(.9)}
.aTile svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.aLbl{font-size:11px;font-weight:600;color:#F4F2EA;text-shadow:0 1px 2px rgba(0,0,0,.5)}
.aE{background:#FBFAF4;color:#0F241D}.aT{background:#0F241D;color:#C6F35E;box-shadow:inset 0 0 0 1.5px #2E5246,0 6px 12px -4px rgba(0,0,0,.5)}
.aP{background:linear-gradient(160deg,#F4F2EA,#D9D4C4);color:#0F241D}.aM{background:#C6F35E;color:#0F241D}
.aK{background:linear-gradient(160deg,#D8FA8C,#A9D94A);color:#0F241D}.aA{background:linear-gradient(160deg,#F7CB86,#E09A3E);color:#3A2408}
.aG{background:linear-gradient(160deg,#2E6A50,#163A2D);color:#F4F2EA}.aJ{background:#0F241D;color:#F2B66D}
.aC{background:#F4F2EA;color:#2E6A50}.aU{background:#2B5A47;color:#F4F2EA}.aR{background:#F2B66D;color:#0F241D}.aY{background:#E3DFD1;color:#0F241D}
.aCal{display:flex;flex-direction:column;align-items:center;line-height:1}
.aCal b{font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#2F7A3E}
.aCal i{font-style:normal;font-family:'Big Shoulders Display',sans-serif;font-weight:900;font-size:30px}
.aFold{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:9px;background:rgba(244,242,234,.22);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.aMini{display:grid;place-items:center;width:18px;height:18px;border-radius:5px}
.aMini svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:2.4}
.aosHomeBar{all:unset;position:absolute;z-index:40;left:50%;bottom:8px;width:130px;height:5px;margin-left:-65px;border-radius:3px;background:rgba(244,242,234,.85);cursor:pointer}
.aosHomeBar::before{content:"";position:absolute;inset:-12px -10px}
/* folder */
.aFolderOv{position:absolute;inset:0;z-index:20;display:grid;place-items:center;background:rgba(5,14,11,.55)}
.aFolder{width:250px;padding:18px 16px 20px;border-radius:30px;background:rgba(244,242,234,.16);box-shadow:inset 0 0 0 1px rgba(244,242,234,.2);animation:aPop .32s cubic-bezier(.2,.9,.3,1.1) both}
.aFolder h4{margin:0 0 14px 4px;font-size:22px;font-weight:700}
.aFGrid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px 6px}
.aFolderOv.out .aFolder{animation:aPopOut .28s cubic-bezier(.6,0,.8,.3) both}
@keyframes aPop{from{transform:scale(.18)}to{transform:none}}
@keyframes aPopOut{to{transform:scale(.18)}}
/* app pages */
.aosStack{position:absolute;inset:0;z-index:10;pointer-events:none}
.aPg{position:absolute;inset:0;pointer-events:auto;background:#F4F2EA;color:#0F241D;border-radius:48px;overflow:hidden}
.aPg.dark{background:#050A08;color:#F4F2EA}
.aPg.zoomIn{animation:aZoom .42s cubic-bezier(.2,.85,.25,1) both}
.aPg.zoomOut{animation:aZoomOut .34s cubic-bezier(.6,0,.85,.4) both}
.aPg.slideIn{animation:aSlide .38s cubic-bezier(.2,.85,.25,1) both}
.aPg.slideOut{animation:aSlideOut .32s cubic-bezier(.6,0,.85,.4) both}
@keyframes aZoom{from{transform:scale(.12);border-radius:80px}to{transform:none}}
@keyframes aZoomOut{to{transform:scale(.1);border-radius:80px}}
@keyframes aSlide{from{transform:translateX(100%)}to{transform:none}}
@keyframes aSlideOut{to{transform:translateX(100%)}}
.aPgIn{position:absolute;inset:0;overflow-y:auto;overscroll-behavior:contain;padding:54px 18px 40px;scrollbar-width:none}
.aPgIn::-webkit-scrollbar{display:none}
.aBack{all:unset;cursor:pointer;font-size:15px;font-weight:600;color:#2F7A3E}
.dark .aBack{color:#C6F35E}
.aTitle{margin:6px 0 0;font-family:'Big Shoulders Display',sans-serif;font-weight:900;font-size:40px;line-height:.95;text-transform:uppercase}
.aSub{margin:2px 0 12px;font-family:'Google Sans',system-ui,sans-serif;font-weight:600;font-size:14.8px;color:#4F5E57}
.aSeg{position:sticky;top:-54px;z-index:2;display:flex;gap:4px;padding:4px;margin:0 -2px 10px;border-radius:12px;background:#E3DFD1}
.aSeg button{all:unset;flex:1;text-align:center;padding:6px 0;border-radius:9px;font-size:12px;font-weight:700;cursor:pointer;color:#4F5E57}
.aSeg button.on{background:#0F241D;color:#C6F35E}
.aList{list-style:none;margin:0;padding:0}
.aSec{position:sticky;top:-16px;z-index:1;padding:10px 2px 4px;background:#F4F2EA;font-family:'Big Shoulders Display',sans-serif;font-weight:900;font-size:22px;color:#2E6A50}
.aRow{all:unset;box-sizing:border-box;display:flex;align-items:center;gap:10px;width:100%;padding:9px 2px;border-bottom:1px solid #DDD8C9;cursor:pointer}
.aRow:hover{background:#ECE9DE}
.aDt{flex:none;display:flex;flex-direction:column;align-items:center;justify-content:center;width:42px;height:44px;border-radius:9px;background:#FBFAF4;box-shadow:inset 0 0 0 1px #DDD8C9;line-height:1}
.aDt b{font-size:9px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#2F7A3E}
.aDt i{font-style:normal;font-family:'Big Shoulders Display',sans-serif;font-weight:900;font-size:20px}
.aDt i.sm{font-size:13px}
.aRt{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
.aRt b{font-size:13.5px;line-height:1.2}
.aRt span{font-size:11.5px;color:#4F5E57;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.aGo{flex:none;width:7px;height:7px;border-top:2px solid #9AA49F;border-right:2px solid #9AA49F;transform:rotate(45deg);margin-right:4px}
.aChip{flex:none;padding:3px 7px;border-radius:999px;font-size:9.5px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap}
.aChip.big{font-size:11px;padding:5px 10px}
.c-key{background:#C6F35E;color:#0F241D}.c-jury{background:#0F241D;color:#C6F35E}.c-goh{background:#F2B66D;color:#0F241D}.c-intl{background:#2B5A47;color:#F4F2EA}.c-evt{background:#E3DFD1;color:#4F5E57}
.aEmpty{padding:20px 0;color:#4F5E57}
.aDet{padding-top:10px}
.aDet h4{margin:12px 0 14px;font-family:'Big Shoulders Display',sans-serif;font-weight:900;font-size:30px;line-height:.95;text-transform:uppercase}
.aDet dl{margin:0;display:grid;grid-template-columns:auto 1fr;gap:8px 12px;font-size:13.5px}
.aDet dt{font-family:'JetBrains Mono',monospace;font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:#4F5E57;padding-top:3px}
.aDet dd{margin:0}
.aSrc{margin:22px 0 0;font-family:'Google Sans',system-ui,sans-serif;font-weight:600;font-size:14px;color:#2E6A50}
.aBtn{display:inline-flex;margin-top:18px;padding:10px 16px;border-radius:12px;background:#C6F35E;color:#0F241D;font-weight:700;font-size:14px;text-decoration:none;box-shadow:0 4px 0 #8FB33A}
.aPlayer{aspect-ratio:16/9;margin:6px -6px 12px;border-radius:14px;overflow:hidden;background:#000}
.aPlayer iframe{display:block;width:100%;height:100%;border:0}
.aVids{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:16px}
.aVid{all:unset;box-sizing:border-box;display:flex;flex-direction:column;gap:5px;width:100%;cursor:pointer}
.aThumb{position:relative;display:block;aspect-ratio:16/9;border-radius:14px;background:#0F241D center/cover no-repeat;box-shadow:0 8px 16px -8px rgba(0,0,0,.5)}
.aPlay{position:absolute;left:50%;top:50%;width:46px;height:46px;margin:-23px 0 0 -23px;border-radius:50%;background:#C6F35E;box-shadow:0 4px 0 #8FB33A}
.aPlay::after{content:"";position:absolute;left:18px;top:14px;border-left:14px solid #0F241D;border-top:9px solid transparent;border-bottom:9px solid transparent}
.aThumb em{position:absolute;left:10px;top:10px;padding:3px 8px;border-radius:6px;background:rgba(0,0,0,.65);color:#fff;font-style:normal;font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.aVid b{font-size:15px}.aVid span{font-size:12px;color:#4F5E57}
.aPics{display:grid;grid-template-columns:repeat(3,1fr);gap:3px;margin:0 -10px}
.aPic{all:unset;aspect-ratio:1;cursor:pointer;overflow:hidden;background:#DDD8C9}
.aPic img{width:100%;height:100%;object-fit:cover;display:block}
.aView{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center}
.aView img{width:100%;max-height:74%;object-fit:contain}
.aView p{margin:14px 20px 0;display:flex;flex-direction:column;gap:2px}
.aView b{font-family:'Google Sans',system-ui,sans-serif;font-size:23.4px;color:#C6F35E;line-height:1}
.aView span{font-size:13px;color:#B9C9C0}
.dark .aBack{position:relative;z-index:2}
.aStamps{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding-top:6px}
.aStamp{display:flex;flex-direction:column;align-items:center;text-align:center;gap:2px;padding:12px 8px;border:2.5px dashed currentColor;border-radius:50%/42%;aspect-ratio:1;justify-content:center;transform:rotate(var(--r));box-sizing:border-box}
.aStamp b{font-family:'Big Shoulders Display',sans-serif;font-weight:900;font-size:30px;line-height:.9}
.aStamp span{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em}
.aStamp i{font-style:normal;font-family:'Google Sans',system-ui,sans-serif;font-weight:600;font-size:12.5px}
.aStamp em{font-style:normal;font-size:9.5px;line-height:1.25;opacity:1;color:#4F5E57}
.s0{color:#2F7A3E}.s2{color:#2A4F8A}
.aCards{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.aCard{display:flex;flex-direction:column;gap:4px;padding:14px 14px 12px;border-radius:16px;background:#FBFAF4;box-shadow:inset 0 0 0 1px #DDD8C9,0 6px 12px -8px rgba(0,0,0,.3)}
.aCk{font-family:'JetBrains Mono',monospace;font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:#2F7A3E}
.aCard b{font-family:'Big Shoulders Display',sans-serif;font-weight:900;font-size:22px;line-height:1;text-transform:uppercase}
.aCard>span{font-size:12.5px;color:#4F5E57}
.aCard i{font-style:normal;font-family:'JetBrains Mono',monospace;font-size:11px;color:#0F241D}
@media (prefers-reduced-motion: reduce){.aPg,.aFolder{animation:none !important}}
/* layout: one screen on desktop, stacked on phones */
@media (min-width: 1001px){
  #badges>.aos{flex:1;min-height:0}
  #badges{padding-bottom:clamp(28px,4vh,60px) !important}
}
@media (max-width: 1000px){
  .aos{grid-template-columns:1fr}
  
  
  .aosTry{white-space:normal;font-size:14.8px}
}

.aosBar{transition:color .2s}
.aosScr.lit .aosBar{color:#0F241D}
.aosScr.lit .aosSig i{background:#0F241D}.aosScr.lit .aosSig em{border-color:#0F241D}
.aFolderOv{background:rgba(5,14,11,.72)}
.aFolder{background:rgba(31,62,51,.96);box-shadow:inset 0 0 0 1px rgba(244,242,234,.18),0 20px 40px -10px rgba(0,0,0,.6)}

/* ---------- 33. "On the record" (paper ledger) + AhmedOS everyday apps (main.js §27) ----------
   Paper with the site's graph grid instead of cork: it sits between On Stage (green) and
   Ventures (paper), so only the top seam shows; the Ventures seam is data-down="0". */
#badges.bw{background-color:var(--paper) !important;
  background-image:linear-gradient(rgba(15,36,29,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(15,36,29,.055) 1px,transparent 1px) !important;
  background-size:28px 28px !important;background-position:center top !important}
.bwH1{text-shadow:.012em .012em 0 #CFC9B8,.024em .024em 0 #B9B29E,.036em .036em 0 #A39C88,.06em .1em .18em rgba(15,36,29,.14) !important}
.aosTry{color:var(--ink) !important}.aosTry svg{stroke:var(--ink) !important}
/* the ledger */
.rec{list-style:none;margin:6px 0 0;padding:0;counter-reset:rec;border-top:2px solid var(--ink)}
.rec li{border-bottom:1.5px dashed rgba(15,36,29,.28)}

@media (min-width: 1001px){ .aosL{justify-content:flex-start;gap:clamp(10px,1.6vh,18px)} }

/* new tiles */
.aClk{background:#0F241D;box-shadow:inset 0 0 0 1.5px #2E5246,0 6px 12px -4px rgba(0,0,0,.5)}
.aClkF{position:relative;width:40px;height:40px;border-radius:50%;background:#FBFAF4}
.aClkF i{position:absolute;left:50%;bottom:50%;width:3px;margin-left:-1.5px;border-radius:2px;background:#0F241D;transform-origin:50% 100%}
.aClkF .h{height:11px}.aClkF .m{height:16px;width:2px;margin-left:-1px}
.aClkF .dot{left:50%;top:50%;bottom:auto;width:5px;height:5px;margin:-2.5px 0 0 -2.5px;border-radius:50%;background:#C6F35E}
.aCalc{background:linear-gradient(160deg,#3A423F,#1E2422);color:#F2B66D}
.aSet{background:linear-gradient(160deg,#9AA49F,#5E6863);color:#F4F2EA}
.aE .aCal b{color:#B4462F}
/* calendar */
.cHead,.cGrid{display:grid;grid-template-columns:repeat(7,1fr);text-align:center}
.cHead span{font-size:11px;font-weight:700;color:#4F5E57;padding:4px 0}
.cGrid{gap:3px 0}
.cD{all:unset;position:relative;justify-self:center;width:34px;height:34px;display:grid;place-items:center;border-radius:50%;font-size:14px;font-weight:600;cursor:pointer}
.cD.has::after{content:"";position:absolute;bottom:3px;left:50%;width:5px;height:5px;margin-left:-2.5px;border-radius:50%;background:#2F7A3E}
.cD.today{background:#0F241D;color:#C6F35E}.cD.today.has::after{background:#C6F35E}
.cD.sel{box-shadow:inset 0 0 0 2px #2F7A3E}
.cOn{margin:16px 0 4px;font-family:'Google Sans',system-ui,sans-serif;font-weight:600;font-size:16.4px;color:#2E6A50}
/* clock */
.kList{list-style:none;margin:0;padding:0}
.kList li{display:flex;align-items:center;justify-content:space-between;padding:11px 2px;border-bottom:1px solid #DDD8C9}
.kList span{display:flex;flex-direction:column;gap:2px}.kList b{font-size:16px}.kList i{font-style:normal;font-size:11.5px;color:#4F5E57}
.kList em{font-style:normal;font-family:'Big Shoulders Display',sans-serif;font-weight:800;font-size:34px;line-height:1;font-variant-numeric:tabular-nums}
.sw{display:flex;flex-direction:column;align-items:center;gap:30px;padding-top:40px}
.sw b{font-family:'JetBrains Mono',monospace;font-weight:500;font-size:46px;font-variant-numeric:tabular-nums}
.sw div{display:flex;gap:40px}
.swB{all:unset;width:76px;height:76px;border-radius:50%;display:grid;place-items:center;font-size:14px;font-weight:700;cursor:pointer;background:#E3DFD1;color:#0F241D;box-shadow:inset 0 0 0 3px #F4F2EA,0 0 0 2px #E3DFD1}
.swB.go{background:#C6F35E;box-shadow:inset 0 0 0 3px #F4F2EA,0 0 0 2px #C6F35E}
.swB.stop{background:#F2B66D;box-shadow:inset 0 0 0 3px #F4F2EA,0 0 0 2px #F2B66D}
/* calculator */
.calc{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:flex-end;padding:0 16px 40px}
.calc output{display:block;padding:0 8px 14px;text-align:right;font-weight:300;font-size:64px;line-height:1;color:#F4F2EA;font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden}
.cKeys{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.cK{all:unset;aspect-ratio:1;display:grid;place-items:center;border-radius:50%;background:#2B302E;color:#F4F2EA;font-size:26px;font-weight:500;cursor:pointer;transition:filter .1s}
.cK:active{filter:brightness(1.4)}
.cK.fn{background:#A7BBB0;color:#0F241D;font-size:20px}
.cK.op{background:#C6F35E;color:#0F241D;font-size:28px}
.cK.op.on{background:#F4F2EA}
.cK.zero{grid-column:span 2;aspect-ratio:auto;border-radius:40px;justify-items:start;padding-left:26px}
.dark .aBack{position:absolute;top:54px;left:18px}
/* settings */
.sProf{display:flex;align-items:center;gap:14px;padding:14px;border-radius:16px;background:#FBFAF4;box-shadow:inset 0 0 0 1px #DDD8C9;margin-bottom:14px}
.sAv{display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:#0F241D;color:#C6F35E;font-family:'Big Shoulders Display',sans-serif;font-weight:900;font-size:22px}
.sProf b{display:block;font-size:17px}.sProf i{font-style:normal;font-size:12px;color:#4F5E57}
.sList{list-style:none;margin:0 0 14px;padding:0 14px;border-radius:16px;background:#FBFAF4;box-shadow:inset 0 0 0 1px #DDD8C9}
.sList li{border-bottom:1px solid #E3DFD1}.sList li:last-child{border-bottom:0}
.sList li,.sList a{display:flex;justify-content:space-between;gap:10px;padding:12px 0;font-size:13.5px;color:#0F241D;text-decoration:none}
.sList a{width:100%;padding:0}.sList li:has(a){padding:12px 0}
.sList em{font-style:normal;color:#4F5E57;text-align:right}
.aosScr{touch-action:pan-y}
.aosHome{touch-action:none}

/* ---------- 34. On the record goes chartreuse (its own tone between On Stage green and Ventures paper) ---------- */
#badges.bw{background-color:var(--accent) !important;
  background-image:linear-gradient(rgba(15,36,29,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(15,36,29,.07) 1px,transparent 1px) !important}
#badges .bwH1{color:var(--ink);text-shadow:.012em .012em 0 #A9D94A,.024em .024em 0 #8FBF35,.036em .036em 0 #76A325,.06em .1em .18em rgba(15,36,29,.25) !important}
#badges .bwH2{color:#F4F2EA;text-shadow:.012em .012em 0 #0F241D,.024em .024em 0 #0F241D,.036em .036em 0 #0F241D,.06em .1em .18em rgba(15,36,29,.3) !important}
#badges .rec{border-top-color:var(--ink)}
#badges .rec li{border-bottom-color:rgba(15,36,29,.3)}

#badges .aosPh{box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.25),inset 0 0 0 4px #1B1D20,0 40px 70px -24px rgba(15,36,29,.65),0 0 0 1px rgba(0,0,0,.55)}
/* evidence photos inside the apps */
.aStrip{margin-top:14px}
.aStripK{display:block;margin-bottom:6px;font-family:'JetBrains Mono',monospace;font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:#2F7A3E}
.aStrip>div{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}
.aStrip>div::-webkit-scrollbar{display:none}
.aTh{all:unset;flex:none;width:82px;height:82px;border-radius:10px;overflow:hidden;cursor:pointer;background:#DDD8C9}
.aTh img{width:100%;height:100%;object-fit:cover;display:block}
.aCard .aStrip{margin-top:10px}
.aAlbums{display:grid;grid-template-columns:1fr 1fr;gap:14px 10px}
.aAlb{all:unset;display:flex;flex-direction:column;gap:3px;cursor:pointer;min-width:0}
.aAlbC{display:block;aspect-ratio:1;border-radius:12px;background:#DDD8C9 center/cover no-repeat;box-shadow:0 6px 12px -8px rgba(0,0,0,.4)}
.aAlb b{font-size:12.5px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.aAlb i{font-style:normal;font-size:11px;color:#4F5E57}
/* messages */
.aPg.msg .aPgIn{display:flex;flex-direction:column;padding-bottom:20px}
.mHead{display:flex;flex-direction:column;align-items:center;gap:3px;padding:2px 0 12px;border-bottom:1px solid #DDD8C9}
.mHead .sAv{width:46px;height:46px;font-size:19px}
.mHead b{font-size:15px}.mHead i{font-style:normal;font-size:11px;color:#4F5E57}
.mLog{flex:1;display:flex;flex-direction:column;gap:8px;padding:14px 0}
.mSys{align-self:center;max-width:90%;margin:0;text-align:center;font-size:11.5px;line-height:1.4;color:#4F5E57}
.mSys a,.mCopy{all:unset;color:#2F7A3E;font-weight:700;text-decoration:underline;cursor:pointer}
.mOut{align-self:flex-end;max-width:78%;margin:0;padding:9px 13px;border-radius:18px 18px 4px 18px;background:#0F241D;color:#F4F2EA;font-size:13.5px;line-height:1.35;white-space:pre-wrap;word-break:break-word}
.mQuick{display:flex;flex-wrap:wrap;gap:6px;padding-bottom:10px}
.mQuick button{all:unset;padding:6px 10px;border-radius:999px;background:#E3DFD1;font-size:11.5px;font-weight:600;cursor:pointer}
.mQuick button:hover{background:#C6F35E}
.mBar{display:flex;align-items:flex-end;gap:8px;padding:8px;border-radius:22px;background:#FBFAF4;box-shadow:inset 0 0 0 1px #DDD8C9}
.mBar textarea{flex:1;resize:none;border:0;outline:0;background:none;font:14px/1.35 'Inter Tight',sans-serif;color:#0F241D;padding:5px 6px}
.mBar button{all:unset;flex:none;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#C6F35E;color:#0F241D;font-weight:800;cursor:pointer}

/* ---------- 35. On the record: tabs + photo wall (left), opens records on the phone (main.js §27) ---------- */
.rw{flex:1;min-height:0;display:flex;flex-direction:column;gap:10px}

@media (max-width: 1000px){
  .rw{flex:none}
  
  
}
@media (min-width: 1001px){
  #badges{height:100vh;height:100svh;max-height:100svh}
  #badges>.aos{grid-template-rows:minmax(0,1fr)}
  #badges .aosL{min-height:0;overflow:visible}
}

/* ---------- 36. Photo wall v2: filters, year groups, stamps, next-year cue ---------- */

/* ---------- 37. Photo wall: certificate face for records with no photo ---------- */

/* ---------- 38. On the record: soft sage instead of chartreuse (between On Stage green and Ventures paper) ---------- */
#badges.bw{--bwBg:#DCE5D1;background-color:var(--bwBg) !important;
  background-image:linear-gradient(rgba(15,36,29,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(15,36,29,.06) 1px,transparent 1px) !important}
#badges .bwH1{color:var(--ink);text-shadow:.012em .012em 0 #BCC9AF,.024em .024em 0 #A6B597,.036em .036em 0 #90A181,.06em .1em .18em rgba(15,36,29,.18) !important}
#badges .bwH2{color:var(--ink);text-shadow:.012em .012em 0 #C6F35E,.024em .024em 0 #C6F35E,.036em .036em 0 #A9D94A,.06em .1em .18em rgba(15,36,29,.2) !important}

/* ---------- 39. Phone: wallpaper, notification centre, control centre, app switcher, saved messages ---------- */
.aosScr{background:#0B0708 url(../img/phone-wallpaper.jpg) center top/cover no-repeat}
.aosScr::before{display:none}
.aosWid{background:rgba(20,10,12,.38);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:inset 0 0 0 1px rgba(255,220,230,.14)}
.aosDock{background:rgba(30,16,20,.42);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:inset 0 0 0 1px rgba(255,220,230,.14)}
.aosBar{z-index:31}
.aosScr.ov .aosBar{color:#F4F2EA !important}
.aosScr.ov .aosSig i{background:#F4F2EA !important}.aosScr.ov .aosSig em{border-color:#F4F2EA !important}
.aosScr.air .aosSig i{opacity:.25}
.aosScr.air .aosSig::before{content:"✈";font-size:11px;margin-right:4px}
.aosScr.dnd .aosBar b::after{content:"";display:inline-block;width:11px;height:11px;margin-left:5px;vertical-align:-1px;background:#A5A3FF;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%274 3 17 17%27%3E%3Cpath d=%27M11.5 3.6A8 8 0 1 0 20.4 12.5 6.5 6.5 0 0 1 11.5 3.6z%27/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%274 3 17 17%27%3E%3Cpath d=%27M11.5 3.6A8 8 0 1 0 20.4 12.5 6.5 6.5 0 0 1 11.5 3.6z%27/%3E%3C/svg%3E") center/contain no-repeat}
.aosDim{position:absolute;inset:0;z-index:45;background:#000;opacity:0;pointer-events:none;border-radius:48px}
.aosPull{position:absolute;z-index:35;left:0;right:0;top:0;height:46px;cursor:grab;touch-action:none}
.aosHomeBar{touch-action:none;cursor:grab}
.aosStack{transform-origin:50% 100%;transition:transform .3s cubic-bezier(.2,.85,.25,1)}
.aStrip>div,.swRow{touch-action:pan-x pan-y;cursor:grab}
.aStrip>div:active,.swRow:active{cursor:grabbing}
/* keyboard-only shortcuts */
.aosKb{position:absolute;left:0;top:0;z-index:50}
.aosKb button{position:absolute;left:8px;top:8px;transform:translateY(-200%);padding:6px 10px;border-radius:8px;border:0;background:#C6F35E;color:#0F241D;font:700 12px 'Inter Tight',sans-serif;white-space:nowrap}
.aosKb button:focus-visible{transform:none;outline:2px solid #0F241D}
/* sheets */
.aosOv{position:absolute;inset:0;z-index:28;transform:translateY(-100%);transition:transform .42s cubic-bezier(.2,.85,.25,1);pointer-events:none;color:#F4F2EA;
  background:rgba(14,8,10,.72);-webkit-backdrop-filter:blur(22px) saturate(1.3);backdrop-filter:blur(22px) saturate(1.3);border-radius:48px;overflow:hidden}
.aosOv.open{transform:none;pointer-events:auto}
.aosOv.drag,.aosOv.instant{transition:none}
.aosNC.peek{transform:translateY(calc(-100% + 120px));transition:transform .5s cubic-bezier(.3,1.4,.5,1)}
.ovScroll{position:absolute;inset:0;overflow-y:auto;overscroll-behavior:contain;padding:52px 14px 40px;scrollbar-width:none}
.ovScroll::-webkit-scrollbar{display:none}
.ovGrab{position:absolute;left:50%;bottom:12px;width:44px;height:5px;margin-left:-22px;border-radius:3px;background:rgba(244,242,234,.5)}
.ncLock{display:flex;flex-direction:column;align-items:center;padding:8px 0 18px}
.ncLock span{font-size:15px;font-weight:600}
.ncLock b{font-family:'Big Shoulders Display',sans-serif;font-weight:800;font-size:78px;line-height:.9;letter-spacing:-.01em}
.ncHead{display:flex;justify-content:space-between;align-items:center;padding:0 4px 8px}
.ncHead b{font-size:18px}.ncHead span{min-width:22px;height:22px;border-radius:11px;display:grid;place-items:center;background:#C6F35E;color:#0F241D;font-size:12px;font-weight:800}
.ncN{all:unset;box-sizing:border-box;display:flex;gap:10px;width:100%;margin-bottom:8px;padding:11px 12px;border-radius:20px;cursor:pointer;
  background:rgba(244,242,234,.16);box-shadow:inset 0 0 0 1px rgba(244,242,234,.1);transition:transform .15s}
.ncN:hover{background:rgba(244,242,234,.22)}.ncN:active{transform:scale(.97)}
.ncN:focus-visible{outline:2px solid #C6F35E}
.ncI.aTile{flex:none;width:38px;height:38px;border-radius:10px}
.ncI svg{width:20px;height:20px}
.ncI .aCal b{font-size:7px}.ncI .aCal i{font-size:17px}
.ncN>span{display:flex;flex-direction:column;gap:1px;min-width:0;flex:1}
.ncT{display:flex;justify-content:space-between;gap:8px}
.ncT b{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;opacity:.8}.ncT i{font-style:normal;font-size:11px;opacity:.65}
.ncN em{font-style:normal;font-size:13.5px;font-weight:700}
.ncN>span>span:last-child{font-size:12.5px;line-height:1.3;opacity:.9;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ncFocus{display:flex;flex-direction:column;align-items:center;gap:4px;padding:30px 0;text-align:center;font-size:13px;opacity:.85}
.ncFocus b{font-size:16px;color:#C6F35E}
/* control centre */
.ccGrid{display:grid;grid-template-columns:repeat(4,1fr);grid-auto-rows:70px;gap:12px;padding-top:26px}
.ccBox{border-radius:22px;background:rgba(244,242,234,.16);box-shadow:inset 0 0 0 1px rgba(244,242,234,.1)}
.ccConn{grid-column:span 2;grid-row:span 2;display:grid;grid-template-columns:1fr 1fr;place-items:center;padding:10px}
.ccR{all:unset;width:54px;height:54px;border-radius:50%;display:grid;place-items:center;cursor:pointer;background:rgba(244,242,234,.22);color:#F4F2EA}
.ccR svg,.ccSq svg,.ccFocus svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.ccR.on.k-air{background:#F2B66D;color:#2A1806}
.ccR.on.k-cell{background:#C6F35E;color:#0F241D}
.ccR.on.k-wifi,.ccR.on.k-bt{background:#3B7BF6;color:#fff}
.ccNow{all:unset;box-sizing:border-box;grid-column:span 2;grid-row:span 2;position:relative;display:flex;flex-direction:column;justify-content:flex-end;gap:2px;padding:12px;cursor:pointer;
  border-radius:22px;background:rgba(244,242,234,.16);box-shadow:inset 0 0 0 1px rgba(244,242,234,.1)}
.ccArt{position:absolute;left:12px;top:12px;width:56px;height:56px;border-radius:12px;background:#222 center/cover}
.ccNow b{font-size:14px}.ccNow>span{font-size:11px;opacity:.75}
.ccPlay{position:absolute;right:12px;top:22px;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#C6F35E;color:#0F241D}
.ccPlay svg{width:16px;height:16px;fill:currentColor}
.ccFocus{all:unset;box-sizing:border-box;grid-column:span 2;display:flex;align-items:center;gap:10px;padding:0 14px;cursor:pointer;border-radius:22px;background:rgba(244,242,234,.16);box-shadow:inset 0 0 0 1px rgba(244,242,234,.1)}
.ccFocus span{display:flex;flex-direction:column}.ccFocus b{font-size:13px}.ccFocus i{font-style:normal;font-size:11px;opacity:.7}
.ccFocus.on{background:#F4F2EA;color:#4B2E83}
.ccSl{position:relative;grid-row:span 2;border-radius:22px;overflow:hidden;cursor:ns-resize;touch-action:none;background:rgba(244,242,234,.18)}
.ccSl i{position:absolute;left:0;right:0;bottom:0;background:#F4F2EA}
.ccSl svg{position:absolute;left:50%;bottom:14px;width:24px;height:24px;margin-left:-12px;fill:none;stroke:#3A2A2E;stroke-width:2;stroke-linecap:round}
.ccSl:focus-visible{outline:2px solid #C6F35E}
.ccSq{all:unset;display:grid;place-items:center;border-radius:50%;width:62px;height:62px;justify-self:center;align-self:center;cursor:pointer;background:rgba(244,242,234,.16);color:#F4F2EA}
.ccSq.on{background:#F4F2EA;color:#0F241D}

.ccSq:focus-visible,.ccR:focus-visible,.ccFocus:focus-visible,.ccNow:focus-visible{outline:2px solid #C6F35E;outline-offset:2px}
.ccFoot{margin:16px 0 0;text-align:center;font-size:11.5px;opacity:.6}
.aosScr.torch::after{content:"";position:absolute;z-index:44;left:50%;top:-30px;width:260px;height:120px;margin-left:-130px;border-radius:50%;background:radial-gradient(closest-side,rgba(255,250,220,.55),transparent);pointer-events:none}
/* app switcher */
.aosSW{transform:scale(.92) translateY(30%);transition:transform .38s cubic-bezier(.2,.85,.25,1);background:rgba(10,6,8,.6)}
.aosSW.open{transform:none}
.swRow{position:absolute;left:0;right:0;top:70px;bottom:70px;display:flex;align-items:center;gap:16px;padding:0 50px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}
.swRow::-webkit-scrollbar{display:none}
.swC{flex:none;width:236px;height:100%;display:flex;flex-direction:column;gap:8px;scroll-snap-align:center;transition:transform .25s}
.swH{display:flex;align-items:center;gap:8px;font-size:13px}
.swH .ncI.aTile{width:30px;height:30px;border-radius:8px}.swH .ncI svg{width:16px;height:16px}
.swS{all:unset;position:relative;flex:1;border-radius:28px;overflow:hidden;cursor:pointer;box-shadow:0 20px 40px -12px rgba(0,0,0,.7)}

.swTip{position:absolute;left:0;right:0;bottom:34px;margin:0;text-align:center;font-family:'Google Sans',system-ui,sans-serif;font-weight:600;font-size:14px;color:#F4F2EA;opacity:.8}
.swEmpty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;text-align:center}
.swEmpty b{font-size:17px}.swEmpty span{font-size:12.5px;opacity:.7}
/* saved messages */
.mHead{position:relative}
.mClear{all:unset;position:absolute;right:0;top:0;font-size:11px;font-weight:700;color:#B4462F;cursor:pointer}
.mDay{align-self:center;margin:4px 0 0;font-size:10.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#4F5E57}
.mOutW{align-self:flex-end;display:flex;flex-direction:column;align-items:flex-end;gap:2px;max-width:80%}
.mOutW .mOut{max-width:100%}
.mMeta{font-size:10.5px;color:#4F5E57}.mMeta a{color:#2F7A3E;font-weight:700}
/* tabs: nine now, so a little tighter */

.aosSW{visibility:hidden;transition:transform .38s cubic-bezier(.2,.85,.25,1),visibility 0s linear .38s;background:rgba(10,6,8,.78);-webkit-backdrop-filter:blur(26px);backdrop-filter:blur(26px)}
.aosSW.open{visibility:visible;transition:transform .38s cubic-bezier(.2,.85,.25,1),visibility 0s}
.aosNC,.aosCC{visibility:hidden;transition:transform .42s cubic-bezier(.2,.85,.25,1),visibility 0s linear .42s}
.aosNC.open,.aosCC.open,.aosNC.drag,.aosCC.drag,.aosNC.peek{visibility:visible;transition:transform .42s cubic-bezier(.2,.85,.25,1),visibility 0s}
.aosNC.drag,.aosCC.drag{transition:none}
.swS{display:block;overflow:hidden;isolation:isolate;background:#F4F2EA}

/* switcher cards, designed (no live snapshot) */
.swC{width:230px}
.swS{all:unset;box-sizing:border-box;flex:none;height:calc(100% - 38px);display:flex;flex-direction:column;gap:6px;padding:0 0 16px;border-radius:28px;overflow:hidden;cursor:pointer;
  background:#F4F2EA;color:#0F241D;box-shadow:0 20px 40px -12px rgba(0,0,0,.7)}
.swS.dark{background:#141012;color:#F4F2EA}

.swS:focus-visible{outline:3px solid #C6F35E}
/* bottom-edge swipe strip, only while an app is open */
.aosBot{position:absolute;z-index:39;left:0;right:0;bottom:0;height:34px;display:none;touch-action:none;cursor:grab}
.aosScr.inapp .aosBot{display:block}
.aPg.msg .aPgIn{padding-bottom:40px}
.aosScr{background-color:#2A1519;background-position:center center}
/* app switcher, smoother */
.aosScr.swOpen .aosStack{visibility:hidden}
.aosScr.armed .aosStack{border-radius:40px;overflow:hidden}
.aosSW{background:rgba(12,7,9,.55);-webkit-backdrop-filter:blur(30px) saturate(1.2);backdrop-filter:blur(30px) saturate(1.2)}
.aosSW .swRow{transform:scale(1.3);transition:transform .45s cubic-bezier(.2,.9,.25,1)}
.aosSW.open .swRow{transform:none}
.aosSW .swC{transform:translateY(40px);transition:transform .5s cubic-bezier(.2,.9,.25,1.15)}
.aosSW.open .swC{transform:none}
.aosSW.open .swC:nth-child(2){transition-delay:.04s}.aosSW.open .swC:nth-child(3){transition-delay:.08s}.aosSW.open .swC:nth-child(n+4){transition-delay:.12s}
.swC:first-child .swS{box-shadow:0 0 0 2px rgba(198,243,94,.55),0 20px 40px -12px rgba(0,0,0,.7)}
.swEmpty{gap:6px;padding:0 30px}
.swEmpty b{font-family:'Big Shoulders Display',sans-serif;font-weight:900;font-size:34px;text-transform:uppercase;letter-spacing:.01em}
.swEmpty>span{font-family:'Google Sans',system-ui,sans-serif;font-weight:600;font-size:15.6px;opacity:.8}
.swPick{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:18px;width:100%}
.swPk{all:unset;display:flex;flex-direction:column;align-items:center;gap:6px;cursor:pointer}
.swPk .ncI.aTile{width:56px;height:56px;border-radius:15px}
.swPk .ncI svg{width:28px;height:28px}
.swPk .ncI .aCal b{font-size:9px}.swPk .ncI .aCal i{font-size:26px}
.swPk i{font-style:normal;font-size:11px;font-weight:600}
.swPk:hover .aTile{transform:translateY(-3px)}
.swPk:focus-visible .aTile{outline:2px solid #C6F35E;outline-offset:3px}

/* ---------- 40. Phone: buttery motion, home pages, Rayan OS, Wallet / Maps / Notes / Contacts / Safari ---------- */
/* motion: transform-only keyframes on their own layers, expo-out easing, lighter blur */
@keyframes aZoom{from{transform:scale(.14)}to{transform:none}}
@keyframes aZoomOut{to{transform:scale(.12)}}
@keyframes aSlide{from{transform:translate3d(100%,0,0)}to{transform:none}}
@keyframes aSlideOut{to{transform:translate3d(100%,0,0)}}
.aPg{contain:layout paint;backface-visibility:hidden}
.aPg.zoomIn{animation:aZoom .5s cubic-bezier(.16,1,.3,1) both;will-change:transform}
.aPg.zoomOut{animation:aZoomOut .3s cubic-bezier(.5,0,.75,0) both;will-change:transform}
.aPg.slideIn{animation:aSlide .46s cubic-bezier(.16,1,.3,1) both;will-change:transform}
.aPg.slideOut{animation:aSlideOut .3s cubic-bezier(.5,0,.75,0) both;will-change:transform}
.aosOv{will-change:transform;contain:layout paint;-webkit-backdrop-filter:blur(18px) saturate(1.2);backdrop-filter:blur(18px) saturate(1.2);transition-timing-function:cubic-bezier(.16,1,.3,1)}
.aosSW{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}
.aPgIn,.ovScroll{scroll-behavior:auto;-webkit-overflow-scrolling:touch}
.aTile{will-change:transform}
/* home pages */
.aosHome{padding:0;display:block}
.aosPages{position:absolute;left:0;right:0;top:56px;bottom:132px;display:flex;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;touch-action:pan-x;cursor:grab}
.aosPages::-webkit-scrollbar{display:none}
.aosPages.dragging{scroll-snap-type:none;cursor:grabbing}
.aosPg{flex:none;width:100%;box-sizing:border-box;padding:6px 20px 0;display:flex;flex-direction:column;gap:18px;scroll-snap-align:start;scroll-snap-stop:always}
.aosDots{position:absolute;left:0;right:0;bottom:118px;display:flex;justify-content:center;gap:2px}
.aosDots button{all:unset;width:18px;height:14px;display:grid;place-items:center;cursor:pointer}
.aosDots button::before{content:"";width:7px;height:7px;border-radius:50%;background:rgba(244,242,234,.38);transition:background .2s,transform .2s}
.aosDots button.on::before{background:#F4F2EA;transform:scale(1.1)}
.aosDots button:focus-visible::before{outline:2px solid #C6F35E;outline-offset:2px}

.aosP2h{display:flex;flex-direction:column;gap:2px;padding:10px 4px 0}
.aosP2h b{font-family:'Big Shoulders Display',sans-serif;font-weight:900;font-size:34px;line-height:.9;text-transform:uppercase}
.aosP2h span{font-family:'Google Sans',system-ui,sans-serif;font-weight:600;font-size:15.6px;color:#C6F35E}

/* new tiles */
.aWal{background:linear-gradient(160deg,#1A1A1A,#000);color:#F4F2EA;box-shadow:inset 0 0 0 1px rgba(255,255,255,.12),0 6px 12px -4px rgba(0,0,0,.5)}
.aWal svg{color:#C6F35E}
.aMap{background:linear-gradient(160deg,#E9F2DF,#B9D7A4);color:#2F7A3E}
.aNote{background:linear-gradient(180deg,#F7D774 0 28%,#FBFAF4 28%);color:#3A2A08}
.aCon{background:linear-gradient(160deg,#C9CED2,#8E979C);color:#F4F2EA}
.aSaf{background:linear-gradient(160deg,#5AB0FF,#1E6AE0);color:#fff}
/* wallet */
.wal{display:flex;flex-direction:column;padding-top:4px}
.wPass{all:unset;box-sizing:border-box;position:relative;display:flex;flex-direction:column;gap:12px;height:176px;padding:14px 16px;border-radius:16px;cursor:pointer;
  margin-top:-124px;box-shadow:0 -6px 16px -8px rgba(0,0,0,.45);transition:margin-top .45s cubic-bezier(.16,1,.3,1),transform .45s cubic-bezier(.16,1,.3,1)}
.wPass:first-child{margin-top:0}
.wPass.sel{transform:translateY(-6px)}
.wPass.sel + .wPass{margin-top:14px}
.wPass:focus-visible{outline:3px solid #C6F35E;outline-offset:2px}
.t-intl{background:linear-gradient(150deg,#2B5A47,#163A2D);color:#F4F2EA}
.t-key{background:linear-gradient(150deg,#D8FA8C,#A9D94A);color:#0F241D}
.t-jury{background:linear-gradient(150deg,#1F2A26,#0B1210);color:#C6F35E}
.wTop{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}
.wTop b{font-family:'Big Shoulders Display',sans-serif;font-weight:900;font-size:21px;line-height:1;text-transform:uppercase}
.wTop i{flex:none;font-style:normal;font-family:'JetBrains Mono',monospace;font-size:9.5px;letter-spacing:.12em;text-transform:uppercase;padding:3px 7px;border-radius:5px;border:1.5px solid currentColor}
.wRow{display:flex;gap:18px;font-size:12.5px;font-weight:600}
.wRow em{display:block;font-style:normal;font-family:'JetBrains Mono',monospace;font-size:9px;letter-spacing:.12em;text-transform:uppercase;opacity:.65;margin-bottom:2px}
.wCode{margin-top:auto;height:26px;border-radius:4px;background:#F4F2EA repeating-linear-gradient(90deg,#0F241D 0 2px,transparent 2px 4px,#0F241D 4px 5px,transparent 5px 8px,#0F241D 8px 11px,transparent 11px 12px)}
/* maps */
.mapW{margin:0 -6px 10px;border-radius:16px;overflow:hidden;box-shadow:inset 0 0 0 1px #DDD8C9}
.mapW svg{display:block;width:100%;height:auto}
.mapBg{fill:#E5EDDA}.mapDt{opacity:1}
#mapDots circle{fill:#B6C7A6}
.mapArc path{fill:none;stroke:#2F7A3E;stroke-width:1.2;stroke-dasharray:3 3;stroke-linecap:round}
.mapPin circle{fill:#0F241D;stroke:#C6F35E;stroke-width:1.5}
.mapPin text{font:700 7px 'Inter Tight',sans-serif;fill:#0F241D;paint-order:stroke;stroke:#E5EDDA;stroke-width:2.5px}
.kList em{font-size:26px}
/* notes */
.nNote{margin-bottom:12px;padding:14px 16px;border-radius:16px;background:#FFF8DC;box-shadow:inset 0 0 0 1px #EFE2A8;
  background-image:repeating-linear-gradient(transparent 0 23px,rgba(180,150,60,.18) 23px 24px)}
.nNote b{display:block;font-family:'Big Shoulders Display',sans-serif;font-weight:900;font-size:22px;text-transform:uppercase;line-height:1}
.nNote i{display:block;font-style:normal;font-size:11px;color:#8A6A12;margin:2px 0 6px}
.nNote ul{margin:0;padding-left:18px;font-size:13px;line-height:24px}
/* contacts */
.cActs{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:-4px 0 14px}
.cActs a,.cActs button{all:unset;display:flex;flex-direction:column;align-items:center;gap:4px;padding:10px 0;border-radius:14px;background:#FBFAF4;box-shadow:inset 0 0 0 1px #DDD8C9;font-size:11px;font-weight:700;color:#2F7A3E;cursor:pointer}
.cActs svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
/* safari */
.sfBar{display:flex;align-items:center;gap:8px;padding:10px 12px;margin-bottom:16px;border-radius:12px;background:#E3DFD1;font-size:13px;color:#4F5E57}
.sfBar svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2}
.sfGrid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px 10px}
.sfB{display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center;text-decoration:none;color:#0F241D;min-width:0}
.sfB span{display:grid;place-items:center;width:60px;height:60px;border-radius:15px;background:#0F241D;color:#C6F35E;font-family:'Big Shoulders Display',sans-serif;font-weight:900;font-size:20px;box-shadow:0 6px 12px -6px rgba(0,0,0,.4)}
.sfB:nth-child(2) span{background:#C6F35E;color:#0F241D}
.sfB b{font-size:11.5px;line-height:1.2;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sfB i{font-style:normal;font-size:10px;color:#4F5E57;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wPass:not(.sel) .wTop b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}

/* ---------- 41. Phone: maroon body #4D1821, sea wallpaper, real app-switcher previews ---------- */
.aosPh,#badges .aosPh{background:linear-gradient(135deg,#8A4552,#4D1821 16%,#6E2E3A 38%,#3A0F17 60%,#7A3844 82%,#4D1821);
  box-shadow:inset 0 0 0 1.5px rgba(255,200,210,.28),inset 0 0 0 4px #1E080C,0 40px 70px -24px rgba(40,10,16,.6),0 0 0 1px rgba(30,6,10,.7)}
.aosK{background:linear-gradient(90deg,#3A0F17,#8A4552)}
.aosK4{background:linear-gradient(270deg,#3A0F17,#8A4552)}
.aosScr{background:#06141A url(../img/phone-wallpaper.jpg) center center/cover no-repeat}
.aosWid{background:rgba(6,20,26,.38);box-shadow:inset 0 0 0 1px rgba(200,240,255,.14)}
.aosDock{background:rgba(6,20,26,.42);box-shadow:inset 0 0 0 1px rgba(200,240,255,.14)}

/* switcher cards are true snapshots of the app, scaled from 360x740 */
.swRow{align-items:center}
.swC{width:230px;height:auto}
.swS{all:unset;box-sizing:border-box;position:relative;display:block;width:230px;aspect-ratio:360/740;height:auto;padding:0;border-radius:30px;overflow:hidden;cursor:pointer;
  background:#F4F2EA;box-shadow:0 20px 40px -12px rgba(0,0,0,.7);isolation:isolate}
.swS:focus-visible{outline:3px solid #C6F35E;outline-offset:3px}
.swShot{position:absolute;left:0;top:0;width:360px;height:740px;transform:scale(.6389);transform-origin:0 0;pointer-events:none}
.swShot .aPg{animation:none !important;border-radius:0;transform:none !important}
.swShot .aPgIn{overflow:hidden}
.swVid{display:block;width:100%;height:100%;background:#000}
.aLbl{text-shadow:0 1px 2px rgba(0,0,0,.85),0 0 8px rgba(0,0,0,.6)}
.aosDots button::before{box-shadow:0 0 4px rgba(0,0,0,.6)}
.ncHead{gap:8px}.ncHead b{margin-right:auto}
.ncClr{all:unset;padding:3px 10px;border-radius:999px;background:rgba(244,242,234,.18);font-size:11px;font-weight:700;cursor:pointer}
.ncClr:hover{background:rgba(244,242,234,.3)}.ncClr:focus-visible{outline:2px solid #C6F35E}
.ncN{touch-action:pan-y;overflow:hidden}

/* ---------- Phone: a fingertip cursor while the pointer is over the phone ----------
   Inside .aosPh the arrow/ring cursors give way to a chartreuse touch hand (hotspot on the
   fingertip); pressing shows a tap ring. Outside the phone the site cursors come back. */
@media (hover: hover) and (pointer: fine){
  .aosPh,.aosPh *{cursor:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'><path d='M11.5 3.5c1.4 0 2.5 1.1 2.5 2.5v8.2l1-.1c1.3-.2 2.4.6 2.6 1.8l.1.4.4-.1c1.3-.3 2.5.5 2.8 1.7l.1.5.5-.1c1.3-.2 2.5.6 2.7 1.9.3 1.9.3 3.9-.1 5.8-.6 2.9-3.2 5-6.2 5h-3.3c-2 0-3.9-.9-5.1-2.5l-4.6-6c-.8-1-.6-2.5.4-3.3.9-.7 2.2-.6 3 .2l1.7 1.7V6c0-1.4 1.1-2.5 2.5-2.5z' fill='%23C6F35E' stroke='%230F241D' stroke-width='1.6' stroke-linejoin='round'/><path d='M14 14.2v5M17.6 16v3.6M21 17.6v2.6' stroke='%230F241D' stroke-width='1.3' stroke-linecap='round'/></svg>") 11 4, pointer !important}
  .aosPh:active,.aosPh :active{cursor:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'><circle cx='11.5' cy='4.5' r='4' fill='none' stroke='%23C6F35E' stroke-width='2'/><path d='M11.5 5.5c1.4 0 2.5 1.1 2.5 2.5v7.2l1-.1c1.3-.2 2.4.6 2.6 1.8l.1.4.4-.1c1.3-.3 2.5.5 2.8 1.7l.1.5.5-.1c1.3-.2 2.5.6 2.7 1.9.2 1.6.2 3.3-.1 4.9-.6 2.6-2.9 4.4-5.6 4.4h-3c-1.8 0-3.5-.8-4.6-2.2l-4.1-5.4c-.7-.9-.5-2.2.4-2.9.8-.6 2-.5 2.7.2l1.5 1.5V8c0-1.4 1.1-2.5 2.5-2.5z' fill='%23C6F35E' stroke='%230F241D' stroke-width='1.6' stroke-linejoin='round'/></svg>") 11 4, pointer !important}
}
/* Phone home gesture, easy to grab with a mouse: the bottom-edge swipe strip is live on the
   home screen too (taps still pass through to whatever is under it, e.g. the dock), and the
   home bar's own hit area is much bigger than the 5px line you see. */
.aosBot{display:block}
/* phone: dragging to scroll must not select text (typing fields still can) */
.aosPh{-webkit-user-select:none;user-select:none}
.aosPh input,.aosPh textarea,.aosPh [contenteditable]{-webkit-user-select:text;user-select:text}

/* ---------- Phone: iPhone-style app icons (own artwork in the iOS manner, not Apple's) ----------
   System apps get full-bleed drawings (.aArt); Ahmed's record apps get iOS gradient tiles with a
   white glyph. Squircle-ish corners (22.5%), a soft top sheen and no inner rings. */
.aosPh .aTile{border-radius:22.5%;overflow:hidden;box-shadow:0 6px 12px -5px rgba(0,0,0,.55);color:#fff}
.aosPh .aTile::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:linear-gradient(180deg,rgba(255,255,255,.18),rgba(255,255,255,0) 45%)}
.aosPh .aTile svg{stroke-width:2.1}
.aosPh .aTile svg.aArt{position:absolute;inset:0;width:100% !important;height:100% !important;stroke:none;fill:none}
.aosPh .aMini{border-radius:26%;overflow:hidden}
/* Ahmed's record apps */
.aosPh .aK{background:linear-gradient(160deg,#FF7A93,#E2245E);color:#fff}
.aosPh .aG{background:linear-gradient(160deg,#7D7BF5,#3E3AC7);color:#fff}
.aosPh .aJ{background:linear-gradient(160deg,#FFB547,#F2700C);color:#fff}
.aosPh .aT{background:linear-gradient(160deg,#3A3A3C,#0B0B0C);color:#fff;box-shadow:0 6px 12px -5px rgba(0,0,0,.55)}
.aosPh .aA{background:linear-gradient(160deg,#FFDC5C,#F39A12);color:#fff}
.aosPh .aC{background:linear-gradient(160deg,#5AD8EC,#1C86E8);color:#fff}
.aosPh .aU{background:linear-gradient(160deg,#4BE07A,#1C9A43);color:#fff}
.aosPh .aEd{background:linear-gradient(160deg,#4AA6FF,#0A5BE0);color:#fff}
.aosPh .aR{background:linear-gradient(160deg,#FFAE57,#F2640A);color:#fff}
.aosPh .aY{background:linear-gradient(160deg,#A3ABB5,#5C6470);color:#fff}
/* system apps */
.aosPh .aE{background:#fff;color:#000}
.aosPh .aE .aCal b,.aosPh .aCal b{color:#FF3B30;letter-spacing:.02em}
.aosPh .aCal i{font-family:'Inter Tight',system-ui,sans-serif;font-weight:300;color:#000;letter-spacing:-.02em}
.aosPh .aClk{background:#000;box-shadow:0 6px 12px -5px rgba(0,0,0,.55)}
.aosPh .aClkF{width:46px;height:46px;background:#fff;box-shadow:inset 0 0 0 1px rgba(0,0,0,.08)}
.aosPh .aClkF i{background:#000}
.aosPh .aClkF .dot{background:#FF9F0A}
.aosPh .aCalc{background:#1C1C1E}
.aosPh .aSet{background:linear-gradient(160deg,#D1D1D6,#8E8E93)}
.aosPh .aP{background:#fff}
.aosPh .aM{background:linear-gradient(180deg,#6BF283,#0CBD2A)}
.aosPh .aWal{background:#000}
.aosPh .aMap{background:#F1ECDF}
.aosPh .aNote{background:#fff}
.aosPh .aCon{background:linear-gradient(180deg,#F2F2F7,#C7C7CC)}
.aosPh .aSaf{background:#fff}

/* ---------- Phone: home widget v2 + Control Centre v2 (2026-11-13) ---------- */
/* widget: date, big time with a ticking colon, a bar for how much of the Lahore day has gone,
   and four live city clocks from Ahmed's travel record (sun or moon dot by local hour) */
.aosPh .aosWid{gap:0;padding:13px 16px 11px;border-radius:26px;background:linear-gradient(160deg,rgba(10,30,36,.55),rgba(4,14,18,.42));
  box-shadow:inset 0 0 0 1px rgba(200,240,255,.16),inset 0 1px 0 rgba(255,255,255,.12),0 10px 24px -14px rgba(0,0,0,.7)}
.aosWtop{display:flex;justify-content:space-between;align-items:center}
.aosWk{display:inline-flex;align-items:center;gap:6px}
.aosWdot{width:6px;height:6px;border-radius:50%;background:#C6F35E;box-shadow:0 0 0 3px rgba(198,243,94,.18)}
.aosWd{font-family:'JetBrains Mono',monospace;font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:#E6F0EA;opacity:.8}
.aosPh .aosWid b.aosWt{display:flex;align-items:baseline;margin-top:5px;font-size:58px;letter-spacing:-.01em;font-variant-numeric:tabular-nums}
.aosWt em{font-style:normal;margin:0 1px;animation:aosColon 2s steps(1) infinite}
@keyframes aosColon{50%{visibility:hidden}}
.aosWbar{height:3px;margin:9px 0 8px;border-radius:2px;background:rgba(244,242,234,.14);overflow:hidden}
.aosWbar i{display:block;height:100%;background:linear-gradient(90deg,#8FD14F,#C6F35E);transform-origin:0 50%;transform:scaleX(0);border-radius:inherit}
.aosPh .aosWn{margin-top:0}
.aosWc{display:grid;grid-template-columns:repeat(4,1fr);margin-top:9px;padding-top:8px;border-top:1px solid rgba(244,242,234,.13)}
.aosWc span{display:grid;grid-template-columns:auto 1fr;align-items:center;column-gap:5px;row-gap:1px}
.aosWc span+span{padding-left:8px;border-left:1px solid rgba(244,242,234,.1)}
.aosWc i{width:6px;height:6px;border-radius:50%;background:#FFD60A;box-shadow:0 0 6px rgba(255,214,10,.6)}
.aosWc .night i{background:#9AA8FF;box-shadow:none}
.aosWc b{font-family:'JetBrains Mono',monospace;font-size:9px;letter-spacing:.1em;color:#B9C9C0}
.aosWc em{grid-column:1/-1;font-style:normal;font-size:13px;font-weight:600;color:#F4F2EA;font-variant-numeric:tabular-nums}
@media (prefers-reduced-motion:reduce){.aosWt em{animation:none}}

/* control centre: iOS colours, glassier tiles, media controls, a full grid */
.ccTop{display:flex;align-items:center;gap:8px;padding:14px 4px 0;font-size:11.5px;color:rgba(244,242,234,.75)}
.ccTop span{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ccTop i{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:rgba(244,242,234,.14)}
.ccTop svg{width:14px;height:14px;fill:none;stroke:#F4F2EA;stroke-width:2.2;stroke-linecap:round}
.aosPh .ccGrid{padding-top:14px;gap:12px}
.aosPh .ccBox,.aosPh .ccFocus,.aosPh .ccSl{background:rgba(120,120,128,.26);-webkit-backdrop-filter:blur(20px) saturate(1.6);backdrop-filter:blur(20px) saturate(1.6);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.1),inset 0 1px 0 rgba(255,255,255,.14)}
.aosPh .ccR{background:rgba(120,120,128,.42);transition:background-color .18s,transform .18s cubic-bezier(.2,.9,.3,1.4)}
.aosPh .ccR:active,.aosPh .ccSq:active,.aosPh .ccPlay:active{transform:scale(.9)}
.aosPh .ccR.on.k-air{background:#FF9F0A;color:#fff}
.aosPh .ccR.on.k-cell{background:#30D158;color:#fff}
.aosPh .ccR.on.k-wifi,.aosPh .ccR.on.k-bt{background:#0A84FF;color:#fff}
/* now playing */
.aosPh .ccNow{display:flex;flex-direction:column;justify-content:flex-start;gap:0;padding:12px;color:#F4F2EA;cursor:default}
.ccNowGo{all:unset;cursor:pointer;flex:1;display:flex;flex-direction:column;justify-content:flex-end;min-width:0;position:relative}
.aosPh .ccArt{left:0;top:0;width:50px;height:50px;border-radius:10px;box-shadow:0 6px 14px -6px rgba(0,0,0,.8)}
.ccNowGo b{font-size:13.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ccNowGo>span:last-child{font-size:10.5px;opacity:.65;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ccEq{position:absolute;right:2px;top:4px;display:flex;align-items:flex-end;gap:2px;height:14px}
.ccEq i{width:3px;height:4px;border-radius:1px;background:#30D158}
.ccNow.playing .ccEq i{animation:ccEq .9s steps(5) infinite alternate}
.ccNow.playing .ccEq i:nth-child(2){animation-delay:-.3s}.ccNow.playing .ccEq i:nth-child(3){animation-delay:-.6s}.ccNow.playing .ccEq i:nth-child(4){animation-delay:-.15s}
@keyframes ccEq{0%{height:3px}100%{height:14px}}
.ccPrg{display:block;height:3px;margin:7px 0 4px;border-radius:2px;background:rgba(244,242,234,.2);overflow:hidden}
.ccPrg i{display:block;height:100%;width:38%;background:#F4F2EA}
.ccNow.playing .ccPrg i{animation:ccPrg 60s linear infinite}
@keyframes ccPrg{from{width:38%}to{width:100%}}
.ccCtl{display:flex;align-items:center;justify-content:space-between;padding:0 6px}
.ccCtl i{display:grid;place-items:center;opacity:.85}
.ccCtl svg{width:17px;height:17px;fill:currentColor}
.aosPh .ccPlay{all:unset;position:static;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;cursor:pointer;background:transparent;color:#F4F2EA;transition:transform .18s}
.aosPh .ccPlay svg{width:22px;height:22px;fill:currentColor}
/* focus */
.ccMoon{width:34px;height:34px;flex:none;border-radius:50%;display:grid;place-items:center;background:rgba(120,120,128,.42)}
.aosPh .ccFocus svg{width:18px;height:18px;fill:currentColor;stroke:none}
.aosPh .ccFocus.on{background:rgba(244,242,234,.92);color:#1C1C1E}
.aosPh .ccFocus.on .ccMoon{background:#5E5CE6;color:#fff}
.aosPh .ccFocus i{white-space:nowrap}
/* sliders: icon sits on the fill, the value shows at the top */
.aosPh .ccSl{border-radius:24px}
.aosPh .ccSl i{background:#F4F2EA}
.aosPh .ccSl svg{stroke:#3A3A3C}
/* round buttons */
.aosPh .ccSq{width:60px;height:60px;background:rgba(120,120,128,.32);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);box-shadow:inset 0 0 0 1px rgba(255,255,255,.08);transition:background-color .18s,transform .18s cubic-bezier(.2,.9,.3,1.4)}
.aosPh .ccSq svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.aosPh .ccSq.on{background:#F4F2EA;color:#1C1C1E}
.aosPh .ccTorch.on{box-shadow:0 0 18px rgba(255,236,170,.45)}
.aosPh .ccRot.on{color:#FF3B30}
.ccRec .recDot{fill:currentColor;stroke:none}
.aosPh .ccRec.on{color:#FF3B30}
.aosPh .ccRec.on .recDot{animation:ccRec 1.2s steps(1) infinite}
@keyframes ccRec{50%{visibility:hidden}}
/* screen recording: red pill behind the status-bar time, like iOS */
.aosScr.rec .aosBar b{background:#FF3B30;color:#fff;border-radius:10px;padding:1px 7px;margin-left:-7px}
@media (prefers-reduced-motion:reduce){.ccNow.playing .ccEq i,.ccNow.playing .ccPrg i,.aosPh .ccRec.on .recDot{animation:none}}
/* Focus tile: "Do Not Disturb" on one line */
.aosPh .ccFocus{gap:8px;padding:0 10px}
.aosPh .ccMoon{width:30px;height:30px}
.aosPh .ccFocus svg{width:16px;height:16px}
.aosPh .ccFocus span{min-width:0}
.aosPh .ccFocus b{font-size:12.5px;white-space:nowrap;letter-spacing:-.01em}
.aosPh .ccFocus .ccMoon{display:grid;place-items:center;flex-direction:row}
/* App Switcher: slides up from the bottom edge and back down off it (no pop, no fade).
   Before, closing slid it only 30% down and then it vanished mid-screen. */
.aosPh .aosSW{transform:translateY(100%);transition:transform .52s cubic-bezier(.45,0,.2,1),visibility 0s linear .52s}
.aosPh .aosSW.open{transform:none;transition:transform .5s cubic-bezier(.32,.72,0,1),visibility 0s}
.aosPh .aosSW.instant,.aosPh .aosSW.drag{transition:none}
.aosPh .aosSW .swRow,.aosPh .aosSW .swC{transition-duration:.5s}
/* home pages: while a page slides with the mouse, skip the widget's backdrop blur (it was
   re-blurred every frame) and keep the pages on their own layer */
.aosPages.dragging .aosPg{will-change:transform}
.aosPages.dragging .aosWid{-webkit-backdrop-filter:none;backdrop-filter:none;background:linear-gradient(160deg,rgba(10,30,36,.72),rgba(4,14,18,.62))}
/* ---------- Phone: boot once (main.js §27, 2026-11-13) ----------
   Black screen with the AV mark and a thin filling bar, like a phone starting up; then the
   home screen wakes with a zoom and the icons settle in rows. No fades. */
.aosBoot{position:absolute;inset:0;z-index:80;background:#000;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:46px;cursor:progress}
.aosBoot svg{width:92px;height:92px;fill:none;stroke:#F4F2EA;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}
.aosBootBar{width:132px;height:4px;border-radius:2px;background:#2C2C2E;overflow:hidden}
.aosBootBar i{display:block;height:100%;background:#F4F2EA;border-radius:inherit;transform-origin:0 50%;transform:scaleX(0)}
/* fills in uneven steps, the way a real boot bar stalls and jumps */
.aosBoot.go .aosBootBar i{animation:aosBootFill 2s cubic-bezier(.3,0,.3,1) forwards}
@keyframes aosBootFill{0%{transform:scaleX(0)}18%{transform:scaleX(.22)}35%{transform:scaleX(.26)}60%{transform:scaleX(.68)}78%{transform:scaleX(.74)}100%{transform:scaleX(1)}}
.aosScr.booting .aosHomeBar,.aosScr.booting .aosBot{visibility:hidden}
/* wake: the home screen zooms down into place, icons settle row by row, dock rises */
.aosScr.waking .aosHome{animation:aosWake .7s cubic-bezier(.16,1,.3,1) both}
@keyframes aosWake{from{transform:scale(1.18)}to{transform:none}}
.aosScr.waking .aosWid,.aosScr.waking .aosGrid .aIc{animation:aosIcIn .62s cubic-bezier(.2,1.2,.35,1) both}
.aosScr.waking .aosGrid .aIc:nth-child(n+5){animation-delay:.05s}
.aosScr.waking .aosGrid .aIc:nth-child(n+9){animation-delay:.1s}
@keyframes aosIcIn{from{transform:scale(.55) translateY(26px)}to{transform:none}}
.aosScr.waking .aosDock{animation:aosDockIn .6s cubic-bezier(.16,1,.3,1) .08s both}
@keyframes aosDockIn{from{transform:translateY(120%)}to{transform:none}}

/* ---------- On the record: left side v3, "the ledger" (main.js §27, 2026-11-16) ----------
   Replaces the photo wall (tabs, filters, year groups, polaroids). A short printed index that
   points at the phone: the phone's own app icon, the count, the name and one line. Hover lifts
   the matching icon on the phone; click opens that app there. The .rw* rules above are unused now. */
#badges .rw{display:flex;flex-direction:column;gap:clamp(12px,2vh,20px);max-width:640px}
.lgIntro{margin:0;font-size:clamp(15px,1.15vw,17px);line-height:1.45;color:#2E4A3E;max-width:30em}
.lgIntro b{color:var(--ink);font-weight:700}
.lgList{list-style:none;margin:0;padding:0;border-top:2.5px solid var(--ink)}
.lgList li{border-bottom:1.5px dashed rgba(15,36,29,.32)}
.lgRow{all:unset;box-sizing:border-box;position:relative;width:100%;display:grid;grid-template-columns:auto clamp(46px,4.2vw,62px) minmax(0,1fr) auto;align-items:center;column-gap:16px;
  padding:clamp(8px,1.25vh,12px) 14px clamp(8px,1.25vh,12px) 8px;cursor:pointer;color:var(--ink);isolation:isolate}
/* ink slides in from the left on hover / when picked (a wipe, not a fade) */
.lgRow::before{content:"";position:absolute;inset:0;z-index:-1;background:var(--ink);transform:scaleX(0);transform-origin:0 50%;transition:transform .34s cubic-bezier(.65,0,.35,1)}
.lgRow:hover::before,.lgRow.on::before,.lgRow:focus-visible::before{transform:none}
.lgRow:focus-visible{outline:none}
.lgIc.aTile{position:relative;width:40px;height:40px;border-radius:22.5%;display:grid;place-items:center;overflow:hidden;flex:none;
  box-shadow:0 5px 10px -5px rgba(15,36,29,.55);transition:transform .3s cubic-bezier(.2,1.4,.4,1)}
.lgIc.aTile svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round}
.lgRow:hover .lgIc,.lgRow.on .lgIc{transform:rotate(-6deg) scale(1.06)}
.lgN{font-family:'Big Shoulders Display',sans-serif;font-weight:900;font-size:clamp(34px,min(3.2vw,5.4vh),48px);line-height:.85;text-align:right;
  font-variant-numeric:tabular-nums;color:var(--ink);text-shadow:.04em .04em 0 #C6F35E;transition:color .2s}
.lgT{display:flex;flex-direction:column;gap:2px;min-width:0}
.lgT b{font-family:'Big Shoulders Display',sans-serif;font-weight:800;font-size:clamp(18px,1.5vw,22px);line-height:1;text-transform:uppercase;letter-spacing:.01em}
.lgT span{font-size:13px;line-height:1.3;color:#2E4A3E;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lgGo{font-style:normal;font-size:20px;font-weight:700;transition:transform .3s cubic-bezier(.2,1.4,.4,1)}
.lgRow:hover .lgN,.lgRow.on .lgN{color:#C6F35E;text-shadow:none}
.lgRow:hover .lgT b,.lgRow.on .lgT b{color:#F4F2EA}
.lgRow:hover .lgT span,.lgRow.on .lgT span{color:#B9D98A}
.lgRow:hover .lgGo,.lgRow.on .lgGo{color:#C6F35E;transform:translateX(5px)}
.lgAlso{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0}
.lgAlso>span{font-family:'JetBrains Mono',monospace;font-size:10.5px;letter-spacing:.16em;text-transform:uppercase;color:#2E4A3E;margin-right:4px}
.lgChip{all:unset;cursor:pointer;padding:6px 12px 7px;border-radius:999px;border:1.5px solid var(--ink);font-size:13px;font-weight:600;color:var(--ink);box-shadow:0 3px 0 var(--ink);
  transition:transform .15s,box-shadow .15s,background-color .15s,color .15s}
.lgChip b{font-family:'Big Shoulders Display',sans-serif;font-weight:900;font-size:16px}
.lgChip:hover,.lgChip.on,.lgChip:focus-visible{background:var(--ink);color:#C6F35E;outline:none}
.lgChip:active{transform:translateY(3px);box-shadow:0 0 0 var(--ink)}
/* the matching icon on the phone lifts while its line is hovered */
.aosPh .aIc .aTile{transition:transform .3s cubic-bezier(.2,1.4,.4,1),box-shadow .3s}
.aosPh .aTile.lgHint{transform:translateY(-6px) scale(1.12);box-shadow:0 0 0 3px #C6F35E,0 12px 18px -6px rgba(0,0,0,.6)}
@media (min-width:1001px) and (max-height:820px){.lgT span{font-size:12px}.lgIntro{font-size:14px}}
@media (max-width:1000px){#badges .rw{max-width:none}}
@media (max-width:560px){.lgRow{grid-template-columns:auto 42px minmax(0,1fr);column-gap:11px;padding-right:8px}.lgIc.aTile{width:34px;height:34px}.lgN{font-size:32px}.lgGo{display:none}}
@media (prefers-reduced-motion:reduce){.lgRow::before{transition:none}}

/* ---------- Mobile pass (2026-11-16) ---------- */
@media (hover:none){.onMouse{display:none}}
@media (max-width:760px){
  /* message signature fits the screen */
  
  /* footer socials: the small labels fit their tiles */
  #contact a.key[aria-label]>span:first-child{font-size:9px !important;letter-spacing:.06em !important}
}
/* the mock phone on touch screens: a vertical swipe on its home screen scrolls the page, a sideways
   one turns its home pages (before, the home screen swallowed every touch and you got stuck on it) */
@media (hover:none),(max-width:1000px){
  .aosHome{touch-action:pan-y}
  .aosPages{touch-action:pan-x pan-y}
}

/* ---------- Mobile pass 2 (2026-11-16, client list) ---------- */
.mOnly{display:none}
@media (max-width:760px){
  .mHide{display:none}
  .mOnly{display:inline}
  /* 1. the nav is a bottom bar on phones (main.js §10 adds .bar), the hero's own nav row goes */
  .hxHead .hxNav{display:none}
  .dock.bar{top:auto;bottom:calc(10px + env(safe-area-inset-bottom,0px));left:10px;right:10px;transform:translateY(170%);
    box-shadow:0 14px 34px -10px rgba(0,0,0,.55),0 0 0 1px rgba(198,243,94,.14)}
  .dock.bar.show{transform:none}
  .dock.bar .hxLogo{width:40px;height:40px}
  body{padding-bottom:calc(76px + env(safe-area-inset-bottom,0px))}
}
@media (max-width:1000px){
  /* 2. principle cards: no lift/grow on tap (it pushed the card out of its strip and got cut),
     and room around the slightly tilted cards */
  .hand{padding:22px 20px 40px;margin:0 -20px;scroll-padding:0 20px}
  
}
@media (max-width:760px){
  /* 3. ventures: the two envelopes side by side */
  .svDesk{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start;margin-top:52px}   /* room for the letters rising out */
  /* each envelope is drawn at its one-column size and scaled down as a whole, so its print,
     seal and letter keep their proportions instead of squashing */
  .svDesk>.env{width:calc((100vw - 54px) / 2 / .47);zoom:.47}
  /* 4. playbook: all five plays fit one row, no sideways swipe */
  
  .pbTab{flex-direction:column;align-items:flex-start;gap:3px;padding:8px 7px 11px;font-size:12.5px;letter-spacing:0;border-radius:11px;min-width:0;overflow:hidden}
  .pbTab b{font-size:9.5px}
  /* 5. playbook: the three checks in one line */
  
  
  
  /* 7. studio: both buttons on one line */
  .stuKeys{flex-wrap:nowrap;gap:10px}
  .stuKeys .key{flex:1;min-width:0;justify-content:center;padding-left:12px !important;padding-right:12px !important;font-size:14px;white-space:nowrap}
}

/* ---------- Hero pass photo + hero buttons (2026-11-16) ----------
   The pass now uses a clean cut-out portrait (assets/img/ahmed/ahmed-portrait.png, from the old
   site's media library; the old crop of a yellow "15+ years" promo is gone). Head and shoulders
   over a soft paper-to-lime light. */
.hxPhoto{background:radial-gradient(110% 85% at 50% 28%,#FBFAF5 0%,#E4ECD8 52%,#C9E58A 100%)}
.hxPhoto img{width:128%;height:auto;left:-14%;top:4%}
@media (max-width:760px){
  /* both hero buttons on one line */
  .hxKeys{flex-wrap:nowrap;gap:10px}
  .hxKeys .hxKey{flex:1;min-width:0;justify-content:center;white-space:nowrap;font-size:16.4px;padding-left:12px !important;padding-right:12px !important}
}

/* ---------- No section transitions after Traction (2026-11-16) ----------
   The WebGL seams from How he leads on were removed from the markup; the torn-paper edge above
   the sphere goes too. Sections now meet on a straight line with their normal spacing. */
.sphTear{display:none}

/* ---------- How he leads v2: editorial spread (2026-11-16) ----------
   Replaces the fanned hand of cards (.hand/.pc rules above are unused now). */
.ld{--ink:#0F241D;--lime:#C6F35E;--mut:#4F5E57;list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1.15fr .95fr 1.05fr 1fr;
  border-top:2.5px solid var(--ink);border-bottom:1.5px solid rgba(15,36,29,.25);counter-reset:none}
.ldE{position:relative;display:flex;flex-direction:column;gap:10px;padding:clamp(16px,2.6vh,26px) clamp(14px,1.6vw,26px) clamp(18px,2.8vh,30px);color:var(--ink);min-width:0}
.ldE+.ldE{border-left:1.5px solid rgba(15,36,29,.22)}
/* staggered like a magazine page */
.ldB{padding-top:clamp(40px,7vh,74px)}
.ldC{padding-top:clamp(22px,3.4vh,36px)}
.ldD{padding-top:clamp(52px,8.5vh,88px);background:var(--ink);color:#F4F2EA;border-left-color:var(--ink) !important}
/* huge outlined numeral; lime rises inside it on hover */
.ldN{font-family:'Big Shoulders Display',sans-serif;font-weight:900;font-size:clamp(72px,min(8.4vw,13vh),136px);line-height:.78;letter-spacing:-.02em;
  color:transparent;-webkit-text-stroke:2px var(--ink);background:linear-gradient(var(--lime),var(--lime)) 0 100%/100% 0% no-repeat;-webkit-background-clip:text;background-clip:text;
  transition:background-size .55s cubic-bezier(.65,0,.35,1);align-self:flex-start}
.ldD .ldN{-webkit-text-stroke-color:#F4F2EA}
.ldE h3{margin:4px 0 0;font-family:'Big Shoulders Display',sans-serif;font-weight:900;text-transform:uppercase;font-size:clamp(24px,min(2.3vw,3.9vh),36px);line-height:.92;letter-spacing:.005em;
  position:relative;padding-bottom:8px;align-self:flex-start}
.ldE h3::after{content:"";position:absolute;left:0;bottom:0;height:3px;width:100%;background:var(--lime);transform:scaleX(.18);transform-origin:0 50%;transition:transform .5s cubic-bezier(.65,0,.35,1)}
.ldE p{margin:0;font-size:clamp(13px,1vw,15px);line-height:1.45;color:var(--mut);max-width:30ch}
.ldD p{color:#B9C9C0}
/* photos: each column a different size, sitting inside an inset frame that opens on hover */
.ldPh{position:relative;margin:0;overflow:hidden;border-radius:6px;background:#DCE5D1;clip-path:inset(5% 5% 5% 5% round 6px);transition:clip-path .6s cubic-bezier(.65,0,.35,1)}
.ldPh img{display:block;width:100%;height:100%;object-fit:cover;transform:scale(1.08);transition:transform .9s cubic-bezier(.2,.8,.2,1)}
.ldPh figcaption{position:absolute;left:8px;right:8px;bottom:8px;font-family:'JetBrains Mono',monospace;font-size:9.5px;letter-spacing:.06em;text-transform:uppercase;line-height:1.3;
  color:#F4F2EA;background:rgba(15,36,29,.82);padding:5px 7px;border-radius:4px;transform:translateY(calc(100% + 14px));transition:transform .45s cubic-bezier(.2,.8,.2,1)}
.ldA .ldPh{height:clamp(150px,27vh,270px)}
.ldB .ldPh{height:clamp(110px,17vh,170px);margin-top:auto}
.ldC .ldPh{height:clamp(130px,21vh,210px)}
.ldD .ldPh{height:clamp(96px,14vh,140px);margin-top:auto}
/* the ISO seal, a rubber stamp on the dark column */
.ldSeal{position:absolute;right:clamp(12px,1.4vw,22px);top:clamp(14px,2.4vh,26px);width:84px;height:84px;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;
  border:2px solid var(--lime);color:var(--lime);font-family:'JetBrains Mono',monospace;font-size:14px;font-weight:600;letter-spacing:.04em;transform:rotate(12deg);
  box-shadow:inset 0 0 0 4px var(--ink),inset 0 0 0 5.5px rgba(198,243,94,.5)}
.ldSeal b{font-size:11px;letter-spacing:.2em}.ldSeal i{font-style:normal;font-size:8px;letter-spacing:.18em;text-transform:uppercase;opacity:.8}
/* hover / focus */
@media (hover:hover){
  .ldE:hover .ldN{background-size:100% 100%}
  .ldE:hover h3::after{transform:none}
  .ldE:hover .ldPh{clip-path:inset(0 0 0 0 round 6px)}
  .ldE:hover .ldPh img{transform:none}
  .ldE:hover figcaption{transform:none}
}
/* arrival: columns rise in one after another, photos open from the bottom (no fade) */
.ld.ldIn .ldE{animation:ldRise .9s cubic-bezier(.2,.8,.2,1) both}
.ld.ldIn .ldE:nth-child(2){animation-delay:.08s}.ld.ldIn .ldE:nth-child(3){animation-delay:.16s}.ld.ldIn .ldE:nth-child(4){animation-delay:.24s}
@keyframes ldRise{from{transform:translateY(46px)}to{transform:none}}
.ld.ldWait .ldE{transform:translateY(46px)}
@media (max-width:1000px){
  .ld{grid-template-columns:1fr 1fr}
  .ldE:nth-child(3){border-left:0}
  .ldC,.ldD{border-top:1.5px solid rgba(15,36,29,.22)}
  .ldB,.ldC,.ldD{padding-top:clamp(18px,3vh,30px)}
  .ldPh{clip-path:inset(0 0 0 0 round 6px)}.ldPh img{transform:none}.ldPh figcaption{transform:none}
}
@media (max-width:600px){
  .ld{grid-template-columns:1fr}
  .ldE+.ldE{border-left:0;border-top:1.5px solid rgba(15,36,29,.22)}
  .ldE{display:grid;grid-template-columns:auto 1fr;column-gap:16px;row-gap:8px;align-items:start;padding:20px 4px 22px}
  .ldD{padding:20px 16px 22px;margin:0 -4px}
  .ldN{grid-row:1/span 2;font-size:72px}
  .ldE h3{font-size:26px}
  .ldE p{grid-column:2}
  .ldPh{grid-column:1/-1;order:9;height:180px !important;margin-top:6px !important}
  .ldSeal{width:66px;height:66px;font-size:12px}
  .ldD h3,.ldD p{padding-right:64px}
}
@media (prefers-reduced-motion:reduce){.ldN,.ldPh,.ldPh img,.ldE h3::after,figcaption{transition:none}.ld.ldIn .ldE,.ld.ldWait .ldE{animation:none;transform:none}}

/* ---------- On Stage v2: image-led gallery (2026-11-16) ----------
   The pinned photo, its caption and the four Admit One tickets are gone. Three real photos in
   three sizes fill the upper area: a wide official moment, a keynote panel, MWC Barcelona. */
.stOn .stGal{display:grid;grid-template-columns:1.5fr 1fr;grid-template-rows:1.05fr .95fr;gap:10px;margin:0 0 20px;min-height:0}
.stGal figure{position:relative;margin:0;overflow:hidden;border-radius:14px;background:#DCE5D1;box-shadow:0 18px 30px -18px rgba(15,36,29,.6)}
.stGal img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .9s cubic-bezier(.2,.8,.2,1)}
.stGal .sgA{grid-row:1/span 2}
.stGal .sgA img{object-position:50% 40%}
.stGal .sgC img{object-position:50% 22%}
.stGal figcaption{position:absolute;left:8px;bottom:8px;padding:4px 8px;border-radius:999px;background:rgba(15,36,29,.85);color:#F4F2EA;
  font-family:'JetBrains Mono',monospace;font-size:10px;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap}
.stOn:hover .stGal img{transform:scale(1.04)}
.stOn:hover .stGal .sgB img{transition-delay:.05s}.stOn:hover .stGal .sgC img{transition-delay:.1s}
@media (max-width:760px){.stOn .stGal{grid-template-columns:1.3fr 1fr;min-height:230px}}
@media (prefers-reduced-motion:reduce){.stGal img{transition:none}}

/* ---------- Ventures: Ingenious Concepts letterhead matches P@SHA (2026-11-16) ----------
   Real wordmark from ingeniousc.com (assets/img/ahmed/ic-logo.webp, 610x175), centred at the
   same scale as the P@SHA logo; the ISO seal sits in the corner. */
.ltHeadIc{position:relative}
.ltIcLogo{display:block;width:60cqw;max-width:100%;height:auto;margin:0 auto .4cqw}
.ltHeadIc .ltIso{position:absolute;right:0;top:0;margin:0}

/* ---------- "Where he has spoken" popup (main.js §28, 2026-11-16) ----------
   Scale-and-fade in over a blurred backdrop (the brief asked for a fade here). */
html.spkOpen{overflow:hidden}
.spk{position:fixed;inset:0;z-index:120;display:grid;place-items:center;padding:20px}
.spk[hidden]{display:none}
.spkBg{position:absolute;inset:0;background:rgba(8,20,15,.55);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);opacity:0;transition:opacity .28s ease}
.spkBox{position:relative;width:min(560px,100%);max-height:min(680px,calc(100svh - 40px));display:flex;flex-direction:column;border-radius:22px;overflow:hidden;
  background:#F4F2EA;color:#0F241D;box-shadow:0 40px 90px -30px rgba(0,0,0,.65),0 0 0 1px rgba(15,36,29,.12);
  opacity:0;transform:translateY(14px) scale(.94);transition:opacity .28s ease,transform .36s cubic-bezier(.2,1.1,.35,1)}
.spk.open .spkBg{opacity:1}
.spk.open .spkBox{opacity:1;transform:none}
.spkHd{position:relative;padding:20px 64px 14px 22px;background:#0F241D;color:#F4F2EA}
.spkHd::after{content:"";position:absolute;left:22px;right:22px;bottom:0;height:3px;background:repeating-linear-gradient(90deg,#C6F35E 0 14px,transparent 14px 20px)}
.spkK{font-family:'JetBrains Mono',monospace;font-size:10.5px;letter-spacing:.16em;text-transform:uppercase;color:#C6F35E}
.spkHd h3{margin:6px 0 0;font-family:'Big Shoulders Display',sans-serif;font-weight:900;font-size:clamp(28px,4vw,38px);line-height:.9;text-transform:uppercase}
.spkX{all:unset;position:absolute;right:14px;top:14px;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;cursor:pointer;background:rgba(244,242,234,.12);color:#F4F2EA;transition:background-color .2s,transform .2s}
.spkX:hover{background:#C6F35E;color:#0F241D;transform:rotate(90deg)}
.spkX:focus-visible{outline:2px solid #C6F35E;outline-offset:2px}
.spkX svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round}

.spkL{overflow-y:auto;overscroll-behavior:contain;padding:4px 22px 22px;scrollbar-width:thin}
.spkL:focus-visible{outline:2px solid #0F241D;outline-offset:-4px}

@media (max-width:600px){
  .spk{padding:10px;align-items:end}
  .spkBox{max-height:calc(100svh - 20px);border-radius:20px}
  
  
}
@media (prefers-reduced-motion:reduce){.spkBg,.spkBox{transition:none}}

/* Ventures: letter content scales to fit its sheet (main.js §26 sets --lf) */
.envLetter>*{zoom:var(--lf,1)}

/* ---------- On Stage v3: a notes board / pinboard (2026-11-16, client brief) ----------
   The panel is a cork board in a thin wooden frame. A sheet of graph paper is pinned behind the
   photos; the photos are white-bordered prints with pins and tape, each with a paper note under
   it; the heading and line sit on their own taped note. Tidy, not messy: small, even tilts. */
.stOn{padding:22px clamp(20px,2.6vw,34px) 24px;color:var(--ink);
  background-color:#C8A97C;
  background-image:radial-gradient(rgba(92,62,26,.22) .9px,transparent 1.5px),radial-gradient(rgba(255,240,214,.22) .9px,transparent 1.5px),
    radial-gradient(120% 90% at 50% 40%,rgba(255,236,200,.18),rgba(70,45,15,.18));
  background-size:7px 7px,11px 11px,100% 100%;background-position:0 0,3px 5px,0 0;
  box-shadow:inset 0 0 0 9px #6E4B2C,inset 0 0 0 10px #4E331C,inset 0 0 0 11px rgba(255,255,255,.12),inset 0 12px 26px rgba(40,24,8,.35),0 30px 60px -30px rgba(0,0,0,.8)}
.stOn:hover{box-shadow:inset 0 0 0 9px #6E4B2C,inset 0 0 0 10px #4E331C,inset 0 0 0 11px rgba(255,255,255,.12),inset 0 12px 26px rgba(40,24,8,.35),0 40px 70px -30px rgba(0,0,0,.85)}

/* the sheet of graph paper pinned behind the photos */
.stOn .stGal{position:relative;padding:16px 16px 18px;margin:6px 4px 18px;gap:14px;
  background-color:#FBFAF5;background-image:linear-gradient(rgba(15,36,29,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(15,36,29,.07) 1px,transparent 1px);background-size:18px 18px;
  transform:rotate(-.6deg);box-shadow:0 1px 0 rgba(0,0,0,.05),0 18px 26px -16px rgba(40,24,8,.65),6px 7px 0 -1px #EFE6D2,6px 7px 0 0 rgba(40,24,8,.12)}
.stOn .stGal::before{content:"";position:absolute;z-index:3;top:-8px;left:50%;width:18px;height:18px;margin-left:-9px;border-radius:50%;
  background:radial-gradient(circle at 35% 30%,#E8FF9E,#C6F35E 45%,#7FA62A);box-shadow:0 6px 7px -2px rgba(0,0,0,.55)}
/* each photo: a white-bordered print with a paper note peeking out under it */
.stOn .stGal figure{overflow:visible;border-radius:3px;background:#fff;padding:6px 6px 7px;box-sizing:border-box;
  box-shadow:0 12px 18px -10px rgba(40,24,8,.6),-5px 6px 0 -1px #F2E7CF,-5px 6px 0 0 rgba(40,24,8,.1)}
.stOn .stGal figure img{inset:6px 6px 7px;width:calc(100% - 12px);height:calc(100% - 13px);border-radius:2px}
.stOn .stGal .sgA{transform:rotate(-1.2deg)}
.stOn .stGal .sgB{transform:rotate(1.6deg)}
.stOn .stGal .sgC{transform:rotate(-1deg)}
/* pins and a strip of tape */
.stOn .stGal figure::before{content:"";position:absolute;z-index:2;top:-7px;left:50%;width:14px;height:14px;margin-left:-7px;border-radius:50%;
  background:radial-gradient(circle at 35% 30%,#5C7F70,#1E4234 50%,#0B1C16);box-shadow:0 5px 6px -2px rgba(0,0,0,.55)}
.stOn .stGal .sgA::before{display:none}
.stOn .stGal .sgA::after{content:"";position:absolute;z-index:2;top:-9px;left:14px;width:64px;height:20px;transform:rotate(-8deg);
  background:rgba(198,243,94,.78);box-shadow:0 2px 3px rgba(0,0,0,.15)}
/* captions become small handwritten labels on the paper */
.stOn .stGal figcaption{left:12px;bottom:12px;background:#F4F2EA;color:var(--ink);font-family:'Google Sans',system-ui,sans-serif;font-weight:600;font-size:12px;letter-spacing:0;text-transform:none;
  border-radius:2px;padding:1px 8px 2px;box-shadow:0 3px 6px -2px rgba(0,0,0,.35);transform:rotate(-2deg)}
.stOn:hover .stGal figure img{transform:none}
.stOn .stGal figure{transition:transform .5s cubic-bezier(.34,1.4,.5,1)}
.stOn:hover .stGal .sgA{transform:rotate(-.4deg) translateY(-2px)}
.stOn:hover .stGal .sgB{transform:rotate(.6deg) translateY(-3px)}
.stOn:hover .stGal .sgC{transform:rotate(-.2deg) translateY(-3px)}
/* the heading and line on their own taped note */
.stOn .stBody{position:relative;align-self:flex-start;max-width:min(560px,100%);padding:16px 20px 18px;background:#F4F2EA;transform:rotate(.5deg);
  box-shadow:0 14px 22px -14px rgba(40,24,8,.7)}
.stOn .stBody::before{content:"";position:absolute;top:-10px;left:50%;width:84px;height:20px;margin-left:-42px;transform:rotate(2deg);background:rgba(244,242,234,.7);
  box-shadow:0 1px 3px rgba(0,0,0,.18);backdrop-filter:blur(1px)}
.stOn .stBody p{color:#4F5E57}
@media (max-width:760px){.stOn .stGal{padding:12px;gap:10px}.stOn .stBody{padding:14px 16px}}
@media (prefers-reduced-motion:reduce){.stOn .stGal figure{transition:none}}

/* ---------- 04 Expertise v2: "Strategic focus areas" (2026-11-16) ----------
   Replaces the clipboard playbook (.pb* rules above are unused now). A typographic index on the
   dark section: five ruled rows, generous spacing, one accent colour. */
.faHead{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:20px 40px}
.faH{margin:0;font-family:'Big Shoulders Display',sans-serif;font-weight:900;text-transform:uppercase;font-size:clamp(44px,min(5.6vw,9vh),96px);line-height:.88;color:#F4F2EA}
.faH span{display:block}
.faHl{color:#C6F35E}
.faIntro{margin:0;max-width:400px;font-size:16px;line-height:1.55;color:#B9C9C0}
.fa{list-style:none;margin:0;padding:0;border-top:1.5px solid rgba(244,242,234,.5);counter-reset:none}
.faR{position:relative;display:grid;grid-template-columns:clamp(54px,6vw,92px) minmax(0,1.15fr) minmax(0,1.1fr) minmax(0,1fr) 46px;align-items:center;column-gap:clamp(16px,2.2vw,36px);
  padding:clamp(14px,2.3vh,24px) 6px;border-bottom:1px solid rgba(244,242,234,.16);isolation:isolate}
/* a quiet lime rule grows under the row you are on */
.faR::after{content:"";position:absolute;left:0;bottom:-1px;height:2px;width:100%;background:#C6F35E;transform:scaleX(0);transform-origin:0 50%;transition:transform .5s cubic-bezier(.65,0,.35,1)}
.faN{font-family:'JetBrains Mono',monospace;font-size:13px;font-weight:600;letter-spacing:.12em;color:#7E9A8C;transition:color .3s}
.faT{margin:0;font-family:'Big Shoulders Display',sans-serif;font-weight:800;text-transform:uppercase;font-size:clamp(22px,min(2.2vw,3.8vh),34px);line-height:.95;color:#F4F2EA;transition:transform .45s cubic-bezier(.2,.8,.2,1)}
.faP{margin:0;font-size:clamp(13.5px,1vw,15px);line-height:1.5;color:#B9C9C0}
.faK{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.faK li{padding:5px 10px 6px;border-radius:999px;border:1px solid rgba(244,242,234,.22);font-size:12px;font-weight:600;color:#E6F0EA;white-space:nowrap}

@media (hover:hover){
  .faR:hover::after{transform:none}
  .faR:hover .faN{color:#C6F35E}
  .faR:hover .faT{transform:translateX(8px)}
  
}
.faR:focus-within::after{transform:none}
@media (max-width:1000px){
  .faR{grid-template-columns:54px minmax(0,1fr) 44px;row-gap:10px;align-items:start}
  .faN{grid-row:1;padding-top:6px}
  .faT{grid-column:2}
  
  .faP,.faK{grid-column:2/4}
}
@media (max-width:560px){.faR{grid-template-columns:40px minmax(0,1fr) 40px}}
@media (prefers-reduced-motion:reduce){.faR::after,.faT,.faGo{transition:none}}

/* ---------- mobile.html ("Mobile" page, 2026-11-16): a slim bar back to the homepage ---------- */
.mpTop{position:fixed;z-index:90;left:50%;top:12px;transform:translateX(-50%);display:flex;align-items:center;gap:14px;padding:6px 6px 6px 16px;border-radius:999px;
  background:rgba(14,32,26,.9);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);box-shadow:0 10px 30px -10px rgba(0,0,0,.5);font-size:14px;color:#F4F2EA}
.mpTop span{padding:8px 16px;border-radius:999px;background:#C6F35E;color:#0F241D;font-family:'Big Shoulders Display',sans-serif;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.mpBack{color:#F4F2EA;text-decoration:none;font-weight:600}
.mpBack:hover{color:#C6F35E}

/* ---------- On Stage: white board like Off Stage (2026-11-16, client) ----------
   The cork, its dots and the wooden frame are gone; the panel uses Off Stage's off-white graph
   paper. The pinned sheet, prints, pins, tape and the heading note stay. */
.stOn{background-color:var(--paper);
  background-image:linear-gradient(rgba(15,36,29,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(15,36,29,.06) 1px,transparent 1px);background-size:26px 26px;background-position:0 0;
  box-shadow:inset 0 0 0 1px var(--paper-line),0 30px 60px -30px rgba(0,0,0,.8)}
.stOn:hover{box-shadow:inset 0 0 0 2px var(--ink),0 40px 70px -30px rgba(0,0,0,.85)}
.stOn .stGal{background-color:#FFFEFA;box-shadow:0 1px 0 rgba(0,0,0,.04),0 18px 26px -16px rgba(15,36,29,.45),6px 7px 0 -1px #EDEBE2,6px 7px 0 0 rgba(15,36,29,.1)}
.stOn .stGal figure{box-shadow:0 12px 18px -10px rgba(15,36,29,.45),-5px 6px 0 -1px #ECE9DD,-5px 6px 0 0 rgba(15,36,29,.08)}
.stOn .stBody{background:#FFFEFA;box-shadow:0 14px 22px -14px rgba(15,36,29,.5),0 0 0 1px rgba(15,36,29,.06)}
.stOn .stBody::before{background:rgba(198,243,94,.7)}

/* ---------- How I lead: photos framed whole (2026-11-16, client: heads were cut off) ----------
   Each frame now has its photo's own shape (no cover-crop), the photos are not scaled up, and the
   inset-frame hover no longer clips edges. Hover lifts the print instead. */
.ldPh{clip-path:none !important;height:auto !important;transition:transform .5s cubic-bezier(.2,.8,.2,1),box-shadow .5s}
.ldPh img{transform:none !important;height:auto;aspect-ratio:auto}
.ldA .ldPh,.ldC .ldPh{aspect-ratio:4/3}
.ldB .ldPh{aspect-ratio:16/9}
.ldD .ldPh{aspect-ratio:3/2}
.ldPh img{width:100%;height:100%;object-fit:cover;object-position:50% 30%}
@media (hover:hover){.ldE:hover .ldPh{transform:translateY(-4px);box-shadow:0 16px 26px -14px rgba(15,36,29,.55)}}
@media (min-width:1001px){.ldN{font-size:clamp(64px,min(7.6vw,11.5vh),124px)}.ldE{gap:9px}}
@media (max-width:600px){.ldPh{height:auto !important}}
@media (min-width:1001px){.ldB{padding-top:clamp(34px,5.6vh,60px)}.ldD{padding-top:clamp(40px,6.6vh,70px)}.ldC{padding-top:clamp(18px,2.8vh,30px)}}

/* ---------- Expertise v2.1 (2026-11-16, client): arrows removed, calmer rhythm ----------
   Four columns now: number, name, one line, capabilities. More air per row, the name and line
   share a baseline, the pills sit right-aligned. */
.faR{grid-template-columns:clamp(56px,5.4vw,86px) minmax(0,1.05fr) minmax(0,1.15fr) minmax(0,1fr);align-items:baseline;column-gap:clamp(20px,2.8vw,48px);
  padding:clamp(18px,2.9vh,30px) 4px}
.faN{display:flex;align-items:center;gap:10px}
.faN::after{content:"";width:18px;height:2px;background:rgba(198,243,94,.55);transition:width .4s cubic-bezier(.2,.8,.2,1),background-color .3s}
.faT{font-size:clamp(24px,min(2.3vw,4vh),36px);letter-spacing:.005em}
.faP{max-width:42ch}
.faK{justify-content:flex-end;align-self:center}
.faK li{background:rgba(244,242,234,.04)}
@media (hover:hover){.faR:hover .faN::after{width:30px;background:#C6F35E}.faR:hover .faK li{border-color:rgba(198,243,94,.5)}}
.faIntro{border-left:2px solid #C6F35E;padding-left:16px}
@media (max-width:1000px){
  .faR{grid-template-columns:56px minmax(0,1fr);align-items:start}
  .faN{grid-row:1/span 3;padding-top:8px}
  .faT,.faP,.faK{grid-column:2}
  .faK{justify-content:flex-start}
}
@media (max-width:560px){.faR{grid-template-columns:44px minmax(0,1fr)}.faN::after{display:none}}
@media (min-width:1001px){
  #playbook{padding-top:clamp(56px,8.5vh,100px) !important;padding-bottom:clamp(44px,6.5vh,84px) !important}
  .faR{padding-top:clamp(15px,2.4vh,26px);padding-bottom:clamp(15px,2.4vh,26px)}
}

/* ---------- Spoken popup: TV & podcast media cards (2026-11-16) ---------- */
.spkBox{width:min(620px,100%)}
.spkL{padding:16px 20px 20px}
.spkG{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.spkM{display:flex;flex-direction:column;border-radius:14px;overflow:hidden;background:#FFFEFA;color:#0F241D;text-decoration:none;
  box-shadow:0 0 0 1px rgba(15,36,29,.1),0 12px 22px -16px rgba(15,36,29,.6);transition:transform .35s cubic-bezier(.2,.8,.2,1),box-shadow .35s}
.spkM:hover{transform:translateY(-3px);box-shadow:0 0 0 1.5px #0F241D,0 18px 28px -16px rgba(15,36,29,.7)}
.spkM:focus-visible{outline:2px solid #0F241D;outline-offset:3px}
.spkTh{position:relative;display:block;aspect-ratio:16/9;background:#0F241D;overflow:hidden}
.spkTh img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .6s cubic-bezier(.2,.8,.2,1)}
.spkM:hover .spkTh img{transform:scale(1.04)}
.spkPl{position:absolute;left:50%;top:50%;width:44px;height:44px;margin:-22px 0 0 -22px;border-radius:50%;display:grid;place-items:center;background:#C6F35E;color:#0F241D;
  box-shadow:0 8px 18px rgba(0,0,0,.45);transition:transform .3s cubic-bezier(.34,1.5,.5,1)}
.spkPl svg{width:20px;height:20px;fill:currentColor;margin-left:2px}
.spkM:hover .spkPl{transform:scale(1.1)}
.spkTh em{position:absolute;left:8px;top:8px;padding:3px 7px;border-radius:4px;font-style:normal;font-family:'JetBrains Mono',monospace;font-size:9.5px;letter-spacing:.08em;text-transform:uppercase;background:#E2245E;color:#fff}
.spkTx{display:flex;flex-direction:column;gap:3px;padding:10px 12px 12px}
.spkTx b{font-size:15px;line-height:1.2}
.spkTx span{font-size:12.5px;line-height:1.35;color:#4F5E57}
.spkTx small{margin-top:2px;font-family:'JetBrains Mono',monospace;font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:#7E8C85}
@media (max-width:520px){.spkG{grid-template-columns:1fr}.spkM{flex-direction:row}.spkTh{width:44%;flex:none;aspect-ratio:16/10}.spkPl{width:34px;height:34px;margin:-17px 0 0 -17px}.spkTh em{font-size:8.5px}}

/* ---------- Subsection headings in Sora (2026-11-16, client) ----------
   Section labels ("03 How I lead", "04 Expertise", ...) and the smaller supporting headings move
   from the old handwritten script to Sora: modern, clean, professional. Big display headings stay in
   Big Shoulders, body text in Inter Tight; handwritten accents on notes and the signature stay. */
.lbl,.mbIntro .lbl,.mbArrive .lbl,.irPaper .lbl{transform:none}
.lblT,.lblD .lblT,.lblP .lblT{font-family:'Sora',system-ui,sans-serif;font-size:clamp(14px,1.05vw,16px);font-weight:600;letter-spacing:.06em;text-transform:uppercase;gap:12px;padding:2px 0 8px}
.lblT>span:last-child::after{left:0;right:auto;bottom:-6px;width:28px;height:2.5px;border:0;border-radius:2px;background:currentColor;opacity:.9;transform:none}
.lblD .lblT>span:last-child::after{background:var(--accent)}
.lblP .lblT>span:last-child::after{background:#9CC93A}
.lblT b{width:auto;height:auto;padding:3px 7px;border:1.5px solid currentColor;border-radius:999px;font-size:.82em;font-weight:700;letter-spacing:.04em}
.ldE h3,.faT,.lgT b,.stuEpT{font-family:'Sora',system-ui,sans-serif;font-weight:700;text-transform:none;letter-spacing:-.015em;line-height:1.12}
.ldE h3{font-size:clamp(19px,min(1.6vw,2.8vh),24px)}
.faT{font-size:clamp(19px,min(1.65vw,2.9vh),25px)}
.lgT b{font-size:clamp(15px,1.15vw,17px)}
.stuEpT{font-size:clamp(20px,1.8vw,24px)}
.spkTx b,.spkHd h3{font-family:'Sora',system-ui,sans-serif;letter-spacing:-.01em}
.spkHd h3{text-transform:none;font-weight:700;font-size:clamp(22px,3vw,28px);line-height:1.1}
@media (max-width:600px){.ldE h3{font-size:20px}}

/* ---------- On Stage / Off Stage v4 (2026-11-16, client) ----------
   Two information cards, no links: same height, same padding, same cream graph paper. The white
   sheet behind the On Stage photos is gone; the prints sit straight on the card and are larger. */
.stg{align-items:stretch}
.stOn,.stOff{cursor:default;height:clamp(470px,62vh,640px);padding:26px clamp(22px,2.6vw,36px) 26px;box-sizing:border-box}
.stOn:hover,.stOff:hover{transform:none}
.stOn .stGal{flex:1;min-height:0;margin:4px 2px 18px;padding:0;gap:16px;background:none;background-image:none;box-shadow:none;transform:none}
.stOn .stGal::before{display:none}
.stOn .stGal{grid-template-columns:1.45fr 1fr;grid-template-rows:1fr 1fr}
.stOn .stGal .sgA img{object-position:50% 35%}
.stOn .stGal .sgB img{object-position:50% 45%}
.stOn .stGal .sgC img{object-position:50% 18%}
@media (max-width:1000px){
  .stOn,.stOff{height:auto;min-height:0}
  .stOn .stGal{flex:none;height:clamp(260px,62vw,420px)}
}

/* ---------- Global map v2 sizing (2026-11-16, client: bigger map, clear gap above Industries) ----------
   About 28% larger at every desktop height, a taller stage to hold it with the standing labels, and a
   fixed gap under the map's thick base so it never touches the Industries divider. */
@media (min-width:1001px){
  #global .mapFit{transform:scale(.74)}
  #global .mapStage{height:clamp(340px,46vh,540px) !important;margin-top:clamp(56px,8vh,96px);margin-bottom:clamp(40px,5.5vh,64px)}
}
@media (min-width:1301px) and (min-height:961px){#global .mapFit{transform:scale(.88)}}
@media (min-width:1001px) and (max-height:800px){#global .mapFit{transform:scale(.62)}#global .mapStage{height:clamp(300px,46vh,420px) !important}}
@media (max-width:1000px){#global .mapFit{transform:scale(.62)}#global .mapStage{height:430px !important;margin-bottom:40px}}
@media (max-width:640px){#global .mapFit{transform:scale(.29)}#global .mapStage{height:250px !important;margin-bottom:28px}}
@media (min-width:1001px){#global .mapStage{height:clamp(300px,40vh,480px) !important;margin-top:clamp(30px,4.2vh,60px);margin-bottom:clamp(36px,4.6vh,56px)}}
@media (min-width:1001px) and (max-height:800px){#global .mapStage{height:clamp(280px,42vh,380px) !important}}
@media (min-width:1001px){#global .mapStage{margin-top:clamp(70px,8.6vh,104px);margin-bottom:clamp(24px,3vh,40px)}}
@media (max-width:1000px){#global .mapStage{margin-bottom:64px}}
@media (max-width:640px){#global .mapFit{transform:scale(.27)}#global .mapStage{margin-bottom:44px}}
@media (min-width:1001px) and (min-height:801px) and (max-height:960px){#global .mapFit{transform:scale(.7)}}
@media (min-width:641px) and (max-width:1000px){#global .mapFit{transform:scale(.56)}}

/* ---------- On Stage v5 (2026-11-16, client) ----------
   The heading and line no longer sit on a taped paper note: they sit straight on the card like
   Off Stage. The photos get the freed height; the MWC frame keeps Ahmed (bottom of the shot) in view. */
.stOn .stBody{background:none;box-shadow:none;transform:none;padding:0;max-width:none;align-self:stretch}
.stOn .stBody::before{display:none}
.stOn .stGal{margin-bottom:22px}
.stOn .stGal .sgB img{object-position:50% 55%}
.stOn .stGal .sgC img{object-position:50% 82%}
@media (max-width:1000px){.stOn .stGal{height:clamp(300px,74vw,480px)}}

/* ---------- On Stage v6 (2026-11-16, client: use the empty space beside the heading) ----------
   Desktop: the card is a grid. Left: the big official photo, then the heading and line under it.
   Right: MWC (tall, so the whole person shows) on top and the ICOSST panel below, reaching down
   beside the heading, so no blank space is left next to the text. */
@media (min-width:1001px){
  .stOn{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;
    grid-template-areas:"a c" "body b";column-gap:18px;row-gap:20px}
  .stOn .stGal{display:contents}
  .stOn .stGal .sgA{grid-area:a}
  .stOn .stGal .sgC{grid-area:c}
  .stOn .stGal .sgB{grid-area:b;min-height:150px}
  .stOn .stBody{grid-area:body;align-self:end}
  .stOn .stGal .sgC img{object-position:50% 70%}
  .stOn .stGal .sgB img{object-position:50% 50%}
}

/* ---------- Off Stage v2 (2026-11-16, client: "customise it a bit") ----------
   Matches On Stage: pinned white-bordered prints straight on the graph paper. Big print: the
   Airbridge team visiting the Ingenious Concepts office in Lahore (2023, from the record); tall
   print: the team, day to day (now a local copy); the lime sticky note sits beside the heading. */
.stOff .stGal{display:grid;grid-template-columns:1.45fr 1fr;grid-template-rows:1fr 1fr;gap:16px;flex:1;min-height:0;margin:4px 2px 22px}
.stOff .stGal figure{position:relative;margin:0;overflow:visible;border-radius:3px;background:#fff;padding:6px 6px 7px;box-sizing:border-box;
  box-shadow:0 12px 18px -10px rgba(15,36,29,.45),-5px 6px 0 -1px #ECE9DD,-5px 6px 0 0 rgba(15,36,29,.08);transition:transform .5s cubic-bezier(.34,1.4,.5,1)}
.stOff .stGal figure img{position:absolute;inset:6px 6px 7px;width:calc(100% - 12px);height:calc(100% - 13px);object-fit:cover;border-radius:2px}
.stOff .stGal .sgA{transform:rotate(1.1deg)}
.stOff .stGal .sgC{transform:rotate(-1.6deg)}
.stOff .stGal .sgA img{object-position:50% 40%}
.stOff .stGal .sgC img{object-position:50% 12%}
.stOff .stGal figure::before{content:"";position:absolute;z-index:2;top:-7px;left:50%;width:14px;height:14px;margin-left:-7px;border-radius:50%;
  background:radial-gradient(circle at 35% 30%,#5C7F70,#1E4234 50%,#0B1C16);box-shadow:0 5px 6px -2px rgba(0,0,0,.55)}
.stOff .stGal .sgA::before{display:none}
.stOff .stGal .sgA::after{content:"";position:absolute;z-index:2;top:-9px;right:18px;width:64px;height:20px;transform:rotate(7deg);background:rgba(198,243,94,.78);box-shadow:0 2px 3px rgba(0,0,0,.15)}
.stOff .stGal figcaption{position:absolute;left:12px;bottom:12px;padding:1px 8px 2px;border-radius:2px;background:#F4F2EA;color:var(--ink);
  font-family:'Google Sans',system-ui,sans-serif;font-weight:600;font-size:12px;box-shadow:0 3px 6px -2px rgba(0,0,0,.35);transform:rotate(-2deg);white-space:nowrap}
/* the sticky note becomes a grid tile instead of floating */
.stOff .stGal .stSticky{position:relative;top:auto;right:auto;width:auto;margin:6px 4px;align-self:stretch;display:flex;flex-direction:column;justify-content:center;transform:rotate(2.5deg)}
.stOff .stRing{top:auto;bottom:-40px;right:-30px}
@media (min-width:1001px){
  .stOff{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;
    grid-template-areas:"a c" "body b";column-gap:18px;row-gap:20px}
  .stOff .stGal{display:contents}
  .stOff .stGal .sgA{grid-area:a}
  .stOff .stGal .sgC{grid-area:c}
  .stOff .stGal .sgB{grid-area:b;min-height:150px}
  .stOff .stBody{grid-area:body;align-self:end}
}
@media (max-width:1000px){.stOff .stGal{flex:none;height:clamp(300px,74vw,480px)}.stOff .stGal .stSticky{font-size:19px;padding:12px}}
@media (prefers-reduced-motion:reduce){.stOff .stGal figure{transition:none}}
@media (max-width:1000px){.stOff .stGal{grid-template-areas:"a c" "b c"}.stOff .stGal .sgA{grid-area:a}.stOff .stGal .sgC{grid-area:c}.stOff .stGal .sgB{grid-area:b}}
.stOff .stGal figcaption{text-transform:none;letter-spacing:0}

/* photo sphere: extra photos are data for the sphere only; the no-JS grid keeps the original eight */
.galX{display:none !important}

/* ---------- Photo sphere: smaller frames, more of them (2026-11-16, client) ----------
   Frames ~25% smaller (200x194 on desktop, 118x114 on phones) and a 20 x 8 grid (160 frames),
   so more photos are in view at once. The polaroid border and caption scale down with them. */
.sph{--tw:200px;--th:194px}
.sphT{padding:8px 8px 0}
.sphT img{top:8px !important;left:8px !important;width:calc(100% - 16px) !important;height:calc(100% - 48px) !important}
.sphTag{font-size:16.4px !important;bottom:9px !important}
.sphT::before{width:56px;height:14px;margin-left:-28px;top:-7px}
@media (max-width:760px){
  .sph{--tw:118px;--th:114px}
  .sphT{padding:5px 5px 0}
  .sphT img{top:5px !important;left:5px !important;width:calc(100% - 10px) !important;height:calc(100% - 28px) !important}
  .sphTag{font-size:12px !important;bottom:5px !important}
  .sphT::before{width:34px;height:10px;margin-left:-17px;top:-5px}
}
.sphTag{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0 8px !important;box-sizing:border-box}

/* ===== Lightbox v4 (2026-11-16, client): the photo opens on a desktop monitor ===== */
/* 16:10 screen in a thin dark bezel, a light aluminium chin, neck and foot. The photo is shown
   whole (contain) over a blurred copy of itself, so wide event photos are never cropped. */
.sphBox figure.macX{position:relative;margin:0;display:flex;flex-direction:column;align-items:center;transform:translateY(70px) scale(.86);transition:transform .6s cubic-bezier(.2,.9,.3,1.12)}
.sphBox.on figure.macX{transform:none}
.macMon{--w:min(980px,92vw,calc((100vh - 200px) * 1.6 + 28px));width:var(--w);box-sizing:border-box;padding:12px 12px 0;border-radius:18px 18px 10px 10px;
  background:linear-gradient(#26292D,#141619);box-shadow:inset 0 0 0 1px rgba(255,255,255,.12),0 50px 90px -30px rgba(0,0,0,.9)}
.macScr{position:relative;aspect-ratio:16/10;overflow:hidden;border-radius:6px;background:#0B0D0F}
.macBlur{position:absolute;inset:-30px;background:center/cover no-repeat;filter:blur(26px) brightness(.55) saturate(1.1);transform:scale(1.1)}
.sphBox .macScr img{position:absolute;z-index:1;inset:0;width:100%;height:100%;max-width:none;max-height:none;object-fit:contain;border:0;border-radius:0;box-shadow:none}
.sphBox.on .macScr img{animation:macOn .5s cubic-bezier(.2,.8,.2,1) .3s both}
@keyframes macOn{from{clip-path:inset(49.5% 0 49.5% 0)}to{clip-path:inset(0 0 0 0)}}
.macBar{position:absolute;z-index:2;left:0;right:0;top:0;height:24px;display:flex;align-items:center;justify-content:space-between;padding:0 12px;
  background:rgba(20,22,24,.55);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);color:#F4F2EA;font:500 12px/1 'Inter Tight',system-ui,sans-serif}
.macL{display:flex;align-items:center;gap:14px}.macL b{font-family:'Big Shoulders Display',sans-serif;font-weight:900;font-size:14px;color:#C6F35E}.macL span:first-of-type{font-weight:700}
.macR b{font-weight:600}
.macCap{position:absolute !important;z-index:2;left:0 !important;right:0;bottom:0 !important;top:auto !important;display:flex !important;flex-direction:column !important;align-items:flex-start !important;
  gap:2px !important;padding:40px 22px 16px !important;transform:none !important;background:linear-gradient(transparent,rgba(10,23,19,.88) 60%)}
.macCap .sphP,.macCap .sphC{padding:0 !important;text-shadow:none !important;background:none !important}
.macCap .sphP::before,.macCap .sphC::before{display:none !important}
.macCap .sphP{font-family:'Google Sans',system-ui,sans-serif !important;font-size:clamp(18.7px,2.3vw,31.2px) !important;color:#C6F35E !important}
.macCap .sphC{font-family:'Inter Tight',sans-serif !important;font-weight:600 !important;font-size:clamp(12px,1.3vw,16px) !important;color:#E8EEE9 !important;margin:0 !important}
.macChin{display:block;height:clamp(22px,3.4vw,34px);margin:0 -12px;border-radius:0 0 10px 10px;background:linear-gradient(#E3E5E8,#C9CCD1);box-shadow:inset 0 1px 0 rgba(255,255,255,.7)}
.macNeck{display:block;width:clamp(70px,11vw,130px);height:clamp(34px,6vh,64px);background:linear-gradient(90deg,#B9BDC2,#E6E8EB 45%,#B4B8BD);clip-path:polygon(8% 0,92% 0,100% 100%,0 100%)}
.macFoot{display:block;width:clamp(150px,22vw,250px);height:8px;border-radius:4px 4px 6px 6px;background:linear-gradient(#E6E8EB,#AEB2B7);box-shadow:0 12px 24px -8px rgba(0,0,0,.7)}
.sphBox figure.macX .sphX{position:absolute;top:-18px;right:-18px}
@media (max-width:760px){.macMon{--w:94vw;padding:7px 7px 0;border-radius:12px 12px 8px 8px}.macBar{height:18px;font-size:10px;padding:0 8px}.macL{gap:9px}.macL span:not(:first-of-type){display:none}
  .macCap{padding:24px 12px 9px !important}.sphBox figure.macX .sphX{top:-48px;right:0}}
@media (prefers-reduced-motion:reduce){.sphBox figure.macX{transition:none}.sphBox.on .macScr img{animation:none}}

/* viewer close button: beside the monitor, not on its corner (2026-11-16) */
.sphBox figure.macX .sphX{top:0;right:-62px;width:46px;height:46px}
@media (max-width:1100px){.sphBox figure.macX .sphX{top:-58px;right:0}}
@media (min-width:1001px) and (max-width:1100px){.sphBox figure.macX .sphX{top:0;right:-52px;width:42px;height:42px}}
@media (max-width:1000px){.sphBox{padding-top:84px}}

/* ---------- Photo sphere: tighter and denser (2026-11-16, client) ----------
   Frames ~10% smaller (180x175 desktop, 106x103 phones); main.js spaces the columns from this
   width so neighbours sit ~12px apart, and 68 photos fill the grid. */
.sph{--tw:180px;--th:175px}
.sphT{padding:7px 7px 0}
.sphT img{top:7px !important;left:7px !important;width:calc(100% - 14px) !important;height:calc(100% - 43px) !important}
.sphTag{font-size:14.8px !important;bottom:8px !important}
.sphT::before{width:50px;height:13px;margin-left:-25px;top:-6px}
@media (max-width:760px){
  .sph{--tw:106px;--th:103px}
  .sphT{padding:5px 5px 0}
  .sphT img{top:5px !important;left:5px !important;width:calc(100% - 10px) !important;height:calc(100% - 26px) !important}
  .sphTag{font-size:12px !important;bottom:5px !important}
  .sphT::before{width:30px;height:9px;margin-left:-15px;top:-4px}
}

/* ---------- Footer keys: hover (2026-11-16, client) ----------
   Socials: the key's own letter colour wipes in from the corner (cream for in/FB, lime for X/IG),
   the big letters turn dark and pop with a tilt, and a small arrow springs out beside the name.
   Back to top: lime rises from the bottom and the arrow flies up and comes back in from below. */
.ft nav .key:not(.keyMain){position:relative;overflow:hidden;isolation:isolate;--fill:var(--accent)}
.ft nav .key[aria-label="LinkedIn"],.ft nav .key[aria-label="Facebook"]{--fill:var(--paper)}
.ft nav .key:not(.keyMain)::before{content:"";position:absolute;inset:0;z-index:-1;background:var(--fill);clip-path:circle(0% at 100% 100%);transition:clip-path .5s cubic-bezier(.3,.8,.2,1)}
.ft nav .key:not(.keyMain):hover::before,.ft nav .key:not(.keyMain):focus-visible::before{clip-path:circle(150% at 100% 100%)}
.ft nav .key:not(.keyMain):hover,.ft nav .key:not(.keyMain):focus-visible{color:var(--bg)}
.ft nav .key[aria-label]:hover > span:first-child,.ft nav .key[aria-label]:focus-visible > span:first-child{color:var(--bg) !important}
.ft nav .key .x3d,.ft nav .key .x3dw{display:inline-block;transform-origin:100% 100%;transition:transform .45s cubic-bezier(.3,1.6,.5,1),color .2s}
.ft nav .key:hover .x3d,.ft nav .key:hover .x3dw,.ft nav .key:focus-visible .x3d,.ft nav .key:focus-visible .x3dw{color:var(--bg);transform:translateY(-4px) rotate(-6deg) scale(1.12);
  text-shadow:.012em .012em 0 rgba(15,36,29,.38),.024em .024em 0 rgba(15,36,29,.26),.036em .036em 0 rgba(15,36,29,.16)}
.ft nav .key[aria-label] > span:first-child::after{content:"\2197";display:inline-block;margin-left:6px;font-size:13px;transform:translate(-6px,6px) scale(0);transition:transform .35s cubic-bezier(.3,1.6,.5,1)}
.ft nav .key[aria-label]:hover > span:first-child::after,.ft nav .key[aria-label]:focus-visible > span:first-child::after{transform:none}
.ft nav a.key[href="#top"]::before{clip-path:inset(100% 0 0 0);transition:clip-path .45s cubic-bezier(.3,.8,.2,1)}
.ft nav a.key[href="#top"]:hover::before,.ft nav a.key[href="#top"]:focus-visible::before{clip-path:inset(0 0 0 0)}
.ft nav a.key[href="#top"]:hover svg{animation:ftTopLoop .7s cubic-bezier(.3,.8,.2,1)}
@keyframes ftTopLoop{0%{transform:none}45%{transform:translateY(-42px)}46%{transform:translateY(42px)}100%{transform:none}}
@media (prefers-reduced-motion:reduce){
  .ft nav .key::before,.ft nav .key .x3d,.ft nav .key .x3dw,.ft nav .key span::after{transition:none}
  .ft nav a.key[href="#top"]:hover svg{animation:none}
}

/* ---------- All Access pass: real photo (2026-11-16, client) ----------
   Ahmed at the Golden Gate Bridge (assets/img/ahmed/ahmed-golden-gate.jpg, cropped to the frame's
   shape). A full photo, so it fills the frame instead of the old cut-out's offsets. */
.hxPhoto img.hxReal{left:0;top:0;width:100%;height:100%;object-fit:cover;object-position:50% 20%}

/* ---------- Footer "Email me": chooser (2026-11-16, client) ----------
   The key opens four keycaps under it (Gmail, Outlook, mail app, copy). They drop in like keys
   being pressed into place, one after another. */
.mailPick{grid-column:1 / -1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.mailPick[hidden]{display:none}
.mpOpt{all:unset;box-sizing:border-box;cursor:pointer;display:flex;flex-direction:column;gap:4px;padding:14px 16px;border-radius:14px;background:linear-gradient(var(--surface-2),var(--surface));
  border:1px solid var(--line-3);box-shadow:0 6px 0 var(--deep),0 10px 18px rgba(0,0,0,.4);color:var(--paper);transition:transform .12s,box-shadow .12s,background .2s,color .2s;animation:mpIn .45s cubic-bezier(.3,1.5,.5,1) both}
.mpOpt:nth-child(2){animation-delay:.05s}.mpOpt:nth-child(3){animation-delay:.1s}.mpOpt:nth-child(4){animation-delay:.15s}
.mpOpt b{font-family:'Big Shoulders Display',sans-serif;font-weight:900;font-size:24px;line-height:1;text-transform:uppercase}
.mpOpt span{font-size:12px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mpOpt:hover,.mpOpt:focus-visible{background:var(--accent);color:var(--bg);transform:translateY(3px);box-shadow:0 3px 0 var(--accent-deep),0 6px 12px rgba(0,0,0,.4)}
.mpOpt:hover span,.mpOpt:focus-visible span{color:var(--bg)}
.mpOpt:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
@keyframes mpIn{from{transform:translateY(-18px) scale(.94)}to{transform:none}}
@media (max-width:760px){.mailPick{grid-template-columns:1fr 1fr}.mpOpt b{font-size:20px}}
@media (prefers-reduced-motion:reduce){.mpOpt{animation:none;transition:none}}

/* ---------- Map: Europe as one pin with a zoomed loupe (2026-11-16, client) ----------
   The six European countries sat too close to read as separate sticks. Now each keeps a small
   dot where the arcs land, and one lime stick carries a card: a round magnifier over the same
   dotted map (worldmap.svg at x14) with the six points marked, and the six flags listed. */

@keyframes euPulse{50%{transform:scale(1.35)}}

/* footer email chooser: a short note when this computer has no mail app */
.mpOpt.mpNo{background:var(--paper);color:var(--bg)}
.mpOpt.mpNo span{color:var(--bg);white-space:normal}

/* Europe card, compact (2026-11-16): 96px loupe, flags in two columns, sits between the intro text and the map */

@keyframes euPulse{50%{transform:scale(1.2)}}

/* ---------- Map sticks: visible on cream and on the map (2026-11-16, client) ----------
   The sticks were cream (var(--paper)), so the part above the map, against the cream page,
   vanished and they looked cut short. Now every stick is lime with a dark outline and a soft
   glow, marked like a ruler (ticks that flow upward), with a connector cap where it meets the
   label and a ringed foot on the map. Each country keeps its own label. */
.mapPlane [role="listitem"] > div > span[aria-hidden="true"]:first-child{
  left:-2.5px !important;width:5px !important;border-radius:3px;
  background:repeating-linear-gradient(to top,var(--accent) 0 9px,color-mix(in oklab,var(--accent) 45%,#0F241D) 9px 11px) !important;
  box-shadow:0 0 0 1.5px #0F241D,0 0 14px color-mix(in srgb,var(--accent) 60%,transparent) !important;
  animation:stickFlow 1.4s linear infinite}
.mapPlane [role="listitem"] > div > span[aria-hidden="true"]:first-child::before{content:"";position:absolute;left:50%;top:-6px;width:12px;height:12px;margin-left:-6px;border-radius:50%;
  background:var(--accent);box-shadow:0 0 0 2px #0F241D,0 0 10px color-mix(in srgb,var(--accent) 70%,transparent)}
.mapPlane [role="listitem"] > div > span[aria-hidden="true"]:first-child::after{content:"";position:absolute;left:50%;bottom:-5px;width:10px;height:10px;margin-left:-5px;border-radius:50%;
  background:#0F241D;box-shadow:0 0 0 2.5px var(--accent)}
@keyframes stickFlow{from{background-position:0 0}to{background-position:0 -22px}}
@media (prefers-reduced-motion:reduce){.mapPlane [role="listitem"] > div > span[aria-hidden="true"]:first-child{animation:none}}

/* ---------- Industries marquee: seamless loop (2026-11-16) ----------
   Four identical copies of the pills, spacing on each pill (not flex gap), so moving by exactly
   half the track lands on an identical frame: no blank stretch at the end, no jump. */
.gInd .mq,.gInd .mq2{gap:0 !important;will-change:transform}
.gInd .mq>span,.gInd .mq2>span{margin-right:12px;flex:none}
.gInd .mq{animation-duration:60s}
.gInd .mq2{animation-duration:52s}

/* ---------- Off Stage: bigger Airbridge print, no heads cut (2026-11-17, client) ----------
   The sticky note's 150px minimum made row two taller than the heading, which left empty space
   under the photo. Row two now follows the heading and the note stretches to it, so the photo
   grows into that space. The photo is anchored at the top: the heads sit close to its top edge. */
@media (min-width:1001px){
  .stOff .stGal .sgB{min-height:0}
  .stOff{row-gap:16px}
}
.stOff .stGal .sgA img{object-position:46% 0%}

/* ---------- About Ahmed Vaseer (2026-11-18, client) ----------
   Section 01 is now "About Ahmed Vaseer": the client's five paragraphs (third person on purpose),
   still typed on scroll by main.js §2b, with his Golden Gate portrait beside them as a taped print.
   The track is 420vh on desktop (about 4x the old message); phones (<=760px) are not pinned and show
   the text fully typed. The type is smaller than the old message so all of it fits one pinned screen. */
.abGrid{max-width:1240px;width:100%;margin:0 auto;display:grid;grid-template-columns:minmax(0,58fr) minmax(0,42fr);gap:clamp(32px,5vw,84px);align-items:center}
.abText{display:flex;flex-direction:column;gap:clamp(14px,2.4vh,26px);min-width:0}
.abSec .msgType{font-size:clamp(16px,min(1.45vw,2.5vh),22px);line-height:1.52;letter-spacing:-.005em;font-weight:500}
.abSec .mwP{display:block}
.abSec .mwP+.mwP{margin-top:.62em}
.abSec .mwHl{padding:0 .1em}
/* when it is not being typed (phones, reduced motion) there is no cursor to blink at the end */
.msgType:not(.typing) .mc.cur::after,.msgType:not(.typing) .mc.pre::before{display:none}

/* the portrait: a white-bordered print, a strip of lime tape, a slight tilt */
.abPhoto{position:relative;justify-self:center;align-self:center;margin:0;box-sizing:border-box;
  width:min(100%,calc((100vh - 210px) * .75),450px);padding:10px 10px 12px;background:#FFFEF9;
  box-shadow:0 2px 0 rgba(0,0,0,.05),0 28px 42px -20px rgba(15,36,29,.55),-6px 7px 0 -1px #E9E5D8,-6px 7px 0 0 rgba(15,36,29,.08);
  transform:rotate(2.2deg);transition:transform .6s cubic-bezier(.34,1.4,.5,1)}
.abPhoto:hover{transform:rotate(.6deg) translateY(-4px)}
.abPhoto img{display:block;width:100%;height:auto;aspect-ratio:3/4;object-fit:cover;object-position:32% 18%;background:#E9E5D8}
.abTape{position:absolute;z-index:2;top:-13px;left:50%;width:104px;height:26px;margin-left:-52px;background:rgba(198,243,94,.72);transform:rotate(-4deg);box-shadow:0 1px 2px rgba(0,0,0,.15)}
@media (prefers-reduced-motion: reduce){.abPhoto{transition:none}}
@media (min-width:761px) and (max-width:1000px){
  .abGrid{grid-template-columns:minmax(0,1fr) minmax(0,.72fr);gap:32px}
  .abSec .msgType{font-size:16px}
}
@media (max-width:760px){
  .abSec .msgStage{min-height:0 !important;padding:56px 20px 64px !important}
  .abGrid{grid-template-columns:1fr;gap:34px}
  .abPhoto{order:-1;width:100%;max-width:440px;transform:rotate(1.2deg)}
  .abPhoto img{aspect-ratio:4/5;object-position:30% 20%}
  .abSec .msgType{font-size:17px;line-height:1.55}
}

/* ---------- Book: "The Opportunity Network" (2026-11-18, client) ----------
   Replaces the Traction chart as section 02. Left: label, title, one line, the pull-quote and the
   "Notify me at launch" key. Right: a CSS-only 3D hardcover (cream cloth cover, quarter-bound in forest
   green, page block on top, a green back) that rises in, then a "Coming soon" stamp thumps onto it
   (main.js §7). On a mouse the book turns a few degrees toward the cursor. Transforms only, no fades. */
.bk{padding-left:clamp(20px,4vw,48px);padding-right:clamp(20px,4vw,48px)}
.bkIn{max-width:1280px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);gap:clamp(32px,5vw,90px);align-items:center}
.bkCopy{display:flex;flex-direction:column;align-items:flex-start;gap:clamp(16px,2.6vh,26px);min-width:0}
.bkH{margin:0;font-family:'Big Shoulders Display',sans-serif;font-weight:900;text-transform:uppercase;font-size:clamp(46px,min(6.4vw,10.5vh),108px);line-height:.86}
.bkH>span{display:block}
.bkP{margin:0;max-width:540px;font-size:16px;line-height:1.55;color:var(--muted)}
.bkSoon{display:block;width:fit-content;margin-bottom:10px;padding:5px 10px 4px;border:1.5px solid var(--accent);border-radius:3px;font-family:'JetBrains Mono',ui-monospace,monospace;font-size:11px;font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:var(--accent)}
.bkQ{position:relative;margin:clamp(6px,1.4vh,14px) 0 0;max-width:620px;padding:4px 0 2px clamp(22px,2.4vw,34px);border-left:3px solid var(--accent)}
.bkQ::before{content:"\201C";position:absolute;right:0;top:-.3em;font-family:'Big Shoulders Display',sans-serif;font-weight:900;font-size:clamp(90px,8vw,130px);line-height:1;color:var(--accent);opacity:.22;pointer-events:none}
.bkQ p{position:relative;margin:0;font-family:'Sora',system-ui,sans-serif;font-weight:500;font-size:clamp(18px,min(1.65vw,2.9vh),26px);line-height:1.38;letter-spacing:-.01em;color:var(--paper)}
.bkQ footer{margin-top:12px;font-family:'JetBrains Mono',ui-monospace,monospace;font-size:12px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--accent)}
.bkBtn{font-family:'Google Sans',system-ui,sans-serif;font-weight:600;font-size:19px;letter-spacing:0;line-height:1;white-space:nowrap}

/* the stage and the book */
.bkStage{--w:clamp(210px,min(21vw,38vh),330px);--h:calc(var(--w) * 1.5);--d:calc(var(--w) * .16);--mx:0;--my:0;
  position:relative;display:grid;place-items:center;min-height:calc(var(--h) + 90px);perspective:1700px;perspective-origin:50% -20%}

/* front cover: cream cloth with a forest quarter-binding along the spine */

/* hinge groove beside the binding */

.bkRule{display:block;width:34%;height:calc(var(--w) * .022);margin-bottom:calc(var(--w) * .07);background:var(--accent);box-shadow:0 0 0 1px rgba(15,36,29,.15)}
.bkT1{font-family:'Sora',system-ui,sans-serif;font-weight:600;font-size:calc(var(--w) * .052);letter-spacing:.32em;text-transform:uppercase;margin-bottom:calc(var(--w) * .02)}
.bkT2,.bkT3{font-family:'Big Shoulders Display',sans-serif;font-weight:900;text-transform:uppercase;font-size:calc(var(--w) * .158);line-height:.88;letter-spacing:-.005em}
.bkT3{margin-top:calc(var(--w) * .02);padding:calc(var(--w) * .012) calc(var(--w) * .03) 0;margin-left:calc(var(--w) * -.03);background:var(--accent);box-shadow:inset 0 -2px 0 rgba(15,36,29,.12)}
.bkAu{margin-top:auto;font-family:'Sora',system-ui,sans-serif;font-weight:600;font-size:calc(var(--w) * .046);letter-spacing:.2em;text-transform:uppercase;line-height:1.3;padding-top:calc(var(--w) * .035);border-top:1.5px solid rgba(15,36,29,.35)}
/* the spine (left), the page block (top and right) and the back */

/* the "Coming soon" rubber stamp, inked green into the cloth */

/* motion: the book rises in, the stamp thumps on; the cursor turns the book a little */

@keyframes bkThump{0%{transform:rotate(-24deg) scale(2.6)}78%{transform:rotate(-12deg) scale(.94)}100%{transform:rotate(-13deg) scale(1)}}
@keyframes bkJolt{0%,100%{translate:0 0}35%{translate:0 5px}}

@media (min-width:761px) and (max-width:1000px){
  .bkIn{grid-template-columns:minmax(0,1fr) minmax(0,.8fr);gap:28px}
  .bkStage{--w:clamp(190px,26vw,260px)}
  #book{padding-top:110px;padding-bottom:80px}
}
@media (max-width:760px){
  #book{padding-top:110px;padding-bottom:72px}
  .bkIn{grid-template-columns:1fr;gap:12px}
  .bkH{font-size:clamp(44px,13.5vw,64px)}
  .bkQ p{font-size:18px}
  .bkStage{--w:min(58vw,230px);min-height:calc(var(--h) + 70px)}
  .bkBtn{font-size:17px}
}

/* ---------- Google Sans replaces the handwritten font (2026-11-18, client) ----------
   Google Sans runs wider than the old script, so on phones the print captions wrap inside the print
   instead of running past its edge. */
@media (max-width:760px){
  .stOn .stGal figcaption,.stOff .stGal figcaption{max-width:calc(100% - 24px);white-space:normal;line-height:1.2;font-size:11px;box-sizing:border-box}
}
/* the floating dock needs ~956px for the links plus "Work With Me": below that (tablets) it drops the
   CTA like phones do, instead of running off the right edge. The header CTA at the top stays. */
@media (min-width:761px) and (max-width:999px){ .dock .hxCta{display:none} }
/* loose text lines stand straight now (the tilt suited handwriting, not a sans) */
.rnGo span{transform:none}
/* the studio topic pills keep to one row, the sphere print captions fit a little more */
.stuTopics li{font-size:14px;padding:5px 12px 6px}
@media (min-width:761px){ .sphTag{font-size:13.5px !important} }

/* ---------- About v2 + Book v2 (2026-11-18, client: "signature remove, image side custom, book side custom") ----------
   About: the signature is gone (a plain byline instead). The portrait is a postcard print: a second print
   tucked behind it, a caption chin, a San Francisco postmark on the corner, and four label-maker tapes
   on its right edge that stick on one by one as the matching phrase is typed (main.js §2b; all shown on
   phones and with reduced motion).
   Book: a lime glow behind the book, the four words of his belief (trust, visibility, relationships,
   value) as nodes whose lines run into the book, a lime bookmark ribbon, and the quote on a dog-eared
   ruled card with the key phrases marked. Transforms, clip-path and stroke draws only. */
.abBy{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;margin:4px 0 0;font-size:14px;color:var(--ink-muted)}
.abBy b{color:var(--bg);font-weight:700;font-size:12px;letter-spacing:.14em;text-transform:uppercase}
.abByRule{width:34px;height:3px;border-radius:2px;background:var(--accent);box-shadow:0 0 0 1px rgba(15,36,29,.12)}

.abPhoto{background:none;padding:0;box-shadow:none;width:min(100%,calc((100vh - 260px) * .75),430px);transform:rotate(2.2deg)}
.abPhoto::before{content:"";position:absolute;z-index:1;inset:0;background:#FFFEF9;
  box-shadow:0 2px 0 rgba(0,0,0,.05),0 30px 44px -20px rgba(15,36,29,.55)}
.abBack{position:absolute;z-index:0;inset:0;background:#E9E5D8;transform:rotate(-6.5deg) translate(-14px,10px);
  box-shadow:0 18px 30px -18px rgba(15,36,29,.45),inset 0 0 0 1px rgba(15,36,29,.06)}
.abFrame,.abCap,.abTape,.abPost,.abTags{position:relative;z-index:2}
.abTape{position:absolute;z-index:4}
.abFrame{display:block;margin:10px 10px 0;overflow:hidden}
.abFrame img{display:block;width:100%;height:auto;aspect-ratio:3/4;object-fit:cover;object-position:32% 18%;background:#E9E5D8}
.abCap{display:flex;align-items:baseline;justify-content:space-between;gap:10px;padding:12px 14px 14px;color:var(--ink)}
.abCap span:first-child{font-family:'Google Sans',system-ui,sans-serif;font-weight:600;font-size:15px}
.abCap span:last-child{font-family:'JetBrains Mono',ui-monospace,monospace;font-size:10px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:#4F5E57}
/* postmark, inked over the top-left corner */
.abPost{position:absolute;z-index:3;top:-30px;left:-38px;width:108px;height:108px;transform:rotate(-14deg);mix-blend-mode:multiply;pointer-events:none}
.abPost circle{fill:none;stroke:#2F5A47;stroke-width:2.2}
.abPost circle+circle{stroke-width:1.4}
.abPost text{fill:#2F5A47;font-family:'JetBrains Mono',ui-monospace,monospace;font-weight:600;font-size:9.2px;letter-spacing:1.2px}
.abPost .abPostC{font-family:'Big Shoulders Display',sans-serif;font-weight:900;font-size:15px;letter-spacing:.8px}
/* label-maker tapes on the right edge */
.abTags{position:absolute;z-index:4;right:-34px;bottom:72px;display:flex;flex-direction:column;align-items:flex-end;gap:9px;margin:0;padding:0;list-style:none;
  filter:drop-shadow(0 5px 6px rgba(15,36,29,.35))}
.abTags li{--np:polygon(0 0,100% 0,calc(100% - 6px) 50%,100% 100%,0 100%,6px 50%);
  padding:7px 14px 6px;background:#0F241D;color:#EEECE4;font-family:'JetBrains Mono',ui-monospace,monospace;font-size:11px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;white-space:nowrap;
  text-shadow:0 1px 0 rgba(0,0,0,.7),0 -1px 0 rgba(255,255,255,.14);clip-path:var(--np);
  transition:clip-path .45s cubic-bezier(.6,0,.2,1),transform .45s cubic-bezier(.3,1.5,.5,1)}
.abTags li b{color:var(--accent);font-weight:700}
.abTags li:nth-child(even){background:var(--accent);color:var(--ink);text-shadow:0 1px 0 rgba(255,255,255,.55),0 -1px 0 rgba(15,36,29,.25)}
.abTags li:nth-child(1){transform:rotate(-2.5deg)}
.abTags li:nth-child(2){transform:rotate(1.5deg) translateX(-10px)}
.abTags li:nth-child(3){transform:rotate(-1deg) translateX(4px)}
.abTags li:nth-child(4){transform:rotate(2deg) translateX(-6px)}
.abPhoto.armT .abTags li:not(.on){clip-path:polygon(100% 0,100% 0,100% 50%,100% 100%,100% 100%,100% 50%);transform:translateX(16px)}
@media (min-width:761px) and (max-width:1439px){ .abTags li{font-size:10px;padding:6px 12px 5px} .abTags{right:-26px} }
@media (max-width:760px){
  .abPhoto{width:100%;max-width:440px;transform:rotate(1.2deg)}
  .abFrame img{aspect-ratio:4/5;object-position:30% 20%}
  .abPost{width:84px;height:84px;top:-18px;left:-12px}
  .abTags{right:-6px;bottom:64px;gap:7px}
  .abTags li{font-size:9.5px;padding:6px 11px 5px}
}
@media (prefers-reduced-motion: reduce){.abTags li{transition:none}}

/* Book v2 */
.bkH{font-size:clamp(44px,min(6vw,9.6vh),100px)}

/* the bookmark ribbon hanging out under the pages */

/* the quote on a dog-eared ruled card */
.bkCard{position:relative;margin:clamp(2px,.8vh,8px) 0 0;max-width:590px;box-sizing:border-box;
  padding:clamp(16px,2.4vh,24px) clamp(22px,2.4vw,32px) clamp(14px,2vh,20px) clamp(62px,5.2vw,78px);color:var(--ink);transform:rotate(-.8deg);
  background:
    linear-gradient(90deg,transparent 0 clamp(48px,4.2vw,62px),rgba(198,243,94,.95) clamp(48px,4.2vw,62px) calc(clamp(48px,4.2vw,62px) + 2px),transparent calc(clamp(48px,4.2vw,62px) + 2px)),
    repeating-linear-gradient(180deg,transparent 0 29px,rgba(15,36,29,.07) 29px 30px),
    #F4F2EA;
  box-shadow:0 26px 36px -20px rgba(0,0,0,.75),0 2px 0 rgba(0,0,0,.18)}
.bkCard::after{content:"";position:absolute;top:0;right:0;width:28px;height:28px;background:linear-gradient(225deg,var(--bg-2) 50%,#D6D0BE 50%);box-shadow:-3px 3px 5px -2px rgba(15,36,29,.25)}
.bkCardQ{position:absolute;left:clamp(14px,1.3vw,20px);top:clamp(18px,2.6vh,26px);width:clamp(22px,2vw,30px);fill:#5F7F1F}
.bkQ{margin:0;max-width:none;padding:0;border:0}
.bkQ::before{display:none}
.bkQ p{color:var(--ink);font-size:clamp(17px,min(1.5vw,2.7vh),23px);line-height:1.4}
.bkQ em{font-style:normal;background:linear-gradient(rgba(198,243,94,.9),rgba(198,243,94,.9)) no-repeat 0 88%/100% .42em}
.bkCard figcaption{margin-top:10px;font-family:'JetBrains Mono',ui-monospace,monospace;font-size:11px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:#4F5E57}

/* motion: lines draw into the book after the stamp, the nodes pop out, the ribbon swings once, the
   marker runs under the key phrases */

.bk.arm .bkQ em{background-size:0% .42em}
.bk.arm.go .bkQ em{background-size:100% .42em;transition:background-size .6s cubic-bezier(.6,0,.2,1) .7s}
.bk.arm.go .bkQ em+em{transition-delay:1s}
.bk.arm.go .bkQ em+em+em{transition-delay:1.3s}

@keyframes bkSwing{0%,100%{rotate:0deg}25%{rotate:-9deg}55%{rotate:5deg}80%{rotate:-2deg}}

@media (max-width:760px){
  .bkStage{min-height:calc(var(--h) + 150px)}
  
  
  
  
  
  
  
  .bkCard{padding:16px 18px 14px 54px;background-size:auto;
    background:linear-gradient(90deg,transparent 0 42px,rgba(198,243,94,.95) 42px 44px,transparent 44px),repeating-linear-gradient(180deg,transparent 0 29px,rgba(15,36,29,.07) 29px 30px),#F4F2EA}
  .bkCardQ{left:12px;width:22px}
  .bkQ p{font-size:17px}
}

/* tapes kept short so they stay on the water, clear of him; on phones they sit under the caption */
.abTags li{font-size:10px;letter-spacing:.08em}
.abTags{bottom:84px}
@media (max-width:760px){
  .abTags{position:relative;right:auto;bottom:auto;flex-direction:row;flex-wrap:wrap;align-items:flex-start;justify-content:flex-start;gap:8px 6px;padding:0 12px 16px}
  .abTags li:nth-child(n){transform:rotate(-1deg)}
  .abTags li:nth-child(even){transform:rotate(1.2deg)}
}
/* a signal runs along each line into the book, over and over, once the network has drawn */

@keyframes bkPulse{from{stroke-dashoffset:.07}to{stroke-dashoffset:-.93}}

/* ---------- Book v3: "Under wraps" (2026-11-18, client: "book aur cheezein blur hon, upar Coming soon") ----------
   Replaces the 3D book + network on the right. A writer's desk seen from above (manuscript sheets, the
   cover, a mug, a pen, a lime sticky note, a paperclip) sits behind frosted glass (backdrop-filter), with
   COMING SOON lettered on the glass like window vinyl. The cursor wipes a small clear circle in the frost
   (main.js §7 sets --px/--py; --pr grows on .peeking); on touch a tap peeks for a moment.
   Arrival: the frost slides down over the desk, then the letters thump on. The old .bkBook/.bkNet CSS
   above is unused now. */
@property --pr{syntax:'<length>';inherits:true;initial-value:0px}
.onTouch{display:none}
@media (hover:none){.onTouch{display:inline-flex}}
.bkStage.bkUw{--w:clamp(150px,min(13.5vw,24vh),220px);--px:50%;--py:50%;--pr:0px;display:block;position:relative;justify-self:center;
  width:100%;max-width:540px;height:min(calc(100vh - 230px),620px);min-height:0;perspective:none;border-radius:18px;overflow:hidden;isolation:isolate;
  background:
    radial-gradient(120% 90% at 30% 20%,rgba(255,255,255,.06),transparent 60%),
    repeating-linear-gradient(115deg,rgba(255,255,255,.018) 0 2px,transparent 2px 5px),
    #1C3D30;
  box-shadow:0 40px 70px -34px rgba(0,0,0,.85),0 0 0 1px rgba(198,243,94,.12);
  transition:--pr .38s cubic-bezier(.3,1.4,.5,1);cursor:crosshair;touch-action:pan-y}
.bkUw.peeking{--pr:84px}
/* the desk */
.bkDesk{position:absolute;inset:0;z-index:0}
.bkDesk>span{position:absolute;display:block;box-sizing:border-box}
.dkSheet{width:44%;aspect-ratio:.77;padding:7% 6%;background:#F7F5EE;box-shadow:0 14px 22px -12px rgba(0,0,0,.6)}
.dkSheet i{display:block;height:5px;margin:0 0 9px;border-radius:2px;background:rgba(15,36,29,.2)}
.dkSheet i:nth-child(3n){width:72%}.dkSheet i:nth-child(3n+1){width:94%}.dkSheet i:nth-child(1){width:46%;height:8px;background:rgba(15,36,29,.45);margin-bottom:14px}
.dkS1{left:5%;top:9%;transform:rotate(-11deg)}
.dkS2{left:11%;top:15%;transform:rotate(-4deg)}
.dkCover{left:41%;top:17%;width:var(--w);height:calc(var(--w) * 1.5);transform:rotate(8deg);display:flex !important;flex-direction:column;align-items:flex-start;overflow:hidden;
  padding:calc(var(--w) * .13) calc(var(--w) * .09) calc(var(--w) * .09) calc(var(--w) * .19);border-radius:2px 5px 5px 2px;color:var(--ink);
  background:linear-gradient(90deg,#173A2E 0 11%,#0F241D 11% 11.6%,transparent 11.6%),linear-gradient(100deg,rgba(255,255,255,.35),rgba(255,255,255,0) 38%,rgba(15,36,29,.06) 80%),#F1EEE3;
  box-shadow:0 22px 30px -14px rgba(0,0,0,.75),6px 6px 0 -1px #E3DFD1,6px 6px 0 0 rgba(0,0,0,.25)}
.dkMug{right:5%;top:5%;width:24%;aspect-ratio:1;border-radius:50%;
  background:radial-gradient(circle,#3A2414 0 49%,#5B3A22 50% 54%,#F4F2EA 55% 72%,#D9D4C4 73% 100%);box-shadow:0 16px 22px -10px rgba(0,0,0,.65)}
.dkMug::after{content:"";position:absolute;right:-16%;top:38%;width:22%;height:24%;border:5px solid #E9E5D8;border-left:0;border-radius:0 40% 40% 0}
.dkPen{left:3%;bottom:15%;width:50%;height:12px;border-radius:6px;transform:rotate(-22deg);
  background:linear-gradient(90deg,#C6F35E 0 7%,#0F241D 7% 82%,#B9B29E 82% 92%,#33443C 92%);box-shadow:0 8px 10px -4px rgba(0,0,0,.6)}
.dkNote{right:8%;bottom:8%;width:27%;aspect-ratio:1;padding:5%;background:var(--accent);transform:rotate(-7deg);box-shadow:0 14px 18px -10px rgba(0,0,0,.6)}
.dkNote i{display:block;height:4px;margin:0 0 9px;border-radius:2px;background:rgba(15,36,29,.45)}
.dkNote i:nth-child(2){width:70%}.dkNote i:nth-child(3){width:84%}
.dkClip{left:28%;top:7%;width:15px;height:46px;border:3px solid #C9CFCB;border-radius:99px;transform:rotate(16deg)}
/* the frosted glass and its clear peek hole */
.bkFrost{position:absolute;inset:0;z-index:2;-webkit-backdrop-filter:blur(14px) saturate(1.15);backdrop-filter:blur(14px) saturate(1.15);
  background:radial-gradient(closest-side,rgba(15,36,29,.42),rgba(15,36,29,.12)),linear-gradient(160deg,rgba(244,242,234,.16),rgba(244,242,234,.04) 45%,rgba(15,36,29,.15));
  -webkit-mask:radial-gradient(circle var(--pr) at var(--px) var(--py),transparent calc(var(--pr) - 16px),#000 var(--pr));
  mask:radial-gradient(circle var(--pr) at var(--px) var(--py),transparent calc(var(--pr) - 16px),#000 var(--pr))}
.bkFrost::after{content:"";position:absolute;inset:0;background:linear-gradient(115deg,transparent 30%,rgba(255,255,255,.1) 38%,transparent 46%,transparent 58%,rgba(255,255,255,.06) 62%,transparent 68%)}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){ .bkDesk{filter:blur(12px)} }
/* window frame */
.bkUw::after{content:"";position:absolute;inset:0;z-index:4;border-radius:inherit;pointer-events:none;
  box-shadow:inset 0 0 0 9px #0E2219,inset 0 0 0 10px rgba(198,243,94,.3),inset 0 14px 24px rgba(0,0,0,.35)}
/* the lettering on the glass */
.bkSign{position:absolute;inset:0;z-index:3;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;text-align:center;pointer-events:none}
.bkSignK,.bkSignS{display:flex;align-items:center;gap:12px;font-family:'JetBrains Mono',ui-monospace,monospace;font-weight:600;text-transform:uppercase}
.bkSignK{font-size:12px;letter-spacing:.3em;color:#F4F2EA}
.bkSignK::before,.bkSignK::after{content:"";width:28px;height:1.5px;background:var(--accent)}
.bkSignW{display:flex;flex-direction:column;font-family:'Big Shoulders Display',sans-serif;font-weight:900;text-transform:uppercase;font-size:clamp(70px,min(8vw,13vh),128px);line-height:.82}
.bkSignW>span{display:block}
.bkSignS{font-size:11px;letter-spacing:.2em;color:var(--accent);padding:6px 12px;border:1.5px solid rgba(198,243,94,.6);border-radius:999px;background:rgba(15,36,29,.45)}
.bkPeek{position:absolute;z-index:5;left:50%;bottom:22px;transform:translateX(-50%);align-items:center;padding:6px 12px;border-radius:999px;background:rgba(15,36,29,.82);
  color:#F4F2EA;font-family:'Google Sans',system-ui,sans-serif;font-weight:500;font-size:13px;white-space:nowrap;pointer-events:none}
.bkUw.peeking .bkPeek{transform:translateX(-50%) translateY(60px)}
.bkPeek{transition:transform .35s cubic-bezier(.3,1.3,.5,1)}
/* arrival: the frost slides down over the desk, then the letters thump on */
.bk.arm .bkFrost{clip-path:inset(0 0 100% 0)}
.bk.arm.go .bkFrost{clip-path:inset(0 0 0 0);transition:clip-path 1s cubic-bezier(.6,0,.2,1) .25s}
.bk.arm .bkSignW>span,.bk.arm .bkSignK,.bk.arm .bkSignS{visibility:hidden}
.bk.arm.go .bkSignW>span{visibility:visible;transition:visibility 0s 1.2s;animation:bkSignIn .45s cubic-bezier(.55,0,.7,.2) 1.2s backwards}
.bk.arm.go .bkSignW>span+span{transition-delay:1.38s;animation-delay:1.38s}
.bk.arm.go .bkSignK,.bk.arm.go .bkSignS{visibility:visible;transition:visibility 0s 1.75s;animation:bkWipe .55s steps(12,end) 1.75s backwards}
@keyframes bkSignIn{0%{transform:scale(1.9) rotate(-5deg)}75%{transform:scale(.96)}100%{transform:none}}
@keyframes bkWipe{from{clip-path:inset(-4px 100% -4px -4px)}to{clip-path:inset(-4px -4px -4px -4px)}}
@media (prefers-reduced-motion: reduce){ .bkStage.bkUw,.bkPeek{transition:none} }
@media (min-width:761px) and (max-width:1000px){ .bkStage.bkUw{height:min(calc(100vh - 260px),520px)} .bkSignW{font-size:clamp(56px,8.4vw,84px)} }
@media (max-width:760px){
  .bkStage.bkUw{--w:min(34vw,150px);height:auto;aspect-ratio:4/5;min-height:0 !important;margin-top:18px}
  .bkSignW{font-size:clamp(60px,18vw,88px)}
  .bkSignK{font-size:10px;letter-spacing:.24em}
  .bkSignK::before,.bkSignK::after{width:16px}
}

/* ---------- Ventures letters: bigger content, less empty paper (2026-11-18, client) ----------
   The type had low caps (e.g. body max 14px on a ~560px sheet), leaving wide margins. Everything
   scales up with the sheet now; main.js §26 still shrinks a letter's content if it ever overflows. */
.envLetter{padding:4% 5% 3.4%;gap:clamp(7px,1.15vw,15px)}   /* % = of the envelope; cqw here would mean the whole section (the letter is the container only for its children) */
.ltIcLogo{width:66cqw}
.ltPashaLogo{width:70cqw}
.ltSmall{font-size:clamp(8px,2.15cqw,12.5px)}
.ltIso{width:11cqw;height:11cqw;font-size:clamp(8px,2.2cqw,12.5px)}
.ltRole{font-size:clamp(15px,4.6cqw,27px);gap:2.4cqw}
.ltRole span{width:7.6cqw;height:6.4cqw}
.ltBody{font-size:clamp(12.5px,3.45cqw,20px);line-height:1.45}
.ltTags{gap:1.6cqw}
.ltTags li{padding:.9cqw 2.5cqw;font-size:clamp(9px,2.5cqw,14px)}
.ltFoot{padding-top:2cqw}
.ltSig{font-size:clamp(28px,8.8cqw,48px)}
.ltLink{font-size:clamp(12px,3.3cqw,18px)}
.ltLink svg{width:1.1em;height:1.1em}
/* letter logos a little smaller again (2026-11-18, client: "logo bare lag rahe") */
.ltIcLogo{width:48cqw}
.ltPashaLogo{width:52cqw}

/* letter tags in the site font, not mono caps; P@SHA logo smaller (2026-11-18, client) */
.ltTags li{font-family:'Google Sans',system-ui,sans-serif;font-weight:600;text-transform:none;letter-spacing:0;font-size:clamp(10px,2.75cqw,15px);padding:.8cqw 2.6cqw 1cqw}
.ltPashaLogo{width:42cqw}

/* ---------- Book v4: "Under wraps", richer glass (2026-11-18, client: "coming soon ko aur improve karo") ----------
   - The cover now sits top-centre and a hand-wiped streak runs through the frost across its title, so a
     sliver of "OPPORTUNITY" reads sharp while the rest stays blurred (second mask layer: an SVG brush
     stroke, intersected with the cursor hole).
   - Real glass: fine frost grain and condensation droplets (both live inside the masked frost, so the
     wiped streak and the peek hole are clear of them).
   - A lens ring frames the cursor peek (.bkLens), so the hole reads as a wipe, not a white blob.
   - Two crossing "under wraps" tapes along the bottom with running text (COMING SOON · THE OPPORTUNITY
     NETWORK / UNDER WRAPS · LAUNCHING SOON); they slap on after the letters. Marquee off with reduced motion.
   - The lettering moves to the lower half; the hint moves to the top. */
.bkStage.bkUw{--w:clamp(160px,min(15vw,27vh),240px)}
.dkCover{left:50%;top:5%;transform:translateX(-50%) rotate(-5deg)}
.dkS1{left:3%;top:34%;transform:rotate(-14deg)}
.dkS2{left:9%;top:40%;transform:rotate(-6deg)}
.dkMug{right:4%;top:4%;width:22%}
.dkClip{left:16%;top:8%}
.dkNote{left:6%;right:auto;bottom:6%;transform:rotate(8deg);width:24%}
.dkPen{left:auto;right:-4%;bottom:24%;width:46%;transform:rotate(28deg)}
/* the frost: grain + droplets, masked by the wiped streak and the cursor hole */
.bkFrost{
  --wipe:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cdefs%3E%3Cfilter id='b' x='-20%25' y='-50%25' width='140%25' height='200%25'%3E%3CfeGaussianBlur stdDeviation='1.1'/%3E%3C/filter%3E%3Cmask id='m'%3E%3Crect width='100' height='100' fill='white'/%3E%3Cpath d='M9 27 C 28 16, 52 30, 91 13' stroke='black' stroke-width='9.5' stroke-linecap='round' fill='none' filter='url(%23b)'/%3E%3Cpath d='M30 33 C 46 30, 60 31, 74 25' stroke='black' stroke-width='3' stroke-linecap='round' fill='none' filter='url(%23b)'/%3E%3C/mask%3E%3C/defs%3E%3Crect width='100' height='100' fill='black' mask='url(%23m)'/%3E%3C/svg%3E");
  -webkit-mask:radial-gradient(circle var(--pr) at var(--px) var(--py),transparent calc(var(--pr) - 16px),#000 var(--pr)),var(--wipe) 0 0/100% 100% no-repeat;
  -webkit-mask-composite:source-in;
  mask:radial-gradient(circle var(--pr) at var(--px) var(--py),transparent calc(var(--pr) - 16px),#000 var(--pr)),var(--wipe) 0 0/100% 100% no-repeat;
  mask-composite:intersect}
.bkFrost::before{content:"";position:absolute;inset:0;pointer-events:none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='xMidYMid slice'%3E%3Cg fill='%23fff'%3E%3Ccircle cx='12' cy='48' r='.9' opacity='.45'/%3E%3Ccircle cx='18' cy='55' r='.5' opacity='.4'/%3E%3Ccircle cx='7' cy='63' r='1.2' opacity='.35'/%3E%3Ccircle cx='24' cy='37' r='.6' opacity='.5'/%3E%3Ccircle cx='86' cy='31' r='1' opacity='.45'/%3E%3Ccircle cx='92' cy='40' r='.6' opacity='.4'/%3E%3Ccircle cx='80' cy='46' r='.45' opacity='.45'/%3E%3Ccircle cx='70' cy='86' r='.8' opacity='.35'/%3E%3Ccircle cx='38' cy='90' r='.55' opacity='.35'/%3E%3Ccircle cx='55' cy='8' r='.5' opacity='.45'/%3E%3Ccircle cx='94' cy='70' r='.9' opacity='.35'/%3E%3Ccircle cx='4' cy='20' r='.7' opacity='.4'/%3E%3C/g%3E%3Cg fill='%23fff' opacity='.28'%3E%3Cellipse cx='9.4' cy='34' rx='.45' ry='3.2'/%3E%3Cellipse cx='90.6' cy='22' rx='.4' ry='4'/%3E%3Cellipse cx='52' cy='37' rx='.35' ry='2.4'/%3E%3C/g%3E%3C/svg%3E") 0 0/100% 100% no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .1 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E") 0 0/160px 160px repeat}
/* the cursor peek gets a lens ring */
.bkLens{position:absolute;z-index:3;left:var(--px);top:var(--py);width:calc(var(--pr) * 2);height:calc(var(--pr) * 2);transform:translate(-50%,-50%);border-radius:50%;pointer-events:none;
  box-shadow:inset 0 0 0 1.5px rgba(198,243,94,.75),0 0 0 1px rgba(15,36,29,.45),inset 0 0 22px rgba(255,255,255,.18),0 10px 24px -8px rgba(0,0,0,.5)}
/* lettering in the lower half, hint at the top */
.bkSign{justify-content:flex-end;padding-bottom:clamp(96px,17%,120px);gap:12px}
.bkSignW{font-size:clamp(64px,min(7.2vw,11.5vh),116px)}
.bkSignS{letter-spacing:.18em}
.bkPeek{top:20px;bottom:auto}
.bkUw.peeking .bkPeek{transform:translateX(-50%) translateY(-70px)}
/* the two crossing tapes */
.bkTape{position:absolute;z-index:3;left:-12%;width:124%;height:34px;overflow:hidden;display:flex;align-items:center;pointer-events:none;
  box-shadow:0 8px 16px -8px rgba(0,0,0,.6);font-family:'JetBrains Mono',ui-monospace,monospace;font-weight:700;font-size:12px;letter-spacing:.2em;text-transform:uppercase;white-space:nowrap}
.bkTape>span{flex:none;display:flex;align-items:center;gap:14px;padding-right:14px;animation:bkTape 26s linear infinite}
.bkTape b{font-weight:800}
.bkTape i{font-style:normal;font-size:7px}
.bkTapeA{bottom:44px;transform:rotate(-6deg);background:repeating-linear-gradient(90deg,var(--accent) 0 60px,#BDEA55 60px 61px);color:var(--ink)}
.bkTapeA i{color:#4E6E17}
.bkTapeB{bottom:12px;transform:rotate(4deg);background:#0F241D;color:var(--accent);box-shadow:0 0 0 1px rgba(198,243,94,.35),0 8px 16px -8px rgba(0,0,0,.6)}
.bkTapeB>span{animation-direction:reverse;animation-duration:30s}
@keyframes bkTape{from{transform:translateX(0)}to{transform:translateX(-100%)}}
.bk.arm .bkTape{clip-path:inset(0 100% 0 0)}
.bk.arm.go .bkTape{clip-path:inset(0 0 0 0);transition:clip-path .7s cubic-bezier(.6,0,.2,1) 1.9s}
.bk.arm.go .bkTapeB{transition-delay:2.15s}
@media (prefers-reduced-motion: reduce){ .bkTape>span{animation:none} }
@media (max-width:760px){
  .bkStage.bkUw{aspect-ratio:3/4;--w:min(36vw,160px)}
  .bkSign{padding-bottom:84px;gap:10px}
  .bkSignW{font-size:clamp(56px,16vw,80px)}
  .bkTape{height:28px;font-size:10px;letter-spacing:.16em}
  .bkTapeA{bottom:36px}
  .bkTapeB{bottom:8px}
  .bkPeek{top:16px;font-size:12px}
}

/* ---------- Book: steady glass (2026-11-18, client: "hover ke baad glass poora frost ho jata hai") ----------
   In real Chrome the frost's two-layer mask (cursor hole intersected with the wiped streak) was recomposed
   on every mouse move and sometimes dropped the streak layer, leaving the whole glass frosted. Now the
   frost has only the static streak mask, and the peek is a sharp copy of the desk (.bkPeekView, cloned in
   main.js §7) cut to a circle with clip-path above the glass. */
.bkFrost{-webkit-mask:var(--wipe) 0 0/100% 100% no-repeat;mask:var(--wipe) 0 0/100% 100% no-repeat}
.bkPeekView{position:absolute;inset:0;z-index:2;pointer-events:none;clip-path:circle(var(--pr) at var(--px) var(--py))}
.bkPeekView .bkDesk{position:absolute;inset:0}

/* ---------- Pass photo + steady peek (2026-11-18, client) ----------
   All Access pass: the client's studio cut-out (black suit, maroon shirt, transparent background) on the
   frame's own cream-to-lime backdrop, cropped head-and-shoulders. The Golden Gate photo stays in About.
   Peek: the radius used to ease out with an overshoot, dipped below zero for a frame and the clip showed
   the whole sharp desk (the flicker when the mouse left). It now closes on a plain ease-out and can never
   go below zero. */
.hxPhoto img.hxReal.hxPass{left:-22%;top:-2%;width:144%;height:auto;object-fit:initial;filter:drop-shadow(0 6px 10px rgba(15,36,29,.25))}
.bkStage.bkUw{transition:--pr .28s cubic-bezier(.4,0,.2,1)}
.bkStage.bkUw.peeking{transition:--pr .38s cubic-bezier(.3,1.4,.5,1)}
.bkPeekView{clip-path:circle(max(0px,var(--pr)) at var(--px) var(--py))}
.bkLens{width:calc(max(0px,var(--pr)) * 2);height:calc(max(0px,var(--pr)) * 2)}
/* the peek shows the desk itself, not just its objects: it carries the felt the desk sits on (before, the
   gaps between the objects showed the frost, so the hole never looked clear); a slightly bigger hole */
.bkPeekView{background:radial-gradient(120% 90% at 30% 20%,rgba(255,255,255,.06),transparent 60%),repeating-linear-gradient(115deg,rgba(255,255,255,.018) 0 2px,transparent 2px 5px),#1C3D30}
.bkStage.bkUw.peeking{--pr:100px}
@media (max-width:760px){ .bkStage.bkUw.peeking{--pr:78px} }

/* ---------- How I lead: even photos (2026-11-18, client: "image ka size sahi nahi, 03 choti hai") ----------
   The four columns were different widths (1.15/.95/1.05/1fr) and the photos four different shapes
   (4:3, 16:9, 4:3, 3:2), so 03 and 04 looked small. Now equal columns and every photo 4:3 at full column
   width; the magazine rhythm stays (photo on top in 01 and 03, at the foot in 02 and 04). */
@media (min-width:1001px){ .ld{grid-template-columns:repeat(4,minmax(0,1fr))} }
@media (min-width:601px) and (max-width:1000px){ .ld{grid-template-columns:repeat(2,minmax(0,1fr))} }
.ldA .ldPh,.ldB .ldPh,.ldC .ldPh,.ldD .ldPh{aspect-ratio:4/3;height:auto !important;width:100%}
.ldD .ldPh img{object-position:50% 22%}
/* 4:3 photos made the spread a few px taller than 1440x900: a little less room above it */
@media (min-width:1001px){ #principles{padding-top:clamp(92px,15.4vh,210px) !important} }
/* phones: the ISO seal sat on top of "Uncompromising"; it now sits under the line, in the text column */
@media (max-width:600px){
  .ldD .ldSeal{position:static;grid-column:2;width:62px;height:62px;margin-top:2px}
  .ldD h3,.ldD p{padding-right:0}
}

/* ---------- On/Off Stage photos (2026-11-18, client) ----------
   On Stage: TechCrunch Disrupt 2025 (cf-11-1) replaced MWC Barcelona; Off Stage: Tech Breakfast, Lahore
   2024 (ev-31-1) replaced the Airbridge visit. The Tech Breakfast faces sit mid-frame, not at the top. */
.stOff .stGal .sgA img{object-position:50% 40%}
.stOn .stGal .sgC img{object-position:50% 30%}

/* ---------- Navbar: current sections, in page order (2026-11-18, client: "old link names") ----------
   About · Book · How I lead · On Stage · Ventures · Expertise · Global · Stages · Studio · Contact
   ("Events", the link to mobile.html, was dropped). Ten links need ~880px at full size, so they tighten
   on smaller laptops, the floating dock drops its CTA up to 1100px, and on tablets the header puts the
   links on their own row and both bars scroll sideways if they must (as on phones). */
@media (min-width:761px) and (max-width:1366px){ .navTrack .nl{font-size:14px;padding:9px 11px 10px} }
@media (min-width:761px) and (max-width:1100px){ .navTrack .nl{font-size:13.5px;padding:9px 9px 10px} .dock .hxCta{display:none} }
@media (min-width:761px) and (max-width:1100px){
  .hxHead{grid-template-columns:1fr auto;row-gap:12px}
  .hxHead .hxLogo{grid-column:1;grid-row:1}
  .hxHead .hxCta{grid-column:2;grid-row:1}
  .hxHead .hxNav{grid-column:1/-1;grid-row:2;justify-self:center;max-width:100%;overflow-x:auto;scrollbar-width:none}
  .dock .navTrack{flex:1;min-width:0;max-width:100%;overflow-x:auto;scrollbar-width:none}
}

/* ---------- Letters, stage photos, footer note (2026-11-18, client) ----------
   Ventures letters: the pills read like category tags, not like something typed on letterhead. They are
   now a memo checklist: an inked box with a hand-drawn green tick before each item, the key item marked
   with a lime highlighter stroke; no pill borders or fills. */
.ltTags{gap:1.4cqw 4.2cqw !important;padding-top:.4cqw}
.ltTags li,.ltTags li:nth-child(2){position:relative;padding:0 0 0 1.55em !important;border:0 !important;border-radius:0 !important;background:none !important;
  font-family:'Google Sans',system-ui,sans-serif;font-weight:500;font-size:clamp(10.5px,2.8cqw,15px) !important;line-height:1.35;letter-spacing:0;text-transform:none;color:var(--ink)}
.ltTags li::before{content:"";position:absolute;left:0;top:.12em;width:1em;height:1em;box-sizing:border-box;border:1.5px solid var(--ink);border-radius:2px;transform:rotate(-2deg)}
.ltTags li::after{content:"";position:absolute;left:.26em;top:-.06em;width:.42em;height:.82em;box-sizing:border-box;border-right:2.4px solid #3E7A1E;border-bottom:2.4px solid #3E7A1E;transform:rotate(38deg);border-radius:0 0 2px 0}
.ltTags li:nth-child(2){font-weight:600;background:linear-gradient(transparent 58%,rgba(198,243,94,.95) 58%,rgba(198,243,94,.95) 92%,transparent 92%) no-repeat 1.4em 0/calc(100% - 1.25em) 100% !important}
/* On / Off Stage: photos where he is the subject (podium keynote; at Google) */
.stOn .stGal .sgC img{object-position:50% 25%}
.stOff .stGal .sgA img{object-position:50% 45%}
/* footer: "write to me, I reply" sat with its arrow on the Email key; lifted clear of it */
.ftNote{bottom:26px}
/* "step inside" arrow (client: arrow not visible): it ended in a tiny hook that read as a squiggle. Now a
   bigger stroke with a clear chevron head pointing down into the sphere. */
.rnGo svg{width:100px;height:93px;stroke-width:3.2}
.rnGo span{margin-bottom:34px}
@media (max-width:760px){ .rnGo svg{width:76px;height:71px} .rnGo span{margin-bottom:26px} }

/* ---------- Footer signature in Meow Script (2026-11-18, client) ---------- */
.ftSig{font-family:'Meow Script',cursive !important;font-weight:400 !important}

/* ---------- Hero CTA on one line (2026-11-18, client: "Work With / Me" wrapped) ---------- */
.hxCta{white-space:nowrap;flex:none}

/* ---------- Book: "Notify me at launch" dialog (2026-11-18, client) ----------
   A paper card (lime tape, faint rules) that slides up; on phones a bottom sheet. Email + "Notify me" key;
   on success the card shows "Congratulations!" and an ON THE LIST stamp thumps on. main.js §7c, notify.php. */
.ntf{position:fixed;inset:0;margin:auto;width:min(92vw,480px);max-width:none;max-height:none;padding:0;border:0;background:none;overflow:visible;color:var(--ink)}
.ntf::backdrop{background:rgba(8,20,15,.74)}
.ntf:not([open]){display:none}
.ntfCard{position:relative;box-sizing:border-box;padding:34px clamp(22px,4vw,34px) 26px;border-radius:6px;text-align:left;
  background:repeating-linear-gradient(180deg,transparent 0 31px,rgba(15,36,29,.06) 31px 32px),#F4F2EA;
  box-shadow:0 40px 70px -24px rgba(0,0,0,.8),0 2px 0 rgba(0,0,0,.2);
  transform:translateY(46px) rotate(-1.5deg);transition:transform .34s cubic-bezier(.2,.9,.25,1.1)}
.ntf.in .ntfCard{transform:rotate(-.6deg)}
.ntfCard::before{content:"";position:absolute;top:-12px;left:50%;width:110px;height:26px;margin-left:-55px;background:rgba(198,243,94,.85);transform:rotate(-3deg);box-shadow:0 1px 2px rgba(0,0,0,.18)}
.ntfX{position:absolute;top:10px;right:10px;width:40px;height:40px;display:grid;place-items:center;border:0;border-radius:50%;background:transparent;color:var(--ink);cursor:pointer}
.ntfX svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round}
.ntfX:hover,.ntfX:focus-visible{background:rgba(15,36,29,.08)}
.ntfK{display:block;font-family:'JetBrains Mono',ui-monospace,monospace;font-size:11px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:#4E6E17;padding-right:40px}
.ntfH{margin:10px 0 6px;font-family:'Big Shoulders Display',sans-serif;font-weight:900;text-transform:uppercase;font-size:clamp(34px,7vw,46px);line-height:.92;color:var(--ink)}
.ntfP{margin:0 0 18px;font-size:16px;line-height:1.5;color:#33443C}
.ntfL{display:block;margin:0 0 7px;font-family:'Google Sans',system-ui,sans-serif;font-weight:600;font-size:14px;color:var(--ink)}
.ntfRow{display:flex;gap:10px;align-items:stretch}
.ntfIn{flex:1;min-width:0;height:54px;box-sizing:border-box;padding:0 16px;border:2px solid var(--ink);border-radius:12px;background:#FFFEF9;color:var(--ink);
  font-family:'Google Sans',system-ui,sans-serif;font-size:17px;outline:none;box-shadow:inset 0 2px 0 rgba(15,36,29,.06)}
.ntfIn::placeholder{color:#8A958F}
.ntfIn:focus{border-color:#3E7A1E;box-shadow:0 0 0 4px rgba(198,243,94,.55)}
.ntf.bad .ntfIn{border-color:#9B2C1F}
.ntfGo{flex:none;min-height:54px;font-family:'Google Sans',system-ui,sans-serif;font-weight:600;font-size:17px;white-space:nowrap}
.ntfGo[disabled]{cursor:progress}
.ntf.busy .ntfGo span::after{content:"…"}
.ntfHp{position:absolute !important;left:-9999px !important;width:1px;height:1px;opacity:0}
.ntfErr{min-height:1.4em;margin:10px 0 0;font-size:14px;line-height:1.4;color:#9B2C1F}
.ntfErr a{color:inherit;font-weight:600}
.ntfFine{margin:2px 0 0;font-size:12.5px;color:#5E6D66}
.ntfOk{text-align:center;padding:8px 0 4px}
.ntfOk .ntfP{margin:0 auto 20px;max-width:34ch}
.ntfStamp{display:inline-flex;flex-direction:column;align-items:center;margin:4px 0 8px;padding:8px 18px 6px;border:4px solid #4E6E17;border-radius:8px;outline:1.5px solid #4E6E17;outline-offset:3px;
  color:#4E6E17;font-family:'Big Shoulders Display',sans-serif;font-weight:900;text-transform:uppercase;font-size:26px;line-height:.9;letter-spacing:.08em;transform:rotate(-8deg);mix-blend-mode:multiply}
.ntfStamp span+span{font-size:1.45em}
.ntf.done .ntfStamp{animation:ntfThump .45s cubic-bezier(.55,0,.7,.2) both}
@keyframes ntfThump{0%{transform:rotate(-20deg) scale(2.4)}75%{transform:rotate(-7deg) scale(.94)}100%{transform:rotate(-8deg) scale(1)}}
.ntfDone{margin:0 auto;min-height:48px;padding:0 28px;font-family:'Google Sans',system-ui,sans-serif;font-weight:600;font-size:16px}
@media (max-width:560px){
  .ntf{inset:auto 0 0 0;width:100%;margin:0}
  .ntfCard{border-radius:18px 18px 0 0;padding:30px 20px calc(22px + env(safe-area-inset-bottom,0px));transform:translateY(105%)}
  .ntf.in .ntfCard{transform:none}
  .ntfRow{flex-direction:column}
  .ntfGo{justify-content:center}
}
@media (prefers-reduced-motion: reduce){ .ntfCard{transition:none} .ntf.done .ntfStamp{animation:none} }
html.ntfOpen{overflow:hidden}
@media (max-width:560px){ .ntfIn{flex:none;height:54px;width:100%} .ntfGo{width:100%} }

/* ---------- Phones: smoother scrolling (2026-11-18, client: "full mobile optimized, buttery smooth") ----------
   A fixed bar with backdrop-filter re-blurs everything behind it on every scrolled frame, which stutters
   on mid-range phones. On touch screens the bars and the sphere hint use a near-solid fill instead. */
@media (hover:none),(max-width:760px){
  .dock,.dock.bar,.mpTop{-webkit-backdrop-filter:none !important;backdrop-filter:none !important;background:rgba(14,32,26,.97) !important}
  .sphHint{-webkit-backdrop-filter:none !important;backdrop-filter:none !important;background:rgba(10,23,19,.92) !important}
}
/* How I lead 03: Meta, Menlo Park (portrait photo in a 4:3 frame: keep the sign and him in view) */
.ldC .ldPh img{object-position:50% 42%}

/* ---------- Final pass (2026-11-18, client: "sub kam karo") ---------- */
/* phones: the two Ventures envelopes stack at full width so the letters are readable (they were side by side
   at 47% zoom since 2026-11-16) */
@media (max-width:760px){
  .svDesk{grid-template-columns:1fr !important;gap:30px !important;margin-top:44px !important}
  .svDesk>.env{zoom:1 !important;width:min(100%,520px) !important;justify-self:center}
}
/* studio topic pills: all four on one row */
.stuTopics{gap:6px !important}
.stuTopics li{font-size:13px !important;padding:5px 11px 6px !important}
/* footer: link to the "On the record" page */
.ftRec{color:var(--accent);text-decoration:none;border-bottom:1px solid rgba(198,243,94,.45)}
.ftRec:hover,.ftRec:focus-visible{border-bottom-color:var(--accent)}
