:root{--bg:#F8F5FB;--ink:#1B1523;--acc:#A63306;--surf:#ECE6F3;--line:#D9CFE5;--mut:#4A4158;--disp:'DM Serif Display',Georgia,serif;--body:'DM Sans',system-ui,sans-serif}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--body);font-size:17px;line-height:1.55;min-height:100vh;display:flex;flex-direction:column}
main{flex:1}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}
.wrap{padding-left:56px;padding-right:56px}
.k{font-size:13px;letter-spacing:.14em;text-transform:uppercase;font-weight:500}
.acc{color:var(--acc)}
.muted{color:var(--mut)}
h1,h2,h3{font-family:var(--disp);font-weight:400;margin:0;letter-spacing:-.02em}
/* header */
.hd{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:14px 36px;padding-top:28px;padding-bottom:28px}
.hd nav{display:flex;gap:36px;flex-wrap:wrap}
.hd nav a,.lang a{padding-bottom:3px;border-bottom:1px solid transparent;transition:color .2s}
.hd nav a:hover,.lang a:hover,.hd nav a.on{color:var(--acc)}
.hd nav a.on{border-bottom-color:var(--acc)}
.lang{display:flex;gap:20px}
.lang a{color:var(--mut)}
.lang a.cur{color:var(--acc)}
/* home hero */
.hero{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:40px;padding-top:48px;padding-bottom:80px}
.heroname{flex:1 1 620px;min-width:0}
.heroname .acc{margin:0 0 28px}
.hero h1{font-size:clamp(76px,13vw,200px);line-height:.9}
.hero h1 em,.booktitle{font-style:italic}
.portrait{position:relative;flex:0 0 290px;width:290px;height:290px;margin-right:14px;border-radius:50%;background:var(--surf);display:flex;align-items:center;justify-content:center;text-align:center;color:var(--mut)}
.portrait::before{content:"";position:absolute;inset:0;border:1px solid var(--acc);border-radius:50%;transform:translate(14px,14px);z-index:0}
.portrait .ph{position:relative;z-index:1}
.portrait img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:50%;z-index:2}
/* cards */
.cards{display:grid;grid-template-columns:repeat(5,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.card{display:flex;flex-direction:column;gap:64px;padding:32px 24px 52px;border-right:1px solid var(--line);transition:background .2s}
.card:last-child{border-right:0}
.card:hover{background:var(--surf)}
.num{color:var(--acc)}
.ct{font-family:var(--disp);font-size:clamp(30px,2.7vw,40px);line-height:1}
.ct i{font-style:normal;color:var(--acc);font-size:.65em}
.ct{overflow-wrap:normal}
/* book panel */
.bookpanel{background:var(--surf);padding:64px 0}
.bp{display:flex;flex-wrap:wrap;align-items:center;gap:56px}
.bp>a{flex:0 1 560px;min-width:0}
.cover{width:100%;height:auto}
.bptxt{flex:1 1 380px;min-width:0;display:flex;flex-direction:column;gap:20px}
.bptxt h2{font-size:clamp(44px,5vw,64px);line-height:.98;font-style:italic}
.bptxt p{margin:0;font-size:19px;max-width:520px;line-height:1.5}
.tl{align-self:flex-start;color:var(--acc);border-bottom:1px solid var(--acc);padding-bottom:4px}
/* title bar for inner pages */
.tb{padding-top:40px;padding-bottom:56px}
.lab{font-size:13px;letter-spacing:.14em;text-transform:uppercase;font-weight:500;color:var(--acc);border-top:1px solid var(--ink);padding-top:16px;margin-bottom:36px}
.tbrow{display:flex;justify-content:space-between;align-items:flex-end;flex-wrap:wrap;gap:24px}
.tb h1{font-size:clamp(64px,11vw,170px);line-height:.92}
.booktitle{font-size:clamp(52px,9.5vw,150px)!important}
.dl{font-size:13px;letter-spacing:.14em;text-transform:uppercase;font-weight:500;color:var(--acc);border-bottom:1px solid var(--acc);padding-bottom:4px}
/* about */
.about{border-top:1px solid var(--line);padding-top:64px;padding-bottom:96px;display:flex;flex-direction:column;gap:32px}
.lead{margin:0;max-width:1100px;font-family:var(--disp);font-size:clamp(24px,2.6vw,36px);line-height:1.3}
.rest{max-width:820px;display:flex;flex-direction:column;gap:24px;font-size:19px;line-height:1.65}
.rest p{margin:0}
/* cv + lists */
.sec{display:flex;flex-wrap:wrap;border-top:1px solid var(--line)}
.sech{flex:0 0 300px;margin:0;padding:40px 56px;font-family:var(--body);font-size:13px;letter-spacing:.14em;text-transform:uppercase;font-weight:500;color:var(--acc)}
.ents{flex:1 1 560px;min-width:0;display:flex;flex-direction:column}
.e{display:flex;gap:32px;padding:30px 56px 30px 0;border-bottom:1px solid var(--line)}
.e:last-child{border-bottom:0}
.y{flex:0 0 110px;font-size:13px;letter-spacing:.1em;padding-top:8px;color:var(--mut);font-weight:500}
.t{font-family:var(--disp);font-size:27px;line-height:1.22;letter-spacing:-.01em}
.s{font-size:16px;line-height:1.55;color:var(--mut);margin-top:6px}
.lk{display:flex;justify-content:space-between;gap:24px;padding:20px 56px 20px 0;border-bottom:1px solid var(--line);font-family:var(--disp);font-size:25px;line-height:1.28;transition:color .2s,padding .2s}
.lk .ar{color:var(--acc);flex:0 0 auto}
.lk:hover{color:var(--acc);padding-left:12px}
.lk:last-child{border-bottom:0}
.note{padding:22px 56px 12px 0;font-size:16px;line-height:1.5;color:var(--mut)}
/* book page */
.bookpage{display:flex;flex-wrap:wrap;gap:56px;padding-bottom:80px;align-items:flex-start}
.bookpage .cover{flex:0 1 640px;min-width:0;width:640px}
.booktxt{flex:1 1 420px;min-width:0;display:flex;flex-direction:column;gap:26px}
.booktxt p{margin:0}
.sub{line-height:1.7}
.q{font-family:var(--disp);font-size:clamp(22px,2.2vw,30px);line-height:1.35}
/* footer */
.ft{display:flex;justify-content:space-between;flex-wrap:wrap;gap:16px;padding-top:32px;padding-bottom:32px;border-top:1px solid var(--line);color:var(--mut)}
.soc{display:flex;gap:28px;flex-wrap:wrap}
.soc a:hover{color:var(--acc)}
/* responsive */
@media(max-width:1000px){
 .cards{grid-template-columns:repeat(2,1fr)}
 .card:nth-child(2n){border-right:0}
 .card:nth-child(-n+4){border-bottom:1px solid var(--line)}
 .card:last-child{grid-column:1/-1;border-right:0}
}
@media(max-width:700px){
 .wrap{padding-left:24px;padding-right:24px}
 .hd{padding-top:20px;padding-bottom:20px}
 .hd nav{gap:10px 22px;order:3;width:100%}
 .hero{padding-top:28px;padding-bottom:56px;gap:44px}
 .portrait{flex-basis:210px;width:210px;height:210px;margin:0 14px 0 auto}
 .cards{grid-template-columns:1fr}
 .card{flex-direction:row;align-items:baseline;gap:16px;padding:24px;border-right:0;border-bottom:1px solid var(--line)}
 .card:last-child{border-bottom:0}
 .bookpanel{padding:40px 0}
 .bp,.bookpage{gap:28px}
 .tb{padding-bottom:40px}
 .sech{flex-basis:100%;padding:28px 24px 8px}
 .ents{flex-basis:100%}
 .e{flex-wrap:wrap;gap:6px 20px;padding:22px 24px}
 .y{flex-basis:100%;padding-top:0}
 .lk,.note{padding-right:24px;padding-left:24px;font-size:22px}
 .note{font-size:15px}
 .lk:hover{padding-left:30px}
 .about{padding-top:40px;padding-bottom:56px}
}

.e.ev .t a{border-bottom:1px solid var(--line)}.e.ev .t a:hover{color:var(--acc);border-bottom-color:var(--acc)}
.emp{padding-top:30px;padding-bottom:30px;color:var(--mut)}
[hidden]{display:none!important}
