/* Rig-inspired portfolio system. Existing project interfaces retain their own styles. */
@font-face{font-family:RigInter;src:url('/assets/fonts/inter-web-400.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:RigInter;src:url('/assets/fonts/inter-web-600.woff2') format('woff2');font-weight:600;font-display:swap}
@font-face{font-family:RigInter;src:url('/assets/fonts/inter-web-700.woff2') format('woff2');font-weight:700;font-display:swap}
body.rig-theme.personal-studio.robot-home,body.rig-theme{--rg-bg:#19282b;--rg-panel:#1e3033;--rg-ink:#e8e8df;--rg-muted:#b7c3c3;--rg-line:#ffffff24;--rg-blue:#2789ee;--rg-mono:Consolas,'Courier New',monospace;--kit-font:RigInter,Arial,sans-serif;--kit-canvas:var(--rg-bg);--kit-surface:var(--rg-panel);--kit-ink:var(--rg-ink);--kit-secondary:var(--rg-muted);--kit-border:var(--rg-line);--kit-accent:#65b5ff;--kit-accent-hover:#9ecfff;--kit-dark:#101a1c;--kit-on-dark:var(--rg-ink);--case-paper:var(--rg-bg);--case-ink:var(--rg-ink);--case-muted:var(--rg-muted);--case-rule:var(--rg-line);--bg:var(--rg-bg);--paper:var(--rg-bg);--ink:var(--rg-ink);--text:var(--rg-ink);--muted:var(--rg-muted);--line:var(--rg-line);--accent:#65b5ff;background:var(--rg-bg)!important;color:var(--rg-ink)!important;font-family:RigInter,Arial,sans-serif!important;margin:0;overflow-x:clip}
body.rig-theme::before{content:'';position:fixed;inset:0;z-index:100;pointer-events:none;background:repeating-linear-gradient(0deg,#00000004 0px,#00000004 1px,transparent 1px,transparent 3px);opacity:.48}
body.rig-theme *{box-sizing:border-box}
body.rig-theme :is(h1,h2,h3,h4,p,a,button,li,span,div,summary,figcaption,dt,dd){font-family:RigInter,Arial,sans-serif!important}
body.rig-theme :is(.chrome-root,#site-menu,[data-preloader],.hbar,.ed-top,.masthead){display:none!important}
body.rig-theme :is(.page-shell,#main){background:transparent!important;color:var(--rg-ink)!important}
body.rig-theme #main :is(h1,h2,h3,h4){color:var(--rg-ink)!important;letter-spacing:-.045em!important;text-transform:none}
body.rig-theme #main :is(p,li,dt,dd,figcaption){color:var(--rg-muted)}
body.rig-theme #main a{color:inherit}
body.rig-theme #main a:hover{color:#91cbff}
body.rig-theme :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #a6d8ff!important;outline-offset:5px!important}
body.rig-theme a{touch-action:manipulation}
body.rig-theme :is(button,summary){touch-action:manipulation}
body.rig-theme img{max-width:100%}
body.rig-theme :is(section,[id]){scroll-margin-top:24px}
body.rig-theme .rg-skip{position:absolute;top:8px;left:8px;transform:translateY(-200%);background:#111b1e;color:white;padding:14px;z-index:200;text-decoration:none}
body.rig-theme .rg-skip:focus{transform:none}
body.rig-theme .rg-header{position:relative;z-index:50;background:var(--rg-bg);border-bottom:1px solid var(--rg-line);color:var(--rg-ink)}
body.rig-theme .rg-header-inner{max-width:1200px;width:calc(100% - 64px);margin:auto;min-height:96px;display:flex;align-items:center;justify-content:space-between;gap:30px}
body.rig-theme .rg-brand{font-size:19px;font-weight:700;letter-spacing:-.055em;line-height:.92;text-decoration:none;color:inherit;display:flex;flex-direction:column;flex-shrink:0}
body.rig-theme .rg-brand span{font-size:13px;letter-spacing:-.03em;margin-top:4px}
body.rig-theme .rg-nav{display:flex;align-items:center;gap:28px}
body.rig-theme .rg-nav a{color:inherit;font-size:15px;text-decoration:none;padding:8px 0;border-bottom:1px solid transparent}
body.rig-theme .rg-nav a:hover,body.rig-theme .rg-nav a[aria-current]{border-color:currentColor}
body.rig-theme :is(.rg-label,.ps-label,.case-eyebrow,.case-kicker,.resume-kicker,.sales-label){font-family:var(--rg-mono)!important;letter-spacing:.09em!important;text-transform:uppercase!important;font-size:12px!important;line-height:1.5!important;color:#78bdff!important;font-weight:400!important}
body.rig-theme .rg-tag{display:inline-block;background:#0c161b;border:1px solid var(--rg-line);padding:7px 16px}
body.rig-theme .rg-btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:15px 26px;background:#15272b;color:#f1f0e6!important;text-decoration:none;font:700 14px/1.45 var(--rg-mono)!important;letter-spacing:.025em;clip-path:polygon(10px 0,100% 0,100% calc(100% - 10px),calc(100% - 10px) 100%,0 100%,0 10px);border:0;cursor:pointer;transition:background .18s,color .18s}
body.rig-theme .rg-btn:hover{background:#0a181d;color:white!important}
body.rig-theme .rg-btn-blue{background:#7bc0ff;color:#0d2432!important}
body.rig-theme .rg-btn-blue:hover{background:#a3d3ff}
body.rig-theme .rg-btn-outline{clip-path:none;border:1px solid var(--rg-line);background:transparent}
body.rig-theme .rg-btn:focus-visible{clip-path:none}
body.rig-theme .rg-menu-toggle{display:none;margin-left:auto;font:14px var(--rg-mono)!important;background:transparent;color:inherit;border:1px solid currentColor;padding:12px}
body.rig-theme .rg-text-link{display:inline-flex;gap:14px;color:inherit;text-decoration:none;font-size:13px;padding:10px 0;border-bottom:1px solid currentColor}
body.rig-theme .rg-footer{border-top:1px solid var(--rg-line);max-width:1200px;width:calc(100% - 64px);margin:0 auto;padding:28px 0 24px;color:var(--rg-ink)}
body.rig-theme .rg-footer-top{display:flex;justify-content:space-between;align-items:center;gap:36px;margin-bottom:64px}
body.rig-theme .rg-footer h2{font-size:clamp(30px,3.6vw,48px);line-height:1.05;letter-spacing:-.05em;font-weight:600;margin:16px 0 0;color:var(--rg-ink)}
body.rig-theme .rg-footer-bottom{border-top:0;display:flex;justify-content:space-between;gap:22px;padding-top:0;font-size:12px;color:var(--rg-muted)}
body.rig-theme .rg-footer-bottom nav{display:flex;gap:22px;flex-wrap:wrap}
body.rig-theme .rg-footer-bottom a{color:inherit;text-decoration:none}
/* Shared content and editorial pages. */
body.rig-theme #main:not(.rg-home-main){min-height:50vh}
body.rig-theme :is(.ps-shell,.wrap.ds-container,.case-story,.service-main,.resume-shell,.resume-main){width:min(1200px,calc(100% - 64px))!important;max-width:1200px!important;margin-inline:auto!important}
body.rig-theme :is(.ps-page,.case-catalog-main,.service-main){padding-top:42px!important}
body.rig-theme #main :is(.ps-page-intro,.catalog-intro){padding:42px 0 70px;border-bottom:1px solid var(--rg-line)}
body.rig-theme #main:not(.rg-home-main) h1{font-size:clamp(48px,6.1vw,88px)!important;line-height:1.02!important;font-weight:600!important;max-width:19ch;margin:20px 0 28px!important;overflow-wrap:break-word}
body.rig-theme #main:not(.rg-home-main) :is(h2,.ds-section-title){font-size:clamp(28px,3.3vw,46px)!important;line-height:1.07!important;font-weight:600!important}
body.rig-theme #main h3{font-weight:600!important;letter-spacing:-.025em!important}
body.rig-theme #main p{line-height:1.7}
body.rig-theme :is(.ps-lead,.ds-page-lead,.catalog-intro>p,.service-lead){font-size:20px!important;line-height:1.6!important;max-width:65ch;color:var(--rg-muted)!important}
body.rig-theme :is(.ps-section,.service-section,.resume-section,.case-chapter,.service-questions){border-color:var(--rg-line)!important}
body.rig-theme .ps-section{padding:70px 0}
body.rig-theme :is(.ps-intro,.ps-split){gap:48px}
body.rig-theme :is(.ps-task,.ps-process li,.resume-project,.resume-skills li,.service-task-grid article){border-color:var(--rg-line)!important;background:transparent!important}
body.rig-theme #main :is(.ps-cta,.case-inquiry,.case-action,.service-cta,.owner-contact-link,.btn,.as-button){background:#7bc0ff!important;color:#0b2431!important;border-color:#7bc0ff!important;border-radius:0!important}
body.rig-theme :is(.ps-link,.case-inline-link,.service-link){color:#9bd0ff!important;border-color:#577d8e!important}
body.rig-theme .ps-close{background:#2789ee!important;color:#fff!important;padding:48px!important;border-radius:0!important}
body.rig-theme .ps-close :is(h2,p,.ps-label){color:#fff!important}
body.rig-theme :is(.ps-process,.resume-skills,.resume-projects){list-style:none}
body.rig-theme :is(.breadcrumbs,.breadcrumb,.rg-breadcrumb){color:var(--rg-muted)!important;font-size:12px;line-height:1.5}
body.rig-theme :is(.breadcrumbs,.breadcrumb,.rg-breadcrumb) a{color:inherit}
body.rig-theme :is(.case-list-grid){gap:24px}
body.rig-theme :is(.case-list-card){border:1px solid var(--rg-line)!important;background:var(--rg-panel)!important;border-radius:0!important;overflow:hidden}
body.rig-theme .case-list-card .case-list-copy{padding:26px!important}
body.rig-theme .case-list-card img{display:block;aspect-ratio:16/9;object-fit:cover;border-radius:0!important}
body.rig-theme #main .case-list-card h2{font-size:28px!important}
body.rig-theme .case-list-card :is(a,p){color:var(--rg-ink)!important}
body.rig-theme .case-opening{background:var(--rg-panel)!important;border-bottom:1px solid var(--rg-line)}
body.rig-theme :is(.case-hero-copy,.case-overview){color:var(--rg-ink)!important}
body.rig-theme :is(.case-hero-media,.case-image-button,.case-gallery figure){background:#101c21!important;border-color:var(--rg-line)!important;border-radius:0!important}
body.rig-theme .case-hero-media img{background:transparent}
body.rig-theme :is(.case-end,.case-section,.case-demo,.case-cta,.case-role,.case-quickfacts){background:transparent!important;border-color:var(--rg-line)!important;color:var(--rg-ink)!important}
body.rig-theme .case-end a{color:#a6d5ff!important}
body.rig-theme :is(.case-lightbox,.image-lightbox){background:#081014ed!important}
body.rig-theme :is(.resume-hero,.resume-section,.resume-contact){background:transparent!important;color:var(--rg-ink)!important;border-color:var(--rg-line)!important}
body.rig-theme :is(.resume-hero-title,.resume-name,.resume-status,.resume-intro,.resume-projects a,.resume-skills strong){color:var(--rg-ink)!important}
body.rig-theme :is(.resume-status){border-color:var(--rg-line)!important;background:var(--rg-panel)!important}
body.rig-theme :is(.home-questions,.service-questions){background:transparent!important;color:var(--rg-ink)!important}
body.rig-theme :is(.home-questions__list,.service-questions) :is(details,summary){color:var(--rg-ink)!important;border-color:var(--rg-line)!important;background:transparent!important}
body.rig-theme details p{color:var(--rg-muted)!important}
body.rig-theme :is(input,textarea,select){background:#142226;color:var(--rg-ink);border-color:var(--rg-line)}
body.rig-theme .rg-detail{width:min(1200px,calc(100% - 64px));margin:auto;padding:40px 0 80px}
body.rig-theme .rg-breadcrumb{display:flex;gap:16px;flex-wrap:wrap}
body.rig-theme .rg-detail-hero{padding:64px 0}
body.rig-theme .rg-detail-hero p{font-size:22px;max-width:44ch;margin:0 0 30px}
/* Homepage: strong blue entrance, fine grid, large type and quiet technical labels. */
body.rg-home .rg-header{background:var(--rg-blue);color:#102126;border-bottom:0}
body.rg-home.personal-studio.robot-home #main.rg-home-main{width:100%!important;padding:0!important;max-width:none!important;background:var(--rg-bg)!important}
body.rg-home .rg-header .rg-btn{color:#f1f0e6!important}
body.rg-home .rg-hero{background:var(--rg-blue);position:relative;overflow:hidden;color:#f0eee2;border-radius:0}
body.rg-home .rg-hero::before{content:'';position:absolute;inset:0;background-image:linear-gradient(#ffffff0b 1px,transparent 1px),linear-gradient(90deg,#ffffff0b 1px,transparent 1px);background-size:32px 32px;pointer-events:none}
body.rg-home .rg-hero-inner{width:min(1200px,calc(100% - 64px));margin:0 auto;position:relative;min-height:0;padding:30px 0 48px}
body.rg-home #main .rg-hero h1{font-size:clamp(46px,6.1vw,88px)!important;line-height:1.02!important;letter-spacing:-.065em!important;font-weight:600!important;color:#eeeede!important;margin:20px 0 30px!important;max-width:1150px;position:relative;z-index:2;text-wrap:balance}
body.rg-home #main .rg-hero>.rg-label,body.rg-home #main .rg-hero-inner>.rg-label{color:#12314c!important;font-size:11px!important}
body.rg-home #main .rg-hero-inner>p{font-size:21px!important;line-height:1.55!important;color:#f2f2e7!important;font-weight:700;max-width:660px;margin:0 0 34px;position:relative;z-index:2}
body.rg-home .rg-hero-actions{display:flex;gap:30px;align-items:center;flex-wrap:wrap;position:relative;z-index:3}
body.rg-home .rg-hero-actions .rg-text-link{color:#071c25!important;font-weight:600;border-color:#153c52}
body.rg-home .rg-hero-robot{position:absolute;right:-60px;top:42px;width:610px;height:480px;opacity:.7;z-index:1;mix-blend-mode:screen;pointer-events:auto;filter:hue-rotate(190deg) saturate(.8) brightness(1.6)}
body.rg-home.robot-home.personal-studio #main .rg-hero-robot .hero.hero--robot{position:absolute!important;inset:0!important;min-height:0!important;height:100%!important;width:100%!important;background:transparent!important;aspect-ratio:auto!important;padding:0!important;border-radius:0!important}
body.rg-home.robot-home.personal-studio #main .rg-hero-robot .hero.hero--robot #robot-app{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;filter:none}
body.rg-home .rg-ticker{display:flex;justify-content:space-around;gap:26px;flex-wrap:wrap;border-top:1px solid #163c6040;padding:15px 24px;color:#15334a;background:#ffffff0a;position:relative;font-size:11px;font-family:var(--rg-mono)!important;letter-spacing:.06em}
body.rg-home .rg-ticker :is(span,b){font-family:var(--rg-mono)!important;font-weight:400}
body.rg-home .rg-home-shell{width:min(1200px,calc(100% - 64px));margin:0 auto;border-inline:1px solid var(--rg-line);background-image:linear-gradient(90deg,transparent calc(25% - 1px),#ffffff05 25%,transparent calc(25% + 1px)),linear-gradient(90deg,transparent calc(75% - 1px),#ffffff05 75%,transparent calc(75% + 1px))}
body.rg-home .rg-section{padding:72px 46px;border-bottom:1px solid var(--rg-line)}
body.rg-home .rg-section-heading{text-align:center;max-width:900px;margin:0 auto 58px}
body.rg-home #main .rg-section-heading h2{font-size:clamp(30px,3.4vw,48px)!important;line-height:1.05!important;letter-spacing:-.055em!important;font-weight:600!important;margin:22px 0 18px!important;color:var(--rg-ink)!important}
body.rg-home .rg-section-heading p{font-size:17px!important;line-height:1.7;max-width:62ch;margin:0 auto;color:var(--rg-muted)!important}
body.rig-theme .rg-service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid var(--rg-line)}
body.rig-theme .rg-service{padding:30px;display:flex;flex-direction:column;align-items:flex-start;text-decoration:none;color:var(--rg-ink)!important;border-right:1px solid var(--rg-line);background:#ffffff02;min-height:310px;transition:background .2s}
body.rig-theme .rg-service:last-child{border-right:0}
body.rig-theme .rg-service:hover{background:#ffffff08}
body.rig-theme .rg-service-meta{display:flex;justify-content:space-between;width:100%;gap:20px;color:#8da6ac;font:11px var(--rg-mono)!important}
body.rig-theme #main .rg-service h3{font-size:27px!important;line-height:1.1!important;letter-spacing:-.04em!important;margin:34px 0 18px;color:var(--rg-ink)!important;font-weight:600!important}
body.rig-theme .rg-service p{font-size:16px!important;line-height:1.7!important;margin:0 0 28px;color:var(--rg-muted)!important}
body.rig-theme .rg-service-arrow{margin-top:auto;color:#8bc7ff;font-size:24px}
body.rg-home .rg-project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
body.rg-home .rg-project{background:#152327;border:1px solid var(--rg-line);min-width:0}
body.rg-home .rg-project-image{display:block;overflow:hidden;background:#122025;aspect-ratio:16/9}
body.rg-home .rg-project img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .3s}
body.rg-home .rg-project-image:hover img{transform:scale(1.02)}
body.rg-home .rg-project-copy{padding:28px}
body.rg-home #main .rg-project h3{font-size:30px!important;line-height:1.12!important;margin:16px 0!important}
body.rg-home .rg-project h3 a{color:var(--rg-ink);text-decoration:none;display:flex;align-items:center;justify-content:space-between;gap:20px}
body.rg-home .rg-project p{font-size:16px!important;line-height:1.7!important;margin:0}
body.rg-home .rg-all-projects{display:flex;width:fit-content;margin:42px auto 0}
body.rig-theme .rg-process{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--rg-line)}
body.rig-theme .rg-process article{padding:30px 24px;border-right:1px solid var(--rg-line)}
body.rig-theme .rg-process article:last-child{border-right:0}
body.rig-theme #main .rg-process h3{font-size:24px!important;line-height:1.1;margin:28px 0 18px}
body.rig-theme .rg-process p{font-size:16px!important;line-height:1.7!important;margin:0}
body.rg-home .rg-about{text-align:center}
body.rg-home #main .rg-about h2{font-size:clamp(38px,4.8vw,66px)!important;line-height:1.02!important;font-weight:600!important;margin:28px 0}
body.rg-home .rg-about p{max-width:65ch;font-size:18px;margin:0 auto 32px;color:var(--rg-muted)!important}
body.rg-home .rg-about>div{display:flex;gap:36px;justify-content:center;flex-wrap:wrap}
body.rg-home .rg-home-shell>.ps-section{padding:90px 46px!important;background:transparent!important;max-width:none;border-bottom:1px solid var(--rg-line)}
body.rg-home .rg-home-shell .ps-intro{display:grid;grid-template-columns:1fr 1fr;gap:24px 40px;margin-bottom:40px}
body.rg-home .rg-home-shell .ps-label{grid-column:1/-1;margin:0}
body.rg-home #main .rg-home-shell .ps-intro h2{font-size:42px!important;line-height:1.05!important;margin:0!important;font-weight:600!important}
body.rg-home .rg-home-shell .ps-intro>p{font-size:16px!important;line-height:1.7!important;margin:0}
body.rg-home .rg-home-shell .ps-process{display:grid;grid-template-columns:1fr 1fr;gap:0;list-style:none;padding:0;margin:0;border:1px solid var(--rg-line)}
body.rg-home .rg-home-shell .ps-process li{padding:30px;border-top:0!important;border-bottom:1px solid var(--rg-line);border-right:1px solid var(--rg-line);background:transparent}
body.rg-home #main .rg-home-shell .ps-process h3{font-size:24px!important;line-height:1.1!important}
body.rg-home .rg-home-shell .ps-process p{font-size:14px!important}
body.rg-home #main .home-questions{max-width:none!important;margin:0;padding:90px 46px!important;display:grid;grid-template-columns:.85fr 1.15fr;gap:50px;border-bottom:1px solid var(--rg-line)}
body.rg-home #main .home-questions h2{font-size:42px!important;line-height:1.05!important;font-weight:600!important}
body.rg-home #main .home-questions p{font-size:15px!important}
body.rg-home .rg-close{background:var(--rg-blue);padding:80px 46px;color:#f1efe1;text-align:center}
body.rg-home #main .rg-close :is(p,.rg-label){color:#09212a!important}
body.rg-home #main .rg-close h2{font-size:clamp(42px,5vw,72px)!important;line-height:.98!important;font-weight:600!important;color:#f1efe1!important;margin:22px 0}
body.rg-home .rg-close p{max-width:48ch;font-size:18px;margin:0 auto 30px}
/* Educational material keeps the artwork while the surrounding page shares the portfolio theme. */
body.rg-material{--purple:#8fc9ff;--paper:var(--rg-bg);--ink:var(--rg-ink);--muted:var(--rg-muted)}
body.rg-material :is(.wrap){max-width:1200px;width:calc(100% - 64px)}
body.rg-material :is(.hero,.section,.closing,.community-concept){background:transparent!important;color:var(--rg-ink)!important}
body.rg-material :is(.section-head,.image-note,.character-copy article,.community-block,.community-purpose,.poster-grid){border-color:var(--rg-line)!important}
body.rg-material :is(.community-audience article,.community-rubrics article,.community-final-grid>div){background:var(--rg-panel)!important;color:var(--rg-ink)!important;border-color:var(--rg-line)!important}
body.rg-material .hero-title h1{font-size:clamp(48px,6vw,88px)!important}
body.rg-material :is(.mock-stage,.task-card,.notebook,.sticker-pair){color:#1b2635}
body.rg-material :is(.mock-stage,.task-card,.notebook,.sticker-pair) :is(p,h2,h3,span){color:#1b2635!important}
body.rg-material img{border-radius:0!important}
body.rig-theme table{color:var(--rg-ink);border-color:var(--rg-line)}
body.rig-theme :is(th,td){border-color:var(--rg-line)}
@media(max-width:1000px){
 body.rig-theme .rg-nav{gap:16px}
 body.rig-theme .rg-header-cta{padding-inline:18px}
 body.rig-theme .rg-service{padding:24px}
 body.rg-home .rg-section{padding:80px 32px}
 body.rg-home .rg-hero-robot{right:-100px;width:520px;opacity:.3}
 body.rig-theme .rg-process{grid-template-columns:1fr 1fr}
 body.rig-theme .rg-process article{border-bottom:1px solid var(--rg-line)}
}
@media(max-width:809px){
 body.rig-theme .rg-header-inner{width:calc(100% - 40px);min-height:80px;gap:16px}
 body.rig-theme .rg-header-cta{display:none}
 body.rig-theme .rg-menu-toggle{display:block}
 body.rig-theme .rg-nav{display:none;position:absolute;inset:80px 20px auto;padding:20px;background:#14262a;border:1px solid #6a8790;flex-direction:column;align-items:stretch;gap:0;color:var(--rg-ink);box-shadow:0 20px 50px #0006}
 body.rig-theme .rg-nav a{font-size:18px;padding:15px;border-bottom:1px solid var(--rg-line)}
 body.rig-theme .rg-header[data-open="true"] .rg-nav{display:flex}
 body.rig-theme :is(.ps-shell,.wrap.ds-container,.case-story,.service-main,.resume-shell,.resume-main,.rg-detail){width:calc(100% - 40px)!important}
 body.rig-theme #main:not(.rg-home-main) h1{font-size:46px!important;line-height:1.02!important;letter-spacing:-.05em!important}
 body.rig-theme #main:not(.rg-home-main) :is(h2,.ds-section-title){font-size:30px!important;line-height:1.08!important}
 body.rig-theme :is(.ps-lead,.ds-page-lead,.catalog-intro>p,.service-lead){font-size:17px!important}
 body.rig-theme .ps-section{padding:48px 0}
 body.rig-theme .ps-close{padding:26px!important}
 body.rig-theme .rg-service-grid{grid-template-columns:1fr}
 body.rig-theme .rg-service{min-height:0;border-right:0;border-bottom:1px solid var(--rg-line);padding:28px}
 body.rig-theme .rg-service:last-child{border-bottom:0}
 body.rig-theme #main .rg-service h3{font-size:28px!important;margin-top:24px}
 body.rig-theme .rg-service-arrow{margin-top:0}
 body.rig-theme .rg-footer{width:calc(100% - 40px);padding-top:44px}
 body.rig-theme .rg-footer-top{flex-direction:column;align-items:flex-start;margin-bottom:40px}
 body.rig-theme .rg-footer-bottom{flex-direction:column;gap:22px;font-size:11px}
 body.rig-theme .rg-footer-bottom nav{gap:20px}
 body.rg-home .rg-hero-inner{width:calc(100% - 40px);padding:24px 0 32px;min-height:0}
 body.rg-home #main .rg-hero h1{font-size:clamp(44px,9vw,68px)!important;line-height:.98!important;margin:20px 0 26px!important;letter-spacing:-.055em!important;max-width:100%;text-wrap:initial}
 body.rg-home #main .rg-hero-inner>p{font-size:20px!important;line-height:1.55!important;max-width:33ch;margin-bottom:24px}
 body.rg-home .rg-hero-robot{position:relative;inset:auto;width:100%;height:220px;margin:16px 0 0;opacity:.8;mix-blend-mode:screen}
 body.rg-home .rg-hero-actions{gap:18px;align-items:flex-start}
 body.rg-home .rg-hero-actions .rg-text-link{font-size:12px}
 body.rg-home .rg-ticker{gap:12px 18px;justify-content:flex-start;padding:14px 20px;font-size:10px}
 body.rg-home .rg-ticker b{display:none}
 body.rg-home .rg-home-shell{width:calc(100% - 40px)}
 body.rg-home .rg-section{padding:58px 18px}
 body.rg-home .rg-section-heading{margin-bottom:34px}
 body.rg-home #main .rg-section-heading h2{font-size:36px!important;line-height:1!important;margin:24px 0 20px!important}
 body.rg-home .rg-section-heading p{font-size:15px!important}
 body.rg-home .rg-project-grid{grid-template-columns:1fr;gap:22px}
 body.rg-home .rg-project-copy{padding:22px}
 body.rg-home #main .rg-project h3{font-size:27px!important}
 body.rig-theme .rg-process{grid-template-columns:1fr}
 body.rig-theme .rg-process article{border-right:0;padding:26px}
 body.rg-home .rg-about p{font-size:16px!important}
 body.rg-home #main .rg-about h2{font-size:36px!important}
 body.rg-home .rg-home-shell>.ps-section{padding:58px 20px!important}
 body.rg-home .rg-home-shell .ps-intro{grid-template-columns:1fr;gap:20px}
 body.rg-home #main .rg-home-shell .ps-intro h2{font-size:32px!important}
 body.rg-home .rg-home-shell .ps-process{grid-template-columns:1fr}
 body.rg-home .rg-home-shell .ps-process li{padding:24px;border-right:0}
 body.rg-home #main .home-questions{padding:58px 20px!important;grid-template-columns:1fr;gap:24px}
 body.rg-home #main .home-questions h2{font-size:32px!important}
 body.rg-home .rg-close{padding:52px 22px}
 body.rg-home #main .rg-close h2{font-size:42px!important}
 body.rg-home .rg-close p{font-size:16px}
 body.rg-material :is(.wrap){width:calc(100% - 40px)}
 body.rg-material .hero-title h1{font-size:44px!important}
}
@media(prefers-reduced-motion:reduce){body.rig-theme *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media print{body.rig-theme{background:white!important;color:black!important}body.rig-theme::before,body.rig-theme .rg-header,body.rig-theme .rg-hero-robot,body.rig-theme .rg-footer{display:none!important}body.rig-theme #main,body.rig-theme #main :is(h1,h2,h3,p,li){color:black!important;background:white!important}}

body.rig-theme :is(.breadcrumbs,.breadcrumb) :is(li,span){color:#b7c3c3!important}

body.rig-theme #main :is(a.btn,a.case-inquiry,a.ps-cta){font-family:var(--rg-mono)!important;font-size:14px!important;font-weight:700!important;line-height:1.45!important;min-height:48px;padding:15px 24px!important;text-decoration:none;clip-path:polygon(10px 0,100% 0,100% calc(100% - 10px),calc(100% - 10px) 100%,0 100%,0 10px)}
body.rig-theme #main :is(a.btn,a.case-inquiry,a.ps-cta):focus-visible{clip-path:none}
body.rg-material .identity{background:var(--rg-panel)!important;color:var(--rg-ink)!important}

body.rig-theme .case-chapter::before{display:none!important}
body.rig-theme :is(.portfolio-breadcrumbs,.breadcrumbs,.breadcrumb) :is(li,span,a){color:#b7c3c3!important}
body.rig-theme .portfolio-breadcrumbs{max-width:1200px!important;width:calc(100% - 64px)!important;margin-inline:auto!important;padding-top:32px!important}
@media(max-width:809px){body.rig-theme .portfolio-breadcrumbs{width:calc(100% - 40px)!important}}

body.rig-theme .portfolio-breadcrumbs--product{background:transparent!important}
body.rig-theme #main :is(.as-start,.as-scope,.as-showcase,.case-contact,.editorial-start){background:var(--rg-panel)!important;color:var(--rg-ink)!important;border-color:var(--rg-line)!important}
body.rig-theme #main .as-start :is(p,li){color:var(--rg-muted)!important}
body.rig-theme #main .as-start :is(h2,h3){color:var(--rg-ink)!important}
body.rig-theme #main .as-kicker{color:#78bdff!important;font-family:var(--rg-mono)!important;letter-spacing:.09em}
body.rig-theme .as-showcase figcaption{background:var(--rg-panel)!important;color:var(--rg-muted)!important;border-color:var(--rg-line)!important}
body.rig-theme #main .ps-close :is(p,.ps-label){color:#09212a!important}

body.rig-theme.rg-error{display:block!important;text-align:left!important}
body.rig-theme.rg-error main{width:min(1200px,calc(100% - 64px));margin:0 auto;padding:80px 0 100px}
body.rig-theme.rg-error main a{color:#a1d2ff!important}
@media(max-width:809px){body.rig-theme.rg-error main{width:calc(100% - 40px);padding:56px 0}}

/* Sales refinement: actual work first, clear deliverables, readable controls. */
body.rg-home .rg-selected-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
body.rg-home #main .rg-selected h3{font-size:26px!important;line-height:1.12!important}
body.rig-theme #main .rg-service .rg-result>span{display:block;font-size:12px!important;letter-spacing:.04em;text-transform:uppercase;color:#9acfff;margin-bottom:8px}
body.rig-theme #main .rg-service .rg-result p{color:var(--rg-ink)!important;font-weight:600;font-size:16px!important;margin-bottom:20px}
body.rig-theme #main .rg-service .rg-scope-note{font-size:14px!important;line-height:1.6!important;margin-bottom:24px}
body.rig-theme .rg-service-more{display:block;margin-top:auto;font-size:14px;color:#a8d5ff}
body.rig-theme .rg-process.rg-process-three,body.rig-theme .rg-detail .rg-process{grid-template-columns:repeat(3,minmax(0,1fr))}
body.rg-home .rg-author-note{margin-top:34px;display:flex;justify-content:space-between;align-items:start;gap:32px}
body.rg-home .rg-author-note p{max-width:60ch;font-size:16px!important;margin:0}
body.rg-home .rg-author-note a{flex-shrink:0;font-size:14px}
body.rig-theme .rg-service-result{background:var(--rg-panel);border:1px solid var(--rg-line);padding:24px;margin:28px 0 42px}
body.rig-theme .rg-service-result p{font-size:18px!important;line-height:1.6!important;color:var(--rg-ink)!important;max-width:76ch;margin:12px 0 0}
body.rig-theme .rg-work-filters{display:flex;flex-wrap:wrap;gap:10px;margin:34px 0 18px}
body.rig-theme .rg-work-filters button{font:14px/1.4 RigInter,Arial,sans-serif!important;background:transparent;color:var(--rg-ink);border:1px solid var(--rg-line);padding:12px 18px;min-height:48px;cursor:pointer}
body.rig-theme .rg-work-filters button span{color:var(--rg-muted);margin-left:10px;font-size:12px}
body.rig-theme .rg-work-filters button[aria-pressed="true"]{background:#87c6ff;color:#102936;border-color:#87c6ff}
body.rig-theme .rg-work-filters button[aria-pressed="true"] span{color:#102936}
body.rig-theme .rg-work-count{font-size:14px;margin:0 0 24px;color:var(--rg-muted)}
body.rig-theme .case-list-card[hidden]{display:none!important}
body.rig-theme .rg-presentation-cover{display:block;margin:30px 0}
body.rig-theme .rg-presentation-cover img{width:100%;height:auto;display:block;border:1px solid var(--rg-line)}
body.rig-theme .rg-deck{padding:50px 0 70px}
body.rig-theme .rg-deck>.case-gallery{margin-top:30px}
@media(max-width:1000px){body.rg-home .rg-selected-grid{grid-template-columns:1fr 1fr}body.rg-home .rg-author-note{flex-direction:column;gap:18px}}
@media(max-width:809px){
 body.rg-home .rg-selected-grid,body.rig-theme .rg-process.rg-process-three,body.rig-theme .rg-detail .rg-process{grid-template-columns:1fr}
 body.rg-home .rg-section{padding-top:46px;padding-bottom:46px}
 body.rg-home #main .rg-section-heading h2{font-size:32px!important}
 body.rig-theme .rg-service-result{padding:22px}
 body.rig-theme .rg-service-result p{font-size:17px!important}
 body.rig-theme .rg-work-filters button{padding:11px 14px;font-size:14px!important}
 body.rig-theme .rg-footer{padding-top:26px}
 body.rig-theme .rg-header-inner{gap:18px}
}

/* Typography refinement: readable copy, quieter headings, consistent captions. */
body.rig-theme{font-size:18px;line-height:1.55}
body.rig-theme #main :is(p,li,dt,dd){font-size:18px;line-height:1.55}
body.rig-theme #main :is(h2,.ds-section-title){letter-spacing:-.035em!important;line-height:1.16!important}
body.rig-theme #main:not(.rg-home-main) :is(h2,.ds-section-title){font-size:clamp(28px,3vw,42px)!important}
body.rg-home #main .rg-section-heading h2{font-size:clamp(30px,3vw,44px)!important;line-height:1.16!important}
body.rig-theme #main :is(.rg-project-copy p,.rg-service>p,.rg-service .rg-result p,.rg-process p,.case-list-copy p){font-size:18px!important;line-height:1.55!important}
body.rg-home #main .rg-selected h3,body.rig-theme #main .case-list-card h2{font-size:26px!important;line-height:1.2!important;letter-spacing:-.025em!important}
body.rig-theme :is(.rg-label,.ps-label,.case-eyebrow,.case-kicker,.resume-kicker,.sales-label,.case-list-category){font-family:var(--rg-mono)!important;font-size:13px!important;line-height:1.5!important;letter-spacing:.06em!important}
body.rig-theme #main .rg-service .rg-result>span{font-size:13px!important;line-height:1.5!important}
body.rig-theme #main :is(figcaption,.rg-scope-note,.rg-author-note p){font-size:16px!important;line-height:1.55!important}
body.rig-theme :is(.rg-text-link,.rg-service-more,.rg-author-note a,.rg-footer-bottom,.rg-work-count,.breadcrumbs,.breadcrumb,.rg-breadcrumb,.portfolio-breadcrumbs){font-size:14px!important;line-height:1.5!important}
body.rig-theme .rg-work-filters button span{font-size:13px}
body.rig-theme :is(.rg-btn,.rg-menu-toggle),body.rig-theme #main :is(a.btn,a.case-inquiry,a.ps-cta){font-family:RigInter,Arial,sans-serif!important;letter-spacing:0!important}
body.rg-home #main .rg-hero-inner>p{font-weight:600!important}
@media(max-width:809px){
 body.rig-theme{font-size:17px}
 body.rig-theme #main :is(p,li,dt,dd){font-size:17px;line-height:1.55}
 body.rg-home #main .rg-hero h1{line-height:1.1!important;letter-spacing:-.05em!important}
 body.rg-home #main .rg-hero-inner>p{font-size:19px!important;line-height:1.55!important}
 body.rg-home #main .rg-section-heading h2{font-size:30px!important}
 body.rig-theme #main :is(.rg-project-copy p,.rg-service>p,.rg-service .rg-result p,.rg-process p,.case-list-copy p){font-size:17px!important}
 body.rg-home #main .rg-selected h3,body.rig-theme #main .case-list-card h2{font-size:24px!important}
}

/* One breadcrumb hierarchy across all portfolio pages. */
body.rig-theme nav.rg-unified-breadcrumbs{padding:24px 0 0!important;margin-bottom:0!important;font-size:14px!important;line-height:1.5!important}
body.rig-theme .rg-unified-breadcrumbs ol{display:flex;flex-wrap:wrap;gap:8px 12px;list-style:none;margin:0;padding:0}
body.rig-theme .rg-unified-breadcrumbs li{display:flex;align-items:baseline;gap:12px;min-width:0;overflow-wrap:anywhere}
body.rig-theme .rg-unified-breadcrumbs li+li::before{content:'/';color:var(--rg-muted);font-size:14px}
body.rig-theme .rg-unified-breadcrumbs a{color:var(--rg-muted)!important;text-decoration:none}
body.rig-theme .rg-unified-breadcrumbs a:hover{text-decoration:underline}
body.rig-theme .rg-unified-breadcrumbs [aria-current='page']{color:var(--rg-ink)!important}
