:root{--bg:#050b12;--bg2:#07111a;--panel:#08131d;--panel2:#0b1823;--text:#f4f7fb;--muted:#8f9aa8;--line:#1b2a36;--line2:#243746;--accent:#6279ff;--accent2:#3f62ff;--glow:rgba(82,112,255,.22);--white:#fff;--shadow:0 16px 40px rgba(0,0,0,.28);--radius:14px}
html[data-theme="light"]{--bg:#f7f8fa;--bg2:#f2f4f7;--panel:#ffffff;--panel2:#fbfcfd;--text:#111827;--muted:#667085;--line:#dfe4ea;--line2:#cfd7e1;--accent:#4f67ef;--accent2:#3659eb;--glow:rgba(77,99,230,.12);--white:#111827;--shadow:0 12px 32px rgba(22,30,50,.08)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(circle at 52% -20%,rgba(38,63,100,.18),transparent 32%),var(--bg);color:var(--text);font:14px/1.45 Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;transition:background .25s,color .25s}.svg-defs{position:absolute}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}a{color:inherit;text-decoration:none}button,input{font:inherit}svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.rail{position:fixed;z-index:20;left:0;top:0;bottom:0;width:70px;padding:10px 5px 8px;border:1px solid rgba(102,130,112,.24);border-radius:14px;background:linear-gradient(180deg,rgba(8,17,22,.96),rgba(4,13,17,.94));display:flex;flex-direction:column;align-items:center;gap:3px;box-shadow:0 16px 50px rgba(0,0,0,.2)}html[data-theme="light"] .rail{background:rgba(255,255,255,.93);border-color:var(--line)}.rail-spacer{height:39px}.rail-item{width:58px;height:50px;border-radius:9px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:var(--muted);font-size:14px;position:relative}.rail-item svg{width:16px;height:16px}.rail-item:hover,.rail-item.active{color:var(--text);background:rgba(84,110,255,.08)}.rail-item.active:before{content:"";position:absolute;left:0;top:9px;bottom:9px;width:2px;border-radius:2px;background:var(--accent)}.rail-profile{margin-top:auto;width:58px;padding:8px 4px;border-top:1px solid var(--line);display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;color:var(--muted);font-size:14px}.mini-rr{width:32px;height:32px;border-radius:8px;display:grid;place-items:center;background:linear-gradient(135deg,#14213a,#0a0f19);color:#87a0ff;border:1px solid #26374a;font-weight:800}
.site-shell{margin-left:88px;width:calc(100% - 105px);max-width:1460px}.topbar{height:66px;border-bottom:1px solid var(--line);display:grid;grid-template-columns:300px 1fr auto;align-items:center;gap:20px;position:sticky;top:0;z-index:15;background:color-mix(in srgb,var(--bg) 92%,transparent);backdrop-filter:blur(16px)}.brand{display:flex;align-items:center;gap:12px}.rr-mark{width:38px;height:36px;display:block;position:relative}.rr-mark b{position:absolute;left:2px;top:-3px;font-size:31px;line-height:1;font-weight:900;letter-spacing:-5px;color:var(--accent);font-family:Arial,sans-serif}.rr-mark b+ b{left:15px;opacity:.82}.brand-text{display:flex;flex-direction:column}.brand-text strong{font-size:17px;letter-spacing:.01em}.brand-text small{font-size:14px;color:var(--muted);margin-top:1px}.main-nav{display:flex;justify-content:center;gap:33px;height:100%;align-items:center}.main-nav a{height:100%;display:flex;align-items:center;font-size:14px;position:relative;color:#d9dee5}html[data-theme="light"] .main-nav a{color:#353b45}.main-nav a:hover,.main-nav a.active{color:var(--text)}.main-nav a.active:after{content:"";position:absolute;height:2px;background:var(--accent);left:0;right:0;bottom:13px}.utilities{display:flex;align-items:center;gap:10px}.icon-btn{width:36px;height:36px;border-radius:50%;border:1px solid var(--line);background:var(--panel);color:var(--text);display:grid;place-items:center;cursor:pointer}.icon-btn:hover{border-color:var(--line2)}#themeToggle{position:relative}.sun,.moon{position:absolute}html[data-theme="dark"] #themeToggle .sun{opacity:.9}html[data-theme="dark"] #themeToggle .moon{opacity:0}html[data-theme="light"] #themeToggle .sun{opacity:0}html[data-theme="light"] #themeToggle .moon{opacity:.9}.lang-switch{display:flex;gap:6px;align-items:center;margin-left:4px}.lang-switch button{border:0;background:transparent;color:var(--muted);padding:4px 1px;cursor:pointer;font-size:14px}.lang-switch button.active{color:var(--accent);font-weight:700}
main{padding-top:14px}.hero-grid{display:grid;grid-template-columns:minmax(310px,1.02fr) minmax(480px,1.42fr) minmax(235px,.72fr);gap:14px}.hero-copy{padding:9px 12px 0 6px}.eyebrow{font-size:14px;font-weight:700;letter-spacing:.15em;color:#7c91ff;margin:0 0 10px}.hero-copy h1{font-size:29px;line-height:1.04;letter-spacing:-.025em;margin:0;font-weight:780}.hero-copy h1 em{font-style:normal;color:var(--accent)}.hero-intro{color:var(--muted);max-width:330px;font-size:14px;margin:12px 0 14px}.hero-actions{display:flex;gap:10px}.btn{height:36px;border-radius:8px;display:inline-flex;align-items:center;gap:9px;padding:0 15px;border:1px solid var(--line2);font-size:14px;font-weight:600}.btn svg{width:14px}.btn-primary{background:var(--text);color:var(--bg);border-color:transparent}.btn-primary:hover{filter:brightness(.92)}.btn-ghost{background:var(--panel)}.topic-strip{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);border-radius:10px;margin-top:14px;overflow:hidden;background:rgba(8,17,26,.58)}html[data-theme="light"] .topic-strip{background:var(--panel)}.topic-strip>div{padding:10px 8px;text-align:center;border-right:1px solid var(--line);min-width:0}.topic-strip>div:last-child{border-right:0}.topic-icon{display:inline-grid;place-items:center;width:18px;height:18px;border-radius:5px;color:var(--accent);border:1px solid rgba(96,120,255,.35);font-size:14px;font-weight:800;margin-bottom:3px}.topic-strip b{display:block;font-size:14px}.topic-strip small{display:block;color:var(--muted);font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.featured-media,.summary-panel,.article-card,.module{background:linear-gradient(180deg,color-mix(in srgb,var(--panel) 97%,var(--accent) 3%),var(--panel));border:1px solid var(--line);border-radius:var(--radius)}.featured-media{overflow:hidden;box-shadow:var(--shadow)}.media-visual{height:251px;position:relative;overflow:hidden;background:radial-gradient(circle at 58% 48%,rgba(64,91,193,.3),transparent 18%),linear-gradient(135deg,#0e1b27,#081019 55%,#0b1620)}html[data-theme="light"] .media-visual{background:radial-gradient(circle at 58% 48%,rgba(83,110,239,.18),transparent 18%),linear-gradient(135deg,#eef2f8,#f8fafc 55%,#edf2f7)}.media-visual:before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(125,145,170,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(125,145,170,.06) 1px,transparent 1px);background-size:34px 34px;mask-image:radial-gradient(circle at center,#000 30%,transparent 85%)}.system-orbit{position:absolute;border:1px solid rgba(96,120,255,.38);border-radius:50%;left:50%;top:50%;transform:translate(-50%,-50%)}.orbit-a{width:250px;height:250px}.orbit-b{width:170px;height:170px}.node{position:absolute;display:grid;place-items:center;width:55px;height:55px;border-radius:50%;background:#0c1723;border:1px solid #4562d8;box-shadow:0 0 30px rgba(74,99,224,.15);font-size:14px;color:#dce3ff}.node-core{left:50%;top:50%;transform:translate(-50%,-50%);background:#18213a;border-color:#7488ff;color:white;width:62px;height:62px}.node-1{left:20%;top:18%}.node-2{right:18%;top:22%}.node-3{left:24%;bottom:14%}.node-4{right:20%;bottom:15%}html[data-theme="light"] .node{background:#fff;color:#1d2b53}.play-button{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:64px;height:64px;border:1px solid rgba(255,255,255,.55);border-radius:50%;background:rgba(4,9,15,.52);backdrop-filter:blur(4px);cursor:pointer}.play-button span{display:block;margin-left:4px;width:0;height:0;border-top:11px solid transparent;border-bottom:11px solid transparent;border-left:17px solid #fff}.media-meta{height:52px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:13px;padding:0 14px;color:var(--muted);font-size:14px}.media-meta .now{color:var(--accent)}.media-meta strong{font-size:14px;color:var(--text);font-weight:600}.media-meta a{font-size:14px}.summary-panel{padding:14px 14px 12px}.summary-panel h2{margin:0 0 9px;font-size:14px}.spark{color:var(--accent);margin-right:7px}.summary-panel>p{font-size:14px;color:var(--muted);margin:0 0 12px}.summary-panel ul{list-style:none;padding:0;margin:0;border-top:1px solid var(--line)}.summary-panel li{display:grid;grid-template-columns:24px 1fr;gap:6px;align-items:center;padding:9px 0;border-bottom:1px solid var(--line)}.summary-panel li span{width:20px;height:20px;border-radius:50%;display:grid;place-items:center;border:1px solid rgba(93,119,255,.48);color:var(--accent);font-size:14px}.summary-panel li b{font-size:14px;font-weight:500}.panel-link{margin-top:12px;height:34px;border:1px solid var(--line2);border-radius:7px;padding:0 12px;display:inline-flex;align-items:center;gap:12px;font-size:14px}.panel-link svg{width:13px}
.articles-section{margin-top:13px}.section-tabs{height:31px;border-bottom:1px solid var(--line);display:flex;align-items:flex-start;justify-content:space-between}.section-tabs>div{display:flex;gap:25px;height:100%}.section-tabs button{height:100%;border:0;background:transparent;color:var(--muted);font-size:14px;padding:0;position:relative}.section-tabs button.active{color:var(--text);font-weight:600}.section-tabs button.active:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--accent)}.section-tabs a{font-size:14px;color:var(--muted);padding-top:4px}.article-row{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-top:9px}.article-card{padding:0 10px 10px;overflow:hidden;min-width:0}.thumb{height:87px;margin:0 -10px 8px;position:relative;overflow:hidden;background:#0b1520;border-bottom:1px solid var(--line)}html[data-theme="light"] .thumb{background:#f5f7fa}.thumb:before,.thumb:after,.thumb span,.thumb i,.thumb b{content:"";position:absolute;display:block}.diagram-one:before{left:18px;right:18px;top:16px;height:1px;background:#5d6d7f;box-shadow:0 20px 0 #5d6d7f,0 40px 0 #5d6d7f}.diagram-one:after{top:10px;bottom:12px;left:42px;width:1px;background:#63758a;box-shadow:55px 0 0 #63758a,110px 0 0 #63758a}.diagram-one span{width:18px;height:18px;border:1px solid #7b8ea5;border-radius:50%;left:34px;top:8px;box-shadow:55px 20px 0 -1px #0b1520,55px 20px 0 0 #7b8ea5,110px 40px 0 -1px #0b1520,110px 40px 0 0 #7b8ea5}.diagram-two:before{left:14px;top:18px;width:45px;height:24px;border:1px solid #6e8297;border-radius:4px;box-shadow:64px 0 0 -1px #0b1520,64px 0 0 0 #6e8297,128px 0 0 -1px #0b1520,128px 0 0 0 #6e8297}.diagram-two:after{left:37px;top:30px;width:128px;height:1px;background:#70849b}.radar:before{width:70px;height:70px;border-radius:50%;left:50%;top:50%;transform:translate(-50%,-50%);border:1px solid rgba(94,118,255,.45);box-shadow:0 0 0 12px rgba(94,118,255,.06),0 0 0 25px rgba(94,118,255,.04)}.radar:after{width:4px;height:4px;border-radius:50%;background:var(--accent);left:50%;top:50%;transform:translate(-50%,-50%);box-shadow:0 0 22px 7px var(--glow)}.cubes:before,.cubes:after,.cubes span{width:36px;height:36px;border:1px solid #7a8390;transform:rotate(30deg) skewY(-30deg) scaleY(.86);top:29px}.cubes:before{left:27px}.cubes:after{left:92px}.cubes span{left:156px}.chart:before{left:15px;bottom:18px;width:12px;height:38px;background:#3150b6;box-shadow:18px 8px 0 #4971ee,36px -8px 0 #223f99,54px 17px 0 #6e88ff}.chart:after{right:14px;left:92px;top:24px;height:1px;background:#5d6f82;box-shadow:0 17px 0 #5d6f82,0 34px 0 #5d6f82}.tag{display:inline-block;font-size:14px;font-weight:800;padding:2px 5px;border-radius:4px;margin-bottom:6px}.tag.blue{color:#a9b7ff;background:#173a97}.tag.green{color:#9ff0cc;background:#17644a}.tag.purple{color:#d0b3ff;background:#58318e}.tag.amber{color:#ffe0a3;background:#765413}.article-card h3{font-size:14px;line-height:1.22;margin:0 0 6px}.article-card p{font-size:14px;line-height:1.35;color:var(--muted);margin:0 0 7px}.article-card small{font-size:14px;color:var(--muted)}
.lower-grid{display:grid;grid-template-columns:1.05fr 1.35fr 1.35fr 1.25fr;gap:10px;margin-top:10px}.module{min-height:221px;padding:10px;overflow:hidden}.module-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:9px}.module-head h2{font-size:14px;margin:0}.module-head a{font-size:14px;color:var(--muted)}.mini-list{display:flex;flex-direction:column;gap:6px}.mini-list a{display:block}.mini-list b,.resource-list b{font-size:14px;display:block;line-height:1.2}.mini-list small,.resource-list small{font-size:14px;color:var(--muted);display:block;margin-top:2px}.mini-art{height:46px;border-radius:5px;background:radial-gradient(circle at 68% 40%,#c79d52,transparent 4%),linear-gradient(135deg,#101923,#36281f)}.mini-art.alt{background:radial-gradient(circle at 38% 40%,#7189ff,transparent 5%),linear-gradient(135deg,#0c1620,#161f35)}.mini-art.third{background:linear-gradient(145deg,#071525 10%,#2a2f38 40%,#0d1721 70%)}.audio-card{display:grid;grid-template-columns:42px 1fr;gap:9px;align-items:center;padding:7px 5px 9px;border-bottom:1px solid var(--line);position:relative}.round-play{width:39px;height:39px;border-radius:50%;background:transparent;color:var(--text);border:1px solid var(--line2);position:relative}.round-play span{position:absolute;left:15px;top:11px;width:0;height:0;border-top:8px solid transparent;border-bottom:8px solid transparent;border-left:11px solid currentColor}.audio-card b{font-size:14px}.audio-card small{display:block;color:var(--muted);font-size:14px}.wave{grid-column:1/-1;height:38px;display:flex;align-items:center;gap:2px;padding:0 4px}.wave i{display:block;width:2px;height:12px;background:var(--accent);opacity:.8;border-radius:2px}.wave i:nth-child(2n){height:21px}.wave i:nth-child(3n){height:31px}.wave i:nth-child(5n){height:17px}.episode-list{list-style:none;margin:0;padding:4px 0 0}.episode-list li{font-size:14px;color:var(--muted);padding:5px 0;border-bottom:1px solid var(--line)}.episode-list li span{display:inline-block;width:22px;color:var(--text)}.resource-list{display:flex;flex-direction:column;gap:6px}.resource-list>a{display:grid;grid-template-columns:76px 1fr;gap:8px;padding:5px;border:1px solid var(--line);border-radius:8px}.resource-preview{height:47px;border-radius:4px;background:#f3f5f7;position:relative;overflow:hidden}.resource-preview:before{content:"";position:absolute;left:7px;top:8px;width:23px;height:28px;border:1px solid #c4cad1}.resource-preview i{position:absolute;left:36px;right:7px;top:11px;height:2px;background:#c4cad1;box-shadow:0 7px 0 #c4cad1,0 14px 0 #c4cad1}.resource-preview.two:before{transform:rotate(-8deg)}.resource-preview.three:after{content:"";position:absolute;width:16px;height:16px;border-radius:50%;right:11px;bottom:9px;border:4px solid #4d67de;border-right-color:#d1d6dd}.resource-list em{display:inline-block;font-style:normal;font-size:14px;border:1px solid var(--line2);border-radius:3px;padding:1px 4px;margin-top:3px;color:var(--muted)}.thinking{text-align:center}.systems-map{height:155px;position:relative;margin:2px auto 2px;max-width:245px}.ring{position:absolute;border:1px solid rgba(100,122,255,.3);border-radius:50%;left:50%;top:50%;transform:translate(-50%,-50%)}.r1{width:150px;height:150px}.r2{width:110px;height:110px}.sys-core,.sys-node{position:absolute;border-radius:50%;display:grid;place-items:center;background:#111a29;border:1px solid #4e68e3;color:white;font-size:14px;box-shadow:0 0 20px rgba(78,104,227,.16)}.sys-core{width:48px;height:48px;left:50%;top:50%;transform:translate(-50%,-50%);background:#1a2130}.sys-node{width:42px;height:42px}.n1{left:50%;top:1px;transform:translateX(-50%)}.n2{right:13px;top:50%;transform:translateY(-50%)}.n3{left:50%;bottom:1px;transform:translateX(-50%)}.n4{left:13px;top:50%;transform:translateY(-50%)}html[data-theme="light"] .sys-core,html[data-theme="light"] .sys-node{background:white;color:#26345f}.thinking p{font-size:14px;color:var(--muted);margin:0}
.footer{min-height:82px;border-top:1px solid var(--line);margin-top:14px;display:grid;grid-template-columns:1fr 1.4fr 1fr;align-items:center;gap:20px;color:var(--muted);font-size:14px}.footer>div:first-child{display:flex;flex-direction:column;gap:3px}.footer blockquote{margin:0;text-align:center;font-size:14px;font-style:italic;line-height:1.5}.connect{justify-self:end;display:flex;align-items:center;gap:12px}.connect>span{font-size:14px;color:var(--text)}.socials{display:flex;gap:7px}.socials a,.socials button{width:28px;height:28px;border-radius:50%;border:1px solid var(--line);display:grid;place-items:center;background:var(--panel);color:var(--text);cursor:pointer}.socials svg{width:14px;height:14px}.socials a:hover,.socials button:hover{border-color:var(--accent);color:var(--accent)}
.follow-dialog{width:min(360px,calc(100vw - 32px));border:1px solid var(--line2);border-radius:16px;background:var(--panel);color:var(--text);padding:27px 24px 22px;box-shadow:0 30px 90px rgba(0,0,0,.45)}.follow-dialog::backdrop{background:rgba(0,0,0,.58);backdrop-filter:blur(4px)}.dialog-close{position:absolute;right:12px;top:12px;border:0;background:transparent;color:var(--muted);cursor:pointer}.dialog-icon{width:38px;height:38px;border-radius:10px;background:rgba(88,112,255,.1);color:var(--accent);display:grid;place-items:center;margin-bottom:12px}.follow-dialog h2{font-size:20px;margin:0 0 5px}.follow-dialog p{margin:0 0 16px;color:var(--muted);font-size:14px}.follow-dialog form{display:grid;grid-template-columns:1fr auto;gap:8px}.follow-dialog input{height:40px;width:100%;border:1px solid var(--line2);border-radius:8px;background:var(--bg2);color:var(--text);padding:0 11px;outline:none}.follow-dialog input:focus{border-color:var(--accent)}.follow-dialog form button{height:40px;border:0;border-radius:8px;background:var(--accent2);color:white;padding:0 15px;font-weight:700;cursor:pointer}.follow-dialog small{display:block;margin-top:10px;color:var(--muted);font-size:14px}
@media(max-width:1180px){.site-shell{width:calc(100% - 100px)}.topbar{grid-template-columns:240px 1fr auto}.main-nav{gap:18px}.hero-grid{grid-template-columns:1fr 1.35fr}.summary-panel{display:none}.article-row{grid-template-columns:repeat(3,1fr)}.article-card:nth-child(n+4){display:none}.lower-grid{grid-template-columns:1fr 1fr}.media-visual{height:235px}}
@media(max-width:820px){.rail{display:none}.site-shell{margin:0 auto;width:calc(100% - 28px)}.topbar{height:auto;min-height:64px;grid-template-columns:1fr auto;padding:9px 0}.main-nav{order:3;grid-column:1/-1;justify-content:flex-start;overflow:auto;gap:22px;height:38px}.main-nav a{height:38px;white-space:nowrap}.main-nav a.active:after{bottom:0}.brand-text small{display:none}.utilities{gap:5px}.hero-grid{grid-template-columns:1fr}.hero-copy{padding-top:16px}.hero-copy h1{font-size:34px}.featured-media{order:2}.article-row{grid-template-columns:1fr 1fr}.article-card:nth-child(3){display:none}.lower-grid{grid-template-columns:1fr}.footer{grid-template-columns:1fr;text-align:center;padding:20px 0}.footer>div:first-child{align-items:center}.connect{justify-self:center}.topic-strip{margin-bottom:4px}}
@media(max-width:520px){.site-shell{width:calc(100% - 20px)}.brand-text strong{font-size:14px}.rr-mark{width:32px}.rr-mark b{font-size:27px}.main-nav{font-size:14px}.hero-copy h1{font-size:30px}.hero-actions{flex-wrap:wrap}.topic-strip{grid-template-columns:1fr 1fr}.topic-strip>div:nth-child(2){border-right:0}.topic-strip>div:nth-child(-n+2){border-bottom:1px solid var(--line)}.media-visual{height:215px}.node{width:46px;height:46px;font-size:14px}.orbit-a{width:210px;height:210px}.article-row{grid-template-columns:1fr}.article-card:nth-child(2){display:none}.section-tabs button:not(.active){display:none}.lower-grid{grid-template-columns:1fr}.connect{flex-direction:column}.follow-dialog form{grid-template-columns:1fr}}

/* =========================================================
   V1 VISUAL LOCK — preserve approved UI; technical changes only
   ========================================================= */
html{scroll-padding-top:78px}
body{min-width:320px}
.skip-link{position:fixed;left:16px;top:-60px;z-index:1000;padding:9px 12px;border-radius:8px;background:var(--text);color:var(--bg);font-weight:700;transition:top .18s}
.skip-link:focus{top:12px}

/* Sidebar is intentionally OFF in V1. Main canvas stays centered at every width. */
.rail{display:none!important}
.site-shell{margin-left:auto;margin-right:auto;width:min(1460px,calc(100% - 48px));max-width:1460px}
.topbar{position:sticky;top:0;z-index:30;background:color-mix(in srgb,var(--bg) 94%,transparent);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
/* Approved RR monogram, slightly tighter overlap; no frame/background box. */
.rr-mark b+ b{left:12px}

/* Search is functional but remains invisible until requested from the approved header icon. */
.search-dialog{width:min(620px,calc(100vw - 28px));border:1px solid var(--line2);border-radius:14px;background:var(--panel);color:var(--text);padding:0;box-shadow:0 30px 90px rgba(0,0,0,.48)}
.search-dialog::backdrop{background:rgba(0,0,0,.58);backdrop-filter:blur(4px)}
.search-shell{padding:15px}
.search-top{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center}
.search-top label{height:44px;border:1px solid var(--line2);border-radius:9px;background:var(--bg2);display:flex;align-items:center;gap:10px;padding:0 12px;color:var(--muted)}
.search-top label svg{width:17px;height:17px;flex:0 0 auto}
.search-top input{width:100%;border:0;outline:0;background:transparent;color:var(--text);font-size:14px}
.search-close{width:42px;height:42px;border:1px solid var(--line);border-radius:9px;background:var(--panel2);color:var(--text);display:grid;place-items:center;cursor:pointer}
.search-results{display:grid;gap:6px;max-height:360px;overflow:auto;margin-top:10px}
.search-results>p{color:var(--muted);font-size:14px;margin:9px 3px}
.search-result{display:block;border:1px solid var(--line);border-radius:8px;padding:9px 10px;background:var(--panel2)}
.search-result:hover{border-color:var(--line2)}
.search-result strong{display:block;font-size:14px;margin-bottom:2px}
.search-result small{color:var(--muted);font-size:14px}
.search-shell>small{display:block;margin-top:10px;color:var(--muted);font-size:14px}

/* Back-to-top is convenience only; footer stays in normal document flow. */
.back-top{position:fixed;right:22px;bottom:22px;z-index:35;width:38px;height:38px;border-radius:50%;border:1px solid var(--line2);background:color-mix(in srgb,var(--panel) 92%,transparent);color:var(--text);box-shadow:var(--shadow);display:grid;place-items:center;opacity:0;visibility:hidden;transform:translateY(8px);transition:opacity .18s,transform .18s,visibility .18s;cursor:pointer;backdrop-filter:blur(10px)}
.back-top.visible{opacity:1;visibility:visible;transform:none}
.back-top:hover{border-color:var(--accent);color:var(--accent)}

/* Keep focus visible without changing the approved visual language. */
:where(a,button,input):focus-visible{outline:2px solid var(--accent);outline-offset:2px}

@media(max-width:1180px){
  .site-shell{width:calc(100% - 36px)}
}
@media(max-width:820px){
  .site-shell{margin:0 auto;width:calc(100% - 28px)}
  .topbar{top:0}
  .back-top{right:14px;bottom:14px}
}
@media(max-width:520px){
  .site-shell{width:calc(100% - 20px)}
  .search-dialog{width:calc(100vw - 18px)}
}


/* ===== ABOUT PAGE V1 =====
   Scoped additions only. Homepage visual lock remains untouched. */
.about-page main{max-width:1120px;margin:0 auto;padding:54px 0 30px}
.about-hero{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr);gap:34px;align-items:end;padding:26px 0 42px;border-bottom:1px solid var(--line)}
.about-hero-copy{max-width:760px}
.about-hero .eyebrow{margin:0 0 18px;color:var(--accent);font-size:14px;letter-spacing:.18em;font-weight:800}
.about-hero h1{font-size:clamp(40px,5vw,68px);line-height:.98;letter-spacing:-.045em;margin:0 0 22px;max-width:760px}
.about-hero h1 em{font-style:normal;color:var(--accent)}
.about-lead{font-size:16px;line-height:1.72;color:var(--muted);margin:0;max-width:720px}
.about-context{border:1px solid var(--line);border-radius:var(--radius);background:linear-gradient(180deg,var(--panel),var(--panel2));padding:22px 22px 20px;box-shadow:var(--shadow)}
.about-context span{display:block;color:var(--accent);font-size:14px;font-weight:800;letter-spacing:.14em;margin-bottom:10px}
.about-context p{margin:0;color:var(--muted);font-size:14px;line-height:1.72}
.about-section{padding:42px 0;border-bottom:1px solid var(--line)}
.about-section:last-of-type{border-bottom:0}
.about-section-head{display:grid;grid-template-columns:210px 1fr;gap:30px;align-items:start;margin-bottom:24px}
.about-section-head h2{font-size:17px;letter-spacing:.02em;margin:2px 0;color:var(--text)}
.about-section-head p{margin:0;color:var(--muted);font-size:14px;line-height:1.75;max-width:760px}
.about-prose{margin-left:240px;max-width:760px}
.about-prose p{margin:0 0 18px;color:var(--muted);font-size:15px;line-height:1.8}
.about-prose p strong{color:var(--text);font-weight:650}
.about-lenses{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:24px}
.about-lens{min-height:168px;border:1px solid var(--line);border-radius:12px;background:var(--panel);padding:18px 16px;position:relative;overflow:hidden}
.about-lens:before{content:"";position:absolute;inset:auto -30px -52px auto;width:110px;height:110px;border:1px solid color-mix(in srgb,var(--accent) 24%,transparent);border-radius:50%}
.about-lens span{display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--line2);border-radius:8px;color:var(--accent);font-size:16px;font-weight:800;margin-bottom:16px}
.about-lens h3{font-size:15px;margin:0 0 8px}
.about-lens p{margin:0;color:var(--muted);font-size:14px;line-height:1.62;max-width:210px}
.about-closing{padding:52px 0 34px;max-width:850px}
.about-closing p{font-size:clamp(24px,2.8vw,36px);line-height:1.25;letter-spacing:-.025em;margin:0 0 18px}
.about-closing small{display:block;color:var(--muted);font-size:14px;line-height:1.7;max-width:650px}
@media(max-width:900px){
  .about-page main{padding-top:28px}
  .about-hero{grid-template-columns:1fr;align-items:start}
  .about-context{max-width:620px}
  .about-section-head{grid-template-columns:1fr;gap:10px}
  .about-prose{margin-left:0}
  .about-lenses{grid-template-columns:1fr 1fr}
}
@media(max-width:520px){
  .about-page main{padding-top:18px}
  .about-hero{padding:18px 0 30px;gap:24px}
  .about-hero h1{font-size:32px}
  .about-lead{font-size:15px}
  .about-section{padding:30px 0}
  .about-lenses{grid-template-columns:1fr}
  .about-lens{min-height:130px}
  .about-closing{padding:36px 0 20px}
}

.about-closing p{position:relative;padding-left:22px}
.about-closing p:before{content:"“";position:absolute;left:0;top:-.12em;color:var(--accent);font-size:1.2em;font-weight:700}
.about-closing p:after{content:"”";color:var(--accent);font-weight:700;margin-left:.12em}
@media(max-width:520px){.about-closing p{padding-left:18px}}

/* =========================================================
   RACHMATRIYANTO.COM — DESIGN SYSTEM V1 (LOCKED)
   Typography and spacing are role-based, not page-based.
   ========================================================= */

:root{
  /* Typography V1 */
  --type-base:14px;
  --type-small-heading:16px;
  --type-h2:20px;
  --type-quote:28px;
  --type-h1:36px;
  --type-home-statement:40px;
  --type-about-hero:68px;

  /* Spacing V1 */
  --space-1:8px;
  --space-2:12px;
  --space-3:16px;
  --space-4:24px;
  --space-5:32px;
  --space-6:48px;

  /* Semantic accent bridge */
  --link-accent:#6f8cff;
  --link-accent-hover:#9eb0ff;

  --systems-fg:#a9b7ff;
  --systems-bg:#173a97;
  --service-fg:#9ff0cc;
  --service-bg:#17644a;
  --technology-fg:#d0b3ff;
  --technology-bg:#58318e;
  --ideas-fg:#ffe0a3;
  --ideas-bg:#765413;
}

/* Typography roles */
body{font-size:var(--type-base)}

.brand-text strong{font-size:var(--type-small-heading)}
.brand-text small,
.main-nav a,
.lang-switch,
.lang-switch button,
.footer,
.footer blockquote,
.connect>span{font-size:var(--type-base)}

/* Home */
.hero-copy h1{font-size:var(--type-home-statement)}
.summary-panel h2,
.module-head h2,
.article-card h3{font-size:var(--type-small-heading)}

/* About */
.about-hero h1{font-size:clamp(40px,5vw,var(--type-about-hero))}
.about-section-head h2{font-size:var(--type-h2)}
.about-lens h3{font-size:var(--type-small-heading)}
.about-closing p{font-size:var(--type-quote)}

.about-lead,
.about-context p,
.about-section-head p,
.about-prose p,
.about-lens p,
.about-closing small,
.about-closing-tagline{
  font-size:var(--type-base);
}

.about-lead,
.about-context p,
.about-section-head p,
.about-prose p,
.about-lens p{
  line-height:1.6;
}
.about-prose p{margin-bottom:var(--space-3)}

/* Semantic category colors */
.tag.blue{color:var(--systems-fg);background:var(--systems-bg)}
.tag.green{color:var(--service-fg);background:var(--service-bg)}
.tag.purple{color:var(--technology-fg);background:var(--technology-bg)}
.tag.amber{color:var(--ideas-fg);background:var(--ideas-bg)}

/* Reusable action-link language */
.media-meta a,
.section-tabs a,
.module-head a,
.article-body a,
.article-breadcrumb a{
  color:var(--link-accent);
}
.media-meta a:hover,
.section-tabs a:hover,
.module-head a:hover,
.article-body a:hover,
.article-breadcrumb a:hover{
  color:var(--link-accent-hover);
}

/* Responsive display roles may shrink, but never below the 14px text floor. */
@media(max-width:520px){
  .hero-copy h1{font-size:36px}
  .about-hero h1{font-size:40px}
}

/* =========================================================
   ARTICLE SYSTEM V1 — REUSABLE
   Uses Design System V1 tokens above.
   ========================================================= */
/* =========================================================
   ARTICLE SYSTEM V1 — TYPOGRAPHY + SPACING TEST
   Typography: 14 / 16 / 20 / 28 / 36
   Spacing: 8 / 12 / 16 / 24 / 32 / 48
   This file is intentionally separate for review.
   ========================================================= */



.article-shell{
  width:min(100% - 48px, 1180px);
  margin:0 auto;
}

.article-header{
  max-width:860px;
  padding:72px 0 var(--space-6);
}

.article-eyebrow,
.article-meta,
.article-breadcrumb,
.article-caption,
.article-related-meta,
.article-table,
.article-list,
.article-callout p,
.article-body,
.article-footer-note{
  font-size:var(--type-base);
}

.article-breadcrumb{
  display:flex;
  flex-wrap:wrap;
  gap:var(--space-1);
  margin-bottom:var(--space-4);
  color:var(--muted);
}

.article-breadcrumb a{
  color:var(--accent);
  text-decoration:none;
}

.article-eyebrow{
  margin:0 0 var(--space-2);
  color:var(--accent);
  font-weight:750;
  letter-spacing:.12em;
}

.article-title{
  max-width:820px;
  margin:0;
  font-size:var(--type-h1);
  line-height:1.08;
  letter-spacing:-.028em;
}

.article-deck{
  max-width:760px;
  margin:var(--space-3) 0 0;
  color:var(--muted);
  font-size:var(--type-small-heading);
  line-height:1.55;
}

.article-meta{
  display:flex;
  flex-wrap:wrap;
  gap:var(--space-2);
  margin-top:var(--space-4);
  color:var(--muted);
}

.article-layout{
  display:grid;
  grid-template-columns:minmax(0,760px) minmax(220px,1fr);
  gap:64px;
  align-items:start;
}

.article-body{
  max-width:760px;
  line-height:1.6;
}

.article-body > p{
  margin:0 0 var(--space-3);
  color:var(--text);
}

.article-body h2{
  margin:var(--space-6) 0 var(--space-3);
  font-size:var(--type-h2);
  line-height:1.25;
  letter-spacing:-.01em;
}

.article-body h3{
  margin:var(--space-5) 0 var(--space-2);
  font-size:var(--type-small-heading);
  line-height:1.3;
}

.article-body strong{
  color:var(--text);
  font-weight:700;
}

.article-body a{
  color:var(--accent);
}

.article-pullquote{
  margin:var(--space-5) 0;
  padding:var(--space-4) 0 var(--space-4) var(--space-4);
  border-left:2px solid var(--accent);
  color:var(--text);
  font-size:var(--type-quote);
  line-height:1.3;
  letter-spacing:-.02em;
}

.article-pullquote cite{
  display:block;
  margin-top:var(--space-2);
  color:var(--muted);
  font-size:var(--type-base);
  font-style:normal;
  letter-spacing:0;
}

.article-callout{
  margin:var(--space-5) 0;
  padding:var(--space-4);
  border:1px solid var(--line);
  border-radius:18px;
  background:linear-gradient(180deg,var(--panel),var(--panel2));
}

.article-callout h3{
  margin:0 0 var(--space-2);
  font-size:var(--type-small-heading);
}

.article-callout p{
  margin:0;
  color:var(--muted);
  line-height:1.6;
}

.article-list{
  margin:var(--space-3) 0 var(--space-4);
  padding-left:22px;
  line-height:1.6;
}

.article-list li + li{
  margin-top:var(--space-2);
}

.article-table-wrap{
  margin:var(--space-5) 0;
  overflow-x:auto;
  border:1px solid var(--line);
  border-radius:16px;
}

.article-table{
  width:100%;
  min-width:620px;
  border-collapse:separate;
  border-spacing:0;
  line-height:1.5;
}

.article-table th,
.article-table td{
  padding:var(--space-3);
  border-bottom:1px solid var(--line);
  text-align:left;
  vertical-align:top;
}

.article-table th:not(:last-child),
.article-table td:not(:last-child){
  border-right:1px solid var(--line);
}

html[data-theme="dark"] .article-table thead th:not(:last-child){
  border-right-color:var(--line2);
}

.article-table th{
  font-size:var(--type-small-heading);
  font-weight:700;
}

.article-table tr:last-child td{
  border-bottom:0;
}

.article-figure{
  margin:var(--space-5) 0;
}

.article-figure-demo{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:var(--space-2);
  min-height:180px;
  padding:var(--space-4);
  border:1px solid var(--line);
  border-radius:18px;
  background:linear-gradient(180deg,var(--panel),var(--panel2));
}

.article-figure-demo div{
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px dashed var(--line);
  border-radius:14px;
  color:var(--muted);
  font-size:var(--type-base);
  text-align:center;
}

.article-caption{
  margin-top:var(--space-2);
  color:var(--muted);
  line-height:1.5;
}

.article-aside{
  position:sticky;
  top:110px;
  padding-top:4px;
}

.article-aside h3{
  margin:0 0 var(--space-3);
  font-size:var(--type-small-heading);
}

.article-aside nav{
  display:grid;
  gap:var(--space-2);
}

.article-aside a{
  color:var(--muted);
  font-size:var(--type-base);
  line-height:1.4;
  text-decoration:none;
}

.article-aside a:hover{
  color:var(--accent);
}

.article-ending{
  margin-top:var(--space-6);
  padding-top:var(--space-5);
  border-top:1px solid var(--line);
}

.article-ending h2{
  margin-top:0;
}

.article-footer-note{
  margin-top:var(--space-5);
  color:var(--muted);
  line-height:1.6;
}

.article-related{
  margin-top:var(--space-6);
  padding-top:var(--space-5);
  border-top:1px solid var(--line);
}

.article-related > h2{
  margin:0 0 var(--space-4);
  font-size:var(--type-h2);
}

.article-related-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:var(--space-4);
}

.article-related-card{
  padding:var(--space-4);
  border:1px solid var(--line);
  border-radius:18px;
  background:var(--panel);
}

.article-related-card h3{
  margin:0 0 var(--space-2);
  font-size:var(--type-small-heading);
  line-height:1.35;
}

.article-related-card p{
  margin:0 0 var(--space-3);
  color:var(--muted);
  font-size:var(--type-base);
  line-height:1.6;
}

.article-related-meta{
  color:var(--muted);
}

.article-system-note{
  margin:var(--space-6) 0 0;
  padding:var(--space-4);
  border:1px dashed var(--accent);
  border-radius:16px;
  color:var(--muted);
  font-size:var(--type-base);
  line-height:1.6;
}

@media(max-width:900px){
  .article-layout{
    grid-template-columns:1fr;
    gap:var(--space-5);
  }
  .article-aside{
    position:static;
    order:-1;
    padding:var(--space-4);
    border:1px solid var(--line);
    border-radius:16px;
    background:var(--panel);
  }
  .article-related-grid{
    grid-template-columns:1fr;
  }
}

@media(max-width:620px){
  .article-shell{
    width:min(100% - 32px, 1180px);
  }
  .article-header{
    padding:var(--space-6) 0 var(--space-5);
  }
  .article-title{
    font-size:32px;
  }
  .article-pullquote{
    font-size:24px;
  }
  .article-figure-demo{
    grid-template-columns:1fr;
  }
}


/* =========================================================
   SITE-WIDE TYPOGRAPHY ROLE QA
   This appendix exists only to verify every locked role once.
   ========================================================= */

.article-page .brand-text strong{font-size:16px}
.article-page .brand-text small,
.article-page .main-nav a,
.article-page .lang-switch,
.article-page .lang-switch button,
.article-page .icon-btn,
.article-page .footer,
.article-page .footer blockquote,
.article-page .connect>span{font-size:14px}

.type-qa{
  max-width:980px;
  margin:48px 0 0;
  padding:32px 0 0;
  border-top:1px solid var(--line);
}

.type-qa > h2{
  margin:0 0 24px;
  font-size:20px;
  line-height:1.25;
}

.type-qa-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px;
}

.type-qa-card{
  padding:24px;
  border:1px solid var(--line);
  border-radius:18px;
  background:var(--panel);
}

.type-qa-label{
  margin:0 0 12px;
  color:var(--muted);
  font-size:14px;
  line-height:1.4;
}

.type-qa-body,
.type-qa-ui,
.type-qa-meta,
.type-qa-caption,
.type-qa-breadcrumb,
.type-qa-tag,
.type-qa-list,
.type-qa-table-body,
.type-qa-code,
.type-qa-footer,
.type-qa-button,
.type-qa-link{
  font-size:14px;
}

.type-qa-brand{
  font-size:16px;
  font-weight:700;
}

.type-qa-card-title,
.type-qa-callout-title,
.type-qa-h3,
.type-qa-deck,
.type-qa-table-head{
  font-size:16px;
}

.type-qa-h2{
  font-size:20px;
}

.type-qa-quote{
  font-size:28px;
  line-height:1.3;
}

.type-qa-h1,
.type-qa-page-h1{
  font-size:36px;
  line-height:1.08;
  letter-spacing:-.028em;
}

.type-qa-home{
  font-size:40px;
  line-height:1.08;
  letter-spacing:-.03em;
}

.type-qa-about{
  font-size:68px;
  line-height:.96;
  letter-spacing:-.04em;
}

.type-qa-button{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  padding:0 16px;
  border:1px solid var(--line);
  border-radius:999px;
  color:var(--text);
  background:var(--panel2);
}

.type-qa-link{
  color:var(--accent);
  font-weight:600;
}

.type-qa-tag{
  display:inline-flex;
  padding:8px 12px;
  border:1px solid var(--line);
  border-radius:999px;
  color:var(--accent);
}

.type-qa-code{
  display:block;
  margin:0;
  padding:16px;
  overflow:auto;
  border:1px solid var(--line);
  border-radius:14px;
  background:var(--panel2);
  line-height:1.6;
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
}

.type-qa-demo{
  margin:0;
  color:var(--text);
}

.type-qa-demo + .type-qa-demo{
  margin-top:12px;
}

.type-qa-note{
  margin:24px 0 0;
  color:var(--muted);
  font-size:14px;
  line-height:1.6;
}

@media(max-width:760px){
  .type-qa-grid{grid-template-columns:1fr}
  .type-qa-about{font-size:40px}
  .type-qa-home{font-size:36px}
}


/* =========================================================
   ARTICLE V1 — DARK READING COLOR REFINEMENT
   Scope intentionally limited:
   - soften dark-mode body text
   - make article links more distinctive
   - make review/note boxes visually prominent
   Typography, spacing, and layout are untouched.
   ========================================================= */

html[data-theme="dark"] .article-page{
  --article-reading:#c6cfdb;
  --article-reading-soft:#aeb9c8;
  --article-link:#6f8cff;
  --article-link-hover:#9eb0ff;
  --article-note-bg:rgba(79,103,255,.13);
  --article-note-border:rgba(111,140,255,.72);
  --article-note-text:#dce4ff;
}

html[data-theme="dark"] .article-body > p,
html[data-theme="dark"] .article-list,
html[data-theme="dark"] .article-table td{
  color:var(--article-reading);
}

html[data-theme="dark"] .article-body strong,
html[data-theme="dark"] .article-body h1,
html[data-theme="dark"] .article-body h2,
html[data-theme="dark"] .article-body h3{
  color:var(--text);
}

html[data-theme="dark"] .article-body a,
html[data-theme="dark"] .article-breadcrumb a,
html[data-theme="dark"] .article-aside a:hover,
html[data-theme="dark"] .type-qa-link{
  color:var(--article-link);
}

html[data-theme="dark"] .article-body a:hover,
html[data-theme="dark"] .article-breadcrumb a:hover,
html[data-theme="dark"] .type-qa-link:hover{
  color:var(--article-link-hover);
  text-decoration-color:currentColor;
}

html[data-theme="dark"] .article-meta,
html[data-theme="dark"] .article-caption,
html[data-theme="dark"] .article-related-meta,
html[data-theme="dark"] .article-aside a,
html[data-theme="dark"] .article-footer-note{
  color:var(--article-reading-soft);
}

html[data-theme="dark"] .article-system-note{
  color:var(--article-note-text);
  background:var(--article-note-bg);
  border:1px solid var(--article-note-border);
  box-shadow:0 12px 32px rgba(30,45,110,.22);
}

html[data-theme="dark"] .article-system-note strong{
  color:#ffffff;
}

html[data-theme="dark"] .article-callout{
  border-color:rgba(111,140,255,.38);
  background:linear-gradient(180deg,rgba(79,103,255,.10),rgba(10,20,38,.62));
}

html[data-theme="dark"] .article-callout p{
  color:var(--article-reading);
}

/* Light mode intentionally keeps the current palette. */


/* ARTICLE V1 — action button text color refinement */
html[data-theme="dark"] .type-qa-button{
  color:var(--article-link);
}

html[data-theme="dark"] .type-qa-button:hover{
  color:var(--article-link-hover);
}

/* =========================================================
   RACHMATRIYANTO.COM — FOUNDATION V2
   LOCKS: layout/grid, color, components, interaction,
   responsive behavior, media, and brand/header calibration.
   Typography V1 + Spacing V1 remain unchanged.
   ========================================================= */

:root{
  /* Layout / Grid V1 */
  --layout-site-max:1460px;
  --layout-content-max:1180px;
  --layout-reading-max:820px;
  --layout-aside:280px;
  --layout-gutter:24px;
  --layout-gutter-mobile:16px;
  --layout-grid-gap:48px;
  --layout-header-h:66px;

  /* Shape / component rhythm */
  --radius-sm:10px;
  --radius-md:14px;
  --radius-lg:18px;
  --radius-pill:999px;
  --control-h:40px;

  /* Text roles — dark mode */
  --text-high:#f4f7fb;
  --text-reading:#c6cfdb;
  --text-secondary:#a8b3c2;
  --text-muted-v2:#8f9aa8;

  /* Action colors */
  --action:#6f8cff;
  --action-hover:#9eb0ff;
  --focus-ring:rgba(111,140,255,.78);

  /* Semantic category accents */
  --systems:#7f93ff;
  --systems-soft:rgba(98,121,255,.15);
  --service:#53d7a1;
  --service-soft:rgba(83,215,161,.14);
  --technology:#b984ff;
  --technology-soft:rgba(185,132,255,.14);
  --ideas:#efb44f;
  --ideas-soft:rgba(239,180,79,.14);

  /* Note / status surfaces */
  --note-info-bg:rgba(79,103,255,.13);
  --note-info-border:rgba(111,140,255,.72);
  --note-info-text:#dce4ff;
}

html[data-theme="light"]{
  --text-high:#111827;
  --text-reading:#374151;
  --text-secondary:#596579;
  --text-muted-v2:#667085;
  --action:#4f67ef;
  --action-hover:#3659eb;
  --focus-ring:rgba(79,103,239,.52);
  --note-info-bg:rgba(79,103,239,.08);
  --note-info-border:rgba(79,103,239,.36);
  --note-info-text:#25346f;
}

/* -------------------------
   Layout / Grid V1
   ------------------------- */
.site-shell{
  width:min(var(--layout-site-max),calc(100% - (var(--layout-gutter) * 2)));
  max-width:var(--layout-site-max);
  margin-left:auto;
  margin-right:auto;
}

.topbar{
  height:var(--layout-header-h);
}

/* Home already uses the full site canvas. */
.hero-grid,
.content-row,
.lower-grid{
  width:100%;
}

/* About uses a wide page shell aligned to the Home axis. */
.about-page main{
  width:min(100%,var(--layout-content-max));
  max-width:var(--layout-content-max);
  margin-left:0;
  margin-right:auto;
  padding-top:var(--space-6);
}

/* Article: wide canvas, controlled reading column, useful right rail. */
.article-shell{
  width:100%;
  max-width:none;
  margin:0;
}

.article-header{
  max-width:980px;
  padding:var(--space-6) 0 var(--space-6);
}

.article-layout{
  display:grid;
  grid-template-columns:minmax(0,var(--layout-reading-max)) minmax(var(--layout-aside),1fr);
  gap:var(--layout-grid-gap);
  align-items:start;
}

.article-body{
  width:100%;
  max-width:var(--layout-reading-max);
}

.article-aside{
  width:min(100%,360px);
  justify-self:end;
}

/* -------------------------
   Brand / Header V1
   ------------------------- */
.brand{
  align-items:center;
  gap:var(--space-2);
}

.rr-mark{
  width:42px;
  height:42px;
  flex:0 0 42px;
  position:relative;
  transform:translateY(1px);
}

.rr-mark b{
  left:1px;
  top:4px;
  font-size:34px;
  line-height:1;
  z-index:2;
}

.rr-mark b+b{
  left:15px;
  top:4px;
  z-index:1;
  opacity:.76;
  filter:brightness(.78);
}

.brand-text{
  justify-content:center;
}

.brand-text strong{
  font-size:var(--type-small-heading);
  line-height:1.05;
}

.brand-text small{
  margin-top:3px;
  font-size:var(--type-base);
}

/* -------------------------
   Color V1
   ------------------------- */
html[data-theme="dark"] body{
  color:var(--text-high);
}

html[data-theme="dark"] .article-body > p,
html[data-theme="dark"] .article-list,
html[data-theme="dark"] .article-table td,
html[data-theme="dark"] .about-prose p,
html[data-theme="dark"] .about-section-head p,
html[data-theme="dark"] .about-context p,
html[data-theme="dark"] .about-lens p{
  color:var(--text-reading);
}

html[data-theme="dark"] .article-meta,
html[data-theme="dark"] .article-caption,
html[data-theme="dark"] .article-related-meta,
html[data-theme="dark"] .article-aside a,
html[data-theme="dark"] .footer,
html[data-theme="dark"] .brand-text small{
  color:var(--text-secondary);
}

a.text-link,
.article-body a,
.article-breadcrumb a,
.media-meta a,
.section-tabs a,
.module-head a{
  color:var(--action);
}

a.text-link:hover,
.article-body a:hover,
.article-breadcrumb a:hover,
.media-meta a:hover,
.section-tabs a:hover,
.module-head a:hover{
  color:var(--action-hover);
}

/* Semantic category badges */
.tag.blue,.tag.systems{color:var(--systems);background:var(--systems-soft)}
.tag.green,.tag.service{color:var(--service);background:var(--service-soft)}
.tag.purple,.tag.technology{color:var(--technology);background:var(--technology-soft)}
.tag.amber,.tag.ideas{color:var(--ideas);background:var(--ideas-soft)}

/* -------------------------
   Components V1
   ------------------------- */

/* Buttons */
.btn,
.button,
.type-qa-button{
  min-height:var(--control-h);
  padding:0 var(--space-3);
  border-radius:var(--radius-pill);
  font-size:var(--type-base);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:var(--space-1);
}

.btn.primary,
.button.primary{
  border:1px solid transparent;
  background:var(--text-high);
  color:var(--bg);
}

.btn.secondary,
.button.secondary,
.type-qa-button{
  border:1px solid var(--line2);
  background:var(--panel2);
  color:var(--action);
}

/* Cards */
.ui-card,
.article-related-card,
.article-callout,
.type-qa-card{
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  background:linear-gradient(180deg,var(--panel),var(--panel2));
}

/* System / review note: deliberately prominent + dashed. */
.system-note,
.article-system-note{
  padding:var(--space-4);
  border:1px dashed var(--note-info-border);
  border-radius:var(--radius-md);
  background:var(--note-info-bg);
  color:var(--note-info-text);
  box-shadow:0 12px 32px rgba(30,45,110,.18);
}

/* Content callout: solid border, quieter than system note. */
.content-callout,
.article-callout{
  padding:var(--space-4);
  border:1px solid color-mix(in srgb,var(--action) 38%,var(--line));
  border-radius:var(--radius-lg);
}

/* Semantic callouts */
.callout-systems{border-color:color-mix(in srgb,var(--systems) 45%,var(--line));background:var(--systems-soft)}
.callout-service{border-color:color-mix(in srgb,var(--service) 45%,var(--line));background:var(--service-soft)}
.callout-technology{border-color:color-mix(in srgb,var(--technology) 45%,var(--line));background:var(--technology-soft)}
.callout-ideas{border-color:color-mix(in srgb,var(--ideas) 45%,var(--line));background:var(--ideas-soft)}

/* Tables */
.article-table-wrap,
.ui-table-wrap{
  border:1px solid var(--line);
  border-radius:var(--radius-md);
  overflow-x:auto;
}

.article-table th,
.ui-table th{
  color:var(--text-high);
  background:color-mix(in srgb,var(--panel2) 86%,var(--action) 14%);
  font-size:var(--type-small-heading);
}

.article-table td,
.ui-table td{
  color:var(--text-reading);
  font-size:var(--type-base);
}

.article-table th,
.article-table td,
.ui-table th,
.ui-table td{
  padding:var(--space-3);
}

/* -------------------------
   Interactive States V1
   ------------------------- */
a,
button,
.btn,
.button,
.icon-btn{
  transition:color .18s ease,background .18s ease,border-color .18s ease,opacity .18s ease,transform .18s ease;
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.button:focus-visible,
.icon-btn:focus-visible,
input:focus-visible{
  outline:2px solid var(--focus-ring);
  outline-offset:2px;
}

button:disabled,
.btn[aria-disabled="true"],
.button[aria-disabled="true"]{
  opacity:.5;
  cursor:not-allowed;
  pointer-events:none;
}

.btn:hover,
.button:hover{
  transform:translateY(-1px);
}

/* -------------------------
   Media V1
   ------------------------- */
.media-frame{
  width:100%;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  background:var(--panel);
}

.media-frame img,
.media-frame video{
  display:block;
  width:100%;
  height:auto;
}

.media-frame.ratio-16x9{
  aspect-ratio:16/9;
}

.media-frame.ratio-16x9 img,
.media-frame.ratio-16x9 video{
  height:100%;
  object-fit:cover;
}

.media-inline{
  width:min(100%,var(--layout-reading-max));
}

.media-wide{
  width:min(100%,var(--layout-content-max));
}

.media-caption{
  margin-top:var(--space-2);
  color:var(--text-secondary);
  font-size:var(--type-base);
  line-height:1.5;
}

/* -------------------------
   Responsive V1
   Desktop: >= 901
   Tablet: 621–900
   Mobile: <= 620
   ------------------------- */
@media(max-width:900px){
  :root{
    --layout-gutter:20px;
    --layout-grid-gap:var(--space-5);
  }

  .topbar{
    grid-template-columns:1fr auto;
  }

  .article-layout{
    grid-template-columns:1fr;
    gap:var(--space-5);
  }

  .article-aside{
    width:100%;
    max-width:none;
    justify-self:stretch;
    position:static;
    order:-1;
    padding:var(--space-4);
    border:1px solid var(--line);
    border-radius:var(--radius-md);
    background:var(--panel);
  }

  .about-page main{
    width:100%;
  }
}

@media(max-width:620px){
  :root{
    --layout-gutter:var(--layout-gutter-mobile);
  }

  .site-shell{
    width:calc(100% - (var(--layout-gutter-mobile) * 2));
  }

  .article-header{
    padding:var(--space-5) 0;
  }

  .article-layout{
    gap:var(--space-4);
  }

  .rr-mark{
    width:40px;
    height:40px;
    flex-basis:40px;
  }

  .rr-mark b{
    font-size:32px;
  }

  .media-wide,
  .media-inline{
    width:100%;
  }
}

/* =========================================================
   FINAL VISUAL IMPLEMENTATION — LOCKED
   Home / About / Article / Brand / Footer
   Uses the existing Design System V1/V2 tokens.
   ========================================================= */

/* Brand mark: final circle, muted blue tone, optically balanced. */
.rr-mark{
  width:40px;
  height:40px;
  flex:0 0 40px;
  border:1px solid #37508a;
  border-radius:50%;
  background:linear-gradient(145deg,#0c1830,#08111f);
  box-shadow:inset 0 0 0 1px rgba(111,140,255,.08);
  position:relative;
  transform:none;
}
.rr-mark b{
  position:absolute;
  top:8px;
  left:7px;
  font-size:24px;
  line-height:1;
  letter-spacing:-3px;
  color:#6f88e8;
  font-weight:900;
  z-index:2;
}
.rr-mark b+b{
  left:16px;
  top:8px;
  color:#5266bd;
  opacity:.9;
  filter:none;
  z-index:1;
}
.brand{gap:12px}
.brand-text strong{font-size:16px;line-height:1.08}
.brand-text small{font-size:14px;line-height:1.25;margin-top:3px;color:var(--text-secondary)}

/* Home hero: wide, editorial, but still dashboard-like. */
.final-hero{
  grid-template-columns:minmax(290px,.78fr) minmax(520px,1.5fr) minmax(280px,.78fr);
  gap:16px;
  align-items:stretch;
  margin-top:16px;
}
.final-hero .hero-copy{
  padding:12px 8px 8px 4px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.hero-eyebrow{
  font-size:14px;
  letter-spacing:.13em;
  margin:0 0 12px;
  white-space:normal;
}
.hero-eyebrow .ey-service{color:var(--service)}
.hero-eyebrow .ey-systems{color:var(--systems)}
.hero-eyebrow .ey-technology{color:var(--technology)}
.hero-eyebrow .ey-ideas{color:var(--ideas)}
.hero-copy h1{
  font-size:40px;
  line-height:1.08;
  letter-spacing:-.03em;
  margin:0;
}
.hero-copy h1 em{color:var(--action);font-style:normal}
.hero-intro{
  font-size:14px;
  line-height:1.6;
  max-width:360px;
  margin:16px 0 0;
  color:var(--text-reading);
}
.hero-actions{margin-top:20px}
.hero-actions .btn{font-size:14px}
.btn-primary{
  background:var(--text-high);
  color:#0b1220;
  border-color:transparent;
  border-radius:999px;
}
.btn-ghost{
  background:transparent;
  border-color:var(--line2);
  border-radius:999px;
}

/* Featured insight keeps the old conceptual orbit; no actual video yet. */
.featured-insight{
  min-height:390px;
  display:grid;
  grid-template-rows:1fr auto;
}
.featured-insight .media-visual{
  min-height:310px;
  border-bottom:1px solid var(--line);
  background:
    radial-gradient(circle at 50% 48%,rgba(79,103,239,.12),transparent 34%),
    radial-gradient(circle at 20% 20%,rgba(83,215,161,.05),transparent 26%),
    linear-gradient(180deg,rgba(9,20,38,.9),rgba(5,12,22,.95));
}
.featured-insight .media-visual:before{
  content:"";
  position:absolute;
  inset:0;
  opacity:.35;
  background-image:radial-gradient(circle,rgba(111,140,255,.45) 1px,transparent 1px);
  background-size:24px 24px;
  mask-image:linear-gradient(to bottom,black,transparent 90%);
}
.featured-insight .system-orbit{width:210px;height:210px}
.featured-insight .orbit-b{width:140px;height:140px}
.featured-insight .node{
  font-size:14px;
  width:56px;
  height:56px;
  background:#0d192c;
  border-color:rgba(111,140,255,.72);
}
.featured-insight .node-1{left:22%;top:11%}
.featured-insight .node-2{right:18%;top:25%}
.featured-insight .node-3{left:24%;bottom:12%}
.featured-insight .node-4{right:22%;bottom:15%}
.featured-insight .node-5{
  left:7%;
  top:46%;
  border-color:rgba(239,180,79,.8);
}
.featured-insight .node-core{display:none}
.featured-insight .play-button{
  width:66px;
  height:66px;
  border-color:rgba(255,255,255,.68);
}
.featured-insight .media-meta{
  height:auto;
  min-height:82px;
  padding:16px 20px;
  grid-template-columns:1fr auto;
  grid-template-areas:
    "now link"
    "title link";
  row-gap:6px;
}
.featured-insight .media-meta .now{grid-area:now;font-size:14px}
.featured-insight .media-meta strong{grid-area:title;font-size:16px;max-width:520px}
.featured-insight .media-meta a{grid-area:link;align-self:center;font-size:14px}

/* Thinking Summary stays strong but quiet enough to support the hero. */
.summary-panel{
  min-height:390px;
  padding:18px;
}
.summary-panel h2{font-size:16px}
.summary-panel > p{font-size:14px;line-height:1.55}
.summary-panel li{min-height:52px}
.summary-panel li b,
.summary-panel li span,
.panel-link{font-size:14px}
.panel-link{margin-top:14px}

/* Four semantic pillars — visual codes, not decoration-only. */
.pillar-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
  margin-top:16px;
}
.pillar-card{
  position:relative;
  min-height:172px;
  padding:22px;
  border:1px solid var(--line);
  border-radius:18px;
  background:linear-gradient(180deg,var(--panel),var(--panel2));
  overflow:hidden;
}
.pillar-card:after{
  content:"";
  position:absolute;
  left:0;right:0;bottom:0;height:2px;
  background:currentColor;
  opacity:.95;
}
.pillar-head{display:flex;align-items:center;gap:12px}
.pillar-head h2{font-size:16px;margin:0;letter-spacing:.02em}
.pillar-icon{
  width:40px;height:40px;border-radius:50%;
  display:grid;place-items:center;
  background:currentColor;
  background:color-mix(in srgb,currentColor 12%,transparent);
}
.pillar-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6}
.pillar-card p{font-size:14px;line-height:1.55;color:var(--text-reading);margin:16px 0 18px}
.pillar-link{display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:650;color:inherit}
.pillar-link svg{width:16px;height:16px}
.service-card{color:var(--service)}
.systems-card{color:var(--systems)}
.technology-card{color:var(--technology)}
.ideas-card{color:var(--ideas)}

/* Latest Articles — editorial hierarchy with 1 feature + 4 supporting stories. */
.editorial-articles{margin-top:28px}
.section-heading-row{
  display:flex;align-items:center;justify-content:space-between;
  gap:16px;margin-bottom:14px;padding-bottom:10px;border-bottom:1px solid var(--line);
}
.section-heading-row h2{font-size:20px;margin:0}
.section-heading-row a{font-size:14px}
.articles-editorial-grid{
  display:grid;
  grid-template-columns:1.25fr .95fr .95fr;
  grid-template-rows:1fr 1fr;
  gap:14px;
}
.articles-editorial-grid .article-card{
  min-height:210px;
  padding:0;
  border:1px solid var(--line);
  border-radius:18px;
  background:linear-gradient(180deg,var(--panel),var(--panel2));
  overflow:hidden;
}
.feature-article{
  grid-row:1 / span 2;
  display:grid;
  grid-template-rows:minmax(210px,1fr) auto;
}
.feature-article .article-visual{
  min-height:250px;
  position:relative;
  border-bottom:1px solid var(--line);
  background:
    radial-gradient(circle at 48% 46%,rgba(79,103,239,.16),transparent 26%),
    linear-gradient(180deg,#0a1424,#07111e);
}
.feature-article .feature-copy{padding:22px}
.article-card .tag{font-size:14px}
.feature-article h3{font-size:20px;line-height:1.22;margin:14px 0 10px}
.feature-article p{font-size:14px;line-height:1.6;color:var(--text-reading);margin:0 0 12px}
.feature-article small{font-size:14px;color:var(--text-secondary)}
.compact-article{
  padding:20px !important;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
}
.compact-article h3{font-size:16px;line-height:1.28;margin:12px 0 8px}
.compact-article p{font-size:14px;line-height:1.55;color:var(--text-reading);margin:0 0 auto}
.compact-article small{font-size:14px;color:var(--text-secondary);margin-top:14px}
.service-article{
  background:
    radial-gradient(circle at 90% 45%,rgba(83,215,161,.10),transparent 32%),
    linear-gradient(180deg,var(--panel),var(--panel2)) !important;
}
.technology-article{
  background:
    radial-gradient(circle at 90% 30%,rgba(185,132,255,.10),transparent 34%),
    linear-gradient(180deg,var(--panel),var(--panel2)) !important;
}
.ideas-article{
  background:
    radial-gradient(circle at 82% 50%,rgba(239,180,79,.11),transparent 34%),
    linear-gradient(180deg,var(--panel),var(--panel2)) !important;
}
.systems-article{
  background:
    radial-gradient(circle at 86% 45%,rgba(127,147,255,.10),transparent 34%),
    linear-gradient(180deg,var(--panel),var(--panel2)) !important;
}

/* Lower knowledge modules — roomy enough for the 14px floor. */
.final-lower-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
  margin-top:16px;
}
.final-lower-grid .module{
  min-height:320px;
  padding:14px;
  border-radius:18px;
}
.module-head h2{font-size:16px}
.module-head a{font-size:14px;color:var(--action)}
.mini-list b,
.mini-list small,
.resource-list b,
.resource-list small,
.resource-list em,
.audio-card b,
.audio-card small,
.episode-list li,
.episode-list li span,
.thinking p,
.sys-core,
.sys-node{font-size:14px}

/* Footer — final simple one-line model. */
.footer-simple{
  min-height:64px;
  margin-top:18px;
  padding:14px 0 12px;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:24px;
  border-top:1px solid var(--line);
  font-size:14px;
}
.footer-simple .footer-copy{color:var(--text-secondary)}
.footer-simple blockquote{
  margin:0;
  font-size:14px;
  font-style:italic;
  color:var(--text-secondary);
  text-align:center;
  white-space:nowrap;
}
.footer-simple .connect{
  justify-self:end;
  display:flex;
  align-items:center;
  gap:12px;
}
.footer-simple .socials a,
.footer-simple .socials button{
  width:36px;height:36px;
}
.footer-simple .socials svg{width:16px;height:16px}

/* ABOUT — final implementation uses the same tokens/rhythm. */
.about-page main{
  width:min(100%,1180px);
  margin:0 auto;
  padding-top:48px;
}
.about-hero{
  display:grid;
  grid-template-columns:minmax(0,1.55fr) minmax(300px,.7fr);
  gap:48px;
  align-items:center;
  padding:16px 0 48px;
  border-bottom:1px solid var(--line);
}
.about-hero h1{
  font-size:clamp(48px,5vw,68px);
  line-height:.97;
  letter-spacing:-.045em;
}
.about-lead{font-size:14px;line-height:1.6;max-width:760px}
.about-context{
  padding:24px;
  border-radius:18px;
  background:linear-gradient(180deg,var(--panel),var(--panel2));
  border:1px solid var(--line);
}
.about-context span{font-size:14px;color:var(--action)}
.about-context p{font-size:14px;line-height:1.6}
main > .about-section{
  display:grid;
  grid-template-columns:170px minmax(0,1fr);
  gap:40px;
  padding:48px 0;
  margin:0;
  border-bottom:1px solid var(--line);
}
.about-section-head h2{font-size:20px;margin:0}
.about-section-head p{font-size:14px;line-height:1.6;margin:0}
.about-prose{max-width:820px}
.about-prose p{font-size:14px;line-height:1.6;margin:0 0 16px}
.about-lenses{
  grid-column:1 / -1;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
}
.about-lens{
  min-height:180px;
  padding:22px;
  border-radius:18px;
}
.about-lens span,
.about-lens h3{font-size:16px}
.about-lens p{font-size:14px;line-height:1.55}
.about-lens:nth-child(1){border-color:color-mix(in srgb,var(--service) 45%,var(--line))}
.about-lens:nth-child(1) span{color:var(--service)}
.about-lens:nth-child(2){border-color:color-mix(in srgb,var(--systems) 45%,var(--line))}
.about-lens:nth-child(2) span{color:var(--systems)}
.about-lens:nth-child(3){border-color:color-mix(in srgb,var(--technology) 45%,var(--line))}
.about-lens:nth-child(3) span{color:var(--technology)}
.about-lens:nth-child(4){border-color:color-mix(in srgb,var(--ideas) 45%,var(--line))}
.about-lens:nth-child(4) span{color:var(--ideas)}
.about-closing{
  padding:48px 0;
}
.about-closing p{font-size:28px;line-height:1.3;max-width:980px;margin:0}
.about-closing-tagline{display:block;margin-top:16px;font-size:14px;color:var(--text-secondary)}

/* ARTICLE — final master uses the same wide canvas + controlled reading column. */
.article-header{max-width:980px}
.article-body{font-size:14px;line-height:1.6;color:var(--text-reading)}
.article-body > p{color:var(--text-reading)}
.article-body h2{font-size:20px}
.article-body h3{font-size:16px}
.article-title{font-size:36px}
.article-deck{font-size:16px}
.article-meta,
.article-caption,
.article-related-meta,
.article-aside a{font-size:14px}
.article-pullquote{font-size:28px}

/* Light mode: preserve semantic colors but soften panels. */
html[data-theme="light"] .pillar-card,
html[data-theme="light"] .articles-editorial-grid .article-card,
html[data-theme="light"] .final-lower-grid .module,
html[data-theme="light"] .about-context,
html[data-theme="light"] .about-lens{
  background:linear-gradient(180deg,#ffffff,#f7f9fc);
}

/* Responsive final */
@media(max-width:1180px){
  .final-hero{
    grid-template-columns:minmax(260px,.8fr) minmax(460px,1.3fr);
  }
  .final-hero .summary-panel{
    grid-column:1 / -1;
    min-height:auto;
  }
  .summary-panel ul{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:0 18px;
  }
  .articles-editorial-grid{
    grid-template-columns:1.15fr 1fr;
  }
  .feature-article{grid-row:1 / span 2}
  .final-lower-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:900px){
  .final-hero{grid-template-columns:1fr}
  .final-hero .summary-panel{grid-column:auto}
  .featured-insight{min-height:360px}
  .pillar-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .articles-editorial-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto}
  .feature-article{grid-column:1 / -1;grid-row:auto}
  .about-hero{grid-template-columns:1fr;gap:24px}
  main > .about-section{grid-template-columns:1fr;gap:20px}
  .about-lenses{grid-template-columns:repeat(2,minmax(0,1fr))}
  .footer-simple{grid-template-columns:1fr;justify-items:start}
  .footer-simple blockquote{text-align:left;white-space:normal}
  .footer-simple .connect{justify-self:start}
}

@media(max-width:620px){
  .rr-mark{width:38px;height:38px;flex-basis:38px}
  .rr-mark b{font-size:23px;top:7px;left:6px}
  .rr-mark b+b{left:15px;top:7px}
  .brand-text strong{font-size:16px}
  .brand-text small{font-size:14px}
  .hero-copy h1{font-size:36px}
  .hero-actions{flex-wrap:wrap}
  .summary-panel ul{grid-template-columns:1fr}
  .pillar-grid{grid-template-columns:1fr}
  .articles-editorial-grid{grid-template-columns:1fr}
  .final-lower-grid{grid-template-columns:1fr}
  .about-lenses{grid-template-columns:1fr}
  .about-hero h1{font-size:40px}
  .about-closing p{font-size:28px}
}

/* =========================================================
   HOME FINAL CORRECTION — 2026-08-09
   Scope: Home layout + real RR logo only.
   Footer intentionally untouched.
   ========================================================= */

/* Stable centered canvas: removes the legacy left-offset behavior. */
.site-shell{
  width:min(calc(100% - 48px),1460px);
  max-width:1460px;
  margin:0 auto;
}

/* Real RR asset. */
.rr-mark{
  width:42px;
  height:42px;
  flex:0 0 42px;
  border:0;
  border-radius:50%;
  background:none;
  box-shadow:none;
  overflow:hidden;
  display:block;
}
.rr-mark img{
  width:100%;
  height:100%;
  display:block;
  object-fit:contain;
  border-radius:50%;
}
.rr-mark b{display:none!important}
.brand{gap:12px}
.brand-text strong{font-size:16px;line-height:1.1}
.brand-text small{font-size:14px;line-height:1.25;margin-top:3px}

/* Header proportions follow the approved mockup. */
.topbar{
  grid-template-columns:minmax(310px,360px) 1fr auto;
  gap:24px;
}
.main-nav{gap:30px}

/* Hero: keep the left statement readable, center visual dominant,
   summary supportive. Prevent all internal art from escaping cards. */
.final-hero{
  display:grid;
  grid-template-columns:minmax(320px,.86fr) minmax(560px,1.55fr) minmax(300px,.82fr);
  gap:16px;
  align-items:stretch;
  margin-top:16px;
}
.final-hero > *{min-width:0}
.final-hero .hero-copy{
  padding:12px 10px 10px 4px;
  justify-content:center;
}
.hero-eyebrow{
  margin:0 0 12px;
  line-height:1.5;
}
.hero-copy h1{
  max-width:430px;
  font-size:40px;
  line-height:1.08;
}
.hero-intro{
  max-width:390px;
  margin-top:16px;
}
.hero-actions{margin-top:20px}

.featured-insight{
  min-height:360px;
  grid-template-rows:minmax(270px,1fr) auto;
  overflow:hidden;
}
.featured-insight .media-visual{
  min-height:270px;
  height:auto;
  overflow:hidden;
  isolation:isolate;
}
.featured-insight .media-visual:before{z-index:0}
.featured-insight .system-orbit,
.featured-insight .node,
.featured-insight .play-button{z-index:2}
.featured-insight .system-orbit{
  width:230px;
  height:230px;
}
.featured-insight .orbit-b{
  width:150px;
  height:150px;
}
.featured-insight .node{
  width:54px;
  height:54px;
}
.featured-insight .node-1{left:23%;top:8%}
.featured-insight .node-2{right:15%;top:23%}
.featured-insight .node-3{left:25%;bottom:10%}
.featured-insight .node-4{right:20%;bottom:12%}
.featured-insight .node-5{left:8%;top:43%}
.featured-insight .media-meta{
  min-height:86px;
  padding:16px 20px;
}

.summary-panel{
  min-height:360px;
  padding:18px;
  overflow:hidden;
}
.summary-panel h2{font-size:16px}
.summary-panel>p{line-height:1.55}
.summary-panel li{min-height:50px}

/* Four category cards: exactly one clean row on desktop. */
.pillar-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
  margin-top:16px;
}
.pillar-card{
  min-height:174px;
  padding:20px;
  overflow:hidden;
}
.pillar-card p{
  margin:14px 0 16px;
  min-height:44px;
}

/* Fix the legacy Thinking-in-Systems art escaping into other sections. */
.system-mini{
  position:relative;
  height:155px;
  max-width:245px;
  margin:2px auto 6px;
  overflow:visible;
}
.system-mini .ring,
.system-mini .sys-core,
.system-mini .sys-node{
  position:absolute;
}

/* Latest Articles: one feature + four compact stories, no giant blank art. */
.editorial-articles{margin-top:24px}
.articles-editorial-grid{
  display:grid;
  grid-template-columns:1.18fr .92fr .92fr;
  grid-template-rows:210px 210px;
  gap:14px;
}
.articles-editorial-grid .article-card{
  min-height:0;
}
.feature-article{
  grid-row:1 / span 2;
  display:grid;
  grid-template-rows:220px 1fr;
}
.feature-article .article-visual{
  min-height:220px;
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 52% 50%,rgba(79,103,239,.20),transparent 24%),
    radial-gradient(circle at 52% 50%,transparent 0 34%,rgba(79,103,239,.26) 34.3% 34.7%,transparent 35%),
    radial-gradient(circle at 52% 50%,transparent 0 48%,rgba(79,103,239,.20) 48.3% 48.6%,transparent 49%),
    linear-gradient(180deg,#091527,#07111e);
}
.feature-article .article-visual:before{
  content:"";
  position:absolute;
  inset:0;
  background-image:radial-gradient(circle,rgba(111,140,255,.35) 1px,transparent 1px);
  background-size:26px 26px;
  opacity:.25;
}
.feature-article .article-visual:after{
  content:"";
  position:absolute;
  left:17%;
  right:14%;
  top:50%;
  height:1px;
  background:rgba(94,120,255,.32);
  box-shadow:
    60px -34px 0 1px rgba(105,132,255,.8),
    130px 26px 0 2px rgba(105,132,255,.78),
    205px -8px 0 2px rgba(105,132,255,.82),
    280px 34px 0 1px rgba(105,132,255,.78);
}
.feature-article .diagram-one>span,
.feature-article .diagram-one>i,
.feature-article .diagram-one>b{display:none}
.feature-article .feature-copy{padding:20px}
.compact-article{
  min-height:210px!important;
  padding:18px!important;
}
.compact-article h3{margin:10px 0 7px}
.compact-article p{margin-bottom:8px}

/* Lower modules: reduce dead vertical space while respecting 14px floor. */
.final-lower-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
  margin-top:14px;
}
.final-lower-grid .module{
  min-height:270px;
  height:auto;
  padding:14px;
}
.mini-list{gap:8px}
.mini-art{width:54px;height:42px}
.mini-list>div{
  display:grid;
  grid-template-columns:54px minmax(0,1fr);
  gap:10px;
  align-items:start;
}
.mini-list p{margin:0}
.resource-list>div{
  display:grid;
  grid-template-columns:36px minmax(0,1fr);
  gap:10px;
  align-items:start;
}
.resource-list p{margin:0}
.audio-card{grid-template-columns:42px minmax(0,1fr)}
.wave{height:34px}

/* Responsive: preserve hierarchy rather than shrinking text below the lock. */
@media(max-width:1280px){
  .final-hero{
    grid-template-columns:minmax(300px,.9fr) minmax(500px,1.45fr);
  }
  .final-hero .summary-panel{
    grid-column:1 / -1;
    min-height:auto;
  }
  .summary-panel ul{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:980px){
  .site-shell{width:calc(100% - 32px)}
  .topbar{grid-template-columns:1fr auto}
  .main-nav{grid-column:1 / -1;order:3;justify-content:flex-start;overflow:auto}
  .final-hero{grid-template-columns:1fr}
  .final-hero .summary-panel{grid-column:auto}
  .pillar-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .articles-editorial-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    grid-template-rows:auto;
  }
  .feature-article{grid-column:1 / -1;grid-row:auto}
  .final-lower-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:620px){
  .site-shell{width:calc(100% - 24px)}
  .rr-mark{width:38px;height:38px;flex-basis:38px}
  .hero-copy h1{font-size:36px}
  .pillar-grid,
  .articles-editorial-grid,
  .final-lower-grid{grid-template-columns:1fr}
  .feature-article{grid-template-rows:190px auto}
}

/* =========================================================
   ABOUT FINAL FIX — 2026-08-09
   Scope: About page only.
   Home and footer intentionally untouched.
   ========================================================= */

.about-page main{
  width:min(100%,1180px)!important;
  max-width:1180px!important;
  margin:0 auto!important;
  padding:48px 0 32px!important;
}

/* Hero */
.about-page .about-hero{
  display:grid!important;
  grid-template-columns:minmax(0,1.55fr) minmax(300px,.70fr)!important;
  gap:48px!important;
  align-items:center!important;
  padding:16px 0 48px!important;
  margin:0!important;
  border-bottom:1px solid var(--line)!important;
}
.about-page .about-hero-copy{
  max-width:780px!important;
}
.about-page .about-hero .eyebrow{
  margin:0 0 16px!important;
  font-size:14px!important;
  line-height:1.4!important;
  letter-spacing:.16em!important;
}
.about-page .about-hero h1{
  max-width:780px!important;
  margin:0 0 24px!important;
  font-size:clamp(48px,5vw,68px)!important;
  line-height:.98!important;
  letter-spacing:-.045em!important;
}
.about-page .about-lead{
  max-width:760px!important;
  margin:0!important;
  font-size:14px!important;
  line-height:1.6!important;
}
.about-page .about-context{
  align-self:center!important;
  padding:24px!important;
  margin:0!important;
  border:1px solid var(--line)!important;
  border-radius:18px!important;
  background:linear-gradient(180deg,var(--panel),var(--panel2))!important;
}
.about-page .about-context span{
  display:block!important;
  margin:0 0 12px!important;
  font-size:14px!important;
  line-height:1.4!important;
}
.about-page .about-context p{
  margin:0!important;
  font-size:14px!important;
  line-height:1.6!important;
}

/* Content sections:
   two clean columns; kill the old nested-grid + 240px left-margin conflict. */
.about-page main > section.about-section{
  display:grid!important;
  grid-template-columns:minmax(220px,260px) minmax(0,1fr)!important;
  gap:48px!important;
  align-items:start!important;
  padding:48px 0!important;
  margin:0!important;
  border-bottom:1px solid var(--line)!important;
}
.about-page .about-section-head{
  display:block!important;
  margin:0!important;
  padding:0!important;
}
.about-page .about-section-head h2{
  margin:0!important;
  font-size:20px!important;
  line-height:1.25!important;
}
.about-page .about-section-head p{
  max-width:250px!important;
  margin:12px 0 0!important;
  font-size:14px!important;
  line-height:1.6!important;
}
.about-page .about-prose{
  width:100%!important;
  max-width:820px!important;
  margin:0!important;
  padding:0!important;
}
.about-page .about-prose p{
  margin:0 0 16px!important;
  font-size:14px!important;
  line-height:1.6!important;
}

/* Territory cards span the full section width and keep semantic color. */
.about-page .about-lenses{
  grid-column:1 / -1!important;
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:16px!important;
  margin:8px 0 0!important;
}
.about-page .about-lens{
  min-height:180px!important;
  padding:22px!important;
  margin:0!important;
  border-radius:18px!important;
}
.about-page .about-lens span{
  margin:0 0 16px!important;
  font-size:16px!important;
}
.about-page .about-lens h3{
  margin:0 0 8px!important;
  font-size:16px!important;
  line-height:1.3!important;
}
.about-page .about-lens p{
  max-width:none!important;
  margin:0!important;
  font-size:14px!important;
  line-height:1.55!important;
}

/* Closing */
.about-page .about-closing{
  max-width:980px!important;
  padding:48px 0!important;
  margin:0!important;
}
.about-page .about-closing p{
  max-width:980px!important;
  margin:0!important;
  font-size:28px!important;
  line-height:1.3!important;
}

/* Responsive */
@media(max-width:980px){
  .about-page main{
    width:calc(100% - 32px)!important;
    padding-top:32px!important;
  }
  .about-page .about-hero{
    grid-template-columns:1fr!important;
    gap:24px!important;
    align-items:start!important;
  }
  .about-page .about-context{
    max-width:680px!important;
  }
  .about-page main > section.about-section{
    grid-template-columns:1fr!important;
    gap:20px!important;
  }
  .about-page .about-section-head p{
    max-width:760px!important;
  }
  .about-page .about-lenses{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

@media(max-width:620px){
  .about-page main{
    width:calc(100% - 24px)!important;
    padding-top:24px!important;
  }
  .about-page .about-hero{
    padding:8px 0 32px!important;
  }
  .about-page .about-hero h1{
    font-size:40px!important;
  }
  .about-page main > section.about-section{
    padding:32px 0!important;
  }
  .about-page .about-lenses{
    grid-template-columns:1fr!important;
  }
  .about-page .about-closing{
    padding:32px 0!important;
  }
  .about-page .about-closing p{
    font-size:28px!important;
  }
}
/* ===== ABOUT — FINAL SPACING CLEANUP ===== */

/* Territory: cards naik sejajar dengan judul, jangan bikin row kosong */
.about-page #territory .about-lenses{
  grid-column:2!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:12px!important;
  margin:0!important;
}

.about-page #territory{
  padding:32px 0!important;
}

/* How I use this site: buang ruang kosong berlebihan */
.about-page #approach{
  padding:32px 0!important;
}

/* Closing quote lebih rapat ke section/footer berikutnya */
.about-page .about-closing{
  padding:32px 0 16px!important;
}

/* Tablet/mobile: Territory tetap turun dengan rapi */
@media(max-width:980px){
  .about-page #territory .about-lenses{
    grid-column:1!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

@media(max-width:620px){
  .about-page #territory .about-lenses{
    grid-template-columns:1fr!important;
  }

  .about-page #territory,
  .about-page #approach{
    padding:24px 0!important;
  }

  .about-page .about-closing{
    padding:24px 0 16px!important;
  }
}
/* ABOUT HERO — LOCKED 68PX */
.about-page .about-hero h1{
  font-size:68px!important;
  line-height:.98!important;
  letter-spacing:-.045em!important;
}

@media(max-width:980px){
  .about-page .about-hero h1{
    font-size:48px!important;
  }
}

@media(max-width:620px){
  .about-page .about-hero h1{
    font-size:40px!important;
  }
}
/* =========================================================
   HOME LOCKED HOTFIXES — KEEP AT END
   ========================================================= */

/* HERO EYEBROW */
.hero-eyebrow{
  display:flex!important;
  align-items:center;
  flex-wrap:nowrap!important;
  gap:6px;
  width:max-content;
  max-width:none!important;
  white-space:nowrap!important;
  font-size:14px;
  line-height:1;
  letter-spacing:.10em;
  font-weight:700;
  margin:0 0 12px;
}
.hero-eyebrow .ey-service{color:var(--service)}
.hero-eyebrow .ey-systems{color:var(--systems)}
.hero-eyebrow .ey-technology{color:var(--technology)}
.hero-eyebrow .ey-ideas{color:var(--ideas)}
.hero-eyebrow span:not([class]){color:var(--muted)}


/* ARTICLE BADGES */
.article-card .tag,
.compact-article .tag,
.feature-article .tag{
  display:inline-flex!important;
  width:auto!important;
  max-width:max-content!important;
  align-self:flex-start!important;
  padding:3px 8px!important;
  margin:0 0 10px!important;
  border-radius:5px;
  font-size:14px;
  line-height:1;
  font-weight:800;
}

.tag.service{
  color:var(--service)!important;
  background:var(--service-soft)!important;
}
.tag.systems{
  color:var(--systems)!important;
  background:var(--systems-soft)!important;
}
.tag.technology{
  color:var(--technology)!important;
  background:var(--technology-soft)!important;
}
.tag.ideas{
  color:var(--ideas)!important;
  background:var(--ideas-soft)!important;
}


/* FRAMEWORKS & RESOURCES */
.resource-list{
  display:grid;
  gap:16px;
}

.resource-list > div{
  display:grid!important;
  grid-template-columns:36px minmax(0,1fr)!important;
  column-gap:12px!important;
  row-gap:3px!important;
  align-items:start!important;
  padding:0!important;
  margin:0!important;
}

.resource-list > div::before{
  content:"";
  width:34px!important;
  height:34px!important;
  margin-top:1px!important;
  grid-column:1!important;
  grid-row:1 / span 3!important;
  border:1px solid var(--line);
  border-radius:6px;
  background:
    linear-gradient(var(--accent),var(--accent)) 10px 9px/14px 2px no-repeat,
    linear-gradient(var(--muted),var(--muted)) 10px 15px/11px 2px no-repeat,
    linear-gradient(var(--muted),var(--muted)) 10px 21px/14px 2px no-repeat,
    rgba(255,255,255,.05);
}

.resource-list > div:nth-child(1)::before{
  box-shadow:inset 3px 0 0 var(--systems);
}
.resource-list > div:nth-child(2)::before{
  box-shadow:inset 3px 0 0 var(--service);
}
.resource-list > div:nth-child(3)::before{
  box-shadow:inset 3px 0 0 var(--technology);
}

.resource-list > div > *{
  grid-column:2!important;
}

.resource-list > div > strong,
.resource-list > div > b{
  margin:0!important;
  line-height:1.25!important;
}

.resource-list > div > p{
  margin:0!important;
  line-height:1.4!important;
}

.resource-list > div > span,
.resource-list > div > small,
.resource-list > div > a{
  justify-self:start!important;
}
.about-closing-tagline{
  display:block;
  margin-top:16px;
  font-size:14px;
  line-height:1.6;
  color:var(--muted);
  font-style:italic;
}
/* =========================================================
   MOBILE + TABLET FINAL QA FIX
   ========================================================= */

@media(max-width:980px){

  /* 1. STICKY HEADER — SOLID, JANGAN TRANSPARAN */
  .topbar{
    background:var(--bg)!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
    border-bottom:1px solid var(--line)!important;
    box-shadow:0 8px 20px rgba(0,0,0,.12);
  }

  /* 2. FOOTER — CENTER */
  .footer-simple{
    grid-template-columns:1fr!important;
    justify-items:center!important;
    text-align:center!important;
    gap:12px!important;
  }

  .footer-simple .footer-copy{
    justify-self:center!important;
    text-align:center!important;
  }

  .footer-simple blockquote{
    justify-self:center!important;
    text-align:center!important;
    white-space:normal!important;
  }

  .footer-simple .connect{
    justify-self:center!important;
    justify-content:center!important;
  }

  .footer-simple .socials{
    justify-content:center!important;
  }

  /* 3. FEATURED ARTICLE — JANGAN KE-POTONG */
  .feature-article{
    display:flex!important;
    flex-direction:column!important;
    grid-row:auto!important;
    height:auto!important;
    min-height:0!important;
    overflow:hidden!important;
  }

  .feature-article .article-visual{
    width:100%!important;
    height:200px!important;
    min-height:200px!important;
    flex:0 0 200px!important;
    overflow:hidden!important;
  }

  .feature-article .feature-copy{
    position:relative!important;
    height:auto!important;
    min-height:0!important;
    overflow:visible!important;
    padding:20px!important;
  }
}


/* MOBILE LEBIH KECIL */
@media(max-width:620px){

  .feature-article .article-visual{
    height:170px!important;
    min-height:170px!important;
    flex-basis:170px!important;
  }

  .feature-article .feature-copy{
    padding:16px!important;
  }
}
/* =========================================================
   RESPONSIVE QA — FINAL HOTFIX
   Mobile + Tablet only
   ========================================================= */

@media(max-width:980px){

  /* 1. HEADER — jangan sticky/gantung di layar pendek */
  .topbar{
    position:relative!important;
    top:auto!important;
    height:auto!important;
    min-height:0!important;
    padding:8px 0!important;

    background:var(--bg)!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;

    border-bottom:1px solid var(--line)!important;
  }

  .main-nav{
    grid-column:1 / -1!important;
    order:3!important;
    height:36px!important;
    min-height:36px!important;

    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;

    gap:20px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scrollbar-width:none;
  }

  .main-nav::-webkit-scrollbar{
    display:none;
  }

  .main-nav a{
    flex:0 0 auto!important;
    height:36px!important;
    white-space:nowrap!important;
  }


  /* 2. LATEST ARTICLES — batalkan CSS lama yang menyembunyikan card */
  .articles-editorial-grid .article-card{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
  }

  .articles-editorial-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-template-rows:auto!important;
  }

  .feature-article{
    display:flex!important;
    flex-direction:column!important;
    grid-column:1 / -1!important;
    grid-row:auto!important;

    width:100%!important;
    height:auto!important;
    min-height:0!important;
  }

  .feature-article .article-visual{
    width:100%!important;
    height:200px!important;
    min-height:200px!important;
    flex:0 0 200px!important;
  }


  /* 3. FOOTER — center tablet/mobile */
  .footer-simple{
    grid-template-columns:1fr!important;
    justify-items:center!important;
    text-align:center!important;
    gap:12px!important;
  }

  .footer-simple .footer-copy,
  .footer-simple blockquote,
  .footer-simple .connect{
    justify-self:center!important;
    text-align:center!important;
  }

  .footer-simple blockquote{
    white-space:normal!important;
  }

  .footer-simple .connect{
    align-items:center!important;
    justify-content:center!important;
  }

  .footer-simple .socials{
    justify-content:center!important;
  }
}


@media(max-width:620px){

  /* Semua artikel tetap tampil di HP */
  .articles-editorial-grid{
    grid-template-columns:1fr!important;
  }

  .articles-editorial-grid .article-card{
    display:block!important;
  }

  .feature-article{
    display:flex!important;
  }

  .feature-article .article-visual{
    height:170px!important;
    min-height:170px!important;
    flex-basis:170px!important;
  }

  .feature-article .feature-copy{
    padding:16px!important;
  }
}
/* ===== TABLET NAV — CENTER ONLY ===== */
@media (min-width:621px) and (max-width:980px){
  .main-nav{
    justify-content:center!important;
    width:100%!important;
    gap:24px!important;
  }
}
/* =========================================================
   MOBILE + TABLET HEADER — FINAL HAMBURGER
   Scope: <= 980px only. Desktop >= 981px remains unchanged.
   Append this at the VERY END of styles.css.
   ========================================================= */

.rr-mobile-menu-toggle{
  display:none;
}

@media (max-width:980px){

  /* One compact sticky row when menu is closed */
  .topbar{
    position:sticky!important;
    top:0!important;
    z-index:1000!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:12px!important;

    height:auto!important;
    min-height:58px!important;
    padding:8px 0!important;

    background:var(--bg)!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;

    border-bottom:1px solid var(--line)!important;
    box-shadow:0 8px 20px rgba(0,0,0,.10)!important;
  }

  .brand{
    min-width:0!important;
    gap:10px!important;
  }

  .brand-text{
    min-width:0!important;
  }

  .brand-text strong,
  .brand-text small{
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }

  /* Hamburger button */
  .rr-mobile-menu-toggle{
    display:inline-flex!important;
    width:40px!important;
    height:40px!important;
    padding:0!important;
    margin:0!important;

    align-items:center!important;
    justify-content:center!important;
    flex-direction:column!important;
    gap:5px!important;

    border:1px solid var(--line)!important;
    border-radius:50%!important;
    background:var(--panel)!important;
    color:var(--text)!important;
    cursor:pointer!important;
  }

  .rr-mobile-menu-toggle span{
    display:block!important;
    width:17px!important;
    height:1.5px!important;
    border-radius:999px!important;
    background:currentColor!important;
    transition:transform .18s ease, opacity .18s ease!important;
  }

  .topbar.rr-menu-open .rr-mobile-menu-toggle span:nth-child(1){
    transform:translateY(6.5px) rotate(45deg)!important;
  }

  .topbar.rr-menu-open .rr-mobile-menu-toggle span:nth-child(2){
    opacity:0!important;
  }

  .topbar.rr-menu-open .rr-mobile-menu-toggle span:nth-child(3){
    transform:translateY(-6.5px) rotate(-45deg)!important;
  }

  /* CLOSED state: hide desktop nav + utilities */
  .topbar > .main-nav,
  .topbar > .utilities{
    display:none!important;
  }

  /* OPEN state: clean vertical menu */
  .topbar.rr-menu-open > .main-nav{
    display:grid!important;
    grid-column:1 / -1!important;
    order:3!important;

    width:100%!important;
    height:auto!important;
    max-height:none!important;
    margin:4px 0 0!important;
    padding:8px 0!important;
    gap:0!important;

    overflow:visible!important;
    border-top:1px solid var(--line)!important;
  }

  .topbar.rr-menu-open > .main-nav a{
    display:flex!important;
    align-items:center!important;
    width:100%!important;
    height:44px!important;
    min-height:44px!important;
    padding:0 8px!important;

    white-space:nowrap!important;
    font-size:14px!important;
    border-radius:8px!important;
  }

  .topbar.rr-menu-open > .main-nav a:hover{
    background:var(--panel)!important;
  }

  .topbar.rr-menu-open > .main-nav a.active:after{
    left:8px!important;
    right:auto!important;
    bottom:5px!important;
    width:28px!important;
  }

  /* Search / theme / language live in the open panel */
  .topbar.rr-menu-open > .utilities{
    display:flex!important;
    grid-column:1 / -1!important;
    order:4!important;

    width:100%!important;
    min-height:48px!important;
    padding:10px 8px 4px!important;
    margin:0!important;
    gap:10px!important;

    align-items:center!important;
    justify-content:flex-start!important;
    border-top:1px solid var(--line)!important;
  }
}

/* Phones: keep the closed header extra compact */
@media (max-width:620px){
  .topbar{
    min-height:56px!important;
  }

  .rr-mobile-menu-toggle{
    width:38px!important;
    height:38px!important;
  }

  /* Subtitle can hide on narrow phones; name + RR remain */
  .brand-text small{
    display:none!important;
  }
}
/* =========================================================
   LIGHT MODE POLISH — FINAL
   Scope: light mode only.
   Dark mode is intentionally untouched.
   Append at the VERY END of the CURRENT styles.css.
   ========================================================= */

html[data-theme="light"]{
  /* Stronger semantic colors on white surfaces */
  --service:#087a5b;
  --service-soft:rgba(8,122,91,.11);

  --systems:#3f5ed7;
  --systems-soft:rgba(63,94,215,.11);

  --technology:#8b49c7;
  --technology-soft:rgba(139,73,199,.11);

  --ideas:#a76705;
  --ideas-soft:rgba(167,103,5,.11);

  --action:#4058d6;
  --action-hover:#3048c2;

  /* Slightly clearer borders/surfaces */
  --line:#d5dce6;
  --line2:#bcc7d5;
}

/* Logo: keep the locked asset, only soften its dark-mode intensity */
html[data-theme="light"] .rr-mark img{
  filter:saturate(.72) brightness(1.13) contrast(.94);
}

/* Primary action: no more near-black pill on a light page */
html[data-theme="light"] .btn-primary,
html[data-theme="light"] .btn.primary,
html[data-theme="light"] .button.primary{
  background:var(--action)!important;
  color:#ffffff!important;
  border-color:var(--action)!important;
}

html[data-theme="light"] .btn-primary:hover,
html[data-theme="light"] .btn.primary:hover,
html[data-theme="light"] .button.primary:hover{
  background:var(--action-hover)!important;
  border-color:var(--action-hover)!important;
  filter:none!important;
}

/* Semantic cards: a little more visible without becoming loud */
html[data-theme="light"] .service-card{
  border-color:color-mix(in srgb,var(--service) 38%,var(--line))!important;
  background:linear-gradient(180deg,rgba(8,122,91,.055),#fff)!important;
}
html[data-theme="light"] .systems-card{
  border-color:color-mix(in srgb,var(--systems) 38%,var(--line))!important;
  background:linear-gradient(180deg,rgba(63,94,215,.055),#fff)!important;
}
html[data-theme="light"] .technology-card{
  border-color:color-mix(in srgb,var(--technology) 38%,var(--line))!important;
  background:linear-gradient(180deg,rgba(139,73,199,.055),#fff)!important;
}
html[data-theme="light"] .ideas-card{
  border-color:color-mix(in srgb,var(--ideas) 38%,var(--line))!important;
  background:linear-gradient(180deg,rgba(167,103,5,.055),#fff)!important;
}

/* Article cards: retain the semantic tint rather than looking all-white */
html[data-theme="light"] .compact-article.service,
html[data-theme="light"] .article-card.service{
  background:linear-gradient(180deg,rgba(8,122,91,.07),#fff)!important;
}
html[data-theme="light"] .compact-article.systems,
html[data-theme="light"] .article-card.systems{
  background:linear-gradient(180deg,rgba(63,94,215,.07),#fff)!important;
}
html[data-theme="light"] .compact-article.technology,
html[data-theme="light"] .article-card.technology{
  background:linear-gradient(180deg,rgba(139,73,199,.07),#fff)!important;
}
html[data-theme="light"] .compact-article.ideas,
html[data-theme="light"] .article-card.ideas{
  background:linear-gradient(180deg,rgba(167,103,5,.07),#fff)!important;
}

/* Tags: stronger foreground + clearly tinted background */
html[data-theme="light"] .tag.service{
  color:var(--service)!important;
  background:var(--service-soft)!important;
}
html[data-theme="light"] .tag.systems{
  color:var(--systems)!important;
  background:var(--systems-soft)!important;
}
html[data-theme="light"] .tag.technology{
  color:var(--technology)!important;
  background:var(--technology-soft)!important;
}
html[data-theme="light"] .tag.ideas{
  color:var(--ideas)!important;
  background:var(--ideas-soft)!important;
}

/* LIGHT MODE — NAV + FOOTER WEIGHT */
html[data-theme="light"] .main-nav a{
  font-weight:600;
  color:#374151;
}

html[data-theme="light"] .main-nav a.active,
html[data-theme="light"] .main-nav a[aria-current="page"]{
  font-weight:700;
  color:#111827;
}

/* footer sedikit lebih tegas */
html[data-theme="light"] .footer-simple{
  color:#4b5563;
  font-weight:500;
}

html[data-theme="light"] .footer-simple .footer-copy,
html[data-theme="light"] .footer-simple blockquote,
html[data-theme="light"] .footer-simple .connect{
  font-weight:500;
}

html[data-theme="light"] .footer-simple strong,
html[data-theme="light"] .footer-simple a{
  font-weight:600;
  color:#374151;
}
/* ===== ANCHOR POSITION — FINAL ===== */
#service,
#articles,
#frameworks,
#contact{
  scroll-margin-top:calc(var(--layout-header-h) + 16px);
}
/* =========================================================
   ARTICLE MOBILE — FULL BLEED HEADER + FOOTER
   Fix only. Desktop/tablet untouched.
   ========================================================= */
@media (max-width:620px){

  .article-page .topbar,
  .article-page .footer-simple{
    width:100vw!important;
    max-width:none!important;
    margin-left:calc(50% - 50vw)!important;
    margin-right:calc(50% - 50vw)!important;
    box-sizing:border-box!important;
  }

  .article-page .topbar{
    padding-left:12px!important;
    padding-right:12px!important;
  }

  .article-page .footer-simple{
    padding-left:12px!important;
    padding-right:12px!important;
  }
}


/* Editorial Visual System V1 — content assets only; layout DNA remains unchanged. */
.feature-article .article-visual-image{
  overflow:hidden;
  background:#07111e;
}
.feature-article .article-visual-image img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center;
}
.mini-art.mini-art-image{
  overflow:hidden;
  background:none;
}
.mini-art.mini-art-image img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center;
}
.article-editorial-visual{
  margin:0 0 var(--space-5);
}
.article-editorial-visual img{
  width:100%;
  height:auto;
  display:block;
  border:1px solid var(--line);
  border-radius:18px;
  background:var(--panel);
}
.article-editorial-visual .article-caption{
  margin-top:var(--space-2);
}


/* Editorial Image Size System V1 — final 3-article integration. */
/* Removes legacy decorative lines from real article thumbnails. */
.feature-article .article-visual-image::before,
.feature-article .article-visual-image::after{
  content:none!important;
  display:none!important;
}

/* Featured article: keep the existing card slot, crop proportionally, never stretch. */
.feature-article .article-visual-image{
  width:100%;
  min-width:0;
  overflow:hidden;
  background:#07111e;
}
.feature-article .article-visual-image img{
  display:block;
  width:100%;
  height:100%;
  max-width:100%;
  object-fit:cover;
  object-position:center;
}

/* Latest Notes: explicit thumbnail box because .mini-art is a span. */
.mini-art.mini-art-image{
  display:block;
  width:54px;
  height:42px;
  flex:0 0 54px;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:6px;
  background:#07111e;
}
.mini-art.mini-art-image img{
  display:block;
  width:100%;
  height:100%;
  max-width:100%;
  object-fit:cover;
}
/* The sunrise/person is the useful cue at tiny size; the title lives beside it in HTML. */
.mini-art.mini-art-image.technology-thumb img{
  object-position:68% 52%;
}

/* Reusable thumbnail ratios for future article assets. */
.editorial-thumb-16x9{aspect-ratio:16/9;overflow:hidden}
.editorial-thumb-4x3{aspect-ratio:4/3;overflow:hidden}
.editorial-thumb-square{aspect-ratio:1/1;overflow:hidden}
.editorial-thumb-16x9 img,
.editorial-thumb-4x3 img,
.editorial-thumb-square img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}

/* =========================================================
   IDEA STREAM — BILINGUAL GRID HOTFIX
   2026-08-12
   Number column stays fixed; translated text gets remaining width.
   ========================================================= */
.episode-list li{
  display:grid!important;
  grid-template-columns:22px minmax(0,1fr)!important;
  column-gap:0!important;
  align-items:start!important;
}

.episode-list li > span:first-child{
  display:block!important;
  width:22px!important;
  min-width:22px!important;
  color:var(--text)!important;
}

.episode-list li > span[data-en]{
  display:block!important;
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  color:var(--muted)!important;
  white-space:normal!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
}
