
#nav ul{display:flex;gap:2.5rem;list-style:none}
#nav ul li a{color:#8a8580;text-decoration:none;font-size:.75rem;letter-spacing:.14em;text-transform:uppercase;transition:color .3s}
#nav ul li a:hover{color:#e8e4df}

@media(max-width:768px){.nav-links{display:none}.nav-menu-btn{display:block}.nav-logo-text{font-size:.9rem}nav{padding:.8rem 1.5rem}}
:root{--bg:#0a0a0a;--bg-elevated:#111111;--bg-card:#161616;--text-primary:#e8e4df;--text-secondary:#8a8580;--text-muted:#5a5550;--accent:#033f26;--accent-dim:#065a38;--accent-light:#4da87a;--accent-secondary:#ebebd9;--accent-secondary-dim:#c8c8a0;--border:#1e1e1e;--serif:'Cormorant Garamond',Georgia,serif;--sans:'DM Sans',-apple-system,sans-serif}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth;scrollbar-width:thin;scrollbar-color:var(--accent-dim) var(--bg)}
body{background:var(--bg);color:var(--text-primary);font-family:var(--sans);font-weight:400;line-height:1.6;overflow-x:hidden}
body::after{content:'';position:fixed;inset:0;opacity:.025;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");background-repeat:repeat;pointer-events:none;z-index:10000}

.progress-bar{position:fixed;top:0;left:0;height:2px;background:var(--accent-light);z-index:200;width:0;transition:width .1s}




.article-hero{max-width:740px;margin:0 auto;padding:8rem 2rem 3rem;text-align:center}
.article-meta{font-size:.7rem;letter-spacing:.12em;color:var(--text-muted);margin-bottom:1.5rem;display:flex;align-items:center;justify-content:center;gap:.75rem;flex-wrap:wrap}
.article-meta-dot{width:3px;height:3px;background:var(--text-muted);border-radius:50%}
.article-title{font-family:var(--serif);font-size:clamp(2rem,5vw,3.2rem);font-weight:300;line-height:1.15;margin-bottom:1.5rem;color:var(--accent-secondary)}
.article-subtitle{font-size:1.1rem;color:var(--text-secondary);line-height:1.7;max-width:600px;margin:0 auto}
.article-cover{width:100%;max-width:900px;display:block;margin:2rem auto;border:1px solid var(--border)}

article{max-width:680px;margin:0 auto;padding:2rem 2rem 4rem}
article p{font-size:1.05rem;line-height:1.85;color:var(--text-secondary);margin-bottom:1.8rem}
article h2{font-family:var(--serif);font-size:1.8rem;font-weight:300;color:var(--accent-secondary);margin:3rem 0 1.2rem}
article h3{font-family:var(--serif);font-size:1.4rem;font-weight:300;color:var(--text-primary);margin:2rem 0 1rem}
article blockquote{border-left:2px solid var(--accent-dim);padding:.5rem 0 .5rem 1.5rem;margin:2rem 0;color:var(--text-muted);font-style:italic}
article hr{border:none;border-top:1px solid var(--border);margin:3rem 0}
article ul{padding-left:1.5rem;margin-bottom:1.8rem;color:var(--text-secondary)}
article ul li{margin-bottom:.5rem;line-height:1.7}
article a{color:var(--accent-light);text-decoration:none;border-bottom:1px solid rgba(77,168,122,.3);transition:border-color .3s}
article a:hover{border-color:var(--accent-light)}
article strong{color:var(--text-primary);font-weight:500}
article em{font-style:italic;color:var(--text-primary)}
.article-pullquote{font-family:var(--serif);font-size:1.5rem;font-weight:300;font-style:italic;color:var(--accent-secondary);text-align:center;padding:2rem;margin:2rem 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}

.article-footer{max-width:680px;margin:0 auto;padding:2rem;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1rem}
.article-tags{display:flex;gap:.5rem;flex-wrap:wrap}
.article-tags span{font-size:.65rem;letter-spacing:.15em;text-transform:uppercase;color:var(--accent-light);padding:.25rem .7rem;border:1px solid rgba(6,90,56,.5);border-radius:2px}
.article-author{display:flex;align-items:center;gap:1rem}
.article-author-avatar{width:40px;height:40px;background:var(--accent);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.7rem;color:var(--accent-secondary);letter-spacing:.05em;flex-shrink:0}
.article-author-info{display:flex;flex-direction:column;gap:.2rem}
.article-author-name{font-size:.8rem;color:var(--text-primary);letter-spacing:.05em}
.article-author-bio{font-size:.7rem;color:var(--text-muted)}
.article-back{font-size:.7rem;letter-spacing:.15em;text-transform:uppercase;color:var(--text-secondary);text-decoration:none;transition:color .3s}
.article-back:hover{color:var(--accent-secondary)}

.share-section{max-width:680px;margin:0 auto;padding:2rem;border-top:1px solid var(--border)}
.share-label{font-size:.65rem;letter-spacing:.2em;text-transform:uppercase;color:var(--text-muted);margin-bottom:1rem}
.share-buttons{display:flex;gap:.75rem;flex-wrap:wrap}
.share-btn{display:inline-flex;align-items:center;gap:.4rem;padding:.5rem 1rem;border:1px solid var(--border);color:var(--text-secondary);text-decoration:none;font-size:.7rem;letter-spacing:.1em;text-transform:uppercase;transition:all .3s;background:none;cursor:pointer;font-family:var(--sans)}
.share-btn:hover{border-color:var(--accent-dim);color:var(--accent-secondary)}

footer{text-align:center;padding:3rem 2rem;border-top:1px solid var(--border)}
.footer-text{font-size:.65rem;color:var(--text-muted);letter-spacing:.18em;text-transform:uppercase}

@media(max-width:600px){.article-hero{padding:6rem 1.5rem 2rem}article{padding:1.5rem 1.5rem 3rem}.article-footer,.share-section{padding:1.5rem}}

.scroll-top{position:fixed;bottom:2rem;right:2rem;width:40px;height:40px;background:var(--accent);border:1px solid var(--accent-dim);border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:50;opacity:0;transform:translateY(20px);transition:all .4s cubic-bezier(.16,1,.3,1);pointer-events:none}
.scroll-top.visible{opacity:1;transform:translateY(0);pointer-events:auto}
.scroll-top:hover{background:var(--accent-dim)}
.scroll-top svg{width:16px;height:16px;stroke:#ebebd9;fill:none;stroke-width:2}

@media(max-width:768px){
  #nav ul{display:none!important}
  #menuBtn{display:block!important}
  #nav ul.open{display:flex!important;flex-direction:column;position:fixed;top:0;left:0;right:0;bottom:0;width:100vw;height:100dvh;background:#0a0a0a;justify-content:center;align-items:center;gap:2rem;z-index:101;list-style:none}
  #nav ul.open li a{font-size:1.2rem;color:#e8e4df;text-decoration:none}
  #nav{padding:.8rem 1.5rem}

}

@media(max-width:768px){
  body{cursor:auto!important}
  *{cursor:auto!important}
  button{cursor:pointer!important}
  a{cursor:pointer!important}
}

.lang-switch{display:flex;align-items:center;gap:0;margin-left:1rem}
.lang-switch a{padding:.3rem .6rem;font-size:.65rem;letter-spacing:.1em;text-transform:uppercase;color:#5a5550;text-decoration:none;transition:color .3s;border:1px solid transparent}
.lang-switch a.active{color:#ebebd9;border-color:#1e1e1e}
.lang-switch a:hover{color:#e8e4df}
.lang-switch span{color:#1e1e1e;font-size:.6rem;margin:0 .1rem}


/* --- Reader mode --- */
.reader-toggle{position:fixed;top:1.3rem;right:1.3rem;z-index:130;width:46px;height:46px;border-radius:50%;border:1px solid var(--border);background:rgba(10,10,10,.55);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);color:var(--text-secondary);font-family:var(--serif);font-size:1.05rem;cursor:pointer;transition:color .3s,border-color .3s,background .3s}
.reader-toggle:hover{color:var(--accent-secondary);border-color:var(--accent-secondary)}
body.reader .reader-toggle{background:var(--accent);border-color:var(--accent-dim);color:var(--accent-secondary)}
.reader-tools{position:fixed;top:5rem;right:1.3rem;z-index:130;display:none;flex-direction:column;gap:.4rem}
.reader-tools button{width:46px;height:38px;border:1px solid var(--border);background:rgba(10,10,10,.55);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);color:var(--text-secondary);cursor:pointer;font-size:.82rem;transition:color .3s,border-color .3s}
.reader-tools button:hover{color:var(--accent-secondary);border-color:var(--accent-secondary)}
body.reader nav{opacity:0;pointer-events:none}
body.reader .article-cover{display:none}
body.reader .article-hero{padding-top:6rem;max-width:42rem;margin-left:auto;margin-right:auto}
body.reader article,body.reader .article-footer{max-width:42rem;margin-left:auto;margin-right:auto}
body.reader article{font-size:calc(1.1rem + (var(--reader-step,0) * 0.055rem));line-height:1.95}
body.reader article p{margin-bottom:1.6rem}
@media(max-width:768px){.reader-toggle{top:auto;bottom:1.2rem;right:1.2rem}.reader-tools{top:auto;bottom:4.7rem;right:1.2rem}}
