/* Eugene Kim author site. Dark, restrained, mobile-first. */
:root{
  --bg:#121110; --bg-2:#1a1917; --bg-3:#22211e;
  --ink:#f3efe7; --ink-2:#d6d0c5; --muted:#a8a296; --rule:#35322d;
  --red:#d7222b; --accent:var(--red);
  --serif:"Newsreader",Georgia,"Times New Roman",serif;
  --sans:"Libre Franklin",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Apple SD Gothic Neo","Noto Sans KR",sans-serif;
  --wrap:1160px; --gut:20px;
  color-scheme:dark;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font:400 1.0625rem/1.65 var(--sans);-webkit-font-smoothing:antialiased;overflow-x:hidden}
img{max-width:100%;height:auto;display:block}
a{color:var(--ink);text-decoration-color:#ffffff55;text-underline-offset:.18em;text-decoration-thickness:1px}
a:hover{text-decoration-color:var(--red)}
:focus-visible{outline:2px solid #f2c200;outline-offset:3px;border-radius:2px}
h1,h2,h3{font-family:var(--serif);font-weight:600;line-height:1.12;letter-spacing:-.01em;margin:0 0 .5em;text-wrap:balance}
h1{font-size:clamp(2.3rem,7vw,4.2rem)}
h2{font-size:clamp(1.6rem,4vw,2.3rem)}
h3{font-size:1.25rem}
p{margin:0 0 1em}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 var(--gut)}
.muted{color:var(--muted)} .small{font-size:.875rem}
.visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip{position:absolute;left:-999px;top:0;background:var(--ink);color:var(--bg);padding:.6em 1em;z-index:10}
.skip:focus{left:8px;top:8px}
.kicker{font:600 .75rem/1.4 var(--sans);letter-spacing:.2em;text-transform:uppercase;color:var(--muted);margin:0 0 .9em}
.ko{font-family:var(--sans);font-weight:500;font-size:.5em;color:var(--muted);letter-spacing:0;vertical-align:.35em;margin-left:.2em}
.lede{font-size:clamp(1.1rem,2.2vw,1.3rem);line-height:1.55;color:var(--ink-2);max-width:40em}

/* header */
.site-head{border-bottom:1px solid var(--rule);background:#121110ee;position:sticky;top:0;z-index:5;backdrop-filter:blur(8px)}
.head-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.4rem 1.5rem;padding-top:.8rem;padding-bottom:.8rem}
.brand{text-decoration:none;font-family:var(--serif);font-weight:600;font-size:1.3rem;letter-spacing:-.01em}
.brand-ko{font-family:var(--sans);font-size:.8rem;color:var(--muted);font-weight:500;margin-left:.25em}
.nav{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.1rem 1.1rem}
.nav a{text-decoration:none;font-size:.875rem;font-weight:500;color:var(--ink-2);padding:.35em 0;display:inline-block;border-bottom:2px solid transparent}
.nav a:hover,.nav a[aria-current]{color:var(--ink);border-bottom-color:var(--red)}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5em;min-height:48px;padding:.7em 1.3em;font:600 .95rem/1.2 var(--sans);text-decoration:none;border-radius:2px;border:1px solid transparent;transition:background .15s,border-color .15s}
.btn-primary{background:var(--ink);color:var(--bg)}
.btn-primary:hover{background:#fff}
.btn-ghost{border-color:#ffffff40;color:var(--ink)}
.btn-ghost:hover{border-color:var(--ink)}
.btn[aria-disabled=true]{cursor:not-allowed}
.btn .soon{font-weight:500;font-size:.72rem;letter-spacing:.06em;text-transform:uppercase;opacity:.7}
.cta-row,.buy{display:flex;flex-wrap:wrap;gap:.75rem;margin:1.5rem 0 1rem}
.buy .btn{flex:1 1 260px}

/* sections */
.section{padding:clamp(3rem,8vw,5.5rem) 0}
.band{background:var(--bg-2);border-top:1px solid var(--rule);border-bottom:1px solid var(--rule)}
.section-lede{color:var(--ink-2);max-width:40em;margin-bottom:2.2rem}
.page-head{padding-bottom:clamp(2.5rem,6vw,4rem)}

/* hero */
.hero{position:relative;padding:clamp(2.5rem,6vw,4.5rem) 0 clamp(2.5rem,5vw,3.5rem);background:radial-gradient(60% 55% at 72% 38%,#2c2a26 0%,#1a1917 45%,var(--bg) 80%);overflow:hidden}
.hero-grid{display:grid;gap:1.5rem;align-items:end}
.hero-photo{justify-self:center;max-width:300px;margin-bottom:-1px}
.hero-photo img,.about-photo img{filter:drop-shadow(0 30px 40px #000a)}
.cover-row{list-style:none;margin:2rem 0 0;padding:1.5rem 0 0;border-top:1px solid var(--rule);display:grid;grid-template-columns:repeat(4,1fr);gap:clamp(.6rem,2.5vw,1.6rem)}
.cover-row a{display:block;transition:transform .2s}
.cover-row a:hover{transform:translateY(-4px)}
.cover{width:100%;aspect-ratio:5/8;object-fit:cover;border-radius:1px 3px 3px 1px;box-shadow:0 0 0 1px #ffffff14,0 14px 30px -8px #000d,12px 20px 40px -18px #000b}

/* credentials */
.creds{border-top:1px solid var(--rule);border-bottom:1px solid var(--rule);background:var(--bg-2)}
.cred-list{list-style:none;margin:0;padding:1.6rem 0;display:grid;grid-template-columns:repeat(2,1fr);gap:1.4rem 1rem}
.cred-list li{display:flex;flex-direction:column;border-left:2px solid var(--red);padding-left:.9rem}
.stat{font-family:var(--serif);font-weight:600;font-size:clamp(1.5rem,4vw,2.1rem);line-height:1.1}
.stat-label{font-size:.82rem;color:var(--muted);line-height:1.4;margin-top:.25rem}

/* book grid */
.book-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:2rem 1rem;margin-top:1.5rem}
.book-card{display:flex;flex-direction:column;gap:1rem}
.book-card-cover{display:block}
.book-card-body{border-top:3px solid var(--accent);padding-top:.8rem}
.book-card .kicker{font-size:.66rem;letter-spacing:.14em;margin-bottom:.4em}
.book-card-title{font-size:1.2rem;margin:0 0 .3em}
.book-card-title a{text-decoration:none}
.book-card-title a:hover{text-decoration:underline}
.book-card-sub{font-size:.9rem;color:var(--muted);margin:0;line-height:1.5}

/* split CTA */
.split{display:grid;gap:1.5rem;align-items:center}
.split p{color:var(--ink-2);max-width:38em}
.split-cta{display:flex;flex-direction:column;gap:.75rem}

/* breadcrumbs */
.crumbs ol{list-style:none;margin:0 0 1.8rem;padding:0;display:flex;flex-wrap:wrap;font-size:.8rem;color:var(--muted)}
.crumbs li+li::before{content:"/";margin:0 .6em;color:var(--rule)}
.crumbs a{color:var(--muted)}

/* book page */
.book-hero{background:radial-gradient(70% 60% at 20% 40%,#2a2824 0%,var(--bg) 75%)}
.book-hero-grid{display:grid;gap:2rem}
.book-hero-cover{max-width:260px;justify-self:center;width:100%}
.book-title{font-size:clamp(2.2rem,6vw,3.6rem);margin-bottom:.3em}
.book-subtitle{font-family:var(--serif);font-size:clamp(1.1rem,2.4vw,1.35rem);line-height:1.4;color:var(--ink-2);margin-bottom:1rem;border-left:3px solid var(--accent);padding-left:.9rem}
.byline{font-weight:600;margin-bottom:1.2rem}
.prose{max-width:720px}
.prose h2{margin-top:2.2rem}
.hook{margin:0 0 2.5rem;padding:0;font-family:var(--serif);font-size:clamp(1.4rem,3.2vw,1.9rem);line-height:1.3;font-weight:500}
.hook p::before{content:"";display:block;width:48px;height:3px;background:var(--accent);margin-bottom:1rem}
.takeaways{padding-left:1.3rem}
.takeaways li{margin-bottom:.8rem;padding-left:.3rem}
.takeaways li::marker{font-family:var(--serif);font-weight:600;color:var(--muted)}
.formats{display:grid;gap:1rem;margin-bottom:1rem}
.format{background:var(--bg-3);border:1px solid var(--rule);padding:1.3rem 1.3rem .5rem}
.format h3{font-size:1.15rem}
.format ul{padding-left:1.1rem;margin:0 0 1rem}
.format li{margin-bottom:.4rem}
dl{margin:0 0 1rem}
.format dl{display:grid;grid-template-columns:auto 1fr;gap:.35rem 1rem;font-size:.92rem}
.format dt{color:var(--muted)}
.format dd{margin:0}
.faq details{border-top:1px solid var(--rule);padding:.2rem 0}
.faq details:last-child{border-bottom:1px solid var(--rule)}
.faq summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:.9rem 0;min-height:48px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";font-size:1.4rem;color:var(--muted);flex:none}
.faq details[open] summary::after{content:"\2212"}
.faq summary h3{font-family:var(--sans);font-size:1.02rem;font-weight:600;margin:0;letter-spacing:0}
.faq details p{color:var(--ink-2)}

/* tables */
.table-wrap{overflow-x:auto;margin:1rem 0;border:1px solid var(--rule)}
table{border-collapse:collapse;width:100%;font-size:.9rem;min-width:560px}
th,td{text-align:left;padding:.7rem .9rem;border-bottom:1px solid var(--rule);vertical-align:top}
thead th{font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);font-weight:600;background:var(--bg-3)}
tbody th{font-weight:600}

/* about */
.about-grid{display:grid;gap:2rem}
.about-photo{max-width:320px;justify-self:center}
.name-note{margin-top:2rem;border:1px solid var(--rule);border-left:3px solid var(--red);padding:1.1rem 1.3rem;background:var(--bg-2)}
.name-note h2{font-size:1.1rem;font-family:var(--sans);letter-spacing:.02em}
.name-note p{margin:0;color:var(--ink-2)}
.facts{display:grid;grid-template-columns:1fr;gap:.2rem 2rem}
.facts dt{color:var(--muted);font-size:.8rem;letter-spacing:.1em;text-transform:uppercase;margin-top:.9rem}
.facts dd{margin:0}

/* speaking */
.topics{display:grid;gap:1rem}
.topic{background:var(--bg-3);border:1px solid var(--rule);border-top:3px solid var(--accent);padding:1.4rem}
.topic p{color:var(--ink-2)}

/* press */
.press-photo{display:grid;gap:2rem;align-items:center}
.press-photo-img{max-width:260px;background:radial-gradient(60% 60% at 50% 40%,#2c2a26,#1a1917);border:1px solid var(--rule);padding:1rem 1rem 0}
.dl-list{list-style:none;padding:0;margin:0 0 1rem}
.dl-list li{padding:.5rem 0;border-bottom:1px solid var(--rule)}
.dl-list a::before{content:"\2193  ";color:var(--muted)}
.dl-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.5rem 1rem}
.dl-card{margin:0}
.dl-card figcaption{font-size:.85rem;margin-top:.8rem;line-height:1.5}
.copybox{background:var(--bg-2);border:1px solid var(--rule);padding:1.3rem 1.3rem .3rem}
.og-figure{margin:0}
.og-figure img{border:1px solid var(--rule);margin-bottom:1rem}

/* footer */
.site-foot{border-top:1px solid var(--rule);padding:2.5rem 0 3rem;font-size:.92rem}
.foot-grid{display:grid;gap:1.5rem}
.foot-name{font-family:var(--serif);font-weight:600;font-size:1.2rem;margin-bottom:.3rem}
.foot-links{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(2,auto);gap:.4rem 1.5rem;justify-content:start}

@media (min-width:640px){
  .cred-list{grid-template-columns:repeat(3,1fr)}
  .formats{grid-template-columns:repeat(2,1fr)}
  .topics{grid-template-columns:repeat(2,1fr)}
  .dl-grid{grid-template-columns:repeat(4,1fr)}
  .facts{grid-template-columns:220px 1fr}
  .facts dt{margin-top:0;padding:.75rem 0;border-top:1px solid var(--rule)}
  .facts dd{padding:.75rem 0;border-top:1px solid var(--rule)}
}
@media (min-width:900px){
  :root{--gut:32px}
  .hero-grid{grid-template-columns:1.25fr .75fr}
  .hero-photo{max-width:380px;justify-self:end}
  .cover-row{max-width:760px}
  .cred-list{grid-template-columns:repeat(5,1fr)}
  .book-grid{grid-template-columns:repeat(4,1fr);gap:2rem 1.6rem}
  .book-grid-3{grid-template-columns:repeat(3,1fr);max-width:820px}
  .split{grid-template-columns:1.6fr 1fr;gap:3rem}
  .book-hero-grid{grid-template-columns:320px 1fr;gap:3.5rem;align-items:start}
  .book-hero-cover{max-width:none}
  .formats{grid-template-columns:repeat(3,1fr)}
  .about-grid{grid-template-columns:1.5fr 1fr;gap:4rem;align-items:start}
  .about-photo{max-width:380px;position:sticky;top:6rem}
  .press-photo{grid-template-columns:300px 1fr;gap:3rem}
  .foot-grid{grid-template-columns:1.4fr 1fr 1fr}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important}}
@media print{.site-head,.site-foot,.buy,.cta-row{display:none}body{background:#fff;color:#000}}
