/* V4 portfolio layer. Original product artwork stays intact. */
:root{--navy:#07111f;--gold:#e1be73;--cold:#8ebcd6}
body{background:var(--navy)}
.lab-hero{background-image:radial-gradient(ellipse at 82% 40%,#1033524d,transparent 55%),linear-gradient(#7086a008 1px,transparent 1px),linear-gradient(90deg,#7086a008 1px,transparent 1px);background-size:auto,90px 90px,90px 90px}
.lab-hero-grid{grid-template-columns:1fr 1.05fr;gap:6%;padding-block:65px}.lab-hero h1{font-size:clamp(65px,7.1vw,110px)}.lab-lead{max-width:360px;font-size:21px}
.portfolio-field{position:relative;padding:25px 0;background:radial-gradient(ellipse,#23476726,transparent 68%)}
.field-origin{text-align:center;display:grid;gap:9px;font:13px/1.6 Consolas,monospace;letter-spacing:3px;color:var(--gold)}.field-origin small{font-size:8px;color:#9baebf;letter-spacing:1.5px}
.family-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-top:30px;position:relative}.family-grid:before{content:'';position:absolute;inset:-20px 50% -15px;border-left:1px solid #b9a26b44}.family-node{min-width:0;position:relative;display:block;background:#081727;border:1px solid #344c6077;padding:15px 20px 18px;transition:transform .25s,border-color .25s}.family-node:hover{border-color:var(--gold);transform:translateY(-3px)}.family-node>.system-mark{height:120px;aspect-ratio:auto;margin:auto;max-width:160px}.family-node>span{display:block;font:12px/1.6 Consolas,monospace;letter-spacing:1px;margin-top:10px;color:#f4ebd8}.family-node small{font-size:8px;color:var(--gold)}.field-foot{text-align:center;font:9px/1.6 Consolas,monospace;letter-spacing:2px;margin-top:25px;color:var(--muted)}
.system-mark.kavryn-mark img,.system-mark.retrace-mark img{position:static;width:100%;height:100%;object-fit:contain;max-width:100%}.system-mark.kavryn-mark,.system-mark.retrace-mark{mix-blend-mode:normal;display:flex;align-items:center;justify-content:center}.system-mark.kavryn-mark{background:#081d33}.system-mark.retrace-mark{background:#041022}.family-node .raccoon-mark img{width:175%;top:-47%}.family-node .verdict-mark img{top:-34%}.family-node .kavryn-mark,.family-node .retrace-mark{background:transparent}
.systems-grid{gap:28px}.system-card{background:linear-gradient(140deg,#0c1b2f,#081321);transition:transform .3s,border-color .3s}.system-card:hover{transform:translateY(-3px)}.system-art{height:300px;padding:24px 15%;display:flex;align-items:center;justify-content:center}.system-art .system-mark{width:100%;max-width:350px}.system-art .kavryn-mark,.system-art .retrace-mark{height:100%;aspect-ratio:auto}.kavryn-card .system-art{background:radial-gradient(ellipse,#142d46,transparent 75%)}.retrace-card .system-art{background:radial-gradient(ellipse,#0b3250,transparent 75%)}.system-card h3{font-size:50px}.system-card-copy{padding:32px}.system-card-copy>p:not(.system-proposition){min-height:75px}.aegis-card .system-card-copy{padding-bottom:32px}.system-card .primary{margin-top:18px;align-self:flex-start;font-size:12px;padding:12px 18px}.system-card-top{font-size:9px}.verdict-card{border-color:#897447}.system-card .release-note{font-size:9px}
.systems-nav>div{width:500px;left:-120px;padding:14px;background:#0a1728;max-height:80vh;overflow:auto}.systems-nav a{align-items:center;gap:16px;padding:16px;border-bottom:1px solid #35465a66}.systems-nav a:last-child{border-bottom:0}.systems-nav a>.system-mark{width:65px;height:55px;flex-shrink:0;aspect-ratio:auto}.systems-nav .nav-product-copy{flex:1;display:grid;gap:5px;color:var(--text)}.nav-product-copy b{font-size:13px;letter-spacing:1px}.nav-product-copy small{font-size:11px;color:var(--muted);font-weight:400}.nav-product-copy i{font:8px/1.4 Consolas,monospace;letter-spacing:1px;font-style:normal;color:var(--gold)}
.showcase-panel{display:grid;grid-template-columns:.65fr 1.35fr;gap:5%;align-items:center;padding:50px 0;border-top:1px solid var(--line)}.showcase-panel h3{font-size:clamp(25px,2.6vw,39px);line-height:1.15;letter-spacing:-1px;margin:23px 0}.showcase-panel p{font-size:15px}.showcase-panel figure{margin:0;min-width:0}.showcase-panel figure img{width:100%;height:auto;display:block;border:1px solid #395068;border-radius:8px}.showcase-panel.reverse{grid-template-columns:1.35fr .65fr}.showcase-panel.reverse>div{order:2}.showcase-panel figcaption,.product-screen figcaption{font:10px/1.6 Consolas,monospace;color:var(--muted);padding-top:14px}
.product-hero{max-width:1600px;margin:auto;padding:85px 5% 75px;display:grid;grid-template-columns:1.05fr 1fr;gap:6%;align-items:center;background:radial-gradient(ellipse at 85% 40%,#12395c4d,transparent 60%)}.product-hero h1,.editorial-hero h1{font-size:clamp(45px,5.3vw,83px);line-height:1.05;letter-spacing:-3px;margin:25px 0}.product-hero p{max-width:570px}.product-lead{font-size:22px;color:var(--text)}.product-status{display:block;font:10px/1.6 Consolas,monospace;color:var(--gold);letter-spacing:1px;margin-top:25px}.identity-panel img{width:100%;height:auto;display:block}.identity-panel{border:1px solid #30495d66;padding:15px;background:#08192a;box-shadow:0 30px 60px #0002}.retrace-hero .identity-panel{max-width:470px;justify-self:center}.retrace-hero h1{font-size:clamp(43px,4.6vw,72px)}
.product-screen{margin:0}.product-screen img{width:100%;height:auto;display:block;border:1px solid #3b516b;border-radius:8px}.interface-section{background:radial-gradient(ellipse at 50% 70%,#0f2b444d,transparent 75%)}.development-note{max-width:1050px;margin:auto}.development-note h2{margin-top:22px}.development-note p{max-width:740px}.editorial-hero{max-width:1440px;padding:95px 5% 80px;margin:auto;border-bottom:1px solid var(--line)}.editorial-hero p{max-width:650px;font-size:22px}.lab-motto{font:12px/1.6 Consolas,monospace;color:var(--gold);letter-spacing:3px;margin-top:35px}.research-ledger{display:grid;grid-template-columns:1fr 1fr;gap:55px}.research-ledger article{padding-top:25px;border-top:1px solid var(--gold)}.research-ledger article>span{font:11px/1.6 Consolas,monospace;color:var(--gold)}.research-ledger h2{font-size:38px;margin:25px 0}.research-ledger .text-link{font-size:13px;margin:10px 15px 0 0}.verdict-hero h1{font-size:clamp(43px,4.5vw,70px)}footer>div{flex-wrap:wrap}
@media(min-width:1600px){.family-node>.system-mark{height:145px;max-width:190px}.system-art{height:340px}}
@media(max-width:1180px){.systems-nav>div{width:100%;max-height:none;left:auto;padding:0}.systems-nav a{padding:12px 8px}.systems-nav a>.system-mark{width:50px;height:46px}.lab-hero-grid{gap:4%}.family-node{padding:12px}.family-node>.system-mark{height:90px;max-width:125px}.field-origin{font-size:11px}.system-art{height:260px;padding:20px 12%}.product-hero{gap:4%}.showcase-panel{grid-template-columns:.8fr 1.2fr}.showcase-panel.reverse{grid-template-columns:1.2fr .8fr}}
@media(max-width:800px){.lab-hero-grid{grid-template-columns:1fr;padding:42px 0 28px}.lab-hero h1{font-size:clamp(60px,12vw,90px)}.lab-lead{font-size:19px}.portfolio-field{max-width:520px;width:100%;justify-self:center;margin-top:20px}.family-node>.system-mark{height:120px;max-width:155px}.family-grid{gap:15px}.system-art{height:220px;padding:20px 8%}.system-card-copy{padding:25px}.system-card h3{font-size:40px}.system-card-copy>p:not(.system-proposition){min-height:0}.showcase-panel,.showcase-panel.reverse{grid-template-columns:1fr;gap:25px}.showcase-panel.reverse>div{order:0}.showcase-panel h3{font-size:34px}.product-hero{grid-template-columns:1fr;gap:35px;padding-block:50px}.identity-panel{max-width:570px;width:100%;justify-self:center}.product-hero h1{font-size:58px}.retrace-hero h1{font-size:52px}.research-ledger{gap:35px}.research-ledger h2{font-size:31px}.editorial-hero{padding-block:60px}.editorial-hero h1{font-size:57px}.verdict-hero h1{font-size:55px}}
@media(max-width:540px){.lab-hero h1{font-size:clamp(43px,12.4vw,65px);letter-spacing:-2.5px}.family-node>.system-mark{height:100px;max-width:130px}.family-node{padding:12px 9px}.family-node>span{font-size:11px}.family-node small{font-size:7px}.field-origin{letter-spacing:2px}.field-foot{font-size:8px}.system-art{height:230px;padding:20px 13%}.system-card h3{font-size:43px}.system-card-top{padding:16px;font-size:8px}.system-card-copy{padding:25px}.product-hero h1,.retrace-hero h1{font-size:clamp(35px,9.6vw,49px);letter-spacing:-1.7px}.product-lead{font-size:20px}.identity-panel{padding:8px}.editorial-hero h1{font-size:40px;letter-spacing:-2px}.editorial-hero p{font-size:19px}.research-ledger{grid-template-columns:1fr}.verdict-hero h1{font-size:clamp(36px,9.6vw,48px)}.showcase-panel h3{font-size:30px}.nav-product-copy small{font-size:10px}.systems-nav a{gap:10px}.systems-nav a>.system-mark{width:45px;height:40px}.nav-product-copy b{font-size:11px}.product-screen figcaption{font-size:9px}.lab-lead{max-width:300px}.systems-nav>div{margin-inline:0}.principle-strip{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.family-node,.system-card{transition:none}.family-node:hover,.system-card:hover{transform:none}}
/* Viewports isolate the supplied symbols; source artwork is never redrawn. */
.system-mark.kavryn-mark,.system-mark.retrace-mark{display:block;background:transparent;mix-blend-mode:lighten}
.system-mark.kavryn-mark img{position:absolute;width:200%;max-width:none;height:auto;left:-53%;top:-8%}
.system-mark.retrace-mark img{position:absolute;width:140%;max-width:none;height:auto;left:-20%;top:-6%}
.family-node .raccoon-mark img{width:160%;left:-30%;top:-38%}
.family-node .kavryn-mark img{width:200%;left:-53%;top:-8%}
.family-node .retrace-mark img{width:125%;left:-12.5%;top:-6%}
.system-art .kavryn-mark,.system-art .retrace-mark{width:min(100%,290px);height:auto;aspect-ratio:1.2}
.system-mark.kavryn-mark{aspect-ratio:1;clip-path:inset(0 0 15% 0)}
.system-mark.kavryn-mark img,.family-node .kavryn-mark img{width:250%;left:-78%;top:-14%}
.system-art .kavryn-mark{width:220px;height:220px;aspect-ratio:1}
.family-node>.kavryn-mark{width:120px;height:120px}
.systems-nav a>.kavryn-mark{width:55px;height:55px}
@media(max-width:1180px){.family-node>.kavryn-mark{width:90px;height:90px}.systems-nav a>.kavryn-mark{width:45px;height:45px}}
@media(max-width:800px){.family-node>.kavryn-mark{width:120px;height:120px}.system-art .kavryn-mark{width:180px;height:180px}}
@media(max-width:540px){.family-node>.kavryn-mark{width:100px;height:100px}.system-art .kavryn-mark{width:190px;height:190px}.systems-nav a>.kavryn-mark{width:40px;height:40px}}
.system-mark.raccoonfeed-mark{mix-blend-mode:normal;aspect-ratio:1}
.system-mark.raccoonfeed-mark img{position:static;width:100%;max-width:100%;height:100%;object-fit:contain}
.family-node:last-child:nth-child(odd){grid-column:1/-1;display:flex;align-items:center;justify-content:center;gap:22px;padding:12px 22px}
.family-node:last-child:nth-child(odd)>.system-mark{width:70px;height:70px;margin:0}.family-node:last-child:nth-child(odd)>span{margin:0;font-size:16px}
.system-card:last-child:nth-child(odd){grid-column:1/-1;display:grid;grid-template-columns:.85fr 1.15fr}.system-card:last-child:nth-child(odd)>.system-card-top{grid-column:1/-1}.system-card:last-child:nth-child(odd) .system-art{height:330px}.system-card:last-child:nth-child(odd) .system-card-copy{justify-content:center}.system-card:last-child:nth-child(odd) .text-link{margin-top:15px}.raccoonfeed-card .system-mark{width:260px;height:260px}.raccoonfeed-card h3{font-size:45px}.raccoonfeed-hero .identity-panel{max-width:420px;justify-self:center}
@media(max-width:800px){.system-card:last-child:nth-child(odd){display:flex}.system-card:last-child:nth-child(odd) .system-art{height:260px}.raccoonfeed-card .system-mark{width:220px;height:220px}}
@media(max-width:540px){.raccoonfeed-card h3{font-size:36px}.family-node:last-child:nth-child(odd)>span{font-size:14px}}
.nav-product-copy{white-space:normal}
@media(max-width:1180px){#navigation.open{max-height:calc(100dvh - 95px);overflow-y:auto;overscroll-behavior:contain}}
