/* brand-2026.css — the one brand layer for the whole site (21-Nov-2026). Loaded LAST on every public and admin page by app/routes_v13.php.
   Brand colours (from the brand card): Primary navy #052C6D · Secondary blue #0966FF · Accent yellow #FFCB05 · Light neutral #F5F5F5 · Dark neutral #07070F.
   Rules: always light · a faint transparent grid on every page · pill shapes and calm cards · bold sans headings with one italic serif highlight · readable text.
   Switch off: delete the <link> to this file in routes_v13.php (c21_brand_link). Colours inside OLD css/js files are converted separately by c21_swap(). */

:root{
  --brand-navy:#052C6D; --brand-blue:#0966FF; --brand-yellow:#FFCB05; --brand-light:#F5F5F5; --brand-dark:#07070F;
  --brand-blue-700:#0752CC; --brand-blue-100:#E9F0FF; --brand-yellow-100:#FFF3C2; --brand-yellow-700:#E0AC00;
  --brand-ink:#07070F; --brand-text:#1B2A44; --brand-mut:#4F5E76; --brand-line:#DCE3EE; --brand-surface:#FFFFFF; --brand-page:#F3F5F9;
  --brand-grid-on:0; --brand-grid:rgba(5,44,109,.035); --brand-grid-major:rgba(5,44,109,.06); --brand-grid-size:32px; --brand-grid-major-size:128px;   /* one square = 32 px; a slightly stronger line every 4th square = 128 px */
  --brand-radius:20px; --brand-radius-sm:12px; --brand-pill:999px;
  --brand-shadow:0 1px 2px rgba(5,44,109,.06),0 14px 32px -20px rgba(5,44,109,.35);
  --brand-display:'Plus Jakarta Sans','Hind Siliguri','Noto Sans Bengali',system-ui,-apple-system,'Segoe UI',sans-serif;
  --brand-serif:'Playfair Display','Fraunces',Georgia,'Times New Roman',serif;
  color-scheme:light only;

  /* the site's own token names point at the brand, so old pages follow without edits */
  --t-deep:var(--brand-navy);--t-forest:var(--brand-navy);--t-green:var(--brand-blue);--t-sage:#6FA8FF;--t-sage-l:var(--brand-blue-100);
  --t-clay:var(--brand-blue-700);--t-brown:var(--brand-navy);--t-sand:var(--brand-yellow);--t-sand-l:var(--brand-yellow-100);
  --t-cream:var(--brand-light);--t-paper:#fff;--t-ink:var(--brand-dark);--t-ink-2:var(--brand-text);--t-ink-3:var(--brand-mut);--t-line:var(--brand-line);--t-line-2:#CBD4E2;
  --aj-forest:var(--brand-navy);--aj-teal:var(--brand-blue);--aj-clay:var(--brand-blue-700);--aj-gold:var(--brand-yellow-700);--aj-plum:#3F5BD9;--aj-rose:#E5484D;--aj-blue:var(--brand-blue);
  --aj-sand:var(--brand-yellow);--aj-paper:#fff;--aj-cream:var(--brand-light);--aj-ink:var(--brand-navy);--aj-mut:var(--brand-mut);--aj-line:var(--brand-line);
  --aj-display:var(--brand-display);--aj-text:var(--brand-display);
  --b-ink:var(--brand-navy);--b-forest:var(--brand-navy);--b-green:var(--brand-blue);--b-teal:var(--brand-blue);--b-blue:var(--brand-blue);--b-plum:#3F5BD9;--b-rose:#E5484D;--b-clay:var(--brand-blue-700);--b-gold:var(--brand-yellow-700);--b-sand:var(--brand-yellow);--b-cream:var(--brand-light);--b-paper:#fff;--b-line:var(--brand-line);--b-mut:var(--brand-mut);

  /* admin / component tokens (hsl triplets) */
  --background:0 0% 100%; --foreground:219 91% 22%; --card:0 0% 100%; --card-foreground:219 91% 22%; --popover:0 0% 100%; --popover-foreground:219 91% 22%;
  --primary:217 100% 52%; --primary-foreground:0 0% 100%; --secondary:216 33% 95%; --secondary-foreground:219 91% 22%;
  --accent:48 100% 51%; --accent-foreground:219 91% 22%; --muted:216 33% 95%; --muted-foreground:217 20% 36%;
  --border:215 30% 88%; --input:215 30% 88%; --ring:217 100% 52%;
}

/* ---------- page: light surface + the transparent grid ---------- */
html{background:var(--brand-page)!important;scrollbar-color:var(--brand-blue) #E3E8F0}
body{background-color:var(--brand-page)!important;background-image:linear-gradient(180deg,#F7F8FB 0%,#EBEEF4 100%)!important;background-attachment:fixed!important;color:var(--brand-text);font-family:var(--brand-display);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
/* The page grid is OFF (it pulled the eye away from the content). To bring back a very faint one, change --brand-grid-on from 0 to 1 below. */
body::before{content:"";position:fixed;inset:0;z-index:0;pointer-events:none;opacity:var(--brand-grid-on);background-image:linear-gradient(var(--brand-grid) 1px,transparent 1px),linear-gradient(90deg,var(--brand-grid) 1px,transparent 1px)!important;background-size:var(--brand-grid-size) var(--brand-grid-size)!important;background-position:0 0!important}
body::after{background-image:none!important}
.bg-grid,.bg-dots{display:none!important}   /* the old grid / dots layers — replaced by the one above */
main,.site-main{position:relative}

/* ---------- type: bold sans + one italic serif highlight ---------- */
main h1,main h2,main h3,.page-head h1,.hero h1,.aj-page h1,.aj-page h2{font-family:var(--brand-display)!important;font-weight:800!important;letter-spacing:-.025em!important;color:var(--brand-dark)}
h1 em,h2 em,h3 em,main h1 em,main h2 em,main h3 em,.hl-serif{font-family:var(--brand-serif)!important;font-style:italic!important;font-weight:600!important;letter-spacing:-.01em;color:var(--brand-blue)}
main p a:not([class]),main li a:not([class]),main dd a:not([class]){color:var(--brand-blue-700);text-decoration-color:color-mix(in srgb,var(--brand-blue) 40%,transparent)}
main p a:not([class]):hover,main li a:not([class]):hover{color:var(--brand-navy);text-decoration-color:currentColor}
mark,.hl,.marker{background:var(--brand-yellow);color:var(--brand-navy);padding:.05em .4em;border-radius:8px}
::selection{background:var(--brand-yellow);color:var(--brand-navy)}
:where(a,button,input,select,textarea,summary,[tabindex]):focus-visible{outline:2px solid var(--brand-blue)!important;outline-offset:2px;border-radius:8px}

/* ---------- controls ---------- */
.btn-primary,a.aj-btn,.aj-btn.is-primary,.c14-more a,button.primary{background:linear-gradient(135deg,var(--brand-blue),var(--brand-navy))!important;color:#fff!important;border:0!important;border-radius:var(--brand-pill)!important;font-weight:700;box-shadow:0 10px 22px -14px rgba(9,102,255,.8)!important;transition:transform .2s,box-shadow .2s}
.btn-primary:hover,a.aj-btn:hover,.c14-more a:hover{transform:translateY(-2px);box-shadow:0 16px 28px -14px rgba(9,102,255,.9)!important}
.btn-accent,.aj-btn.is-accent{background:var(--brand-yellow)!important;color:var(--brand-navy)!important;border-radius:var(--brand-pill)!important;font-weight:800}
input:not([type=checkbox]):not([type=radio]),select,textarea{border:1px solid var(--brand-line);border-radius:var(--brand-radius-sm);background:#fff;color:var(--brand-text)}
input:focus,select:focus,textarea:focus{border-color:var(--brand-blue);box-shadow:0 0 0 3px rgba(9,102,255,.18);outline:0}
:where(input,select,textarea){accent-color:var(--brand-blue)}

/* ---------- surfaces ---------- */
.card,.c14-c,.c14-con,.aj-card,.panel{border-color:var(--brand-line)!important;border-radius:var(--brand-radius);box-shadow:var(--brand-shadow)}
.c14-con::before{background:linear-gradient(90deg,var(--brand-navy),var(--brand-blue),var(--brand-yellow))!important}
.c14-t i{background:var(--c,var(--brand-blue))}
hr{background:var(--brand-line)}
table{border-color:var(--brand-line)}
th{color:var(--brand-navy)}

/* ---------- navigation: one blue for every group, yellow for the current page ---------- */
.nv9-g,.nv9-g:has(a[href^="/publications"]),.nv9-g:has(a[href^="/research"]),.nv9-g:has(a[href^="/work"]),.nv9-g:has(a[href^="/lab"]),.nv9-g:has(a[href^="/autobiography"]),.nv9-g:has(a[href^="/journey"]){--gc:var(--brand-blue)}
.nv9-g>button:before,.nv9-g>a:first-child:before{background:var(--brand-yellow)!important;box-shadow:0 0 0 2px var(--brand-navy)}
[aria-current="page"],.is-active,.active>a{color:var(--brand-blue)}
.v5shell,header.site-header{background:rgba(255,255,255,.86);backdrop-filter:blur(12px);border-bottom:1px solid var(--brand-line)}

/* ---------- scrollbars ---------- */
::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:#E9EDF4}::-webkit-scrollbar-thumb{background:#9DB8E6;border-radius:10px;border:2px solid #E9EDF4}::-webkit-scrollbar-thumb:hover{background:var(--brand-blue)}

/* ---------- always light: nothing may switch to a dark scheme ---------- */
html[data-theme="dark"],html.dark,.dark{color-scheme:light only}
@media (prefers-color-scheme:dark){html,body{background-color:var(--brand-page)!important;color:var(--brand-text)}}

@media (max-width:760px){:root{--brand-grid-size:24px;--brand-grid-major-size:96px}}
@media print{body::before{display:none}}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* =====================================================================================================
   Stage 3 — page layouts: Projects (/work) · Work gallery (/work/gallery) · Books & Courses · Videos (/media)
   Class names below are the real ones on those pages. Only layout, card and spacing rules — no content changes.
   ===================================================================================================== */

/* shared card look: white, thin line, soft shadow, lifts a little on hover */
.wd-c,.wg-card,.md-c,.st-grid .card,.st-prop{background:var(--brand-surface)!important;border:1px solid var(--brand-line)!important;border-radius:var(--brand-radius)!important;box-shadow:var(--brand-shadow)!important;overflow:hidden;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.wd-c:hover,.wg-card:hover,.md-c:hover,.st-grid .card:hover{transform:translateY(-3px);border-color:var(--brand-blue)!important;box-shadow:0 2px 4px rgba(5,44,109,.08),0 22px 40px -22px rgba(9,102,255,.45)!important}
@media (prefers-reduced-motion:reduce){.wd-c,.wg-card,.md-c,.st-grid .card{transition:none}.wd-c:hover,.wg-card:hover,.md-c:hover,.st-grid .card:hover{transform:none}}

/* Projects (/work) — even auto-fit grid; the stray “No projects yet” box is hidden whenever works are listed */
main.wrap>.empty:has(+ .wd-grid .wd-c){display:none!important}
.wd-grid{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(min(100%,320px),1fr))!important;gap:20px!important;align-items:stretch}
/* theme-ostad.css tints every 4th card a pastel colour with !important — keep all project cards white */
main .wd-grid>.wd-c:nth-child(n),main .wd-grid>.wd-c:nth-child(4n+1),main .wd-grid>.wd-c:nth-child(4n+2),main .wd-grid>.wd-c:nth-child(4n+3),main .wd-grid>.wd-c:nth-child(4n+4){background:var(--brand-surface)!important}
.wd-c{display:flex;flex-direction:column;height:100%}
.wd-img{aspect-ratio:16/10;overflow:hidden;background:var(--brand-light)!important}
.wd-img img{width:100%;height:100%;object-fit:cover;display:block}
.wd-bar,.wd-find{gap:10px}
.wd-note{font-size:13px;color:var(--brand-mut)}

/* same pastel-tint rule from theme-ostad.css also hits the Open Lab grid and the publication list — white there too */
main .lb8-grid>:nth-child(n),main .pubs>.pub:nth-child(n){background:var(--brand-surface)!important}

/* Work gallery (/work/gallery) — even cards, neutral placeholder, calmer section heads */
.wg-cards{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr))!important;gap:20px!important}
.wg-mat{background:repeating-linear-gradient(45deg,#EEF2F8 0 10px,#F7F9FC 10px 20px)!important}
.wg-fr{padding:12px}
.wg-cap h3{font-size:15px;line-height:1.3;letter-spacing:-.01em}
.wg-sh h2{letter-spacing:-.02em}
.wg-hero{border-radius:var(--brand-radius)!important;border:1px solid var(--brand-line)!important}

/* Books & Courses — tabs as pills, equal cards, tidy empty state */
.st-tab{border-radius:var(--brand-pill)!important}
.st-tab.active{background:var(--brand-blue)!important;color:#fff!important;border-color:var(--brand-blue)!important}
.st-grid{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr))!important;gap:20px!important}
.st-props{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}
.st-prop{padding:14px 16px}
.st-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}
.st .empty{border-radius:var(--brand-radius);background:rgba(255,255,255,.7)}

/* Videos / Media (/media) — equal-height video cards, 16:9 thumbnails; the featured one spans the row only when there is room */
.md-grid{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(min(100%,320px),1fr))!important;gap:20px!important;align-items:stretch}
.md-c{display:flex;flex-direction:column}
.md-th{aspect-ratio:16/9;height:auto!important;width:100%}
.md-c.feat{grid-column:1/-1!important;flex-direction:row}
.md-c.feat .md-th{flex:0 0 min(56%,640px);height:auto!important}
.md-c.feat .md-tx{align-self:center;padding:24px}
.md-c.feat+.md-c:last-child{grid-column:1/-1;flex-direction:row}   /* a lone second video fills the row too, no empty hole */
.md-c.feat+.md-c:last-child .md-th{flex:0 0 min(56%,640px)}
.md-c.feat+.md-c:last-child .md-tx{align-self:center;padding:24px}
.md-tx h3{line-height:1.25;letter-spacing:-.01em}
@media (max-width:760px){.md-c.feat,.md-c.feat+.md-c:last-child{flex-direction:column}.md-c.feat .md-th,.md-c.feat+.md-c:last-child .md-th{flex:none}}

/* =====================================================================================================
   Stage 4 — The Atlas of My Life (/autobiography). Everything below starts with #at, so it touches no other page.
   Order of the page (top to bottom): cover → sticky bar → life in stages → life tree → 7 chapters → what's next → numbers.
   One font, one colour system (navy text · blue action · yellow highlight · soft blue-grey surfaces), one card shape (20 px).
   ===================================================================================================== */
#at{--a-navy:#052C6D;--a-blue:#0966FF;--a-yel:#FFCB05;--a-ink:#0B1B3A;--a-mut:#52617A;--a-line:#DCE3EE;--a-soft:#F3F6FB;--a-card:#fff;--a-r:20px;--a-sh:0 1px 2px rgba(5,44,109,.06),0 16px 34px -24px rgba(5,44,109,.38);--a-w:1180px;--a-g:clamp(16px,4vw,40px);--wrap:min(var(--a-w),100%);--sec:clamp(48px,7vw,96px);color:var(--a-ink)}   /* --wrap / --sec are the page's own width and spacing variables */
#atIntro .cv-in,#atBar .atb-in,#atBar .atb-steps,#atRibbon,#atTree.lt,#atStory .atc,#atNext.nx,#atNumbers.ln{box-sizing:border-box}

/* 1 · one readable font everywhere (the page used "Inter", which is not loaded: some computers drew symbols instead of letters) */
#at,#at *:not(svg):not(svg *){font-family:"Plus Jakarta Sans","Hind Siliguri","Noto Sans Bengali",system-ui,-apple-system,"Segoe UI",sans-serif!important}
#at svg text{font-family:"Plus Jakarta Sans","Hind Siliguri",system-ui,sans-serif!important}
#at .sk-hand,#at .cvm-hand,#at text.sk-hand,#at text.cvm-hand{font-family:"Caveat","Plus Jakarta Sans",cursive!important}
#at .bn,#at .bn *{font-family:"Hind Siliguri","Noto Sans Bengali","Plus Jakarta Sans",sans-serif!important}

/* 2 · shared card + chip + button shapes */
#at .card,#at .atc-info,#at .atc-nar,#at .lt-panel,#at .rb-st>a,#at .nx-it,#at .ln-c{background:var(--a-card)!important;border:1px solid var(--a-line)!important;border-radius:var(--a-r)!important;box-shadow:var(--a-sh)!important;color:var(--a-ink)}
#at .sc-done,#at .sc-running,#at .sc-pending{display:inline-flex;align-items:center;gap:6px;padding:4px 11px;border-radius:999px;font-size:11.5px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;line-height:1.4;border:1px solid transparent}
#at .sc-done{background:#E7F0FF!important;color:var(--a-navy)!important;border-color:#C9DBFF}
#at .sc-running{background:#FFF4C2!important;color:#6B5200!important;border-color:#F4DC7A}
#at .sc-pending{background:#fff!important;color:var(--a-mut)!important;border-color:var(--a-line)}
#at .eyebrow,#at .atc-eye,#at .lt-eye{color:var(--a-blue)!important;font-weight:700;font-size:12px;letter-spacing:.14em;text-transform:uppercase}
#at .sec-h,#at .lt-h{max-width:none;margin:0 0 24px;padding:0}
#at .sec-h h2,#at .lt-h h2{color:var(--a-navy)!important;font-size:clamp(28px,3.6vw,44px);line-height:1.08;letter-spacing:-.03em;font-weight:800;margin:.25em 0 .35em}
#at .sec-h .lede,#at .lt-h p:not(.eyebrow){color:var(--a-mut)!important;font-size:16.5px;line-height:1.65;max-width:62ch}

/* 3 · cover: text left, map right (stacks on phones) */
#atIntro{padding:clamp(28px,5vw,72px) 0 clamp(20px,3vw,40px)}
#atIntro .cv-in{max-width:var(--a-w)!important;margin:0 auto;padding:0 clamp(16px,4vw,40px)!important;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:clamp(24px,4vw,64px);align-items:center}
#atIntro .cv-kick{color:var(--a-blue)!important;font-weight:700;font-size:12px;letter-spacing:.16em;text-transform:uppercase;margin:0 0 14px}
#atIntro h1#cvTitle{color:var(--a-navy)!important;font-size:clamp(44px,6.2vw,88px);line-height:.98;letter-spacing:-.04em;font-weight:800;margin:0 0 .12em}
#atIntro #cvTitle .l1,#atIntro #cvTitle .l2{display:block}
#atIntro #cvTitle .l2{font-family:"Playfair Display",Georgia,serif!important;font-style:italic;font-weight:600;letter-spacing:-.02em;color:var(--a-blue)!important}
#atIntro .cv-bn{color:var(--a-mut)!important;font-size:18px;margin:0 0 18px}
#atIntro .cv-by{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:15px;font-weight:600;color:var(--a-ink)!important;margin:0 0 14px}
#atIntro .cv-by i{width:5px;height:5px;border-radius:50%;background:var(--a-yel);display:inline-block}
#atIntro .cv-lead{font-size:17.5px;line-height:1.65;color:var(--a-mut)!important;font-style:normal!important;max-width:58ch;margin:0 0 24px}
#atIntro .cv-cta{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 28px}
#atIntro .cv-cta a{display:inline-flex;align-items:center;gap:8px;padding:12px 20px;border-radius:999px;font-weight:700;font-size:14.5px;text-decoration:none;background:#fff!important;color:var(--a-navy)!important;border:1.5px solid var(--a-line)!important;box-shadow:none!important;transition:transform .15s,border-color .15s,background .15s}
#atIntro .cv-cta a:hover{transform:translateY(-2px);border-color:var(--a-blue)!important}
#atIntro .cv-cta a.b1{background:var(--a-blue)!important;color:#fff!important;border-color:var(--a-blue)!important}
#atIntro .cv-cta a.cv-book{background:var(--a-yel)!important;color:var(--a-ink)!important;border-color:var(--a-yel)!important}
#atIntro .cv-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0}
#atIntro .cv-stats>div{background:#fff!important;border:1px solid var(--a-line)!important;border-radius:16px!important;padding:14px 14px 12px!important;box-shadow:none!important;min-width:0}
#atIntro .cv-stats dd{margin:0;font-size:clamp(22px,2.4vw,30px);font-weight:800;letter-spacing:-.02em;color:var(--a-navy)!important;line-height:1.1}
#atIntro .cv-stats dt{margin:4px 0 0;font-size:12.5px;line-height:1.3;color:var(--a-mut)!important;font-weight:600}
#atIntro figure.cv-map{margin:0;background:#fff;border:1px solid var(--a-line);border-radius:28px;padding:clamp(12px,2vw,22px);box-shadow:var(--a-sh)}
#atIntro figure.cv-map svg{display:block;width:100%;height:auto;max-height:min(74vh,660px);border-radius:18px}
#atIntro figure.cv-map figcaption{margin:12px 4px 0;text-align:left;font-size:12.5px;color:var(--a-mut)!important}
#atIntro .cv-cue{display:none}
@media (max-width:900px){#atIntro .cv-in{grid-template-columns:minmax(0,1fr)}#atIntro .cv-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* 4 · sticky bar: mode tabs + chapter rail */
#atBar{background:rgba(255,255,255,.92)!important;backdrop-filter:saturate(1.4) blur(14px);border-bottom:1px solid var(--a-line)!important;box-shadow:0 8px 24px -22px rgba(5,44,109,.5)!important}
#atBar .atb-in{max-width:var(--a-w);margin:0 auto}
#atBar .atb-brand b{color:var(--a-navy)!important;font-weight:800;letter-spacing:-.01em}
#atBar .atb-brand small{color:var(--a-mut)!important}
#atBar .atb-modes{background:var(--a-soft)!important;border:1px solid var(--a-line)!important;border-radius:999px;padding:4px;gap:2px;box-shadow:none!important}
#atBar .atb-modes button{border-radius:999px!important;font-weight:700;font-size:13.5px;color:var(--a-mut)!important;background:transparent!important;border:0!important}
#atBar .atb-modes button[aria-selected="true"]{background:var(--a-navy)!important;color:#fff!important}
#atBar .atb-year b{color:var(--a-navy)!important;font-weight:800}
#atBar .atb-lang button{border-radius:999px!important;font-weight:700}
#atBar .atb-lang button.on,#atBar .atb-lang button[aria-pressed="true"]{background:var(--a-navy)!important;color:#fff!important}
#atBar .atb-steps a{color:var(--a-mut)!important;font-weight:600;font-size:12.5px}
#atBar .atb-steps a.on,#atBar .atb-steps a[aria-current]{color:var(--a-navy)!important;font-weight:800}
#atBar .atb-prog{background:var(--a-line)!important;height:3px}
#atBar #atProg{background:linear-gradient(90deg,var(--a-blue),var(--a-yel))!important}

/* 5 · life in stages: even cards, one status vocabulary, colour only as a thin top line */
#at #atRibbon,#at #atTree.lt,#at #atNext.nx,#at #atNumbers.ln{max-width:var(--a-w);margin-left:auto;margin-right:auto;padding-left:var(--a-g)!important;padding-right:var(--a-g)!important}
#atRibbon{padding-top:clamp(40px,6vw,88px);padding-bottom:clamp(20px,3vw,40px)}
#atRibbon .rb-legend{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0 0}
#rbTrack{max-width:none;margin:0;padding:6px 0 18px;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(200px,1fr);gap:14px;overflow-x:auto;list-style:none}
#rbTrack .rb-st{min-width:0}
#rbTrack .rb-st>a{display:flex;flex-direction:column;gap:8px;height:100%;padding:16px 16px 14px;text-decoration:none;border-top:4px solid var(--c,var(--a-blue))!important;transition:transform .18s,box-shadow .18s}
#rbTrack .rb-st>a:hover{transform:translateY(-3px)}
#rbTrack .rb-y{color:var(--a-mut)!important;font-size:12.5px;font-weight:700;letter-spacing:.04em}
#rbTrack .rb-st b{color:var(--a-navy)!important;font-size:19px;line-height:1.2;font-weight:800;letter-spacing:-.015em;text-decoration:none!important;font-family:"Plus Jakarta Sans",sans-serif!important}
#rbTrack .rb-st small{color:var(--a-mut)!important;font-size:13.5px;line-height:1.5;text-decoration:none!important;flex:1}
#rbTrack .rb-bar{display:block;height:6px;border-radius:99px;background:var(--a-soft);overflow:hidden}
#rbTrack .rb-bar s{display:block;height:100%;border-radius:99px;background:var(--c,var(--a-blue));text-decoration:none}

/* 6 · life tree: equal tabs, one selected colour, calm detail panel */
#atTree.lt{padding-top:clamp(28px,5vw,64px);padding-bottom:clamp(28px,5vw,64px)}
#atTree .lt-rail{max-width:none;margin:0 0 18px;padding:0;display:grid!important;grid-template-columns:repeat(auto-fit,minmax(168px,1fr))!important;gap:10px!important}
#atTree .lt-cat{background:#fff!important;border:1px solid var(--a-line)!important;border-radius:16px!important;box-shadow:none!important;color:var(--a-ink)!important;padding:12px 14px;text-align:left;min-width:0;display:grid;grid-template-columns:auto 1fr;gap:2px 10px;align-items:center;transition:border-color .15s,transform .15s}
#atTree .lt-cat:hover{border-color:var(--a-blue)!important;transform:translateY(-2px)}
#atTree .lt-cat i{grid-row:1/4;width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:var(--a-soft)!important;box-shadow:none!important;font-style:normal;font-size:18px}
#atTree .lt-cat b{font-size:14px;font-weight:800;color:var(--a-navy)!important;line-height:1.25}
#atTree .lt-cat small{font-size:12px;color:var(--a-mut)!important;font-family:"Plus Jakarta Sans",sans-serif!important}
#atTree .lt-cat em{font-size:11.5px;color:var(--a-mut)!important;font-style:normal;grid-column:2}
#atTree .lt-cat.on{background:var(--a-navy)!important;border-color:var(--a-navy)!important;box-shadow:0 14px 26px -18px rgba(5,44,109,.7)!important}
#atTree .lt-cat.on b,#atTree .lt-cat.on small,#atTree .lt-cat.on em{color:#fff!important}
#atTree .lt-cat.on i{background:rgba(255,255,255,.16)!important}
#atTree .lt-orgs{display:flex;flex-direction:column;gap:10px}
#atTree .lt-org{background:#fff!important;border:1px solid var(--a-line)!important;border-radius:16px!important;box-shadow:none!important;color:var(--a-ink)!important}
#atTree .lt-org.on{border-color:var(--a-blue)!important;background:#F3F8FF!important}
#atTree .lt-org b{color:var(--a-navy)!important;font-weight:800}
#atTree .lt-org small,#atTree .lt-sh small,#atTree .lt-sh time{color:var(--a-mut)!important;font-family:"Plus Jakarta Sans",sans-serif!important}
#atTree .lt-panel,#atTree .lt-det{background:#fff!important}
#atTree .lt-step .lt-node{background:#fff!important;border:3px solid var(--a-blue)!important}
#atTree .lt-step.open .lt-node{background:var(--a-blue)!important}
#atTree .lt-kpi{background:var(--a-soft)!important;border:1px solid var(--a-line)!important;border-radius:14px!important;box-shadow:none!important}

/* 7 · chapters: one rhythm — header, wide map, status + numbers, story, photos */
#atModes{background:transparent}
#atStory .atc{width:100%!important;max-width:var(--a-w);margin:0 auto!important;padding:clamp(48px,7vw,96px) clamp(16px,4vw,40px) 24px!important;border-top:1px solid var(--a-line)}
#atStory .atc:first-child{border-top:0}
#atStory .atc-top{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:22px!important}
#atStory .atc-h{display:flex;flex-direction:column;gap:8px}
#atStory .atc-eye{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
#atStory .atc-eye .dot{width:4px;height:4px;border-radius:50%;background:var(--a-yel)}
#atStory .atc-h h2{color:var(--a-navy)!important;font-size:clamp(38px,6vw,76px);line-height:.98;letter-spacing:-.04em;font-weight:800;margin:.05em 0}
#atStory .atc-theme{font-family:"Playfair Display",Georgia,serif!important;font-style:italic;font-size:clamp(18px,2.2vw,24px);color:var(--c,var(--a-blue))!important;margin:0}
#atStory .atc-path{display:flex;flex-wrap:wrap;gap:6px;list-style:none;padding:0;margin:10px 0 0}
#atStory .atc-path li{padding:6px 12px;border-radius:999px;background:#fff!important;border:1px solid var(--a-line)!important;color:var(--a-ink)!important;font-size:12.5px;font-weight:600;box-shadow:none!important}
#atStory .atc-path li:last-child{background:var(--a-navy)!important;border-color:var(--a-navy)!important;color:#fff!important}
#atStory .atc-mapwrap,#atStory .atc-sk{width:100%!important;max-width:none!important;margin:0!important}
#atStory .atc-sk{overflow:hidden;padding:10px!important}
#atStory .sk-map{border-radius:14px;overflow:hidden}
#atStory .atc-kpi{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
#atStory .atc-kpi .kp-st{grid-column:1/-1;display:flex;align-items:center;gap:12px;background:#fff!important;border:1px solid var(--a-line)!important;border-radius:16px!important;padding:10px 14px}
#atStory .atc-kpi .kp-bar{flex:1;height:8px;border-radius:99px;background:var(--a-soft);overflow:hidden;display:block}
#atStory .atc-kpi .kp-bar s{display:block;height:100%;background:var(--c,var(--a-blue));border-radius:99px;text-decoration:none}
#atStory .atc-kpi .kp-st small{font-weight:800;color:var(--a-navy)!important}
#atStory .atc-kpi .kp{background:#fff!important;border:1px solid var(--a-line)!important;border-radius:16px!important;padding:14px!important;display:grid;grid-template-columns:auto 1fr;gap:2px 10px;align-items:center;box-shadow:none!important}
#atStory .atc-kpi .kp svg{color:var(--c,var(--a-blue));grid-row:1/3}
#atStory .atc-kpi .kp b{font-size:26px;font-weight:800;color:var(--a-navy)!important;line-height:1}
#atStory .atc-kpi .kp>span{font-size:12.5px;color:var(--a-mut)!important;font-weight:600}
#atStory .atc-row{display:grid!important;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:20px;align-items:start}
#atStory .atc-nar{padding:clamp(18px,2.4vw,30px)!important}
#atStory .atc-nar .nar{font-size:17px;line-height:1.75;color:var(--a-ink)!important;margin:0}
#atStory .atc-nar .chip.draft{display:inline-block;margin:0 0 12px;padding:4px 10px;border-radius:999px;background:#FFF4C2!important;font-size:11.5px;font-weight:700;color:#6B5200!important}
#atStory .atc-nar .chip.draft *{color:#6B5200!important}
#atStory .btn-say{border-radius:999px!important;background:var(--a-soft)!important;border:1px solid var(--a-line)!important;color:var(--a-navy)!important;font-weight:700}
#atStory .atc-info{padding:18px!important}
#atStory .atc-sub,#atStory .atc-photos h3,#atStory .atc-places h3{color:var(--a-navy)!important;font-weight:800;font-size:18px;letter-spacing:-.01em}
@media (max-width:900px){#atStory .atc-row{grid-template-columns:minmax(0,1fr)}#atStory .atc-kpi{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* photo placeholders: quiet and compact instead of big grey tiles; real photos fill the same frame */
#atStory .s3-card,#atStory .s3-scene{border-radius:var(--a-r)!important;overflow:hidden}
#atStory .s3-empty,#atStory .atc-photos .ph-empty{background:linear-gradient(135deg,#EEF3FB,#F8FAFD)!important;color:var(--a-mut)!important;border:1px dashed #BCCBE6!important}
#atStory .s3-empty b,#atStory .s3-ph{color:#9FB2D4!important;text-shadow:none!important;font-weight:800;letter-spacing:.06em}
#atStory .atc-photos{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr));gap:14px}
#atStory .atc-photos figure,#atStory .atc-photos .ph{margin:0;background:#fff!important;border:1px solid var(--a-line)!important;border-radius:16px!important;overflow:hidden;box-shadow:none!important}

/* 8 · what's next + numbers */
#atNext.nx,#atNumbers.ln{padding-top:clamp(48px,7vw,96px);padding-bottom:clamp(48px,7vw,96px)}
#atNext .nx-list{align-items:start;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));gap:14px}
#atNext .nx-it{padding:18px!important;display:flex;flex-direction:column;gap:6px}
#atNumbers .ln-grid,#atNumbers .ln-kpis{display:grid;gap:14px}
#atNumbers .ln-kpis{grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}
#atNumbers .ln-c{padding:18px!important}
#atNumbers .ln-hd{color:var(--a-navy)!important;font-weight:800}

/* fixes found in the live preview */
#atIntro .cv-kick,#atIntro .cv-kick *{color:var(--a-blue)!important}
#atIntro #cvTitle,#atIntro #cvTitle .l1{-webkit-text-fill-color:var(--a-navy)!important;background:none!important}
#atIntro #cvTitle .l2{-webkit-text-fill-color:var(--a-blue)!important;background:none!important;color:var(--a-blue)!important}
#atIntro #cvStats>div dd,#atIntro #cvStats>div dd *{color:var(--a-navy)!important}
#atIntro #cvStats>div dt,#atIntro #cvStats>div dt *{color:var(--a-mut)!important}
#atBar .atb-in{padding-left:clamp(16px,4vw,40px);padding-right:clamp(16px,4vw,40px)}
#atBar .atb-steps{max-width:var(--a-w);margin:0 auto;padding-left:clamp(16px,4vw,40px);padding-right:clamp(16px,4vw,40px)}
#atNumbers .ln-kpis{grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}
#atNumbers .kpi{background:#fff!important;border:1px solid var(--a-line)!important;border-left:4px solid var(--k,var(--a-blue))!important;border-radius:16px!important;box-shadow:none!important;padding:14px 16px}
#atNumbers .kpi b{color:var(--a-navy)!important;font-size:30px;font-weight:800;letter-spacing:-.02em}
#atNumbers .kpi span{color:var(--a-mut)!important;font-weight:600}
#atNumbers .ln-big{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px}
#atNumbers .ln-big>div{background:var(--a-soft)!important;border:1px solid var(--a-line)!important;border-radius:16px!important;box-shadow:none!important;padding:14px 16px}
#atNumbers .ln-big b,#atNumbers .ln-big b small{color:var(--a-navy)!important;font-weight:800}
#atNumbers .ln-big span{color:var(--a-mut)!important;font-weight:600}

/* =====================================================================================================
   Stage 5 — alignment fixes found while reviewing other pages
   ===================================================================================================== */
/* My Domain (/my-domain): the "Universe / Columns" block ran wider than the rest of the page, so headings and panels had different left edges */
.lu-sec.lu-full>.lh-head,.lu-sec.lu-full>.lh-meta,.lu-sec.lu-full>.lh-rail,.lu-sec.lu-full>.lh-ctl,.lu-sec.lu-full>.lh-crumb,.lu-sec.lu-full>.lh-stage,.lu-sec.lu-full>.lh-tip{margin-left:max(24px,calc((100% - 1152px)/2))!important;margin-right:max(24px,calc((100% - 1152px)/2))!important;width:auto!important}

/* =====================================================================================================
   Stage 6 — menu in brand colours · grid removed everywhere · premium bordered glass image frames
   ===================================================================================================== */

/* ---- 6a. no grid anywhere (the body overlay stays off; every other grid-like background is cleared) ---- */
body::before,body::after,main::before,main::after,.bg-grid,.bg-dots,.grid-bg,.pgrid,[class*="bg-grid"],[class*="dotgrid"]{background-image:none!important}
.bg-grid,.bg-dots,.grid-bg,[class*="bg-grid"],[class*="dotgrid"]{display:none!important}
footer.ajf,.ajf{background-image:none!important;background-color:#052C6D!important;background:linear-gradient(180deg,#073b8f 0%,#052C6D 55%,#041f4d 100%)!important;color:#fff}
.ajf-box{background:rgba(255,255,255,.07)!important;border:1px solid rgba(255,255,255,.18)!important;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);box-shadow:0 18px 34px -24px rgba(0,0,0,.55)!important}
.ajf a{color:#fff}.ajf a:hover{color:#FFCB05}

/* the old body gradient repeated every 22px, which drew faint horizontal bands: one flat light colour instead */
html,body,body.v5,body.ajh-on{background:#F5F5F5!important;background-image:none!important;background-size:auto!important}
.page-hero::before{background-image:none!important}

/* ---- 6b. top menu: intentionally NOT restyled here. The menu keeps its original shape, spacing, fonts and hover panels; only its colours change,
        and that is done by the palette engine (app/c21_palette.php) from the original files. ---- */

/* ---- 6c. premium image frames: hairline border, white inner ring, soft navy shadow, glass captions ---- */
.wd-img,.wg-fr,.wg-mat,.md-th,.lt-pic,.lt-ph,.ph-th,.pl-th,main [class$="-img"]:not(img),main [class$="-pic"]:not(img),main [class$="-thumb"]:not(img),main [class$="-photo"]:not(img){
  position:relative;overflow:hidden;border-radius:18px!important;border:1px solid #DCE3EE!important;background-color:#fff;
  box-shadow:0 0 0 4px rgba(255,255,255,.85),0 0 0 5px rgba(5,44,109,.08),0 18px 36px -22px rgba(5,44,109,.38)!important;
  transition:transform .35s cubic-bezier(.2,.8,.2,1),box-shadow .35s}
.wd-img img,.wg-fr img,.wg-mat img,.md-th img,.lt-pic img,.lt-ph img,.ph-th img,.pl-th img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit;transition:transform .6s cubic-bezier(.2,.8,.2,1)}
.wd-img:hover,.wg-fr:hover,.wg-mat:hover,.md-th:hover,.lt-pic:hover,.lt-ph:hover{box-shadow:0 0 0 4px rgba(255,255,255,.9),0 0 0 5px rgba(9,102,255,.25),0 26px 44px -22px rgba(5,44,109,.45)!important}
.wd-img:hover img,.wg-fr:hover img,.wg-mat:hover img,.md-th:hover img{transform:scale(1.035)}
/* faint glass sheen over every framed image */
.wd-img::after,.wg-fr::after,.md-th::after,.lt-pic::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;
  background:linear-gradient(160deg,rgba(255,255,255,.22) 0%,rgba(255,255,255,0) 38%);box-shadow:inset 0 0 0 1px rgba(255,255,255,.35)}
/* stand-alone photos inside content areas */
main figure img,.v5shell figure img,.pg-img img,main .gl-r img,.wg-card img,.ph-grid img,.ph-s img{border-radius:16px;border:1px solid #DCE3EE;box-shadow:0 0 0 3px rgba(255,255,255,.85),0 14px 30px -20px rgba(5,44,109,.4)}
/* glass labels and captions that sit on images */
.wd-lab,.wg-cap,.wg-n,.md-lb,.md-bar,.lt-cap,.ph-who,.ph-lb-meta{background:rgba(255,255,255,.72)!important;color:#052C6D!important;border:1px solid rgba(255,255,255,.7);
  -webkit-backdrop-filter:blur(10px) saturate(150%);backdrop-filter:blur(10px) saturate(150%);border-radius:12px}
.wd-img :is(.tag,.chip,.pill),.wg-fr :is(.tag,.chip,.pill),.md-th :is(.tag,.chip,.pill),.lt-pic :is(.tag,.chip,.pill){background:rgba(255,255,255,.72);color:#052C6D;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
/* lightbox stays calm and bordered */
.wg-lb-in,.ph-lb-in{border:1px solid rgba(255,255,255,.25)!important;border-radius:22px!important;box-shadow:0 40px 80px -30px rgba(0,0,0,.6)!important}
.wg-lb-in img,.ph-lb-in img{border-radius:16px}
@media (max-width:600px){.wd-img,.wg-fr,.wg-mat,.md-th,.lt-pic,.lt-ph{border-radius:14px!important}}

/* =====================================================================================================
   Stage 7 — one page frame for the whole site: the Autobiography and Home page
   Rules: one 1180px container · 40px gutters · 96px section rhythm · left-aligned headings · navy text, blue kicker
   ===================================================================================================== */

/* ---- 7a. Autobiography: every block on the same left/right edge (old page CSS forced full width with !important) ---- */
#at #atRibbon,#at #atTree.lt,#at #atNext.nx,#at #atNumbers.ln,#at #atStory>section.atc{width:100%!important;max-width:var(--a-w)!important;margin-left:auto!important;margin-right:auto!important;box-sizing:border-box!important}

/* ---- 7b. Home page ---- */
:root{--h-w:1180px;--h-g:clamp(20px,4vw,40px);--h-sec:clamp(56px,7vw,96px)}
main>section.hf,main>section.h12,main>section#contact{box-sizing:border-box;width:min(var(--h-w),calc(100% - 2*var(--h-g)))!important;max-width:none!important;margin-left:auto!important;margin-right:auto!important;padding-left:0!important;padding-right:0!important}
main>section.hf{padding-top:var(--h-sec)!important;padding-bottom:0!important}
main>section.h12{padding-top:var(--h-sec)!important}
main>section .hf-in,main>section .hf-in1,main>section .hf-h,main>section .hf-top,main>section .hf-feat,main>section .ex-wrap{max-width:none!important;width:100%!important;margin-left:0!important;margin-right:0!important;box-sizing:border-box}
main>section.hf :is(.hf-h,.hf-top,.hf-in,.hf-in1,.hfa-text){text-align:left!important}
/* kickers: one small blue label */
main .hf-kick,main .ha-kick,main .h12-k,main .h12-h .eyebrow{font-family:"Plus Jakarta Sans",system-ui,sans-serif!important;font-size:12px!important;font-weight:800!important;letter-spacing:.14em!important;text-transform:uppercase;color:#0966FF!important;margin:0 0 12px!important;line-height:1.3}
main .hf-kick .bn,main .hf-kick small{font-size:inherit!important}
main header.hf-h{font-size:16px!important;line-height:1.5;margin:0 0 28px!important}
/* headings: one navy, one weight, one scale; gradient text removed */
main>section :is(h1.hf-h,.hf-h h2,.hfa-text h2,.h12-h h2,.ha-h1,#contact h2){color:#052C6D!important;-webkit-text-fill-color:#052C6D!important;background:none!important;-webkit-background-clip:border-box!important;background-clip:border-box!important;
  font-family:"Plus Jakarta Sans","Hind Siliguri",system-ui,sans-serif!important;font-weight:800!important;letter-spacing:-.03em!important;line-height:1.08!important;text-align:left!important;margin:0 0 .4em!important}
main>section :is(.hf-h h2,.hfa-text h2,.h12-h h2,#contact h2){font-size:clamp(30px,3.6vw,46px)!important}
main>section :is(h1.hf-h,.ha-h1){font-size:clamp(34px,4.6vw,60px)!important}
main>section .hfa-text h2{font-size:clamp(38px,5vw,68px)!important}
main>section :is(.hf-h h2,.hfa-text h2,h1.hf-h) :is(em,i,span){-webkit-text-fill-color:currentColor!important;background:none!important}
/* body copy: one muted colour, readable measure */
main>section :is(.hf-p,.hfa-text p,.h12-h p,.hf-h p:not(.hf-kick),.hf-lede){color:#52617A!important;font-family:"Plus Jakarta Sans","Hind Siliguri",system-ui,sans-serif!important;font-size:clamp(15.5px,1.3vw,17.5px)!important;line-height:1.65!important;max-width:64ch;margin-left:0!important;margin-right:0!important;text-align:left!important}
main>section :is(h3){color:#052C6D!important}
/* buttons */
main>section :is(.hf-cta,.hfa-cta){display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-start!important}
main>section :is(.hf-cta,.hfa-cta,.hfa-text) a:first-child{background:#052C6D!important;color:#fff!important;border:1.5px solid #052C6D!important}
main>section :is(.hf-cta,.hfa-cta,.hfa-text) a:not(:first-child){background:#fff!important;color:#052C6D!important;border:1.5px solid #DCE3EE!important}
main>section :is(.hf-cta,.hfa-cta,.hfa-text) a{border-radius:999px!important;font-weight:700!important;box-shadow:none!important}
/* cards: one shape */
main>section :is(.jr-row li,.jr-row>*,.hf-feat a,.h12-cards>*,.h12-box,.h12-big,.h12-pubs,.h12-more,.xm-sum,.xm-main,.xm-rank,.dn,.contact,.hfa-stats>*,.hfa-text .st>*){border-radius:20px!important}
main>section :is(.jr-row li,.hf-feat a,.h12-pubs,.h12-more,.xm-sum,.xm-main,.xm-rank,.dn,.contact){background:#fff!important;border:1px solid #DCE3EE!important;box-shadow:0 1px 2px rgba(5,44,109,.06),0 16px 34px -24px rgba(5,44,109,.38)!important}
main>section .jr-row{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;padding:0;list-style:none}
main>section .jr-row>li{min-width:0}
/* two-column home hero */
main>section#hfAtlas .hf-in{display:grid!important;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:clamp(28px,5vw,72px);align-items:center}
main>section#hfAtlas .hfa-text,main>section#hfAtlas .hfa-map{width:auto!important;max-width:none!important;margin:0!important}
/* full-bleed time band: calm brand tint, same inner edges */
#ha{background:linear-gradient(180deg,#F5F5F5 0%,#EAF1FF 100%)!important}
#ha :is(.ha-kick){color:#0966FF!important}
#ha .ha-h1{font-size:clamp(30px,3.4vw,46px)!important}
/* stat chips and tags in brand colours */
main>section :is(.hf-kick) b{color:inherit!important}
main>section a:not([class]):hover{color:#0966FF}
@media (max-width:900px){main>section#hfAtlas .hf-in{grid-template-columns:minmax(0,1fr)}main>section .jr-row{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){main>section .jr-row{grid-template-columns:minmax(0,1fr)}}

/* =====================================================================================================
   Stage 8 — Home project strip (thumbnails are landscape 1.9:1 cards: the old portrait 4:5 frame cut them in half)
   ===================================================================================================== */
main .hf-stage{height:clamp(250px,29vw,420px)!important;margin-top:28px!important;margin-bottom:8px!important;cursor:grab;touch-action:pan-y;user-select:none;-webkit-user-select:none;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 7%,#000 93%,transparent 100%);mask-image:linear-gradient(90deg,transparent 0,#000 7%,#000 93%,transparent 100%)}
main .hf-stage.drag{cursor:grabbing}
main .hf-track{-webkit-mask-image:none!important;mask-image:none!important;gap:clamp(22px,2.6vw,40px)!important;padding:0!important}
main .hf-card{width:clamp(290px,31vw,470px)!important;aspect-ratio:1.9/1!important;border-radius:22px!important;overflow:hidden;background:#EAF1FF!important;
  border:1px solid #DCE3EE;box-shadow:0 0 0 5px rgba(255,255,255,.9),0 0 0 6px rgba(5,44,109,.08),0 26px 44px -26px rgba(5,44,109,.5)!important;
  transition:box-shadow .3s,filter .3s}
main .hf-card img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center;background:#EAF1FF;display:block;pointer-events:none}
main .hf-card::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:linear-gradient(160deg,rgba(255,255,255,.2) 0%,rgba(255,255,255,0) 36%);box-shadow:inset 0 0 0 1px rgba(255,255,255,.4)}
main .hf-card:hover,main .hf-card.mid{box-shadow:0 0 0 5px rgba(255,255,255,.95),0 0 0 6px rgba(9,102,255,.3),0 32px 54px -26px rgba(5,44,109,.55)!important}
/* caption: frosted glass strip, shown on the centre card and on hover */
main .hf-cap{left:12px!important;right:12px!important;bottom:12px!important;padding:10px 14px!important;border-radius:14px!important;background:rgba(255,255,255,.78)!important;border:1px solid rgba(255,255,255,.8);
  -webkit-backdrop-filter:blur(14px) saturate(160%)!important;backdrop-filter:blur(14px) saturate(160%)!important;color:#052C6D!important;box-shadow:0 10px 24px -14px rgba(5,44,109,.5)}
main .hf-cap small{color:#0966FF!important;font-weight:800;letter-spacing:.1em}
main .hf-cap b{color:#052C6D!important;font-weight:800;font-size:13.5px}
main .hf-card.mid .hf-cap{opacity:0;transform:translateY(6px)}
main .hf-card:hover .hf-cap,main .hf-card:focus-visible .hf-cap{opacity:1;transform:none}
/* arrows */
main .hf-nav{background:rgba(255,255,255,.92)!important;color:#052C6D!important;border:1px solid #DCE3EE!important;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 12px 26px -14px rgba(5,44,109,.55)!important}
main .hf-nav:hover{background:#FFCB05!important;color:#052C6D!important}
main .hf-nav:focus-visible,main .hf-card:focus-visible{outline:3px solid #0966FF;outline-offset:3px}

/* the three highlight boxes: premium cards; on small screens they become a swipe row */
main .hf-feat{max-width:none!important;margin-top:26px!important;padding:0!important}
main .hf-feat a{background:#fff!important;border:1px solid #DCE3EE!important;border-radius:20px!important;box-shadow:0 0 0 4px rgba(255,255,255,.7),0 16px 34px -24px rgba(5,44,109,.4)!important;transition:transform .22s,box-shadow .22s,border-color .22s}
main .hf-feat a:hover{transform:translateY(-4px);border-color:#0966FF!important;box-shadow:0 0 0 4px rgba(255,255,255,.8),0 24px 40px -24px rgba(5,44,109,.5)!important}
main .hf-feat a::before{background:#052C6D!important;color:#FFCB05!important}
main .hf-feat b{color:#052C6D!important;font-weight:800}
main .hf-feat span{color:#52617A!important}
@media (max-width:900px){
  main .hf-feat{display:flex!important;overflow-x:auto;gap:14px!important;padding:6px 2px 18px!important;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none}
  main .hf-feat::-webkit-scrollbar{display:none}
  main .hf-feat a{flex:0 0 min(82%,340px);scroll-snap-align:start}
  main .hf-card{width:clamp(250px,72vw,360px)!important}
}
@media (prefers-reduced-motion:reduce){main .hf-card,main .hf-feat a{transition:none}}

/* =====================================================================================================
   Stage 9 — Home page rebuilt as one system (research-based)
   Rules used: headline-first hero with one main action · one 1180px column · 8-px spacing scale (8·16·24·32·48·96) ·
   cards 24px padding / 24px gap · 2–3 colours only (navy, blue, yellow) · key facts first: who → work → expertise → journey → contact ·
   one idea per section, no duplicate sections
   ===================================================================================================== */
main{display:flex;flex-direction:column}
main>section{order:10}
/* section order: see Stage 11 at the end of this file */
/* Home v9: less content, main message first. Hidden blocks are still in the HTML (delete these lines to bring one back):
   #hfExpertise + #expertise = both expertise maps (own page: /skills, /work) · #ha = second copy of the headline + 2,500px pixel chart · #domain = mind map (own page: My Domain) */
main>#expertise,main>#hfExpertise,main>#ha,main>#domain{display:none!important}
main .h12-n{display:none!important}                    /* the 01–05 numbers no longer matched the new order */
main>section.h12,main>section.hf,main>section#contact{width:min(1180px,calc(100% - 2*var(--h-g)))!important}
main>#ha{width:100%!important;max-width:none!important}

/* one section header everywhere: small blue label · big navy title · muted lead · optional link on the right */
main .h12-h{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin:0 0 32px!important}
main .h12-h>div{min-width:0;flex:1}
main .h12-h h2{margin:0 0 8px!important}
main .h12-h p{margin:0!important}
main .h12-all{flex:none;display:inline-flex;align-items:center;gap:8px;padding:10px 18px;border-radius:999px;background:#fff!important;color:#052C6D!important;border:1.5px solid #DCE3EE!important;font-weight:700;font-size:14px;text-decoration:none;box-shadow:none!important;transition:border-color .15s,transform .15s}
main .h12-all:hover{border-color:#0966FF!important;transform:translateY(-2px)}
main>section.hf>.hf-in1>header.hf-h{margin-bottom:32px!important}

/* shared card */
main .h12-proof a,main .fc-in,main .h12-box,main .h12-big,main .h12-photo,main .jr,main .contact,main .ex-s1,main .ex-s2{box-sizing:border-box}
main .fc-in,main .h12-box,main .h12-big,main .h12-photo,main .jr,main .contact{background:#fff!important;border:1px solid #DCE3EE!important;border-radius:20px!important;box-shadow:0 1px 2px rgba(5,44,109,.06),0 16px 34px -24px rgba(5,44,109,.38)!important}
main .h12-who{display:grid!important;grid-template-columns:minmax(0,300px) minmax(0,1fr);gap:24px;align-items:start}
main .h12-cards{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px!important}
main .h12-res{display:grid!important;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:24px;align-items:start}
main .h12-more{display:grid;gap:16px}
main .h12-life{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:minmax(160px,auto);gap:24px!important}
main .h12-life .h12-big,main .h12-life .h12-photo{grid-row:span 2}
main .h12-box,main .h12-big,main .h12-photo{padding:24px;display:flex;flex-direction:column;gap:8px;text-decoration:none;color:#052C6D;transition:transform .2s,border-color .2s}
main .h12-box:hover,main .h12-big:hover,main .h12-photo:hover{transform:translateY(-3px);border-color:#0966FF!important}
main .h12-k,main .h12-box>span:first-child{font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#0966FF!important}
main .h12-box b,main .h12-big b,main .h12-photo b{font-size:clamp(22px,2.4vw,30px);font-weight:800;letter-spacing:-.02em;color:#052C6D!important;line-height:1.15}
main .h12-box small,main .h12-big small{color:#52617A!important;font-size:14.5px;line-height:1.55}
@media (max-width:980px){main .h12-who,main .h12-res{grid-template-columns:minmax(0,1fr)}main .h12-cards,main .h12-life{grid-template-columns:repeat(2,minmax(0,1fr))}main .h12-life .h12-big,main .h12-life .h12-photo{grid-row:auto}}
@media (max-width:620px){main .h12-cards,main .h12-life{grid-template-columns:minmax(0,1fr)}main .h12-h{flex-direction:column;align-items:flex-start}}

/* contact */
main #contact .contact{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:32px;padding:clamp(24px,4vw,48px);align-items:center}
main #contact .num{font-size:12px;font-weight:800;letter-spacing:.14em;color:#0966FF!important}
main #contact .lead{color:#52617A!important;max-width:56ch}
main #contact .cta{display:flex;flex-wrap:wrap;gap:12px}
main #contact .btn{border-radius:999px!important;font-weight:700}
main #contact .btn.dark{background:#052C6D!important;color:#fff!important;border-color:#052C6D!important}
main #contact .btn.ghost{background:#fff!important;color:#052C6D!important;border:1.5px solid #DCE3EE!important}
main #contact .social{display:grid;gap:8px}
main #contact .social a{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;border:1px solid #DCE3EE;border-radius:14px;background:#F5F8FF;color:#052C6D!important;font-weight:700;text-decoration:none}
main #contact .social a:hover{border-color:#0966FF;background:#fff}
@media (max-width:820px){main #contact .contact{grid-template-columns:minmax(0,1fr)}}
main>#contact{padding-bottom:var(--h-sec)!important}

/* ---- the expertise map: small clean ring on the left, every area as a readable list on the right, details in one panel below ---- */
#hfExpertise .ex-wrap{display:grid!important;grid-template-columns:minmax(0,440px) minmax(0,1fr)!important;gap:32px 56px!important;align-items:center!important;justify-items:stretch!important;width:100%!important;max-width:none!important}
#hfExpertise .ex-viz{grid-column:1!important;grid-row:1!important;justify-self:start!important;width:100%!important;max-width:440px!important;margin:0!important;display:flex;flex-direction:column;gap:16px}
#hfExpertise .ex-viz svg{display:block;width:100%!important;height:auto!important;aspect-ratio:1/1;max-height:440px;filter:drop-shadow(0 24px 30px rgba(5,44,109,.18))}
#hfExpertise .ex-seg text,#hfExpertise .ex-seg tspan{display:none!important}   /* labels were wider than the ring bands: names now live in the list */
#hfExpertise .ex-ct{font-size:19px!important;font-weight:800!important}
#hfExpertise .ex-cs{font-size:10.5px!important}
#hfExpertise .ex-leg{display:flex;flex-wrap:wrap;gap:6px 16px;justify-content:center;list-style:none;margin:0;padding:0;font-size:12px;font-weight:600;color:#52617A}
#hfExpertise .ex-leg li{display:inline-flex;align-items:center;gap:6px}
#hfExpertise .ex-chips{grid-column:2!important;grid-row:1!important;justify-self:stretch!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;max-width:none!important;width:auto!important;margin:0!important;padding:0!important;justify-content:stretch}
#hfExpertise .ex-chips button{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:14px 16px;border-radius:16px!important;background:#fff!important;color:#052C6D!important;border:1px solid #DCE3EE!important;font:700 14.5px/1.3 "Plus Jakarta Sans",system-ui,sans-serif!important;box-shadow:0 1px 2px rgba(5,44,109,.05)!important;cursor:pointer;transition:border-color .15s,transform .15s,background .15s}
#hfExpertise .ex-chips button::before{content:"";flex:none;width:12px;height:12px;border-radius:50%;background:var(--c,#0966FF);box-shadow:0 0 0 4px color-mix(in srgb,var(--c,#0966FF) 18%,#fff)}
#hfExpertise .ex-chips button:hover{border-color:#0966FF!important;transform:translateY(-2px)}
#hfExpertise .ex-chips button.on{background:#052C6D!important;color:#fff!important;border-color:#052C6D!important}
#hfExpertise .ex-chips button.on::before{background:#FFCB05;box-shadow:0 0 0 4px rgba(255,203,5,.25)}
#hfExpertise .ex-side{grid-column:1/-1!important;grid-row:2!important;justify-self:stretch!important;width:100%!important;max-width:none!important;margin:0!important;display:grid!important;grid-template-columns:minmax(0,340px) minmax(0,1fr)!important;gap:32px!important;padding:clamp(24px,3vw,40px)!important;box-sizing:border-box;
  background:#fff!important;border:1px solid #DCE3EE!important;border-radius:24px!important;box-shadow:0 1px 2px rgba(5,44,109,.06),0 20px 40px -28px rgba(5,44,109,.4)!important}
#hfExpertise .ex-s1,#hfExpertise .ex-s2{width:auto!important;max-width:none!important;min-width:0;margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
#hfExpertise .ex-ring{font-size:12px!important;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#0966FF!important;margin:0 0 8px!important}
#hfExpertise .ex-s1 h3{font-size:clamp(24px,2.6vw,32px)!important;font-weight:800;letter-spacing:-.02em;color:#052C6D!important;margin:0 0 8px!important;line-height:1.15}
#hfExpertise .ex-note{color:#52617A!important;font-size:15px;line-height:1.6;margin:0 0 24px!important}
#hfExpertise .ex-kpi{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#hfExpertise .ex-kpi>div{padding:16px;border-radius:16px;background:#F3F6FB!important;border:1px solid #DCE3EE!important;box-shadow:none!important;text-align:left}
#hfExpertise .ex-kpi b{display:block;font-size:28px;font-weight:800;letter-spacing:-.02em;color:#052C6D!important;line-height:1}
#hfExpertise .ex-kpi span{display:block;margin-top:6px;font-size:12.5px;font-weight:600;color:#52617A!important}
#hfExpertise .ex-sk{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px 32px!important;margin:0 0 24px!important}
#hfExpertise .ex-sk>div{display:grid;gap:6px}
#hfExpertise .ex-sk span{font-size:13.5px;font-weight:700;color:#052C6D!important}
#hfExpertise .ex-sk i{display:block;height:6px;border-radius:99px;background:#E7EDF8!important;overflow:hidden}
#hfExpertise .ex-sk i s{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#0966FF,#052C6D)!important;text-decoration:none}
#hfExpertise .ex-s2 h4{font-size:12px!important;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#0966FF!important;margin:0 0 12px!important}
#hfExpertise .ex-s2{display:block!important}
#hfExpertise .ex-s2 ul{list-style:none;margin:0 0 16px;padding:0;display:grid;gap:8px}
#hfExpertise .ex-s2 li{display:flex;justify-content:space-between;gap:16px;padding:12px 16px;border:1px solid #DCE3EE;border-radius:14px;background:#F8FAFE;font-size:14px;line-height:1.45}
#hfExpertise .ex-s2 li a{color:#052C6D!important;font-weight:600;text-decoration:none}
#hfExpertise .ex-s2 li a:hover{color:#0966FF!important}
#hfExpertise .ex-s2 li small{flex:none;color:#52617A!important;font-weight:700}
#hfExpertise .ex-more{grid-column:1/-1;display:flex;gap:12px;margin:0!important;padding:0!important;border:0!important}
#hfExpertise .ex-more a{display:inline-flex;padding:10px 18px;border-radius:999px;background:#fff;border:1.5px solid #DCE3EE;color:#052C6D!important;font-weight:700;font-size:14px;text-decoration:none}
#hfExpertise .ex-more a:first-child{background:#052C6D;border-color:#052C6D;color:#fff!important}
@media (max-width:980px){#hfExpertise .ex-wrap{grid-template-columns:minmax(0,1fr)}#hfExpertise .ex-viz,#hfExpertise .ex-chips,#hfExpertise .ex-side{grid-column:1;grid-row:auto}#hfExpertise .ex-viz{margin:0 auto!important}#hfExpertise .ex-side{grid-template-columns:minmax(0,1fr)}}
@media (max-width:560px){#hfExpertise .ex-chips,#hfExpertise .ex-sk{grid-template-columns:minmax(0,1fr)}}
/* expertise palette: blues for the work itself, the brand yellow for public health (the point of it all); no red */
#exA5 stop{stop-color:#7aa5ff!important}#exA6 stop{stop-color:#1f3f9a!important}#exA7 stop{stop-color:#FFCB05!important}
#hfExpertise .ex-chips button:nth-child(6){--c:#7aa5ff!important}#hfExpertise .ex-chips button:nth-child(7){--c:#1f3f9a!important}#hfExpertise .ex-chips button:nth-child(8){--c:#FFCB05!important}
#hfExpertise .ex-leg .r0 b{background:#052C6D!important}#hfExpertise .ex-leg .r1 b{background:#0966FF!important}#hfExpertise .ex-leg .r2 b{background:#FFCB05!important}

/* Stage 9c — expertise ring: no off-brand red arcs */
#hfExSvg .ex-seg:nth-child(11) .ex-arc{fill:url(#exA6)!important}
#hfExSvg .ex-seg:nth-child(12) .ex-arc{fill:url(#exA7)!important}
#hfExpertise .ex-leg b{border-color:rgba(5,44,109,.18)!important;box-shadow:0 0 0 3px #fff}
#hfExpertise .ex-leg .bn{background:transparent!important;border:0!important}

/* Stage 9d — journey "today" card: brand yellow instead of red */
#hfJourney .jr-today .jr-y{background:#FFCB05!important;color:#052C6D!important}
#hfJourney .jr-today .jr-k,#hfJourney .jr-today .jr-k .bn{color:#052C6D!important}
#hfJourney .jr-today .jr-ar::before{background:#FFCB05!important}
#hfJourney .jr.jr-today .jr-k,#hfJourney .jr.jr-today p.jr-k,#hfJourney .jr.jr-today p.jr-k span{color:#052C6D!important}

/* Stage 9e — My Domain: chapter stored with a red colour -> brand navy */
#domain [style*="--c:#e5484d" i],#domain [style*="--c: #e5484d" i]{--c:#052C6D!important}
#domain .dn-svg path[stroke="#e5484d" i]{stroke:#052C6D!important}
#domain .dn-svg [fill="#e5484d" i]{fill:#052C6D!important}
#domain .dn-sum{border-left-color:#052C6D!important}
#domain button[style*="inset"]{background:#052C6D!important;box-shadow:0 12px 24px -16px rgba(5,44,109,.5)!important;color:#fff!important}

/* Stage 9f — breathing room before the contact card */
main#main #contact,main #contact{margin-top:clamp(40px,5vw,72px)!important}

/* Stage 9g — expertise legend: one tidy wrapped row, aligned dots */
#hfExpertise .ex-leg{display:flex!important;flex-wrap:wrap!important;gap:10px 22px!important;justify-content:flex-start!important;align-items:center!important;margin:18px 0 0!important;padding:0!important;list-style:none!important;position:static!important;transform:none!important}
#hfExpertise .ex-leg li{display:inline-flex!important;align-items:center!important;gap:9px!important;margin:0!important;padding:0!important;position:static!important;transform:none!important;font-size:14px;font-weight:600;color:#052C6D!important;background:transparent!important;border:0!important;box-shadow:none!important}
#hfExpertise .ex-leg li b{flex:0 0 14px;width:14px!important;height:14px!important;margin:0!important;border-radius:50%!important;position:static!important}
#hfExpertise .ex-viz{background:transparent!important;box-shadow:none!important}

/* ===== Stage 10 (v9) — Work section: no cramped / overlapping boxes ===== */
main .h12-res{grid-template-columns:minmax(0,1fr)!important;gap:24px!important;align-items:stretch!important}
main .h12-pubs{box-sizing:border-box;padding:24px!important;background:#fff!important;border:1px solid #DCE3EE!important;border-radius:20px!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important;overflow:hidden}
main .h12-pubs>h3{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 8px!important;padding:0!important;font-size:18px!important;font-weight:800;color:#052C6D!important}
main .h12-pubs>h3 a{flex:none;padding:6px 14px;border-radius:999px;border:1.5px solid #DCE3EE;background:#fff;color:#052C6D!important;font-size:13px;font-weight:700;text-decoration:none}
main .h12-pubs>h3 a:hover{border-color:#0966FF}
main .h12-pubs .fc{min-width:0;width:auto!important;margin:0!important}
main .h12-pubs .fc-f b{font-size:15px;line-height:1.35;-webkit-line-clamp:6}
main .h12-more{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px!important;height:auto!important}
main .h12-box{position:relative;min-width:0;overflow:hidden}
main .h12-box b:empty,main .h12-disc:empty{display:none!important}
@media (max-width:820px){main .h12-pubs{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media (max-width:560px){main .h12-pubs{grid-template-columns:minmax(0,1fr)!important;padding:16px!important}main .h12-more{grid-template-columns:minmax(0,1fr)!important}}
main .h12-more{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}

/* Stage 10b — site-wide overlap guards: grid/flex children may shrink instead of pushing over a neighbour; long words wrap; media never wider than its box */
main :where([class*="grid"],[class*="cards"],[class*="-row"],[class*="list"],[class*="wrap"])>*{min-width:0}
main :is(h1,h2,h3,h4,p,li,small,b,strong,figcaption,td,th,dd,dt){overflow-wrap:break-word}
main :is(img,video,canvas){max-width:100%}
main :is(.card,.wd-c,.wg-card,.md-c,.st-prop,.fc-in,.h12-box,.jr){box-sizing:border-box}

/* ===== Stage 11 (v10) — Home: one clear story, premium hero, safe on every screen width ===== */
/* order: who I am → what I do → my work → my journey → my life → contact */
main>#hero{order:1!important}main>#who{order:2!important}main>#work{order:3!important}main>#hfJourney{order:4!important}main>#hfAtlas{order:5!important}main>#life{order:6!important}main>#contact{order:30!important}
main>#expertise,main>#hfExpertise,main>#ha,main>#domain,main>#hfData{display:none!important}
html,body{overflow-x:clip}

/* hero: centred statement, soft brand glow, nothing floating on the right */
main>#hero{position:relative;padding-top:clamp(48px,7vw,104px)!important}
main>#hero::before{content:"";position:absolute;z-index:-1;left:50%;top:0;width:min(1400px,100vw);height:620px;transform:translateX(-50%);pointer-events:none;
  background:radial-gradient(42% 60% at 30% 30%,rgba(9,102,255,.12),transparent 70%),radial-gradient(36% 50% at 72% 22%,rgba(255,203,5,.16),transparent 70%)}
#hero .hf-top{max-width:900px!important;margin:0 auto!important;text-align:center!important;display:flex!important;flex-direction:column;align-items:center;gap:0}
#hero .hf-light{display:inline-flex!important;align-items:center;gap:10px;padding:8px 16px 8px 12px;border-radius:999px;background:#fff;border:1px solid #DCE3EE;box-shadow:0 8px 20px -14px rgba(5,44,109,.45);
  font:700 14px/1.2 "Manrope",system-ui,sans-serif!important;letter-spacing:.01em!important;color:#052C6D!important;margin:0 0 24px!important}
#hero .hf-light::before{content:"";width:9px;height:9px;border-radius:50%;background:#FFCB05;box-shadow:0 0 0 4px rgba(255,203,5,.25)}
#hero .hf-h{font-size:clamp(40px,5.4vw,76px)!important;line-height:1.04!important;letter-spacing:-.035em!important;margin:0 0 24px!important;color:#052C6D!important;text-wrap:balance}
#hero .hf-h em{color:#0966FF!important}
#hero .hf-p{max-width:62ch!important;margin:0 auto 32px!important;font-size:clamp(16px,1.25vw,19px)!important;line-height:1.65!important;color:#52617A!important;text-wrap:pretty}
#hero .hf-cta{justify-content:center!important;flex-wrap:wrap;gap:12px!important;margin:0!important}

/* project strip: wide but never wider than 1600px, soft fade at both edges */
#hero #hfStage{width:min(1600px,100vw)!important;max-width:none!important;margin:clamp(48px,5vw,72px) 0 0 calc(50% - min(800px,50vw))!important;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent)}

/* three "what I do" cards: equal height, one rhythm */
@media (min-width:901px){#hero .hf-feat{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:24px!important;width:100%!important;max-width:none!important;overflow:visible!important}}
#hero .hf-feat{margin:clamp(40px,4vw,56px) 0 0!important}
#hero .hf-feat a{height:100%;padding:28px!important;display:flex!important;flex-direction:column;gap:10px;min-width:0}
#hero .hf-feat b{font-size:19px!important;color:#052C6D!important}
#hero .hf-feat span{font-size:15px!important;line-height:1.6!important;color:#52617A!important}
#hero #hfStage{left:0!important;right:auto!important;transform:none!important}
main>#hero{isolation:isolate}
#hero .hf-feat{margin-top:clamp(24px,3vw,40px)!important}

/* one heading style for every section */
main>section :is(.h12-h h2,header.hf-h h2,.hfa-text h2){font-size:clamp(30px,3.2vw,46px)!important;line-height:1.1!important;letter-spacing:-.028em!important;color:#052C6D!important;margin:0 0 12px!important;text-wrap:balance}
main>section :is(.h12-h p,header.hf-h .hf-lead,.hfa-text .hf-lead){font-size:clamp(16px,1.2vw,18px)!important;line-height:1.6!important;color:#52617A!important;max-width:62ch}
#hfJourney .hf-kick,#hfAtlas .hf-kick{display:none!important}   /* "Who I am" / "Start here" labels no longer matched their place on the page */

/* two calm white bands give the page a rhythm: grey · white · grey · white · grey */
main>#work,main>#hfAtlas{padding-bottom:var(--h-sec)!important;background:#fff!important;box-shadow:0 0 0 100vmax #fff!important;clip-path:inset(0 -100vmax)!important;border:0!important}
main>#work :is(.h12-pubs,.h12-box),main>#hfAtlas .hfa-map{box-shadow:0 1px 2px rgba(5,44,109,.05),0 18px 36px -26px rgba(5,44,109,.35)!important}
main>#contact{margin-top:0!important;padding-top:var(--h-sec)!important}

/* only brand colours on cards: the yellow and red cards / counters become blue and indigo */
main [style*="--c:#e0ac00" i],main [style*="--c: #e0ac00" i]{--c:#0752CC!important}
main [style*="--c:#e5484d" i],main [style*="--c: #e5484d" i]{--c:#1F3F9A!important}
#hfJourney .jr a{color:#0966FF!important}

/* Who I am: numbers in one clean white panel, cards in an even 3 × 2 grid */
main .h12-who{grid-template-columns:minmax(0,320px) minmax(0,1fr)!important;gap:32px!important;align-items:stretch!important}
#who .h12-proof{list-style:none;margin:0!important;padding:8px 24px!important;background:#fff!important;border:1px solid #DCE3EE!important;border-radius:20px!important;box-shadow:0 1px 2px rgba(5,44,109,.06),0 16px 34px -24px rgba(5,44,109,.38)!important;display:flex!important;flex-direction:column;justify-content:space-between;gap:0!important}
#who .h12-proof li{margin:0!important;padding:0!important;border:0!important;border-bottom:1px solid #EEF2F7!important;background:none!important;box-shadow:none!important}
#who .h12-proof li:last-child{border-bottom:0!important}
#who .h12-proof a{display:grid!important;grid-template-columns:76px minmax(0,1fr);align-items:center;gap:12px;padding:14px 0!important;margin:0!important;background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;text-decoration:none!important;min-height:0!important}
#who .h12-proof a::before,#who .h12-proof a::after{display:none!important}
#who .h12-proof b{font-size:28px!important;font-weight:800!important;line-height:1!important;letter-spacing:-.02em;color:#052C6D!important;min-width:0!important}
#who .h12-proof span{font-size:14.5px!important;line-height:1.4!important;color:#52617A!important;text-decoration:none!important;border:0!important}
#who .h12-proof a:hover b{color:#0966FF!important}
#who .h12-cards{grid-auto-rows:1fr}
#who .h12-cards .fc{min-height:210px!important}

/* journey cards: same height, links aligned at the bottom */
#hfJourney :is(.jr-row,.jr-list,ol,ul):has(>.jr),#hfJourney :has(>.jr){align-items:stretch!important}
#hfJourney .jr{height:100%;display:flex!important;flex-direction:column}
#hfJourney .jr>a:last-child,#hfJourney .jr .jr-go{margin-top:auto!important}

/* autobiography teaser: no hand-drawn "click here", numbers as one tidy row */
#hfAtlas .hfa-click{display:none!important}
#hfAtlas .hfa-stats{display:flex!important;flex-wrap:wrap;gap:0!important;margin:32px 0 0!important;padding:16px 0 0!important;border-top:1px solid #E6ECF5}
#hfAtlas .hfa-stats>div{flex:1 1 0;min-width:72px;padding:0 16px!important;margin:0!important;background:none!important;border:0!important;border-left:1px solid #E6ECF5!important;border-radius:0!important;box-shadow:none!important;display:flex!important;flex-direction:column-reverse;gap:4px}
#hfAtlas .hfa-stats>div:first-child{padding-left:0!important;border-left:0!important}
#hfAtlas .hfa-stats>div:nth-child(4){display:none!important}   /* project count is 0 in the database */
#hfAtlas .hfa-stats dd{margin:0!important;font-size:26px!important;font-weight:800!important;line-height:1!important;color:#052C6D!important}
#hfAtlas .hfa-stats dt{font-size:12px!important;font-weight:700!important;letter-spacing:.08em;text-transform:uppercase;color:#52617A!important}
#hfAtlas .hfa-cta{display:flex!important;flex-wrap:wrap;align-items:center;gap:12px!important;margin-top:28px!important}

/* very wide screens: keep everything on the same centred column */
@media (min-width:1600px){main>section.h12,main>section.hf,main>section#contact{width:1180px!important;margin-inline:auto!important}}

/* --- refinements after testing at 390 / 1440 / 2527 px --- */
main>#hero .hf-top>*{text-align:center!important;margin-left:auto!important;margin-right:auto!important}
main>#hero .hf-top .hf-cta{display:flex!important;justify-content:center!important}
#hero #hfStage{margin-top:clamp(28px,4vw,48px)!important}
main>#work,main>#hfAtlas{margin-top:var(--h-sec)!important}
main>section :is(header.hf-h .hf-lead,.hfa-text .hf-lead),main>section header.hf-h .hf-lead *{font-weight:400!important}
#hfJourney .jr .jr-more{margin-top:auto!important;padding-top:12px}
#hfAtlas .hfa-stats dd{font-family:"Plus Jakarta Sans","Manrope",system-ui,sans-serif!important;letter-spacing:-.02em}
#hfAtlas .hfa-stats dt{white-space:nowrap}
#life .h12-photo{box-shadow:0 1px 2px rgba(5,44,109,.06),0 16px 34px -24px rgba(5,44,109,.38)!important}
#life .h12-box{justify-content:flex-start!important}
#life .h12-box b{position:static!important;order:-1;font-size:28px!important;line-height:1!important;margin-bottom:auto}
#life .h12-box span{margin-top:16px}
#life .h12-big{min-height:260px}
#life .h12-route{position:static!important;display:block;width:100%!important;height:auto!important;max-height:110px;margin-top:auto!important;inset:auto!important;transform:none!important}
main #contact h2{font-size:clamp(30px,3.2vw,46px)!important;line-height:1.1!important;letter-spacing:-.028em!important;margin:8px 0 0!important}
main #contact .btn{display:inline-flex!important;align-items:center;justify-content:center;gap:6px;padding:12px 20px!important;font-size:15px!important;line-height:1.2!important;text-decoration:none!important;border:1.5px solid transparent;min-height:46px;box-sizing:border-box}
main #contact .cta{margin-top:24px!important}
/* phones and tablets: one column, no squeezed cards */
@media (max-width:980px){
  main .h12-who{grid-template-columns:minmax(0,1fr)!important}
  #who .h12-proof{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px!important;padding:8px 20px!important}
  #who .h12-proof li:nth-last-child(2){border-bottom:0!important}
  #who .h12-proof a{grid-template-columns:minmax(0,1fr)!important;gap:6px;align-items:start}
  #who .h12-cards{grid-auto-rows:auto}
}
@media (max-width:620px){
  #hero .hf-light{font-size:12.5px!important;padding:7px 14px 7px 10px}
  #who .h12-cards .fc{min-height:170px!important}
  #hfAtlas .hfa-stats>div{flex:1 1 40%;padding:8px 12px!important}
  #hfAtlas .hfa-stats>div:nth-child(3){border-left:0!important;padding-left:0!important}
}
#hero #hfStage{height:calc(clamp(290px,31vw,470px) / 1.9 + 64px)!important;min-height:0!important}
@media (max-width:900px){#hero #hfStage{height:calc(clamp(250px,72vw,360px) / 1.9 + 56px)!important}}
@media (min-width:621px) and (max-width:820px){main .h12-pubs{grid-template-columns:repeat(3,minmax(0,1fr))!important;padding:20px!important;gap:12px!important}main .h12-pubs .fc-f{padding:14px!important}main .h12-pubs .fc-f b{font-size:13.5px!important}}

/* =====================================================================================================
   Stage 12 (v11) — drone-video Home hero · footprint counters · Back to Home everywhere · My Domain at a glance
   ===================================================================================================== */

/* ---- 12a · "Back to Home" on every page except Home (added by the server) ---- */
.b2h{position:fixed;left:clamp(12px,2vw,24px);bottom:clamp(12px,2vw,24px);z-index:9990;display:inline-flex;align-items:center;gap:10px;padding:7px 18px 7px 7px;border-radius:999px;
  background:#052C6D!important;color:#fff!important;font:800 14px/1 "Plus Jakarta Sans","Manrope",system-ui,sans-serif!important;letter-spacing:.01em;text-decoration:none!important;
  box-shadow:0 0 0 3px rgba(255,255,255,.9),0 16px 32px -12px rgba(5,44,109,.65)!important;transition:transform .18s ease,box-shadow .18s ease}
.b2h i{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#FFCB05;color:#052C6D;font-style:normal;font-size:16px;font-weight:800}
.b2h:hover{transform:translateX(-3px);box-shadow:0 0 0 3px #FFCB05,0 18px 34px -12px rgba(5,44,109,.7)!important}
.b2h:focus-visible{outline:3px solid #0966FF;outline-offset:3px}
@media (max-width:620px){.b2h{padding:6px}.b2h span{display:none}}
@media print{.b2h{display:none!important}}
html.dg-lock .b2h{display:none!important}

/* ---- 12b · Home hero: drone video / photo scenes under a brand-tinted glass layer ---- */
main>#hero.has-hx{padding-top:0!important}
main>#hero.has-hx::before{display:none!important}
#hero .hx{position:relative;isolation:isolate;box-sizing:border-box;width:100vw;margin:calc(-1 * var(--hdrh,84px)) 0 0 calc(50% - 50vw);
  min-height:min(94vh,920px);display:flex;flex-direction:column;justify-content:center;overflow:hidden;
  padding:calc(var(--hdrh,84px) + clamp(40px,8vh,96px)) var(--h-g,24px) clamp(24px,4vh,44px);color:#fff;
  background:radial-gradient(55% 70% at 18% 18%,rgba(9,102,255,.55),transparent 62%),radial-gradient(45% 55% at 86% 28%,rgba(255,203,5,.16),transparent 60%),linear-gradient(160deg,#052C6D 0%,#0A3A8C 52%,#07070F 135%)}
#hero .hx-media{position:absolute;inset:0;z-index:-2;overflow:hidden}
#hero .hx-media video,#hero .hx-s{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background-size:cover;background-position:center;border:0!important;border-radius:0!important;box-shadow:none!important;max-width:none!important}
#hero .hx-s{opacity:0;transition:opacity 1.8s ease}
#hero .hx-s.on{opacity:1;animation:hxKen 16s ease-out both}
@keyframes hxKen{from{transform:scale(1.12)}to{transform:scale(1)}}
#hero .hx:not(.has-media) .hx-media::before{content:"";position:absolute;inset:-20%;opacity:.16;
  background:repeating-radial-gradient(circle at 70% 40%,transparent 0 22px,rgba(255,255,255,.55) 23px 24px),repeating-radial-gradient(circle at 15% 85%,transparent 0 30px,rgba(255,255,255,.35) 31px 32px);
  -webkit-mask-image:radial-gradient(60% 60% at 60% 45%,#000,transparent 75%);mask-image:radial-gradient(60% 60% at 60% 45%,#000,transparent 75%)}
#hero .hx-shade{position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:linear-gradient(180deg,rgba(5,44,109,.70) 0%,rgba(5,44,109,.30) 34%,rgba(5,44,109,.34) 60%,rgba(7,7,15,.82) 100%),radial-gradient(70% 60% at 50% 42%,rgba(5,44,109,.12),rgba(5,44,109,.45))}
#hero .hx:not(.has-media) .hx-shade{opacity:.45}
#hero .hx-in{position:relative;width:100%;max-width:1180px;margin:0 auto}
#hero .hx .hf-light{background:rgba(255,255,255,.12)!important;border:1px solid rgba(255,255,255,.30)!important;color:#fff!important;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);box-shadow:none!important}
#hero .hx .hf-h{color:#fff!important;-webkit-text-fill-color:#fff!important;text-shadow:0 2px 30px rgba(0,0,0,.28)}
#hero .hx .hf-h em{color:#FFCB05!important;-webkit-text-fill-color:#FFCB05!important}
#hero .hx .hf-p{color:rgba(255,255,255,.9)!important;text-shadow:0 1px 14px rgba(0,0,0,.3)}
main>#hero .hx .hf-cta a:first-child{background:#FFCB05!important;color:#052C6D!important;border:1.5px solid #FFCB05!important;box-shadow:0 14px 30px -14px rgba(255,203,5,.8)!important}
main>#hero .hx .hf-cta a:first-child i{background:#052C6D!important;color:#FFCB05!important}
main>#hero .hx .hf-cta a:not(:first-child){background:rgba(255,255,255,.12)!important;color:#fff!important;border:1.5px solid rgba(255,255,255,.45)!important;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
main>#hero .hx .hf-cta a:not(:first-child) i{background:#fff!important;color:#052C6D!important}
/* footprint: glass panel of five counters */
#hero .hx-fp{position:relative;display:block;width:100%;max-width:1180px;margin:clamp(36px,7vh,72px) auto 0;box-sizing:border-box;padding:18px clamp(16px,2.4vw,28px) 20px;border-radius:24px;
  background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.24);-webkit-backdrop-filter:blur(16px) saturate(1.2);backdrop-filter:blur(16px) saturate(1.2);
  color:#fff!important;text-decoration:none!important;text-align:left!important;box-shadow:0 30px 60px -34px rgba(0,0,0,.6);transition:background .2s,border-color .2s}
#hero .hx-fp:hover{background:rgba(255,255,255,.16);border-color:rgba(255,203,5,.7)}
#hero .hx-fp-h{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 14px;font:800 12px/1.2 "Plus Jakarta Sans","Manrope",system-ui,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:rgba(255,255,255,.82)}
#hero .hx-fp-h em{font-style:normal;letter-spacing:.02em;text-transform:none;font-size:13.5px;color:#FFCB05;white-space:nowrap}
#hero .hx-fp-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px 28px}
#hero .hx-t{display:flex;flex-direction:column;gap:6px;min-width:0}
#hero .hx-t b{font:800 clamp(26px,2.6vw,36px)/1 "Plus Jakarta Sans","Manrope",system-ui,sans-serif;letter-spacing:-.02em;color:#fff}
#hero .hx-t b small{font-size:.5em;font-weight:700;color:rgba(255,255,255,.65);margin-left:2px}
#hero .hx-t .l{font-size:13.5px;font-weight:600;color:rgba(255,255,255,.88)}
#hero .hx-t .l small{display:block;font-size:11.5px;font-weight:500;color:rgba(255,255,255,.6)}
#hero .hx-t .bar{display:block;height:4px;border-radius:4px;background:rgba(255,255,255,.18);overflow:hidden}
#hero .hx-t .bar s{display:block;height:100%;border-radius:4px;background:linear-gradient(90deg,#FFCB05,#FFE27A);text-decoration:none}
#hero .hx-t .bar.dot{background:repeating-linear-gradient(90deg,rgba(255,255,255,.3) 0 4px,transparent 4px 9px)}
#hero .hx-pp{position:absolute;right:clamp(14px,2vw,28px);bottom:clamp(14px,2vw,28px);width:40px;height:40px;border-radius:50%;border:1px solid rgba(255,255,255,.35);background:rgba(7,7,15,.35);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);cursor:pointer;display:grid;place-items:center;padding:0}
#hero .hx-pp i{width:12px;height:14px;border-left:4px solid #fff;border-right:4px solid #fff;box-sizing:border-box}
#hero .hx-pp.off i{width:0;height:0;border:0;border-left:13px solid #fff;border-top:8px solid transparent;border-bottom:8px solid transparent;margin-left:4px}
#hero .hx-pp[hidden]{display:none}
#hero.has-hx #hfStage{margin-top:clamp(36px,5vw,64px)!important}
@media (max-width:900px){#hero .hx-fp-row{grid-template-columns:repeat(2,minmax(0,1fr))}#hero .hx-t:last-child{grid-column:1/-1}#hero .hx-fp-h{flex-direction:column;align-items:flex-start;gap:6px}#hero .hx{min-height:auto}}
@media (prefers-reduced-motion:reduce){#hero .hx-s.on{animation:none}#hero .hx-s{transition:none}}

/* ---- 12c · My Domain — "My life at a glance" board ---- */
#dg{margin:28px 0 40px;padding:clamp(20px,3vw,36px);background:#fff;border:1px solid #DCE3EE;border-radius:24px;box-shadow:0 1px 2px rgba(5,44,109,.06),0 22px 44px -30px rgba(5,44,109,.4);color:#1B2A44}
#dg .dg-h h2{font:800 clamp(24px,2.4vw,32px)/1.15 "Plus Jakarta Sans","Manrope",system-ui,sans-serif!important;letter-spacing:-.02em;color:#052C6D!important;margin:0 0 6px!important}
#dg .dg-h p{margin:0 0 22px!important;color:#52617A!important;font-size:15px;line-height:1.55;max-width:70ch}
#dg .dg-me{display:inline-flex;align-items:center;gap:12px;padding:7px 20px 7px 7px;border-radius:999px;background:#052C6D;color:#fff;position:relative;z-index:1}
#dg .dg-me img{width:44px;height:44px;border-radius:50%;object-fit:cover;border:2px solid #FFCB05!important;box-shadow:none!important;padding:0}
#dg .dg-me b{display:block;font-size:16px;color:#fff}
#dg .dg-me small{display:block;font-size:12.5px;color:rgba(255,255,255,.78);margin-top:2px}
#dg .dg-lanes{list-style:none;margin:0 0 0 27px;padding:8px 0 0;border-left:2px solid #C9D6EA}
#dg .dg-lane{position:relative;display:grid;grid-template-columns:minmax(0,250px) minmax(0,1fr);gap:14px 24px;padding:20px 0 20px 30px;border-bottom:1px dashed #E3E9F3;align-items:start;--sc:#052C6D}
#dg .dg-lane:last-child{border-bottom:0}
#dg .dg-lane::before{content:"";position:absolute;left:-8px;top:31px;width:14px;height:14px;border-radius:50%;background:var(--sc);box-shadow:0 0 0 4px #fff,0 0 0 5px #C9D6EA}
#dg .dg-lane::after{content:"";position:absolute;left:8px;top:37px;width:16px;height:2px;background:#C9D6EA}
#dg .s1{--sc:#0966FF}#dg .s2{--sc:#0752CC}#dg .s3{--sc:#1F3F9A}#dg .s4{--sc:#3F5BD9}#dg .s5{--sc:#0966FF}#dg .s6{--sc:#052C6D}#dg .s7{--sc:#2F80FF}
#dg .dg-stage{display:flex;gap:12px;align-items:flex-start;position:sticky;top:110px}
#dg .dg-n{flex:none;width:32px;height:32px;border-radius:10px;background:var(--sc);color:#fff;display:grid;place-items:center;font:800 14px/1 "Plus Jakarta Sans",system-ui,sans-serif}
#dg .dg-stage b{display:block;color:#052C6D;font-size:16.5px;line-height:1.25;font-weight:800}
#dg .dg-stage small{display:block;color:#52617A;font-size:13px;line-height:1.45;margin-top:4px}
#dg .dg-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:12px;min-width:0}
#dg .dg-card{appearance:none;font:inherit;text-align:left;box-sizing:border-box;cursor:pointer;display:flex;gap:12px;align-items:flex-start;width:100%;min-width:0;padding:14px;border:1px solid #DCE3EE;border-radius:16px;background:#F8FAFD;color:inherit;transition:transform .16s,border-color .16s,background .16s,box-shadow .16s}
#dg .dg-card:hover,#dg .dg-card:focus-visible{border-color:#0966FF;background:#fff;transform:translateY(-2px);box-shadow:0 14px 26px -18px rgba(5,44,109,.5);outline:none}
#dg .dg-card.now{border-color:#FFCB05;background:#FFFBEA}
#dg .dg-logo{flex:none;width:46px;height:46px;border-radius:12px;background:#fff;border:1px solid #DCE3EE;display:grid;place-items:center;overflow:hidden}
#dg .dg-logo img{width:100%!important;height:100%!important;object-fit:contain;padding:5px;box-sizing:border-box;border:0!important;border-radius:0!important;box-shadow:none!important;background:none!important}
#dg .dg-logo.t{background:var(--sc);border:0;color:#fff;font:800 13px/1 "Plus Jakarta Sans",system-ui,sans-serif}
#dg .dg-tx{min-width:0;display:flex;flex-direction:column;gap:3px}
#dg .dg-tx b{color:#052C6D;font-size:14.5px;line-height:1.3;font-weight:800;overflow-wrap:anywhere}
#dg .dg-tx small{color:#52617A;font-size:12.5px;line-height:1.45}
#dg .dg-ppl{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:6px}
#dg .dg-av{display:inline-flex;align-items:center;padding-left:6px}
#dg .dg-av i{display:grid;place-items:center;width:26px;height:26px;margin-left:-6px;border-radius:50%;background:#EAF1FF;color:#052C6D;border:2px solid #fff;font:800 9.5px/1 "Plus Jakarta Sans",system-ui,sans-serif;font-style:normal;text-transform:uppercase}
#dg .dg-av i:nth-child(2n){background:#DCE8FF}#dg .dg-av i:nth-child(3n){background:#FFF3C4}
#dg .dg-av em{margin-left:6px;font-style:normal;font-size:12px;font-weight:700;color:#0966FF}
#dg .dg-sum{font-size:12px;color:#52617A;line-height:1.35}
#dg .dg-go{margin-top:20px;text-align:center}
#dg .dg-go a{display:inline-flex;align-items:center;gap:8px;padding:11px 20px;border-radius:999px;background:#052C6D;color:#fff!important;font-weight:800;font-size:14.5px;text-decoration:none!important}
@media (max-width:860px){#dg .dg-lane{grid-template-columns:minmax(0,1fr)}#dg .dg-stage{position:static}#dg .dg-cards{grid-template-columns:minmax(0,1fr)}}

/* ---- 12d · My Domain — the explorer in full screen ---- */
#universe .lh-views .dg-fsb{appearance:none;font:inherit;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:8px 16px;border-radius:999px;border:1.5px solid #052C6D;background:#052C6D;color:#fff;font-weight:800;font-size:14px}
#universe .lh-views .dg-fsb:hover{background:#0966FF;border-color:#0966FF}
#universe .dg-fsbar{display:none}
html.dg-lock,html.dg-lock body{overflow:hidden!important}
#universe.dg-fs{position:fixed!important;inset:0!important;z-index:10000!important;margin:0!important;width:100vw!important;max-width:none!important;height:100vh!important;height:100dvh!important;overflow:auto!important;box-sizing:border-box;padding:0 clamp(12px,2vw,28px) 24px!important;background:#F5F7FB!important;border-radius:0!important}
#universe.dg-fs .dg-fsbar{display:flex;position:sticky;top:0;z-index:20;align-items:center;justify-content:space-between;gap:12px;margin:0 calc(-1 * clamp(12px,2vw,28px)) 14px;padding:10px clamp(12px,2vw,28px);background:rgba(245,247,251,.94);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid #DCE3EE}
#universe.dg-fs .dg-fsbar b{color:#052C6D;font-size:16px;font-weight:800}
#universe.dg-fs .dg-fsbar :is(button,a){appearance:none;font:inherit;cursor:pointer;display:inline-flex;align-items:center;gap:6px;padding:9px 16px;border-radius:999px;font-weight:800;font-size:14px;text-decoration:none!important}
#universe.dg-fs .dg-x{background:#052C6D;color:#fff;border:0}
#universe.dg-fs .dg-home{background:#FFCB05;color:#052C6D!important;border:0}
#universe.dg-fs :is(#dg,.lh-head>div:first-child,.lh-meta,.lh-tip,.dg-fsb){display:none!important}
#universe.dg-fs .lh-head{margin:0 0 10px!important}
#universe.dg-fs .lu-view{height:calc(100dvh - 200px)!important;min-height:420px}
#universe.dg-fs #luSvg{width:100%!important;height:100%!important}
#universe.dg-fs .lh-stage,#universe.dg-fs .lh-cols{max-height:none}
#dg{max-width:1180px;margin-left:auto!important;margin-right:auto!important;box-sizing:border-box}
#universe.dg-fs #lhRail{display:none!important}
#universe.dg-fs .lu-view{height:calc(100dvh - 170px)!important}

/* =====================================================================================================
   Stage 13 (v12) — Home first screen like a travel film: the drone video fills the whole first view,
   the menu floats on it, the headline sits in the middle, and the footprint numbers are a dark band along the bottom.
   Darkness of the brand layer comes from Admin → Home background (--hx-o).
   ===================================================================================================== */
#hero .hx{min-height:100vh;min-height:100svh;justify-content:flex-start;padding-bottom:0!important;--hx-o:.40}
#hero .hx-in{flex:1 1 auto;display:flex;flex-direction:column;justify-content:center;padding:clamp(24px,5vh,64px) 0}
#hero .hx-shade{opacity:var(--hx-o)!important;
  background:linear-gradient(180deg,rgba(5,44,109,1) 0%,rgba(5,44,109,.55) 30%,rgba(5,44,109,.45) 62%,rgba(7,7,15,1) 100%)!important}
#hero .hx:not(.has-media) .hx-shade{opacity:.45!important}
#hero .hx .hf-h,#hero .hx .hf-p{text-shadow:0 2px 6px rgba(0,0,0,.35),0 4px 40px rgba(0,0,0,.35)!important}
#hero .hx .hf-light{background:rgba(7,7,15,.28)!important}
/* footprint = full-width dark band at the bottom of the first screen */
#hero .hx-fp{flex:none;max-width:none!important;width:auto!important;margin:0 calc(-1 * var(--h-g,24px)) 0!important;border-radius:0!important;border:0!important;border-top:1px solid rgba(255,255,255,.14)!important;
  padding:clamp(16px,2.4vh,26px) var(--h-g,24px)!important;background:rgba(7,7,15,.72)!important;-webkit-backdrop-filter:blur(14px) saturate(1.1);backdrop-filter:blur(14px) saturate(1.1);box-shadow:none!important}
#hero .hx-fp:hover{background:rgba(7,7,15,.80)!important}
#hero .hx-fp-h,#hero .hx-fp-row{max-width:1180px;margin-left:auto;margin-right:auto}
#hero .hx-fp-row{gap:0!important}
#hero .hx-t{padding:4px clamp(12px,2vw,28px);border-left:1px solid rgba(255,255,255,.14)}
#hero .hx-t:first-child{border-left:0;padding-left:0}
#hero .hx-t b{color:#FFCB05!important}
#hero .hx-t b small{color:rgba(255,255,255,.6)!important}
/* caption of the clip / photo now playing */
#hero .hx-cap{position:absolute;left:var(--h-g,24px);bottom:calc(100% - 100%);margin:0;display:none}
#hero .hx>.hx-cap:not([hidden]){display:inline-flex;align-items:center;gap:8px;position:relative;left:auto;bottom:auto;align-self:flex-start;max-width:min(560px,70%);
  margin:0 0 14px max(0px,calc((100% - 1180px) / 2));padding:7px 14px 7px 10px;border-radius:999px;background:rgba(7,7,15,.40);border:1px solid rgba(255,255,255,.22);
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:rgba(255,255,255,.92);font:600 12.5px/1.3 "Plus Jakarta Sans","Manrope",system-ui,sans-serif;order:1}
#hero .hx>.hx-cap i{width:8px;height:8px;border-radius:50%;background:#FFCB05;box-shadow:0 0 0 3px rgba(255,203,5,.28);flex:none}
#hero .hx>.hx-cap span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#hero .hx-in{order:0}#hero .hx-fp{order:2}
#hero .hx-pp{bottom:auto!important;top:calc(var(--hdrh,84px) + 16px)}
@media (max-width:900px){
  #hero .hx-t{border-left:0;padding:6px 0;border-top:1px solid rgba(255,255,255,.10)}
  #hero .hx-fp-row{gap:0 20px!important}
  #hero .hx-t:nth-child(-n+2){border-top:0}
  #hero .hx{min-height:100svh}
  #hero .hx>.hx-cap:not([hidden]){max-width:calc(100% - 8px)}
}
/* =====================================================================================================
   Stage 14 (v13) — Autobiography "The next chapter": one clear roadmap — done → running now → upcoming
   (the four steps were squeezed into one third of the width, 71 px each)
   ===================================================================================================== */
#atNext .nx-list{display:block!important;margin-top:clamp(24px,3vw,40px)}
#atNext .nx-road{position:relative;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:20px!important;padding:40px 0 0!important;align-items:stretch!important}
#atNext .nx-road::before{content:"";position:absolute;left:22px;right:22px;top:13px;height:4px;border-radius:4px;
  background:linear-gradient(90deg,#052C6D 0%,#0966FF 34%,#FFCB05 40%,#FFCB05 46%,rgba(9,102,255,.25) 54%,rgba(9,102,255,.25) 100%)}
#atNext .nx-it{position:relative;min-width:0;width:auto!important;height:auto!important;margin:0!important;padding:22px 22px 20px!important;display:flex!important;flex-direction:column;gap:10px!important;
  background:#fff!important;border:1px solid #DCE3EE!important;border-radius:20px!important;box-shadow:0 1px 2px rgba(5,44,109,.06),0 18px 38px -28px rgba(5,44,109,.45)!important;color:#1B2A44!important;overflow:visible!important}
#atNext .nx-it::before{content:"";position:absolute;left:22px;top:-36px;width:22px;height:22px;border-radius:50%;box-sizing:border-box;background:#fff;border:3px solid #0966FF;box-shadow:0 0 0 5px #F5F5F5}
#atNext .nx-it.done::before{background:#052C6D;border-color:#052C6D}
#atNext .nx-it.done::after{content:"✓";position:absolute;left:28px;top:-34px;color:#fff;font:800 12px/18px system-ui}
#atNext .nx-it.now::before{background:#FFCB05;border-color:#052C6D;animation:nxPulse 2.2s ease-out infinite}
#atNext .nx-it.pend::before{border-style:dashed;border-color:#7AA5FF}
@keyframes nxPulse{0%{box-shadow:0 0 0 5px #F5F5F5,0 0 0 5px rgba(255,203,5,.55)}70%{box-shadow:0 0 0 5px #F5F5F5,0 0 0 16px rgba(255,203,5,0)}100%{box-shadow:0 0 0 5px #F5F5F5,0 0 0 16px rgba(255,203,5,0)}}
#atNext .nx-it.now{border-color:#FFCB05!important;background:linear-gradient(180deg,#FFFBEA,#fff 60%)!important;box-shadow:0 0 0 1px #FFCB05,0 24px 44px -28px rgba(5,44,109,.55)!important}
#atNext .nx-it.pend{background:linear-gradient(180deg,#F5F8FF,#fff 55%)!important}
#atNext .nx-it>:is(.sc-done,.sc-running,.sc-pending){align-self:flex-start;display:inline-flex;align-items:center;gap:6px;padding:5px 12px!important;border-radius:999px!important;font:800 11px/1.2 "Plus Jakarta Sans","Manrope",system-ui,sans-serif!important;letter-spacing:.08em;text-transform:uppercase;border:1px solid transparent!important}
#atNext .nx-it>.sc-done{background:#052C6D!important;color:#fff!important}
#atNext .nx-it>.sc-running{background:#FFCB05!important;color:#052C6D!important}
#atNext .nx-it>.sc-pending{background:#fff!important;color:#0966FF!important;border:1px dashed #7AA5FF!important}
#atNext .nx-it>:is(.sc-done,.sc-running,.sc-pending)::before{display:none!important}
#atNext .nx-it .y{margin:2px 0 0!important;font:800 clamp(24px,2.2vw,30px)/1 "Plus Jakarta Sans","Manrope",system-ui,sans-serif!important;letter-spacing:-.02em;color:#052C6D!important}
#atNext .nx-it h4{margin:0!important;font:800 17px/1.3 "Plus Jakarta Sans","Manrope",system-ui,sans-serif!important;color:#052C6D!important;overflow-wrap:break-word;width:auto!important;height:auto!important}
#atNext .nx-it>p:not(.y){margin:0!important;font-size:14.5px!important;line-height:1.6!important;color:#52617A!important;overflow-wrap:break-word}
#atNext .nx-it img{display:block;width:100%!important;height:auto!important;aspect-ratio:16/9;object-fit:cover;border-radius:14px!important;margin:4px 0 0}
#atNext .nx-it .vtag{margin-top:auto!important;align-self:flex-start;display:inline-flex;align-items:center;gap:6px;padding:6px 12px!important;border-radius:999px!important;font-weight:700;font-size:12.5px!important;
  background:#EEF3FB!important;color:#052C6D!important;border:1px solid #DCE3EE!important}
#atNext .nx-it .vtag *{color:inherit!important}
#atNext .nx-it.now .vtag{background:#052C6D!important;color:#fff!important;border-color:#052C6D!important}
#atNext .nx-it.done .vtag{background:#fff!important}
@media (max-width:1060px){#atNext .nx-road{grid-template-columns:repeat(2,minmax(0,1fr))!important}#atNext .nx-road::before{display:none}#atNext .nx-it::before,#atNext .nx-it::after{display:none}#atNext .nx-road{padding-top:0!important}}
@media (max-width:620px){#atNext .nx-road{grid-template-columns:minmax(0,1fr)!important}}
@media (prefers-reduced-motion:reduce){#atNext .nx-it.now::before{animation:none}}
#hero .hx-media video{transition:opacity 1.2s ease}
#hero .hx-media video.hx-off{opacity:0}
#hero .hx-media .hx-s{z-index:1}

/* =====================================================================================================
   Stage 15 (v14) — Home: film-like first screen with no gap at the top, drone-style motion on photos,
   and a frosted-glass page (the sections float on a soft, blurred copy of the first scene)
   ===================================================================================================== */
/* drone moves for photos (chosen in turn by home-hero.js): pull-out, push-in, glide left, glide right */
@keyframes hxK0{from{transform:scale(1.22) translate3d(-1.5%,-1%,0)}to{transform:scale(1.04) translate3d(1%,1%,0)}}
@keyframes hxK1{from{transform:scale(1.03) translate3d(0,0,0)}to{transform:scale(1.2) translate3d(-1.5%,1.2%,0)}}
@keyframes hxK2{from{transform:scale(1.14) translate3d(3%,.5%,0)}to{transform:scale(1.14) translate3d(-3%,-.5%,0)}}
@keyframes hxK3{from{transform:scale(1.14) translate3d(-3%,-.5%,0)}to{transform:scale(1.18) translate3d(3%,.5%,0)}}
@keyframes hxVid{from{transform:scale(1)}to{transform:scale(1.06)}}
#hero .hx-s{will-change:transform,opacity;transition:opacity 1.6s ease!important;transform-origin:center}
#hero .hx-media video{animation:hxVid 28s ease-in-out infinite alternate;transform-origin:center}
@media (prefers-reduced-motion:reduce){#hero .hx-s,#hero .hx-media video{animation:none!important}}

/* hero glass, a touch lighter and cleaner */
#hero .hx .hf-light{background:rgba(255,255,255,.14)!important;border:1px solid rgba(255,255,255,.34)!important;-webkit-backdrop-filter:blur(14px) saturate(1.4);backdrop-filter:blur(14px) saturate(1.4)}
main>#hero .hx .hf-cta a:not(:first-child){background:rgba(255,255,255,.14)!important;border:1px solid rgba(255,255,255,.42)!important;-webkit-backdrop-filter:blur(14px) saturate(1.4);backdrop-filter:blur(14px) saturate(1.4)}
#hero .hx-fp{background:linear-gradient(180deg,rgba(7,7,15,.42),rgba(7,7,15,.66))!important;-webkit-backdrop-filter:blur(20px) saturate(1.4)!important;backdrop-filter:blur(20px) saturate(1.4)!important;border-top:1px solid rgba(255,255,255,.18)!important}
#hero .hx>.hx-cap:not([hidden]){background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.28);-webkit-backdrop-filter:blur(14px) saturate(1.4);backdrop-filter:blur(14px) saturate(1.4)}
#hero .hx-pp{background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.4);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}

/* the frosted page behind the sections */
html.hx-page{background:#EEF2F8}
html.hx-page body{background:transparent!important}
.hx-bd{position:fixed;inset:-60px;z-index:-1;pointer-events:none;background:#E6ECF5 center/cover no-repeat;filter:blur(46px) saturate(1.7) brightness(1.08);opacity:.5;transform:translateZ(0)}
.hx-bd::after{content:"";position:absolute;inset:0;background:radial-gradient(55% 45% at 12% 18%,rgba(9,102,255,.16),transparent 70%),radial-gradient(45% 40% at 88% 72%,rgba(255,203,5,.12),transparent 70%),linear-gradient(180deg,rgba(240,245,255,.45),rgba(245,248,253,.78))}
html.hx-page{background:#F1F5FC}
html.hx-page main>#work,html.hx-page main>#hfAtlas{background:rgba(255,255,255,.34)!important;box-shadow:0 0 0 100vmax rgba(255,255,255,.34)!important}

/* glass cards on the Home page */
html.hx-page main :is(.hf-feat a,#who .h12-proof,.h12-pubs,.h12-box,.h12-big,.h12-photo,.jr,.contact,.hfa-map,#contact .social a){
  background:rgba(255,255,255,.62)!important;border:1px solid rgba(255,255,255,.78)!important;
  -webkit-backdrop-filter:blur(18px) saturate(1.45);backdrop-filter:blur(18px) saturate(1.45);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 1px 2px rgba(5,44,109,.05),0 22px 44px -30px rgba(5,44,109,.42)!important}
html.hx-page main :is(.hf-feat a,.h12-box,.h12-big,.h12-photo,.jr):hover{background:rgba(255,255,255,.82)!important;border-color:rgba(9,102,255,.45)!important}
html.hx-page main #contact .social a{background:rgba(255,255,255,.55)!important}
html.hx-page main .h12-pubs .fc-f{box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 18px 34px -24px rgba(5,44,109,.6)!important}
html.hx-page main #who .h12-cards .fc-f{border:1px solid rgba(255,255,255,.22)}

/* =====================================================================================================
   Stage 16 (v15) — My Domain: one animated network (me → stages → institutions → people) + the same as a list
   ===================================================================================================== */
html.dn-on #universe :is(#dg,.lh-views,.lh-jump,#lhRail,#lhCtl,#lhCrumb,.lh-stage,#lu,.lh-tip,.dg-fsbar),
html.dn-on :is(#institutions,#together,#domains,.lu-src){display:none!important}
#dn{--k:#052C6D;max-width:1180px;margin:24px auto 56px;box-sizing:border-box;color:#1B2A44}
#dn .s0{--k:#052C6D}#dn .s1{--k:#0966FF}#dn .s2{--k:#0752CC}#dn .s3{--k:#1F3F9A}#dn .s4{--k:#3F5BD9}#dn .s5{--k:#2F80FF}#dn .s6{--k:#0A3A8C}#dn .s7{--k:#E0AC00}
#dn .dn-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 14px}
#dn .dn-chips{display:flex;flex-wrap:wrap;gap:8px}
#dn .dn-chips button,#dn .dn-act button{appearance:none;font:700 13px/1 "Plus Jakarta Sans","Manrope",system-ui,sans-serif;cursor:pointer;display:inline-flex;align-items:center;gap:7px;padding:9px 14px;border-radius:999px;
  border:1px solid #DCE3EE;background:rgba(255,255,255,.75);color:#052C6D;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);transition:background .15s,border-color .15s,color .15s}
#dn .dn-chips button i{width:9px;height:9px;border-radius:50%;background:var(--k)}
#dn .dn-chips button:hover{border-color:#0966FF}
#dn .dn-chips button.on{background:#052C6D;border-color:#052C6D;color:#fff}
#dn .dn-act{display:flex;gap:8px}
#dn .dn-act .dn-fsb{background:#052C6D;color:#fff;border-color:#052C6D}
#dn .dn-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,340px);gap:20px;align-items:start}
#dn .dn-map{position:relative;border-radius:28px;overflow:hidden;border:1px solid rgba(255,255,255,.8);
  background:radial-gradient(60% 60% at 50% 50%,#FFFFFF 0%,#F3F7FE 55%,#E9F0FB 100%);box-shadow:inset 0 1px 0 #fff,0 30px 60px -40px rgba(5,44,109,.5)}
#dn .dn-map svg{display:block;width:100%;height:auto;aspect-ratio:1/1;max-height:min(86vh,900px);margin:0 auto;font-family:"Plus Jakarta Sans","Manrope",system-ui,sans-serif;cursor:default}
#dn .dn-ring{fill:none;stroke:#C9D6EA;stroke-width:1;stroke-dasharray:2 6}
#dn .dn-sec{fill:var(--k);opacity:.045;transition:opacity .25s}
#dn .dn-sec.sel,#dn .dn-sec.on{opacity:.11}
#dn .dn-ln{fill:none;stroke:var(--k);stroke-linecap:round;stroke-dasharray:1;stroke-dashoffset:1;transition:opacity .2s}
#dn .dn-ln.l1{stroke-width:3;opacity:.75}
#dn .dn-ln.l2{stroke-width:1.8;opacity:.55}
#dn .dn-ln.l2.now{stroke:#FFCB05;opacity:.95;stroke-width:2.4}
#dn .dn-ln.l3{stroke-width:.7;opacity:.22}
#dn.play .dn-ln{animation:dnDraw 1s cubic-bezier(.2,.7,.2,1) var(--d,0ms) forwards}
#dn.play .dn-ln.l1,#dn.play .dn-ln.l2{animation:dnDraw 1s cubic-bezier(.2,.7,.2,1) var(--d,0ms) forwards,dnFlow 7s linear calc(var(--d,0ms) + 1.1s) infinite}
@keyframes dnDraw{to{stroke-dashoffset:0}}
@keyframes dnFlow{from{stroke-dasharray:.014 .016;stroke-dashoffset:0}to{stroke-dasharray:.014 .016;stroke-dashoffset:-.3}}
#dn :is(.dn-s,.dn-i,.dn-p,.dn-me){opacity:0;transition:opacity .2s}
#dn.play :is(.dn-s,.dn-i,.dn-p){animation:dnIn .6s ease var(--d,0ms) forwards}
#dn.play .dn-me{animation:dnIn .6s ease forwards}
@keyframes dnIn{to{opacity:1}}
#dn .dn-me-ring{fill:none;stroke:#FFCB05;stroke-width:3;stroke-dasharray:6 6;animation:dnSpin 30s linear infinite;transform-origin:0 0}
@keyframes dnSpin{to{transform:rotate(360deg)}}
#dn .dn-me-bg{fill:#052C6D}
#dn .dn-mt{font-size:17px;font-weight:800;fill:#052C6D;paint-order:stroke;stroke:#fff;stroke-width:5px}
#dn .dn-s{cursor:pointer;outline:none}
#dn .dn-s circle{fill:var(--k);stroke:#fff;stroke-width:3}
#dn .dn-s .halo{fill:var(--k);opacity:.14;stroke:none;transform-box:fill-box;transform-origin:center;animation:dnPulse 3.2s ease-in-out infinite}
@keyframes dnPulse{50%{transform:scale(1.25);opacity:.05}}
#dn .dn-sn{font-size:16px;font-weight:800;fill:#fff}
#dn .s7 .dn-sn{fill:#052C6D}
#dn .dn-st{font-size:15px;font-weight:800;fill:#052C6D;paint-order:stroke;stroke:rgba(255,255,255,.95);stroke-width:5px;stroke-linejoin:round}
#dn .dn-i{cursor:pointer;outline:none}
#dn .dn-i circle{fill:#fff;stroke:var(--k);stroke-width:2.6}
#dn .dn-i.now circle{fill:#FFCB05;stroke:#052C6D}
#dn .dn-i.grp circle{fill:var(--k);stroke:#fff}
#dn .dn-i.grp .dn-ini{fill:#fff}
#dn .dn-ini{font-size:8.5px;font-weight:800;fill:#052C6D}
#dn .dn-it{font-size:12.5px;font-weight:700;fill:#1B2A44;paint-order:stroke;stroke:rgba(255,255,255,.95);stroke-width:4px;stroke-linejoin:round}
#dn .dn-p{cursor:pointer}
#dn .dn-p circle{stroke:#fff;stroke-width:1.4;fill:#0966FF}
#dn .dn-p.rk-family circle{fill:#FFCB05}#dn .dn-p.rk-teach circle{fill:#052C6D}#dn .dn-p.rk-class circle{fill:#0966FF}
#dn .dn-p.rk-work circle{fill:#5B7CFA}#dn .dn-p.rk-mentor circle{fill:#E0AC00}#dn .dn-p.rk-friend circle{fill:#7AA5FF}
#dn .dn-p.gone circle{stroke:#9AA7BD;stroke-dasharray:2 1.5}
#dn .dn-pt{font-size:8.5px;font-weight:600;fill:#1B2A44;opacity:0;pointer-events:none;paint-order:stroke;stroke:rgba(255,255,255,.95);stroke-width:3px}
#dn.focused .dn-p.insel .dn-pt{opacity:1}
#dn.focused .dn-p:not(.insel),#dn.focused .dn-i:not(.insel){opacity:.18!important}
#dn svg.hl :is(.dn-ln,.dn-p,.dn-i,.dn-s):not(.on){opacity:.10!important}
#dn svg.hl .dn-ln.on{opacity:.95}
#dn svg.hl .dn-p.on .dn-pt{opacity:1}
#dn .dn-tip{position:absolute;z-index:5;max-width:240px;pointer-events:none;padding:10px 12px;border-radius:14px;background:rgba(5,44,109,.94);color:#fff;font-size:12.5px;line-height:1.4;box-shadow:0 16px 30px -14px rgba(5,44,109,.7)}
#dn .dn-tip b{display:block;font-size:13.5px}#dn .dn-tip span{display:block;color:rgba(255,255,255,.82)}
#dn .dn-hint{position:absolute;left:16px;bottom:12px;right:16px;margin:0;font-size:12.5px;color:#52617A;text-align:center;pointer-events:none}
/* side panel */
#dn .dn-side{position:sticky;top:110px;max-height:calc(100vh - 130px);overflow:auto;padding:20px;border-radius:24px;background:rgba(255,255,255,.72);border:1px solid rgba(255,255,255,.85);
  -webkit-backdrop-filter:blur(18px) saturate(1.4);backdrop-filter:blur(18px) saturate(1.4);box-shadow:inset 0 1px 0 #fff,0 24px 48px -32px rgba(5,44,109,.45);box-sizing:border-box}
#dn .dn-k{margin:0 0 4px;font:800 11.5px/1.2 "Plus Jakarta Sans",system-ui,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:#0966FF}
#dn .dn-side h3{margin:0 0 12px;font:800 19px/1.3 "Plus Jakarta Sans",system-ui,sans-serif;color:#052C6D}
#dn .dn-sum{margin:-4px 0 12px;color:#52617A;font-size:13px}
#dn .dn-up{appearance:none;border:0;background:none;color:#0966FF;font-weight:800;font-size:13px;padding:0;margin:0 0 10px;cursor:pointer}
#dn .dn-ov{list-style:none;margin:0;padding:0;display:grid;gap:6px}
#dn .dn-ov button{appearance:none;font:inherit;text-align:left;width:100%;cursor:pointer;display:grid;grid-template-columns:28px minmax(0,1fr);gap:0 10px;align-items:center;padding:9px 10px;border-radius:14px;border:1px solid #E3E9F3;background:#fff;color:#1B2A44}
#dn .dn-ov button:hover{border-color:var(--k)}
#dn .dn-ov button span{grid-row:span 2;width:28px;height:28px;border-radius:9px;background:var(--k);color:#fff;display:grid;place-items:center;font-weight:800;font-size:13px}
#dn .dn-ov .s7 span{color:#052C6D}
#dn .dn-ov b{font-size:13.5px;color:#052C6D;line-height:1.25}#dn .dn-ov small{font-size:11.5px;color:#52617A}
#dn .dn-legend{display:flex;flex-wrap:wrap;gap:6px 12px;margin-top:14px;font-size:11.5px;color:#52617A}
#dn .dn-legend span::before{content:"";display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:5px;vertical-align:-1px;background:#0966FF}
#dn .dn-legend .rk-family::before,#dn .dn-rel i.rk-family{--c:#FFCB05}#dn .dn-legend .rk-family::before{background:#FFCB05}
#dn .dn-legend .rk-teach::before{background:#052C6D}#dn .dn-legend .rk-class::before{background:#0966FF}#dn .dn-legend .rk-work::before{background:#5B7CFA}#dn .dn-legend .rk-mentor::before{background:#E0AC00}#dn .dn-legend .rk-friend::before{background:#7AA5FF}
/* sub-category cards (panel + list) */
#dn .dn-sub{border:1px solid #E3E9F3;border-radius:16px;background:#fff;padding:12px;margin:0 0 10px}
#dn .dn-sub.now{border-color:#FFCB05;background:#FFFBEA}
#dn .dn-sub-h{display:flex;gap:10px;align-items:center;margin:0 0 6px}
#dn .dn-sub-h b{display:block;font-size:14px;color:#052C6D;line-height:1.3}#dn .dn-sub-h small{display:block;font-size:12px;color:#52617A;line-height:1.4}
#dn .dn-logo{flex:none;width:40px;height:40px;border-radius:11px;background:#fff;border:1px solid #DCE3EE;display:grid;place-items:center;overflow:hidden;font:800 12px/1 system-ui;color:#fff}
#dn .dn-logo.t{background:var(--k);border:0}
#dn .dn-logo img{width:100%!important;height:100%!important;object-fit:contain;padding:4px;box-sizing:border-box;border:0!important;border-radius:0!important;box-shadow:none!important}
#dn .dn-rel{margin:8px 0 0}
#dn .dn-rel>span{display:block;font:800 11px/1.2 system-ui;letter-spacing:.08em;text-transform:uppercase;color:#52617A;margin:0 0 5px}
#dn .dn-rel>span em{font-style:normal;color:#0966FF}
#dn .dn-rel p{margin:0;display:flex;flex-wrap:wrap;gap:5px}
#dn .dn-rel i{font-style:normal;font-size:12px;font-weight:600;padding:4px 9px;border-radius:999px;background:#F1F5FB;color:#1B2A44;border-left:3px solid #0966FF}
#dn .dn-rel i.rk-family{border-color:#FFCB05}#dn .dn-rel i.rk-teach{border-color:#052C6D}#dn .dn-rel i.rk-work{border-color:#5B7CFA}#dn .dn-rel i.rk-mentor{border-color:#E0AC00}#dn .dn-rel i.rk-friend{border-color:#7AA5FF}
/* the list under the map */
#dn .dn-list{margin-top:36px}
#dn .dn-list h2{margin:0 0 14px!important;font:800 clamp(22px,2.2vw,28px)/1.2 "Plus Jakarta Sans",system-ui,sans-serif!important;color:#052C6D!important}
#dn .dn-cat{margin:0 0 10px;border-radius:20px;background:rgba(255,255,255,.72);border:1px solid rgba(255,255,255,.85);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:0 18px 36px -30px rgba(5,44,109,.45);overflow:hidden}
#dn .dn-cat summary{list-style:none;cursor:pointer;display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:12px;align-items:center;padding:14px 18px}
#dn .dn-cat summary::-webkit-details-marker{display:none}
#dn .dn-cat summary .n{width:34px;height:34px;border-radius:11px;background:var(--k);color:#fff;display:grid;place-items:center;font-weight:800}
#dn .dn-cat.s7 summary .n{color:#052C6D}
#dn .dn-cat summary b{font-size:16px;color:#052C6D}#dn .dn-cat summary small{color:#52617A;font-size:12.5px}
#dn .dn-cat summary::after{content:"+";grid-column:3;font-weight:800;color:#0966FF;font-size:18px}
#dn .dn-cat[open] summary::after{content:"–"}
#dn .dn-subs{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:10px;padding:0 18px 18px}
#dn .dn-subs .dn-sub{margin:0}
/* full screen */
#dn .dn-fsbar{display:none}
#dn.fs{position:fixed;inset:0;z-index:10000;margin:0;max-width:none;overflow:auto;padding:0 clamp(12px,2vw,28px) 24px;background:#F1F5FC}
#dn.fs .dn-fsbar{display:flex;position:sticky;top:0;z-index:6;align-items:center;justify-content:space-between;padding:10px 0;margin:0 0 10px;background:rgba(241,245,252,.94);border-bottom:1px solid #DCE3EE}
#dn.fs .dn-fsbar b{color:#052C6D;font-size:16px}
#dn.fs .dn-fsbar :is(button,a){appearance:none;font:800 14px inherit;font-family:inherit;cursor:pointer;padding:9px 16px;border-radius:999px;border:0;text-decoration:none!important}
#dn.fs .dn-x{background:#052C6D;color:#fff}#dn.fs .dn-home{background:#FFCB05;color:#052C6D!important}
#dn.fs .dn-list,#dn.fs .dn-fsb{display:none}
#dn.fs .dn-map svg{max-height:calc(100vh - 150px)}
@media (max-width:980px){#dn .dn-body{grid-template-columns:minmax(0,1fr)}#dn .dn-side{position:static;max-height:none}}
@media (max-width:620px){#dn .dn-it{font-size:15px}#dn .dn-st{font-size:19px}#dn .dn-hint{position:static;padding:8px 12px 12px}#dn .dn-subs{grid-template-columns:minmax(0,1fr)}}
@media (prefers-reduced-motion:reduce){#dn *{animation:none!important}#dn .dn-ln{stroke-dashoffset:0}#dn :is(.dn-s,.dn-i,.dn-p,.dn-me){opacity:1}}

/* =====================================================================================================
   Stage 17 (v15) — smooth video: nothing on top of the moving picture is live-blurred (that forced the browser
   to re-blur every frame and made the film stutter), no zoom on the video itself, clips cross-fade on two layers
   ===================================================================================================== */
#hero .hx-media video{opacity:0;transition:opacity .9s ease;animation:none!important;transform:translateZ(0);backface-visibility:hidden}
#hero .hx-media video.on{opacity:1}
#hero .hx-media video.hx-off{opacity:0}
#hero .hx :is(.hf-light,.hx-fp,.hx-cap,.hx-pp),main>#hero .hx .hf-cta a{-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
#hero .hx .hf-light{background:rgba(7,7,15,.34)!important;border-color:rgba(255,255,255,.30)!important}
main>#hero .hx .hf-cta a:not(:first-child){background:rgba(7,7,15,.30)!important;border-color:rgba(255,255,255,.5)!important}
#hero .hx-fp{background:linear-gradient(180deg,rgba(7,7,15,.55),rgba(7,7,15,.80))!important}
#hero .hx>.hx-cap:not([hidden]){background:rgba(7,7,15,.42)!important}
#hero .hx-pp{background:rgba(7,7,15,.42)!important}
#hero .hx-s{backface-visibility:hidden}
.hx-bd{will-change:transform}

/* =====================================================================================================
   Stage 18 (v16) — My Domain: Network ⇄ Classic switch, glass page · My Photography: 2 / 3 columns, glass, "Map" on every photo
   ===================================================================================================== */
/* soft brand backdrop so the glass reads (My Domain + My Photography) */
html.dn-page,html:has(#lx.lx){background:radial-gradient(60% 45% at 8% 10%,rgba(9,102,255,.10),transparent 70%),radial-gradient(45% 40% at 92% 30%,rgba(255,203,5,.10),transparent 70%),linear-gradient(180deg,#F3F6FC,#EEF2F9) fixed}
html.dn-page body,html:has(#lx.lx) body{background:transparent!important}
/* view switch */
.dn-switch{display:flex;width:max-content;max-width:100%;margin:22px auto 6px;padding:5px;gap:4px;border-radius:999px;background:rgba(255,255,255,.65);border:1px solid rgba(255,255,255,.85);
  -webkit-backdrop-filter:blur(16px) saturate(1.4);backdrop-filter:blur(16px) saturate(1.4);box-shadow:inset 0 1px 0 #fff,0 14px 30px -20px rgba(5,44,109,.45)}
.dn-switch button{appearance:none;border:0;cursor:pointer;display:inline-flex;align-items:center;gap:8px;padding:11px 22px;border-radius:999px;background:transparent;color:#052C6D;font:800 14.5px/1 "Plus Jakarta Sans","Manrope",system-ui,sans-serif;transition:background .2s,color .2s}
.dn-switch button span{font-size:16px}
.dn-switch button.on{background:#052C6D;color:#fff;box-shadow:0 10px 22px -12px rgba(5,44,109,.8)}
.dn-switch button:not(.on):hover{background:rgba(9,102,255,.08)}
html.dn-classic #dn{display:none!important}
/* classic view: the previous page, in glass */
html.dn-classic #universe :is(.lh-views,#lhCtl,.lh-cols .lh-col,.lu-uni,.lt-st),html.dn-classic :is(#institutions .lu-ic,#together .lu-tg>*,#domains .lu-sec-in,#domains>div){
  background:rgba(255,255,255,.66)!important;border:1px solid rgba(255,255,255,.85)!important;-webkit-backdrop-filter:blur(16px) saturate(1.35);backdrop-filter:blur(16px) saturate(1.35);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 18px 36px -28px rgba(5,44,109,.4)!important;border-radius:20px!important}
html.dn-classic #lhRail button{background:rgba(255,255,255,.7)!important;border:1px solid rgba(255,255,255,.85)!important;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
html.dn-classic #lhRail button.on,html.dn-classic #lhRail .lh-me{background:#052C6D!important;color:#fff!important}
html.dn-classic :is(#institutions,#together,#domains){max-width:1180px;margin-left:auto!important;margin-right:auto!important}

/* My Photography */
#lx .lx-bar{background:rgba(255,255,255,.66)!important;border:1px solid rgba(255,255,255,.85)!important;-webkit-backdrop-filter:blur(16px) saturate(1.4)!important;backdrop-filter:blur(16px) saturate(1.4)!important;border-radius:20px!important;box-shadow:inset 0 1px 0 #fff,0 16px 34px -26px rgba(5,44,109,.45)!important}
#lx .lx-row{display:flex!important;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
#lx .lx-tools{display:flex!important;width:auto!important;height:auto!important}
#lx .lx-cols{display:inline-flex;gap:4px;padding:4px;border-radius:999px;background:rgba(5,44,109,.06)}
#lx .lx-cols button{appearance:none;border:0;cursor:pointer;display:inline-flex;gap:3px;align-items:stretch;height:30px;padding:7px 10px;border-radius:999px;background:transparent}
#lx .lx-cols button i{display:block;width:7px;border-radius:2px;background:#9DB8E6}
#lx .lx-cols button.on{background:#052C6D}#lx .lx-cols button.on i{background:#fff}
#lx .lx-grid:is(.cols-2,.cols-3){grid-auto-rows:auto!important;grid-auto-flow:row!important;gap:clamp(12px,1.6vw,22px)!important}
#lx .lx-grid.cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}
#lx .lx-grid.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}
#lx .lx-grid:is(.cols-2,.cols-3) .lx-it{grid-column:auto!important;grid-row:auto!important;aspect-ratio:3/2;height:auto!important;border-radius:22px!important;background:#DDE6F3;
  box-shadow:0 0 0 1px rgba(255,255,255,.8),0 22px 40px -28px rgba(5,44,109,.6)!important;transition:transform .35s cubic-bezier(.2,.7,.2,1),box-shadow .35s}
#lx .lx-grid.cols-2 .lx-it{aspect-ratio:16/10}
#lx .lx-grid .lx-it:hover{transform:translateY(-4px);box-shadow:0 0 0 2px rgba(255,203,5,.9),0 30px 50px -28px rgba(5,44,109,.7)!important}
#lx .lx-grid .lx-it img{border:0!important;border-radius:0!important;box-shadow:none!important}
#lx .lx-grid .lx-it::after{content:"";position:absolute;inset:auto 0 0;height:55%;background:linear-gradient(180deg,transparent,rgba(7,7,15,.62));pointer-events:none}
#lx .lx-grid .lx-it .cd{z-index:2;opacity:1!important;transform:none!important;left:14px;right:14px;bottom:14px;padding:10px 14px!important;border-radius:14px!important;
  background:rgba(255,255,255,.14)!important;border:1px solid rgba(255,255,255,.28)!important;-webkit-backdrop-filter:blur(14px) saturate(1.4);backdrop-filter:blur(14px) saturate(1.4);color:#fff!important;box-shadow:none!important}
#lx .lx-grid .lx-it .cd b{color:#fff!important;font:700 15px/1.25 "Plus Jakarta Sans","Manrope",system-ui,sans-serif!important}
#lx .lx-grid .lx-it .cd small{display:block!important;color:rgba(255,255,255,.85)!important;font-size:12px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#lx .lx-grid .lx-it .dv{z-index:2;background:rgba(255,255,255,.9)!important}
#lx .lx-go{position:absolute;z-index:3;top:12px;right:12px;display:inline-flex;align-items:center;gap:5px;padding:7px 12px;border-radius:999px;font:800 12px/1 "Plus Jakarta Sans",system-ui,sans-serif;
  color:#fff;background:rgba(7,7,15,.35);border:1px solid rgba(255,255,255,.4);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);cursor:pointer;transition:background .2s,color .2s}
#lx .lx-go:hover{background:#FFCB05;color:#052C6D;border-color:#FFCB05}
#lx .lx-explore{border-radius:26px;padding:10px;background:rgba(255,255,255,.55);border:1px solid rgba(255,255,255,.85);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:0 26px 50px -36px rgba(5,44,109,.5)}
#lx .lx-mapwrap{border-radius:20px!important}
@media (max-width:620px){#lx .lx-grid.cols-3{grid-template-columns:repeat(2,minmax(0,1fr))!important}#lx .lx-grid.cols-2{grid-template-columns:minmax(0,1fr)!important}#lx .lx-grid.cols-3 .lx-it .cd small{display:none!important}#lx .lx-grid.cols-3 .lx-go{padding:6px 9px;font-size:11px}}

/* ===== Stage 19 (v18) — Work ⇄ Open Lab: one cross-link band each, no repeated items ===== */
.xl-band{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;margin:40px auto 110px;padding:26px 30px;border-radius:24px;
  background:linear-gradient(135deg,rgba(5,44,109,.96),rgba(9,102,255,.9));color:#fff;box-shadow:0 24px 50px -28px rgba(5,44,109,.75);position:relative;overflow:hidden}
.xl-band:before{content:"";position:absolute;right:-60px;top:-60px;width:220px;height:220px;border-radius:50%;background:rgba(255,203,5,.18);filter:blur(2px);pointer-events:none}
.xl-t{position:relative;max-width:680px}
.xl-eye{display:inline-block;margin:0 0 8px;padding:4px 12px;border-radius:999px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.22);font-size:11.5px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#FFCB05}
.xl-band h2{margin:0 0 6px;font-size:clamp(20px,2.2vw,26px);font-weight:800;color:#fff;letter-spacing:-.01em}
.xl-band p{margin:0 0 14px;color:rgba(255,255,255,.82);font-size:15px;line-height:1.55}
.xl-n{display:flex;gap:8px;flex-wrap:wrap}.xl-n span{padding:7px 13px;border-radius:12px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.2);font-size:13px;color:rgba(255,255,255,.85);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.xl-n b{color:#fff;font-weight:800;margin-right:3px}
.xl-go{position:relative;display:flex;gap:10px;flex-wrap:wrap}
.xl-btn{display:inline-flex;align-items:center;padding:12px 22px;border-radius:999px;background:#FFCB05;color:#052C6D!important;font-weight:800;font-size:14.5px;text-decoration:none!important;transition:transform .2s,box-shadow .2s}
.xl-btn:hover{transform:translateY(-2px);box-shadow:0 10px 22px -10px rgba(0,0,0,.45)}
.xl-btn.ghost{background:rgba(255,255,255,.12);color:#fff!important;border:1px solid rgba(255,255,255,.35)}
.lb8 .xl-band{margin:40px 0 60px}
@media(max-width:640px){.xl-band{padding:22px 20px;margin:30px auto 90px}.xl-go{width:100%}.xl-btn{flex:1;justify-content:center}}
