/* Final responsive authority — approved six-page direction, 2026-09-14 */
:root{--page:min(1840px,calc(100vw - 32px));--rail:clamp(230px,18vw,300px);--gap:clamp(14px,1.4vw,22px);--card-radius:22px;--small-radius:16px;--shadow-blue:0 20px 60px -42px rgba(77,169,255,.78)}
html,body{min-width:320px;height:auto!important;min-height:100dvh;overflow-x:clip!important;overflow-y:auto!important}
body{display:block!important;padding:0 0 76px!important}body::after{content:none!important;display:none!important}
.topbar,#main{width:var(--page)!important;max-width:none!important;margin-inline:auto!important}
.topbar{position:sticky!important;top:10px!important;z-index:100;min-height:56px!important;height:auto!important;margin-top:10px!important;padding:6px 10px 6px 14px!important;grid-template-columns:40px minmax(0,1fr) 84px!important;gap:10px!important;border-radius:var(--card-radius)!important;box-shadow:0 18px 46px -38px rgba(76,169,255,.75)!important}
.brand-mark{width:36px!important;height:36px!important}.brand-mark img{width:28px!important;height:28px!important}.site-nav{gap:clamp(12px,2.1vw,30px)!important}.site-nav a{min-height:36px!important;padding:0 3px!important;font-size:.82rem!important;letter-spacing:-.01em}
.site-nav a[aria-current=page]{padding-inline:7px!important;border:2px solid var(--accent)!important;border-radius:7px!important;box-shadow:inset 0 -2px 0 var(--accent)}.site-nav a[aria-current=page]::after{display:none!important}
.nav-settings{gap:6px!important}.nav-settings button{width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;transition:color 700ms ease,background-color 700ms ease,border-color 700ms ease,transform 180ms ease!important}
#main{position:relative;display:grid!important;grid-template-columns:var(--rail) minmax(0,1fr)!important;align-items:start!important;gap:var(--gap)!important;height:auto!important;min-height:calc(100dvh - 98px)!important;margin-top:12px!important;overflow:visible!important}
#main>.persistent-profile{display:flex!important;position:sticky!important;top:80px!important;grid-column:1!important;grid-row:1!important;flex-direction:column;gap:10px;height:auto!important;min-width:0}
.persistent-profile .profile-card{height:auto!important;min-height:0!important;border-radius:var(--card-radius)!important;box-shadow:var(--shadow-blue)!important}.persistent-profile .portrait-stage{height:clamp(265px,38vh,390px)!important;min-height:0!important;flex:none!important;overflow:hidden}.persistent-profile .profile-photo{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center top!important}.persistent-profile .profile-copy{padding:16px!important}.persistent-profile .profile-copy h2{font-size:1.35rem!important}.persistent-profile .profile-role{font-size:.78rem!important;margin:4px 0 8px!important}.persistent-profile .profile-copy>p:not(.profile-role){font-size:.76rem!important;line-height:1.45!important}.persistent-profile .profile-meta{margin-top:10px!important;font-size:.68rem!important;gap:10px!important}.persistent-profile .profile-socials{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}.persistent-profile .profile-socials a{min-height:38px!important;padding:8px 10px!important;font-size:.78rem!important;border-radius:14px!important}.persistent-profile .profile-socials svg{width:16px!important;height:16px!important}
#main>.view{grid-column:2!important;grid-row:1!important;display:flex!important;flex-direction:column;gap:clamp(16px,1.7vw,24px)!important;width:100%!important;height:auto!important;min-height:calc(100dvh - 110px)!important;padding:clamp(22px,2.2vw,36px)!important;overflow:visible!important;border-radius:var(--card-radius)!important;box-shadow:var(--shadow-blue)!important}#main>.view[hidden]{display:none!important}#main .home-view .portrait-panel{display:none!important}#main .home-layout{display:block!important;height:auto!important;min-height:0!important}
.view-heading{align-items:flex-end!important;gap:20px!important}.view-heading h1{max-width:30ch!important;font-size:clamp(2rem,3vw,3.1rem)!important;line-height:1.02!important}.view-heading p:not(.eyebrow){margin-top:8px!important;font-size:.92rem!important}.eyebrow{font-size:.73rem!important;letter-spacing:.11em!important}

/* Home */
.home-content{display:grid!important;grid-template-columns:repeat(12,minmax(0,1fr));gap:16px!important;height:auto!important;min-height:0!important}.hero-copy{position:relative;grid-column:1/-1;min-height:clamp(320px,43vh,430px)!important;padding:clamp(20px,2vw,30px)!important;justify-content:center!important;align-items:flex-start!important;overflow:hidden;isolation:isolate;border:1px solid var(--line-soft);border-radius:var(--card-radius);background:linear-gradient(90deg,rgba(5,19,35,.99) 0%,rgba(5,19,35,.96) 38%,rgba(5,19,35,.42) 70%,rgba(5,19,35,.14) 100%),url("hero-earth.png") center right/cover no-repeat!important;box-shadow:var(--shadow-blue)}.hero-copy::after{content:"GLOBAL STRATEGY  •  PRACTICAL SYSTEMS";position:absolute;right:26px;bottom:22px;z-index:-1;color:rgba(197,226,255,.72);font-size:.62rem;font-weight:800;letter-spacing:.16em}.hero-copy>*{position:relative;z-index:2}.hero-copy h1{max-width:11ch;font-size:clamp(3rem,5.2vw,5.5rem)!important;line-height:.98!important;letter-spacing:-.055em!important}.hero-summary{max-width:580px!important;margin-top:16px!important;font-size:1rem!important}.home-actions{margin-top:20px!important}.hero-proof{margin-top:18px!important}.hero-detail{max-width:660px!important;margin-top:10px!important}
.metrics{grid-column:1/-1;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;background:transparent!important;border:0!important}.metrics article{min-height:120px!important;padding:18px 20px!important;border:1px solid var(--line)!important;border-radius:var(--small-radius)!important;background:linear-gradient(145deg,var(--surface-2),color-mix(in srgb,var(--surface) 90%,transparent))!important;box-shadow:0 18px 42px -38px rgba(87,180,255,.9)}.metrics strong{white-space:nowrap!important;font-size:clamp(1.75rem,2.4vw,2.55rem)!important}.metrics p{margin-top:5px!important;font-size:.88rem!important;font-weight:750}.metric-context{font-size:.75rem!important}
.home-showcase{grid-column:1/-1;display:grid;grid-template-columns:1.05fr .95fr;gap:14px}.home-showcase article{position:relative;min-height:170px;padding:22px;overflow:hidden;border:1px solid var(--line);border-radius:var(--small-radius);background:linear-gradient(140deg,var(--surface-2),var(--surface));box-shadow:0 18px 46px -40px rgba(82,177,255,.95)}.home-showcase article:first-child{padding-right:30%}.home-showcase article:first-child::after{content:"↗";position:absolute;right:24px;top:22px;color:var(--accent);font-size:3.8rem;line-height:1;opacity:.38}.home-showcase h2{margin:8px 0 7px!important;font-size:clamp(1.12rem,1.6vw,1.45rem)!important;line-height:1.18!important}.home-showcase p:not(.eyebrow){color:var(--muted);font-size:.84rem;line-height:1.45}.home-showcase .text-link{display:inline-flex;margin-top:13px;border:0;padding:0;background:none;font-size:.78rem;font-weight:800}.showcase-brands{padding-left:128px!important}.showcase-brands>div{position:absolute;left:20px;top:22px;bottom:22px;display:grid;grid-template-columns:1fr 1fr;gap:8px;width:88px}.showcase-brands img{width:42px;height:42px;padding:4px;object-fit:contain;border-radius:10px;background:#fff}

/* About */
.about-layout,.about-layout.experience-selected{position:relative;display:flex!important;flex-direction:column!important;gap:18px!important;height:auto!important;min-height:0!important}.company-portfolio-grid.paged-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:none!important;grid-auto-rows:auto!important;gap:12px!important;width:100%!important;height:auto!important;overflow:visible!important}.company-card,.about-layout.experience-selected .company-card{position:relative;display:grid!important;grid-template-columns:50px minmax(0,1fr)!important;grid-template-rows:auto!important;align-items:center!important;gap:12px!important;min-height:96px!important;height:auto!important;padding:14px!important;overflow:visible!important;border-radius:var(--small-radius)!important;box-shadow:0 16px 34px -34px rgba(75,175,255,.9)}.company-card::after{content:none!important;display:none!important}.company-card::before{border-radius:inherit!important}.company-card .company-mark{width:50px!important;height:50px!important;max-height:none!important;padding:5px!important;border-radius:11px!important;justify-self:start!important}.company-summary{display:flex!important;flex-direction:column;justify-content:center;min-width:0;height:auto!important;overflow:visible!important}.company-summary :is(em,strong,span,small){display:block!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:normal!important;word-break:normal!important}.company-summary em{font-size:.62rem!important;line-height:1.2!important;letter-spacing:.06em}.company-summary strong{margin-top:2px;font-size:.9rem!important;line-height:1.15!important}.company-summary span{margin-top:3px;font-size:.73rem!important;line-height:1.2!important}.company-summary small{margin-top:2px;font-size:.64rem!important;line-height:1.2!important}.company-card:hover,.company-card:focus-visible{z-index:4;transform:translateY(-4px) scale(1.015)!important;border-color:var(--accent)!important;box-shadow:0 24px 52px -30px rgba(83,180,255,.9)!important}
#experience-reveal:not([hidden]){position:fixed!important;top:86px!important;right:max(18px,calc((100vw - var(--page))/2 + 18px))!important;left:auto!important;width:min(650px,calc(100vw - 40px))!important;height:auto!important;max-height:calc(100dvh - 118px)!important;padding:24px!important;overflow:auto!important;border-radius:var(--card-radius)!important;z-index:250!important;box-shadow:0 28px 90px -28px rgba(0,0,0,.86),0 0 44px -28px var(--accent)!important}.reveal-content{height:auto!important;overflow:visible!important}.reveal-content h2{font-size:1.65rem!important}.inline-achievements{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important}.inline-achievements li{grid-template-columns:1fr!important;gap:3px!important;padding:12px!important}.inline-achievements strong{font-size:1.15rem!important}.inline-achievements li>span{font-size:.78rem!important}.education-strip{width:100%!important;height:auto!important;padding:16px 18px!important;border-radius:var(--small-radius)!important}.education-grid{gap:16px!important}.education-grid h4{font-size:.86rem!important}.education-grid p,.education-grid span{font-size:.69rem!important}

/* Services */
.service-pillars{display:none!important}.service-groups.paged-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:none!important;grid-auto-rows:auto!important;gap:16px 18px!important;width:100%!important;height:auto!important;overflow:visible!important}.service-group,.service-group:nth-child(n){display:grid!important;grid-template-columns:minmax(0,1fr) clamp(116px,19%,150px)!important;grid-template-rows:auto 1fr!important;grid-column:auto!important;align-items:center!important;align-content:center!important;gap:7px 18px!important;min-width:0!important;min-height:132px!important;height:auto!important;padding:18px 18px 18px 20px!important;overflow:hidden!important;border-radius:var(--small-radius)!important;box-shadow:0 18px 44px -36px color-mix(in srgb,var(--service-accent) 72%,transparent)!important}.service-heading{grid-column:1!important;grid-row:1!important;min-width:0;align-items:center!important}.service-heading h3{font-size:.98rem!important;line-height:1.2!important;overflow-wrap:normal!important;word-break:normal!important}.service-number{flex:0 0 auto}.service-description{grid-column:1!important;grid-row:2!important;display:block!important;align-self:start;width:auto!important;max-width:48ch;margin:0!important;padding:0!important;font-size:.8rem!important;line-height:1.42!important}.service-group .tool-list{position:static!important;grid-column:2!important;grid-row:1/3!important;display:flex!important;flex-wrap:wrap!important;align-content:center!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;width:auto!important;max-width:none!important;min-width:0!important;height:100%;margin:0!important;padding:0 0 0 16px!important;border-left:1px solid color-mix(in srgb,var(--service-accent) 50%,var(--line-soft))}.service-group .tool-list li,.service-group .tool-logo{width:44px!important;height:44px!important;min-width:44px!important;max-width:44px!important;flex:0 0 44px!important}.service-group .tool-logo{display:grid!important;place-items:center;padding:8px!important;border-radius:11px!important;background:#f7f9fc!important;box-shadow:0 8px 18px -12px rgba(0,0,0,.65)!important}.service-group .tool-logo img{width:100%!important;height:100%!important;object-fit:contain!important}

/* Projects */
.project-grid.paged-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:none!important;grid-auto-rows:auto!important;gap:18px!important;width:100%!important;height:auto!important;overflow:visible!important}.project-grid>article,.project-grid>a,.project-grid>*:first-child,.project-grid>*:nth-child(n+4){display:grid!important;grid-template-columns:40% minmax(0,1fr)!important;grid-template-rows:1fr!important;grid-column:auto!important;gap:18px!important;min-width:0!important;min-height:222px!important;height:auto!important;padding:14px!important;overflow:hidden!important;border-radius:var(--small-radius)!important;box-shadow:0 18px 44px -37px rgba(85,179,255,.82)!important}.project-visual{grid-column:1!important;grid-row:1!important;min-height:190px!important;height:100%!important}.project-grid img,.project-grid .getsemane-mark{width:100%!important;height:100%!important;min-width:0!important;max-height:none!important;padding:26px!important;object-fit:contain!important;border-radius:13px!important}.project-grid>*>.project-copy{grid-column:2!important;grid-row:1!important;display:flex!important;flex-direction:column;justify-content:center!important;gap:8px!important;height:100%!important;min-width:0}.project-grid h3{font-size:1.1rem!important}.project-grid p{display:block!important;font-size:.78rem!important;line-height:1.4!important;overflow:visible!important;-webkit-line-clamp:unset!important}.project-role{font-size:.7rem!important}.project-actions{margin-top:auto;padding-top:10px;border-top:1px solid var(--line-soft)}.project-actions button,.project-actions a{font-size:.7rem!important}

/* JOBSystems */
[data-view-panel=jobs] .view-heading{padding-bottom:14px;border-bottom:1px solid rgba(114,189,148,.42)}.jobs-stage{flex:1;min-height:0!important}.jobs-mockup{display:grid!important;grid-template-columns:180px minmax(0,1fr)!important;height:auto!important;min-height:520px!important;overflow:hidden!important;border:1px solid rgba(112,187,145,.52)!important;border-radius:var(--card-radius)!important;background:#edf3ea!important;box-shadow:0 24px 60px -42px rgba(78,169,117,.9)!important}.mock-sidebar{display:flex!important;padding:22px 16px!important}.mock-main{display:grid!important;gap:16px!important;padding:24px!important;color:#19352b!important;background:#f4f7f1!important}.mock-main h3{color:#19352b!important;font-size:clamp(1.6rem,2.4vw,2.5rem)!important}.mock-subtitle{color:#5c7168!important}.mock-stats{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:10px!important}.mock-stats>div,.mock-columns section,.mock-timeline{border-color:#cbd8ce!important;background:#fff!important}.mock-columns{display:grid!important;grid-template-columns:1.05fr .95fr!important;gap:14px!important}.jobs-footer{margin-top:4px}.jobs-controls{display:none!important}

/* Contact */
.contact-layout{display:grid!important;grid-template-columns:minmax(0,.9fr) minmax(420px,1.1fr)!important;gap:18px!important;height:auto!important;min-height:0!important}.contact-intro,.contact-panel{height:auto!important;min-height:500px!important;padding:clamp(22px,2.2vw,34px)!important;border-radius:var(--card-radius)!important;box-shadow:0 18px 52px -42px rgba(77,172,255,.82)!important}.contact-intro{display:flex!important;flex-direction:column}.contact-intro h2{max-width:15ch;margin-top:14px!important;font-size:clamp(1.7rem,2.7vw,2.7rem)!important}.contact-faqs{margin-top:24px!important}.contact-links{margin-top:auto!important}.contact-panel{display:flex;align-items:center}.contact-form{display:grid!important;grid-template-columns:1fr 1fr!important;gap:16px!important;width:100%}.field-group input{min-height:52px!important}.field-group textarea{min-height:150px!important;resize:vertical}.submit-button{min-height:50px!important;width:100%}.form-action{align-items:center}.contact-paging{display:none!important}

/* Motion, footer and floating controls */
.page-controls{display:none!important}.service-group,.company-card,.project-grid>article,.project-grid>a,.home-showcase article,.metrics article{transition:transform 260ms cubic-bezier(.22,1,.36,1),border-color 260ms ease,box-shadow 260ms ease!important}.service-group:hover,.project-grid>article:hover,.project-grid>a:hover,.home-showcase article:hover,.metrics article:hover{transform:translateY(-3px)}
.site-footer{position:relative!important;display:grid!important;place-items:center;width:var(--page)!important;height:40px!important;min-height:40px!important;margin:12px auto 0!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;filter:none!important}.site-footer .portfolio-support,.site-footer .visit-counter{position:fixed!important;z-index:300!important;bottom:14px!important;min-width:0!important;min-height:0!important;backdrop-filter:blur(14px)}.site-footer .portfolio-support{left:14px!important;width:46px!important;height:46px!important;padding:4px!important;border-radius:50%!important}.site-footer .portfolio-support img{width:36px!important;height:36px!important}.site-footer .portfolio-support span{position:absolute;left:calc(100% + 8px);bottom:5px;display:block!important;width:max-content;padding:7px 10px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--text);font-size:.7rem;opacity:0;pointer-events:none;transform:translateX(-5px);transition:opacity 180ms ease,transform 180ms ease}.site-footer .portfolio-support:hover span,.site-footer .portfolio-support:focus-visible span{opacity:1;transform:translateX(0)}.site-footer .visit-counter{right:14px!important;width:max-content!important;max-width:118px!important;height:38px!important;padding:7px 12px!important;border-radius:999px!important;font-size:.68rem!important}.site-footer .rights{position:static!important;display:block!important;width:max-content;max-width:calc(100vw - 160px);color:var(--muted);font-size:.65rem;text-align:center;transform:none!important;pointer-events:none}

@media(max-width:1100px){:root{--rail:220px;--page:min(100% - 24px,1080px)}#main{gap:14px!important}#main>.view{padding:22px!important}.persistent-profile .portrait-stage{height:290px!important}.company-portfolio-grid.paged-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.service-group{grid-template-columns:minmax(0,1fr) 112px!important}.project-grid>article,.project-grid>a,.project-grid>*:first-child,.project-grid>*:nth-child(n+4){grid-template-columns:34% minmax(0,1fr)!important;gap:12px!important}.contact-layout{grid-template-columns:1fr!important}.contact-intro,.contact-panel{min-height:0!important}.contact-links{margin-top:22px!important}}

@media(max-width:820px){:root{--page:calc(100% - 20px)}body{padding-bottom:72px!important}.topbar{grid-template-columns:34px minmax(0,1fr) 78px!important;grid-template-rows:34px auto!important;gap:6px 8px!important;padding:7px 9px!important;border-radius:18px!important}.brand-mark{width:32px!important;height:32px!important}.nav-settings button{width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important}.site-nav{grid-column:1/-1;grid-row:2;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px 8px!important;width:100%}.site-nav a{justify-content:center;min-height:30px!important;font-size:.72rem!important}.site-nav a[aria-current=page]{padding-inline:3px!important}
#main{display:block!important;min-height:0!important;margin-top:10px!important}#main>.persistent-profile{display:none!important}#main>.view{min-height:0!important;padding:20px!important;border-radius:18px!important}#main .home-view .portrait-panel{display:block!important;margin-bottom:16px}#main .home-layout{display:flex!important;flex-direction:column}#main .home-view .profile-card{display:grid!important;grid-template-columns:112px minmax(0,1fr)!important;min-height:150px!important;border-radius:16px!important}#main .home-view .portrait-stage{height:100%!important;min-height:150px!important}#main .home-view .profile-photo{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center top!important}#main .home-view .profile-copy{padding:14px!important}#main .home-view .profile-copy h2{font-size:1.25rem!important}#main .home-view .profile-copy>p:not(.profile-role){display:none!important}#main .home-view .profile-meta{font-size:.68rem!important}#main .home-view .profile-socials{display:none!important}
.view-heading{flex-direction:column!important;align-items:flex-start!important;gap:10px!important}.view-heading h1{font-size:clamp(1.85rem,7.8vw,2.65rem)!important}.view-heading .text-link{margin:0!important}.hero-copy{min-height:470px!important;padding:22px!important;background-position:62% center!important}.hero-copy h1{font-size:clamp(2.5rem,11vw,4rem)!important}.hero-copy::after{right:18px;bottom:15px;font-size:.52rem}.hero-proof{gap:7px!important}.hero-proof span{font-size:.67rem!important}.metrics{grid-template-columns:1fr!important}.metrics article{min-height:0!important}.metrics strong{font-size:2rem!important;white-space:normal!important}.home-showcase{grid-template-columns:1fr!important}.home-showcase article{min-height:160px}
.company-portfolio-grid.paged-grid,.service-groups.paged-grid,.project-grid.paged-grid{grid-template-columns:1fr!important}.company-card,.about-layout.experience-selected .company-card{min-height:94px!important}.education-grid{grid-template-columns:1fr!important;gap:14px!important}.education-grid article{padding-left:0!important;padding-top:12px;border-left:0!important;border-top:1px solid var(--line-soft)}.education-heading{flex-wrap:wrap}.education-heading span{margin-left:0!important}
.service-group,.service-group:nth-child(n){min-height:150px!important;grid-template-columns:minmax(0,1fr) 104px!important;padding:16px!important}.service-group .tool-list{padding-left:12px!important;gap:6px!important}.service-group .tool-list li,.service-group .tool-logo{width:40px!important;height:40px!important;min-width:40px!important;max-width:40px!important;flex-basis:40px!important}
.project-grid>article,.project-grid>a,.project-grid>*:first-child,.project-grid>*:nth-child(n+4){grid-template-columns:130px minmax(0,1fr)!important;min-height:220px!important}.project-visual{min-height:188px!important}.project-grid img,.project-grid .getsemane-mark{padding:18px!important}.jobs-mockup{grid-template-columns:1fr!important;min-height:0!important}.mock-sidebar{display:none!important}.mock-main{padding:18px!important}.mock-stats{grid-template-columns:1fr 1fr 1fr!important}.mock-columns{grid-template-columns:1fr!important}.contact-form{display:flex!important;flex-direction:column;gap:16px!important}
#experience-reveal:not([hidden]){top:auto!important;right:10px!important;bottom:10px!important;left:10px!important;width:auto!important;max-height:calc(100dvh - 20px)!important}.inline-achievements{grid-template-columns:1fr!important}.site-footer .rights{bottom:23px!important;max-width:calc(100vw - 170px);font-size:.55rem}}

@media(max-width:480px){:root{--page:calc(100% - 14px)}#main>.view{padding:16px!important;gap:18px!important}#main .home-view .profile-card{grid-template-columns:92px minmax(0,1fr)!important;min-height:128px!important}#main .home-view .portrait-stage{min-height:128px!important}#main .home-view .profile-copy{padding:11px!important}#main .home-view .profile-copy h2{font-size:1.05rem!important}#main .home-view .profile-role{font-size:.7rem!important}.hero-copy{min-height:440px!important;padding:18px!important}.hero-copy h1{font-size:clamp(2.2rem,12vw,3.35rem)!important}.hero-summary{font-size:.88rem!important}.home-actions{gap:8px!important}.home-actions button{padding-inline:11px!important;font-size:.77rem!important}.hero-detail{font-size:.75rem!important}.home-showcase article:first-child{padding-right:22px}.showcase-brands{padding-left:104px!important}.showcase-brands>div{width:76px}.showcase-brands img{width:36px;height:36px}
.company-card,.about-layout.experience-selected .company-card{grid-template-columns:48px minmax(0,1fr)!important;padding:12px!important;gap:10px!important}.company-card .company-mark{width:48px!important;height:48px!important}.company-summary strong{font-size:.85rem!important}.company-summary span{font-size:.69rem!important}
.service-group,.service-group:nth-child(n){grid-template-columns:1fr!important;grid-template-rows:auto auto auto!important;gap:9px!important;min-height:0!important}.service-heading{grid-column:1!important;grid-row:1!important;align-items:flex-start!important}.service-heading h3{font-size:.88rem!important}.service-description{grid-column:1!important;grid-row:2!important;max-width:none!important;font-size:.78rem!important}.service-group .tool-list{grid-column:1!important;grid-row:3!important;justify-content:flex-end!important;height:auto!important;margin-top:4px!important;padding:10px 0 0!important;border-left:0!important;border-top:1px solid color-mix(in srgb,var(--service-accent) 50%,var(--line-soft))}.service-group .tool-list li,.service-group .tool-logo{width:34px!important;height:34px!important;min-width:34px!important;max-width:34px!important;flex-basis:34px!important}.service-group .tool-logo{padding:6px!important;border-radius:9px!important}
.project-grid>article,.project-grid>a,.project-grid>*:first-child,.project-grid>*:nth-child(n+4){grid-template-columns:1fr!important;grid-template-rows:160px auto!important;gap:12px!important}.project-visual{grid-column:1!important;grid-row:1!important;min-height:160px!important}.project-grid>*>.project-copy{grid-column:1!important;grid-row:2!important;min-height:150px}.project-grid img,.project-grid .getsemane-mark{padding:26px!important}.mock-main{padding:14px!important}.mock-stats{grid-template-columns:1fr!important}.contact-intro,.contact-panel{padding:18px!important}.contact-intro h2{font-size:1.8rem!important}.contact-links{overflow-wrap:anywhere}.site-footer .portfolio-support{left:10px!important;bottom:10px!important;width:42px!important;height:42px!important}.site-footer .portfolio-support img{width:32px!important;height:32px!important}.site-footer .visit-counter{right:10px!important;bottom:10px!important;height:34px!important;padding:6px 10px!important}.site-footer .rights{display:block!important;max-width:calc(100vw - 130px)!important;font-size:.52rem!important;line-height:1.25}}

/* Beat the legacy viewport-fit rules with the exact structural selectors. */
#main [data-view-panel="services"] .service-groups[data-grid="services"]{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:none!important;grid-auto-rows:minmax(132px,auto)!important;height:auto!important;min-height:0!important;flex:none!important;overflow:visible!important}
#main [data-view-panel="services"] .service-groups[data-grid="services"]>.service-group{min-height:132px!important;height:auto!important}
#main [data-view-panel="projects"] .project-grid[data-grid="projects"]{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:none!important;grid-auto-rows:minmax(222px,auto)!important;height:auto!important;min-height:0!important;overflow:visible!important}
#main [data-view-panel="about"] .company-portfolio-grid[data-grid="companies"]{grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:none!important;grid-auto-rows:minmax(96px,auto)!important;height:auto!important;min-height:0!important;overflow:visible!important}
@media(max-width:1100px){#main [data-view-panel="about"] .company-portfolio-grid[data-grid="companies"]{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:820px){#main [data-view-panel="services"] .service-groups[data-grid="services"],#main [data-view-panel="projects"] .project-grid[data-grid="projects"],#main [data-view-panel="about"] .company-portfolio-grid[data-grid="companies"]{grid-template-columns:1fr!important}#main [data-view-panel="services"] .service-groups[data-grid="services"]{grid-auto-rows:minmax(150px,auto)!important}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}

/* 2026-09-18 viewport-fit refinement: one complete desktop page, no document scroll. */
.theme-button span{display:grid;place-items:center;width:100%;height:100%}.theme-button svg{width:18px;height:18px;overflow:visible;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.theme-button svg path:first-child:last-child{fill:currentColor;stroke:none}.theme-button:hover{transform:rotate(8deg) scale(1.04)}.theme-button:active{transform:scale(.94)}

@media(min-width:821px){
html,body{height:100dvh!important;min-height:0!important;overflow:hidden!important}
body{padding:0!important}
.topbar{top:0!important;height:56px!important;min-height:56px!important;margin-top:8px!important}
#main{height:calc(100dvh - 76px)!important;min-height:0!important;margin-top:8px!important;overflow:hidden!important;align-items:stretch!important}
#main>.persistent-profile{position:relative!important;top:0!important;height:100%!important;min-height:0!important}
.persistent-profile .profile-card{display:flex!important;flex:1 1 auto!important;height:0!important;min-height:0!important}
.persistent-profile .portrait-stage{flex:1 1 auto!important;height:auto!important;min-height:0!important}
.persistent-profile .profile-photo{object-fit:cover!important;object-position:center top!important}
.persistent-profile .profile-copy{flex:0 0 auto!important;padding:14px 16px!important}
.persistent-profile .profile-copy>p:not(.profile-role){font-size:.72rem!important;line-height:1.38!important}
.persistent-profile .profile-meta{margin-top:7px!important}
.persistent-profile .profile-socials{flex:0 0 38px!important}
#main>.view{height:100%!important;min-height:0!important;padding:18px 20px!important;gap:12px!important;overflow:hidden!important}
.view-heading{flex:0 0 auto!important;min-height:0!important;gap:14px!important}.view-heading h1{font-size:clamp(1.8rem,2.55vw,2.7rem)!important}.view-heading p:not(.eyebrow){margin-top:5px!important;font-size:.82rem!important}

/* Home: quieter globe and enough room for every proof block. */
#main .home-view .home-layout,#main .home-view .home-content{height:100%!important;min-height:0!important}
.home-content{grid-template-rows:minmax(0,1fr) minmax(0,1fr)!important;gap:11px!important}.home-evidence{grid-column:1/-1;display:grid;grid-template-rows:90px minmax(0,1fr);gap:11px;min-height:0;overflow:hidden}
.hero-copy{min-height:0!important;height:100%!important;padding:18px 22px!important;background-image:linear-gradient(90deg,rgba(5,19,35,.995) 0%,rgba(5,19,35,.98) 48%,rgba(5,19,35,.86) 70%,rgba(5,19,35,.58) 100%),url("hero-earth.png")!important;background-position:center,right center!important;background-size:auto,52% auto!important;background-repeat:no-repeat!important}
.hero-copy,.hero-copy .eyebrow,.hero-copy h1,.hero-copy .hero-summary,.hero-copy .hero-detail{color:#f4f7ff!important}.hero-copy h1 span,.hero-copy .hero-detail strong,.hero-copy .hero-proof strong{color:#62b2ff!important}.hero-copy .hero-summary,.hero-copy .hero-detail span{color:#c5d2e4!important}
.hero-copy::after{right:20px!important;bottom:14px!important;font-size:.52rem!important;opacity:.58}
.hero-detail{display:none!important}
.hero-copy h1{max-width:14ch!important;font-size:clamp(2.5rem,3.75vw,3.8rem)!important;line-height:.96!important}
.hero-summary{margin-top:9px!important;max-width:640px!important;font-size:.86rem!important;line-height:1.38!important}.home-actions{margin-top:11px!important}.home-actions button{min-height:36px!important;padding:7px 14px!important;font-size:.8rem!important}.hero-proof{margin-top:10px!important;gap:7px!important}.hero-proof span{padding:5px 9px!important;font-size:.67rem!important}.hero-detail{margin-top:7px!important;min-height:0!important;padding:6px 0 6px 10px!important;font-size:.7rem!important;gap:9px!important}
.metrics{height:90px!important;gap:11px!important}.metrics article{min-height:0!important;height:90px!important;padding:11px 14px!important}.metrics strong{font-size:clamp(1.35rem,1.8vw,1.8rem)!important}.metrics p{margin-top:2px!important;font-size:.72rem!important}.metric-context{margin-top:2px!important;font-size:.65rem!important}
.home-showcase{min-height:0!important;height:100%!important;gap:11px!important}.home-showcase article{min-height:0!important;height:100%!important;padding:14px 16px!important}.home-showcase article:first-child{padding-right:22%!important}.home-showcase article:first-child::after{right:18px;top:14px;font-size:2.8rem}.home-showcase h2{margin:4px 0!important;font-size:1.03rem!important}.home-showcase p:not(.eyebrow){font-size:.7rem!important;line-height:1.35}.home-showcase .text-link{margin-top:7px!important;font-size:.68rem!important}.showcase-brands{padding-left:104px!important}.showcase-brands>div{left:14px;top:14px;bottom:14px;width:72px;gap:6px}.showcase-brands img{width:33px;height:33px;border-radius:8px}

/* About */
[data-view-panel="about"] .company-portfolio-grid.paged-grid{flex:1 1 auto!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:repeat(3,minmax(0,1fr))!important;grid-auto-rows:unset!important;gap:9px!important;height:auto!important;min-height:0!important}
[data-view-panel="about"] .company-card{min-height:0!important;height:auto!important;padding:9px 11px!important}.education-strip{flex:0 0 auto!important;padding:11px 14px!important}.education-heading{margin-bottom:7px!important}.education-grid{gap:10px!important}.education-grid article{padding-top:7px!important}.education-grid h4{margin:3px 0!important;font-size:.78rem!important}.education-grid p,.education-grid span{font-size:.63rem!important}

/* Services: five compact rows, even logo bays and stable spacing. */
#main [data-view-panel="services"] .service-groups[data-grid="services"]{flex:1 1 auto!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:repeat(5,minmax(0,1fr))!important;grid-auto-rows:unset!important;gap:10px 14px!important;height:auto!important;min-height:0!important;overflow:hidden!important}
#main [data-view-panel="services"] .service-groups[data-grid="services"]>.service-group{grid-template-columns:minmax(0,1fr) clamp(150px,32%,210px)!important;grid-template-rows:auto 1fr!important;min-height:0!important;height:auto!important;padding:11px 13px!important;gap:5px 12px!important}
.service-heading h3{font-size:.88rem!important}.service-number{font-size:.67rem!important;padding:5px 7px!important}.service-description{font-size:.7rem!important;line-height:1.34!important}.service-group .tool-list{gap:6px!important;padding-left:12px!important;align-content:center!important}.service-group .tool-list li,.service-group .tool-logo{width:35px!important;height:35px!important;min-width:35px!important;max-width:35px!important;flex-basis:35px!important}.service-group .tool-logo{padding:6px!important;border-radius:9px!important}

/* Projects: all six cases visible in two columns and three rows. */
#main [data-view-panel="projects"] .project-grid[data-grid="projects"]{flex:1 1 auto!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:repeat(3,minmax(0,1fr))!important;grid-auto-rows:unset!important;gap:11px 14px!important;height:auto!important;min-height:0!important;overflow:hidden!important}
#main [data-view-panel="projects"] .project-grid[data-grid="projects"]>*{grid-template-columns:34% minmax(0,1fr)!important;min-height:0!important;height:auto!important;padding:11px!important;gap:12px!important}
[data-view-panel="projects"] .project-visual{min-height:0!important;height:100%!important}.project-grid img,.project-grid .getsemane-mark{padding:16px!important;border-radius:11px!important}.project-grid>*>.project-copy{gap:4px!important}.project-grid h3{font-size:.96rem!important}.project-grid p{font-size:.68rem!important;line-height:1.32!important}.project-role{font-size:.63rem!important}.project-actions{padding-top:6px!important}.project-actions button,.project-actions a{font-size:.63rem!important}

/* JOBSystems always presents its native dark workspace. */
[data-view-panel="jobs"] .jobs-stage{flex:1 1 auto!important;overflow:hidden!important}.jobs-mockup{height:100%!important;min-height:0!important;background:#0b171c!important;border-color:#31504e!important}.mock-sidebar{background:#102329!important;border-color:#31504e!important}.mock-main{min-height:0!important;padding:16px!important;gap:10px!important;color:#e9f5f0!important;background:#0d1d22!important}.mock-main h3{color:#f1faf6!important;font-size:clamp(1.4rem,2vw,2rem)!important}.mock-subtitle,.mock-columns p,.mock-columns small,.mock-stats span{color:#9eb9b1!important}.mock-stats{gap:8px!important}.mock-stats>div,.mock-columns section,.mock-timeline{border-color:#31504e!important;background:#13292c!important;color:#e9f5f0!important}.mock-stats>div{padding:10px 14px!important}.mock-stats strong{color:#f1faf6!important;font-size:1.45rem!important}.mock-columns{gap:9px!important}.mock-columns section,.mock-timeline{padding:12px!important}.mock-main h4{margin-bottom:8px!important}.mock-main h5{margin:7px 0!important;font-size:1rem!important}.mock-tasks li{padding:6px 0!important;border-color:#31504e!important}.mock-progress{margin:9px 0 6px!important;background:#31504e!important}
.jobs-mockup .mock-eyebrow,.jobs-mockup .mock-tag,.jobs-mockup .mock-timeline span,.jobs-mockup .mock-tasks li span{color:#82dfbd!important}.jobs-mockup .mock-sidebar>strong{color:#f2fbf7!important}.jobs-mockup .mock-sidebar>span{color:#c4d8d2!important}.jobs-mockup .mock-sidebar>small{color:#8eb5aa!important}.jobs-mockup .mock-sidebar>.mock-active{color:#b4f5dc!important;background:#2b5148!important}

/* Contact */
.contact-layout{flex:1 1 auto!important;height:auto!important;min-height:0!important}.contact-intro,.contact-panel{height:100%!important;min-height:0!important;padding:20px!important}.contact-intro h2{margin-top:8px!important;font-size:clamp(1.55rem,2.2vw,2.2rem)!important}.contact-faqs{margin-top:14px!important}.field-group input{min-height:44px!important}.field-group textarea{min-height:105px!important}.submit-button{min-height:44px!important}

/* The footer is informational, not another full-width surface. */
.site-footer{position:fixed!important;inset:auto 0 5px 0!important;z-index:290!important;width:100%!important;height:auto!important;min-height:0!important;margin:0!important;transform:none!important;pointer-events:none}.site-footer .rights{position:fixed!important;left:calc((100vw - var(--page))/2 + var(--rail) + var(--gap))!important;right:calc((100vw - var(--page))/2)!important;bottom:8px!important;display:block!important;width:auto!important;max-width:none!important;margin:0!important;font-size:.58rem!important;text-align:center!important;white-space:nowrap}.site-footer .portfolio-support,.site-footer .visit-counter{bottom:9px!important;pointer-events:auto}
.site-footer .portfolio-support{bottom:8px!important;width:38px!important;height:38px!important;padding:3px!important}.site-footer .portfolio-support img{width:30px!important;height:30px!important}.persistent-profile .profile-socials{padding-left:42px!important;gap:5px!important}.persistent-profile .profile-socials a{padding:6px 5px!important;font-size:.7rem!important}
}

@media(min-width:821px) and (max-height:820px){
#main{height:calc(100dvh - 72px)!important;margin-top:5px!important}.topbar{height:52px!important;min-height:52px!important;margin-top:6px!important}#main>.view{padding:14px 16px!important;gap:9px!important}.home-content{grid-template-rows:minmax(0,1fr) minmax(0,1fr)!important;gap:8px!important}.home-evidence{grid-template-rows:76px minmax(0,1fr)!important;gap:8px!important}.hero-copy{height:100%!important;padding:13px 18px!important}.hero-copy h1{font-size:2.55rem!important}.hero-summary{margin-top:6px!important}.home-actions{margin-top:7px!important}.hero-proof{margin-top:7px!important}.hero-detail{margin-top:5px!important}.metrics,.metrics article{height:76px!important}.home-showcase{gap:8px!important}.home-showcase article{padding:10px 13px!important}.home-showcase .showcase-brands{padding-left:96px!important}.view-heading h1{font-size:1.7rem!important}#main [data-view-panel="services"] .service-groups[data-grid="services"],#main [data-view-panel="projects"] .project-grid[data-grid="projects"]{gap:7px 10px!important}.service-group .tool-list li,.service-group .tool-logo{width:31px!important;height:31px!important;min-width:31px!important;max-width:31px!important;flex-basis:31px!important}
}

@media(min-width:821px) and (max-width:1100px){
.hero-detail{display:none!important}
#main [data-view-panel="services"] .service-groups[data-grid="services"]>.service-group{grid-template-columns:minmax(0,1fr) 112px!important;grid-template-rows:auto minmax(0,1fr)!important;gap:3px 8px!important;padding:9px 11px!important}
.service-group .service-heading{grid-column:1!important;grid-row:1!important;align-self:start!important}.service-group .service-description{grid-column:1!important;grid-row:2!important;align-self:start!important;margin:0!important;font-size:.64rem!important;line-height:1.25!important}.service-group .tool-list{grid-column:2!important;grid-row:1/3!important;padding-left:6px!important;gap:4px!important;align-self:stretch!important}.service-group .tool-list li,.service-group .tool-logo{width:30px!important;height:30px!important;min-width:30px!important;max-width:30px!important;flex-basis:30px!important}.service-heading h3{font-size:.76rem!important;line-height:1.12!important}.service-number{font-size:.59rem!important;padding:4px 6px!important}
.site-footer .portfolio-support{left:8px!important;bottom:8px!important;width:38px!important;height:38px!important;padding:3px!important}.site-footer .portfolio-support img{width:30px!important;height:30px!important}.persistent-profile .profile-socials{padding-left:42px!important;gap:5px!important}.persistent-profile .profile-socials a{padding:6px 5px!important;font-size:.68rem!important}
}

/* 2026-10-09 proportion and proof-card refinement. */
.metric-card{
 appearance:none;
 width:100%;
 margin:0;
 color:inherit;
 font:inherit;
 text-align:left;
 cursor:pointer;
}
.metric-action{display:block;color:var(--blue);font-size:.67rem;font-weight:800;letter-spacing:.02em}

@media(min-width:821px){
 .persistent-profile .portrait-stage{
  flex:0 0 clamp(230px,32vh,340px)!important;
  height:auto!important;
  min-height:0!important;
 }
 .persistent-profile .portrait-stage img{
  object-position:center 14%!important;
  transform:scale(1.01)!important;
 }
 .persistent-profile .profile-copy{
  flex:1 1 auto!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  min-height:0!important;
  padding:clamp(18px,1.35vw,25px)!important;
 }
 .persistent-profile .profile-copy h2{font-size:clamp(1.45rem,1.55vw,1.8rem)!important;line-height:1.05!important}
 .persistent-profile .profile-role{margin-top:6px!important;font-size:clamp(.79rem,.75vw,.91rem)!important;line-height:1.35!important}
 .persistent-profile .profile-copy>p:not(.profile-role){margin-top:12px!important;font-size:clamp(.78rem,.72vw,.9rem)!important;line-height:1.55!important}
 .persistent-profile .profile-meta{margin-top:14px!important;font-size:clamp(.68rem,.62vw,.78rem)!important}

 #main>.home-view .home-content{grid-template-rows:minmax(0,1.36fr) minmax(0,.64fr)!important;gap:14px!important}
 #main>.home-view .home-evidence{grid-template-rows:minmax(112px,.52fr) minmax(112px,.48fr)!important;gap:14px!important;overflow:visible!important}
 .home-view .hero-copy{
  padding:clamp(28px,2.2vw,42px)!important;
  background-position:center,right center!important;
  background-size:auto,auto 94%!important;
 }
 .home-view .hero-copy h1{max-width:15ch!important;font-size:clamp(2.85rem,3.7vw,4.8rem)!important;line-height:.98!important;letter-spacing:-.052em!important}
 .home-view .hero-summary{max-width:56ch!important;margin-top:clamp(12px,1.2vh,18px)!important;font-size:clamp(.88rem,.82vw,1.02rem)!important;line-height:1.5!important}
 .home-view .home-actions{margin-top:clamp(14px,1.5vh,22px)!important}
 .home-view .hero-proof{margin-top:clamp(13px,1.4vh,20px)!important}
 .home-view .hero-detail{margin-top:clamp(12px,1.3vh,18px)!important}

 .home-view .metrics{height:auto!important;gap:14px!important;overflow:visible!important}
 .home-view .metric-card{
  position:relative;
  display:grid!important;
  grid-template-columns:42px minmax(0,1fr)!important;
  align-items:center!important;
  gap:13px!important;
  height:auto!important;
  min-height:112px!important;
  padding:16px 18px!important;
  overflow:hidden;
  border:1px solid var(--line)!important;
  border-radius:20px!important;
  background:linear-gradient(145deg,color-mix(in srgb,var(--panel2) 94%,var(--blue) 6%),var(--panel2))!important;
  transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease!important;
 }
 .home-view .metric-card:hover,.home-view .metric-card:focus-visible{transform:translateY(-3px);border-color:color-mix(in srgb,var(--blue) 65%,var(--line))!important;box-shadow:0 18px 35px -25px color-mix(in srgb,var(--blue) 72%,transparent);outline:none}
 .home-view .metric-card:focus-visible{box-shadow:0 0 0 3px color-mix(in srgb,var(--blue) 25%,transparent),0 18px 35px -25px color-mix(in srgb,var(--blue) 72%,transparent)}
 .home-view .metric-card>div{min-width:0}
 .home-view .metric-icon{display:grid!important;place-items:center;width:42px;height:42px;margin:0!important;border-radius:13px;background:color-mix(in srgb,var(--blue) 16%,transparent);color:var(--blue);font-size:1rem;font-weight:900}
 .home-view .metric-card strong{font-size:clamp(1.75rem,2.1vw,2.6rem)!important;line-height:.95!important;font-variant-numeric:tabular-nums;white-space:nowrap}
 .home-view .metric-card p{margin-top:5px!important;font-size:clamp(.76rem,.68vw,.86rem)!important;line-height:1.2!important}
 .home-view .metric-context{margin-top:3px!important;font-size:clamp(.67rem,.61vw,.76rem)!important;line-height:1.2!important}
 .home-view .metric-action{margin-top:7px}

 .home-view .home-showcase{gap:14px!important;overflow:visible!important}
 .home-view .home-showcase article{height:auto!important;min-height:112px!important;padding:12px 16px!important;border-radius:20px!important}
 .home-view .home-showcase .eyebrow{font-size:.63rem!important;line-height:1!important}
 .home-view .home-showcase h2{margin-top:4px!important;font-size:clamp(.96rem,.95vw,1.12rem)!important;line-height:1.1!important}
 .home-view .home-showcase p:not(.eyebrow){margin-top:4px!important;font-size:clamp(.68rem,.61vw,.78rem)!important;line-height:1.25!important}
 .home-view .home-showcase .text-link{min-height:0!important;margin-top:auto!important;padding-top:5px!important;font-size:.68rem!important;line-height:1!important}
 .home-view .showcase-brands{display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;grid-template-rows:auto 1fr auto!important;column-gap:13px!important}
 .home-view .showcase-brands>div{position:static!important;grid-row:1 / span 2;display:flex!important;width:auto!important;height:auto!important;gap:6px!important}
 .home-view .showcase-brands img{width:36px!important;height:36px!important}
 .home-view .showcase-brands .eyebrow,.home-view .showcase-brands h2,.home-view .showcase-brands>p{grid-column:2!important}
 .home-view .showcase-brands .text-link{grid-column:2!important}

 .service-groups,.project-grid,.company-portfolio-grid{box-sizing:border-box!important;padding:1px!important}
 .project-grid{gap:14px!important;overflow:visible!important}
 .project-grid>article,.project-grid>a{min-height:0!important;overflow:hidden!important}
 .project-card .project-visual{height:100%!important;min-height:0!important}
 .project-card .project-visual img{width:min(72%,clamp(84px,9vh,132px))!important;height:min(78%,clamp(84px,9vh,132px))!important;object-fit:contain!important}
 .project-card .project-copy{justify-content:center!important;padding:clamp(12px,1.1vw,18px)!important}
 .project-card .project-copy h3{font-size:clamp(1rem,1vw,1.2rem)!important}
 .project-card .project-copy>p{font-size:clamp(.7rem,.66vw,.82rem)!important;line-height:1.35!important}
}

@media(min-width:821px) and (max-height:760px){
 .persistent-profile .portrait-stage{flex-basis:210px!important}
 .persistent-profile .profile-copy{padding:14px 18px!important}
 .persistent-profile .profile-copy>p:not(.profile-role){margin-top:8px!important;font-size:.72rem!important;line-height:1.42!important}
 .persistent-profile .profile-meta{margin-top:8px!important}
 .home-view .hero-copy{padding:22px 28px!important}
 #main>.home-view .home-evidence{grid-template-rows:minmax(98px,.52fr) minmax(98px,.48fr)!important}
 .home-view .metrics,.home-view .home-showcase{height:98px!important;min-height:0!important}
 .home-view .metric-card,.home-view .home-showcase article{height:98px!important;min-height:0!important;padding-block:10px!important}
 .home-view .metric-card strong{font-size:1.65rem!important}
}

@media(max-width:820px){
 .home-view .metrics .metric-card{display:grid!important;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:12px;min-height:104px!important;padding:14px 16px!important;border:1px solid var(--line);border-radius:18px;background:var(--panel2);color:inherit}
 .home-view .metrics .metric-card strong{font-size:1.55rem!important;white-space:nowrap!important}
 .home-view .metrics .metric-card p{margin-top:2px!important;font-size:.78rem!important}
 .home-view .metrics .metric-action{margin-top:6px;font-size:.65rem}
}

/* Wide desktop correction: large monitors should reveal a composed portfolio,
   not a stretched dashboard with miniature type. */
@media(min-width:1440px) and (min-height:900px){
 :root{
  --page:min(1680px,calc(100vw - 48px))!important;
  --rail:310px!important;
  --gap:20px!important;
 }

 #main{
  height:calc(100dvh - 32px)!important;
  margin:16px auto!important;
 }

 #main>.persistent-profile{
  padding:16px!important;
  gap:14px!important;
 }
 .persistent-profile .portrait-stage{
  height:clamp(285px,30vh,360px)!important;
  flex-basis:clamp(285px,30vh,360px)!important;
 }
 .persistent-profile .profile-copy{
  padding:16px 4px 2px!important;
 }
 .persistent-profile .profile-copy h2{
  font-size:1.65rem!important;
  line-height:1!important;
  white-space:nowrap!important;
 }
 .persistent-profile .profile-role{
  max-width:24ch!important;
  font-size:.86rem!important;
  line-height:1.3!important;
 }
 .persistent-profile .profile-copy>p:not(.profile-role){
  display:block!important;
  max-width:29ch!important;
  margin-top:13px!important;
  overflow:visible!important;
  font-size:.8rem!important;
  line-height:1.52!important;
  -webkit-line-clamp:unset!important;
 }
 .persistent-profile .profile-meta{
  margin-top:13px!important;
  font-size:.71rem!important;
 }
 .desktop-side-menu .site-nav{
  gap:5px!important;
 }
 .desktop-side-menu .site-nav a{
  min-height:39px!important;
  padding:9px 12px!important;
  font-size:.8rem!important;
 }
 .persistent-profile .profile-socials a{
  min-height:38px!important;
  font-size:.75rem!important;
 }

 #main>.view{
  padding:18px!important;
 }
 #main>.home-view .home-content{
  grid-template-rows:minmax(320px,1.42fr) minmax(0,1.58fr)!important;
  gap:14px!important;
 }
 .home-view .hero-copy{
  padding:clamp(38px,3vw,58px)!important;
  background-size:auto,auto 108%!important;
 }
 .home-view .hero-copy h1{
  font-size:clamp(3.25rem,3.6vw,4.5rem)!important;
 }
 .home-view .hero-summary{
  font-size:.95rem!important;
 }
 .home-view .home-actions button{
  min-height:43px!important;
  font-size:.82rem!important;
 }
 .home-view .hero-proof span{
  font-size:.73rem!important;
 }
 .home-view .metric-card{
  height:104px!important;
  min-height:104px!important;
  padding:15px 18px!important;
 }
 .home-view .metric-label{
  font-size:.58rem!important;
 }
 .home-view .metric-card strong{
  font-size:clamp(1.65rem,1.7vw,2rem)!important;
 }
 .home-view .metric-card p{
  font-size:.72rem!important;
 }
 .home-view .metric-context{
  font-size:.63rem!important;
 }
 .featured-work__header h2{
  font-size:1.16rem!important;
 }
 .featured-work__header p,
 .featured-work__header .text-link{
  font-size:.69rem!important;
 }
 .featured-work__card span{
  font-size:.55rem!important;
 }
 .featured-work__card h3{
  font-size:.94rem!important;
 }
 .home-proof-banner{
  min-height:56px!important;
 }
 .home-proof-banner strong{
  font-size:.78rem!important;
 }
 .home-proof-banner small,
 .home-proof-banner>b{
  font-size:.63rem!important;
 }
}

/* The Earth artwork remains a dark photographic surface in both themes, so its
   foreground must keep the dark-theme contrast instead of inheriting light UI text. */
[data-theme="light"] .home-view .hero-copy .eyebrow,
[data-theme="light"] .home-view .hero-copy h1,
[data-theme="light"] .home-view .hero-copy .hero-summary{
 color:#f4f7ff!important;
 text-shadow:0 1px 18px rgba(0,0,0,.32);
}
[data-theme="light"] .home-view .hero-copy h1 span{color:#62b2ff!important}

/* BrewedOps-inspired navigation structure, expressed in Justine's visual system. */
.desktop-side-menu{display:none}
@media(min-width:821px){
 body{grid-template-rows:minmax(0,1fr)!important}
 .topbar{display:none!important}
 #main{height:calc(100dvh - 16px)!important;margin-top:8px!important}
 #main>.persistent-profile{gap:8px!important;overflow:hidden}
 .persistent-profile .profile-card{flex:0 0 auto!important}
 .persistent-profile .profile-socials{order:2;flex:0 0 36px!important;padding-left:0!important}
 .desktop-side-menu{order:3;display:flex;flex:1 1 auto;flex-direction:column;min-height:0;margin-top:2px;padding:10px;border:1px solid var(--line);border-radius:18px;background:color-mix(in srgb,var(--panel) 92%,transparent);box-shadow:inset 0 1px 0 rgba(255,255,255,.035)}
 .desktop-side-menu .site-nav{display:flex!important;flex:0 0 auto;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:3px!important;width:100%}
 .desktop-side-menu .site-nav a{position:relative;justify-content:flex-start;min-height:34px;padding:7px 11px 7px 34px!important;border:1px solid transparent;border-radius:11px;color:var(--muted);font-size:.74rem!important;font-weight:720;transition:color 180ms ease,background 180ms ease,border-color 180ms ease,transform 180ms ease}
 .desktop-side-menu .site-nav a::before{content:"";position:absolute;left:12px;width:8px;height:8px;border:1.5px solid currentColor;border-radius:3px;opacity:.72;transform:rotate(45deg)}
 .desktop-side-menu .site-nav a::after{display:none!important}
 .desktop-side-menu .site-nav a:hover{color:var(--text);background:color-mix(in srgb,var(--blue) 8%,transparent);transform:translateX(2px)}
 .desktop-side-menu .site-nav a[aria-current=page]{border-color:color-mix(in srgb,var(--blue) 30%,var(--line));background:color-mix(in srgb,var(--blue) 13%,var(--panel2));color:var(--text)}
 .desktop-side-menu .site-nav a[aria-current=page]::before{border-radius:50%;background:var(--blue);border-color:var(--blue);box-shadow:0 0 12px color-mix(in srgb,var(--blue) 60%,transparent)}
 .desktop-side-menu .nav-settings{display:flex!important;justify-content:flex-start;gap:7px;padding-top:8px;border-top:1px solid var(--line)}
 .desktop-side-menu .nav-settings button{width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important}
 .site-footer .rights{left:calc((100vw - var(--page))/2 + var(--rail) + var(--gap))!important}
 .persistent-profile .portrait-stage{flex:0 0 clamp(170px,25vh,230px)!important;height:clamp(170px,25vh,230px)!important;padding-top:6px!important}
 .persistent-profile .profile-copy{padding:12px 16px 13px!important}
 .persistent-profile .profile-copy h2{font-size:clamp(1.12rem,1.25vw,1.42rem)!important}
 .persistent-profile .profile-role{margin:4px 0 0!important;font-size:clamp(.7rem,.66vw,.8rem)!important}
 .persistent-profile .profile-copy>p:not(.profile-role){display:-webkit-box!important;max-width:none!important;margin-top:8px!important;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:4;font-size:clamp(.66rem,.61vw,.74rem)!important;line-height:1.42!important}
 .persistent-profile .profile-meta{margin-top:8px!important;font-size:.62rem!important}
 .persistent-profile .profile-socials a{min-height:34px!important;padding:5px!important;font-size:.68rem!important}
 .desktop-side-menu{padding:7px 9px}
 .desktop-side-menu .site-nav a{min-height:31px;padding-block:5px!important}
}

@media(min-width:821px) and (max-height:820px){
 .persistent-profile .portrait-stage{flex-basis:clamp(145px,23vh,180px)!important;height:clamp(145px,23vh,180px)!important}
 .persistent-profile .profile-copy{padding:9px 14px 10px!important}
 .persistent-profile .profile-copy>p:not(.profile-role){display:none!important}
 .persistent-profile .profile-meta{margin-top:6px!important}
 .desktop-side-menu{justify-content:space-between}
 .desktop-side-menu .site-nav a{min-height:29px!important;padding-block:4px!important}
}

/* Compact, local-only portfolio guide. */
.portfolio-chat{position:fixed;left:14px;bottom:66px;z-index:520;display:grid;grid-template-rows:auto minmax(180px,1fr) auto;width:min(370px,calc(100vw - 28px));height:min(520px,calc(100dvh - 96px));overflow:hidden;border:1px solid color-mix(in srgb,var(--blue) 38%,var(--line));border-radius:22px;background:color-mix(in srgb,var(--panel) 97%,transparent);box-shadow:0 30px 90px -34px rgba(0,0,0,.88),inset 0 1px 0 rgba(255,255,255,.06);backdrop-filter:blur(22px) saturate(125%);opacity:0;pointer-events:none;transform:translateY(12px) scale(.97);transform-origin:left bottom;transition:opacity 180ms ease,transform 220ms cubic-bezier(.2,.8,.2,1)}
.portfolio-chat[data-open]{opacity:1;pointer-events:auto;transform:translateY(0) scale(1)}
.portfolio-chat__header{display:grid;grid-template-columns:40px minmax(0,1fr) 34px;align-items:center;gap:10px;padding:12px 13px;border-bottom:1px solid var(--line);background:color-mix(in srgb,var(--panel2) 80%,transparent)}
.portfolio-chat__header img{width:40px;height:40px;border:1px solid color-mix(in srgb,var(--blue) 55%,var(--line));border-radius:13px;background:var(--surface)}
.portfolio-chat__header div{display:flex;flex-direction:column;min-width:0}.portfolio-chat__header strong{font-size:.88rem}.portfolio-chat__header span{display:flex;align-items:center;gap:6px;margin-top:2px;color:var(--muted);font-size:.64rem}.portfolio-chat__header i{width:7px;height:7px;border-radius:50%;background:#5fe3c2;box-shadow:0 0 0 3px rgba(95,227,194,.12)}
.portfolio-chat__close{display:grid;place-items:center;width:34px;height:34px;padding:0;border:0;border-radius:10px;background:var(--panel);color:var(--muted);font-size:1.35rem;line-height:1}.portfolio-chat__close:hover{background:var(--panel2);color:var(--text)}
.portfolio-chat__body{display:flex;flex-direction:column;gap:12px;overflow:auto;padding:14px;background:color-mix(in srgb,var(--surface) 28%,transparent)}
.portfolio-chat__message{align-self:flex-start;max-width:91%}.portfolio-chat__message p{margin:0;padding:11px 13px;border:1px solid var(--line);border-radius:14px 14px 14px 5px;background:var(--panel2);color:var(--text);font-size:.76rem;line-height:1.48;box-shadow:0 8px 24px -20px rgba(0,0,0,.8)}.portfolio-chat__message small{display:block;margin:4px 5px 0;color:var(--muted);font-size:.58rem}.portfolio-chat__message--visitor{align-self:flex-end}.portfolio-chat__message--visitor p{border-radius:14px 14px 5px 14px;background:color-mix(in srgb,var(--blue) 17%,var(--panel2))}.portfolio-chat__message--visitor small{text-align:right}
.portfolio-chat__suggestions{display:flex;flex-wrap:wrap;gap:6px}.portfolio-chat__suggestions button{min-height:31px;padding:6px 10px;border:1px solid var(--line);border-radius:999px;background:var(--panel);color:var(--text);font-size:.65rem;font-weight:680}.portfolio-chat__suggestions button:hover{border-color:var(--blue);background:var(--panel2)}
.portfolio-chat__form{padding:10px 12px 11px;border-top:1px solid var(--line);background:var(--panel)}.portfolio-chat__form>label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.portfolio-chat__form>div{display:grid;grid-template-columns:minmax(0,1fr) 36px;gap:6px;padding:4px;border:1px solid color-mix(in srgb,var(--blue) 60%,var(--line));border-radius:14px;background:var(--surface);box-shadow:0 0 0 3px color-mix(in srgb,var(--blue) 10%,transparent)}.portfolio-chat__form input{min-width:0;border:0!important;background:transparent!important;color:var(--text);font:inherit;font-size:.72rem;outline:0}.portfolio-chat__form button{display:grid;place-items:center;width:36px;height:36px;border:0;border-radius:11px;background:var(--blue);color:#fff;font-size:1rem}.portfolio-chat__form>p{margin:7px 3px 0;color:var(--muted);font-size:.56rem;line-height:1.35}
.site-footer .portfolio-support{border:1px solid color-mix(in srgb,var(--blue) 45%,var(--line))!important;background:var(--panel)!important;cursor:pointer}.site-footer .portfolio-support[aria-expanded=true]{border-color:var(--blue)!important;box-shadow:0 0 0 4px color-mix(in srgb,var(--blue) 14%,transparent),0 14px 34px -18px rgba(0,0,0,.9)!important}
[data-theme=light] .portfolio-chat{background:rgba(251,253,255,.97);box-shadow:0 28px 70px -38px rgba(23,72,128,.62),inset 0 1px 0 #fff}

@media(max-width:820px){
 .portfolio-chat{left:10px;bottom:calc(84px + env(safe-area-inset-bottom));width:calc(100vw - 20px);height:min(510px,calc(100dvh - 116px));border-radius:20px}
 .site-footer .portfolio-support{display:flex!important;left:10px!important;bottom:calc(84px + env(safe-area-inset-bottom))!important;width:40px!important;height:40px!important}
 .site-footer .portfolio-support img{width:32px!important;height:32px!important}
 .site-footer .portfolio-support span{display:none!important}
 .site-footer .visit-counter{display:flex!important;right:10px!important;bottom:calc(86px + env(safe-area-inset-bottom))!important;width:max-content!important;height:34px!important;padding:6px 10px!important}
}

/* Final wide-screen cascade lock. */
@media(min-width:1440px) and (min-height:900px){
 :root{--page:min(1680px,calc(100vw - 48px))!important;--rail:310px!important;--gap:20px!important}
 #main{height:calc(100dvh - 32px)!important;margin:16px auto!important}
 #main>.persistent-profile{padding:16px!important;gap:14px!important}
 .persistent-profile .portrait-stage{height:clamp(285px,30vh,360px)!important;flex-basis:clamp(285px,30vh,360px)!important;padding:0!important}
 .persistent-profile .portrait-stage img{object-fit:contain!important;object-position:center bottom!important;transform:none!important}
 .persistent-profile .profile-copy{display:block!important;flex:0 0 auto!important;padding:16px 4px 2px!important}
 .persistent-profile .profile-copy h2{font-size:1.65rem!important;line-height:1!important;white-space:nowrap!important}
 .persistent-profile .profile-role{max-width:24ch!important;font-size:.86rem!important;line-height:1.3!important}
 .persistent-profile .profile-copy>p:not(.profile-role){display:block!important;max-width:29ch!important;margin-top:13px!important;overflow:visible!important;font-size:.8rem!important;line-height:1.52!important;-webkit-line-clamp:unset!important}
 .persistent-profile .profile-meta{margin-top:13px!important;font-size:.71rem!important}
 .desktop-side-menu .site-nav{gap:5px!important}
 .desktop-side-menu .site-nav a{min-height:39px!important;padding:9px 12px 9px 36px!important;font-size:.8rem!important}
 .persistent-profile .profile-socials{flex-basis:auto!important}
 .persistent-profile .profile-socials a{min-height:38px!important;font-size:.75rem!important}
 #main>.view{padding:18px!important}
 #main>.home-view .home-content{grid-template-rows:minmax(320px,1.42fr) minmax(0,1.58fr)!important;gap:14px!important}
 #main>.home-view .home-evidence{grid-template-rows:104px minmax(0,1fr) 56px!important;gap:10px!important;overflow:hidden!important}
 .home-view .hero-copy{padding:clamp(38px,3vw,58px)!important;background-size:auto,auto 108%!important}
 .home-view .hero-copy h1{font-size:clamp(3.25rem,3.6vw,4.5rem)!important}
 .home-view .hero-summary{font-size:.95rem!important}
 .home-view .home-actions button{min-height:43px!important;font-size:.82rem!important}
 .home-view .hero-proof span{font-size:.73rem!important}
 .home-view .metrics{height:104px!important;gap:12px!important}
 .home-view .metric-card{height:104px!important;min-height:104px!important;padding:15px 18px!important}
 .home-view .metric-label{font-size:.58rem!important}
 .home-view .metric-card strong{font-size:clamp(1.65rem,1.7vw,2rem)!important}
 .home-view .metric-card p{font-size:.72rem!important}
 .home-view .metric-context{font-size:.63rem!important}
 .featured-work__header h2{font-size:1.16rem!important}
 .featured-work__header p,.featured-work__header .text-link{font-size:.69rem!important}
 .featured-work__card span{font-size:.55rem!important}
 .featured-work__card h3{font-size:.94rem!important}
 .home-proof-banner{min-height:56px!important}
 .home-proof-banner strong{font-size:.78rem!important}
 .home-proof-banner small,.home-proof-banner>b{font-size:.63rem!important}
}

/* Desktop rail footer: controls, opportunity card and social links each own a
   separate row. The floating support launcher stays outside the rail. */
@media(min-width:821px){
 .persistent-profile .desktop-side-menu{
  display:flex!important;
  flex:1 1 auto!important;
  flex-direction:column!important;
  min-height:0!important;
  overflow:hidden!important;
 }
 .desktop-side-menu .site-nav{order:1!important;flex:0 0 auto!important}
 .desktop-side-menu .rail-opportunity{
  order:2!important;
  display:grid!important;
  grid-template-columns:34px minmax(0,1fr)!important;
  grid-template-rows:auto auto!important;
  column-gap:10px!important;
  align-items:center!important;
  margin-top:auto!important;
  padding:11px 12px!important;
  border:1px solid color-mix(in srgb,var(--blue) 35%,var(--line))!important;
  border-radius:12px!important;
  background:color-mix(in srgb,var(--blue) 9%,var(--panel2))!important;
  color:var(--text)!important;
  text-decoration:none!important;
 }
 .desktop-side-menu .rail-opportunity>span{
  grid-row:1/3!important;
  display:grid!important;
  place-items:center!important;
  width:34px!important;
  height:34px!important;
  border-radius:10px!important;
  background:color-mix(in srgb,var(--blue) 17%,transparent)!important;
  color:var(--blue)!important;
  font-size:1rem!important;
 }
 .desktop-side-menu .rail-opportunity strong{font-size:.72rem!important;line-height:1.2!important}
 .desktop-side-menu .rail-opportunity small{color:var(--muted)!important;font-size:.58rem!important;line-height:1.3!important}
 .desktop-side-menu .rail-opportunity:hover{border-color:var(--blue)!important;background:color-mix(in srgb,var(--blue) 14%,var(--panel2))!important}
 .desktop-side-menu .nav-settings{
  order:3!important;
  display:flex!important;
  flex:0 0 auto!important;
  justify-content:flex-end!important;
  gap:8px!important;
  width:100%!important;
  min-height:47px!important;
  margin:10px 0 0!important;
  padding:10px 0 0!important;
  border-top:1px solid var(--line)!important;
  overflow:visible!important;
 }
 .desktop-side-menu .nav-settings button{
  position:relative!important;
  inset:auto!important;
  flex:0 0 34px!important;
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  min-height:34px!important;
  margin:0!important;
 }
 .persistent-profile .profile-socials{
  order:3!important;
  position:relative!important;
  z-index:2!important;
  flex:0 0 38px!important;
  min-height:38px!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
 }
 .site-footer .portfolio-support{
  left:auto!important;
  right:132px!important;
  bottom:12px!important;
 }
}

/* Final wide-screen guard. Keep it last: the legacy stylesheet contains
   several desktop layers and large displays must not inherit their compact UI. */
@media(min-width:1440px) and (min-height:900px){
 :root{--page:min(1680px,calc(100vw - 48px))!important;--rail:310px!important;--gap:20px!important}
 #main{height:calc(100dvh - 32px)!important;margin:16px auto!important}
 #main>.persistent-profile{padding:16px!important;gap:14px!important}
 .persistent-profile .portrait-stage{height:clamp(285px,30vh,360px)!important;flex-basis:clamp(285px,30vh,360px)!important;padding:0!important}
 .persistent-profile .portrait-stage img{object-fit:contain!important;object-position:center bottom!important;transform:none!important}
 .persistent-profile .profile-copy{display:block!important;flex:0 0 auto!important;padding:16px 4px 2px!important}
 .persistent-profile .profile-copy h2{font-size:1.65rem!important;line-height:1!important;white-space:nowrap!important}
 .persistent-profile .profile-role{max-width:24ch!important;font-size:.86rem!important;line-height:1.3!important}
 .persistent-profile .profile-copy>p:not(.profile-role){display:block!important;max-width:29ch!important;margin-top:13px!important;overflow:visible!important;font-size:.8rem!important;line-height:1.52!important;-webkit-line-clamp:unset!important}
 .persistent-profile .profile-meta{margin-top:13px!important;font-size:.71rem!important}
 .persistent-profile .desktop-side-menu{gap:0!important}
 .desktop-side-menu .site-nav{gap:5px!important}
 .desktop-side-menu .site-nav a{min-height:39px!important;padding:9px 12px 9px 36px!important;font-size:.8rem!important}
 .persistent-profile .profile-socials{flex-basis:auto!important}
 .persistent-profile .profile-socials a{min-height:38px!important;font-size:.75rem!important}
 #main>.view{padding:18px!important}
 #main>.home-view .home-content{grid-template-rows:minmax(320px,1.42fr) minmax(0,1.58fr)!important;gap:14px!important}
 #main>.home-view .home-evidence{grid-template-rows:104px minmax(0,1fr) 56px!important;gap:10px!important;overflow:hidden!important}
 .home-view .hero-copy{padding:clamp(38px,3vw,58px)!important;background-size:auto,auto 108%!important}
 .home-view .hero-copy h1{font-size:clamp(3.25rem,3.6vw,4.5rem)!important}
 .home-view .hero-summary{font-size:.95rem!important}
 .home-view .home-actions button{min-height:43px!important;font-size:.82rem!important}
 .home-view .hero-proof span{font-size:.73rem!important}
 .home-view .metrics{height:104px!important;gap:12px!important}
 .home-view .metric-card{height:104px!important;min-height:104px!important;padding:15px 18px!important}
 .home-view .metric-label{font-size:.58rem!important}
 .home-view .metric-card strong{font-size:clamp(1.65rem,1.7vw,2rem)!important}
 .home-view .metric-card p{font-size:.72rem!important}
 .home-view .metric-context{font-size:.63rem!important}
 .featured-work__header h2{font-size:1.16rem!important}
 .featured-work__header p,.featured-work__header .text-link{font-size:.69rem!important}
 .featured-work__card span{font-size:.55rem!important}
 .featured-work__card h3{font-size:.94rem!important}
 .home-proof-banner{min-height:56px!important}
 .home-proof-banner strong{font-size:.78rem!important}
 .home-proof-banner small,.home-proof-banner>b{font-size:.63rem!important}
}

/* Keep the two requested floating utilities visible in the final cascade. */
@media(max-width:820px){
 .site-footer .portfolio-support{display:flex!important}
 .site-footer .visit-counter{display:flex!important;right:10px!important;bottom:calc(86px + env(safe-area-inset-bottom))!important;width:max-content!important;height:34px!important;padding:6px 10px!important}
}

/* 2026-10-14 reference-led composition.
   A compact identity rail, focused hero, useful proof, and visual work cards. */
@media(min-width:821px){
 :root{--page:min(1900px,calc(100vw - 24px))!important;--rail:270px!important;--gap:18px!important}
 html,body{height:100%;overflow:hidden!important}
 body{padding:0!important}
 .topbar{display:none!important}
 #main{display:grid!important;grid-template-columns:var(--rail) minmax(0,1fr)!important;gap:var(--gap)!important;width:var(--page)!important;height:calc(100dvh - 24px)!important;min-height:0!important;margin:12px auto!important}

 #main>.persistent-profile{position:relative!important;top:0!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:12px!important;height:100%!important;min-height:0!important;padding:14px!important;border:1px solid var(--line)!important;border-radius:20px!important;background:color-mix(in srgb,var(--panel) 92%,transparent)!important;box-shadow:var(--shadow-blue)!important;overflow:hidden!important}
 .persistent-profile .profile-card{order:1!important;display:block!important;flex:0 0 auto!important;width:100%!important;height:auto!important;block-size:auto!important;min-height:0!important;border:0!important;border-radius:14px!important;background:transparent!important;box-shadow:none!important;overflow:visible!important}
 .persistent-profile .portrait-stage{display:block!important;width:100%!important;height:clamp(205px,27vh,270px)!important;min-height:0!important;padding:0!important;border:1px solid var(--line-soft)!important;border-radius:14px!important;background:linear-gradient(150deg,rgba(62,143,221,.16),rgba(5,19,35,.28))!important;overflow:hidden!important}
 .persistent-profile .portrait-stage img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center bottom!important;transform:none!important}
 .persistent-profile .profile-copy{display:block!important;height:auto!important;min-height:0!important;padding:13px 2px 0!important;overflow:visible!important}
 .persistent-profile .profile-copy h2{font-size:1.45rem!important;line-height:1.02!important}
 .persistent-profile .profile-role{margin:5px 0 0!important;font-size:.77rem!important;line-height:1.25!important}
 .persistent-profile .profile-copy>p:not(.profile-role){display:-webkit-box!important;max-width:30ch!important;margin:11px 0 0!important;font-size:.72rem!important;line-height:1.48!important;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden!important}
 .persistent-profile .profile-meta{display:grid!important;gap:5px!important;margin:11px 0 0!important;font-size:.64rem!important}
 .persistent-profile .profile-meta span{display:flex!important;align-items:center!important;gap:7px!important}
 .persistent-profile .profile-meta span:first-child::before{content:"⌖";color:var(--blue);font-weight:900}

 .persistent-profile .desktop-side-menu{order:2!important;display:flex!important;flex:1 1 auto!important;flex-direction:column!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important}
 .desktop-side-menu .site-nav{display:grid!important;align-content:start!important;gap:3px!important;margin:0!important;padding:0!important;border:0!important;background:none!important}
 .desktop-side-menu .site-nav a{display:flex!important;align-items:center!important;min-height:34px!important;padding:7px 11px!important;border:1px solid transparent!important;border-radius:10px!important;color:var(--muted)!important;font-size:.72rem!important;font-weight:700!important;text-decoration:none!important;transition:background-color .2s ease,color .2s ease,transform .2s ease!important}
 .desktop-side-menu .site-nav a::before{content:"◇";width:18px;color:var(--blue);font-size:.63rem}
 .desktop-side-menu .site-nav a:hover{color:var(--text)!important;background:var(--panel2)!important;transform:translateX(2px)}
 .desktop-side-menu .site-nav a[aria-current=page]{border-color:color-mix(in srgb,var(--blue) 52%,var(--line))!important;color:var(--text)!important;background:color-mix(in srgb,var(--blue) 14%,var(--panel2))!important}
 .desktop-side-menu .site-nav a[aria-current=page]::before{content:"●"}
 .desktop-side-menu .nav-settings{display:flex!important;gap:7px!important;margin-top:auto!important;padding:0!important}
 .desktop-side-menu .nav-settings button{width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important}
 .persistent-profile .profile-socials{order:3!important;display:grid!important;grid-template-columns:1fr 1fr!important;flex:0 0 auto!important;gap:7px!important;margin:0!important;padding:0!important}
 .persistent-profile .profile-socials a{min-height:34px!important;padding:7px 8px!important;border-radius:10px!important;font-size:.68rem!important}

 #main>.view{grid-column:2!important;grid-row:1!important;width:100%!important;height:100%!important;min-height:0!important;padding:16px!important;border:1px solid var(--line)!important;border-radius:20px!important;background:color-mix(in srgb,var(--panel) 88%,transparent)!important;overflow:hidden!important}
 #main>.home-view .home-layout{display:block!important;height:100%!important}
 #main>.home-view .portrait-panel{display:none!important}
 #main>.home-view .home-content{display:grid!important;grid-template-columns:1fr!important;grid-template-rows:minmax(260px,1.55fr) minmax(0,1.45fr)!important;gap:12px!important;height:100%!important;min-height:0!important}
 .home-view .hero-copy{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;width:100%!important;height:100%!important;min-height:0!important;padding:clamp(26px,3vw,48px)!important;border-radius:16px!important;background-image:linear-gradient(90deg,rgba(3,16,31,.99) 0%,rgba(3,16,31,.95) 38%,rgba(3,16,31,.52) 63%,rgba(3,16,31,.06) 100%),url("hero-earth.png")!important;background-position:center,right center!important;background-size:auto,auto 112%!important;background-repeat:no-repeat!important;overflow:hidden!important}
 .home-view .hero-copy h1{max-width:14ch!important;margin:10px 0 0!important;font-size:clamp(2.7rem,4vw,4.9rem)!important;line-height:.94!important;letter-spacing:-.055em!important;text-wrap:balance}
 .home-view .hero-summary{max-width:54ch!important;margin-top:14px!important;font-size:clamp(.82rem,.85vw,1rem)!important;line-height:1.48!important}
 .home-view .home-actions{margin-top:17px!important}
 .home-view .home-actions button{min-height:40px!important}
 .home-view .hero-proof{display:flex!important;gap:0!important;margin-top:18px!important}
 .home-view .hero-proof span{min-height:0!important;padding:0 22px!important;border:0!important;border-right:1px solid var(--line)!important;border-radius:0!important;background:none!important;font-size:.66rem!important}
 .home-view .hero-proof span:first-child{padding-left:0!important}
 .home-view .hero-proof span:last-child{border-right:0!important}
 .home-view .hero-detail{display:none!important}

 .home-view .home-evidence{display:grid!important;grid-template-columns:1fr!important;grid-template-rows:auto minmax(0,1fr) auto!important;gap:10px!important;height:100%!important;min-height:0!important;overflow:hidden!important}
 .home-view .metrics{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;width:100%!important;height:auto!important;overflow:visible!important}
 .home-view .metric-card{display:grid!important;grid-template-columns:38px minmax(0,1fr)!important;align-items:center!important;gap:10px!important;width:100%!important;height:88px!important;min-height:88px!important;padding:12px 14px!important;border-radius:14px!important;text-align:left!important;overflow:hidden!important}
 .home-view .metric-icon{width:38px!important;height:38px!important;border-radius:11px!important}
 .home-view .metric-label{display:block!important;margin:0 0 2px!important;font-size:.52rem!important}
 .home-view .metric-card strong{font-size:clamp(1.38rem,1.9vw,2rem)!important;line-height:1!important;white-space:nowrap!important}
 .home-view .metric-card p{margin-top:3px!important;font-size:.65rem!important;line-height:1.1!important}
 .home-view .metric-context{margin-top:3px!important;font-size:.57rem!important;line-height:1.1!important}
 .home-view .metric-action{display:none!important}

 .featured-work{display:grid;grid-template-rows:auto minmax(0,1fr);gap:8px;min-height:0;overflow:hidden}
 .featured-work__header{display:flex;align-items:end;justify-content:space-between;gap:18px;padding:0 2px}
 .featured-work__header>div{display:flex;align-items:baseline;gap:12px;min-width:0}
 .featured-work__header h2{font-size:1.08rem;line-height:1.1;letter-spacing:-.025em}
 .featured-work__header p{color:var(--muted);font-size:.62rem;white-space:nowrap}
 .featured-work__header .text-link{min-height:0!important;padding:0!important;font-size:.65rem!important;white-space:nowrap}
 .featured-work__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;min-height:0}
 .featured-work__card{position:relative;min-width:0;min-height:0;border:1px solid var(--line);border-radius:14px;background:var(--panel2);overflow:hidden;isolation:isolate}
 .featured-work__card::after{content:"";position:absolute;inset:42% 0 0;z-index:1;background:linear-gradient(transparent,rgba(2,12,24,.97))}
 .featured-work__card img{width:100%;height:100%;object-fit:cover;transition:transform .45s cubic-bezier(.2,.8,.2,1)}
 .featured-work__card:nth-child(n+2) img{object-fit:contain;padding:24px;background:radial-gradient(circle at 50% 35%,rgba(77,162,244,.18),rgba(5,19,35,.96) 68%)}
 .featured-work__card>div{position:absolute;inset:auto 0 0;z-index:2;padding:11px 12px;color:#f5f8ff}
 .featured-work__card span{display:block;color:#62b2ff;font-size:.5rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
 .featured-work__card h3{margin-top:3px;font-size:.86rem;line-height:1.05}
 .featured-work__card p{display:none;margin-top:4px;color:#c5d2e4;font-size:.58rem;line-height:1.25}
 .featured-work__card:hover img{transform:scale(1.035)}

 .home-proof-banner{display:grid!important;grid-template-columns:34px minmax(0,1fr) auto!important;align-items:center!important;gap:11px!important;width:100%!important;min-height:50px!important;padding:8px 12px!important;border:1px solid var(--line)!important;border-radius:14px!important;background:linear-gradient(90deg,color-mix(in srgb,var(--blue) 11%,var(--panel2)),var(--panel2))!important;color:var(--text)!important;text-align:left!important}
 .home-proof-banner__icon{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:color-mix(in srgb,var(--blue) 16%,transparent);color:var(--blue);font-size:1rem}
 .home-proof-banner strong{display:block;font-size:.72rem;line-height:1.2}
 .home-proof-banner small{display:block;margin-top:2px;color:var(--muted);font-size:.57rem;line-height:1.25}
 .home-proof-banner>b{color:var(--blue);font-size:.62rem;white-space:nowrap}

 /* The services page should read as a compact capability matrix, not ten empty billboards. */
 #main [data-view-panel=services] .service-groups[data-grid=services]{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:repeat(5,minmax(90px,1fr))!important;gap:9px 12px!important;overflow:hidden!important}
 #main [data-view-panel=services] .service-group{grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:auto auto!important;align-content:center!important;min-height:0!important;padding:10px 13px!important;gap:5px 12px!important}
 #main [data-view-panel=services] .service-group .tool-list{grid-column:2!important;grid-row:1/3!important;width:max-content!important;max-width:150px!important;height:auto!important;padding-left:12px!important;gap:6px!important}
 #main [data-view-panel=services] .service-group .tool-list li,#main [data-view-panel=services] .service-group .tool-logo{width:32px!important;height:32px!important;min-width:32px!important;max-width:32px!important;flex-basis:32px!important}
 #main [data-view-panel=services] .service-heading h3{font-size:.79rem!important}
 #main [data-view-panel=services] .service-description{font-size:.65rem!important;line-height:1.3!important}

 .site-footer .portfolio-support{display:flex!important}
 .site-footer .visit-counter{display:flex!important}
}

@media(min-width:821px) and (max-height:760px){
 :root{--rail:238px!important}
 #main{height:calc(100dvh - 16px)!important;margin:8px auto!important}
 #main>.persistent-profile{padding:10px!important;gap:8px!important}
 .persistent-profile .portrait-stage{height:178px!important}
 .persistent-profile .profile-copy{padding-top:9px!important}
 .persistent-profile .profile-copy>p:not(.profile-role){display:none!important}
 .persistent-profile .profile-meta{margin-top:7px!important}
 .desktop-side-menu .site-nav a{min-height:29px!important;padding-block:5px!important}
 #main>.view{padding:10px!important}
 #main>.home-view .home-content{grid-template-rows:minmax(225px,1.35fr) minmax(0,1.65fr)!important;gap:8px!important}
 .home-view .hero-copy{padding:22px 28px!important}
 .home-view .hero-copy h1{font-size:clamp(2.35rem,3.7vw,3.6rem)!important}
 .home-view .hero-summary{margin-top:8px!important}
 .home-view .home-actions{margin-top:10px!important}
 .home-view .hero-proof{margin-top:10px!important}
 .home-view .home-evidence{gap:7px!important}
 .home-view .metric-card{height:70px!important;min-height:70px!important;padding:8px 11px!important}
 .home-view .metric-label{display:none!important}
 .home-view .metric-icon{width:31px!important;height:31px!important}
 .home-view .metric-card strong{font-size:1.35rem!important}
 .featured-work{gap:5px}
 .featured-work__header h2{font-size:.9rem}
 .featured-work__card>div{padding:7px 9px}
 .home-proof-banner{min-height:42px!important;padding:6px 10px!important}
 .home-proof-banner small{display:none}
}

@media(max-width:820px){
 .site-footer .visit-counter{display:flex!important;right:10px!important;bottom:calc(86px + env(safe-area-inset-bottom))!important;width:max-content!important;height:34px!important;padding:6px 10px!important}
 .featured-work{display:grid;gap:12px;margin-top:2px}
 .featured-work__header{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}
 .featured-work__header h2{font-size:1.25rem}
 .featured-work__header p{display:none}
 .featured-work__header .text-link{padding:0!important;font-size:.68rem!important}
 .featured-work__grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
 .featured-work__card{position:relative;min-height:190px;border:1px solid var(--line);border-radius:16px;background:var(--panel2);overflow:hidden}
 .featured-work__card::after{content:"";position:absolute;inset:36% 0 0;background:linear-gradient(transparent,rgba(2,12,24,.98))}
 .featured-work__card img{width:100%;height:100%;object-fit:cover}
 .featured-work__card:nth-child(n+2) img{object-fit:contain;padding:25px;background:radial-gradient(circle at 50% 35%,rgba(77,162,244,.18),rgba(5,19,35,.96) 68%)}
 .featured-work__card>div{position:absolute;inset:auto 0 0;z-index:1;padding:12px;color:#f5f8ff}
 .featured-work__card span{color:#62b2ff;font-size:.48rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
 .featured-work__card h3{margin-top:4px;font-size:.9rem}
 .featured-work__card p{display:none}
 .home-proof-banner{display:grid!important;grid-template-columns:34px minmax(0,1fr)!important;gap:10px!important;align-items:center!important;width:100%!important;padding:13px!important;border:1px solid var(--line)!important;border-radius:16px!important;background:var(--panel2)!important;color:var(--text)!important;text-align:left!important}
 .home-proof-banner__icon{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:color-mix(in srgb,var(--blue) 16%,transparent);color:var(--blue)}
 .home-proof-banner strong{display:block;font-size:.75rem}
 .home-proof-banner small{display:none}
 .home-proof-banner>b{grid-column:2;color:var(--blue);font-size:.65rem}
}

@media(max-width:430px){
 .featured-work__grid{grid-template-columns:1fr}
 .featured-work__card{min-height:220px}
}

@media(max-height:720px){.portfolio-chat{height:calc(100dvh - 88px)}.portfolio-chat__body{min-height:120px}}
@media(prefers-reduced-motion:reduce){.portfolio-chat{transition:none}}

@media(min-width:600px) and (max-width:820px){
 .home-view .metrics .metric-card{display:flex!important;flex-direction:column;align-items:flex-start;justify-content:center;gap:7px;min-height:126px!important;padding:14px!important}
}

@media(max-width:820px){.home-evidence{display:contents!important}}

/* Recent work: use explicit grid lanes so brand marks never overlap its label or copy. */
@media(min-width:821px){
.home-showcase .showcase-brands{display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;grid-template-rows:auto auto minmax(0,1fr) auto!important;column-gap:12px!important;align-content:start!important;padding:14px 16px!important}
.home-showcase .showcase-brands>div{position:static!important;grid-column:1!important;grid-row:1/3!important;display:flex!important;flex-direction:row!important;align-self:start!important;width:auto!important;height:auto!important;gap:6px!important}
.home-showcase .showcase-brands>.eyebrow{grid-column:2!important;grid-row:1!important;margin:0!important}.home-showcase .showcase-brands>h2{grid-column:2!important;grid-row:2!important}.home-showcase .showcase-brands>p:not(.eyebrow){grid-column:2!important;grid-row:3!important}.home-showcase .showcase-brands>.text-link{grid-column:2!important;grid-row:4!important;justify-self:start!important}
}

/* Final polish: consistent light surfaces, compact proof cards, and unclipped JOB content. */
@media(min-width:821px){
[data-view-panel=home] .home-showcase>article{display:grid!important;grid-template-rows:auto auto minmax(0,1fr) auto!important;align-content:stretch!important}
[data-view-panel=home] .home-showcase>article>.text-link{align-self:end!important;justify-self:start!important;margin-top:10px!important}
[data-theme=light] .hero-copy{color:#112947!important;border-color:#aec4df!important;background:linear-gradient(90deg,rgba(247,250,255,.99) 0%,rgba(240,246,253,.97) 46%,rgba(226,237,249,.86) 70%,rgba(213,228,244,.76) 100%),url("hero-earth.png") center right/cover no-repeat!important;box-shadow:0 20px 54px -42px rgba(28,87,154,.55)!important}
[data-theme=light] .hero-copy .eyebrow,[data-theme=light] .hero-copy h1,[data-theme=light] .hero-copy .hero-summary,[data-theme=light] .hero-copy .hero-detail{color:#112947!important}
[data-theme=light] .hero-copy h1 span,[data-theme=light] .hero-copy .hero-detail strong,[data-theme=light] .hero-copy .hero-proof strong{color:#245fc5!important}
[data-theme=light] .hero-copy .hero-summary,[data-theme=light] .hero-copy .hero-detail span{color:#516781!important}
[data-theme=light] .hero-copy::after{color:rgba(17,41,71,.62)!important}
[data-theme=light] .hero-copy .hero-proof span{border-color:#a9bdd7!important;background:rgba(255,255,255,.72)!important;box-shadow:0 8px 24px -20px rgba(24,67,116,.7)}
[data-theme=light] .hero-copy .home-actions button:not(:first-child){color:#112947!important;border-color:#a9bdd7!important;background:rgba(255,255,255,.86)!important}
.home-showcase .showcase-brands{grid-template-rows:auto auto minmax(0,1fr) auto!important}
.home-showcase .showcase-brands>.text-link{align-self:end!important;margin-top:10px!important}
}

@media(min-width:821px) and (max-height:900px){
[data-view-panel=jobs] .mock-columns section{display:grid!important;grid-template-rows:auto auto auto auto auto!important;align-content:start!important}
[data-view-panel=jobs] .mock-columns section h4{margin:0 0 5px!important}
[data-view-panel=jobs] .mock-columns section h5{margin:5px 0 4px!important;font-size:.94rem!important;line-height:1.18!important}
[data-view-panel=jobs] .mock-columns section p{margin:0!important;font-size:.76rem!important;line-height:1.32!important}
[data-view-panel=jobs] .mock-columns section .mock-progress{margin:7px 0 5px!important}
[data-view-panel=jobs] .mock-columns section small{display:block!important;font-size:.72rem!important;line-height:1.2!important}
}

@media(min-width:821px) and (max-height:760px){
[data-view-panel=home] .home-showcase .showcase-brands{padding:10px 13px!important}
[data-view-panel=jobs] .jobs-mockup{grid-template-rows:minmax(0,1fr)!important}
[data-view-panel=jobs] .mock-main{height:auto!important;min-height:0!important;align-self:stretch!important;padding:10px!important;gap:6px!important;grid-template-rows:auto auto auto auto minmax(0,1fr) auto!important;align-items:start!important;overflow:hidden!important}
[data-view-panel=jobs] .mock-main h3{font-size:1.42rem!important;line-height:1.1!important}
[data-view-panel=jobs] .mock-subtitle{font-size:.76rem!important;line-height:1.25!important}
[data-view-panel=jobs] .mock-stats{gap:6px!important}
[data-view-panel=jobs] .mock-stats>div{padding:6px 12px!important}
[data-view-panel=jobs] .mock-stats strong{font-size:1.2rem!important;line-height:1.1!important}
[data-view-panel=jobs] .mock-stats span{font-size:.7rem!important}
[data-view-panel=jobs] .mock-columns{height:100%!important;gap:6px!important;overflow:hidden!important}
[data-view-panel=jobs] .mock-columns section{padding:9px!important}
[data-view-panel=jobs] .mock-tasks li{padding:4px 0!important;font-size:.72rem!important}
[data-view-panel=jobs] .mock-timeline{padding:8px 10px!important}
[data-view-panel=jobs] .mock-timeline h4{margin:0 0 4px!important;font-size:.78rem!important}
[data-view-panel=jobs] .mock-timeline>div{gap:6px!important;font-size:.7rem!important}
}

/* Shared card rhythm: every primary card grid uses one generous, responsive gap. */
:root{--portfolio-card-gap:clamp(14px,1.25vw,18px)}
#main [data-view-panel=home] .metrics,#main [data-view-panel=home] .home-showcase,#main [data-view-panel=about] .company-portfolio-grid.paged-grid,#main [data-view-panel=about] .education-grid,#main [data-view-panel=services] .service-groups[data-grid=services],#main [data-view-panel=projects] .project-grid[data-grid=projects],#main [data-view-panel=contact] .contact-layout,#main [data-view-panel=contact] .contact-form,#main [data-view-panel=jobs] .mock-columns{gap:var(--portfolio-card-gap)!important}

/* Featured proof: keep the message focused and give the copy the full card width. */
.home-showcase article:first-child{padding-right:22px!important}
.home-showcase article:first-child::after{content:none!important;display:none!important}

@media(max-width:820px){
:root{--portfolio-card-gap:14px}
.home-showcase article:first-child{padding-right:16px!important}
}

/* Reference-inspired mobile app navigation: a compact moving pill with a
   single, raised message action. Desktop navigation and Justine's visual
   system remain unchanged. */
.mobile-tabbar,.mobile-jobs-link{display:none}

@media(max-width:820px){
 body{padding-bottom:calc(94px + env(safe-area-inset-bottom))!important}
 .topbar{grid-template-columns:34px minmax(0,1fr) auto 76px!important;grid-template-rows:38px!important;min-height:52px!important;padding:6px 9px!important;border-radius:18px!important}
 .topbar .site-nav{display:none!important}
 .mobile-jobs-link{grid-column:3;display:inline-flex;align-items:center;justify-content:center;justify-self:end;min-height:31px;padding:0 11px;border:1px solid var(--line);border-radius:999px;background:color-mix(in srgb,var(--panel2) 88%,transparent);color:var(--muted);font-size:.68rem;font-weight:800;letter-spacing:.06em}
 .mobile-jobs-link[aria-current=page]{border-color:var(--blue);background:color-mix(in srgb,var(--blue) 16%,var(--panel));color:var(--text)}
 .topbar .nav-settings{grid-column:4!important;grid-row:1!important;justify-self:end}
 .mobile-tabbar{position:fixed;right:8px;bottom:max(8px,env(safe-area-inset-bottom));left:8px;z-index:420;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));height:66px;padding:6px;border:1px solid color-mix(in srgb,var(--blue) 38%,var(--line));border-radius:999px;background:color-mix(in srgb,var(--panel) 92%,transparent);box-shadow:0 20px 58px -22px rgba(0,0,0,.86),inset 0 1px 0 rgba(255,255,255,.05);backdrop-filter:blur(20px) saturate(130%);isolation:isolate}
 .mobile-tabbar__pill{position:absolute;top:6px;bottom:6px;left:0;z-index:-1;width:0;border:1px solid color-mix(in srgb,var(--blue) 46%,transparent);border-radius:999px;background:color-mix(in srgb,var(--blue) 14%,var(--panel2));box-shadow:inset 0 1px 0 rgba(255,255,255,.04);opacity:0;transform-origin:left center;will-change:transform,width}
 .mobile-tabbar__tab{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-width:0;min-height:52px;padding:5px 2px;border-radius:999px;color:var(--muted);font-size:.58rem;font-weight:750;line-height:1;transition:color 180ms ease,transform 160ms cubic-bezier(.2,.8,.2,1)}
 .mobile-tabbar__tab svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
 .mobile-tabbar__tab[aria-current=page]{color:var(--text)}
 .mobile-tabbar__tab:active{transform:scale(.92)}
 .mobile-tabbar__tab--primary{z-index:2;overflow:visible;color:var(--text)}
 .mobile-tabbar__tab--primary>span:last-child{margin-top:29px;color:var(--muted)}
 .mobile-tabbar__tab--primary[aria-current=page]>span:last-child{color:var(--text)}
 .mobile-tabbar__fab{position:absolute;top:-23px;display:grid;place-items:center;width:54px;height:54px;border:5px solid var(--panel);border-radius:50%;background:var(--coral);color:#fff;box-shadow:0 12px 28px -10px rgba(189,57,29,.9);transition:transform 220ms cubic-bezier(.2,.8,.2,1),box-shadow 220ms ease}
 .mobile-tabbar__fab svg{width:23px;height:23px;stroke-width:1.9}
 .mobile-tabbar__tab--primary[aria-current=page] .mobile-tabbar__fab{transform:translateY(-3px) scale(1.06);box-shadow:0 16px 34px -9px rgba(189,57,29,.95)}
 [data-theme=light] .mobile-tabbar{background:color-mix(in srgb,#fff 94%,transparent);box-shadow:0 18px 50px -26px rgba(24,67,116,.5),inset 0 1px 0 #fff}
 [data-theme=light] .mobile-tabbar__fab{border-color:#fff}
 .site-footer .portfolio-support{display:none!important}
 .site-footer .visit-counter{right:12px!important;bottom:calc(82px + env(safe-area-inset-bottom))!important;height:30px!important;padding:5px 9px!important;font-size:.62rem!important;backdrop-filter:blur(14px)}
 .site-footer .rights{bottom:calc(78px + env(safe-area-inset-bottom))!important;max-width:calc(100vw - 130px)!important}
 [data-view-panel="jobs"] .jobs-mockup{background:#0b171c!important;border-color:#31504e!important;color:#e9f5f0!important}
 [data-view-panel="jobs"] .mock-main{color:#e9f5f0!important;background:#0d1d22!important}
 [data-view-panel="jobs"] .mock-main h3{color:#f1faf6!important}
 [data-view-panel="jobs"] .mock-subtitle,[data-view-panel="jobs"] .mock-columns p,[data-view-panel="jobs"] .mock-columns small,[data-view-panel="jobs"] .mock-stats span{color:#9eb9b1!important}
 [data-view-panel="jobs"] .mock-stats>div,[data-view-panel="jobs"] .mock-columns section,[data-view-panel="jobs"] .mock-timeline{border-color:#31504e!important;background:#13292c!important;color:#e9f5f0!important}

 /* Keep identity near the start of Home on phones. Older mobile rules let
    this panel fall behind the entire content stack. */
 #main .home-view .home-layout{display:flex!important;flex-direction:column!important}
 #main .home-view .portrait-panel{display:block!important;order:-1!important;margin:0 0 14px!important}
 #main .home-view .home-content{order:0!important}
}

@media(max-width:360px){
 .mobile-tabbar{right:5px;left:5px}
 .mobile-tabbar__tab{font-size:.54rem}
 .mobile-tabbar__tab svg{width:18px;height:18px}
 .mobile-tabbar__fab{width:50px;height:50px;top:-20px}
 .mobile-jobs-link{padding-inline:8px;font-size:.62rem}
}

@media(prefers-reduced-motion:reduce){
 .mobile-tabbar__pill,.mobile-tabbar__tab,.mobile-tabbar__fab{transition:none!important}
}
html[data-motion="0"] .mobile-tabbar__pill,html[data-motion="0"] .mobile-tabbar__tab,html[data-motion="0"] .mobile-tabbar__fab{transition:none!important}

/* Mobile home concept — integrated identity, restrained globe, compact proof. */
.mobile-hero-profile{display:none}

@media(max-width:820px){
 #main>.home-view{padding:10px!important;background:color-mix(in srgb,var(--panel) 82%,transparent)!important}
 #main .home-view .home-layout{display:block!important}
 #main .home-view .portrait-panel{display:none!important;margin:0!important}
 #main .home-view .home-content{display:flex!important;flex-direction:column!important;gap:14px!important}

 .home-view .hero-copy{display:flex!important;min-height:0!important;padding:18px!important;justify-content:flex-start!important;border-radius:20px!important;background-image:linear-gradient(90deg,rgba(5,19,35,.995) 0%,rgba(5,19,35,.96) 52%,rgba(5,19,35,.78) 72%,rgba(5,19,35,.52) 100%),url("hero-earth.png")!important;background-position:center,right top!important;background-size:auto,72% auto!important;background-repeat:no-repeat!important}
 .home-view .hero-copy,.home-view .hero-copy h1{color:#f4f7ff!important}
 .home-view .hero-copy h1 span{color:#62b2ff!important}
 .home-view .hero-copy::after{right:16px!important;bottom:13px!important;font-size:.43rem!important;letter-spacing:.13em!important;opacity:.5}
 .home-view .hero-copy>.eyebrow{display:none!important}
 .mobile-hero-profile{display:grid;grid-template-columns:68px minmax(0,1fr);align-items:center;gap:12px;width:100%;margin-bottom:22px}
 .mobile-hero-profile__photo{display:block;width:68px;height:68px;overflow:hidden;border:2px solid var(--blue);border-radius:22px;background:var(--panel2);box-shadow:0 14px 34px -20px rgba(80,175,255,.8)}
 .mobile-hero-profile__photo img{width:100%;height:100%;object-fit:cover;object-position:center 12%;transform:scale(1.08)}
 .mobile-hero-profile__copy{display:flex;flex-direction:column;min-width:0;line-height:1.15}
 .mobile-hero-profile__copy>strong{color:#f4f7ff;font-size:1.13rem;letter-spacing:-.025em}
 .mobile-hero-profile__copy>b{margin-top:4px;color:#62b2ff;font-size:.75rem;font-weight:750}
 .mobile-hero-profile__copy>span{display:flex;align-items:center;gap:6px;margin-top:7px;color:#c5d2e4;font-size:.65rem;white-space:normal}
 .mobile-hero-profile__copy>span i{width:7px;height:7px;flex:0 0 auto;border-radius:50%;background:#5fe3c2;box-shadow:0 0 0 3px rgba(95,227,194,.12)}
 .mobile-hero-profile__copy>span em{display:inline-flex;align-items:center;margin-left:5px;color:#c5d2e4;font-style:normal}
 .mobile-hero-profile__copy>span em::before{content:"";width:4px;height:4px;margin-right:6px;border-radius:50%;background:#5fe3c2}

 .home-view .hero-copy h1{max-width:10ch!important;font-size:clamp(2.45rem,12vw,4.1rem)!important;line-height:.94!important;letter-spacing:-.055em!important}
 .home-view .hero-summary{max-width:34ch!important;margin-top:16px!important;color:#c5d2e4!important;font-size:.92rem!important;line-height:1.5!important}
 .home-view .home-actions{display:grid!important;grid-template-columns:minmax(0,.8fr) minmax(0,1.25fr);gap:8px!important;width:100%;margin-top:18px!important}
 .home-view .home-actions button{min-height:46px!important;padding:10px 12px!important;font-size:.76rem!important;white-space:nowrap}

 .home-view .hero-proof{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px!important;width:100%;margin-top:18px!important}
 .home-view .hero-proof span{display:flex!important;flex-direction:column;align-items:flex-start;justify-content:center;gap:2px;min-height:66px;padding:8px!important;border-radius:14px!important;color:#c5d2e4!important;font-size:.59rem!important;line-height:1.25!important;background:rgba(8,29,51,.78)!important}
 .home-view .hero-proof span::before{display:block;color:#62b2ff;font-size:.9rem;line-height:1}
 .home-view .hero-proof span:nth-child(1)::before{content:"▥"}
 .home-view .hero-proof span:nth-child(2)::before{content:"◇"}
 .home-view .hero-proof span:nth-child(3)::before{content:"●"}
 .home-view .hero-proof b{display:inline;color:#62b2ff!important;font-size:.66rem}

 .home-view .hero-detail{display:grid!important;grid-template-columns:1fr!important;gap:9px!important;width:100%;max-width:none!important;min-height:0!important;margin-top:12px!important;padding:12px!important;border:1px solid rgba(98,178,255,.3);border-radius:16px;background:rgba(5,19,35,.72);font-size:.7rem!important;font-style:normal!important}
 .home-view .hero-detail>b{color:#62b2ff;text-transform:uppercase;letter-spacing:.14em;font-size:.62rem}
 .home-view .hero-steps{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;color:#f4f7ff!important}
 .home-view .hero-steps strong{position:relative;display:flex;align-items:center;justify-content:center;min-height:32px;padding:5px;border:1px solid rgba(98,178,255,.25);border-radius:10px;background:rgba(98,178,255,.08);color:#f4f7ff!important;font-size:.64rem;text-align:center}
 .home-view .hero-steps strong:not(:last-child)::after{content:"→";position:absolute;right:-8px;z-index:2;color:#62b2ff}
 .home-view .hero-detail em{color:#c5d2e4;font-size:.68rem;font-style:normal;line-height:1.4}

 .home-view .home-evidence{display:flex!important;flex-direction:column!important;gap:14px!important;min-width:0;overflow:visible!important}
 .home-view .metrics{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;margin:0!important;padding:0!important;overflow:visible!important}
 .home-view .metrics article{display:grid!important;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:12px;min-height:104px!important;padding:14px 16px!important;border-radius:18px!important}
 .home-view .metrics strong{font-size:1.55rem!important;white-space:nowrap!important}
 .home-view .metrics p{margin-top:2px!important;font-size:.78rem!important}
 .home-view .metric-context{margin-top:3px!important;font-size:.68rem!important}
 .home-view .metric-icon{display:inline-grid!important;place-items:center;width:34px;height:34px;margin:0;border-radius:10px;background:color-mix(in srgb,var(--blue) 16%,transparent);color:var(--blue);font-size:.85rem;font-weight:850}

 .home-view .home-showcase{gap:14px!important}
 .home-view .home-showcase article{min-height:0!important;padding:18px!important;border-radius:18px!important}
 .home-view .home-showcase .showcase-brands{padding:18px!important}
 .home-view .showcase-brands>div{position:static!important;display:flex!important;width:auto!important;height:auto!important;margin-bottom:12px;gap:7px}
 .home-view .showcase-brands img{width:38px;height:38px}
 .home-view .home-showcase h2{font-size:1.08rem!important}
 .home-view .home-showcase p:not(.eyebrow){font-size:.78rem!important}
 .home-view .home-showcase .text-link{min-height:38px;margin-top:12px!important;padding:0!important}

 .site-footer .portfolio-support,.site-footer .visit-counter,.site-footer .rights{display:none!important}
}

@media(max-width:360px){
 .mobile-hero-profile{grid-template-columns:58px minmax(0,1fr);gap:10px}
 .mobile-hero-profile__photo{width:58px;height:58px;border-radius:18px}
 .mobile-hero-profile__copy>strong{font-size:1rem}
 .mobile-hero-profile__copy>b{font-size:.68rem}
 .mobile-hero-profile__copy>span{font-size:.58rem}
 .home-view .hero-copy{padding:15px!important}
 .home-view .hero-copy h1{font-size:2.35rem!important}
 .home-view .home-actions button{padding-inline:8px!important;font-size:.7rem!important}
 .home-view .hero-proof span{padding:7px!important;font-size:.54rem!important}
}

@media(min-width:600px) and (max-width:820px){
 .home-view .metrics{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 .home-view .metrics article{display:flex!important;flex-direction:column;align-items:flex-start;justify-content:center;gap:7px;min-height:126px!important;padding:14px!important}
 .home-view .metric-icon{width:30px;height:30px}
 .home-view .metrics strong{font-size:1.3rem!important}
 .home-view .metrics p{font-size:.72rem!important}
 .home-view .metric-context{font-size:.63rem!important}
}

/* Expanded desktop: use the available canvas instead of leaving oversized
   gutters around a narrow 1520px composition. Smaller breakpoints are intact. */
@media(min-width:1700px){
 :root{--page:min(1840px,calc(100vw - 48px));--rail:clamp(288px,15vw,316px);--gap:18px}
 .topbar{padding-inline:16px!important}
 #main>.view{padding:20px 22px!important}
 .home-content{gap:13px!important}
 .home-evidence{grid-template-rows:92px minmax(0,1fr)!important;gap:13px!important}
 .metrics,.home-showcase{gap:13px!important}
 .metrics,.metrics article{height:92px!important}
 .hero-copy{padding-inline:26px!important;background-size:auto,48% auto!important}
 .hero-copy h1{font-size:clamp(3rem,3.25vw,4.05rem)!important}
 .home-showcase article{padding:16px 18px!important}
}

/* Prevent the legacy horizontal contact intro from escaping its card on compact desktop widths. */
@media(min-width:821px) and (max-width:1100px){
 #main [data-view-panel=contact] .contact-layout{grid-template-rows:auto minmax(0,1fr)!important;align-content:stretch!important;overflow:hidden!important}
 #main [data-view-panel=contact] .contact-intro{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:10px 18px!important;height:auto!important;min-height:0!important;padding:14px 18px!important;overflow:hidden!important}
 #main [data-view-panel=contact] .contact-kicker{grid-column:1!important;margin:0!important}
 #main [data-view-panel=contact] .contact-intro h2,#main [data-view-panel=contact] .contact-intro>p:not(.contact-kicker),#main [data-view-panel=contact] .contact-faqs{display:none!important}
 #main [data-view-panel=contact] .contact-links{grid-column:2!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:14px!important;width:auto!important;min-width:0!important;margin:0!important}
 #main [data-view-panel=contact] .contact-links a{display:inline-flex!important;width:auto!important;min-width:0!important;white-space:nowrap!important}
 #main [data-view-panel=contact] .contact-panel{height:auto!important;min-height:0!important;overflow:hidden!important}
 #main [data-view-panel=contact] .contact-form{align-content:stretch!important;height:100%!important;min-height:0!important}
 #main [data-view-panel=contact] .field-group textarea{min-height:82px!important}
}

/* Final cascade guard: keep the refined Home proportions active after all legacy layers. */
@media(min-width:821px){
 .persistent-profile .portrait-stage{flex:0 0 clamp(230px,32vh,340px)!important;height:auto!important;min-height:0!important}
 .persistent-profile .portrait-stage img{object-position:center 14%!important;transform:scale(1.01)!important}
 .persistent-profile .profile-copy{flex:1 1 auto!important;display:flex!important;flex-direction:column!important;justify-content:center!important;min-height:0!important;padding:clamp(18px,1.35vw,25px)!important}
 .persistent-profile .profile-copy h2{font-size:clamp(1.45rem,1.55vw,1.8rem)!important;line-height:1.05!important}
 .persistent-profile .profile-role{margin-top:6px!important;font-size:clamp(.79rem,.75vw,.91rem)!important;line-height:1.35!important}
 .persistent-profile .profile-copy>p:not(.profile-role){margin-top:12px!important;font-size:clamp(.78rem,.72vw,.9rem)!important;line-height:1.55!important}
 .persistent-profile .profile-meta{margin-top:14px!important;font-size:clamp(.68rem,.62vw,.78rem)!important}
 #main>.home-view .home-content{grid-template-rows:minmax(0,1.36fr) minmax(0,.64fr)!important;gap:14px!important}
 #main>.home-view .home-evidence{grid-template-rows:minmax(112px,.52fr) minmax(112px,.48fr)!important;gap:14px!important;overflow:visible!important}
 .home-view .hero-copy{padding:clamp(28px,2.2vw,42px)!important;background-position:center,right center!important;background-size:auto,auto 94%!important}
 .home-view .hero-copy h1{max-width:15ch!important;font-size:clamp(2.85rem,3.7vw,4.8rem)!important;line-height:.98!important;letter-spacing:-.052em!important}
 .home-view .hero-summary{max-width:56ch!important;margin-top:clamp(12px,1.2vh,18px)!important;font-size:clamp(.88rem,.82vw,1.02rem)!important;line-height:1.5!important}
 .home-view .home-actions{margin-top:clamp(14px,1.5vh,22px)!important}
 .home-view .hero-proof{margin-top:clamp(13px,1.4vh,20px)!important}
 .home-view .hero-detail{margin-top:clamp(12px,1.3vh,18px)!important}
 .home-view .metrics{height:auto!important;gap:14px!important;overflow:visible!important}
 .home-view .metric-card{display:grid!important;grid-template-columns:42px minmax(0,1fr)!important;align-items:center!important;gap:13px!important;height:auto!important;min-height:112px!important;padding:16px 18px!important}
 .home-view .home-showcase{height:auto!important;gap:14px!important;overflow:visible!important}
 .home-view .home-showcase article{height:auto!important;min-height:112px!important;padding:12px 16px!important}
 .home-view .home-showcase .text-link{min-height:0!important;margin-top:auto!important;padding-top:5px!important;font-size:.68rem!important;line-height:1!important}
 .project-grid{gap:14px!important;overflow:visible!important;padding:1px!important}
 .project-card .project-visual{height:100%!important;min-height:0!important}
 .project-card .project-visual img{width:min(72%,clamp(84px,9vh,132px))!important;height:min(78%,clamp(84px,9vh,132px))!important;object-fit:contain!important}
}

@media(min-width:821px) and (max-height:820px){
 .persistent-profile .portrait-stage{flex-basis:210px!important}
 .persistent-profile .profile-copy{padding:14px 18px!important}
 .persistent-profile .profile-copy>p:not(.profile-role){margin-top:8px!important;font-size:.72rem!important;line-height:1.42!important}
 .persistent-profile .profile-meta{margin-top:8px!important}
 .home-view .hero-copy{padding:22px 28px!important}
 #main>.home-view .home-evidence{grid-template-rows:98px 98px!important}
 .home-view .metrics,.home-view .home-showcase{height:98px!important;min-height:0!important}
 .home-view .metric-card,.home-view .home-showcase article{height:98px!important;min-height:0!important;padding-block:10px!important}
 .home-view .metric-card strong{font-size:1.65rem!important}
 .home-view .home-showcase .eyebrow{font-size:.58rem!important}
 .home-view .home-showcase h2{font-size:.88rem!important}
 .home-view .home-showcase p:not(.eyebrow){font-size:.62rem!important;line-height:1.2!important}
 .home-view .home-showcase .text-link{font-size:.62rem!important;padding-top:3px!important}
 .home-view .metric-action{display:none!important}
 .home-view .metric-card p{margin-top:3px!important;font-size:.7rem!important}
 .home-view .metric-context{margin-top:2px!important;font-size:.6rem!important}
 .home-view .home-showcase article{grid-template-rows:auto minmax(0,1fr) auto!important;align-content:stretch!important}
 .home-view .home-showcase p:not(.eyebrow){display:none!important}
 .home-view .home-showcase .text-link{align-self:end!important;margin-top:4px!important}
}

/* Editorial balance pass: tighter identity rail, calmer globe, stronger proof hierarchy. */
@media(min-width:821px){
 .persistent-profile .portrait-stage{flex-basis:clamp(250px,28vh,305px)!important}
 .persistent-profile .profile-copy{justify-content:flex-start!important;padding:clamp(22px,1.6vw,30px)!important}
 .persistent-profile .profile-copy h2{font-size:clamp(1.5rem,1.6vw,1.9rem)!important}
 .persistent-profile .profile-role{font-size:clamp(.82rem,.78vw,.96rem)!important}
 .persistent-profile .profile-copy>p:not(.profile-role){max-width:31ch;margin-top:14px!important;font-size:clamp(.8rem,.74vw,.92rem)!important;line-height:1.58!important}
 .persistent-profile .profile-meta{margin-top:16px!important}

 #main>.home-view .home-evidence{grid-template-rows:minmax(124px,1.18fr) minmax(104px,.82fr)!important}
 .home-view .hero-copy{padding-inline:clamp(34px,2.8vw,52px)!important;background-image:linear-gradient(90deg,rgba(5,19,35,.995) 0%,rgba(5,19,35,.975) 43%,rgba(5,19,35,.82) 68%,rgba(5,19,35,.38) 100%),url("hero-earth.png")!important;background-position:center,right center!important;background-size:auto,auto 86%!important}
 .home-view .hero-copy h1{max-width:14ch!important}
 .home-view .hero-summary{max-width:54ch!important}

 .home-view .metric-card{min-height:124px!important;padding:17px 19px!important}
 .home-view .metric-label{display:block;margin-bottom:7px;color:var(--blue);font-size:.62rem;font-weight:850;letter-spacing:.13em;line-height:1;text-transform:uppercase}
 .home-view .metric-card strong{display:block}

 .home-view .home-showcase article{min-height:104px!important;align-content:start!important;padding:13px 16px!important}
 .home-view .home-showcase .text-link{align-self:start!important;margin-top:9px!important;padding-top:0!important}
 .home-view .showcase-brands{grid-template-rows:auto auto auto!important;align-content:start!important}
 .home-view .showcase-brands>div{grid-row:1 / span 2!important}
 .home-view .showcase-brands .text-link{grid-row:3!important}
}

@media(min-width:821px) and (max-height:820px){
 .persistent-profile .portrait-stage{flex-basis:205px!important}
 .persistent-profile .profile-copy{padding:14px 18px!important}
 .home-view .metric-label{display:none!important}
 #main>.home-view .home-evidence{grid-template-rows:98px 98px!important}
 .home-view .metric-card{min-height:0!important;height:98px!important;padding:10px 14px!important}
 .home-view .home-showcase article{min-height:0!important;height:98px!important}
}

@media(max-width:820px){
 .home-view .metric-label{display:none!important}
}

/* Desktop composition fix: size the rail by its content and give the lower
   proof area a real share of the page instead of letting the hero consume it. */
@media(min-width:821px) and (min-height:821px){
 .persistent-profile{align-content:start!important;align-items:start!important}
 .persistent-profile .profile-card{align-self:start!important;flex:0 0 auto!important;block-size:max-content!important;height:max-content!important;max-height:none!important;min-height:0!important}
 .persistent-profile .portrait-stage{box-sizing:border-box!important;flex:0 0 clamp(340px,32vh,390px)!important;height:clamp(340px,32vh,390px)!important;padding-top:12px!important}
 .persistent-profile .portrait-stage img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center bottom!important;transform:none!important}
 .persistent-profile .profile-copy{align-self:stretch!important;flex:0 0 auto!important;block-size:max-content!important;height:auto!important;min-height:0!important;padding:20px 24px 22px!important}
 .persistent-profile .profile-copy>p:not(.profile-role){max-width:30ch!important;margin-top:12px!important;line-height:1.48!important}
 .persistent-profile .profile-meta{margin-top:13px!important}

 #main>.home-view .home-content{grid-template-rows:minmax(0,1.12fr) minmax(0,.88fr)!important;gap:14px!important}
 #main>.home-view .home-evidence{grid-template-rows:minmax(132px,.78fr) minmax(150px,1.22fr)!important;gap:14px!important}
 .home-view .hero-copy{padding:clamp(26px,2vw,38px)!important;background-size:auto,auto 88%!important}
 .home-view .hero-copy h1{font-size:clamp(2.75rem,3.45vw,4.35rem)!important}
 .home-view .metric-card{min-height:0!important;height:auto!important;padding:15px 18px!important}
 .home-view .home-showcase article{min-height:0!important;height:auto!important;padding:14px 16px!important}
}

/* Responsive consistency layer. Component proportions stay recognizable while
   each breakpoint is allowed to reflow instead of shrinking desktop layouts. */
@media(min-width:821px){
 .topbar,#main,#main>.view,.persistent-profile .profile-card,.hero-copy,.metric-card,.home-showcase article,.company-card,.service-group,.project-card,.contact-intro,.contact-panel,.jobs-mockup{box-sizing:border-box!important}
 #main>.view{container-type:inline-size}
 .home-view .metrics,.home-view .home-showcase{align-items:stretch!important}
 .home-view .metric-card,.home-view .home-showcase article{width:100%!important;overflow:hidden!important}
}

@media(min-width:821px) and (max-height:820px){
 .persistent-profile{align-content:start!important;align-items:start!important}
 .persistent-profile .profile-card{align-self:start!important;flex:0 0 auto!important;block-size:max-content!important;height:max-content!important;max-height:none!important}
 .persistent-profile .portrait-stage{flex:0 0 clamp(205px,31vh,238px)!important;height:clamp(205px,31vh,238px)!important}
 .persistent-profile .portrait-stage img{object-fit:contain!important;object-position:center bottom!important;transform:none!important}
 .persistent-profile .profile-copy{align-self:stretch!important;flex:0 0 auto!important;block-size:max-content!important;height:auto!important;overflow:visible!important}
 .home-view .hero-copy{min-height:0!important}
 .home-view .metrics,.home-view .home-showcase{min-height:0!important}
}

@media(max-width:820px){
 html,body{overflow-x:hidden!important}
 #main,#main>.view,.home-content,.hero-copy,.metrics,.home-showcase,.company-portfolio-grid,.service-groups,.project-grid,.contact-layout,.jobs-stage{width:100%!important;max-width:100%!important;box-sizing:border-box!important}
 #main>.view{overflow:visible!important}
 .home-view .metric-card,.home-view .home-showcase article,.company-card,.service-group,.project-card,.contact-intro,.contact-panel{width:100%!important;min-width:0!important;box-sizing:border-box!important}
 .topbar .brand-mark{display:grid!important;place-items:center}
 .topbar .brand-mark img{display:none!important}
 .topbar .brand-mark::after{content:"JI";display:grid;place-items:center;width:30px;height:30px;border:1px solid color-mix(in srgb,var(--blue) 42%,var(--line));border-radius:10px;background:var(--panel2);color:var(--blue);font-size:.68rem;font-weight:900;letter-spacing:-.04em}
 .site-footer .portfolio-support{display:flex!important;left:10px!important;bottom:calc(84px + env(safe-area-inset-bottom))!important;width:40px!important;height:40px!important}
 .site-footer .portfolio-support img{width:32px!important;height:32px!important}
 .site-footer .portfolio-support span{display:none!important}
 .site-footer .visit-counter{display:flex!important;right:10px!important;bottom:calc(86px + env(safe-area-inset-bottom))!important;width:max-content!important;height:34px!important;padding:6px 10px!important}
}

/* Final wide-screen cascade lock. */
@media(min-width:1440px) and (min-height:900px){
 :root{--page:min(1680px,calc(100vw - 48px))!important;--rail:310px!important;--gap:20px!important}
 #main{height:calc(100dvh - 32px)!important;margin:16px auto!important}
 #main>.persistent-profile{padding:16px!important;gap:14px!important}
 .persistent-profile .portrait-stage{height:clamp(285px,30vh,360px)!important;flex-basis:clamp(285px,30vh,360px)!important;padding:0!important}
 .persistent-profile .portrait-stage img{object-fit:contain!important;object-position:center bottom!important;transform:none!important}
 .persistent-profile .profile-copy{display:block!important;flex:0 0 auto!important;padding:16px 4px 2px!important}
 .persistent-profile .profile-copy h2{font-size:1.65rem!important;line-height:1!important;white-space:nowrap!important}
 .persistent-profile .profile-role{max-width:24ch!important;font-size:.86rem!important;line-height:1.3!important}
 .persistent-profile .profile-copy>p:not(.profile-role){display:block!important;max-width:29ch!important;margin-top:13px!important;overflow:visible!important;font-size:.8rem!important;line-height:1.52!important;-webkit-line-clamp:unset!important}
 .persistent-profile .profile-meta{margin-top:13px!important;font-size:.71rem!important}
 .desktop-side-menu .site-nav{gap:5px!important}
 .desktop-side-menu .site-nav a{min-height:39px!important;padding:9px 12px 9px 36px!important;font-size:.8rem!important}
 .persistent-profile .profile-socials{flex-basis:auto!important}
 .persistent-profile .profile-socials a{min-height:38px!important;font-size:.75rem!important}
 #main>.view{padding:18px!important}
 #main>.home-view .home-content{grid-template-rows:minmax(320px,1.42fr) minmax(0,1.58fr)!important;gap:14px!important}
 #main>.home-view .home-evidence{grid-template-rows:104px minmax(0,1fr) 56px!important;gap:10px!important;overflow:hidden!important}
 .home-view .hero-copy{padding:clamp(38px,3vw,58px)!important;background-size:auto,auto 108%!important}
 .home-view .hero-copy h1{font-size:clamp(3.25rem,3.6vw,4.5rem)!important}
 .home-view .hero-summary{font-size:.95rem!important}
 .home-view .home-actions button{min-height:43px!important;font-size:.82rem!important}
 .home-view .hero-proof span{font-size:.73rem!important}
 .home-view .metrics{height:104px!important;gap:12px!important}
 .home-view .metric-card{height:104px!important;min-height:104px!important;padding:15px 18px!important}
 .home-view .metric-label{font-size:.58rem!important}
 .home-view .metric-card strong{font-size:clamp(1.65rem,1.7vw,2rem)!important}
 .home-view .metric-card p{font-size:.72rem!important}
 .home-view .metric-context{font-size:.63rem!important}
 .featured-work__header h2{font-size:1.16rem!important}
 .featured-work__header p,.featured-work__header .text-link{font-size:.69rem!important}
 .featured-work__card span{font-size:.55rem!important}
 .featured-work__card h3{font-size:.94rem!important}
 .home-proof-banner{min-height:56px!important}
 .home-proof-banner strong{font-size:.78rem!important}
 .home-proof-banner small,.home-proof-banner>b{font-size:.63rem!important}
}
