/* Rudrabha Mukherjee, personal 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}
.install-btn{min-height:44px;padding:8px 16px;border-radius:999px;border:1px solid rgba(218,181,128,.5);background:transparent;color:var(--gold);font-size:12px;letter-spacing:.14em;text-transform:uppercase;cursor:pointer;transition:background .25s}
.install-btn:hover{background:rgba(218,181,128,.12)}
.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-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}
.ornament{font-family:var(--dev);font-size:18px;color:#dcb779;margin:clamp(12px,2.6vh,26px) 0 clamp(4px,1.2vh,12px)}
.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-cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:clamp(18px,3.4vh,36px)}
.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-grid{display:grid;grid-template-columns:minmax(0,.78fr) minmax(0,2fr);gap:clamp(28px,4vw,64px);align-items:center;width:100%;max-width:1320px;margin:0 auto}
.about-photo{border-radius:24px;overflow:hidden;border:1px solid var(--line);aspect-ratio:3/4;max-height:calc(100svh - var(--head) - 150px);box-shadow:0 30px 70px rgba(0,0,0,.45)}
.about-photo img{width:100%;height:100%;object-fit:cover;object-position:50% 8%;transition:transform 1.2s var(--ease)}
.about-photo:hover img{transform:scale(1.05)}
.about-text{columns:2 300px;column-gap:36px;margin-top:16px}
.about-text p{font-size:16px;line-height:1.65;color:#ddd5ca;margin:0 0 10px;break-inside:avoid}
.facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;margin-top:16px;background:var(--line);border:1px solid var(--line);border-radius:16px;overflow:hidden}
.facts div{position:relative;background:var(--ink);padding:12px 16px 14px;transition:background-color .3s}
.facts div::before{content:"";position:absolute;left:0;top:0;width:100%;height:2px;background:var(--strip);transform:scaleX(0);transform-origin:left;transition:transform .5s var(--ease)}
.facts div:hover{background:#18181a}
.facts div:hover::before{transform:scaleX(1)}
.facts dt{font-size:12px;font-weight:650;letter-spacing:.18em;text-transform:uppercase;color:var(--gold-lo);margin-bottom:4px}
.facts dd{font-size:15px;line-height:1.45;color:#e4ddd3}
.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-shell{display:grid;grid-template-columns:minmax(260px,340px) minmax(0,1fr);gap:clamp(24px,3.5vw,56px);width:100%;max-width:1400px;margin:0 auto}
.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}
.protocol-toc{width:100%}
.toc-label{font-size:12px;letter-spacing:.18em;text-transform:uppercase;color:#b9b1a6;margin-bottom:8px}
.protocol-toc ol{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
.protocol-toc li:nth-child(-n+3){grid-column:span 5}
.protocol-toc a{display:flex;align-items:center;justify-content:center;min-height:40px;padding:4px 8px;border-radius:10px;border:1px solid rgba(255,255,255,.14);font-size:14px;color:#d9d1c4;transition:background-color .25s,border-color .25s,color .25s}
.protocol-toc li:nth-child(-n+3) a{justify-content:flex-start;padding-left:14px}
.protocol-toc a:hover{border-color:var(--gold)}
.protocol-toc a.is-active{background:rgba(218,181,128,.16);border-color:var(--gold);color:#ffe0ad}
.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}

/* 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}
.footer-inner{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 28px;min-height:44px}
.foot-copy{font-size:13px;color:#a9aeb6}
.foot-links{display:flex;flex-wrap:wrap;gap:0 18px}
.foot-links a{display:inline-block;padding:8px 0;font-size:13px;color:#cfc8bd;transition:color .2s}
.foot-links a:hover{color:var(--gold-hi)}
.foot-social{display:flex;align-items:center;gap:8px}
.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-shell{flex:1 1 auto;min-height:0;height:100%}
 .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-photo{max-height:calc(100svh - var(--head) - 120px)}
 .about-text{margin-top:10px}
 .about-text p{font-size:15px;line-height:1.55;margin-bottom:6px}
 .facts{margin-top:12px}
 .facts div{padding:9px 14px 10px}
 .facts dd{font-size:14px}
 .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-photo{max-height:calc(100svh - var(--head) - 100px)}
 .about-text{margin-top:6px}
 .about-text p{font-size:14px;line-height:1.5;margin-bottom:4px}
 .facts{margin-top:8px}
 .facts div{padding:7px 12px 8px}
 .facts dt{margin-bottom:2px}
 .facts dd{font-size:13.5px;line-height:1.4}
 .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)}
 .ornament{margin:8px 0 4px}
 .hero-sub{margin-top:10px}
 .hero-cta{margin-top:16px}
 .site-footer{padding-top:8px;padding-bottom:8px}
}
/* Tablet and phone */
@media (max-width:1100px){
 .facts{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:999px){
 .about-grid,.statements-grid,.legal-shell,.protocol-shell{grid-template-columns:minmax(0,1fr)}
 .about-photo{max-width:240px;max-height:none}
 .protocol-toc ol{grid-template-columns:repeat(9,minmax(0,1fr))}
 .protocol-toc li:nth-child(-n+3){grid-column:span 3}
}
@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%}
 .ornament{margin:0 0 6px;font-size:16px}
 .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-cta{gap:8px;margin-top:18px}
 .hero-cta .btn{min-height:44px;padding:10px 16px;font-size:12px;letter-spacing:.1em;gap:10px}
 .hero-bar{position:static;margin-top:16px;gap:8px 14px;align-items:flex-start}
 .about-photo{max-width:none;width:calc(100% + 2 * var(--pad-x));margin:calc(-1 * clamp(24px,5vh,60px)) calc(-1 * var(--pad-x)) 0;aspect-ratio:4/5;max-height:72svh;border:0;border-radius:0;box-shadow:none;-webkit-mask-image:linear-gradient(180deg,#000 62%,transparent 100%);mask-image:linear-gradient(180deg,#000 62%,transparent 100%)}
 .about-photo:hover img{transform:none}
 .about-copy{margin-top:-14vh;position:relative}
 .footer-inner{display:grid;grid-template-columns:1fr;gap:14px;padding:12px 0 6px}
 .foot-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 12px}
 .foot-links a{padding:10px 0;font-size:14px}
 .foot-social{flex-wrap:wrap}
 .foot-copy{order:3;font-size:12.5px}
}
@media (max-width:560px){
 .brand-letters{font-size:12px;letter-spacing:.2em}
 .brand-sub{letter-spacing:.22em}
 .hero-cta .btn{flex:0 0 auto}
 .foot-links{grid-template-columns:repeat(2,minmax(0,1fr))}
 .facts{grid-template-columns:minmax(0,1fr)}
 .protocol-toc ol{grid-template-columns:repeat(5,minmax(0,1fr))}
 .protocol-toc li:nth-child(-n+3){grid-column:span 5}
 .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,.facts dt,.statement-card .eyebrow{letter-spacing:.16em}
.facts{border:0;border-radius:0;background:none;border-top:1px solid var(--line)}
.facts div{background:transparent}
.facts div::before{display:none}
.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}}
@media (max-width:999px){.protocol-toc ol{grid-template-columns:repeat(15,minmax(0,1fr))}.protocol-toc li:nth-child(-n+3){grid-column:span 5}}
@media (max-width:560px){.protocol-toc ol{grid-template-columns:repeat(5,minmax(0,1fr))}}
/* 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}}
/* sideways phones: a smaller name, and About shows the photo beside the text */
@media (max-width:860px) and (orientation:landscape){
 .hero h1{font-size:min(13.5vw,17svh)}
 .about-grid{grid-template-columns:minmax(0,.55fr) minmax(0,1.45fr)}
 .about-photo{width:auto;margin:0;aspect-ratio:3/4;max-height:calc(100svh - var(--head) - 24px);border-radius:16px;-webkit-mask-image:none;mask-image:none}
 .about-copy{margin-top:0}
}

/* 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"] .facts dt,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"] .about-photo{border-color:rgba(74,56,40,.2);box-shadow:0 24px 50px rgba(60,40,20,.16)}
html[data-theme="light"] .facts{border-top-color:rgba(74,56,40,.18)}
html[data-theme="light"] .facts dd{color:#2a2119}
html[data-theme="light"] .facts div:hover{background:rgba(122,76,21,.06)}
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-toc a{border-color:rgba(74,56,40,.22);color:#3a2d22}
html[data-theme="light"] .protocol-toc a:hover{border-color:#7a4c15}
html[data-theme="light"] .protocol-toc a.is-active{background:rgba(122,76,21,.12);border-color:#7a4c15;color:#1d1813}
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"] .foot-links a{color:#3a2d22}
html[data-theme="light"] .foot-links a:hover{color:#7a4c15}
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. a calm fade when the theme changes (the script uses a page cross-fade where the browser has one, else colour transitions) */
::view-transition-old(root),::view-transition-new(root){animation-duration:.9s;animation-timing-function:cubic-bezier(.4,0,.2,1)}
html.theme-fading body,html.theme-fading body *,html.theme-fading body *::before,html.theme-fading body *::after{transition:background-color .9s ease,color .9s ease,border-color .9s ease,box-shadow .9s ease!important}
/* 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 h1 em{color:var(--gold-hi)}
 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}
.install-btn,.btn,.kicker,.eyebrow,.facts dt,.statement-full summary,.full-url-label,.toc-label,.doc-badge{text-transform:none;letter-spacing:.03em}
.kicker,.eyebrow,.facts dt,.statement-full summary{font-size:14px}
.hero h1 em,.page h1 em{font-style:normal}

/* Reduced motion: everything still */
@media (prefers-reduced-motion:reduce){
 .rise,.flow-track,.hero-portrait img,.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{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)}
@media (min-width:1000px) and (max-height:820px){.about-body{margin-top:10px}.about-body p{font-size:15px;line-height:1.55;margin-bottom:8px}.about-body h2{margin:12px 0 6px}}
@media (min-width:1000px) and (max-height:700px){.about-body p{font-size:14px;line-height:1.5;margin-bottom:6px}}
@media (max-width:560px){.about-body p{font-size:15.5px}}
html[data-theme="light"] .about-body p{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)}
.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 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}}
