
:root{--bg:#1B120B;--alt:#22170E;--surface:#2B1D12;--hdr:#140D07;--bar:#0F0905;--text:#F5ECDD;--muted:#D2C1A6;--line:#4E3925;--accent:#D8B25A;--on-accent:#1B120B;--focus:#F0D58C;
--paper:#EFE3CB;--paper-surface:#F8F0DF;--paper-text:#2A1B10;--paper-muted:#5A4733;--paper-line:#CDB892;--paper-accent:#7A4F22;--paper-on:#FFFFFF;--paper-focus:#7A4F22;
--head:"Fraunces",Georgia,"Times New Roman",serif;--body:"Source Sans 3","Segoe UI",Roboto,Arial,sans-serif;--hw:600;--hls:-.012em;--r:6px}
.brand span{font:600 1.35rem var(--head)}
.brand img{height:44px;width:auto}

*,*::before,*::after{box-sizing:border-box}
html{scroll-padding-top:96px;-webkit-text-size-adjust:100%}
@media (prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}
body{margin:0;background:var(--bg);color:var(--text);font:400 1.0625rem/1.7 var(--body);overflow-x:hidden}
img,video,svg{max-width:100%}
img,video{display:block;height:auto}
h1,h2,h3,h4{font-family:var(--head);font-weight:var(--hw);line-height:1.15;letter-spacing:var(--hls);margin:0}
p{margin:0 0 1rem}
a{color:inherit}
:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip{position:absolute;left:-999px;top:0;background:var(--accent);color:var(--on-accent);padding:.7rem 1rem;z-index:100}
.skip:focus{left:0}
.wrap{width:100%;max-width:1160px;margin:0 auto;padding:0 clamp(1.1rem,4vw,2rem)}
.ic{width:1.25em;height:1.25em;flex:none}

/* top contact bar + header */
.topbar{background:var(--bar);color:var(--text);font-size:.93rem;border-bottom:1px solid var(--line)}
.topbar .wrap{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:0 1.6rem;padding-top:.2rem;padding-bottom:.2rem}
.topbar a,.topbar span{display:inline-flex;align-items:center;gap:.5rem;min-height:38px;text-decoration:none}
.topbar a:hover{text-decoration:underline;text-underline-offset:4px}
.topbar .l{display:flex;flex-wrap:wrap;gap:0 1.6rem}
.topbar span{color:var(--muted)}
.site-header{position:sticky;top:0;z-index:30;background:var(--hdr);border-bottom:1px solid var(--line);color:var(--text)}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;gap:1.2rem;min-height:72px}
.brand{display:flex;align-items:center;gap:.75rem;text-decoration:none;white-space:nowrap}
.nav{display:flex;align-items:center;gap:1.45rem}
.nav a{text-decoration:none;font-size:.98rem;padding:.45rem 0;border-bottom:2px solid transparent;color:var(--muted)}
.nav a:hover{color:var(--text)}
.nav a[aria-current="page"]{color:var(--text);border-bottom-color:var(--accent)}
.nav a.cta{border:2px solid var(--accent);border-radius:999px;padding:.4rem 1.15rem;color:var(--text)}
.nav a.cta:hover,.nav a.cta[aria-current="page"]{background:var(--accent);color:var(--on-accent)}
.menu-btn{display:none;align-items:center;gap:.6rem;min-height:48px;padding:0 1rem;background:transparent;color:var(--text);border:2px solid var(--line);border-radius:999px;font:600 1rem var(--body);cursor:pointer}
.menu-btn svg{width:1.3rem;height:1.3rem}
@media (max-width:1100px){
 .menu-btn{display:inline-flex}
 .nav{display:none;position:absolute;left:0;right:0;top:100%;flex-direction:column;align-items:stretch;gap:0;background:var(--hdr);padding:.4rem clamp(1.1rem,4vw,2rem) 1.3rem;border-bottom:1px solid var(--line);max-height:calc(100vh - 80px);overflow:auto}
 .nav.open{display:flex}
 .nav a{padding:.95rem 0;border-bottom:1px solid var(--line);font-size:1.05rem}
 .nav a[aria-current="page"]{border-bottom-color:var(--accent)}
 .nav a.cta{margin-top:1rem;text-align:center;border-radius:999px}
}
@media (max-width:640px){.topbar .r{display:none}}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.6rem;min-height:52px;padding:.65rem 1.5rem;border-radius:999px;font:600 1rem/1.2 var(--body);text-decoration:none;border:2px solid var(--accent);background:transparent;color:inherit;cursor:pointer;text-align:center}
.btn.fill{background:var(--accent);color:var(--on-accent)}
.btn:hover{background:var(--accent);color:var(--on-accent)}
.btn.fill:hover{filter:brightness(1.08)}
.btn.sm{min-height:46px;padding:.5rem 1.1rem;font-size:.97rem}
.btn .ic{width:1.2em;height:1.2em}
.btns{display:flex;flex-wrap:wrap;gap:.8rem}

/* bands */
.band{background:var(--bg);color:var(--text);padding:clamp(3rem,7vw,5.5rem) 0}
.band-alt{background:var(--alt)}
.band-paper{--bg:var(--paper);--text:var(--paper-text);--muted:var(--paper-muted);--line:var(--paper-line);--surface:var(--paper-surface);--accent:var(--paper-accent);--on-accent:var(--paper-on);--focus:var(--paper-focus);background:var(--paper)}
.sec-head{max-width:46rem;margin-bottom:2.4rem}
.sec-head h2{font-size:clamp(1.8rem,3.6vw,2.7rem);margin-bottom:.8rem}
.sec-head p{color:var(--muted);margin:0;font-size:1.1rem}
.more{margin-top:2rem}

/* page head */
.page-head{background:var(--hdr);color:var(--text);padding:clamp(2.2rem,5vw,4rem) 0 clamp(2rem,4vw,3.2rem);border-bottom:1px solid var(--line)}
.crumbs{font-size:.93rem;color:var(--muted);margin-bottom:1.1rem}
.crumbs a{text-decoration:none}.crumbs a:hover{text-decoration:underline;text-underline-offset:3px}
.crumbs span[aria-hidden]{margin:0 .45rem}
.page-head h1{font-size:clamp(2.1rem,5vw,3.5rem);max-width:19em}
.page-head .lead{font-size:clamp(1.08rem,2vw,1.3rem);color:var(--muted);max-width:40rem;margin:1.1rem 0 0}

/* hero video */
.herovid{position:relative;background:#000;border-bottom:1px solid var(--line)}
.herovid video{width:100%;max-height:560px;aspect-ratio:21/9;object-fit:cover;background:#000}
.herovid.wide video{aspect-ratio:1168/350;max-height:none;object-fit:cover}
.vctl{position:absolute;right:clamp(.7rem,2vw,1.2rem);bottom:clamp(.7rem,2vw,1.2rem);min-height:44px;display:inline-flex;align-items:center;gap:.5rem;padding:0 1rem;border-radius:999px;border:1.5px solid rgba(255,255,255,.7);background:rgba(0,0,0,.65);color:#fff;font:600 .92rem var(--body);cursor:pointer}
.vctl svg{width:1rem;height:1rem}
@media (max-width:700px){.herovid video{aspect-ratio:16/9}.herovid.wide video{object-fit:contain}.herovid.wide .vctl{display:none}}

/* hero text */
.hero{padding:clamp(2.6rem,6vw,4.6rem) 0;background:var(--hdr);color:var(--text)}
.hero .wrap{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:clamp(2rem,5vw,4rem);align-items:center}
.hero h1{font-size:clamp(2.2rem,5vw,3.7rem);max-width:15em}
.hero .lead{font-size:clamp(1.08rem,2vw,1.3rem);color:var(--muted);max-width:36rem;margin:1.3rem 0 0}
.hero .who{margin:1.1rem 0 1.8rem;font-weight:600}
.hero .mark{width:100%;max-width:300px;justify-self:center}
.panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:1.8rem}
.panel h2{font-size:1.3rem;margin-bottom:1rem}
.panel ul{list-style:none;margin:0;padding:0;display:grid;gap:.7rem}
.panel li{position:relative;padding-left:1.4rem}
.panel li::before{content:"";position:absolute;left:0;top:.72em;width:.55rem;height:.55rem;border-radius:50%;background:var(--accent)}
@media (max-width:860px){.hero .wrap{grid-template-columns:1fr}.hero .mark{max-width:190px;justify-self:start;order:-1}}

/* grids and cards */
.grid{display:grid;gap:1.25rem;align-items:stretch}
.g2{grid-template-columns:repeat(2,minmax(0,1fr))}
.g3{grid-template-columns:repeat(3,minmax(0,1fr))}
.g4{grid-template-columns:repeat(4,minmax(0,1fr))}
.g3>:last-child:nth-child(3n+1){grid-column:1/-1}
@media (max-width:1000px){.g4{grid-template-columns:repeat(2,minmax(0,1fr))}.g3{grid-template-columns:repeat(2,minmax(0,1fr))}.g3>:last-child:nth-child(3n+1){grid-column:auto}.g3>:last-child:nth-child(odd){grid-column:1/-1}}
@media (max-width:660px){.g2,.g3,.g4{grid-template-columns:1fr}.g3>:last-child:nth-child(odd){grid-column:auto}}
.card{display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:1.6rem}
.card h3{font-size:1.2rem;margin-bottom:.55rem}
.card p{color:var(--muted);margin:0}
.card .go{margin-top:auto;padding-top:1.1rem;font-weight:600}
.card a.go{color:var(--accent);text-underline-offset:4px}
.rule{border-left:4px solid var(--accent);padding-left:1.3rem}
.why>div{border-left:4px solid var(--accent);padding-left:1.3rem}
.why h3{font-size:1.3rem;margin-bottom:.5rem}.why p{color:var(--muted);margin:0}
.note{font-weight:600;margin:1.6rem 0 0}

/* stats */
.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1.5rem 2rem}
.stat{border-top:3px solid var(--accent);padding-top:1rem}
.stat b{display:block;font:var(--hw) clamp(1.8rem,3.4vw,2.6rem)/1.1 var(--head);color:var(--accent);margin-bottom:.45rem}
.stat span{color:var(--muted)}
@media (max-width:900px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:420px){.stats{grid-template-columns:1fr}}

/* rows (services, experience) */
.rows{border-top:1px solid var(--line)}
.row{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:.8rem clamp(1.5rem,4vw,3.5rem);padding:2rem 0;border-bottom:1px solid var(--line)}
.row h3{font-size:clamp(1.25rem,2vw,1.55rem)}
.row .meta{color:var(--muted);margin:.5rem 0 0;font-size:.97rem}
.row p{color:var(--muted)}
.row ul{margin:0;padding-left:1.15rem;color:var(--muted)}
.row li{margin-bottom:.55rem}
.tools{font-size:.95rem;font-weight:600;color:var(--accent);margin:.8rem 0 0}
@media (max-width:820px){.row{grid-template-columns:1fr}}

/* projects */
.pgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2.6rem 1.6rem;align-items:stretch}
@media (max-width:1000px){.pgrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:660px){.pgrid{grid-template-columns:1fr}}
.pc{display:flex;flex-direction:column;gap:1rem}
.cover{position:relative;display:block;width:100%;aspect-ratio:4/3;padding:0;border:1px solid var(--line);border-radius:var(--r);background:var(--surface);overflow:hidden;cursor:zoom-in}
.cover img{width:100%;height:100%;object-fit:cover}
.cover .count{position:absolute;left:.8rem;bottom:.8rem;background:#000;color:#fff;font:600 .85rem var(--body);padding:.3rem .8rem;border-radius:999px}
.pc h3{font-size:1.25rem;margin-bottom:.3rem}
.pc .co{font-weight:600;font-size:.95rem;color:var(--accent);margin:0 0 .6rem}
.pc .d{color:var(--muted);margin:0}
.pc .acts{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:auto}
.pc .body{display:flex;flex-direction:column;flex:1}
.pc .body .d{margin-bottom:1.1rem}
.reels{border-top:1px solid var(--line);padding-top:2.4rem;margin-top:3rem}
.reels h3{font-size:1.5rem;margin-bottom:.4rem}
.reels>p{color:var(--muted)}
.vids{display:flex;flex-wrap:wrap;gap:1.4rem;align-items:flex-start;margin:1.2rem 0 1.4rem}
.vids video{height:480px;width:auto;background:#000;border:1px solid var(--line);border-radius:var(--r)}
@media (max-width:700px){.vids video{height:auto;width:100%;max-width:340px}}
dialog.lbx{border:0;padding:0;background:transparent;width:min(96vw,1000px);max-width:96vw;max-height:96vh;overflow:visible;color:#fff}
dialog.lbx::backdrop{background:rgba(0,0,0,.92)}
.lbx img{width:100%;max-height:80vh;object-fit:contain;background:#fff;margin:0 auto}
.lbx .bt{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;padding-top:.8rem}
.lbx .nv{display:flex;gap:.5rem}
.lbx button{min-height:46px;min-width:46px;padding:0 1.2rem;border:1.5px solid #fff;background:transparent;color:#fff;border-radius:999px;font:600 1rem var(--body);cursor:pointer}
.lbx button:hover{background:#fff;color:#000}

/* certs */
.cert{display:flex;flex-direction:column;gap:.9rem;background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:1.5rem;text-decoration:none}
a.cert:hover{border-color:var(--accent)}
.cert .top{display:flex;align-items:center;gap:.9rem}
.seal{flex:none;width:2.8rem;height:2.8rem;border-radius:50%;background:var(--accent);color:var(--on-accent);display:grid;place-items:center}
.seal svg{width:1.4rem;height:1.4rem}
.cert .issuer{font-weight:600;color:var(--muted)}
.cert h3{font-size:1.2rem}
.cert dl{margin:0;display:grid;gap:.35rem}
.cert dl div{display:grid;grid-template-columns:8.5rem minmax(0,1fr);gap:.8rem}
.cert dt{color:var(--muted)}.cert dd{margin:0;font-weight:600;overflow-wrap:anywhere}
.cert .view{margin-top:auto;display:inline-flex;align-items:center;gap:.5rem;font-weight:600;color:var(--accent)}
a.cert:hover .view{text-decoration:underline;text-underline-offset:4px}
.cert .view .ic{width:1em;height:1em}
.subh{font-size:1.6rem;margin:3.4rem 0 .6rem}
.subh:first-child{margin-top:0}
.subp{color:var(--muted);margin:0 0 1.3rem;max-width:44rem}

/* payments */
.pay{display:grid;grid-template-columns:minmax(0,340px) minmax(0,1fr);gap:clamp(2rem,5vw,4rem);align-items:start}
.qr{padding:0;border:1px solid var(--line);border-radius:var(--r);background:#fff;cursor:zoom-in;display:block;width:100%;max-width:340px;overflow:hidden}
.qr img{width:100%}
.steps{list-style:none;margin:0 0 1.8rem;padding:0;counter-reset:s;display:grid;gap:1rem}
.steps li{counter-increment:s;display:grid;grid-template-columns:2.4rem minmax(0,1fr);gap:1rem;align-items:start}
.steps li::before{content:counter(s);width:2.4rem;height:2.4rem;border-radius:50%;background:var(--accent);color:var(--on-accent);display:grid;place-items:center;font-weight:700}
@media (max-width:820px){.pay{grid-template-columns:1fr}}

/* about */
.about{display:grid;grid-template-columns:minmax(0,420px) minmax(0,1fr);gap:clamp(2rem,5vw,4.5rem);align-items:start}
.about img{width:100%;aspect-ratio:4/5;object-fit:cover;object-position:top;border-radius:var(--r);border:1px solid var(--line);position:sticky;top:100px}
.about p{max-width:38rem}
.about .k{font:var(--hw) clamp(1.4rem,2.6vw,1.9rem)/1.3 var(--head);color:var(--accent);margin-top:1.8rem}
.about.sq img{aspect-ratio:1/1}
@media (max-width:860px){.about{grid-template-columns:1fr}.about img{position:static;max-width:380px}}

/* contact */
.clist{list-style:none;margin:0;padding:0;display:grid;gap:.8rem}
.clist a{display:grid;grid-template-columns:3rem minmax(0,1fr) auto;align-items:center;gap:1rem;padding:1rem 1.3rem;background:var(--surface);border:1px solid var(--line);border-radius:var(--r);text-decoration:none;min-height:72px}
.clist a:hover{border-color:var(--accent)}
.clist .ico{width:3rem;height:3rem;border-radius:50%;background:var(--accent);color:var(--on-accent);display:grid;place-items:center}
.clist .ico svg{width:1.4rem;height:1.4rem}
.clist small{display:block;color:var(--muted);font-size:.9rem}
.clist b{font-weight:600;overflow-wrap:anywhere}
.clist .arr{color:var(--accent)}
.two-col{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:clamp(2rem,5vw,4rem);align-items:start}
.two-col .panel p{color:var(--muted)}
.two-col .panel img{margin:0 0 1.4rem;width:150px}
@media (max-width:860px){.two-col{grid-template-columns:1fr}}
.ctaband{text-align:left}
.ctaband .wrap{display:flex;flex-wrap:wrap;gap:1.5rem 3rem;align-items:center;justify-content:space-between}
.ctaband h2{font-size:clamp(1.7rem,3.4vw,2.5rem);max-width:20em}
.ctaband p{color:var(--muted);max-width:34rem;margin:.8rem 0 0}

/* blog index */
.chips{display:flex;flex-wrap:wrap;gap:.6rem;margin-bottom:2rem}
.chip{min-height:44px;padding:0 1.2rem;border-radius:999px;border:2px solid var(--line);background:transparent;color:var(--text);font:600 .97rem var(--body);cursor:pointer}
.chip[aria-pressed="true"]{background:var(--accent);color:var(--on-accent);border-color:var(--accent)}
.post-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.6rem;align-items:stretch}
@media (max-width:760px){.post-grid{grid-template-columns:1fr}}
.post{display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--line);border-radius:var(--r);overflow:hidden;text-decoration:none}
.post:hover{border-color:var(--accent)}
.post .thumb{aspect-ratio:16/9;overflow:hidden;background:#000}
.post .thumb img{width:100%;height:100%;object-fit:cover}
.post .pb{display:flex;flex-direction:column;flex:1;padding:1.5rem 1.6rem 1.7rem}
.post .tag{align-self:flex-start;font-size:.9rem;font-weight:600;color:var(--accent);border:1.5px solid var(--accent);border-radius:999px;padding:.1rem .8rem;margin-bottom:.9rem}
.post h3,.post h2{font-size:1.4rem;margin-bottom:.7rem}
.post p{color:var(--muted)}
.post .meta{margin:auto 0 0;padding-top:.4rem;font-size:.93rem;color:var(--muted)}
.post[hidden]{display:none}

/* article */
.art-head{padding:clamp(2.2rem,5vw,3.6rem) 0 2rem;background:var(--hdr);border-bottom:1px solid var(--line)}
.art-head .tag{display:inline-block;font-size:.92rem;font-weight:600;color:var(--accent);border:1.5px solid var(--accent);border-radius:999px;padding:.1rem .85rem;margin-bottom:1rem}
.art-head h1{font-size:clamp(1.9rem,4.4vw,3.1rem);max-width:21em}
.art-head .dek{font-size:clamp(1.08rem,2vw,1.28rem);color:var(--muted);max-width:42rem;margin:1.1rem 0 1.2rem}
.byline{display:flex;flex-wrap:wrap;gap:.3rem 1.2rem;color:var(--muted);font-size:.97rem;margin:0}
.byline b{color:var(--text)}
.art-fig{margin:0;background:#000}
.art-fig img{width:100%;max-height:440px;object-fit:cover}
.art-fig.small img{width:auto;margin:0 auto;max-height:420px}
.art{display:grid;grid-template-columns:minmax(0,250px) minmax(0,46rem);gap:clamp(2rem,5vw,4.5rem);justify-content:center;align-items:start}
.toc{position:sticky;top:100px;font-size:.97rem}
.toc summary{font:700 1.05rem var(--head);cursor:pointer;min-height:44px;display:flex;align-items:center}
.toc ol{margin:.4rem 0 0;padding:0;list-style:none;border-left:2px solid var(--line)}
.toc a{display:block;padding:.45rem 0 .45rem 1rem;text-decoration:none;color:var(--muted);line-height:1.35}
.toc a:hover{color:var(--text)}
@media (max-width:980px){.art{grid-template-columns:minmax(0,1fr)}.toc{position:static;border:1px solid var(--line);border-radius:var(--r);padding:.2rem 1.2rem .8rem;background:var(--surface)}}
.prose{font-size:1.125rem;line-height:1.8;min-width:0}
.prose h2{font-size:clamp(1.55rem,3vw,2.1rem);margin:3rem 0 1rem;display:flex;gap:.9rem;align-items:baseline;line-height:1.2}
.prose h2 .num{flex:none;color:var(--accent);font-size:.62em;min-width:2.1rem}
.prose h3{font-size:1.3rem;margin:2.2rem 0 .6rem}
.prose .lede{font-size:1.28rem;line-height:1.6;color:var(--text);font-weight:500}
.prose p{margin-bottom:1.2rem}
.prose>h2:first-of-type{margin-top:2.6rem}
.pull{margin:2.2rem 0;padding:.3rem 0 .3rem 1.5rem;border-left:4px solid var(--accent);font:var(--hw) clamp(1.25rem,2.4vw,1.6rem)/1.4 var(--head)}
.monday{display:flex;align-items:baseline;gap:1rem;margin:0 0 1.4rem}
.monday b{font:var(--hw) clamp(3.4rem,9vw,5.5rem)/1 var(--head);color:var(--accent)}
.monday span{color:var(--muted);font-size:1.1rem}
.diagram,.tablefig{margin:2rem 0}
.diagram figcaption,.tcap,.fnote{color:var(--muted);font-size:.95rem;margin-top:.8rem}
.tcap{font:700 1.05rem var(--head);color:var(--text);margin:0 0 .8rem}
.base-roles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem}
.base-roles span{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:1rem .6rem;text-align:center;font-weight:600}
.base-roles strong{grid-column:1/-1;background:var(--accent);color:var(--on-accent);border-radius:var(--r);padding:1rem;text-align:center;font-family:var(--head)}
.flow{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:.6rem;counter-reset:f}
.flow li{display:flex;flex-direction:column;align-items:center;gap:.6rem;text-align:center;background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:1rem .4rem;font-weight:600;font-size:.98rem;line-height:1.25}
.flow li span{width:2.2rem;height:2.2rem;border-radius:50%;background:var(--accent);color:var(--on-accent);display:grid;place-items:center;font-weight:700}
@media (max-width:640px){.flow{grid-template-columns:repeat(3,minmax(0,1fr))}.base-roles{grid-template-columns:1fr}}
.hub{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem}
.hub strong{grid-column:1/-1;background:var(--accent);color:var(--on-accent);border-radius:var(--r);padding:1rem;text-align:center;font-family:var(--head)}
.hub span{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:1rem .6rem;text-align:center;font-weight:600}
@media (max-width:520px){.hub{grid-template-columns:repeat(2,minmax(0,1fr))}}
.table-wrap{overflow-x:auto}
.tbl{width:100%;border-collapse:collapse;table-layout:fixed;font-size:1rem;line-height:1.5}
.tbl th,.tbl td{text-align:left;vertical-align:top;padding:.9rem 1rem;border-bottom:1px solid var(--line)}
.tbl thead th{background:var(--surface);font:700 .98rem var(--head);border-bottom:2px solid var(--accent)}
.tbl tbody th{font-weight:600;width:34%}
.tbl.two td,.tbl.two th{width:50%}
.tbl.two tbody th{width:34%}
.tbl.two:not(:has(tbody th)) td{width:50%}
.tbl.stack th,.tbl.stack td{width:25%}
@media (max-width:640px){
 .tbl.stack,.tbl.stack tbody,.tbl.stack tr,.tbl.stack td{display:block;width:100%}
 .tbl.stack thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
 .tbl.stack tr{border:1px solid var(--line);border-radius:var(--r);padding:.4rem 0;margin-bottom:.8rem;background:var(--surface)}
 .tbl.stack td{display:grid;grid-template-columns:6.8rem minmax(0,1fr);gap:.8rem;border:0;padding:.45rem 1rem;width:100%}
 .tbl.stack td::before{content:attr(data-label);font-weight:700;color:var(--muted)}
}
.measures{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:1.5rem 0}
.measures>div{border-left:4px solid var(--accent);background:var(--surface);padding:1rem 1.2rem;border-radius:0 var(--r) var(--r) 0}
.measures dt{font:700 1.08rem var(--head);margin-bottom:.3rem}
.measures dd{margin:0;color:var(--muted);font-size:1.02rem;line-height:1.55}
@media (max-width:600px){.measures{grid-template-columns:1fr}}
.author{margin:3.2rem 0 0;padding:clamp(1.5rem,4vw,2.4rem);background:var(--surface);border:1px solid var(--line);border-radius:var(--r)}
.author h2{display:block;font-size:clamp(1.4rem,2.6vw,1.8rem);margin:0 0 1rem}
.author p{font-size:1.05rem;line-height:1.7}
.author .btns{margin-top:1.4rem}

/* footer */
.site-footer{background:var(--bar);color:var(--text);border-top:1px solid var(--line);padding:3.2rem 0 0}
.fgrid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) minmax(0,1.2fr);gap:2.5rem}
.fgrid h2{font-size:1.05rem;margin-bottom:1rem}
.fgrid p{color:var(--muted);max-width:26rem}
.fgrid ul{list-style:none;margin:0;padding:0;display:grid;gap:.1rem}
.fgrid a{display:inline-flex;align-items:center;gap:.6rem;min-height:40px;text-decoration:none}
.fgrid a:hover{text-decoration:underline;text-underline-offset:4px}
.legal{margin-top:2.6rem;border-top:1px solid var(--line);padding:1.3rem 0 1.8rem;color:var(--muted);font-size:.92rem}
@media (max-width:860px){.fgrid{grid-template-columns:1fr;gap:2rem}}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
