/* Evo Ai Studio / Work / Websites portfolio card. Scoped to the work page. */
.pg-websites{position:relative}
.pg-website{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(260px,.7fr);overflow:hidden;min-height:430px;border:1px solid rgba(247,249,253,.16);border-radius:24px;background:linear-gradient(125deg,#111c32,#080d17 64%,#141a2c);color:#f7f9fd;text-decoration:none;transition:border-color .25s ease,box-shadow .3s ease}
.pg-website:hover,.pg-website:focus-visible{border-color:rgba(6,151,241,.7);box-shadow:0 16px 58px -25px rgba(17,81,208,.5)}
.pg-website:focus-visible{outline:3px solid #0697f1;outline-offset:4px}
.pg-website__visual{position:relative;display:flex;align-items:flex-end;padding:38px 36px 0;background:radial-gradient(ellipse at 40% 65%,rgba(26,130,213,.31),transparent 55%),radial-gradient(ellipse at 100% 0%,rgba(146,83,243,.18),transparent 58%),#0a1429;min-width:0}
.pg-website__browser{position:relative;width:100%;max-width:850px;margin:0 auto;background:#fff;border-radius:14px 14px 0 0;overflow:hidden;box-shadow:0 16px 70px rgba(0,0,0,.45);transform:translateY(8px);transition:transform .45s cubic-bezier(.2,.8,.2,1);min-width:0}
.pg-website:hover .pg-website__browser{transform:translateY(0)}
.pg-website__toolbar{display:flex;align-items:center;gap:18px;height:42px;padding:0 16px;background:#eef2f8;border-bottom:1px solid #e3e9f1;color:#697993}
.pg-website__dots{display:flex;gap:5px;flex:0 0 auto}.pg-website__dots i{display:block;width:9px;height:9px;border-radius:50%;background:#d1dae8}.pg-website__dots i:first-child{background:#f09b92}.pg-website__dots i:nth-child(2){background:#f3c668}.pg-website__dots i:last-child{background:#79c89f}
.pg-website__address{display:block;flex:1;min-width:0;max-width:365px;margin:auto;padding:6px 12px;background:white;border-radius:6px;text-align:center;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:600;letter-spacing:.01em}
.pg-website__lock{font-size:12px;margin-right:4px;color:#3c977b}.pg-website__window-arrow{font-size:15px}
.pg-website__screen{background:#f4f6f9;line-height:0;overflow:hidden}
.pg-website__screen img{display:block;width:100%;height:auto;aspect-ratio:1905/991;object-fit:contain}
.pg-website__details{display:flex;flex-direction:column;justify-content:space-between;gap:26px;padding:clamp(28px,4.5vw,56px)}
.pg-website__type{font-size:12px;letter-spacing:.16em;color:#67c4fa;font-weight:700}
.pg-website__details h3{font-size:clamp(27px,3.4vw,48px);line-height:1.08;letter-spacing:-.04em;font-weight:700;margin:0 0 18px}
.pg-website__details p{font-size:clamp(14px,1.3vw,17px);line-height:1.6;color:rgba(247,249,253,.72);margin:0;max-width:31ch}
.pg-website__visit{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:15px;font-weight:700;color:#7ed0ff}
.pg-website__visit>span{display:grid;place-items:center;flex:none;width:43px;height:43px;border-radius:50%;border:1px solid rgba(126,208,255,.45);font-size:20px;transition:background .2s,transform .2s}
.pg-website:hover .pg-website__visit>span{background:rgba(126,208,255,.16);transform:translate(2px,-2px)}
@media(max-width:950px){.pg-website{grid-template-columns:1fr;min-height:0}.pg-website__visual{padding:24px 24px 0}.pg-website__browser{max-width:680px}.pg-website__details{gap:22px;padding:30px}.pg-website__details h3{font-size:34px;margin:0 0 12px}.pg-website__details p{max-width:none}.pg-website__visit{margin-top:2px}}
@media(max-width:560px){.pg-website{border-radius:18px}.pg-website__visual{padding:16px 13px 0}.pg-website__toolbar{height:32px;padding:0 10px;gap:8px}.pg-website__dots i{width:6px;height:6px}.pg-website__address{font-size:9px;padding:5px 6px}.pg-website__window-arrow{font-size:12px}.pg-website__sitenav b{font-size:15px}.pg-website__sitenav b span{font-size:8px}.pg-website__sitenav>span{font-size:8px}.pg-website__details{padding:24px}.pg-website__details h3{font-size:29px}.pg-website__visit>span{width:38px;height:38px}}
@media(prefers-reduced-motion:reduce){.pg-website,.pg-website__browser,.pg-website__visit>span{transition:none}}

/* v6.1: more websites on the Work page, as colour cards */
.pg-sites{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:16px}
.pg-site{position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;gap:40px;min-height:clamp(380px,34vw,480px);padding:clamp(24px,3vw,40px);border-radius:24px;background:radial-gradient(ellipse 80% 70% at 85% 100%,color-mix(in srgb,var(--site-acc) 38%,transparent),transparent 70%),var(--site-field);color:#F7F9FD;text-decoration:none;box-shadow:inset 0 0 0 1px rgba(247,249,253,.1);transition:transform .5s cubic-bezier(.16,1,.3,1),box-shadow .3s ease}
.pg-site__echo{position:absolute;right:-12%;bottom:-22%;z-index:-1;width:62%;height:auto;opacity:.16;filter:blur(1px) saturate(1.2);transform:rotate(-12deg);transition:transform 1.2s cubic-bezier(.16,1,.3,1),opacity .4s ease;pointer-events:none}
.pg-site__top{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.pg-site__logo{display:block;flex:0 0 auto;width:clamp(96px,10vw,148px);aspect-ratio:1;padding:clamp(8px,1vw,14px);border-radius:28%;box-shadow:0 0 0 1px rgba(247,249,253,.18),0 24px 60px rgba(0,0,0,.45);transform:rotate(-6deg);transition:transform .6s cubic-bezier(.16,1,.3,1)}
.pg-site__logo img{display:block;width:100%;height:100%;object-fit:contain}
.pg-site__num{font-size:12px;font-weight:700;letter-spacing:.16em;color:color-mix(in srgb,var(--site-acc) 70%,#fff)}
.pg-site__body{display:flex;flex-direction:column;gap:10px}
.pg-site__name{font-size:clamp(30px,3.4vw,54px);font-weight:700;letter-spacing:-.045em;line-height:1;text-wrap:balance}
.pg-site__desc{font-size:16px;color:rgba(247,249,253,.78)}
.pg-site__row{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:14px}
.pg-site__url{min-width:0;font-size:15px;font-weight:600;color:color-mix(in srgb,var(--site-acc) 55%,#fff);overflow-wrap:anywhere}
.pg-site__go{display:grid;place-items:center;flex:0 0 auto;width:52px;height:52px;border-radius:50%;background:rgba(247,249,253,.12);transition:background-color .3s ease,color .3s ease,transform .4s cubic-bezier(.16,1,.3,1)}
.pg-site__go svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.pg-site:hover,.pg-site:focus-visible{transform:translateY(-4px);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--site-acc) 60%,transparent),0 30px 70px -30px color-mix(in srgb,var(--site-acc) 60%,transparent)}
.pg-site:hover .pg-site__logo,.pg-site:focus-visible .pg-site__logo{transform:rotate(0) scale(1.05)}
.pg-site:hover .pg-site__echo,.pg-site:focus-visible .pg-site__echo{transform:rotate(-4deg) translate(-6%,-6%) scale(1.06);opacity:.24}
.pg-site:hover .pg-site__go,.pg-site:focus-visible .pg-site__go{background:#F7F9FD;color:#061A44;transform:translate(2px,-2px)}
.pg-site:focus-visible{outline:3px solid #0697f1;outline-offset:4px}
@media(max-width:760px){.pg-sites{grid-template-columns:1fr;gap:12px}.pg-site{min-height:340px;border-radius:20px}}
@media(prefers-reduced-motion:reduce){.pg-site,.pg-site__logo,.pg-site__echo,.pg-site__go{transition:none}.pg-site:hover,.pg-site:hover .pg-site__logo,.pg-site:hover .pg-site__echo,.pg-site:hover .pg-site__go{transform:none}}
