/* Rudrabha Mukherjee, official website. v0.4.7: dark theme by default, light theme available; the same words at every screen size. No external fonts, scripts or images. */
:root{--night:#0b0b0c;--ink:#121214;--panel:#161618;--cream:#f6ecdc;--text:#e6ddd0;--muted:#b9b1a6;--gold:#dab580;--gold-hi:#e8c38c;--gold-lo:#d6ad74;--line:rgba(225,191,143,.18);--paper:#f4ecdc;--paper-ink:#24201c;--strip:linear-gradient(90deg,#6e2232,#b4553a,#dab580,#f2d9a6,#dab580,#b4553a,#6e2232);--head:72px;--pad-x:clamp(18px,4.5vw,72px);--ease:cubic-bezier(.2,.7,.2,1);--body:ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;--serif:"Baskerville","Iowan Old Style","Palatino Linotype",Georgia,"Times New Roman",serif;--dev:"Noto Serif Devanagari","Kokila","Nirmala UI","Mangal",serif;--mono:ui-monospace,"Cascadia Mono",Consolas,"Courier New",monospace}

/* Base */
*,*::before,*::after{box-sizing:border-box}
html{background:var(--night);-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{margin:0;min-height:100vh;min-height:100svh;display:flex;flex-direction:column;background:var(--night);color:var(--text);font:400 17px/1.6 var(--body);-webkit-font-smoothing:antialiased;overflow-x:hidden}
main{flex:1 0 auto;display:flex;flex-direction:column;min-width:0}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%;height:auto}
button{font:inherit;color:inherit}
h1,h2,h3,p,figure,dl,dd{margin:0}
[hidden]{display:none!important}
:focus-visible{outline:3px solid #f4d7ab;outline-offset:4px;border-radius:4px}
::selection{color:#141416;background:#e8c18f}
.skip-link{position:fixed;top:-100px;left:16px;z-index:200;background:var(--cream);color:var(--ink);padding:12px 18px;font-weight:650}
.skip-link:focus{top:12px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
[lang="hi"],[lang="sa"]{letter-spacing:normal}

/* Header */
.site-header{position:sticky;top:0;z-index:60;flex:none;height:var(--head);display:flex;align-items:center;justify-content:space-between;gap:24px;padding:0 var(--pad-x);background:rgba(11,11,12,.78);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}
.wordmark{display:inline-flex;align-items:center;gap:12px;flex:none;min-height:44px}
.brand-face{width:44px;height:44px;border-radius:50%;box-shadow:0 0 0 1px rgba(218,181,128,.75),0 0 0 4px rgba(218,181,128,.12);transition:transform .45s var(--ease),box-shadow .45s var(--ease)}
.wordmark:hover .brand-face{transform:rotate(-5deg) scale(1.06);box-shadow:0 0 0 1px var(--gold),0 0 0 7px rgba(218,181,128,.18)}
.brand-letters{font-size:13px;font-weight:650;letter-spacing:.26em;line-height:1.15;color:var(--cream);white-space:nowrap}
.brand-sub{display:block;font-size:12px;font-weight:500;letter-spacing:.3em;color:#bdb6ab;margin-top:3px}
.nav-desktop{display:flex;align-items:center;gap:clamp(20px,3vw,44px)}
.navlink{position:relative;display:inline-block;padding:12px 0;font-size:13px;letter-spacing:.16em;text-transform:uppercase;color:#d9d3c9;transition:color .25s}
.navlink::after{content:"";position:absolute;left:0;right:0;bottom:6px;height:1px;background:var(--gold);transform:scaleX(0);transform-origin:right;transition:transform .35s var(--ease)}
.navlink:hover,.navlink.active{color:#ffe0ad}
.navlink:hover::after,.navlink.active::after{transform:scaleX(1);transform-origin:left}
.nav-desktop .navlink.active::before{content:"";position:absolute;left:50%;top:2px;width:5px;height:5px;margin-left:-2.5px;border-radius:50%;background:var(--gold)}
.head-actions{display:flex;align-items:center;gap:12px}
.menu-toggle{display:none;width:44px;height:44px;border-radius:50%;border:1px solid rgba(240,229,210,.3);background:transparent;flex-direction:column;align-items:center;justify-content:center;gap:6px;cursor:pointer}
.menu-toggle span{width:18px;height:1.5px;background:var(--cream);transition:transform .3s var(--ease)}
.menu-toggle[aria-expanded="true"] span:first-child{transform:translateY(3.75px) rotate(45deg)}
.menu-toggle[aria-expanded="true"] span:last-child{transform:translateY(-3.75px) rotate(-45deg)}
/* Phone menu: a full-screen panel below the header (a sibling of the header, so the header's blur cannot trap it) */
.mobile-menu{position:fixed;top:var(--head);left:0;right:0;bottom:0;z-index:58;display:flex;flex-direction:column;justify-content:space-between;gap:28px;padding:5vh var(--pad-x) max(28px,env(safe-area-inset-bottom));background:radial-gradient(120% 80% at 100% 0%,#1c1b1f 0%,#0e0e10 60%,#09090a 100%);overflow-y:auto;animation:menu-in .35s var(--ease) both}
@keyframes menu-in{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:none}}
.menu-links{list-style:none;margin:0;padding:0;border-top:1px solid var(--line)}
.menu-links li{border-bottom:1px solid var(--line);animation:rise .5s var(--ease) both}
.menu-links li:nth-child(2){animation-delay:.05s}.menu-links li:nth-child(3){animation-delay:.1s}.menu-links li:nth-child(4){animation-delay:.15s}.menu-links li:nth-child(5){animation-delay:.2s}
.menu-link{display:flex;align-items:baseline;gap:16px;padding:16px 4px;font:400 clamp(34px,10vw,52px)/1.1 var(--serif);letter-spacing:-.02em;color:var(--cream)}
.menu-link.active{color:var(--gold-hi)}
.menu-link:hover{color:#ffe0ad}
.menu-foot{display:flex;flex-direction:column;align-items:flex-start;gap:16px}
.menu-social{display:flex;gap:10px}
body.mobile-open{overflow:hidden}

/* Buttons and pills */
.btn{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:14px;min-height:52px;padding:14px 24px;border-radius:999px;border:1px solid transparent;font-size:13px;font-weight:650;letter-spacing:.14em;text-transform:uppercase;overflow:hidden;isolation:isolate;transition:color .3s,border-color .3s,background-color .3s,transform .3s var(--ease)}
.btn .arr{display:inline-block;transition:transform .35s var(--ease)}
.btn:hover .arr{transform:translateX(4px)}
.btn-gold{background:linear-gradient(120deg,#e8c38c,#c99a5b);color:#16110b}
.btn-gold::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(120deg,#f8e2bb,#e2b273);transform:translateX(-101%);transition:transform .5s var(--ease)}
.btn-gold:hover::before{transform:none}
.btn-glass{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.24);color:var(--cream);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.btn-glass:hover{border-color:var(--gold);background:rgba(218,181,128,.12)}
.btn:active{transform:translateY(1px)}
.pill-list{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.pill-list a,.legal-related a{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:6px 16px;border-radius:999px;border:1px solid rgba(255,255,255,.2);font-size:14px;color:#f0d6ac;transition:border-color .25s,background-color .25s}
.pill-list a:hover,.legal-related a:hover{border-color:var(--gold);background:rgba(218,181,128,.1)}

/* Entrance: content rises into place once (inspired by the staggered reveals on brahma.io) */
@keyframes rise{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
.rise{animation:rise .8s var(--ease) both}
.d1{animation-delay:.04s}.d2{animation-delay:.12s}.d3{animation-delay:.2s}.d4{animation-delay:.28s}.d5{animation-delay:.36s}.d6{animation-delay:.44s}


/* Home hero with the mantra flow */
.hero{position:relative;flex:1 0 auto;display:flex;flex-direction:column;justify-content:center;min-height:calc(100svh - var(--head) - 68px);padding:clamp(16px,3.4vh,44px) var(--pad-x) 76px;overflow:hidden;isolation:isolate;background:radial-gradient(120% 95% at 78% 28%,#1c1c1f 0%,#101012 55%,#09090a 100%)}
.mantra-flow{position:absolute;inset:0;z-index:-3;display:flex;flex-direction:column;justify-content:space-evenly;opacity:.3;pointer-events:none;user-select:none}
.flow-row{white-space:nowrap;overflow:hidden;font:400 clamp(20px,2vw,28px)/1.5 var(--dev);color:#f2cf94}
.flow-row:nth-child(even){color:#efe6d6}
.flow-track{display:inline-flex;gap:80px;padding-right:80px;animation:flow 150s linear infinite}
.flow-row:nth-child(2) .flow-track{animation-duration:120s;animation-delay:-40s}
.flow-row:nth-child(3) .flow-track{animation-duration:170s;animation-delay:-95s}
.flow-row:nth-child(4) .flow-track{animation-duration:135s;animation-delay:-20s}
.flow-row:nth-child(5) .flow-track{animation-duration:160s;animation-delay:-70s}
.flow-row:nth-child(6) .flow-track{animation-duration:125s;animation-delay:-55s}
.flow-row:nth-child(7) .flow-track{animation-duration:180s;animation-delay:-120s}
.flow-row:nth-child(8) .flow-track{animation-duration:140s;animation-delay:-10s}
.flow-row:nth-child(9) .flow-track{animation-duration:155s;animation-delay:-85s}
@keyframes flow{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.hero-veil{position:absolute;inset:0;z-index:-2;pointer-events:none;background:linear-gradient(353deg,rgba(7,7,8,.92) 0%,rgba(7,7,8,.25) 50%,rgba(7,7,8,.55) 100%),linear-gradient(90deg,rgba(9,9,10,.75) 0%,rgba(9,9,10,0) 60%)}
.hero-portrait{position:absolute;z-index:-1;top:0;right:0;bottom:0;width:min(54%,820px);pointer-events:none;-webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.55) 22%,#000 46%),linear-gradient(180deg,#000 72%,transparent 100%);-webkit-mask-composite:source-in;mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.55) 22%,#000 46%),linear-gradient(180deg,#000 72%,transparent 100%);mask-composite:intersect}
.hero-portrait img{width:100%;height:100%;object-fit:contain;object-position:70% 100%;opacity:.72;filter:brightness(.9) saturate(.92);animation:drift 28s ease-in-out infinite alternate;transform-origin:50% 30%}
@keyframes drift{from{transform:scale(1)}to{transform:scale(1.06) translateY(-1%)}}
.hero-copy{position:relative;max-width:min(760px,56%)}
.kicker{display:flex;align-items:center;gap:14px;font-size:12px;font-weight:650;letter-spacing:.24em;text-transform:uppercase;color:#d8bd8f}
.kicker-line{width:46px;height:1px;background:currentColor}
.hero h1{font:400 clamp(48px,min(8.6vw,13svh),148px)/.92 var(--serif);letter-spacing:-.045em;color:var(--cream)}
.hero h1 em{display:block;color:var(--gold-hi)}
.hero-sub{max-width:620px;margin-top:clamp(14px,2.6vh,26px);font:400 clamp(19px,1.1vw + 1.2vh,28px)/1.35 var(--serif);color:#efe4d3}
.hero-roles{margin-top:12px;font-size:14px;letter-spacing:.16em;text-transform:uppercase;color:#cfc5b6}
.hero-roles span{color:var(--gold);padding:0 4px}
.hero-bar{position:absolute;left:var(--pad-x);right:var(--pad-x);bottom:18px;display:flex;align-items:center;gap:12px 20px;flex-wrap:wrap}
.motion-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;width:44px;height:44px;padding:0;border-radius:999px;border:1px solid rgba(255,255,255,.24);background:rgba(11,11,12,.6);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:var(--cream);cursor:pointer;transition:border-color .25s}
.motion-btn:hover{border-color:var(--gold)}
.flow-note{font-size:12px;line-height:1.5;color:#a9a196;max-width:760px}
body.motion-off .flow-track,body.motion-off .hero-portrait img,.flow-idle .flow-track{animation-play-state:paused}

/* Inner pages */
.page{flex:1 0 auto;justify-content:center;padding:clamp(24px,5vh,60px) var(--pad-x)}
.eyebrow{font-size:12px;font-weight:650;letter-spacing:.24em;text-transform:uppercase;color:var(--gold-lo)}
.page h1{margin:12px 0 14px;font:400 clamp(40px,min(5.4vw,9svh),86px)/1 var(--serif);letter-spacing:-.04em;color:var(--cream)}
.page h1 em{color:var(--gold-hi)}
.lead{font:400 clamp(18px,1.4vw,22px)/1.5 var(--serif);color:#e1d8cb}

/* About */
.about-foot{display:flex;flex-wrap:wrap;align-items:flex-start;gap:12px 24px;margin-top:16px}
.sources{flex:1 1 280px;font-size:14px;color:#c9c3bb}
.sources summary{cursor:pointer;min-height:40px;display:inline-flex;align-items:center;color:#eac99d;text-decoration:underline;text-underline-offset:4px}
.sources ol{padding-left:20px;margin:8px 0}
.sources a{color:#eac99d;text-decoration:underline;overflow-wrap:anywhere}

/* Statements */
.statements-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.6fr);gap:clamp(28px,5vw,80px);align-items:center;width:100%;max-width:1320px;margin:0 auto}
.statement-card{position:relative;padding:clamp(22px,3vw,40px);border:1px solid var(--line);border-radius:22px;background:linear-gradient(180deg,#171719,#101012);overflow:hidden;box-shadow:0 30px 70px rgba(0,0,0,.35)}
.statement-card::before{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:var(--strip)}
.statement-card h2{margin:10px 0 6px;font:400 clamp(26px,2.4vw,36px)/1.15 var(--serif);color:var(--cream)}
.statement-meta{font-size:14px;letter-spacing:.06em;color:#c7a172;margin-bottom:16px}
.statement-card .eyebrow{margin:0;font:650 12px/1.4 var(--body);letter-spacing:.24em;color:var(--gold-lo)}
.statement-card p{font:400 17px/1.7 var(--serif);color:#e4ddd3;margin:0 0 14px}
.statement-full summary{display:inline-flex;align-items:center;gap:12px;min-height:48px;padding:10px 20px;border-radius:999px;border:1px solid rgba(218,181,128,.55);cursor:pointer;font-size:13px;font-weight:650;letter-spacing:.12em;text-transform:uppercase;color:#f0d6ac;list-style:none;transition:background-color .25s}
.statement-full summary::-webkit-details-marker{display:none}
.statement-full summary:hover{background:rgba(218,181,128,.12)}
.statement-full .count{font-weight:500;color:#b9b1a6;letter-spacing:.06em}
.statement-full[open] summary{margin-bottom:14px}
.statement-body{border-top:1px solid var(--line);padding-top:14px}
.statement-sign{font-style:italic}
.statement-card .statement-source{margin:16px 0 0;padding-top:14px;border-top:1px solid var(--line);font:400 14px/1.6 var(--body);color:#b9b1a6}
.statement-source a{color:#eac99d;text-decoration:underline}

/* Contact: typeset protocol in a reading panel (a parchment page, after authoramish.com and The Mill's white reading pages) */
.protocol-side{display:flex;flex-direction:column;align-items:flex-start;gap:14px;min-height:0}
.protocol-side h1{margin:4px 0 2px;font-size:clamp(36px,3.4vw,54px)}
.side-lead{font-size:15px;line-height:1.6;color:#d6cec2}
.full-url{display:flex;flex-direction:column;gap:6px;padding:14px 16px;border:1px solid rgba(218,181,128,.28);border-left:3px solid var(--gold);border-radius:4px 12px 12px 4px;background:rgba(255,255,255,.035)}
.full-url-label{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--gold-lo)}
.full-url a{font:500 13.5px/1.55 var(--body);color:#f0d6ac;text-decoration:underline;text-decoration-color:rgba(240,214,172,.45);text-underline-offset:3px;word-break:break-all}
.toc-label{font-size:12px;letter-spacing:.18em;text-transform:uppercase;color:#b9b1a6;margin-bottom:8px}
.protocol-doc{min-height:0;padding:clamp(24px,4vw,64px);border-radius:20px;background:radial-gradient(120% 80% at 0% 0%,#fbf5ea 0%,var(--paper) 55%,#ecdfc8 100%);color:var(--paper-ink);box-shadow:0 30px 80px rgba(0,0,0,.45),inset 0 0 0 1px rgba(120,90,50,.18)}
.protocol-doc:focus-visible{outline-offset:-6px;outline-color:#8a4b16}
.protocol-doc :focus-visible{outline-color:#8a4b16}
.doc-badge{display:inline-block;margin-bottom:18px;padding:6px 14px;border-radius:999px;border:1px solid #c9b48f;font-size:12px;font-weight:650;letter-spacing:.18em;text-transform:uppercase;color:#6b4a22}
.doc-title{font:700 clamp(28px,2.6vw,42px)/1.15 var(--body);letter-spacing:-.01em;color:#151311;max-width:22ch}
.doc-sub{margin-top:10px;font:italic 400 clamp(20px,1.8vw,26px)/1.3 var(--serif);color:#665c53}
.doc-meta{margin-top:22px;font-size:15px;line-height:1.8}
.doc-meta dt,.defs dt{display:inline;font-weight:700}
.doc-meta dd,.defs dd{display:inline}
.protocol-doc section{scroll-margin-top:16px}
.protocol-doc h3{margin:40px 0 14px;font:800 clamp(18px,1.5vw,23px)/1.3 var(--body);letter-spacing:.01em;color:#151311}
.protocol-doc p,.defs div,.doc-links{font-size:16.5px;line-height:1.7;margin:0 0 12px;max-width:74ch}
.defs div{margin-left:clamp(0px,3vw,32px)}
.clause-no{font-weight:700;color:#7a4519}
.clause-key{padding:12px 16px;border-left:3px solid #b07a3a;background:rgba(176,122,58,.08);border-radius:0 10px 10px 0}
.protocol-doc a{color:#7a3e10;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.protocol-doc a:hover{color:#4d2405}
.back{font-size:15px!important}
.doc-links{padding-left:24px}
.table-wrap{overflow-x:auto}
.doc-toc{width:100%;max-width:760px;border-collapse:collapse;font-size:14px}
.doc-toc th,.doc-toc td{border:1px solid #3a332c;padding:8px 12px;text-align:left;vertical-align:top;font-weight:700}
.doc-toc td:first-child,.doc-toc th:first-child{width:130px}
.doc-toc a{color:#24201c;text-decoration:none}
.doc-toc a:hover{text-decoration:underline}
.doc-issued{margin-top:36px;padding-top:18px;border-top:1px solid rgba(60,50,40,.25)}
.doc-issued p{margin:0 0 10px}

/* Legal and information pages */
.legal-shell{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,2.15fr);gap:clamp(28px,4.5vw,72px);align-items:start;width:100%;max-width:1360px;margin:0 auto}
.legal-head .lead{font-size:clamp(18px,1.3vw,21px)}
.legal-status{margin-top:16px;font-size:13px;color:#b9b1a6}
.legal-related{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}
.legal-cols{columns:2 300px;column-gap:clamp(28px,3vw,48px)}
.legal-item{break-inside:avoid;padding:14px 0 16px;border-top:1px solid var(--line)}
.legal-item h2{margin-bottom:6px;font:400 21px/1.25 var(--serif);color:#f1ddbd}
.legal-item p{font-size:15.5px;line-height:1.6;color:#d8d1c6}
.legal-item a{color:#eac99d;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.legal-item a:hover,.legal-item a:focus-visible{color:var(--gold-hi)}

/* Offline */
.page-offline{align-items:center;text-align:center}
.offline-card{max-width:640px;display:flex;flex-direction:column;align-items:center;gap:6px}
.offline-card .btn{margin-top:18px}

/* Footer: one slim band with the gradient strip (after brahma.io's divider) */
.site-footer{position:relative;flex:none;padding:12px var(--pad-x);background:#09090a}
.site-footer::before{content:"";position:absolute;left:0;right:0;top:0;height:2px;background:var(--strip);opacity:.85}
.social{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;border:1px solid rgba(255,255,255,.22);color:#e8e0d4;transition:border-color .25s,color .25s,transform .25s var(--ease)}
.social svg{fill:currentColor}
.social:hover{border-color:var(--gold);color:var(--gold);transform:translateY(-2px)}

/* One screen on larger displays: the page fits the window; long text scrolls inside its own panel */
@media (min-width:1000px) and (min-height:520px){
 body.fit-page{height:100vh;height:100svh;overflow:hidden}
 body.fit-page main{min-height:0;flex:1 1 auto}
 .page-protocol{justify-content:stretch;min-height:0;padding-top:clamp(18px,3vh,32px);padding-bottom:clamp(18px,3vh,32px)}
 .protocol-side{overflow-y:auto;padding-right:6px}
 .protocol-doc{overflow-y:auto;overscroll-behavior:contain;scroll-behavior:smooth}
}
@media (min-width:1000px){
 .statement-full[open] .statement-body{max-height:max(160px,calc(100svh - 600px));overflow-y:auto;padding-right:12px}
 .statement-card:has(.statement-full[open]) .statement-preamble{display:none}
}

/* Compact spacing for shorter laptop screens, so each page still fits the window */
@media (min-width:1000px) and (max-height:820px){
 .page{padding-top:clamp(14px,2.6vh,28px);padding-bottom:clamp(14px,2.6vh,28px)}
 .page h1{margin:8px 0 10px;font-size:clamp(36px,min(4.6vw,8svh),72px)}
 .lead,.legal-head .lead{font-size:18px}
 .about-foot{margin-top:10px}
 .legal-shell{grid-template-columns:minmax(0,.7fr) minmax(0,2.3fr)}
 .legal-cols{columns:3 230px}
 .legal-item{padding:9px 0 10px}
 .legal-item h2{margin-bottom:4px;font-size:19px}
 .legal-item p{font-size:15px;line-height:1.5}
 .statement-card{padding:22px 28px}
 .statement-card p{font-size:16px;line-height:1.6}
 .statement-meta{margin-bottom:10px}
}
@media (min-width:1000px) and (max-height:700px){
 :root{--head:62px}
 .brand-face{width:38px;height:38px}
 .page h1{font-size:clamp(32px,min(4vw,7svh),60px);margin:6px 0 8px}
 .lead,.legal-head .lead{font-size:16.5px}
 .about-foot{margin-top:8px}
 .pill-list a{min-height:36px;padding:4px 14px}
 .sources summary{min-height:36px}
 .legal-item{padding:6px 0 8px}
 .legal-item h2{font-size:17.5px}
 .legal-item p{font-size:14px;line-height:1.45}
 .legal-related{margin-top:12px}
 .statement-card{padding:18px 24px}
 .statement-card h2{font-size:24px}
 .statement-card p{font-size:15px;line-height:1.55;margin-bottom:10px}
 .statement-card .statement-source{font-size:13px;margin-top:10px;padding-top:10px}
 .statement-full summary{min-height:42px;padding:8px 18px}
 .side-lead{font-size:14px}
 .protocol-side{gap:10px}
 .protocol-side h1{font-size:clamp(30px,2.8vw,42px)}
 .hero h1{font-size:clamp(44px,min(8vw,12svh),120px)}
 .hero-sub{margin-top:10px}
}
/* Tablet and phone */
@media (max-width:999px){
 .statements-grid,.legal-shell{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:860px){
 :root{--head:66px}
 .nav-desktop{display:none}
 .menu-toggle{display:flex}
 .hero{justify-content:flex-end;min-height:calc(100svh - var(--head));padding:24px var(--pad-x) 22px;background:#09090a}
 .hero-portrait{inset:0;right:0;width:100%;height:100%;max-width:none;aspect-ratio:auto;z-index:-3;-webkit-mask-image:none;mask-image:none}
 .hero-portrait img{object-fit:contain;object-position:50% 100%;opacity:.7;filter:brightness(.9) saturate(.92)}
 .mantra-flow{z-index:-2;opacity:.3;justify-content:flex-start;gap:6px;padding-top:10px;-webkit-mask-image:radial-gradient(ellipse 48% 21% at 50% 24%,transparent 55%,#000 100%);mask-image:radial-gradient(ellipse 48% 21% at 50% 24%,transparent 55%,#000 100%)}
 .flow-row{font-size:20px}
 .hero-veil{z-index:-1;background:linear-gradient(180deg,rgba(9,9,10,.55) 0%,rgba(9,9,10,0) 26%,rgba(9,9,10,.08) 46%,rgba(9,9,10,.82) 70%,#09090a 100%)}
 .hero-copy{max-width:100%}
 .hero h1{font-size:clamp(46px,13.5vw,84px);line-height:.95}
 .hero-sub{font-size:19px;margin-top:12px}
 .hero-roles{font-size:12px;letter-spacing:.14em}
 .hero-bar{position:static;margin-top:16px;gap:8px 14px;align-items:flex-start}
}
@media (max-width:560px){
 .brand-letters{font-size:12px;letter-spacing:.2em}
 .brand-sub{letter-spacing:.22em}
 .protocol-doc{padding:22px 18px;border-radius:14px}
 .doc-toc td:first-child,.doc-toc th:first-child{width:auto}
 .btn{white-space:normal;text-align:center}
}

/* v0.4.1: the full face stays clear. Upright phones, fold phones and tablets: the photo sits low and centred,
   under the mantra rows and behind the name's lower edge. Sideways phones: the photo stands at the right. */
@media (max-width:860px) and (orientation:portrait){
 .hero-portrait{inset:auto;left:50%;right:auto;bottom:0;transform:translateX(-50%);width:auto;height:min(56%,760px);aspect-ratio:1033/1500;z-index:-2}
 .mantra-flow{z-index:-3;justify-content:flex-start;-webkit-mask-image:none;mask-image:none}
}
@media (max-width:860px) and (orientation:portrait) and (max-height:700px){
 .hero-portrait{height:44%;bottom:20%}
}
@media (max-width:860px) and (orientation:landscape){
 .hero-portrait{inset:auto;top:0;right:4vw;bottom:0;left:auto;width:auto;height:100%;aspect-ratio:1033/1500;z-index:-2}
 .hero-portrait img{object-position:50% 100%}
 .hero-copy{max-width:58%}
 .mantra-flow{z-index:-3;-webkit-mask-image:none;mask-image:none}
}

/* v0.4.1 refinements after the design critique (same design language) */
/* desktop: navigation sits flush right (the empty phone-menu box no longer pushes it); one active marker */
@media (min-width:861px){.head-actions{display:none}}
.nav-desktop .navlink.active::before{display:none}
.menu-links{border-top:0}
/* photo: solid but quieter, so the mantra rows pass behind it and never show through the face */
.hero-portrait img{opacity:1;filter:brightness(.8) saturate(.9)}
@media (min-width:861px){.hero-portrait{top:8%}}
/* pause and play drawn as shapes, not letters; the button sits at the right */
.motion-btn .pause-icon{font-size:0;display:inline-block;width:10px;height:12px;border-left:3px solid currentColor;border-right:3px solid currentColor}
body.motion-off .motion-btn .pause-icon{width:0;height:0;border-style:solid;border-width:6px 0 6px 10px;border-color:transparent transparent transparent currentColor;margin-left:3px}
.hero-bar{justify-content:flex-end}
/* quieter labels and cards */
.eyebrow,.statement-card .eyebrow{letter-spacing:.16em}
.statement-card::before{height:1px;background:rgba(218,181,128,.45)}
.statement-meta{text-wrap:balance}
.statement-source a{white-space:nowrap}
.statement-body{scrollbar-width:thin;scrollbar-color:rgba(218,181,128,.4) transparent}
.statement-full[open] summary{background:rgba(218,181,128,.12)}
@media (min-width:1000px){.statement-full[open] .statement-body{max-height:max(214px,calc(100svh - 580px))}}
.legal-head h1{text-wrap:balance}
/* contact: the label and subtitle keep their own sizes; section links do not hide headings under the header */
.protocol-doc .doc-badge{font-size:12px;line-height:1.4;margin:0 0 18px}
.protocol-doc .doc-sub{font-size:clamp(20px,1.8vw,26px);line-height:1.3;margin:10px 0 0}
.protocol-doc section{scroll-margin-top:calc(var(--head) + 16px)}
.protocol-doc{scrollbar-width:thin;scrollbar-color:rgba(122,69,25,.45) transparent}
@media (min-width:1000px) and (min-height:520px){.protocol-doc section{scroll-margin-top:16px}}
/* tablets: no empty band between the mantras and the photo */
@media (min-width:600px) and (max-width:860px) and (orientation:portrait){.mantra-flow{gap:14px}}

/* v0.4.2: the photo from the head to just below the elbows (a crop by CSS; the image file is unchanged),
   larger at every size, with a very soft golden aura; the mantras pass behind it */
.hero-portrait{inset:auto;top:auto;left:auto;right:clamp(0px,4vw,80px);bottom:0;width:auto;height:min(94%,calc(52vw / 1.174));aspect-ratio:1033/880;transform:none;z-index:-1;
 -webkit-mask-image:linear-gradient(180deg,#000 72%,transparent 100%);-webkit-mask-composite:source-over;mask-image:linear-gradient(180deg,#000 72%,transparent 100%);mask-composite:add}
.hero-portrait::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse 40% 46% at 50% 36%,rgba(242,207,148,.13) 0%,rgba(242,207,148,.05) 46%,rgba(242,207,148,0) 72%)}
.hero-portrait img{width:100%;height:100%;object-fit:cover;object-position:50% 0;opacity:1;filter:brightness(.86) saturate(.92)}
@media (max-width:860px) and (orientation:portrait){
 .hero-portrait{left:50%;right:auto;transform:translateX(-50%);width:112%;height:auto;bottom:clamp(96px,17svh,180px)}
}
@media (max-width:860px) and (orientation:portrait) and (max-height:700px){
 .hero-portrait{bottom:30svh}
}

/* v0.4.4: the photo is never see-through. Its lower part darkens to the page colour, following the person's outline
   (an overlay masked by the photo's own transparency), so the mantra rows stay behind the whole body */
.hero-portrait{-webkit-mask-image:none;mask-image:none;overflow:hidden}
.hero-portrait::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(9,9,10,0) 62%,rgba(9,9,10,.88) 86%,#09090a 95%);
 -webkit-mask-image:url("/assets/portrait-fade-mask.webp?v=0.4.12");-webkit-mask-size:cover;-webkit-mask-position:50% 0;-webkit-mask-repeat:no-repeat;
 mask-image:url("/assets/portrait-fade-mask.webp?v=0.4.12");mask-size:cover;mask-position:50% 0;mask-repeat:no-repeat}

/* v0.4.5: the photo frame turns 3deg clockwise about its bottom centre (screen only), so the figure stands upright.
   The separate `rotate` property combines with the phone layout's centring transform. */
.hero-portrait{rotate:3deg;transform-origin:50% 100%}

/* v0.4.7: light theme. Our own parchment, near-black and dark-brown text, deep gold-brown accents.
   Dark is the default; light only when the visitor chooses it with the sun/moon icon (from v0.4.19). */
.theme-toggle{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;border:1px solid rgba(240,229,210,.3);background:transparent;color:var(--cream);cursor:pointer;transition:border-color .25s}
.theme-toggle:hover{border-color:var(--gold)}
.theme-toggle svg{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.theme-toggle .i-moon{display:none}
html[data-theme="light"] .theme-toggle .i-sun{display:none}
html[data-theme="light"] .theme-toggle .i-moon{display:block}
@media (min-width:861px){.head-actions{display:flex;margin-left:24px}.nav-desktop{margin-left:auto}}

html[data-theme="light"],html[data-theme="light"] body{background:#e5dccb;color:#1d1813}
html[data-theme="light"] :focus-visible{outline-color:#7a4c15}
html[data-theme="light"] ::selection{color:#1d1813;background:#e6c48e}
html[data-theme="light"] .skip-link{background:#1d1813;color:#e5dccb}
html[data-theme="light"] .site-header{background:rgba(229,220,203,.88);border-bottom-color:rgba(74,56,40,.16)}
html[data-theme="light"] .brand-face{box-shadow:0 0 0 1px rgba(122,76,21,.6),0 0 0 4px rgba(122,76,21,.1)}
html[data-theme="light"] .brand-letters{color:#1d1813}
html[data-theme="light"] .brand-sub{color:#5b4a3a}
html[data-theme="light"] .navlink{color:#4a3828}
html[data-theme="light"] .navlink:hover,html[data-theme="light"] .navlink.active{color:#1d1813}
html[data-theme="light"] .navlink::after{background:#7a4c15}
html[data-theme="light"] .menu-toggle,html[data-theme="light"] .theme-toggle{border-color:rgba(74,56,40,.35);color:#1d1813}
html[data-theme="light"] .menu-toggle span{background:#1d1813}
html[data-theme="light"] .mobile-menu{background:radial-gradient(120% 80% at 100% 0%,#ddd1b9 0%,#e5dccb 60%)}
html[data-theme="light"] .menu-links,html[data-theme="light"] .menu-links li{border-color:rgba(74,56,40,.18)}
html[data-theme="light"] .menu-link{color:#1d1813}
html[data-theme="light"] .menu-link.active{color:#7a4c15}
html[data-theme="light"] .menu-link:hover{color:#6b4416}
html[data-theme="light"] .btn-gold{background:linear-gradient(120deg,#9a6420,#7a4a14);color:#fffaf1}
html[data-theme="light"] .btn-gold::before{background:linear-gradient(120deg,#a8702a,#8a5418)}
html[data-theme="light"] .pill-list a,html[data-theme="light"] .legal-related a{border-color:rgba(74,56,40,.3);color:#6b4416}
html[data-theme="light"] .pill-list a:hover,html[data-theme="light"] .legal-related a:hover{border-color:#7a4c15;background:rgba(122,76,21,.08)}
html[data-theme="light"] .hero{background:radial-gradient(120% 95% at 78% 28%,#ece4d5 0%,#e5dccb 55%,#ddd3be 100%)}
html[data-theme="light"] .mantra-flow{opacity:.52}
html[data-theme="light"] .flow-row{color:#1c130b}
html[data-theme="light"] .flow-row:nth-child(even){color:#4b300e}
html[data-theme="light"] .hero-veil{background:linear-gradient(353deg,rgba(229,220,203,0) 0%,rgba(229,220,203,.2) 50%,rgba(229,220,203,.5) 100%),linear-gradient(90deg,rgba(229,220,203,.75) 0%,rgba(229,220,203,0) 60%)}
html[data-theme="light"] .hero-portrait::before{background:radial-gradient(ellipse 40% 46% at 50% 36%,rgba(201,140,60,.2) 0%,rgba(201,140,60,.07) 46%,rgba(201,140,60,0) 72%)}
html[data-theme="light"] .hero-portrait::after{background:linear-gradient(180deg,rgba(29,24,19,0) 0%,rgba(29,24,19,0) 50%,rgba(29,24,19,.92) 72%,#1d1813 80%);-webkit-mask-image:url("/assets/portrait-fade-mask.webp?v=0.4.12"),linear-gradient(180deg,#000 96%,transparent 100%);-webkit-mask-size:cover,100% 100%;-webkit-mask-position:50% 0,0 0;-webkit-mask-repeat:no-repeat;-webkit-mask-composite:source-in;mask-image:url("/assets/portrait-fade-mask.webp?v=0.4.12"),linear-gradient(180deg,#000 96%,transparent 100%);mask-size:cover,100% 100%;mask-position:50% 0,0 0;mask-repeat:no-repeat;mask-composite:intersect}
/* v0.4.7 round 2: body-shaped backing behind the photo; the photo fades into it (no layer on top, so no seams) */
.hero-portrait::after{z-index:-1;background:#08080a}
.hero-portrait img{-webkit-mask-image:linear-gradient(180deg,#000 62%,rgba(0,0,0,.15) 88%,transparent 97%);mask-image:linear-gradient(180deg,#000 62%,rgba(0,0,0,.15) 88%,transparent 97%)}

html[data-theme="light"] .hero-portrait img{filter:none}
html[data-theme="light"] .hero h1,html[data-theme="light"] .page h1{color:#1d1813}
html[data-theme="light"] .hero h1 em,html[data-theme="light"] .page h1 em{color:#7a4c15}
html[data-theme="light"] .hero-roles{color:#4a3828}
html[data-theme="light"] .hero-roles span{color:#7a4c15}
html[data-theme="light"] .motion-btn{border-color:rgba(74,56,40,.35);background:rgba(229,220,203,.7);color:#1d1813}
html[data-theme="light"] .eyebrow,html[data-theme="light"] .statement-card .eyebrow,html[data-theme="light"] .full-url-label{color:#7a4c15}
html[data-theme="light"] .lead,html[data-theme="light"] .side-lead{color:#3a2d22}
html[data-theme="light"] .sources{color:#4a3828}
html[data-theme="light"] .sources summary,html[data-theme="light"] .sources a,html[data-theme="light"] .statement-source a,html[data-theme="light"] .legal-item a{color:#6b4416}
html[data-theme="light"] .statement-card{border-color:rgba(74,56,40,.18);background:linear-gradient(180deg,#ece5d8,#e4dac7);box-shadow:0 24px 50px rgba(60,40,20,.12)}
html[data-theme="light"] .statement-card::before{background:rgba(122,76,21,.45)}
html[data-theme="light"] .statement-card h2{color:#1d1813}
html[data-theme="light"] .statement-meta{color:#7a4c15}
html[data-theme="light"] .statement-card p,html[data-theme="light"] .statement-body p{color:#2a2119}
html[data-theme="light"] .statement-full summary{border-color:rgba(122,76,21,.55);color:#6b4416}
html[data-theme="light"] .statement-full summary:hover,html[data-theme="light"] .statement-full[open] summary{background:rgba(122,76,21,.08)}
html[data-theme="light"] .statement-full .count{color:#5f4e3d}
html[data-theme="light"] .statement-body,html[data-theme="light"] .statement-card .statement-source{border-top-color:rgba(74,56,40,.18)}
html[data-theme="light"] .statement-card .statement-source{color:#5b4a3a}
html[data-theme="light"] .full-url{border-color:rgba(122,76,21,.28);border-left-color:#7a4c15;background:rgba(255,250,240,.3)}
html[data-theme="light"] .full-url a{color:#6b4416;text-decoration-color:rgba(107,68,22,.45)}
html[data-theme="light"] .protocol-doc{background:radial-gradient(120% 80% at 0% 0%,#efebe0 0%,#ece4d5 55%,#e4d8c1 100%);box-shadow:0 20px 50px rgba(60,40,20,.14),inset 0 0 0 1px rgba(120,90,50,.2)}
html[data-theme="light"] .legal-status{color:#5f4e3d}
html[data-theme="light"] .legal-item{border-top-color:rgba(74,56,40,.18)}
html[data-theme="light"] .legal-item h2{color:#2a1f15}
html[data-theme="light"] .legal-item p{color:#3a2d22}
html[data-theme="light"] .site-footer{background:#ddd3be}
html[data-theme="light"] .foot-copy{color:#5b4a3a}
html[data-theme="light"] .social{border-color:rgba(74,56,40,.3);color:#2a2119}
html[data-theme="light"] .social:hover{border-color:#7a4c15;color:#7a4c15}
@media (max-width:860px){
 html[data-theme="light"] .hero{background:#e5dccb}
 html[data-theme="light"] .hero-veil{background:linear-gradient(180deg,rgba(229,220,203,.55) 0%,rgba(229,220,203,0) 26%,rgba(229,220,203,0) 100%)}
}

/* v0.4.8: the owner's line under the name, as typed (not in capitals); Sanskrit words in the accent colour */
.hero-roles.hero-line{margin-top:20px;text-transform:none;letter-spacing:.02em;font-size:clamp(17px,1.35vw,21px);line-height:1.5;max-width:34em}
@media (max-width:860px){.hero-roles.hero-line{margin-top:18px}}
.hero-roles.hero-line span{padding:0;font-family:var(--dev);font-size:1.08em}

/* v0.4.13 */
/* 1. (removed in v0.4.48: the theme now changes with a circle that spreads from the switch, see the end of this file) */
/* 2. light theme, phones and tablets: a dark ground under the figure, as in the dark theme, with light lettering on it */
@media (max-width:860px){
 html[data-theme="light"] .hero-veil{background:linear-gradient(0deg,#1d1813 0,#1d1813 150px,rgba(29,24,19,.9) 300px,rgba(29,24,19,0) 440px),linear-gradient(180deg,rgba(229,220,203,.55) 0%,rgba(229,220,203,0) 26%)}
 html[data-theme="light"] .hero h1{color:var(--cream)}
 html[data-theme="light"] .hero-roles{color:#cfc5b6}
 html[data-theme="light"] .hero-roles span{color:var(--gold)}
 html[data-theme="light"] .motion-btn{border-color:rgba(255,255,255,.24);background:rgba(11,11,12,.6);color:var(--cream)}
}
/* 3. light theme, laptops and desktops: the shadow's lowest part dissolves evenly into the page along the hero's bottom edge */
@media (min-width:861px){
 html[data-theme="light"] .hero::after{content:"";position:absolute;left:0;right:0;bottom:0;height:11%;z-index:-1;pointer-events:none;background:linear-gradient(180deg,rgba(221,211,190,0) 0%,rgba(221,211,190,.6) 55%,#ddd3be 100%)}
 html[data-theme="light"] .hero-veil{background:linear-gradient(353deg,rgba(229,220,203,0) 0%,rgba(229,220,203,.2) 50%,rgba(229,220,203,.5) 100%),linear-gradient(90deg,rgba(229,220,203,.86) 0%,rgba(229,220,203,.6) 32%,rgba(229,220,203,0) 60%)}
}

/* v0.4.19: light theme on laptops and desktops: no fade at the bottom of the photo. The photo runs to the
   bottom edge of the home section and is cut cleanly by the footer line; the frame sits 36 px lower so the 3-degree
   turn never shows a slanted edge (the section hides what lies below it). */
@media (min-width:861px){
 html[data-theme="light"] .hero-portrait{bottom:-36px}
 html[data-theme="light"] .hero-portrait img{-webkit-mask-image:none;mask-image:none}
 html[data-theme="light"] .hero-portrait::after,html[data-theme="light"] .hero::after{display:none}
}

/* v0.4.20: the line under the name a little darker in the light theme on laptops, desktops and wide
   tablets (same weight, size and font; not bold) */
@media (min-width:861px){
 html[data-theme="light"] .hero-roles.hero-line{color:#120d09}
 html[data-theme="light"] .hero-roles.hero-line span{color:#462805}
}

/* v0.4.27: calmer type. Menu and small labels in normal capitals as written, not all capitals; the gold
   second word of page headings upright, not italic. Style only: the words are unchanged. */
.navlink{font-size:15px;letter-spacing:.03em;text-transform:none}
.btn,.kicker,.eyebrow,.statement-full summary,.full-url-label,.toc-label,.doc-badge{text-transform:none;letter-spacing:.03em}
.kicker,.eyebrow,.statement-full summary{font-size:14px}
.hero h1 em,.page h1 em{font-style:normal}

/* v0.4.29 Statements: every formal statement, newest first; the heading stays in view on wide screens */
.page-statements .statements-grid{align-items:start}
.page-intro .lead{max-width:34ch;margin-top:6px}
.statement-list{display:grid;gap:clamp(18px,2.4vw,28px);min-width:0}
.statement-card .statement-after{margin-top:4px}
.statement-source .sep{padding:0 8px;color:var(--muted)}
@media (min-width:1000px){
 .page-statements .page-intro{position:sticky;top:calc(var(--head) + 40px)}
 .statement-list .statement-full[open] .statement-body{max-height:none;overflow:visible;padding-right:0}
}

/* v0.4.29 Gallery: square tiles; on hover the picture eases closer and its date and first line rise in */
.page-gallery{justify-content:flex-start}
.gallery-wrap{width:100%;max-width:1320px;margin:0 auto}
.gallery-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:6px 40px;margin-bottom:clamp(18px,3vw,32px)}
.gallery-head .lead{max-width:50ch}
.gallery-sum{font-size:14px;color:var(--muted);padding-bottom:6px}
.gallery-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(220px,42vw),1fr));gap:clamp(6px,1vw,14px)}
.g-item{min-width:0}
.g-item:nth-child(n+9){content-visibility:auto;contain-intrinsic-size:auto 260px}
.g-tile{position:relative;display:block;aspect-ratio:1/1;overflow:hidden;border-radius:6px;background:#161618;border:1px solid rgba(225,191,143,.08)}
.g-tile img{width:100%;height:100%;object-fit:cover;transition:transform .9s var(--ease),opacity .6s ease}
.g-ready .g-tile img{opacity:0}
.g-ready .g-tile img.is-loaded{opacity:1}
.g-over{position:absolute;left:0;right:0;bottom:0;display:flex;flex-direction:column;gap:4px;padding:44px 14px 13px;background:linear-gradient(180deg,rgba(8,8,9,0),rgba(8,8,9,.88));color:var(--cream);opacity:0;transform:translateY(10px);transition:opacity .45s var(--ease),transform .55s var(--ease);pointer-events:none}
.g-over time{font-size:12.5px;letter-spacing:.03em;color:var(--gold-hi)}
.g-line{font:400 15px/1.35 var(--serif);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.g-tile::after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:var(--gold);transform:scaleX(0);transform-origin:left;transition:transform .6s var(--ease)}
.g-n{position:absolute;top:9px;right:9px;display:inline-flex;align-items:center;gap:5px;padding:3px 8px 3px 6px;border-radius:999px;background:rgba(11,11,12,.68);color:var(--cream);font-size:12px;line-height:1.4}
.g-n svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round}
.g-tile:focus-visible{outline-offset:3px}
.g-tile:focus-visible .g-over{opacity:1;transform:none}
.g-tile:focus-visible::after{transform:scaleX(1)}
@media (hover:hover){
 .g-tile:hover img{transform:scale(1.045)}
 .g-tile:hover .g-over{opacity:1;transform:none}
 .g-tile:hover::after{transform:scaleX(1)}
}
.gallery-note{margin-top:clamp(20px,3vw,32px);font-size:14px;line-height:1.6;color:var(--muted);max-width:80ch}

/* The picture viewer: dark in both themes, like a darkened room for photographs */
html.lb-open,html.lb-open body{overflow:hidden}
.lightbox{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:0;border:0;background:#09090a;color:var(--text);overflow:hidden}
.lightbox::backdrop{background:rgba(6,6,7,.92)}
.lightbox[open]{animation:lb-in .3s var(--ease)}
.lb-shell{display:grid;grid-template-columns:minmax(0,1fr) clamp(300px,27vw,400px);height:100%}
.lb-stage{position:relative;display:grid;place-items:center;min-width:0;min-height:0;padding:64px clamp(64px,6vw,96px) 52px}
.lb-img{max-width:100%;max-height:calc(100vh - 128px);max-height:calc(100svh - 128px);width:auto;height:auto;object-fit:contain;border-radius:3px;box-shadow:0 30px 80px rgba(0,0,0,.55);animation:lb-img .4s var(--ease)}
.lb-count{position:absolute;left:0;right:0;bottom:16px;text-align:center;font-size:13px;letter-spacing:.03em;color:#b9b1a6}
.lb-side{display:flex;flex-direction:column;gap:14px;min-height:0;padding:76px 28px 24px;background:#111113;border-left:1px solid var(--line)}
.lb-date{font-size:14px;letter-spacing:.03em;color:var(--gold-lo)}
.lb-cap{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding-right:8px;font:400 16.5px/1.65 var(--serif);color:#e4ddd3;scrollbar-width:thin;scrollbar-color:rgba(218,181,128,.4) transparent}
.lb-cap p{margin:0 0 12px;overflow-wrap:anywhere}
.lb-cap .g-held{font:400 15px/1.6 var(--body);color:var(--muted)}
/* v0.4.64: the typed words of a picture that is mostly text, folded under the caption */
.lb-cap .g-text{margin:16px 0 0;padding-top:12px;border-top:1px solid var(--line)}
.lb-cap .g-text summary{cursor:pointer;font:600 .92em/1.6 var(--body);color:var(--gold-hi)}
.lb-cap .g-text[open] summary{margin-bottom:12px}
.lb-cap .g-held a{color:var(--gold-hi);text-decoration:underline;text-underline-offset:3px}
.lb-ig{align-self:flex-start;display:inline-flex;align-items:center;min-height:44px;font-size:14px;color:#eac99d;text-decoration:underline;text-underline-offset:3px}
.lb-ig:hover{color:var(--gold-hi)}
.lb-btn{position:absolute;z-index:2;display:grid;place-items:center;width:48px;height:48px;padding:0;border-radius:50%;border:1px solid rgba(240,229,210,.28);background:rgba(11,11,12,.72);color:var(--cream);cursor:pointer;transition:border-color .25s,background-color .25s}
.lb-btn:hover{border-color:var(--gold);background:rgba(28,28,30,.92)}
.lb-btn svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.lb-close{top:14px;right:14px}
.lb-prev,.lb-next{top:50%;margin-top:-24px}
.lb-prev{left:14px}
.lb-next{right:calc(clamp(300px,27vw,400px) + 14px)}
@keyframes lb-in{from{opacity:0}to{opacity:1}}
@keyframes lb-img{from{opacity:0;transform:scale(.985)}to{opacity:1;transform:none}}
@media (max-width:860px){
 .lb-shell{grid-template-columns:minmax(0,1fr);grid-template-rows:62svh minmax(0,1fr)}
 .lb-stage{padding:60px 12px 34px}
 .lb-img{max-height:calc(62svh - 94px)}
 .lb-count{bottom:9px}
 .lb-side{padding:16px 18px 12px;border-left:0;border-top:1px solid var(--line);gap:8px}
 .lb-cap{font-size:15.5px}
 .lb-btn{width:44px;height:44px}
 .lb-close{top:8px;right:8px}
 .lb-prev,.lb-next{top:31svh;margin-top:-22px}
 .lb-prev{left:6px}
 .lb-next{right:6px}
}
@media (prefers-reduced-motion:reduce){.lightbox[open],.lb-img{animation:none}}

html[data-theme="light"] .g-tile{background:#d8cdb8;border-color:rgba(74,56,40,.14)}
html[data-theme="light"] .gallery-sum,html[data-theme="light"] .gallery-note{color:#5b4a3a}
html[data-theme="light"] .g-tile::after{background:#7a4c15}
html[data-theme="light"] .statement-source .sep{color:#5b4a3a}

/* v0.4.30 Statements: each statement's own published images, small; each opens large in the picture viewer */
.statement-pics{margin:2px 0 16px}
.statement-card .pics-label{margin:0 0 8px;font:400 14px/1.4 var(--body);letter-spacing:.03em;color:var(--muted)}
.pics-row{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:10px}
.pics-row .g-tile{width:clamp(76px,8vw,104px);border-radius:4px;background:#f4f1ea}
@media (hover:hover){.pics-row .g-tile:hover img{transform:scale(1.06)}}
html[data-theme="light"] .statement-card .pics-label{color:#5b4a3a}

/* Reduced motion: everything still */
@media (prefers-reduced-motion:reduce){
 .rise,.mobile-menu,.menu-links li{animation:none!important}
 *,*::before,*::after{transition-duration:.01ms!important;scroll-behavior:auto!important}
}
/* v0.4.15 About page: the owner's About text in paragraphs (replaces the facts grid and Sources list) */
.about-body{margin-top:14px;max-width:72ch}
.about-body p,.post-body li{font-size:16px;line-height:1.65;color:#ddd5ca;margin:0 0 12px}
.about-body h2{font:400 clamp(20px,1.6vw,24px)/1.3 var(--serif);color:var(--gold-hi);margin:18px 0 8px;letter-spacing:-.01em}
.about-body a{color:#eac99d;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.about-body a:hover,.about-body a:focus-visible{color:var(--gold-hi)}
html[data-theme="light"] .about-body p,html[data-theme="light"] .post-body li{color:#3a2d22}
html[data-theme="light"] .about-body h2{color:#7a4c15}
html[data-theme="light"] .about-body a{color:#6b4416}
html[data-theme="light"] .about-body a:hover,html[data-theme="light"] .about-body a:focus-visible{color:#4a2e0c}
/* v0.4.17 Contact page: the protocol flows on the page in one reading column (no card, no inner scroll panel) */
.contact-wrap{width:100%;max-width:860px;margin:0 auto}
.contact-intro .lead{max-width:62ch}
.contact-intro .lead a{color:#eac99d;text-decoration:underline;text-underline-offset:3px}
.contact-doc{margin-top:clamp(28px,4vw,48px);padding-top:clamp(24px,3vw,36px);border-top:1px solid var(--line);color:#ddd5ca}
.contact-doc .doc-title{color:var(--cream);max-width:none}
.contact-doc .doc-sub{color:var(--muted)}
.contact-doc .doc-meta{color:#d6cec2}
.contact-doc h3{margin:44px 0 14px;font:700 clamp(17px,1.4vw,20px)/1.4 var(--body);letter-spacing:.03em;color:var(--gold-hi);scroll-margin-top:calc(var(--head) + 20px)}
.contact-doc section{scroll-margin-top:calc(var(--head) + 20px)}
.statement-card,.legal-item{scroll-margin-top:calc(var(--head) + 20px)}   /* v0.4.64: a linked statement or section opens below the header */
.contact-doc p,.contact-doc .defs div,.contact-doc .doc-links{font-size:16.5px;line-height:1.75;margin:0 0 12px;max-width:74ch;color:#ddd5ca}
.contact-doc a{color:#eac99d;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.contact-doc .addr{overflow-wrap:anywhere}
.contact-doc a:hover,.contact-doc a:focus-visible{color:var(--gold-hi)}
.contact-doc .doc-meta dt,.contact-doc .defs dt{color:var(--cream)}
.contact-doc .clause-no{color:var(--gold)}
.contact-doc .clause-key{border-left-color:var(--gold);background:rgba(218,181,128,.08)}
.contact-doc .doc-toc th,.contact-doc .doc-toc td{border-color:rgba(225,191,143,.25);color:#e6ddd0}
.contact-doc .doc-toc a{color:#e6ddd0;text-decoration:none}
.contact-doc .doc-toc a:hover,.contact-doc .doc-toc a:focus-visible{color:var(--gold-hi);text-decoration:underline}
.contact-doc .doc-issued{border-top-color:var(--line)}
@media (max-width:560px){.contact-doc p,.contact-doc .defs div,.contact-doc .doc-links{font-size:15.5px;line-height:1.7}.contact-doc .defs div{margin-left:0}}
html[data-theme="light"] .contact-intro .lead a{color:#6b4416}
html[data-theme="light"] .contact-doc{border-top-color:rgba(74,56,40,.2);color:#2a2119}
html[data-theme="light"] .contact-doc .doc-title{color:#151311}
html[data-theme="light"] .contact-doc .doc-sub{color:#5f4e3d}
html[data-theme="light"] .contact-doc .doc-meta{color:#3a2d22}
html[data-theme="light"] .contact-doc h3{color:#7a4c15}
html[data-theme="light"] .contact-doc p,html[data-theme="light"] .contact-doc .defs div,html[data-theme="light"] .contact-doc .doc-links{color:#2a2119}
html[data-theme="light"] .contact-doc a{color:#6b4416}
html[data-theme="light"] .contact-doc a:hover,html[data-theme="light"] .contact-doc a:focus-visible{color:#4a2e0c}
html[data-theme="light"] .contact-doc .doc-meta dt,html[data-theme="light"] .contact-doc .defs dt{color:#151311}
html[data-theme="light"] .contact-doc .clause-no{color:#7a4519}
html[data-theme="light"] .contact-doc .clause-key{border-left-color:#7a4c15;background:rgba(122,76,21,.07)}
html[data-theme="light"] .contact-doc .doc-toc th,html[data-theme="light"] .contact-doc .doc-toc td{border-color:rgba(74,56,40,.3);color:#2a2119}
html[data-theme="light"] .contact-doc .doc-toc a{color:#2a2119}
html[data-theme="light"] .contact-doc .doc-toc a:hover,html[data-theme="light"] .contact-doc .doc-toc a:focus-visible{color:#6b4416}
html[data-theme="light"] .contact-doc .doc-issued{border-top-color:rgba(74,56,40,.2)}
/* v0.4.18 Contact page: one type pattern, as on the About page (serif titles, sans body, small spaced gold labels) */
.contact-intro .lead{font:400 16px/1.65 var(--body);color:#ddd5ca}
.contact-doc .doc-title{font:400 clamp(26px,2.4vw,36px)/1.2 var(--serif);letter-spacing:-.01em}
.contact-doc .doc-sub{margin-top:8px;font:400 15px/1.6 var(--body);font-style:normal;color:var(--muted)}
.contact-doc .doc-meta{margin-top:18px;font:400 15px/1.8 var(--body)}
.contact-doc .doc-meta dt,.contact-doc .defs dt{font-weight:600}
.contact-doc h3{margin:44px 0 14px;font:600 13px/1.5 var(--body);letter-spacing:.14em;color:var(--gold-lo)}
.contact-doc .clause-no,.contact-doc .clause-key strong{font-weight:600}
.contact-doc .doc-toc th,.contact-doc .doc-toc td{font-weight:400;font-size:14.5px}
.contact-doc .doc-toc th{font-weight:600;font-size:12.5px;letter-spacing:.12em}
.contact-doc .doc-issued strong{font-weight:600}
@media (max-width:560px){.contact-intro .lead{font-size:15.5px}.contact-doc h3{font-size:12.5px;letter-spacing:.12em}}
html[data-theme="light"] .contact-intro .lead{color:#3a2d22}
html[data-theme="light"] .contact-doc h3{color:#7a4c15}
/* v0.4.22 Header on every page: face icon only; the name text is visually hidden (still read by screen readers) */
.wordmark .brand-letters{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}
/* v0.4.23 Home page: the same calm entrance as the About page on load and reload (replaces the bar reveal).
   Keyframes without an end state finish at each layer's own opacity and position, so nothing else moves. */
.hero-portrait{animation:rise-in .8s var(--ease) .04s both}
.mantra-flow,.hero-veil{animation:fade-in .8s var(--ease) .04s both}
@keyframes rise-in{from{opacity:0;translate:0 18px}}
@keyframes fade-in{from{opacity:0}}
@media (prefers-reduced-motion:reduce){.hero-portrait,.mantra-flow,.hero-veil{animation:none!important}}
/* v0.4.31: reading comfort. The site is read by senior officials and other readers who prefer large, clear
   type: text sizes raised throughout and small light-theme text darkened to at least 7:1 contrast. Same fonts,
   colours and layout; only size, weight and shade change. The owner's line under the name is darker and larger. */
.navlink{font-size:17px}
.lead,.legal-head .lead{font-size:clamp(20px,1.55vw,24px)}
.about-body p,.post-body li{font-size:19px;line-height:1.7}
.about-body h2{font-size:clamp(23px,1.8vw,27px)}
.sources{font-size:16px}
.kicker,.eyebrow,.statement-full summary,.statement-card .eyebrow{font-size:15px}
.statement-card p{font-size:19px;line-height:1.7}
.statement-meta{font-size:16px}
.statement-card .statement-source,.statement-card .pics-label{font-size:16px}
.statement-full .count{font-size:15px}
.legal-item h2{font-size:22px}
.legal-item p{font-size:18px;line-height:1.7}
.legal-status{font-size:15px}
.pill-list a,.legal-related a{font-size:16px}
.gallery-sum,.gallery-note{font-size:16px}
.g-over time{font-size:14px}
.g-line{font-size:17px}
.g-n{font-size:13px}
.lb-cap{font-size:18px}
.lb-cap .g-held{font-size:16px}
.lb-date,.lb-ig{font-size:16px}
.lb-count{font-size:15px}
.side-lead{font-size:17px}
.contact-intro .lead{font-size:18px}
.contact-doc p,.contact-doc .defs div,.contact-doc .doc-links{font-size:18px;line-height:1.7}
.contact-doc .doc-meta,.contact-doc .doc-sub{font-size:17px}
.contact-doc h3{font-size:14.5px}
.contact-doc .doc-toc th{font-size:15px}
.contact-doc .doc-toc td{font-size:16px}
.hero-roles.hero-line{font-size:clamp(19px,1.6vw,26px);font-weight:500;color:#f6ecdc}
.hero-roles.hero-line span{color:var(--gold-hi)}
@media (max-width:860px){
 .about-body p,.post-body li,.statement-card p{font-size:18px}
 .legal-item p,.contact-doc p,.contact-doc .defs div,.contact-doc .doc-links{font-size:17px}
 .lead,.legal-head .lead{font-size:19px}
 .hero-roles.hero-line{font-size:19px}
}
html[data-theme="light"] .eyebrow,html[data-theme="light"] .statement-card .eyebrow,html[data-theme="light"] .full-url-label,html[data-theme="light"] .statement-meta,html[data-theme="light"] .about-body h2{color:#5a340b}
html[data-theme="light"] .statement-full summary,html[data-theme="light"] .sources summary,html[data-theme="light"] .sources a,html[data-theme="light"] .statement-source a,html[data-theme="light"] .legal-item a,html[data-theme="light"] .pill-list a,html[data-theme="light"] .legal-related a,html[data-theme="light"] .about-body a{color:#5a340b}
html[data-theme="light"] .statement-full .count,html[data-theme="light"] .statement-card .statement-source,html[data-theme="light"] .statement-card .pics-label,html[data-theme="light"] .foot-copy,html[data-theme="light"] .legal-status,html[data-theme="light"] .gallery-sum,html[data-theme="light"] .gallery-note{color:#3a2d22}
html[data-theme="light"] .contact-doc h3,html[data-theme="light"] .gallery-note a{color:#5a340b}
@media (min-width:861px){
 html[data-theme="light"] .hero-roles.hero-line{color:#000}
 html[data-theme="light"] .hero-roles.hero-line span{color:#3a2004}
}
@media (max-width:860px){
 html[data-theme="light"] .hero-roles.hero-line{color:#f6ecdc}
 html[data-theme="light"] .hero-roles.hero-line span{color:var(--gold-hi)}
}
/* v0.4.34: About page as a story. Each part of the text sits beside a photograph of the owner, alternating sides on
   tablets and computers (photo a third, text two thirds); on phones each photograph comes first and its text below. */
.about-story{width:100%;max-width:1240px;margin:0 auto;display:flex;flex-direction:column;gap:clamp(48px,7vw,104px)}
.about-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:clamp(32px,5vw,80px);align-items:center}
.about-row.is-flip{grid-template-columns:minmax(0,2fr) minmax(0,1fr)}
.about-row.is-flip .about-pic{order:2}
.about-pic{margin:0;border-radius:22px;overflow:hidden;border:1px solid var(--line);aspect-ratio:3/4;box-shadow:0 30px 70px rgba(0,0,0,.45)}
.about-pic img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 12%}
.about-row .about-body{margin:0;max-width:none}
.about-row .about-body h1{margin-top:0}
.about-row .about-body p{font-size:22px;line-height:1.75;margin:0}
.about-row .about-body h2{margin:0 0 14px}
@media (max-width:860px){
 .about-story{gap:44px}
 .about-row,.about-row.is-flip{grid-template-columns:minmax(0,1fr);gap:24px}
 .about-row.is-flip .about-pic{order:0}
 .about-pic{width:min(100%,440px);margin:0 auto}
 .about-row .about-body p{font-size:20px}
}
html[data-theme="light"] .about-pic{border-color:rgba(74,56,40,.2);box-shadow:0 24px 50px rgba(60,40,20,.16)}
/* v0.4.34, v0.4.38: calm page and theme changes. The whole page cross-fades evenly (old and new at the same pace)
   where the browser supports it; visitors who ask for reduced motion get an instant change. */
@view-transition{navigation:auto}
::view-transition-old(root),::view-transition-new(root){animation-duration:.45s;animation-timing-function:ease}
@media (prefers-reduced-motion:reduce){@view-transition{navigation:none}}
/* v0.4.36: reading text on every page as large as on the About page; the name easier on the eyes (normal letter
   spacing instead of tightly packed letters, a little more room between its two lines, the two colours closer in
   strength); the About photo on phones blends into the page at its lower edge again, as before v0.4.34. */
.navlink{font-size:18px}
.lead,.legal-head .lead{font-size:clamp(21px,1.6vw,25px)}
.kicker,.eyebrow,.statement-full summary,.statement-card .eyebrow,.statement-full .count{font-size:16px}
.statement-card p{font-size:22px;line-height:1.75}
.statement-meta{font-size:18px}
.statement-card .statement-source,.statement-card .pics-label{font-size:17px}
.legal-cols{columns:auto;max-width:46em}
.legal-item h2{font-size:25px}
.legal-item p{font-size:21px;line-height:1.75}
.legal-status{font-size:16px}
.pill-list a,.legal-related a{font-size:17px}
.contact-intro .lead{font-size:20px}
.contact-doc p,.contact-doc .defs div,.contact-doc .doc-links{font-size:21px;line-height:1.75}
.contact-doc .doc-meta,.contact-doc .doc-sub{font-size:19px}
.contact-doc h3{font-size:16px}
.contact-doc .doc-toc td{font-size:18px}
.gallery-sum,.gallery-note{font-size:18px}
.g-line{font-size:18px}
.lb-cap{font-size:20px}
.lb-cap .g-held{font-size:17px}
.hero h1{letter-spacing:-.015em;line-height:1}
.page h1{letter-spacing:-.015em;line-height:1.08}
.hero h1,.page h1{color:#ebe2d3}
html[data-theme="light"] .hero h1 em,html[data-theme="light"] .page h1 em{color:#5e3a10}
html[data-theme="light"] .contact-doc .clause-no{color:#5a340b}
@media (max-width:860px){
 .statement-card p,.legal-item p,.contact-doc p,.contact-doc .defs div,.contact-doc .doc-links{font-size:20px}
 .lead,.legal-head .lead{font-size:20px}
 .lb-cap{font-size:19px}
 html[data-theme="light"] .hero h1{color:#ebe2d3}
 html[data-theme="light"] .hero h1 em{color:var(--gold-hi)}
}
/* v0.4.38: installing and updating, kept out of the way. A small install icon in the header (wide screens) and an
   item in the phone menu; a quiet version line in the footer; small notices in the corner that never cover the page. */
.notice-close svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.notice{position:fixed;left:20px;bottom:20px;z-index:70;display:flex;align-items:center;gap:12px;max-width:min(440px,calc(100vw - 40px));padding:10px 10px 10px 14px;border-radius:14px;border:1px solid var(--line);background:#161618;box-shadow:0 12px 28px rgba(0,0,0,.4);animation:notice-in .4s var(--ease) both}
.notice[hidden]{display:none}
.notice img{width:36px;height:36px;border-radius:10px;flex:none}
.notice p{margin:0;flex:1 1 auto;font-size:16px;line-height:1.4;color:#e4ddd3}
.notice-action{flex:none;min-height:40px;padding:6px 16px;border-radius:999px;border:0;background:var(--gold);color:#141110;font:600 15px/1.2 var(--body);cursor:pointer}
.notice-action:hover,.notice-action:focus-visible{background:var(--gold-hi)}
.notice-close{flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;border:0;background:none;color:#b9b1a6;cursor:pointer}
.notice-close:hover,.notice-close:focus-visible{color:var(--cream);background:rgba(255,255,255,.06)}
@keyframes notice-in{from{opacity:0;translate:0 12px}}
@media (max-width:560px){.notice{left:12px;right:12px;bottom:12px;max-width:none}}
body.mobile-open .notice{display:none}
@media (prefers-reduced-motion:reduce){.notice{animation:none}}
.ios-guide{width:min(92vw,460px);padding:24px;border-radius:18px;border:1px solid var(--line);background:#161618;color:#ddd5ca}
.ios-guide::backdrop{background:rgba(0,0,0,.55)}
.ios-guide h2{margin:0 0 12px;font:400 26px/1.2 var(--serif);color:#ebe2d3}
.ios-guide ol{margin:0 0 20px;padding-left:1.3em;font-size:18px;line-height:1.65}
.ios-guide svg{vertical-align:-4px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.app-btn{min-height:44px;padding:8px 20px;border-radius:999px;border:0;background:var(--gold);color:#141110;font:600 16px/1.2 var(--body);cursor:pointer}
html[data-theme="light"] .notice{background:#efe8da;border-color:rgba(74,56,40,.2);box-shadow:0 12px 28px rgba(60,40,20,.16)}
html[data-theme="light"] .notice p{color:#2a2119}
html[data-theme="light"] .notice-action,html[data-theme="light"] .app-btn{background:#5a340b;color:#fffaf1}
html[data-theme="light"] .notice-action:hover,html[data-theme="light"] .notice-action:focus-visible{background:#46280a}
html[data-theme="light"] .notice-close{color:#5b4a3a}
html[data-theme="light"] .ios-guide{background:#efe8da;border-color:rgba(74,56,40,.2);color:#2a2119}
html[data-theme="light"] .ios-guide h2{color:#1d1813}
/* v0.4.40: on wider screens the small notices sit at the top right under the header, so they never cover the footer
   while it is being used; on phones they stay at the foot of the screen, within reach of the thumb. */
@media (min-width:561px){.notice{left:auto;right:20px;bottom:auto;top:calc(var(--head) + 16px)}@keyframes notice-in{from{opacity:0;translate:0 -10px}}}
/* v0.4.44: after the owner's review of the footer ("even a kid will say that it is no way a professional approach"):
   - Footer: Contact and the legal pages in one row, the social icons beside them, and a bottom line with the copyright
     and Back to top. No headings and no repeated name, line or page list.
   - Header: Home, About and Sitemap; a bell opens a small panel with the install button (boxed, like the app store
     buttons) and Check for updates. A dot on the bell shows that a new version is ready. */
.home-page .hero{min-height:calc(100svh - var(--head))}
@media (prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}
.site-footer{padding:0 var(--pad-x)}
.foot-main{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:20px 40px;padding:40px 0 32px}
.foot-links{display:flex;flex-wrap:wrap;gap:4px 32px}
.foot-links a{display:inline-block;padding:8px 0;font-size:17px;color:#cfc8bd;transition:color .2s}
.foot-links a:hover,.foot-links a[aria-current]{color:var(--gold-hi)}
.foot-links a[aria-current]{font-weight:600}
.foot-social{display:flex;align-items:center;gap:12px}
.foot-social .social{width:44px;height:44px}
.foot-bar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:4px 32px;padding:16px 0 20px;border-top:1px solid var(--line)}
.foot-copy{font-size:16px;color:#a9aeb6}
.foot-top{display:inline-flex;align-items:center;gap:8px;padding:8px 0;font-size:16px;color:#cfc8bd;transition:color .2s}
.foot-top:hover,.foot-top:focus-visible{color:var(--gold-hi)}
.foot-top svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@media (max-width:860px){.foot-links{gap:0 28px}.foot-links a,.foot-top{padding:10px 0}}
@media (max-width:560px){
 .foot-main{flex-direction:column;align-items:flex-start;gap:20px;padding:32px 0 24px}
 .foot-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:20px;width:100%}
}
html[data-theme="light"] .foot-links a,html[data-theme="light"] .foot-top{color:#3a2d22}
html[data-theme="light"] .foot-links a:hover,html[data-theme="light"] .foot-top:hover,html[data-theme="light"] .foot-top:focus-visible{color:#7a4c15}
html[data-theme="light"] .foot-links a[aria-current]{color:#462805}
html[data-theme="light"] .foot-bar{border-top-color:rgba(74,56,40,.2)}

.bell-toggle{position:relative}
.bell-toggle svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.bell-dot{position:absolute;top:9px;right:10px;width:9px;height:9px;border-radius:50%;background:var(--gold);box-shadow:0 0 0 2px var(--night)}
.bell-dot[hidden]{display:none}
.app-panel{display:none;position:fixed;inset:auto;top:calc(var(--head) + 8px);right:var(--pad-x);z-index:80;margin:0;width:min(340px,calc(100vw - 24px));padding:16px;border-radius:16px;border:1px solid var(--line);background:#161618;color:var(--text);box-shadow:0 18px 40px rgba(0,0,0,.45)}
.app-panel:popover-open,.app-panel.is-open{display:flex;flex-direction:column;gap:12px}
@media (max-width:560px){.app-panel{right:12px}}
.app-badge{display:inline-flex;align-items:center;gap:12px;align-self:flex-start;min-height:60px;padding:9px 20px 9px 10px;border-radius:12px;border:1px solid rgba(255,255,255,.45);background:#09090a;color:var(--cream);text-align:left;cursor:pointer;transition:border-color .2s,transform .2s}
.app-badge[hidden]{display:none}
.app-badge img{flex:none;width:40px;height:40px;border-radius:10px}
.app-badge small{display:block;font:400 13px/1.25 var(--body);color:#d9d1c4}
.app-badge b{display:block;font:600 19px/1.25 var(--body);letter-spacing:.01em}
.app-badge:hover{border-color:var(--gold);transform:translateY(-1px)}
.panel-check{display:flex;align-items:center;gap:12px;width:100%;min-height:48px;padding:10px 4px;border:0;border-radius:8px;background:none;color:var(--cream);font:400 17px/1.3 var(--body);text-align:left;cursor:pointer;transition:border-color .2s,color .2s}
.panel-check:hover{color:var(--gold-hi)}
.app-badge:not([hidden])+.panel-check{margin-top:4px;padding-top:14px;border-top:1px solid var(--line);border-radius:0}
.panel-check svg{flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.panel-status{font-size:16px;line-height:1.5;color:#cfc8bd}
.panel-status:empty{display:none}
.panel-reload{align-self:flex-start;min-height:44px;padding:8px 20px;border-radius:999px;border:0;background:var(--gold);color:#141110;font:600 16px/1.2 var(--body);cursor:pointer}
.panel-reload:hover,.panel-reload:focus-visible{background:var(--gold-hi)}
.panel-reload[hidden]{display:none}
html[data-theme="light"] .app-panel{background:#efe8da;border-color:rgba(74,56,40,.2);color:#2a2119;box-shadow:0 18px 40px rgba(60,40,20,.18)}
html[data-theme="light"] .panel-check{border-color:rgba(74,56,40,.2);color:#1d1813}
html[data-theme="light"] .panel-check:hover{color:#7a4c15}
html[data-theme="light"] .panel-status{color:#3a2d22}
html[data-theme="light"] .panel-reload{background:#5a340b;color:#fffaf1}
html[data-theme="light"] .panel-reload:hover,html[data-theme="light"] .panel-reload:focus-visible{background:#46280a}
html[data-theme="light"] .bell-dot{background:#7a4c15;box-shadow:0 0 0 2px #e5dccb}

.sitemap-group+.sitemap-group{margin-top:clamp(32px,4vw,48px)}
.sitemap-group h2{margin:0 0 8px;font:400 clamp(24px,2vw,30px)/1.2 var(--serif);color:#ebe2d3}
.sitemap-list{margin:0;padding:0;list-style:none;border-top:1px solid var(--line)}
.sitemap-list li{padding:16px 0;border-bottom:1px solid var(--line)}
.sitemap-list a{font:400 21px/1.3 var(--serif);color:var(--gold-hi)}
.sitemap-list a:hover{text-decoration:underline;text-underline-offset:4px}
.record-list .rec-meta a{font:inherit}   /* v0.4.64: issuer links keep the size of the line they sit in */
.sitemap-list p{margin-top:6px;max-width:62em;font-size:17px;line-height:1.6;color:#cfc8bd}
html[data-theme="light"] .sitemap-group h2{color:#1d1813}
html[data-theme="light"] .sitemap-list,html[data-theme="light"] .sitemap-list li{border-color:rgba(74,56,40,.2)}
html[data-theme="light"] .sitemap-list a{color:#5a340b}
html[data-theme="light"] .sitemap-list p{color:#3a2d22}
/* v0.4.48: after the owner's screenshots of the line under the header and the grey seen while the theme changes.
   - No line under the header: the header and the page run on without a separating line in both themes.
   - (Theme change by a spreading circle: replaced in 0.4.49 by a calm cross-fade at the owner's request.) */
.site-header,html[data-theme="light"] .site-header{border-bottom:0}
/* v0.4.49: after the owner's screen recording of the theme change (19 November 2026): "It should be a smooth, gradual
   and subtle switch" and "my photo's size or position or both in home page is getting changed".
   - Theme change: a slow, even cross-fade of the whole page at once (0.7 s), in place of the circle of 0.4.48.
     Colour transitions inside the page are off during it, so every part changes together.
   - Home photo on laptops and desktops: the same in both themes. Dark used an older look (frame 36 px higher, the
     lower body fading into a black silhouette); it now uses the look the owner approved for light on 16 November
     2026 (whole photo, cut cleanly at the bottom of the section). Phones and tablets were already the same. */
html.theme-switching::view-transition-old(root),html.theme-switching::view-transition-new(root){animation-duration:.7s;animation-timing-function:cubic-bezier(.45,0,.25,1)}
html.theme-switching *,html.theme-switching *::before,html.theme-switching *::after{transition:none!important}
@media (min-width:861px){
 .hero-portrait{bottom:-36px}
 .hero-portrait img{-webkit-mask-image:none;mask-image:none}
 .hero-portrait::after{display:none}
}
/* v0.4.51: the top rows of mantras were too faint (owner, 19 November 2026, with screen recordings: "can you increase
   it's opacity and make it more darker or prominent so that people can read but at the same time it should look
   appropriate and appropriately blended"). The shading over the top of the home section is lightened to the level of
   the middle rows, so every row reads evenly; the shading beside the name and at the foot is unchanged. */
.hero-veil{background:linear-gradient(353deg,rgba(7,7,8,.92) 0%,rgba(7,7,8,.25) 50%,rgba(7,7,8,.2) 100%),linear-gradient(90deg,rgba(9,9,10,.75) 0%,rgba(9,9,10,0) 60%)}
@media (min-width:861px){
 html[data-theme="light"] .hero-veil{background:linear-gradient(353deg,rgba(229,220,203,0) 0%,rgba(229,220,203,.2) 50%,rgba(229,220,203,.18) 100%),linear-gradient(90deg,rgba(229,220,203,.86) 0%,rgba(229,220,203,.6) 32%,rgba(229,220,203,0) 60%)}
}
@media (max-width:860px){
 .hero-veil{background:linear-gradient(180deg,rgba(9,9,10,.1) 0%,rgba(9,9,10,0) 26%,rgba(9,9,10,.08) 46%,rgba(9,9,10,.82) 70%,#09090a 100%)}
 html[data-theme="light"] .hero-veil{background:linear-gradient(0deg,#1d1813 0,#1d1813 150px,rgba(29,24,19,.9) 300px,rgba(29,24,19,0) 440px),linear-gradient(180deg,rgba(229,220,203,.1) 0%,rgba(229,220,203,0) 26%)}
}
/* v0.4.52: laptops and desktops. After 0.4.51 the owner showed the top rows still faint on a laptop: a second shading,
   across the whole left side of the home section, still covered every row there (in light, the left third of each
   row showed at about a third of the strength of the right third). That shading now sits only behind the name and
   its line, as a soft glow that follows them at every screen size and stays below the photo; every other row is
   shown at full strength across the width. */
@media (min-width:861px){
 .hero-veil{background:linear-gradient(353deg,rgba(7,7,8,.92) 0%,rgba(7,7,8,.25) 50%,rgba(7,7,8,.2) 100%)}
 html[data-theme="light"] .hero-veil{background:linear-gradient(353deg,rgba(229,220,203,0) 0%,rgba(229,220,203,.2) 50%,rgba(229,220,203,.18) 100%)}
 .hero-copy::before{content:"";position:absolute;inset:-22% -12% -26% -14%;z-index:-2;pointer-events:none;background:radial-gradient(closest-side,rgba(9,9,10,.8) 0%,rgba(9,9,10,.6) 55%,rgba(9,9,10,0) 100%)}
 html[data-theme="light"] .hero-copy::before{background:radial-gradient(closest-side,rgba(229,220,203,.88) 0%,rgba(229,220,203,.64) 55%,rgba(229,220,203,0) 100%)}
}
/* v0.4.53: laptops and desktops. The line under the name sits at the lower edge of the name's glow, so the mantra row
   behind it showed almost fully (owner, 19 November 2026: "the mantras behind the text ... is very prominent ... so
   that the text ... remains readable easily"). A soft band in the page colour now lies behind the line along its whole
   length, matching its height at every size (also when it wraps onto two lines), and fades out above, below and at
   both ends. The name sits one layer above it, so the band never covers a letter (the tail of the "j" in Mukherjee
   reaches into it). */
@media (min-width:861px){
 .hero h1{position:relative;z-index:1}
 .hero-roles.hero-line{position:relative}
 .hero-roles.hero-line::before{content:"";position:absolute;inset:-75% -48px -75% -40px;z-index:-1;pointer-events:none;background:rgba(9,9,10,.9);-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 40px,#000 calc(100% - 48px),transparent 100%),linear-gradient(180deg,transparent 0,#000 30%,#000 70%,transparent 100%);-webkit-mask-composite:source-in;mask-image:linear-gradient(90deg,transparent 0,#000 40px,#000 calc(100% - 48px),transparent 100%),linear-gradient(180deg,transparent 0,#000 30%,#000 70%,transparent 100%);mask-composite:intersect}
 html[data-theme="light"] .hero-roles.hero-line::before{background:rgba(229,220,203,.92)}
}

/* v0.4.54: more presence for the established charcoal and gold, chosen by the owner on 19 November 2026:
   a larger name and page headings, fine gold rules under the name and the About heading, more space between
   About sections and larger statement titles. Same photographs, words, fonts, menu and name spacing. */
:root{--rule:rgba(232,195,140,.6)}
html[data-theme="light"]{--rule:rgba(94,58,16,.5)}

.hero h1{font-size:clamp(52px,min(9.4vw,14svh),160px);line-height:.98}
.hero-roles{font-size:clamp(18px,1.5vw,24px)}
.hero h1::after{content:"";display:block;width:64px;height:1px;margin:22px 0 4px;background:var(--rule)}
.hero-portrait img{filter:brightness(.82) contrast(1.06) saturate(.92)}
html[data-theme="light"] .hero-portrait img{filter:contrast(1.04)}

.page-about .about-row:first-child h1{font-size:clamp(40px,min(5.4vw,9.5svh),84px)}
.page-about .about-row:first-child h1::after{content:"";display:block;width:64px;height:1px;margin-top:18px;background:var(--rule)}
.about-story{gap:clamp(56px,8vw,128px)}
.about-pic{border-color:var(--rule)}
html[data-theme="light"] .about-pic{border-color:var(--rule)}

.page-statements h1{font-size:clamp(44px,min(5.8vw,10svh),92px)}
.statement-card{border-radius:14px;border-top:1px solid var(--rule)}
html[data-theme="light"] .statement-card{border-top:1px solid var(--rule)}
.statement-card h2{font-size:clamp(28px,2.7vw,40px)}
.statement-list{gap:clamp(28px,3vw,44px)}

@media (max-width:860px){
 .hero h1{font-size:clamp(50px,14.5vw,92px)}
}
/* v0.4.55: Recognition page (honours, awards and certifications from the owner's LinkedIn profile), laid out like the
   Sitemap page: each entry's title, then its issuer and date, then a one-line note where there is one. */
.record-list .rec-title{margin:0;font:400 21px/1.3 var(--serif);color:var(--gold-hi)}
.record-list .rec-meta{margin-top:4px;font-size:16px;font-weight:600;color:#ddd5ca}
.record-source{margin-top:clamp(24px,3vw,36px);font-size:17px;color:#cfc8bd}
.record-source a,.record-list .rec-meta a{color:var(--gold-hi);text-decoration:underline;text-underline-offset:4px}
html[data-theme="light"] .record-list .rec-title{color:#5a340b}
html[data-theme="light"] .record-list .rec-meta{color:#2a2119}
html[data-theme="light"] .record-source{color:#3a2d22}
html[data-theme="light"] .record-source a,html[data-theme="light"] .record-list .rec-meta a{color:#5a340b}

/* v0.4.57: the Gallery puts the photographs first and names Instagram only as a quiet source line (owner, 19 November
   2026): larger pictures, the source as a small credit under the grid and in the picture viewer, hashtag-only caption
   lines set smaller and muted. The picture viewer is dark in both themes, so its colours are the same in both. */
.gallery-grid{grid-template-columns:repeat(auto-fill,minmax(min(300px,44vw),1fr));gap:clamp(8px,1.2vw,18px)}
.gallery-note{margin-top:clamp(28px,4vw,48px);padding-top:14px;border-top:1px solid var(--line);font-size:15px;line-height:1.6}
html[data-theme="light"] .gallery-note{border-top-color:rgba(74,56,40,.18)}
.gallery-note a{color:inherit;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
html[data-theme="light"] .gallery-note a{color:inherit}
.lb-ig{font-size:15px;color:var(--muted);text-decoration-thickness:1px;text-decoration-color:rgba(185,177,166,.5)}
.lb-ig:hover,.lb-ig:focus-visible{color:var(--text)}
.lb-cap .g-tags{font:400 15px/1.6 var(--body);color:var(--muted)}
/* v0.4.58: Home photo on square and near-square screens (an opened foldable phone, a square window). The photo's
   width followed the screen width only, so on a square screen it grew taller than the space under the header and
   the head was cut off. Its width is now also limited by the screen height, so the whole head stays below the
   header. Phones and tablets held upright are taller than they are wide and keep exactly the same photo. */
@media (max-width:860px) and (orientation:portrait){
 .hero-portrait{max-width:calc((100svh - var(--head) - clamp(96px,17svh,180px) - 28px) * 1.174)}
}
@media (max-width:860px) and (orientation:portrait) and (max-height:700px){
 .hero-portrait{max-width:calc((100svh - var(--head) - 30svh - 28px) * 1.174)}
}

/* v0.4.63: sideways phones and foldables: a smaller name, so the pause button stays on the first screen. It comes
   last because the general name sizes above would otherwise replace it. */
@media (max-width:860px) and (orientation:landscape){
 .hero h1{font-size:min(13.5vw,17svh)}
}
/* v0.4.63: Windows High Contrast and other forced colours: the line under the name is drawn with a background, which
   these modes remove, so it takes the system text colour instead. */
@media (forced-colors:active){
 .hero h1::after{background:CanvasText}
}
/* v0.4.66: blog posts read like the About text; lists, quotes and smaller headings for longer writing */
.post-body h3{font:400 clamp(18px,1.4vw,21px)/1.35 var(--serif);color:var(--gold-hi);margin:16px 0 6px}
.post-body ul,.post-body ol{margin:0 0 12px;padding-left:1.4em}
.post-body li{margin:0 0 6px}
.post-body blockquote{margin:0 0 12px;padding-left:16px;border-left:2px solid var(--rule)}
.post-body code{font-family:var(--mono);font-size:.92em}
html[data-theme="light"] .post-body h3{color:#7a4c15}
/* A post reads in one column: titles are sentences, longer than the short headings of the policy pages */
.page-post .legal-shell{grid-template-columns:minmax(0,1fr);max-width:820px}
.page-post .legal-head h1{font-size:clamp(32px,3.6vw,50px);line-height:1.12}
/* With Blog the menu has seven items; on the narrowest screens that show it, closer spacing keeps the header buttons in view */
@media (min-width:861px) and (max-width:899px){.nav-desktop:has(.navlink:nth-child(7)){gap:20px}}
/* v0.4.67: footnotes in posts, and the owner's photographs beside Recognition entries */
.post-body sup{font-size:.72em;line-height:0}
.post-body sup a{color:var(--gold-hi);text-decoration:none;padding:0 1px}
.post-body .post-footnote{font-size:15px;line-height:1.6;color:var(--muted)}
.post-body [id]{scroll-margin-top:calc(var(--head) + 20px)}
html[data-theme="light"] .post-body sup a{color:#5a340b}
html[data-theme="light"] .post-body .post-footnote{color:#4a3828}
.record-list .rec-with-photo{display:grid;grid-template-columns:clamp(88px,10vw,128px) minmax(0,1fr);gap:clamp(14px,2vw,22px);align-items:start}
.rec-photo{width:100%;height:auto;aspect-ratio:1;object-fit:cover;border-radius:12px;border:1px solid var(--line)}
/* v0.4.70: countdown to the first full edition, in a raised panel under the line below the name: a heading with a
   small beating mark and the opening time, four number tiles (seconds in gold), a line that fills once a minute and the
   closing sentence. Shown only while theme.js marks the page as before the opening. */
.edition{display:none;width:min(100%,560px);margin-top:clamp(22px,3.4vh,36px);padding:clamp(16px,1.5vw,22px);border:1px solid rgba(218,181,128,.3);border-radius:20px;background:rgba(14,13,12,.8);box-shadow:0 22px 36px rgba(0,0,0,.5),inset 0 1px 0 rgba(255,236,204,.07)}
html.edition-ahead .edition{display:block}
.edition-head{display:flex;align-items:center;justify-content:space-between;gap:6px 16px;flex-wrap:wrap;margin-bottom:14px}
.edition-title{margin:0;font:600 13.5px/1.3 var(--body);letter-spacing:.06em;color:var(--gold-hi)}
.edition-when{margin:0;font:400 13.5px/1.3 var(--body);letter-spacing:.02em;color:#cfc5b6}
.edition-clock{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(6px,.8vw,10px);margin:0}
.edition:not(.is-live) .edition-clock{visibility:hidden}
.edition-unit{display:flex;flex-direction:column;align-items:center;padding:13px 4px 11px;border:1px solid rgba(218,181,128,.16);border-radius:12px;background:rgba(255,248,236,.04);overflow:hidden}
.edition-unit:last-child{border-color:rgba(218,181,128,.45)}
.edition-unit b{display:block;font:500 clamp(32px,3vw,46px)/1 var(--body);letter-spacing:-.01em;font-variant-numeric:lining-nums tabular-nums;color:var(--cream)}
.edition-unit:last-child b{color:var(--gold-hi)}
.edition-unit small{margin-top:8px;font:400 12px/1 var(--body);letter-spacing:.06em;color:#b9b1a6}
.edition-sweep{height:2px;margin-top:14px;border-radius:2px;background:rgba(218,181,128,.14);overflow:hidden}
.edition-sweep span{display:block;height:100%;background:var(--gold);transform-origin:0 50%;transform:scaleX(0)}
.edition-note{margin:12px 0 0;font:500 15px/1.45 var(--body);letter-spacing:.02em;color:#efe4d3}
.sound-btn{color:var(--cream)}
.sound-btn svg{fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.sound-btn[aria-pressed="false"] .sound-waves,.sound-btn[aria-pressed="true"] .sound-off{display:none}
.sound-btn[aria-pressed="true"]{border-color:var(--gold);color:var(--gold-hi)}
.sound-btn:focus-visible{outline:2px solid var(--gold-hi);outline-offset:3px}
@media (max-width:860px){
 .edition{margin-top:16px;padding:14px;border-radius:16px}
 .edition-head{margin-bottom:10px}
 .edition-title,.edition-when{font-size:12.5px}
 .edition-unit{padding:9px 2px 8px;border-radius:10px}
 .edition-unit b{font-size:30px}
 .edition-unit small{margin-top:6px;font-size:11px;letter-spacing:.03em}
 .edition-sweep{margin-top:10px}
 .edition-note{margin-top:9px;font-size:14.5px}
}
@media (max-width:360px){
 .edition{padding:12px}
 .edition-clock{gap:5px}
 .edition-unit b{font-size:26px}
}
@media (min-width:861px){
 html[data-theme="light"] .edition{background:rgba(248,242,230,.9);border-color:rgba(122,76,21,.28);box-shadow:0 22px 36px rgba(70,45,15,.18),inset 0 1px 0 rgba(255,255,255,.7)}
 html[data-theme="light"] .edition-title{color:#7a4c15}
 html[data-theme="light"] .edition-when,html[data-theme="light"] .edition-unit small{color:#4a3828}
 html[data-theme="light"] .edition-unit{border-color:rgba(122,76,21,.18);background:rgba(122,76,21,.04)}
 html[data-theme="light"] .edition-unit:last-child{border-color:rgba(122,76,21,.5)}
 html[data-theme="light"] .edition-unit b,html[data-theme="light"] .edition-note{color:#1d1813}
 html[data-theme="light"] .edition-unit:last-child b{color:#7a4c15}
 html[data-theme="light"] .edition-sweep{background:rgba(122,76,21,.14)}
 html[data-theme="light"] .edition-sweep span{background:#7a4c15}
 html[data-theme="light"] .sound-btn[aria-pressed="true"]{border-color:#7a4c15;color:#7a4c15}
}
@media (forced-colors:active){
 .edition,.edition-unit{border-color:CanvasText}
 .edition-sweep span{background:CanvasText}
}
/* While the countdown shows, phones and tablets held upright lift the photo by the panel's height, so the name stays
   below the face as before; the photo's size rule uses the same height. Both return when the countdown goes. */
@media (max-width:860px) and (orientation:portrait){
 html.edition-ahead .hero-portrait{bottom:calc(clamp(96px,17svh,180px) + 190px);max-width:calc((100svh - var(--head) - clamp(96px,17svh,180px) - 218px) * 1.174)}
}
@media (max-width:860px) and (orientation:portrait) and (max-height:700px){
 html.edition-ahead .hero{justify-content:flex-start;padding-top:calc(27svh + 6px);padding-bottom:12px}
 html.edition-ahead .hero-portrait{top:0;bottom:auto;height:27svh;width:auto;max-width:none}
 html.edition-ahead .hero-portrait{-webkit-mask-image:linear-gradient(180deg,#000 70%,transparent 100%);mask-image:linear-gradient(180deg,#000 70%,transparent 100%)}
 html.edition-ahead .hero h1{font-size:clamp(38px,11vw,46px)}
 html.edition-ahead .hero-roles.hero-line{margin-top:10px;font-size:16px;line-height:1.4}
 html.edition-ahead .hero-bar{margin-top:8px}
 .edition{margin-top:10px;padding:10px 12px;border-radius:14px}
 .edition-head{margin-bottom:7px}
 .edition-title,.edition-when{font-size:11.5px}
 .edition-unit{padding:6px 2px 5px;border-radius:9px}
 .edition-unit b{font-size:24px}
 .edition-unit small{margin-top:4px;font-size:10px}
 .edition-sweep{margin-top:7px}
 .edition-note{margin-top:6px;font-size:13px}
}
/* Sideways phones and short screens: while the countdown shows, a smaller name and a tighter panel keep the pause
   button on the first screen (as in v0.4.63). */
@media (orientation:landscape) and (max-height:500px){
 html.edition-ahead .hero{padding-top:10px;padding-bottom:10px}
 html.edition-ahead .hero h1{font-size:min(8vw,10svh)}
 html.edition-ahead .hero-roles.hero-line{margin-top:6px;font-size:15px;line-height:1.35}
 html.edition-ahead .hero-copy{max-width:64%}
 html.edition-ahead .hero-bar{margin-top:6px}
 .edition{width:min(100%,460px);margin-top:8px;padding:9px 12px;border-radius:14px}
 .edition-head{margin-bottom:6px}
 .edition-title,.edition-when{font-size:11.5px}
 .edition-unit{flex-direction:row;align-items:baseline;justify-content:center;gap:5px;padding:5px 2px;border-radius:8px}
 .edition-unit b{font-size:20px}
 .edition-unit small{margin-top:0;font-size:10.5px}
 .edition-sweep{margin-top:6px}
 .edition-note{margin-top:5px;font-size:12.5px}
}
/* v0.4.71: the countdown as a bar above the header on every page except Home (owner: "non removable notification
   bar"). It stays in view with the header, so the header, the phone menu, the bell panel, notices and linked sections
   are placed below it; --bar is 0 on Home and once the countdown has gone. */
:root{--bar:0px}
html.edition-ahead body:not(.home-page){--bar:44px}
.edition-bar{display:none}
html.edition-ahead .edition-bar{position:sticky;top:0;z-index:61;display:flex;align-items:center;justify-content:center;gap:8px 20px;height:var(--bar);padding:0 var(--pad-x);border-bottom:1px solid rgba(218,181,128,.3);background:#121110;font:500 13px/1.2 var(--body);color:#e6ddd0;box-shadow:0 8px 18px rgba(0,0,0,.28)}
.edition-bar:not(.is-live) .bar-clock{visibility:hidden}
.bar-title{color:var(--gold-hi);font-weight:600;letter-spacing:.04em}
.bar-clock{display:flex;gap:6px;margin:0}
.bar-unit{display:inline-flex;align-items:baseline;gap:2px;padding:3px 7px;border:1px solid rgba(218,181,128,.24);border-radius:7px;background:rgba(255,248,236,.04);overflow:hidden}
.bar-unit:last-child{border-color:rgba(218,181,128,.5)}
.bar-unit b{min-width:2ch;font-weight:600;font-variant-numeric:tabular-nums;text-align:right;color:var(--cream)}
.bar-unit:last-child b{color:var(--gold-hi)}
.bar-unit small{font-size:11px;color:#b9b1a6}
.bar-when{color:#cfc5b6}
.site-header{top:var(--bar)}
.mobile-menu{top:calc(var(--head) + var(--bar))}
.app-panel{top:calc(var(--head) + var(--bar) + 8px)}
@media (min-width:561px){.notice{top:calc(var(--head) + var(--bar) + 16px)}}
@media (min-width:1000px){.page-statements .page-intro{top:calc(var(--head) + var(--bar) + 40px)}}
.statement-card,.legal-item,.contact-doc section,.contact-doc h3,.post-body [id]{scroll-margin-top:calc(var(--head) + var(--bar) + 20px)}
.protocol-doc section{scroll-margin-top:calc(var(--head) + var(--bar) + 16px)}
@media (max-width:640px){
 html.edition-ahead body:not(.home-page){--bar:62px}
 html.edition-ahead .edition-bar{display:grid;grid-template-columns:auto auto;grid-template-areas:"title when" "clock clock";justify-content:space-between;align-content:center;gap:5px 12px;font-size:12px}
 .bar-title{grid-area:title}
 .bar-when{grid-area:when;text-align:right}
 .bar-clock{grid-area:clock;justify-content:center}
 .bar-unit{padding:2px 8px}
}
html[data-theme="light"] .edition-bar{border-bottom-color:rgba(122,76,21,.3);background:#efe6d6;color:#1d1813;box-shadow:0 8px 18px rgba(70,45,15,.12)}
html[data-theme="light"] .bar-title{color:#7a4c15}
html[data-theme="light"] .bar-unit{border-color:rgba(122,76,21,.24);background:rgba(122,76,21,.04)}
html[data-theme="light"] .bar-unit:last-child{border-color:rgba(122,76,21,.5)}
html[data-theme="light"] .bar-unit b{color:#1d1813}
html[data-theme="light"] .bar-unit:last-child b{color:#7a4c15}
html[data-theme="light"] .bar-unit small{color:#4a3828}
html[data-theme="light"] .bar-when{color:#3a2d22}
@media (forced-colors:active){.edition-bar,.bar-unit{border-color:CanvasText}}
/* v0.4.72: light theme on phones and upright tablets. The dark ground behind the name (440 px high) was set before the
   countdown panel lifted the name about 200 px; while the panel shows, the ground reaches higher so the name and the
   line are on dark again (owner, 21 November 2026: the first name was not readable). Short phones lift less. */
@media (max-width:860px){
 html[data-theme="light"].edition-ahead .hero-veil{background:linear-gradient(0deg,#1d1813 0,#1d1813 400px,rgba(29,24,19,.9) 560px,rgba(29,24,19,0) 700px),linear-gradient(180deg,rgba(229,220,203,.1) 0%,rgba(229,220,203,0) 26%)}
}
@media (max-width:860px) and (orientation:portrait) and (max-height:700px){
 html[data-theme="light"].edition-ahead .hero-veil{background:linear-gradient(0deg,#1d1813 0,#1d1813 330px,rgba(29,24,19,.9) 450px,rgba(29,24,19,0) 530px),linear-gradient(180deg,rgba(229,220,203,.1) 0%,rgba(229,220,203,0) 26%)}
}
/* v0.4.73: the countdown as a compact strip (owner, 21 November 2026: the panel and the dark ground behind it took so
   much of the phone screen that little was left for the mantras, and on laptops the name went to the very top). Same
   words and colours: heading and date on one line, the four numbers on one line, then the filling line and "Stay tuned."
   Wide screens: the name sits lower and a little smaller while the countdown shows. Phones: a shorter dark ground (still
   readable: name_readable) and smaller pause and sound buttons whose tap area stays 44 px. Guarded by home_balance. */
html.edition-ahead .edition{display:grid;grid-template-columns:minmax(0,1fr) auto auto;grid-template-areas:"title when when" "clock clock clock" "sweep sweep note";align-items:center;column-gap:12px;width:min(100%,540px);margin-top:clamp(18px,2.6vh,28px);padding:12px 16px 11px;border-radius:14px;box-shadow:0 12px 26px rgba(0,0,0,.35),inset 0 1px 0 rgba(255,236,204,.06)}
.edition-head{display:contents}
.edition-title{grid-area:title;font-size:13px;white-space:nowrap}
.edition-when{grid-area:when;text-align:right;font-size:13px;white-space:nowrap}
.edition-clock{grid-area:clock;display:flex;gap:6px;margin-top:9px}
.edition-unit{flex:1 1 0;flex-direction:row;align-items:baseline;justify-content:center;gap:5px;padding:6px 4px 5px;border-radius:9px}
.edition-unit b{font-size:24px}
.edition-unit small{margin-top:0;font-size:11.5px;letter-spacing:.03em}
.edition-sweep{grid-area:sweep;margin-top:9px}
.edition-note{grid-area:note;margin:9px 0 0;font-size:13.5px;line-height:1.2}
@media (min-width:861px){
 html.edition-ahead .hero h1{font-size:clamp(44px,min(7.4vw,11.5svh),132px)}
 html.edition-ahead .hero-roles.hero-line{margin-top:16px}
 .edition-unit b{font-size:26px}
}
@media (max-width:860px){
 html.edition-ahead .edition{margin-top:14px;padding:10px 12px 9px;border-radius:12px}
 .edition-title,.edition-when{font-size:12px}
 .edition-clock{gap:5px;margin-top:8px}
 .edition-unit{padding:5px 2px 4px;gap:3px;border-radius:8px}
 .edition-unit b{font-size:20px}
 .edition-unit small{font-size:10.5px}
 .edition-sweep,.edition-note{margin-top:8px}
 .edition-note{font-size:12.5px}
 /* smaller buttons on phones; the tap area stays 44 px */
 .hero-bar{margin-top:10px;gap:10px}
 .motion-btn{position:relative;width:36px;height:36px}
 .motion-btn::after{content:"";position:absolute;inset:-5px}
 .motion-btn svg{width:16px;height:16px}
 .motion-btn .pause-icon{width:9px;height:11px}
}
@media (max-width:380px){
 .edition-title,.edition-when{font-size:11.5px}
 .edition-unit small{font-size:10px}
}
@media (max-width:860px) and (orientation:portrait){
 html.edition-ahead .hero-portrait{bottom:calc(clamp(96px,17svh,180px) + 104px);max-width:calc((100svh - var(--head) - clamp(96px,17svh,180px) - 132px) * 1.174)}
 html[data-theme="light"].edition-ahead .hero-veil{background:linear-gradient(0deg,#1d1813 0,#1d1813 300px,rgba(29,24,19,.9) 400px,rgba(29,24,19,0) 520px),linear-gradient(180deg,rgba(229,220,203,.1) 0%,rgba(229,220,203,0) 26%)}
}
@media (max-width:860px) and (orientation:portrait) and (max-height:700px){
 html.edition-ahead .hero{justify-content:flex-end;padding-top:12px;padding-bottom:12px}
 html.edition-ahead .hero-portrait{top:0;bottom:auto;height:62svh;width:auto;max-width:none;-webkit-mask-image:none;mask-image:none}
 html[data-theme="light"].edition-ahead .hero-veil{background:linear-gradient(0deg,#1d1813 0,#1d1813 250px,rgba(29,24,19,.9) 335px,rgba(29,24,19,0) 420px),linear-gradient(180deg,rgba(229,220,203,.1) 0%,rgba(229,220,203,0) 26%)}
 html.edition-ahead .hero h1{font-size:clamp(36px,10.5vw,42px)}
 html.edition-ahead .hero-roles.hero-line{margin-top:8px;font-size:15px}
 html.edition-ahead .edition{margin-top:10px;padding:8px 10px 7px}
 .edition-clock{margin-top:6px}
 .edition-unit{padding:4px 2px 3px}
 .edition-unit b{font-size:18px}
 .edition-sweep,.edition-note{margin-top:6px}
 .hero-bar{margin-top:8px}
}
@media (orientation:landscape) and (max-height:500px){
 html.edition-ahead .edition{width:min(100%,440px);margin-top:8px;padding:7px 10px 6px}
 .edition-clock{margin-top:5px}
 .edition-unit b{font-size:17px}
 .edition-sweep,.edition-note{margin-top:5px}
}
