:root{
  color-scheme:light;
  --bg:#f6f5f0; --surface:#faf9f5; --surface-strong:#fffefa; --ink:#262c26; --ink-2:#424941; --muted:#878d82; --line:#dfdfd6; --line-strong:#d2d4cb;
  --accent:#738d69; --accent-deep:#3b5947; --accent-soft:#e8eee0; --hero-ink:#f3f3e9; --shadow:0 25px 75px rgba(46,58,43,.08);
}
:root[data-theme=dark]{color-scheme:dark; --bg:#171d19;--surface:#1f2922;--surface-strong:#253026;--ink:#eff0e6;--ink-2:#cbd2c7;--muted:#9da99e;--line:#38443a;--line-strong:#4d5e4f;--accent:#a3bc92;--accent-deep:#d9ead3;--accent-soft:#2e4030;--hero-ink:#f5f2e5;--shadow:0 25px 75px rgba(0,0,0,.18)}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font-family:'Manrope','DM Sans',-apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei',sans-serif;font-size:15px;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
button{font:inherit}
button,a{-webkit-tap-highlight-color:transparent}
button:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
::selection{background:#a6bfa5;color:#1e2d23}
.site-shell{min-height:100vh;display:flex;flex-direction:column}
.wrap{width:min(1120px,calc(100% - 88px));margin:0 auto}
.site-header{height:110px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line)}
.brand{display:inline-flex;align-items:center;gap:8px;font-size:24px;font-weight:800;letter-spacing:-1.3px;white-space:nowrap}
.brand-mark{font-size:26px;line-height:1;color:var(--accent-deep);margin-right:4px;transform:translateY(2px)}
.brand-dot{color:var(--accent)}
.nav{display:flex;align-items:center;gap:43px;margin-left:auto;margin-right:54px}
.nav a{position:relative;padding:10px 0;font-size:13px;font-weight:650;color:var(--muted);transition:color .2s}
.nav a:hover,.nav a.active{color:var(--ink)}
.nav a.active:after{content:'';position:absolute;left:0;right:0;bottom:0;height:2px;background:var(--accent)}
.theme-toggle{cursor:pointer;width:36px;height:36px;display:grid;place-items:center;border:1px solid var(--line-strong);border-radius:50%;background:transparent;color:var(--ink);font-size:22px;transition:transform .2s,background .2s}
.theme-toggle:hover{transform:rotate(35deg);background:var(--accent-soft)}
main{flex:1}
.eyebrow,.section-kicker{font-size:11px;letter-spacing:2.2px;font-weight:750;color:var(--accent-deep)}
.eyebrow{display:flex;gap:15px;align-items:center;margin-bottom:31px;letter-spacing:2.7px}
.eyebrow-line{width:24px;height:1px;background:var(--accent-deep);display:block}
.hero{min-height:635px;display:grid;grid-template-columns:1.06fr .94fr;gap:60px;align-items:center;padding:77px 0 88px}
.hero-content{position:relative;z-index:1}
.hero h1{font-family:Georgia,'Noto Serif SC','Songti SC','STSong',serif;font-size:clamp(44px,4.1vw,62px);line-height:1.45;font-weight:600;letter-spacing:-2.5px;margin:0 0 29px;white-space:nowrap}
.hero-desc{max-width:485px;color:var(--muted);line-height:2.05;font-size:15px;margin:0 0 33px}
.hero-actions{display:flex;align-items:center;gap:12px}
.pill{border-radius:4px;min-height:47px;padding:0 21px;display:inline-flex;align-items:center;gap:28px;font-size:12px;font-weight:750;letter-spacing:.3px;justify-content:center;transition:transform .2s,background .2s,border-color .2s}
.pill:hover{transform:translateY(-3px)}
.pill-primary{background:var(--accent-deep);color:var(--bg)}
:root[data-theme=dark] .pill-primary{background:#b5cba9;color:#18221b}
.pill-plain{color:var(--ink);border:1px solid var(--line-strong);background:transparent}
.pill-outline{border:1px solid #a7c2a0;color:#e5f2e4}
.hero-illustration{position:relative;height:455px;padding:15px 8px 8px 10px}
.illustration-inner{height:100%;overflow:hidden;position:relative;display:grid;place-items:center;background:#2f493b;border-radius:200px 200px 14px 14px;isolation:isolate;box-shadow:var(--shadow)}
.illustration-inner:before{content:'';position:absolute;inset:0;background:radial-gradient(circle at 45% 35%,#78946e77,transparent 52%),linear-gradient(140deg,#516f56,#253d32);z-index:-2}
.illustration-inner:after{content:'';position:absolute;inset:0;opacity:.1;pointer-events:none;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.38'/%3E%3C/svg%3E")}
.hero-letter{font-family:Georgia,serif;color:#e5e9d1;font-size:clamp(165px,21vw,305px);font-style:italic;letter-spacing:-28px;line-height:1;position:relative;transform:translate(-13px,-22px);text-shadow:0 15px 60px #152c204d}
.orbit{position:absolute;width:84%;aspect-ratio:1;border:1px solid rgba(230,237,205,.26);border-radius:50%;transform:rotate(-20deg) scaleX(1.25);top:9%;left:8%;pointer-events:none}
.orbit-two{width:115%;top:-7%;left:-7%;opacity:.55;transform:rotate(28deg) scaleX(.72)}
.glow-orb{position:absolute;border-radius:50%;background:#bbd9a1;filter:blur(1px)}
.orb-a{width:14px;height:14px;right:15%;top:22%;box-shadow:0 0 42px #c1e5ac}
.orb-b{width:6px;height:6px;left:17%;bottom:36%;background:#f0e1aa}
.tiny-star{position:absolute;color:#d6e5c5}
.star-top{top:15%;left:22%;font-size:33px}
.star-bottom{bottom:23%;right:20%;font-size:19px}
.hero-ill-caption{position:absolute;bottom:33px;left:0;right:0;text-align:center;color:#d2e2ca;letter-spacing:3px;font-size:9px;font-weight:650}
.illus-badge{position:absolute;bottom:-17px;left:-15px;background:var(--surface-strong);border:1px solid var(--line);padding:15px 18px;font-size:11px;font-weight:750;box-shadow:0 14px 38px rgba(20,30,20,.09);letter-spacing:.3px}
.online-dot{display:inline-block;background:#8db594;width:7px;height:7px;border-radius:50%;margin-right:9px}
.intro-grid{display:grid;grid-template-columns:1fr 1.08fr;gap:62px;padding:57px 0 83px;border-top:1px solid var(--line)}
.mini-intro h2,.section-top h2{font-family:Georgia,'Noto Serif SC','Songti SC',serif;font-size:32px;line-height:1.5;letter-spacing:-1px;margin:17px 0 0;font-weight:600}
.accent{color:var(--accent)}
.mini-intro-body{padding-top:23px}
.mini-intro-body p{margin:0 0 19px;color:var(--ink-2);line-height:2.2;max-width:480px}
.text-link{font-size:12px;display:inline-flex;align-items:center;gap:10px;font-weight:750;border-bottom:1px solid var(--accent);padding:0 0 7px;transition:gap .2s}
.text-link:hover{gap:18px}
.section{border-top:1px solid var(--line);padding:64px 0 93px}
.section-top{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:30px}
.section-top h2{margin:18px 0 0}
.section-more{margin-bottom:8px}
.post-list{border-top:1px solid var(--line)}
.post-row{display:grid;grid-template-columns:65px 1fr 130px 22px;gap:24px;align-items:center;padding:25px 13px 28px 2px;border-bottom:1px solid var(--line);transition:background .2s,padding-left .2s}
.post-row:hover{background:var(--surface);padding-left:12px}
.post-num{align-self:start;margin-top:12px;font-family:Georgia,serif;color:var(--muted);font-size:12px}
.post-tags{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.post-tags span{font-size:10px;letter-spacing:.4px;font-weight:750;color:var(--accent-deep);background:var(--accent-soft);padding:5px 9px;border-radius:3px}
.post-tags .demo-tag{color:var(--muted);background:transparent;border:1px solid var(--line);padding:4px 8px}
.post-main h3{font-size:19px;line-height:1.4;letter-spacing:-.6px;margin:13px 0 8px;font-weight:700}
.post-main p{color:var(--muted);font-size:12px;line-height:1.8;margin:0}
.post-date{color:var(--muted);font-size:11px;white-space:nowrap}
.row-arrow,.bookmark-arrow,.entry-arrow,.resource-arrow{font-size:20px;color:var(--accent);transition:transform .2s}
.post-row:hover .row-arrow,.bookmark-card:hover .bookmark-arrow,.blog-entry:hover .entry-arrow,.resource-card:hover .resource-arrow{transform:translate(3px,-3px)}
.bookmarks{padding-bottom:95px}
.bookmark-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.bookmark-card{background:var(--surface);border:1px solid var(--line);border-radius:5px;padding:27px 25px;display:flex;gap:19px;align-items:center;min-height:115px;transition:border-color .2s,transform .2s}
.bookmark-card:hover{border-color:var(--accent);transform:translateY(-3px)}
.bookmark-icon{width:47px;height:47px;border-radius:11px;background:var(--accent-soft);color:var(--accent-deep);display:grid;place-items:center;font-family:Georgia,serif;font-size:23px;font-weight:700;flex-shrink:0}
.bookmark-info{flex:1;min-width:0}
.bookmark-info h3{font-size:14px;margin:0 0 8px}
.bookmark-info p{font-size:11px;color:var(--muted);margin:0;line-height:1.5}
.footnote{font-size:11px;color:var(--muted);margin:18px 0 0}
.site-footer{border-top:1px solid var(--line);padding:34px 0 27px}
.footer-top,.footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px}
.footer-top{padding-bottom:34px;border-bottom:1px solid var(--line)}
.footer-brand{font-size:22px;font-weight:800;letter-spacing:-1px}
.footer-top>span:last-child{color:var(--muted);font-size:12px}
.footer-bottom{padding-top:26px;font-size:11px;color:var(--muted)}
.footer-bottom>div{display:flex;align-items:center;gap:26px}
.footer-bottom a:hover{color:var(--ink)}
/* Inside pages */
.page-heading{padding:92px 0 61px;border-bottom:1px solid var(--line)}
.page-heading h1,.not-found h1{font-family:Georgia,'Noto Serif SC','Songti SC',serif;font-weight:600;letter-spacing:-2px;font-size:clamp(43px,5vw,61px);line-height:1.4;margin:17px 0 15px}
.page-heading p{color:var(--muted);line-height:1.9;font-size:14px;margin:0}
.about-layout{display:grid;grid-template-columns:.8fr 1.2fr;gap:100px;padding:76px 0 92px;align-items:start}
.about-avatar{height:425px;background:var(--accent-soft);border:1px solid var(--line);border-radius:5px;display:flex;justify-content:center;align-items:center;position:relative;overflow:hidden}
.about-avatar:before,.about-avatar:after{content:'';position:absolute;width:240px;height:240px;border-radius:50%;border:1px solid #93a78a50}
.about-avatar:after{width:350px;height:350px}
.about-avatar-circle{width:190px;height:190px;border-radius:50%;background:#587561;display:grid;place-items:center;z-index:1;box-shadow:0 18px 50px #3c5f4344}
.about-avatar-circle span{color:#e6ebd8;font-size:125px;font-style:italic;font-family:Georgia,serif;letter-spacing:-13px;transform:translate(-8px,-8px)}
.avatar-caption{position:absolute;bottom:29px;left:0;right:0;text-align:center;font-size:10px;letter-spacing:3px;color:var(--accent-deep);font-weight:750}
.prose{font-size:14px;line-height:2.12;color:var(--ink-2)}
.prose p{margin:0 0 23px}
.prose h2,.prose h3{color:var(--ink);font-weight:750;line-height:1.6;letter-spacing:-.6px}
.prose h2{font-size:26px;margin:0 0 21px}
.prose h3{font-size:19px;margin:31px 0 17px}
.prose ul,.prose ol{padding-left:24px;margin:0 0 25px}
.prose li{margin:5px 0}
.prose strong{color:var(--ink)}
.prose a:not(.pill){color:var(--accent-deep);text-decoration:underline;text-underline-offset:3px}
.prose blockquote{margin:27px 0;padding:20px 25px;background:var(--accent-soft);border-left:3px solid var(--accent);border-radius:0 4px 4px 0}
.prose blockquote p{margin:0}
.prose code{font-size:12px;background:var(--accent-soft);padding:2px 5px;border-radius:3px}
.prose pre{overflow:auto;background:var(--surface);border:1px solid var(--line);padding:16px;border-radius:4px}
.prose pre code{background:none;padding:0}
.prose hr{height:1px;background:var(--line);border:0;margin:34px 0}
.prose img{max-width:100%;height:auto}
.wave{color:var(--accent);font-size:24px}
.about-rule{height:1px;background:var(--line);margin:35px 0}
.prose .muted{color:var(--muted);font-size:13px}
.note-banner{border-radius:5px;background:#334e3c;color:#e9f2e4;display:flex;align-items:center;gap:25px;padding:30px 36px;margin:0 0 91px}
.note-symbol{font-size:35px;color:#bfd7b3}
.note-banner div{flex:1}
.note-banner h3{margin:0 0 6px;font-size:16px}
.note-banner p{margin:0;color:#c3d7c3;font-size:12px;line-height:1.7}
.blog-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:27px 0;border-bottom:1px solid var(--line)}
.blog-filters{display:flex;flex-wrap:wrap;gap:9px}
.filter-button{border:1px solid var(--line-strong);background:transparent;color:var(--muted);padding:9px 15px;cursor:pointer;border-radius:3px;font-size:12px;font-weight:650;transition:background .2s,color .2s}
.filter-button:hover{color:var(--ink)}
.filter-button.selected{background:var(--accent-deep);border-color:var(--accent-deep);color:var(--bg)}
.blog-count{font-size:11px;color:var(--muted);white-space:nowrap}
.blog-list{padding-bottom:100px}
.blog-entry{display:grid;grid-template-columns:95px 1fr 28px;align-items:center;gap:35px;padding:42px 16px 40px 1px;border-bottom:1px solid var(--line);transition:padding-left .2s,background .2s}
.blog-entry:hover{padding-left:12px;background:var(--surface)}
.blog-entry[hidden]{display:none}
.blog-entry-date{display:flex;flex-direction:column;gap:6px;align-self:start;padding-top:8px}
.blog-entry-date strong{font-family:Georgia,serif;font-size:19px;font-weight:500;color:var(--ink)}
.blog-entry-date span{font-size:11px;color:var(--muted)}
.blog-entry h2{font-size:23px;letter-spacing:-.6px;line-height:1.5;margin:13px 0 8px}
.blog-entry p{font-size:13px;line-height:1.8;color:var(--muted);margin:0 0 16px}
.reading-time{font-size:11px;color:var(--muted)}
.no-posts{padding:40px 0;color:var(--muted)}
/* Blog post */
.post-wrap{max-width:780px;margin:0 auto;padding:58px 0 100px}
.back-link{font-size:12px;color:var(--muted);display:inline-block;margin-bottom:63px}
.back-link:hover{color:var(--ink)}
.article-header h1{font-family:Georgia,'Noto Serif SC','Songti SC',serif;letter-spacing:-1.6px;font-size:clamp(36px,4vw,51px);font-weight:600;line-height:1.5;margin:21px 0 14px}
.article-header>p{color:var(--muted);font-size:15px;line-height:1.9;margin:0 0 26px}
.article-meta{display:flex;gap:12px;align-items:center;color:var(--muted);font-size:11px}
.article-divider{height:1px;background:var(--line);margin:39px 0 40px}
.article-content{font-size:15px;line-height:2.25}
.article-content h2{font-size:24px;margin:41px 0 19px}
.article-content h3{font-size:20px;margin:33px 0 17px}
.article-content p{margin:0 0 26px}
.article-bottom{border-top:1px solid var(--line);margin-top:70px;padding-top:30px;display:flex;justify-content:space-between;align-items:center;gap:18px}
.author-signoff{display:flex;align-items:center;gap:13px}
.signoff-icon{width:39px;height:39px;border-radius:50%;background:#3b5947;color:#e6ebd8;display:grid;place-items:center;font-family:Georgia,serif;font-size:23px}
.author-signoff div:last-child{display:flex;flex-direction:column;gap:4px}
.author-signoff strong{font-size:12px}
.author-signoff span{font-size:11px;color:var(--muted)}
/* Links */
.info-strip{display:flex;align-items:center;gap:15px;margin:33px 0 48px;padding:17px 20px;background:var(--accent-soft);border-radius:4px;color:var(--accent-deep)}
.info-strip>span{font-size:20px}
.info-strip p{font-size:12px;margin:0;line-height:1.8}
.links-group{display:grid;grid-template-columns:.35fr .65fr;gap:65px;margin-bottom:65px}
.links-group-title h2{font-family:Georgia,'Noto Serif SC','Songti SC',serif;font-size:27px;margin:14px 0 0;font-weight:600;letter-spacing:-.5px}
.link-cards{display:grid;gap:14px}
.resource-card{display:flex;align-items:center;gap:19px;padding:23px 23px;background:var(--surface);border:1px solid var(--line);border-radius:4px;transition:transform .2s,border-color .2s}
.resource-card:hover{transform:translateX(4px);border-color:var(--accent)}
.resource-bullet{width:36px;height:36px;border-radius:4px;background:var(--accent-soft);display:grid;place-items:center;font-size:17px;color:var(--accent-deep);flex-shrink:0}
.resource-body{flex:1;display:flex;flex-direction:column;gap:5px}
.resource-body strong{font-size:14px}
.resource-body>span{color:var(--muted);font-size:11px;line-height:1.7}
.not-found{min-height:65vh;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}
.not-found p{color:var(--muted);font-size:14px;margin:0 0 24px}
/* Progressive enhancement */
@media (prefers-reduced-motion: no-preference){.reveal{animation:fadeUp .75s both}@keyframes fadeUp{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}}
@media(max-width:1000px){.wrap{width:min(1120px,calc(100% - 60px))}.hero{gap:30px}.hero h1{font-size:clamp(40px,4.6vw,55px)}.hero-illustration{height:425px}.intro-grid{gap:45px}.about-layout{gap:50px}}
@media(max-width:740px){.wrap{width:calc(100% - 38px)}.site-header{height:78px;gap:10px}.brand{font-size:21px}.brand-mark{font-size:23px;margin-right:0}.nav{gap:15px;margin:0 0 0 auto}.nav a{font-size:12px}.theme-toggle{width:32px;height:32px;font-size:18px;flex-shrink:0}.hero{grid-template-columns:1fr;gap:38px;padding:66px 0 75px}.hero h1{white-space:normal;font-size:clamp(36px,7vw,51px);letter-spacing:-1.9px}.hero-desc{font-size:14px}.hero-illustration{height:360px;max-width:440px;width:100%;margin:0 auto}.hero-letter{font-size:250px}.illus-badge{left:0}.intro-grid{grid-template-columns:1fr;gap:15px;padding:47px 0 66px}.mini-intro-body{padding-top:3px}.mini-intro h2,.section-top h2{font-size:28px}.section{padding:53px 0 73px}.section-top{align-items:start}.section-more{margin-top:8px}.post-row{grid-template-columns:28px 1fr 20px;gap:11px;padding:25px 4px 27px 0}.post-date{display:none}.post-main h3{font-size:18px}.bookmark-grid{grid-template-columns:1fr}.site-footer{padding-top:27px}.footer-bottom{align-items:flex-start}.footer-bottom>div{gap:14px;flex-wrap:wrap;justify-content:flex-end}.page-heading{padding:71px 0 46px}.page-heading h1{font-size:48px}.about-layout{grid-template-columns:1fr;gap:37px;padding:44px 0 65px}.about-avatar{height:310px;max-width:480px}.about-avatar-circle{width:155px;height:155px}.about-avatar-circle span{font-size:110px}.note-banner{padding:27px 22px;flex-wrap:wrap;gap:14px;margin-bottom:70px}.note-banner .pill{margin-left:45px}.blog-toolbar{align-items:flex-start;flex-direction:column;gap:15px}.blog-entry{grid-template-columns:66px 1fr 17px;gap:15px;padding:33px 0}.blog-entry h2{font-size:20px}.blog-entry-date strong{font-size:15px}.post-wrap{padding:43px 0 70px}.back-link{margin-bottom:45px}.article-header h1{font-size:36px}.article-bottom{align-items:flex-start}.links-group{grid-template-columns:1fr;gap:21px;margin-bottom:51px}.info-strip{margin-bottom:37px}}
@media(max-width:430px){.wrap{width:calc(100% - 30px)}.nav{gap:11px}.nav a{font-size:11px}.brand{font-size:19px}.brand-mark{font-size:20px}.hero h1{font-size:37px;line-height:1.48}.hero-illustration{height:325px}.hero-letter{font-size:225px}.hero-actions{flex-wrap:wrap}.pill{padding:0 17px;gap:17px}.section-top{flex-direction:column;gap:7px}.post-row{grid-template-columns:22px 1fr 16px}.post-num{font-size:10px}.footer-top{align-items:flex-start}.footer-top>span:last-child{text-align:right}.footer-bottom{display:block}.footer-bottom>div{margin-top:18px;justify-content:flex-start}.page-heading h1{font-size:43px}.blog-entry{grid-template-columns:1fr 22px;gap:10px}.blog-entry-date{grid-column:1/-1;flex-direction:row;padding:0;gap:8px;align-items:center}.blog-entry-date strong{font-size:12px}.blog-entry-main{grid-column:1}.blog-entry .entry-arrow{grid-column:2;grid-row:2}.article-bottom{flex-direction:column;gap:25px}}
