/* SOUTO DI: visual review, based on the approved six-section reference. */
.portfolio{--bg:#0d1113;--ink:#f3f4f3;--muted:#aab0b2;--line:#2b3235;--green:#4ce13e;--deep:#68ec5c;--dark:#101416;--max:1320px;background:var(--bg);color:var(--ink);font-family:'Segoe UI',Arial,sans-serif;-webkit-font-smoothing:antialiased}
.portfolio h1,.portfolio h2,.portfolio h3{letter-spacing:-.035em}
.portfolio .header{position:sticky;top:0;z-index:30;min-height:76px;padding:10px max(32px,calc((100vw - 1160px)/2));gap:24px;background:#101416f5;backdrop-filter:blur(14px);border-bottom:1px solid #353c3f}
.portfolio .brand img{width:132px;height:49px;object-fit:contain}
.portfolio .header nav{gap:30px;font-size:13px}
.portfolio .header nav a{min-height:44px;display:flex;align-items:center;position:relative;text-decoration:none}
.portfolio .header nav a[aria-current=page]{color:var(--green)}
.portfolio .header nav a[aria-current=page]:after{content:'';position:absolute;bottom:4px;left:0;right:0;height:2px;background:var(--green)}
.portfolio .header .contact-link{border:0;padding:10px 0}
.header-location{font-size:10px;color:var(--muted);letter-spacing:.12em}
.portfolio .skip{color:#101416;background:var(--green)}
.portfolio :is(a,button,summary,input,textarea,select,[tabindex]):focus-visible{outline:2px solid var(--green);outline-offset:5px}
.portfolio main:focus{outline:0}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.ui-icon{display:inline-block;flex:none;object-fit:contain;width:18px;height:18px;filter:invert(1);vertical-align:middle}
.ui-icon.reverse{transform:rotate(180deg)}
.portfolio .button{display:inline-flex;align-items:center;justify-content:center;gap:14px;min-height:44px;padding:12px 20px;font-size:12px;font-weight:600;line-height:1.3;border-radius:3px;transition:background .2s,border-color .2s,transform .2s;letter-spacing:0}
.portfolio .button:hover{filter:none;transform:translateY(-2px)}
.portfolio .button.primary{background:var(--green);border-color:var(--green);color:#10200f}
.portfolio .button.primary .ui-icon{filter:none}
.portfolio .button.ghost,.portfolio .button.secondary{color:var(--ink);border-color:#8b9193;background:transparent}
.portfolio .button.ghost:hover{background:#20282b}
.portfolio .button:not(.primary):not(.ghost):not(.secondary){background:var(--green);color:#10200f;border-color:var(--green)}
.section-shell{width:min(100%,1420px);margin:auto;position:relative;display:grid;grid-template-columns:132px minmax(0,1fr);column-gap:26px;padding:25px 32px}
.section-rail{display:flex;align-items:flex-start;flex-direction:column;padding-top:2px;gap:10px;font-size:12px;line-height:1.35;min-width:0}
.rail-number{display:inline-flex;align-items:center;justify-content:center;min-width:29px;min-height:28px;font-size:21px;font-weight:700;letter-spacing:-.07em;color:#0b2108;background:var(--green);border-radius:2px;padding:0 4px}
.section-rail strong{font-size:13px;line-height:1.3;max-width:125px}
.section-rail p{color:var(--muted);font-size:12px;line-height:1.35}
.rail-line{width:1px;min-height:40px;max-height:130px;flex:1;background:#677073;margin:4px 0 -9px 10px}
.section-rail>.ui-icon{width:21px;height:21px}
.section-body{min-width:0}
.home-hero{position:relative;isolation:isolate;overflow:hidden;background:#0c1012;border-bottom:1px solid #353b3d}
.hero-scene,.contact-scene{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-1}
.hero-scene{object-position:center}
.hero-shell{min-height:460px;padding-top:35px;padding-bottom:38px;align-items:center}
.hero-shell .section-rail{align-self:stretch;padding-top:12px;padding-bottom:15px}
.hero-content{max-width:580px;position:relative;z-index:1}
.hero-location{font-size:10px;color:#c3ccca;letter-spacing:.09em;margin-bottom:12px}
.hero-content h1{line-height:1}
.signature{width:238px;height:136px;object-fit:contain;object-position:left center;margin:0 0 10px -5px;filter:brightness(1.35)}
.hero-disciplines{font-size:23px;line-height:1.35;letter-spacing:-.025em;font-weight:500;max-width:570px;text-wrap:balance}
.hero-description{font-size:13px;line-height:1.5;margin-top:17px;color:#d2d7d6;max-width:410px}
.hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:22px}
.hero-side-note{position:absolute;right:32px;bottom:38px;padding-left:10px;border-left:2px solid var(--green);font-size:10px;line-height:1.3;color:#d4d8d7}
.scene-credit{position:absolute;right:32px;bottom:8px;color:#a4abaa;font-size:9px;letter-spacing:.02em}
.home-section{border-bottom:1px solid #2e3538;background:#101416}
.home-section:nth-of-type(odd){background:#0d1214}
.home-section-head{display:flex;align-items:center;gap:16px;margin-bottom:20px;min-height:30px}
.home-section-head h2{display:flex;align-items:center;gap:16px;font-size:25px;line-height:1.15;font-weight:650;white-space:nowrap}
.home-section-head h2:after{content:'';height:1px;width:48px;background:var(--green);flex:none}
.home-section-head>p{margin-left:auto;text-align:right;text-transform:uppercase;font-size:9px;letter-spacing:.035em;line-height:1.4;color:#a2aaad;max-width:230px}
.specialty-cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.specialty-card{background:#161c1f;border:1px solid #343c40;border-radius:4px;overflow:hidden;display:flex;flex-direction:column;text-decoration:none!important;transition:transform .2s,border-color .2s;min-width:0}
.specialty-card:hover{transform:translateY(-4px);border-color:var(--green)}
.specialty-photo{aspect-ratio:1.18;width:100%;object-fit:cover}
.specialty-copy{padding:12px;display:flex;flex-direction:column;align-items:flex-start;flex:1}
.specialty-symbol{object-fit:contain;margin-bottom:12px}
.specialty-copy h3{font-size:15px;font-weight:650;line-height:1.15;margin-bottom:9px;letter-spacing:-.025em}
.specialty-copy p{font-size:12px;line-height:1.4;color:#c4c9c9;margin-bottom:14px}
.circle-arrow{margin-top:auto;border:1px solid #828b8d;border-radius:50%;width:28px;height:28px;display:flex;align-items:center;justify-content:center}
.circle-arrow .ui-icon{width:15px;height:15px}
.asset-note{font-size:9px;color:#899396;margin-top:10px;text-align:right;line-height:1.4}
.carousel-controls{display:flex;gap:6px}
.icon-button{width:38px;height:38px;display:flex;align-items:center;justify-content:center;border:1px solid #687477;border-radius:50%;background:transparent;flex:none;transition:border-color .2s,background .2s}
.icon-button:hover:not(:disabled){border-color:var(--green);background:#263226}
.icon-button:disabled{opacity:.28;cursor:default}
.featured-track{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#4a6a49 #151d1e;padding:0 0 10px}
.featured-card{flex:0 0 calc((100% - 48px)/5);min-width:160px;scroll-snap-align:start;background:#171e21;border:1px solid #354044;border-radius:4px;overflow:hidden;transition:border-color .2s;text-decoration:none!important}
.featured-card:hover{border-color:var(--green)}
.featured-photo{position:relative;aspect-ratio:1.05;overflow:hidden;background:#11191b}
.featured-photo>img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.featured-card:hover .featured-photo>img{transform:scale(1.04)}
.project-origin{position:absolute;top:8px;left:8px;background:#0c1514e6;color:#d2e2ce;border:1px solid #576252;font-size:8px;padding:4px 6px;border-radius:2px;letter-spacing:.05em}
.featured-caption{position:relative;min-height:80px;padding:12px 32px 12px 11px}
.featured-caption h3{font-size:13px;font-weight:600;line-height:1.2;letter-spacing:-.02em;margin-bottom:5px}
.featured-caption p{font-size:10px;color:#aeb9ba;line-height:1.35}
.featured-caption>.ui-icon{position:absolute;right:9px;bottom:15px;width:17px;height:17px}
.project-no{display:none}
.featured-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:10px;color:#98a4a6;margin-top:8px}
.subtle-link{display:inline-flex;align-items:center;gap:8px;font-size:11px;color:#dee6e2;min-height:32px}
.subtle-link:hover{color:var(--green)}
.subtle-link .ui-icon{width:15px;height:15px}
.home-empty{min-height:200px;padding:35px;border:1px solid var(--line);width:100%}
.home-empty a{color:var(--green);text-decoration:underline}
.tools-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.tools-panel{border:1px solid #343d41;border-radius:4px;background:#13191c;padding:6px 16px}
.tool-row+ .tool-row{border-top:1px solid #283235}
.tool-row summary{display:flex;align-items:center;gap:14px;cursor:pointer;min-height:63px;list-style:none}
.tool-row summary::-webkit-details-marker{display:none}
.tool-row summary>img{object-fit:contain;flex:none}
.tool-row summary>span:not(.tool-action){flex:1;min-width:0}
.tool-row strong{display:block;font-size:14px;font-weight:500}
.tool-row small{display:block;font-size:10px;color:#9aa7aa;margin-top:3px}
.tool-action{display:flex;align-items:center;gap:7px;flex:none;font-size:10px;color:var(--green)}
.tool-action .ui-icon{width:13px;height:13px;filter:invert(76%) sepia(92%) saturate(795%) hue-rotate(56deg)}
.tool-row[open] .tool-action .ui-icon{transform:rotate(90deg)}
.tool-row>p{font-size:12px;line-height:1.5;padding:0 0 15px 48px;color:#b8c3c3}
.skill-strips{margin-top:14px}
.micro-label{font-size:9px;letter-spacing:.09em;color:var(--green);font-weight:600;flex:none}
.language-strip{display:flex;gap:22px;align-items:center;font-size:11px;padding:12px 0;border-bottom:1px solid #2b3537;flex-wrap:wrap}
.language-strip small{color:#95a4a7;font-size:10px;margin-left:5px}
.method-strip{display:flex;align-items:flex-start;gap:18px;padding-top:14px;flex-wrap:wrap}
.method-strip>.micro-label{padding-top:3px}
.method-strip details{flex:1;min-width:120px}
.method-strip summary{font-size:11px;line-height:1.5;color:#c5d0ce;cursor:pointer;min-height:26px}
.method-strip p{font-size:11px;color:#98a9ab;line-height:1.5;padding-top:8px}
.career-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));margin-top:28px}
.career-tabs button{display:flex;align-items:flex-start;flex-direction:column;text-align:left;background:none;border:0;color:#c4cece;padding:0 16px 0 0;min-width:0;position:relative}
.career-tabs button:after{content:'';position:absolute;height:1px;left:0;right:0;top:33px;background:#505d61}
.career-date{font-size:11px;white-space:nowrap;margin-bottom:15px}
.career-node{width:12px;height:12px;border:2px solid #9faeb0;border-radius:50%;background:#101719;position:relative;z-index:1;margin-bottom:16px;flex:none}
.career-tabs strong{font-size:14px;font-weight:650;line-height:1.3;margin-bottom:5px;letter-spacing:-.02em}
.career-tabs small{font-size:10px;line-height:1.3;color:#a2b0b2;min-height:26px}
.career-tabs button[aria-selected=true]{color:var(--green)}
.career-tabs button[aria-selected=true] .career-node{border-color:var(--green);background:#1b4c1b}
.career-tabs button:hover strong{color:var(--green)}
.career-panel{display:grid;grid-template-columns:105px 1fr auto;align-items:center;gap:16px;border:1px solid #36423e;border-left:2px solid var(--green);padding:13px 16px;background:#151e1c;margin-top:20px;min-height:76px}
.career-panel p{font-size:12px;color:#c6d1cd;line-height:1.5}
.teaching-strip{display:flex;gap:32px;margin-top:19px;flex-wrap:wrap}
.teaching-strip p{color:#aab9b9;font-size:11px;line-height:1.5;margin-top:5px}
.home-contact{isolation:isolate;position:relative;overflow:hidden}
.home-contact .section-shell{min-height:285px;align-items:center;padding-top:34px;padding-bottom:34px}
.home-contact .section-rail{align-self:stretch}
.contact-scene{object-position:center}
.contact-content h2{font-size:30px;font-weight:600;margin-bottom:15px;line-height:1.1}
.contact-content>p{font-size:13px;line-height:1.5;color:#d3dedb;max-width:410px}
.mail-link{display:flex;align-items:center;gap:12px;font-size:12px;margin-top:20px;width:fit-content}
.mail-link .ui-icon{width:20px;height:20px}
.contact-location{display:block;color:#95a6a5;font-size:10px;margin-top:14px}
.portfolio footer{background:#0b1012;border-top:0;padding:25px max(32px,calc((100vw - 1160px)/2));font-size:11px;gap:30px}
.portfolio footer .footer-logo{width:115px;height:43px;object-fit:contain}
.portfolio footer p{line-height:1.5;color:#93a1a3}
.footer-links{display:flex;gap:22px}
.portfolio footer small{font-size:9px;color:#8b999b}
/* Existing inner routes retain their layout and adopt the approved dark identity. */
.portfolio .page-head .eyebrow,.portfolio .breadcrumb{color:var(--green)}
.portfolio .page-head h1{font-size:clamp(42px,5vw,72px);font-weight:550}
.portfolio .project-grid{gap:30px 22px}
.portfolio .project-card .photo{background:#1b2528;border:1px solid #364044;border-radius:4px}
.portfolio .project-card h3{font-size:25px}
.portfolio .project-cover{background:#1a2428;border-radius:4px}
.portfolio .filter{min-height:44px;border-color:#3d4a4e;color:#d5dfde}
.portfolio .filter:hover{border-color:var(--green)}
.portfolio .filter[aria-pressed=true]{background:var(--green);border-color:var(--green);color:#10200f}
.portfolio .contact-section{background:#151e1c;border-top:1px solid #36423e;padding:45px 0}
.portfolio .contact-section h2{font-size:38px}
.portfolio .contact-section .eyebrow{color:#91ab91}
.portfolio .gallery img{border-radius:4px}
.portfolio .tag{color:#b6c7c1;border-color:#3d4b47}
.portfolio .timeline summary{color:#e3ebe5;min-height:36px}
.portfolio .profile-page h2{font-size:26px}
.portfolio .profile-page aside .button{margin-top:10px}
.portfolio .notice{background:#1a281d}
@media(min-width:1500px){.portfolio .header{padding-left:calc((100vw - 1200px)/2);padding-right:calc((100vw - 1200px)/2)}}
@media(max-width:1100px){
 .section-shell{grid-template-columns:110px minmax(0,1fr);gap:20px;padding:22px}
 .hero-shell{min-height:375px;padding-top:28px;padding-bottom:30px}
 .hero-content{max-width:480px}.hero-disciplines{font-size:20px}.signature{width:218px;height:125px}
 .hero-location{font-size:9px;margin-bottom:8px}.hero-description{font-size:12px;margin-top:13px}
 .hero-actions{margin-top:18px}.hero-side-note{right:22px;bottom:35px;font-size:9px}
 .home-section-head h2{font-size:23px;gap:12px}.home-section-head h2:after{width:40px}
 .specialty-cards{gap:9px}.specialty-copy{padding:10px}.specialty-copy h3{font-size:13px}.specialty-copy p{font-size:11px}.specialty-copy .specialty-symbol{margin-bottom:10px;width:21px;height:21px}
 .featured-card{flex-basis:calc((100% - 36px)/4);min-width:145px}.featured-photo{aspect-ratio:1.15}
 .home-section-head>p{font-size:8px;max-width:180px}.section-rail strong{font-size:12px}.section-rail p{font-size:11px}
 .tools-panel{padding:4px 13px}.tool-row summary{gap:11px;min-height:58px}.tool-row strong{font-size:13px}.tool-row summary>img{width:29px;height:29px}
 .tool-row small{font-size:9px}.tool-action{font-size:9px;gap:3px}
 .career-panel{grid-template-columns:85px 1fr;gap:12px}.career-panel .subtle-link{grid-column:2;min-height:20px}.career-tabs strong{font-size:13px}
 .home-contact .section-shell{min-height:270px}.contact-content h2{font-size:28px}.contact-content>p{font-size:12px}
 .portfolio .header{padding-left:8%;padding-right:5%}.header-location{display:none}
}
@media(max-width:760px){
 .portfolio .header{min-height:68px;padding:9px 22px;gap:18px;flex-wrap:nowrap}.portfolio .brand img{width:110px;height:41px}.portfolio .header nav{gap:18px;font-size:12px}
 .section-shell{grid-template-columns:78px minmax(0,1fr);padding:24px 20px;gap:16px}
 .section-rail strong{font-size:10px}.section-rail p{font-size:10px}.rail-number{font-size:19px;min-width:26px;min-height:26px}.rail-line{max-height:100px}
 .hero-shell{min-height:410px}.hero-scene{object-position:60% center;opacity:.67}.hero-disciplines{font-size:20px;max-width:410px}.hero-description{max-width:325px}.hero-side-note{display:none}
 .home-section-head{flex-wrap:wrap;gap:8px;margin-bottom:18px}.home-section-head h2{font-size:22px;white-space:normal}.home-section-head>p{max-width:none;text-align:left;margin:0}.home-section-head h2:after{width:30px}
 .specialty-cards{grid-template-columns:repeat(5,170px);overflow-x:auto;padding-bottom:12px;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#51724a #15201a;gap:12px}.specialty-card{scroll-snap-align:start}.specialty-copy h3{font-size:15px}.specialty-copy p{font-size:12px}
 .featured-card{flex-basis:calc((100% - 12px)/2);min-width:185px}.featured-photo{aspect-ratio:1.16}.featured-bottom>span{max-width:190px;font-size:9px}.featured-bottom .subtle-link{font-size:10px}
 .carousel-controls{margin-left:auto}.tools-grid{grid-template-columns:1fr}.tool-row strong{font-size:14px}.tool-row small{font-size:10px}.tool-row summary{min-height:61px}.tool-action{font-size:10px}
 .method-strip{gap:12px}.method-strip>.micro-label{width:100%}.method-strip details{min-width:100%;flex:none}.method-strip summary{min-height:36px}
 .language-strip{gap:10px 20px}.language-strip>.micro-label{width:100%}
 .career-tabs{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding:4px 0 10px;scrollbar-width:thin;scrollbar-color:#51724a #15201a;gap:0}.career-tabs button{flex:0 0 135px;min-height:100px;scroll-snap-align:start}.career-tabs strong{font-size:14px}
 .career-panel{grid-template-columns:1fr;gap:8px}.career-panel .subtle-link{grid-column:1}.teaching-strip{gap:14px}
 .home-contact .section-shell{min-height:310px}.contact-scene{opacity:.45;object-position:64% center}.contact-content h2{font-size:27px}.contact-content>p{max-width:310px}
 .portfolio footer{padding:24px 22px;gap:22px;flex-direction:row;align-items:center}.footer-links{gap:16px}.portfolio footer small{width:100%}
}
@media(max-width:540px){
 .portfolio .header{padding:9px 16px;gap:12px;flex-wrap:wrap}.portfolio .header nav{width:100%;padding:0;border:0;gap:0;justify-content:space-between;font-size:12px}.portfolio .header nav a{min-height:44px;padding:6px 0}.portfolio .header nav a[aria-current=page]:after{bottom:0}.portfolio .brand img{width:105px;height:39px}.portfolio .header{gap:4px;min-height:105px}
 .section-shell{grid-template-columns:1fr;padding:24px 18px;gap:16px}.section-rail{flex-direction:row;align-items:center;gap:9px;padding:0}.section-rail strong{font-size:10px;letter-spacing:.07em;max-width:none}.section-rail p,.section-rail .rail-line,.section-rail>.ui-icon{display:none}.rail-number{min-width:24px;min-height:23px;font-size:17px}
 .hero-shell{min-height:535px;display:flex;flex-direction:column;align-items:flex-start;padding-top:20px;padding-bottom:40px;justify-content:flex-start;gap:24px}.hero-shell .section-rail{align-self:auto;padding:0}.hero-location{font-size:9px}.hero-scene{object-position:59% center;opacity:.5}.hero-content{width:100%;max-width:100%}.signature{width:225px;height:129px;margin-bottom:16px}.hero-disciplines{font-size:21px;line-height:1.35;max-width:345px}.hero-description{font-size:12px;max-width:320px;line-height:1.65;margin-top:16px}.hero-actions{gap:9px;margin-top:20px}.portfolio .button{padding:12px 15px;font-size:11px;gap:10px}.scene-credit{right:18px;font-size:8px;bottom:8px}
 .home-section-head{gap:10px}.home-section-head h2{font-size:24px}.home-section-head h2:after{width:32px}.home-section-head>p{font-size:8px;flex-basis:100%}.home-section-head .carousel-controls{margin:0 0 0 auto;position:absolute;right:18px;top:15px}.carousel-controls .icon-button{width:44px;height:44px}
 .specialty-cards{grid-template-columns:repeat(5,192px);gap:12px}.specialty-photo{aspect-ratio:1.35}.specialty-copy{padding:14px}.specialty-copy h3{font-size:16px}.specialty-copy p{font-size:12px}.specialty-symbol{width:24px!important;height:24px!important}.asset-note{text-align:left;font-size:9px}
 .featured-card{flex-basis:74%;min-width:225px}.featured-photo{aspect-ratio:1.25}.featured-caption h3{font-size:15px}.featured-caption p{font-size:11px}.featured-caption{min-height:83px;padding:14px 35px 14px 13px}.featured-bottom{align-items:start;gap:12px}.featured-bottom>span{max-width:190px;line-height:1.5}.featured-bottom .subtle-link{min-height:28px;white-space:nowrap}
 .tools-panel{padding:3px 13px}.tool-row summary{gap:13px;min-height:65px}.tool-row summary>img{width:31px;height:31px}.tool-row strong{font-size:15px}.tool-row small{font-size:10px}.tool-action{font-size:10px}.tool-row>p{padding-left:44px}
 .language-strip{gap:12px 18px;font-size:12px;padding-top:7px;padding-bottom:16px}.language-strip small{font-size:10px}.method-strip{padding-top:16px}.method-strip summary{font-size:12px;min-height:44px}.method-strip p{font-size:12px}
 .career-tabs{margin-top:16px}.career-tabs button{flex-basis:142px}.career-panel{padding:14px;min-height:130px}.career-panel p{font-size:13px}.teaching-strip p{font-size:12px}.teaching-strip{margin-top:20px;gap:18px}
 .home-contact .section-shell{min-height:355px;gap:26px;padding-top:24px;padding-bottom:35px}.contact-content h2{font-size:30px}.contact-content>p{font-size:13px;max-width:340px}.contact-scene{object-position:65% center;opacity:.35}.mail-link{font-size:13px}.contact-content .hero-actions{margin-top:20px}.contact-location{font-size:10px;margin-top:18px}
 .portfolio footer{padding:24px 18px;gap:20px 25px}.footer-links{width:100%;justify-content:space-between;font-size:12px;gap:8px}.footer-links a{min-height:44px;display:flex;align-items:center}.portfolio footer p{font-size:10px}.portfolio footer small{font-size:9px}.subtle-link{min-height:44px}
 .portfolio .project-card h3{font-size:25px}.portfolio .contact-section h2{font-size:31px}.portfolio .contact-section{padding:35px 0}.portfolio .page-head h1{font-size:43px}.portfolio .profile-page{gap:35px}.portfolio .contact-email{font-size:clamp(22px,7vw,36px)}
}
@media(prefers-reduced-motion:reduce){.portfolio *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
