@import url('/static/theme.css');
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:95px}body{margin:0;background:var(--page);color:var(--ink);font:16px/1.65 Inter,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline;text-underline-offset:4px}button,select,input,textarea{font:inherit}button,.button{border:0;border-radius:999px;background:var(--accent);color:var(--accent-ink);font-weight:650;padding:11px 23px;cursor:pointer;display:inline-block;text-decoration:none}button:hover,.button:hover{background:var(--accent-strong);text-decoration:none}button:disabled{opacity:.5;cursor:wait}.secondary{background:var(--surface);border:1px solid var(--line);color:var(--ink)}.secondary:hover{background:var(--surface-2)}:focus-visible{outline:3px solid #9b7600;outline-offset:3px}[hidden]{display:none!important}.wrap{max-width:1240px;margin:auto;padding-inline:clamp(18px,4vw,48px)}.site-header{position:sticky;top:0;z-index:10;background:rgba(246,243,235,.96);border-bottom:1px solid var(--line);backdrop-filter:blur(15px)}.nav{min-height:74px;display:flex;align-items:center;gap:28px;justify-content:space-between}.brand{display:flex;align-items:baseline;gap:0;font-size:30px;font-weight:780;letter-spacing:-1.7px;white-space:nowrap}.brand>span{color:#be9600}.brand small{font-size:13px;letter-spacing:0;font-weight:550;color:var(--muted);margin-left:13px}.nav nav,.footer nav{display:flex;gap:22px;font-size:14px;flex-wrap:wrap}.language select{border:1px solid var(--line);background:var(--surface);border-radius:12px;padding:7px 10px;max-width:190px}.hero{padding:75px 0 45px;text-align:center;max-width:860px;margin:auto}.eyebrow{font-size:12px;font-weight:750;letter-spacing:.10em;text-transform:uppercase;color:var(--muted-strong)}h1,h2,h3{line-height:1.17;letter-spacing:-.035em;margin:0 0 14px;font-weight:720}h1{font-size:clamp(34px,5.5vw,66px)}h2{font-size:clamp(23px,2.9vw,34px)}h3{font-size:22px}p{margin:0 0 16px}.hero p,.lead{font-size:clamp(17px,2vw,22px);color:var(--muted)}.search{display:flex;gap:10px;background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:8px;margin:24px 0;box-shadow:0 10px 40px #352e1610}.search input{width:100%;min-width:0;border:0;background:transparent;padding:10px 13px;outline-offset:-2px;color:var(--ink)}.section{margin:0 0 50px}.section-head{display:flex;justify-content:space-between;align-items:center;gap:10px}.carousel-controls{display:flex;align-items:center;gap:9px;font-size:13px;white-space:nowrap}.carousel-controls button{padding:5px 13px;background:var(--surface);border:1px solid var(--line)}.featured{background:var(--surface);border:1px solid var(--line);border-radius:24px;overflow:hidden;box-shadow:var(--glass-shadow)}.feature-slide{display:grid;grid-template-columns:1.5fr 1fr;align-items:center}.feature-image{height:100%;display:block;min-height:260px}.feature-image img,.card-image img{display:block;width:100%;height:100%;object-fit:cover}.feature-copy{padding:clamp(20px,4vw,45px)}.feature-copy h2{font-size:clamp(25px,3.5vw,42px);margin:12px 0}.feature-copy p,.card p{color:var(--muted)}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.card{background:var(--surface);border:1px solid var(--line);border-radius:17px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 7px 20px #241f1007}.card-image{display:block;aspect-ratio:16/9;overflow:hidden}.no-cover{height:100%;min-height:130px;display:grid;place-items:center;background:linear-gradient(130deg,var(--accent-soft),var(--surface-2));color:#7c6d37;font-size:65px}.card-copy{padding:21px;display:flex;flex-direction:column;flex:1}.card-copy h3{margin:9px 0}.card-copy p{font-size:15px;flex:1;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}.card-copy small,.muted{color:var(--muted);font-size:13px}.chips{display:flex;flex-wrap:wrap;gap:9px;margin:18px 0}.chip{border-radius:999px;padding:7px 15px;border:1px solid var(--line);background:var(--surface);font-size:14px}.chip.selected{background:var(--accent);border-color:var(--accent)}.listing{padding:45px 0 65px;min-height:60vh}.listing h1{font-size:44px}.pagination{display:flex;gap:12px;justify-content:center;margin:24px 0}.empty,.notice{padding:17px 23px;background:var(--surface-2);border-radius:13px;color:var(--muted-strong)}.article-top{max-width:1000px;margin:32px auto 45px}.article-top .search{max-width:580px;margin:0 0 28px}.back{display:inline-block;color:var(--muted);margin-bottom:25px}.article-top h1{max-width:950px;margin-top:10px}.article-meta{display:flex;align-items:center;flex-wrap:wrap;gap:18px;color:var(--muted);font-size:14px;margin:24px 0}.byline,.author-profile{display:flex;align-items:center;gap:12px}.avatar{width:46px;height:46px;object-fit:cover;border-radius:50%;display:inline-grid;place-items:center;background:var(--accent-soft);font-weight:700}.author-profile .avatar{width:90px;height:90px}.article-cover{width:100%;height:auto;display:block;border-radius:20px}.article-layout{display:grid;grid-template-columns:minmax(0,220px) minmax(0,760px);gap:48px;justify-content:center;margin-bottom:65px}.article-body:only-child{grid-column:1/-1;max-width:760px;margin:auto;width:100%}.toc{align-self:start;position:sticky;top:98px;font-size:14px;color:var(--muted);max-height:70vh;overflow:auto}.toc summary{font-weight:700;color:var(--ink);cursor:pointer}.toc nav{display:grid;gap:5px;margin-top:13px}.toc a{border-left:2px solid var(--line);padding:5px 10px}.toc a.current{border-color:var(--accent-strong);color:var(--ink);font-weight:650}.toc .depth-3,.toc .depth-4,.toc .depth-5,.toc .depth-6{padding-left:22px}.article-body{font-size:18px;line-height:1.8;min-width:0}.article-body h2,.article-body h3,.article-body h4{margin:35px 0 15px}.article-body a:not(.chip){text-decoration:underline;text-underline-offset:3px}.article-body img:not(.cv-cover):not(.cv-end-logo){max-width:100%;height:auto;border-radius:12px}.article-body figure{margin:25px 0}.article-body figcaption{color:var(--muted);font-size:14px}.article-body pre{white-space:pre-wrap;overflow-wrap:anywhere;background:var(--pro-bg);color:var(--pro-ink);border-radius:12px;padding:20px;font-size:14px}.article-body table{display:block;overflow:auto;border-collapse:collapse;max-width:100%;font-size:15px}.article-body th,.article-body td{border:1px solid var(--line);padding:8px 14px}.article-body blockquote,.note{margin:20px 0;padding:15px 24px;border-left:4px solid var(--accent);background:var(--surface-2)}.article-body video{max-width:100%}.feedback{background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:25px;margin-top:40px;font-size:15px;line-height:1.6}.feedback-top{display:flex;align-items:center;gap:15px;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:18px;margin-bottom:18px}.feedback h2{font-size:24px;margin-top:0}.stars{display:flex;border:0;padding:0;gap:6px;margin-bottom:15px}.star{position:relative;cursor:pointer}.star input{position:absolute;opacity:0;inset:0;cursor:pointer}.star span:not(.sr){font-size:38px;line-height:1;color:#b8a16b}.star.active span:not(.sr){color:#b78b00}.star:focus-within{outline:2px solid #9b7600}.reason-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:18px}.feedback textarea{display:block;width:100%;background:var(--page);border:1px solid var(--line);border-radius:10px;padding:10px;margin:8px 0 18px;color:var(--ink)}.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.footer{display:flex;justify-content:space-between;gap:25px;flex-wrap:wrap;padding-block:35px}footer{background:var(--footer-bg);color:var(--footer-ink);font-size:14px}footer small{color:var(--footer-muted)}footer p{margin:4px 0}.citrus-video-player{border-radius:20px;overflow:hidden}.citrus-video-player button{padding:0}.cv-cover{pointer-events:none}@media(max-width:850px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.brand small{display:none}.nav{gap:12px}.nav nav{gap:13px}.article-layout{display:block}.toc{position:static;margin-bottom:25px;max-height:none;background:var(--surface);padding:14px;border-radius:12px}.toc details nav{display:grid}.feature-slide{grid-template-columns:1fr}.feature-image{aspect-ratio:16/9;min-height:0}}@media(max-width:520px){.nav{flex-wrap:wrap;padding-block:10px}.nav nav{order:3;width:100%}.hero{padding-top:45px}.grid{grid-template-columns:1fr}.reason-grid{grid-template-columns:1fr}.search button{padding:8px 14px}.article-body{font-size:17px}.feedback{padding:17px}.article-meta{gap:12px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
/* v1.0.1: stable page shell, featured carousel and article metadata. */
body{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}main.wrap{flex:1 0 auto;width:100%;margin-block:0;margin-inline:auto}footer{flex-shrink:0;margin-top:auto}.brand{align-items:center;gap:12px}.brand small{margin-left:0}.brand-logo{display:block;width:128px;height:40px;object-fit:contain;object-position:left center}.button,button{display:inline-flex;align-items:center;justify-content:center;text-align:center;gap:.4em;line-height:1.35}.carousel-controls button{width:36px;height:36px;padding:0;font-size:18px}.carousel-controls [data-position]{min-width:3em;text-align:center}.feature-slide{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);height:clamp(340px,36vw,420px);align-items:stretch}.feature-image{min-height:0;min-width:0;overflow:hidden}.feature-copy{min-width:0;min-height:0;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;overflow:hidden;padding:clamp(20px,3vw,36px)}.feature-copy h2,.feature-copy p{display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.feature-copy h2{-webkit-line-clamp:2;line-height:1.17;min-height:2.34em;max-height:2.34em}.feature-copy p{-webkit-line-clamp:3;line-height:1.55;height:4.65em;flex-shrink:0}.feature-copy .button{flex-shrink:0}.article-meta{flex-wrap:nowrap;gap:16px;align-items:center}.byline{color:var(--ink);font-weight:650;min-width:0}.byline .avatar{flex-shrink:0}.author-name{overflow-wrap:anywhere}.article-dates{display:flex;flex-direction:column;line-height:1.5;gap:2px;font-size:13px}.article-meta .share-button{margin-left:auto;flex-shrink:0}.article-share-bottom{display:flex;justify-content:flex-end;margin-top:18px}.article-body .feedback h2{margin:0 0 14px}.feedback-top{margin:0;padding:0;border:0}.feedback #rating-form{border-top:1px solid var(--line);margin-top:18px;padding-top:18px}.feedback #feedback-status{margin:12px 0 0}.feedback #feedback-status:empty{display:none}
@media(max-width:850px){.feature-slide{grid-template-columns:minmax(0,1fr);grid-template-rows:auto 270px;height:auto}.feature-image{height:auto;aspect-ratio:16/9}.feature-copy{height:270px}.feature-copy h2{font-size:clamp(24px,4vw,32px)}}
@media(max-width:520px){.brand-logo{width:100px;height:32px}.article-meta{flex-wrap:wrap;gap:10px}.article-dates{flex-basis:auto}.article-meta .share-button{margin-left:auto}.feature-copy{padding:20px}.feature-copy h2{font-size:25px}}
