/* Final portfolio and responsive refinement. */
html{scrollbar-gutter:stable;color-scheme:dark}
html,dialog,#terminal-output{scrollbar-color:#4d693b #091009;scrollbar-width:thin}
body{overflow-wrap:break-word}
.section-index,.hero-topline{font-size:12px}
.eyebrow{font-size:12px;line-height:1.8}
.hero-note,.hero-bottom,.experience-controls button{font-size:11px}
.hero .eyebrow{max-width:650px}
.hero-bottom button{min-height:44px}
.card-top{font-size:11px;line-height:1.6}
.card-bottom{font-size:11px;line-height:1.6}
.service-card p,.principles p,.process-grid p{font-size:16px;line-height:1.75}
.tags{font-size:10px;line-height:1.6}
.signature span:last-child,.process-grid .mono,.contact-note{font-size:11px;line-height:1.8}
.contact-note{max-width:540px;margin-inline:auto}
.footer>.mono,.footer-terminal,.footer-brand span{font-size:11px}
.brand-sub{font-size:10px;letter-spacing:.06em}
.brand{font-size:12px}
.header-fx,.terminal-toggle,.menu-toggle{min-height:44px;min-width:44px}
.header-fx{font-size:12px}
.button{min-height:54px;font-size:14px}
.text-button,.brief-link{font-size:14px;line-height:1.6}
.close-dialog{min-height:44px;min-width:44px}
.dialog-top{font-size:12px}
.form-note{font-size:14px}
.footer{gap:24px}
.completed-projects{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;align-items:stretch}
.completed-project{border:1px solid var(--line);background:linear-gradient(145deg,#11190e,#070b08 70%);min-width:0;display:flex;flex-direction:column;transition:border-color .3s,box-shadow .3s}
.completed-project:hover{border-color:#657b52;box-shadow:0 18px 60px #0005}
.project-preview{padding:0;width:100%;height:auto;display:block;background:#090f0a;text-align:left;border:0;border-bottom:1px solid var(--line);position:relative;isolation:isolate}
.project-window{height:40px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 16px;font-size:11px;color:#acbba3;background:#0d150d}
.window-dots{font-size:8px;letter-spacing:3px;color:#5b7749}
.project-window,.project-image-frame{width:100%}
.project-window>span:last-child{color:var(--green);font-size:18px}
.project-image-frame{display:block;aspect-ratio:16/10;overflow:hidden;background:#070c08;position:relative}
.project-image-frame img{display:block;width:100%;height:100%;object-fit:cover;object-position:top;filter:saturate(.58) brightness(.8);transition:filter .65s,transform .85s cubic-bezier(.2,.8,.2,1);transform:scale(1.015)}
.project-preview:hover img,.project-preview:focus-visible img{filter:saturate(1) brightness(1);transform:scale(1.055)}
.preview-overlay{display:flex;justify-content:space-between;gap:12px;position:absolute;bottom:0;left:0;right:0;padding:36px 20px 18px;background:linear-gradient(transparent,#030803ed);color:#c5d6ba;font-size:10px;letter-spacing:.035em;pointer-events:none}
.preview-overlay>span:last-child{color:var(--green)}
.preview-overlay b{font-size:17px;font-weight:400;margin-left:8px}
.project-preview:after{z-index:2;height:25%;opacity:.45}
.project-detail{padding:28px;display:flex;flex-direction:column;flex:1}
.project-category{font-size:10px;color:#90a780;display:flex;justify-content:space-between;gap:16px;margin-bottom:20px;line-height:1.7}
.project-detail h3{font:600 clamp(24px,2.5vw,38px)/1.3 var(--display);letter-spacing:-.045em}
.project-line{font:400 17px/1.65 var(--display);letter-spacing:-.035em;color:var(--green);margin-top:16px}
.project-summary{font-size:16px;line-height:1.8;color:#aab5a2;margin:16px 0 24px}
.project-tags{margin-top:auto;margin-bottom:24px;gap:8px;font-size:10px}
.project-actions{display:flex;align-items:center;justify-content:space-between;gap:24px;border-top:1px solid #34482a;padding-top:20px}
.project-actions .text-button{border:0;padding:6px 0;gap:18px;font-size:13px}
.project-actions a{font:12px/1.6 var(--mono);color:#bbcab0;padding:8px 0;white-space:nowrap}
.project-actions a:hover{color:var(--green)}
.project-actions a,.project-actions .text-button{min-height:44px;display:flex;align-items:center}
.next-project{border:1px dashed #3d5430;background:#a0ff6b03;margin-top:28px;padding:28px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.next-project>.mono{font-size:10px;color:#94aa84;max-width:155px}
.next-project p{font:400 clamp(16px,1.55vw,24px)/1.6 var(--display);letter-spacing:-.035em}
.next-project .text-button{border:0;padding:8px 0;gap:24px;white-space:nowrap;font-size:13px}
.dossier{width:1120px;max-width:calc(100vw - 48px);max-height:92svh;overscroll-behavior:contain}
.dossier .dialog-top{padding:16px 32px;background:#0c140dee;border-bottom:1px solid #3a4c30;backdrop-filter:blur(16px)}
.dossier-body{padding:40px}
.dossier-hero{display:grid;grid-template-columns:1.1fr 1fr;gap:40px;align-items:center}
.dossier-name{font:500 12px var(--mono);letter-spacing:.12em;color:var(--green);text-transform:uppercase;margin-bottom:20px}
.dossier h2{font:500 clamp(26px,3vw,42px)/1.45 var(--display);letter-spacing:-.055em}
.dossier-intro{font-size:17px;line-height:1.8;color:#b4c1aa;margin-top:24px}
.dossier-tags{margin-top:24px}
.dossier-visual{margin:0;border:1px solid #3a4c30;background:#050805}
.dossier-visual img{width:100%;height:auto;display:block;aspect-ratio:3/2;object-fit:cover;object-position:top}
.dossier-visual figcaption{font:11px var(--mono);padding:12px 16px;color:#a3b597;border-top:1px solid #3a4c30}
.dossier-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:1px;border:1px solid #304528;background:#304528;margin:40px 0}
.dossier-metric{padding:24px;background:#0a140b}
.dossier-metric strong{display:block;font:500 clamp(24px,3vw,34px)/1.3 var(--display);letter-spacing:-.05em;color:var(--green)}
.dossier-metric span{display:block;font:12px/1.6 var(--mono);color:#a9bc9a;margin-top:8px}
.dossier-sections{display:grid;grid-template-columns:1fr 1fr;gap:32px 40px}
.dossier-sections article{border-top:1px solid #324529;padding-top:24px;min-width:0}
.dossier-sections .mono{font-size:10px;letter-spacing:.06em;color:#93aa82}
.dossier-sections h3{font:400 18px/1.55 var(--display);letter-spacing:-.04em;margin:16px 0;color:#e0e9d9}
.dossier-sections p{font-size:16px;line-height:1.9;color:#aab8a0}
.dossier-closing{font:400 clamp(18px,2.1vw,27px)/1.6 var(--display);letter-spacing:-.045em;padding:32px 0;margin-top:36px;border-block:1px solid #3a4c30;color:var(--green)}
.dossier-footer{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-top:28px}
.dossier-next{border:0;background:none;padding:12px 0;font:12px/1.7 var(--mono);color:#b0c59f;text-align:right}
.dossier-next:hover{color:var(--green)}
.motion-off .project-image-frame img{transition:none;transform:none}
@media(max-width:1200px){.desktop-nav{gap:20px}.header-actions{gap:12px}.brand-sub{font-size:8px}.brand{font-size:11px}.project-actions{gap:12px}.project-actions .text-button{font-size:12px;gap:12px}.next-project{flex-wrap:wrap}.next-project>.mono{max-width:none;flex-basis:100%}}
@media(max-width:1100px){.desktop-nav,.contact-link{display:none}.menu-toggle{display:block}.site-header{height:88px}.service-card h3{font-size:22px}}
@media(max-width:900px){.completed-projects{gap:20px}.project-detail{padding:24px}.project-line{font-size:15px}.project-actions{align-items:flex-start;flex-direction:column;gap:8px}.dossier-hero{grid-template-columns:1fr;gap:28px}.dossier-visual{max-width:620px}.dossier-body{padding:32px}.dossier-sections{gap:24px}.dossier .dialog-top{font-size:11px}.hero-topline{font-size:11px}}
@media(max-width:800px){.hero-depth:before{filter:blur(14px) brightness(.82) saturate(1.2);opacity:.9}.hero-depth .hero-visual{filter:brightness(1.65) contrast(1.08) saturate(1.25);opacity:1}.hero-shade{background:linear-gradient(180deg,rgba(5,8,6,.5) 0%,rgba(5,8,6,.08) 26%,rgba(5,8,6,.04) 72%,rgba(5,8,6,.42) 100%),linear-gradient(90deg,rgba(5,8,6,.35) 0%,rgba(5,8,6,.04) 68%,transparent 100%)}}
@media(max-width:700px){.completed-projects{grid-template-columns:1fr;gap:32px}.project-actions{flex-direction:row;align-items:center}.project-detail h3{font-size:32px}.project-line{font-size:17px}.next-project{padding:24px;gap:16px}.next-project p{font-size:19px;flex-basis:100%}.next-project .mobile-break{display:none}.next-project .text-button{font-size:14px}.dossier{max-width:calc(100vw - 24px);max-height:94svh}.dossier-body{padding:24px}.dossier .dialog-top{padding:12px 16px;font-size:10px;gap:8px}.dossier-sections{grid-template-columns:1fr}.dossier-metrics{grid-template-columns:repeat(2,minmax(0,1fr));margin:28px 0}.dossier-metric{padding:20px 16px}.dossier-metric strong{font-size:26px}.dossier-metric span{font-size:11px}.dossier h2{font-size:27px}.dossier-intro{font-size:16px}.dossier-footer{flex-direction:column;align-items:stretch}.dossier-footer .button{width:100%}.dossier-next{text-align:center}.hero-note{font-size:10px}.section-index{font-size:10px;line-height:1.8}.card-top{font-size:10px}.service-card h3{font-size:24px}.footer-terminal{font-size:10px}.footer>.mono{font-size:10px}.hero-bottom{font-size:10px}.hero-bottom .experience-controls button{font-size:11px}.hero-bottom .experience-controls{gap:14px}}
@media(max-width:480px){.header-actions{gap:2px}.brand{font-size:10px;gap:8px}.brand svg{width:30px}.brand-sub{display:none}.site-header{padding-inline:20px}.hero .eyebrow{font-size:10px;line-height:1.8;max-width:285px}.hero-topline{font-size:9px}.hero-content{margin-top:72px}.hero-description h2{font-size:15px;line-height:1.6}.hero-description p{font-size:16px}.hero-cta .button{font-size:12px;gap:20px}.hero-bottom>a{font-size:9px;max-width:110px}.section-wrap{padding-block:64px}.section-index{font-size:9px;gap:12px}.identity-heading .eyebrow{font-size:10px}.identity-copy p{line-height:1.85}.signature span:last-child{font-size:10px;max-width:300px}.process-grid{grid-template-columns:1fr 1fr;column-gap:20px}.process-grid p{font-size:15px}.process-grid .mono{font-size:9px}.process-grid h3{font-size:14px}.contact .eyebrow{font-size:10px}.contact-note{font-size:10px;max-width:280px}.project-detail{padding:24px}.project-category{font-size:9px}.project-window{font-size:10px}.preview-overlay{font-size:9px;padding-inline:16px}.project-actions .text-button{font-size:12px;gap:10px}.project-actions a{font-size:11px}.project-summary{font-size:16px}.project-tags{font-size:9px}.footer-brand{width:100%;font-size:12px}.footer-brand span{font-size:10px}.footer-terminal{order:3}.footer>.mono{order:4}.back-top{order:5}.dialog-body{padding:24px}.dialog-top{font-size:10px;padding-inline:16px}.terminal-shortcuts button{min-height:40px}.brief-result-actions button,.brief-result-actions a{min-height:44px}.dossier h2{font-size:25px}.dossier-sections h3{font-size:17px}.dossier-name{font-size:11px}.dossier-closing{font-size:19px}.dossier-metric strong{font-size:23px}}
@media(max-width:360px){.service-card h3{font-size:20px}.brand{font-size:9px}.terminal-toggle,.menu-toggle{min-width:40px}.hero-description h2{font-size:14px}.hero .eyebrow{font-size:9px}.project-detail{padding:20px}.project-detail h3{font-size:28px}.project-line{font-size:15px}.project-actions{align-items:flex-start;flex-direction:column}.project-category{font-size:8px}.dossier-body{padding:20px}.dossier h2{font-size:23px}.dossier-metric{padding:18px 12px}.dossier-metric strong{font-size:21px}.process-grid{grid-template-columns:1fr}.process-grid p{max-width:none}.process-number{font-size:36px}.process-grid h3{font-size:17px}.process-grid .mono{font-size:11px}.process-grid article:after{top:55px}}
@media(prefers-reduced-motion:reduce){html:not(.motion-on) .project-image-frame img{transition:none;transform:none}}
