/* Taproot custom software gallery: dedicated URL previews, not flat demos. */
.u-proto-hero{background:radial-gradient(ellipse at 75% 40%,#294c39,#0a1710 55%,#060c09 100%);position:relative}
.u-proto-hero .u-portfolio-deck{max-width:1150px}
.u-proto-hero-foot{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid #6a8974;margin-top:clamp(35px,6vw,82px);padding-top:20px;color:#a7cdb3;font:10px/1.5 ui-monospace,Consolas,monospace;letter-spacing:.11em;flex-wrap:wrap}
.u-proto-context,.u-proto-breadth{background:#0b1510;color:#e9f6ed;padding:clamp(76px,8vw,130px) 0;border-top:1px solid #2e513a}
.u-proto-context>.wrap{display:grid;grid-template-columns:1.05fr .85fr;gap:10%;align-items:end;max-width:1530px}
.u-proto-kicker{font:10px/1.5 ui-monospace,Consolas,monospace;letter-spacing:.15em;color:#a0ecaf!important;margin:0 0 22px}
.u-proto-context h2,.u-proto-breadth h2,.u-proto-gallery-head h2{font:620 clamp(51px,6.6vw,103px)/.95 "Space Grotesk",sans-serif;letter-spacing:-.076em;margin:0}
.u-proto-context h2 em,.u-proto-breadth h2 em,.u-proto-gallery-head h2 em{font-style:normal;color:#b3fac2}
.u-proto-context>.wrap>div:last-child p{font:clamp(15px,1.36vw,19px)/1.75 Manrope,system-ui,sans-serif;color:#bbd0c0;margin:0 0 19px}
.u-proto-context>.wrap>div:last-child p:last-child{margin:0}
.u-proto-context strong{color:#f2fff3}
.u-software-gallery{background:#070d0a;color:#e9f8ed;padding:clamp(75px,8vw,125px) 0}
.u-software-gallery>.wrap{max-width:1600px}
.u-proto-gallery-head{margin:0 0 clamp(55px,6vw,90px)}
.u-proto-gallery-head>div{display:grid;grid-template-columns:1fr .7fr;align-items:end;gap:8%}
.u-proto-gallery-head>div>p{font:clamp(16px,1.4vw,21px)/1.72 Manrope,system-ui,sans-serif;color:#bdd2c4;margin:0 0 7px}
.u-proto-project{--proto-accent:#b2fac5;--proto-edge:#446951;--proto-surface:#11281a;--proto-glow:#477d5338;border:1px solid var(--proto-edge);position:relative;background:radial-gradient(ellipse at 76% 43%,var(--proto-glow),transparent 60%),var(--proto-surface);margin-bottom:clamp(28px,3vw,46px);overflow:hidden;box-shadow:0 25px 70px #0005}
.u-proto-project-property{--proto-accent:#f1ceaa;--proto-edge:#736956;--proto-surface:#151f2b;--proto-glow:#9c7d623d}
.u-proto-project-crm{--proto-accent:#d4bdff;--proto-edge:#615778;--proto-surface:#201b31;--proto-glow:#9b70cc35}
.u-proto-project-top,.u-proto-project-foot{display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap;padding:18px clamp(25px,3vw,44px);border-bottom:1px solid var(--proto-edge);color:var(--proto-accent);font:10px/1.5 ui-monospace,Consolas,monospace;letter-spacing:.1em}
.u-proto-project-foot{border:0;border-top:1px solid var(--proto-edge);color:#bed2c6;font-size:9px}
.u-proto-project-content{display:grid;grid-template-columns:minmax(295px,.81fr) minmax(0,1.35fr);align-items:center;gap:clamp(22px,3.2vw,54px);padding:clamp(22px,3vw,48px)}
.u-proto-project-copy{align-self:center;min-width:0;position:relative;z-index:1}
.u-proto-project-eyebrow{font:10px/1.6 ui-monospace,Consolas,monospace;letter-spacing:.13em;color:var(--proto-accent);margin:0 0 24px}
.u-proto-project h3{font:640 clamp(45px,4.4vw,74px)/.98 "Space Grotesk",sans-serif;letter-spacing:-.075em;margin:0 0 25px}
.u-proto-project h3 em{font-style:normal;color:var(--proto-accent)}
.u-proto-project-copy>p:not(.u-proto-project-eyebrow):not(.u-proto-related){color:#c0d2c8;font:clamp(14px,1.13vw,17px)/1.72 Manrope,system-ui,sans-serif;margin:0 0 25px;max-width:510px}
.u-proto-try{display:flex;flex-direction:column;gap:12px;border-top:1px solid var(--proto-edge);padding:20px 0;margin:7px 0 17px}
.u-proto-try strong{font:9px/1.6 ui-monospace,monospace;letter-spacing:.13em;color:var(--proto-accent)}
.u-proto-try span{display:flex;gap:10px;align-items:center;color:#bfdec9;font:12px/1.5 Manrope,system-ui,sans-serif}
.u-proto-try span:before{content:"↗";color:var(--proto-accent);font:13px ui-monospace,monospace}
.u-proto-project-link{display:flex;align-items:center;justify-content:space-between;gap:15px;width:fit-content;min-width:min(100%,280px);min-height:60px;background:var(--proto-accent);color:#10241a;text-decoration:none;padding:17px 22px;font:700 12px/1.4 "Space Grotesk",sans-serif;letter-spacing:-.01em;transition:transform .2s,filter .2s}
.u-proto-project-property .u-proto-project-link{color:#2c2b31}
.u-proto-project-crm .u-proto-project-link{color:#2a2340}
.u-proto-project-link:hover{transform:translateY(-3px);filter:brightness(1.06)}
.u-proto-project-link:focus-visible,.u-proto-preview-link:focus-visible{outline:3px solid #fff;outline-offset:4px}
.u-proto-related{font:11px/1.65 Manrope,system-ui,sans-serif;color:#acbdc6;max-width:480px;margin:18px 0 0}
.u-proto-related a{color:#f3d5b5;text-decoration:underline;text-underline-offset:4px}
.u-proto-preview-link{display:block;position:relative;min-width:0;text-decoration:none;align-self:center;overflow:hidden}
.u-proto-preview-link:after{content:"";position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 0 1px #ffffff1a;transition:box-shadow .25s}
.u-proto-preview-link:hover:after{box-shadow:inset 0 0 0 2px var(--proto-accent)}
.u-proto-browser{display:block;border:1px solid #7d9d8b66;box-shadow:0 20px 55px #000a;overflow:hidden;background:#0c1712}
.u-proto-browser-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;height:39px;padding:0 14px;background:linear-gradient(180deg,#1e2f27,#101c17);border-bottom:1px solid #47634b}
.u-proto-project-property .u-proto-browser-bar{background:linear-gradient(180deg,#334359,#162336);border-color:#5a7180}
.u-proto-project-crm .u-proto-browser-bar{background:linear-gradient(180deg,#393150,#191328);border-color:#75638d}
.u-proto-dots{display:flex;gap:5px;align-items:center}
.u-proto-dots i{width:7px;height:7px;background:#87af98;border-radius:50%;opacity:.7}
.u-proto-dots i:first-child{background:#f2a49d}.u-proto-dots i:nth-child(2){background:#f5d18f}.u-proto-dots i:nth-child(3){background:#96daa8}
.u-proto-browser-url{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center;color:#b1cabe;font:10px ui-monospace,Consolas,monospace}
.u-proto-browser-action{font:9px ui-monospace,monospace;color:var(--proto-accent);white-space:nowrap}
.u-proto-frame{display:block;position:relative;aspect-ratio:1440 / 900;height:auto;background:linear-gradient(120deg,#0b1910,#142a1c);overflow:hidden}
.u-proto-frame img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;aspect-ratio:1440 / 900}
.u-proto-frame:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,transparent 65%,#00000029)}
.u-proto-project-property .u-proto-frame{background:#142438}
.u-proto-project-crm .u-proto-frame{background:#1b1a30}
.u-proto-gallery-after{display:flex;align-items:start;gap:clamp(20px,4vw,65px);border-top:1px solid #42644b;padding-top:26px}
.u-proto-gallery-after span{flex:none;color:#a2efb8;font:10px ui-monospace,monospace;letter-spacing:.12em}
.u-proto-gallery-after p{font:13px/1.7 Manrope,system-ui,sans-serif;color:#b4c9b8;max-width:970px;margin:0}
.u-proto-breadth{background:#0c1811;padding:clamp(75px,8vw,130px) 0}
.u-proto-breadth>.wrap{max-width:1530px}
.u-proto-breadth-head{display:grid;grid-template-columns:1fr .65fr;gap:8%;align-items:end}
.u-proto-breadth-head>p{font:clamp(15px,1.35vw,19px)/1.7 Manrope,system-ui,sans-serif;color:#bbd2c0}
.u-proto-cap-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid #4c7457;border-bottom:1px solid #4c7457;margin-top:43px}
.u-proto-cap-list>div{padding:27px 22px;border-right:1px solid #4c7457}
.u-proto-cap-list>div:first-child{padding-left:0}.u-proto-cap-list>div:last-child{border:0}
.u-proto-cap-list span{font:10px ui-monospace,monospace;color:#9decb8}
.u-proto-cap-list h3{font:580 clamp(21px,2.3vw,35px)/1.17 "Space Grotesk",sans-serif;letter-spacing:-.05em;margin:19px 0 13px}
.u-proto-cap-list p{font:13px/1.7 Manrope,system-ui,sans-serif;color:#b7d2c0;margin:0}
.u-proto-cap-list a{color:#b1f4c5;text-underline-offset:5px}
@media(max-width:1250px){
 .u-proto-project-content{grid-template-columns:minmax(265px,.95fr) minmax(0,1fr)}
 .u-proto-project h3{font-size:clamp(39px,4.2vw,55px)}
 .u-proto-project-copy>p:not(.u-proto-project-eyebrow):not(.u-proto-related){font-size:14px}
 .u-proto-cap-list{grid-template-columns:repeat(2,minmax(0,1fr))}
 .u-proto-cap-list>div:nth-child(2){border-right:0}
 .u-proto-cap-list>div:nth-child(-n+2){border-bottom:1px solid #4c7457}
 .u-proto-cap-list>div:nth-child(3){padding-left:0}
}
@media(max-width:910px){
 .u-proto-context>.wrap,.u-proto-gallery-head>div,.u-proto-breadth-head{grid-template-columns:1fr;gap:22px}
 .u-proto-project-content{grid-template-columns:1fr;gap:30px}
 .u-proto-project h3{font-size:clamp(46px,8vw,76px)}
 .u-proto-try{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 .u-proto-try strong{grid-column:1/-1}
 .u-proto-project-copy>p:not(.u-proto-project-eyebrow):not(.u-proto-related){max-width:720px;font-size:16px}
 
}
@media(max-width:540px){
 .u-proto-hero-foot{font-size:9px}
 .u-proto-context,.u-proto-breadth{padding:70px 0}
 .u-proto-context h2,.u-proto-gallery-head h2,.u-proto-breadth h2{font-size:clamp(46px,11vw,72px)}
 .u-software-gallery{padding:72px 0}
 .u-proto-project-top,.u-proto-project-foot{padding:14px 18px;font-size:8px}
 .u-proto-project-content{padding:19px}
 .u-proto-project h3{font-size:clamp(41px,10vw,60px)}
 .u-proto-try{grid-template-columns:1fr;gap:11px}
 .u-proto-project-link{min-width:100%;width:100%}
 .u-proto-browser-bar{height:31px;padding:0 8px}
 .u-proto-browser-url{font-size:8px}
 .u-proto-browser-action{font-size:7px}
 
 .u-proto-gallery-after{flex-direction:column;gap:12px}
 .u-proto-cap-list{grid-template-columns:1fr}
 .u-proto-cap-list>div{padding:24px 0;border-right:0;border-bottom:1px solid #4c7457}
 .u-proto-cap-list>div:nth-child(3){border-bottom:1px solid #4c7457}
 .u-proto-cap-list>div:last-child{border-bottom:0}
}
@media(prefers-reduced-motion:reduce){.u-proto-project-link{transition:none}.u-proto-project-link:hover{transform:none}}

/* Published client work, ahead of the original prototype gallery. */
.u-proto-proof{background:linear-gradient(135deg,#101e16,#09130e 70%);border-block:1px solid #385443;padding:clamp(48px,6vw,88px) 0;color:#edf8ef}
.u-proto-proof>.wrap{max-width:1530px}
.u-proto-proof-head{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:clamp(24px,5vw,80px);align-items:end;margin-bottom:32px}
.u-proto-proof h2{font:620 clamp(36px,4.7vw,72px)/1 "Space Grotesk",sans-serif;letter-spacing:-.06em;margin:0}
.u-proto-proof h2 em{color:#b3fac2}
.u-proto-proof-head>p{color:#c2d5c7;font:clamp(15px,1.3vw,19px)/1.7 Manrope,system-ui,sans-serif;margin:0}
.u-proto-proof-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:#47634e;border:1px solid #47634e}
.u-proto-proof-card{display:flex;min-width:0;flex-direction:column;align-items:flex-start;background:#102219;padding:clamp(20px,2.6vw,40px);color:#edf8ef;transition:background .2s}
.u-proto-proof-card:hover{background:#183729;color:#fff}
.u-proto-proof-card:focus-visible,.u-proto-proof-foot a:focus-visible{outline:3px solid #b3fac2;outline-offset:-4px}
.u-proto-proof-meta,.u-proto-proof-foot>span{font:10px/1.6 ui-monospace,Consolas,monospace;letter-spacing:.09em;color:#b0d1b8}
.u-proto-proof-mark{color:#a7dcb0;width:96px;height:56px;margin:25px 0 20px}
.u-proto-proof-mark svg{display:block;width:100%;height:100%}
.u-proto-proof-card h3{font:600 clamp(24px,2.7vw,38px)/1.08 "Space Grotesk",sans-serif;letter-spacing:-.045em;margin:0 0 12px}
.u-proto-proof-card p{color:#c0d2c5;font-size:15px;line-height:1.65;margin:0 0 24px}
.u-proto-proof-link{display:flex;justify-content:space-between;align-items:center;width:100%;gap:12px;border-top:1px solid #4d7058;padding-top:16px;margin-top:auto;color:#b3fac2;font-size:13px}
.u-proto-proof-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px;margin-top:24px}
.u-proto-proof-foot a{color:#b3fac2;text-decoration:underline;text-underline-offset:5px;font-size:14px}
@media(max-width:760px){.u-proto-proof-head,.u-proto-proof-grid{grid-template-columns:1fr}.u-proto-proof-mark{margin:15px 0}.u-proto-proof-card{padding:24px}.u-proto-proof-card p{margin-bottom:16px}}
@media(prefers-reduced-motion:reduce){.u-proto-proof-card{transition:none}}

/* WP02: preserve a non-colour cue for the contextual case-study link. */
.u-portfolio main p>a[href="/work/proficien"]{text-decoration:underline;text-underline-offset:3px}
