/* SJ Vision — shared design system */
:root{--bg:#F4F8FF;--surface:#fff;--ink:#0B1F44;--muted:#526585;--accent:#0064D9;--line:#D8E5F8;--dark:#0B1F44;--soft:#EAF2FF;--radius:22px;--max:1160px}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:112px}
body{margin:0;background:var(--bg);color:var(--ink);font:17px/1.75 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
a{color:var(--accent);text-underline-offset:4px;text-decoration-thickness:1px}
a:hover{color:#0051B3}
button,input,textarea{font:inherit}
button,a,input,summary,textarea{touch-action:manipulation}
a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #ac6a00;outline-offset:5px}
.site-header :focus-visible,.site-footer :focus-visible{outline-color:#ffd079}
img{max-width:100%;height:auto}
svg{display:block}
h1,h2,h3,h4{line-height:1.15;letter-spacing:-.035em;text-wrap:balance}
h1{font-size:clamp(2.3rem,5vw,4.4rem)}
h2{font-size:clamp(1.6rem,3vw,2.3rem)}
h3{font-size:1.35rem}
p{margin:.8em 0 1.1em}
main{max-width:var(--max);margin:auto;padding:0 28px 88px}
.skip-link{position:fixed;left:16px;top:-90px;z-index:100;background:#fff;padding:12px 20px;border-radius:10px}
.skip-link:focus{top:16px}
.site-header{background:var(--dark);color:#fff;position:sticky;top:0;z-index:20;border-bottom:1px solid #263F66}
.header-inner{max-width:var(--max);margin:auto;padding:17px 28px;display:flex;align-items:center;justify-content:space-between;gap:28px}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:#fff;font-size:24px;white-space:nowrap}
.brand img{object-fit:contain;background:#fff;border-radius:12px;padding:5px;width:46px;height:46px}
.brand b{font-weight:600;color:#A9D8FF}
.brand:hover{color:#fff}
#site-nav{display:flex;align-items:center;gap:22px;font-size:14px}
#site-nav a{color:#F4F8FF;text-decoration:none}
#site-nav a:hover{color:#B9DDFF}
.nav-group{position:relative}
.nav-group summary{cursor:pointer;list-style:none;min-height:44px;display:flex;align-items:center;gap:12px;border-radius:8px;padding:6px 4px}
.nav-group summary::-webkit-details-marker{display:none}
.nav-group summary:after{content:"";width:7px;height:7px;border:solid #A9D0FF;border-width:0 1.5px 1.5px 0;transform:rotate(45deg);margin-top:-4px}
.nav-group[open] summary:after{transform:rotate(225deg);margin-top:4px}
.nav-group.is-current summary{color:#B9DDFF;text-decoration:underline;text-underline-offset:8px}
.nav-dropdown{position:absolute;right:0;top:calc(100% + 8px);min-width:242px;padding:10px;background:var(--dark);border:1px solid #355681;border-radius:14px;box-shadow:0 16px 40px #0B1F4433}
.nav-dropdown a{display:flex;align-items:center;min-height:44px;padding:8px 14px;border-radius:8px}
.nav-dropdown a:hover,.nav-dropdown a[aria-current]{background:#163761}
.contact-link{padding:9px 18px;border:1px solid #6485B0;border-radius:100px;min-height:44px}
.contact-link[aria-current]{background:#163761}
.menu-toggle{display:none;background:transparent;border:1px solid #6485B0;color:#fff;border-radius:10px;padding:9px 13px;min-height:44px;align-items:center;gap:12px}
.menu-toggle svg{width:20px;height:20px}
.menu-toggle[aria-expanded=true] .menu-lines{display:none}
.menu-toggle[aria-expanded=false] .menu-cross{display:none}
.home-intro{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:64px;align-items:center;padding:74px 0 70px}
.home-copy h1{margin:0 0 24px}
.home-copy h1 span{color:var(--accent)}
.eyebrow{font-size:11px;font-weight:750;letter-spacing:.15em;margin:0 0 18px;color:var(--accent)}
.lead{font-size:clamp(1.05rem,1.7vw,1.2rem);color:var(--muted);max-width:620px;line-height:1.7}
.actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.button{display:inline-flex;align-items:center;justify-content:center;gap:18px;padding:12px 22px;min-height:48px;border:1px solid var(--accent);border-radius:100px;background:var(--accent);color:#fff;font-size:14px;font-weight:650;text-decoration:none;cursor:pointer}
.button:hover{background:#0051B3;color:#fff}
.button.secondary{background:transparent;color:var(--accent)}
.button.secondary:hover{background:#E4EFFF}
.button:disabled{opacity:.55;cursor:not-allowed}
.featured-project{display:block;position:relative;background:#EAF2FF;border:1px solid #CCDDF5;border-radius:28px;padding:24px;text-decoration:none;color:var(--ink);overflow:hidden;transition:transform .18s,box-shadow .18s}
.featured-project:hover{color:var(--ink);transform:translateY(-3px);box-shadow:0 18px 32px #0B1F4410}
.featured-project .eyebrow{margin-bottom:12px}
.featured-art{min-height:254px;display:grid;place-items:center}
.featured-art img{display:block;width:270px;height:auto;max-height:280px;object-fit:contain;filter:drop-shadow(0 14px 12px #0B1F4420)}
.featured-caption{display:flex;align-items:center;justify-content:space-between;gap:14px;border-top:1px solid #C7DAF5;padding-top:20px;margin-top:18px}
.featured-caption h2{font-size:1.45rem;margin:0 0 4px}
.featured-caption p{font-size:13px;color:#526585;margin:0}
.round-arrow{width:44px;height:44px;border:1px solid #9BB9E4;border-radius:50%;display:grid;place-items:center;flex-shrink:0}
.home-section{padding:24px 0}
.section-heading{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:26px}
.section-heading .eyebrow{margin-bottom:10px}
.section-heading h2{margin:0}
.section-heading p:not(.eyebrow){max-width:410px;font-size:15px;color:var(--muted);margin:0}
.topic-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.topic-card{display:flex;flex-direction:column;align-items:flex-start;position:relative;gap:22px;padding:26px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);text-decoration:none;color:var(--ink);transition:transform .18s,border-color .18s,box-shadow .18s}
.topic-card:hover{transform:translateY(-3px);border-color:#82B3F6;box-shadow:0 12px 24px #0B1F440a;color:var(--ink)}
.topic-icon{width:58px;height:58px;border-radius:14px;background:var(--dark);padding:11px;display:grid;place-items:center;flex-shrink:0}
.topic-icon img{max-height:36px;object-fit:contain}
.topic-card h3{margin:0 0 9px;font-size:1.22rem}
.topic-card p{margin:0;font-size:14px;color:var(--muted)}
.topic-card .arrow{position:absolute;right:24px;top:30px;font-size:23px;line-height:1}
.topic-card.browse-card{background:var(--soft);border-color:#CCDDF5}
.browse-card .topic-icon{color:#fff}
.cta-card{display:flex;justify-content:space-between;align-items:center;gap:25px;background:#EAF2FF;border:1px solid #CCDDF5;border-radius:var(--radius);padding:32px;margin-top:42px}
.cta-card h2{font-size:1.65rem;margin:0}
.cta-card .eyebrow{margin-bottom:12px}
.cta-card p:last-child{margin-bottom:0;font-size:15px;color:var(--muted)}
.cta-card .button{flex-shrink:0}
.page-heading{padding:44px 0 34px;max-width:960px}
.breadcrumb{font-size:13px;color:var(--muted);margin:0 0 24px}
.breadcrumb a{text-decoration:underline}
.page-heading .eyebrow{margin-bottom:12px}
.page-heading h1{font-size:clamp(2.2rem,4.5vw,3.5rem);margin:0}
.reading-layout{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:34px;align-items:start}
.reading-layout.no-toc{grid-template-columns:minmax(0,900px)}
.article-body{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:clamp(24px,4vw,46px);min-width:0;overflow-wrap:anywhere}
.article-body h2{font-size:1.8rem;margin-top:1.7em;line-height:1.25}
.article-body h3{margin-top:1.5em}
.article-body .content-section:first-child h2{margin-top:.5em}
.article-body h2,.article-body h3,.article-body [id]{scroll-margin-top:112px}
.article-body pre{background:#0B1F44;color:#F4F8FF;border-radius:12px;padding:22px;overflow:auto;white-space:pre;font-size:14px;line-height:1.65;max-width:100%;tab-size:4}
.article-body code{font-family:Consolas,"Courier New",monospace;font-size:.9em}
.article-body :not(pre)>code{background:#EDF3FF;padding:2px 5px;border-radius:4px}
.article-body figure{margin:28px 0}
.article-body figure img{display:block;margin:auto;border-radius:8px;max-height:680px;object-fit:contain}
.article-body figure:has(img[alt="WordPress"]),.article-body figure:has(img[alt="Ubuntu"]),.article-body figure:has(img[alt="Ollama"]),.article-body figure:has(img[alt="Open WebUI"]),.article-body figure:has(img[alt="ESXi"]){max-width:130px}
.article-body blockquote{border-left:3px solid #3B82F6;margin:24px 0;padding:5px 20px;background:#F0F5FF}
.article-body table{display:block;overflow:auto;border-collapse:collapse}
.article-body td,.article-body th{border:1px solid var(--line);padding:10px}
.article-body hr{border:0;border-top:1px solid var(--line);margin:36px 0}
.article-body li{margin:8px 0}
.toc{position:sticky;top:112px;padding:14px 0;font-size:13px;max-height:calc(100vh - 140px);overflow:auto}
.toc summary{cursor:pointer;font-size:12px;font-weight:700;letter-spacing:.06em;color:var(--muted);padding:8px 0;min-height:40px}
.toc a{display:block;text-decoration:none;padding:10px 4px;border-bottom:1px solid var(--line);line-height:1.5}
.toc a:hover{color:var(--ink);background:#EAF2FF}
.image-label{display:inline-block;font-weight:700;background:#EDF3FF;border-radius:8px;padding:8px 18px}
.copy-command{display:block;margin:14px 0 -10px auto;background:#EAF2FF;color:#164681;border:1px solid #BDD2F0;border-radius:8px;padding:6px 14px;min-height:40px;font-size:12px;cursor:pointer}
.contact-panel fieldset{border:0;padding:0;min-width:0}
.contact-panel legend{font-weight:700;margin:18px 0}
.contact-panel label{display:block;margin-bottom:20px;font-size:15px;font-weight:650}
.contact-panel input,.contact-panel textarea{display:block;width:100%;margin-top:8px;border:1px solid #BDD2F0;border-radius:10px;padding:12px;background:#F8FAFF;color:var(--ink)}
.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.notice{background:#EDF3FF;padding:18px 20px;border-radius:12px;border-left:3px solid #3B82F6}
.archive-art{max-width:180px}
.tutorial-directory{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:30px}
.tutorial-card{border:1px solid var(--line);border-radius:16px;padding:24px;background:#F8FAFF}
.tutorial-card figure{margin:0 0 18px!important;width:54px}
.tutorial-card figure img{height:54px;width:54px;object-fit:contain;background:var(--dark);padding:8px;border-radius:12px}
.tutorial-card h2{font-size:1.25rem;margin:0 0 14px!important}
.tutorial-card h2 a{text-decoration:none}
.tutorial-card ul{margin:0;padding-left:18px;font-size:14px}
.tutorial-card li a{display:inline-block;padding:4px 0}
.site-footer{background:var(--dark);color:#F4F8FF;padding:48px 28px}
.footer-inner{max-width:var(--max);margin:auto;display:flex;justify-content:space-between;gap:48px}
.footer-brand{font-size:24px;color:#fff;text-decoration:none;font-weight:650}
.site-footer p{font-size:14px;color:#BCD0ED}
.copyright{font-size:12px!important}
.site-footer nav{display:grid;grid-template-columns:1fr 1fr;gap:4px 28px;align-content:start;max-width:600px}
.site-footer nav a{display:flex;align-items:center;min-height:40px;color:#CADCF5;font-size:13px;text-decoration:none}
.site-footer nav a:hover{color:#fff;text-decoration:underline}
@media(max-width:1000px){.home-intro{gap:36px}.topic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-copy h1{font-size:3.1rem}}
@media(max-width:900px){.reading-layout{grid-template-columns:1fr;gap:24px}.toc{position:static;grid-row:1;background:#EAF2FF;padding:12px 20px;border:1px solid #D8E5F8;border-radius:14px;max-height:none}.toc nav{display:grid;grid-template-columns:1fr 1fr;gap:4px 18px}.toc a{border:0}.section-heading{align-items:start}}
@media(max-width:820px){html{scroll-padding-top:94px}.header-inner{padding:14px 24px;flex-wrap:wrap;gap:0}.js .menu-toggle{display:flex}.js #site-nav{display:none}.js #site-nav.is-open{display:flex}#site-nav{width:100%;align-items:stretch;flex-direction:column;gap:8px;padding:14px 0 4px;font-size:16px;max-height:calc(100dvh - 84px);overflow:auto}.nav-dropdown{position:static;box-shadow:none;min-width:0;background:#163761;margin-top:4px}.nav-group summary{padding:8px 4px}.contact-link{align-self:flex-start}.home-intro{grid-template-columns:1fr;gap:30px;padding:46px 0 38px}.home-copy{max-width:650px}.home-copy h1{font-size:clamp(2.55rem,7vw,3.8rem)}.featured-project{display:grid;grid-template-columns:1fr 1fr;align-items:center;padding:22px;gap:14px}.featured-project>.eyebrow{grid-column:1/-1;margin:0}.featured-art{min-height:170px}.featured-art img{max-height:180px;width:190px}.featured-caption{border:0;padding:0;margin:0;align-items:flex-start}.featured-caption .round-arrow{display:none}.section-heading{flex-direction:column;gap:14px}.cta-card{padding:26px}.footer-inner{gap:26px}.site-footer nav{grid-template-columns:1fr}}
@media(max-width:560px){body{font-size:16px}main{padding:0 20px 56px}.header-inner{padding:13px 20px}.brand{font-size:21px}.brand img{width:40px;height:40px}.home-intro{padding-top:38px}.home-copy h1{font-size:clamp(2.3rem,9.3vw,3.1rem)}.lead{font-size:1.05rem}.featured-project{padding:20px;gap:12px}.featured-art{min-height:130px}.featured-art img{width:150px;max-height:150px}.featured-caption h2{font-size:1.2rem}.featured-caption p{font-size:12px}.topic-grid{grid-template-columns:1fr;gap:12px}.topic-card{flex-direction:row;align-items:center;gap:18px;padding:20px 46px 20px 20px}.topic-card .arrow{right:18px;top:50%;transform:translateY(-50%);font-size:20px}.topic-card h3{font-size:1.1rem;margin-bottom:6px}.topic-card p{font-size:13px}.topic-icon{width:52px;height:52px}.cta-card{flex-direction:column;align-items:flex-start;padding:24px;gap:20px}.footer-inner{flex-direction:column}.site-footer{padding:36px 20px}.site-footer nav{gap:0}.field-grid{grid-template-columns:1fr;gap:0}.page-heading{padding:30px 0 24px}.page-heading h1{font-size:clamp(2rem,8vw,2.7rem)}.article-body{padding:22px}.article-body h2{font-size:1.5rem}.article-body pre{padding:16px;font-size:13px}.toc nav{grid-template-columns:1fr}.tutorial-directory{grid-template-columns:1fr}.tutorial-card{padding:20px}}
@media(max-width:360px){.actions .button{width:100%}.featured-project{grid-template-columns:1fr}.featured-caption{border-top:1px solid #C7DAF5;padding-top:16px}.featured-caption .round-arrow{display:grid}.featured-art img{max-height:180px;width:190px}.topic-card{gap:12px;padding-left:16px}.topic-icon{width:46px;height:46px;padding:9px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}

.article-body pre:focus-visible{outline:3px solid #ac6a00;outline-offset:5px}

.field-help{display:block;font-size:13px;line-height:1.6;color:var(--muted);font-weight:400;margin-top:8px}.field-error{display:block;font-size:13px;color:#963323;margin-top:6px}.field-error:empty{display:none}[aria-invalid=true]{border:2px solid #963323!important}.notice.is-error{border-color:#963323;color:#792719;background:#fff1e9}.contact-trap{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}#contact-state:focus{outline:3px solid #ac6a00;outline-offset:4px}

/* Reserve compact contents state before enhancement to avoid layout movement. */
.js .toc details:not([data-ready]) nav{display:none}

/* Approved developer branding: decorative electric blue/cyan; darker blue for readable actions. */
.brand-label{display:flex;flex-direction:column;line-height:1.15;gap:6px}.brand-label small{font-size:9px;letter-spacing:.13em;color:#BCD0ED;font-weight:600}.brand img{width:48px;height:48px;padding:3px;background:#F4F8FF;border-radius:12px}.brand b{color:#fff}.footer-brand{display:inline-flex;align-items:center;gap:12px}.footer-brand img{width:42px;height:42px;background:#F4F8FF;border-radius:10px;padding:3px}.home-intro{position:relative}.featured-project{background:linear-gradient(135deg,#EAF2FF,#DFF8FF)}.cta-card{background:linear-gradient(110deg,#EAF2FF,#E4F6FF)}.site-header{box-shadow:0 1px 0 #007BFF22}.button{border-radius:12px}.button.secondary{border-color:#9BB9E4}.home-copy h1 span{color:#0064D9}.topic-card:hover{border-color:#3B82F6}.nav-dropdown{box-shadow:0 16px 40px #0B1F4433}@media(max-width:560px){.brand img{width:40px;height:40px}.brand-label small{font-size:8px;letter-spacing:.08em}.brand{gap:9px}.footer-brand img{width:38px;height:38px}}

/* Current project portfolio */
.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}.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-bottom:42px}.project-card{display:flex;flex-direction:column;padding:28px;background:var(--surface);border:1px solid var(--line);border-radius:22px;color:var(--ink);text-decoration:none}.project-card:hover{color:var(--ink);border-color:var(--accent)}.project-card>img{width:88px;height:88px;object-fit:contain;border-radius:18px;margin-bottom:16px}.project-card h3{margin:0 0 12px}.project-card p{font-size:15px;color:var(--muted);margin:0 0 24px}.project-more{margin-top:auto;color:var(--accent);font-size:14px;font-weight:650}.project-overview{display:flex;align-items:center;gap:24px}.project-app-icon{width:100px;height:100px;object-fit:contain;border-radius:22px;flex-shrink:0}.project-screens{display:grid;grid-template-columns:1fr 1fr;gap:24px}.project-screens figure{margin:16px 0}.project-screens figure img{width:100%;max-width:280px;max-height:none;box-shadow:0 8px 28px #0B1F4414}.project-screens figcaption{font-size:13px;color:var(--muted);line-height:1.6;margin-top:16px;text-align:center}.home-section[id]{scroll-margin-top:112px}@media(max-width:820px){.project-grid{grid-template-columns:1fr}.project-card{padding:24px}.project-card>img{width:72px;height:72px}}@media(max-width:560px){.project-overview{align-items:flex-start;flex-direction:column;gap:10px}.project-screens{grid-template-columns:1fr}.project-screens figure img{max-width:250px}}

/* Softer portfolio homepage, 17 October 2026 */
.home-page{background:#F7F9FC}.home-page .home-intro{gap:54px;padding:66px 0 56px}.home-page h1{font-size:clamp(2.25rem,4.4vw,3.55rem);font-weight:550;letter-spacing:-.035em;line-height:1.16;color:#293C56}.home-page .home-copy h1 span{color:#326E9E}.home-page .lead{font-size:1.08rem;line-height:1.85;color:#607086}.home-page h2{font-weight:580;font-size:clamp(1.6rem,2.6vw,2.05rem);letter-spacing:-.025em}.home-page h3{font-weight:600;letter-spacing:-.02em}.home-page .eyebrow{color:#466B8D;font-weight:650;letter-spacing:.12em}.home-page .button{background:#326E9E;border-color:#326E9E;border-radius:18px;font-weight:550;padding:13px 23px}.home-page .button:hover{background:#285E88}.home-page .button.secondary{background:#fff;color:#326E9E;border-color:#D4E0EA}.home-page .featured-project{background:linear-gradient(145deg,#F0F5FB,#EDF7F7);border:1px solid #DFE8EF;box-shadow:0 12px 32px #30496706;border-radius:32px;padding:28px}.home-page .featured-art img{width:200px;max-height:220px;border-radius:36px;filter:drop-shadow(0 12px 16px #3049670c)}.home-page .featured-caption{border-color:#DCE6ED}.home-page .featured-caption h2{font-size:1.4rem}.home-page .round-arrow{border-color:#CCDCE7;color:#466B8D}.home-page .home-section{padding:30px 0}.home-page .project-grid{gap:22px;margin-bottom:16px}.home-page .project-card{border-color:#E3E9F0;border-radius:26px;padding:30px;box-shadow:0 6px 24px #30496704;transition:transform .18s,box-shadow .18s}.home-page .project-card:hover{transform:translateY(-2px);box-shadow:0 12px 28px #3049670c}.home-page .project-card>img{width:76px;height:76px;border-radius:20px}.home-page .project-more{color:#326E9E;font-weight:550}.home-page .topic-card{border-color:#E3E9F0;border-radius:24px;padding:26px;gap:20px}.home-page .topic-icon{background:#EAF0F7;border-radius:17px}.home-page .topic-icon:has(img[src*=ollama-white]){background:#526B84}.home-page .browse-card{background:#EFF4F8}.home-page .browse-card .topic-icon{background:#4C6B89}.home-page .topic-card h3{font-size:1.15rem}.home-page .topic-card .arrow{color:#526B84}.home-page .section-heading p{color:#596D85}.home-page .section-heading{margin-bottom:28px}@media(max-width:820px){.home-page .home-intro{padding:44px 0 28px;gap:28px}.home-page .featured-project{padding:24px}.home-page .featured-art img{width:145px;max-height:160px}.home-page .project-card{padding:25px}}@media(max-width:560px){.home-page .home-intro{padding-top:34px}.home-page .home-copy h1{font-size:clamp(2.1rem,8vw,2.8rem)}.home-page .featured-project{padding:22px;border-radius:26px}.home-page .featured-art img{width:118px}.home-page .topic-card{padding:22px 45px 22px 20px}.home-page .project-card>img{width:64px;height:64px}.home-page .home-section{padding:25px 0}}
