/* Gallery components reused from the approved portfolio. */
.works{padding-block:85px 105px;scroll-margin-top:20px}.works--other{background:var(--paper)}.section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:45px;margin-bottom:24px}.section-head h2{font-size:clamp(40px,4.4vw,64px);line-height:1.1;margin-top:14px}.section-head>p{max-width:420px;color:var(--muted);font-size:15px}.works__list{display:grid;gap:0}.project{border-top:1px solid var(--line);padding:58px 0 70px;scroll-margin-top:20px}.project__head{display:grid;grid-template-columns:1.25fr .75fr;gap:70px;align-items:end;margin-bottom:28px}.project h3{font:400 clamp(34px,3.5vw,54px)/1.14 Georgia,serif;letter-spacing:-.035em;margin-top:15px;max-width:760px}.project__intro{color:#485263;font-size:15px;max-width:420px}.project__screen{position:relative;background:#e9e7e2;border-radius:10px;overflow:hidden}.project__stage{display:flex;align-items:center;justify-content:center;width:100%;height:640px;padding:18px 75px;border:0;background:transparent;cursor:zoom-in;position:relative}.project__stage img{width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain}.project__stage span{position:absolute;right:20px;bottom:16px;padding:6px 10px;background:#09111ecc;color:white;font-size:11px;border-radius:3px}.project__arrow{position:absolute;top:50%;z-index:2;transform:translateY(-50%);width:48px;height:48px;border:1px solid #cbd1dc;background:#fff;color:var(--navy);border-radius:50%;cursor:pointer;font-size:20px}.project__arrow:hover{background:var(--blue);color:#fff;border-color:var(--blue)}.project__arrow--prev{left:20px}.project__arrow--next{right:20px}.project__counter{position:absolute;left:23px;bottom:18px;color:#3d4654;font-size:12px;font-weight:700;letter-spacing:.08em;background:#ffffffd9;padding:5px 9px;border-radius:3px}.project__thumbs{display:flex;gap:10px;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin;padding:14px 0 5px}.project__thumb{flex:0 0 108px;width:108px;height:91px;border:2px solid transparent;border-radius:6px;background:#e9e7e2;padding:5px;cursor:pointer}.project__thumb[aria-pressed=true]{border-color:var(--blue)}.project__thumb img{width:100%;height:100%;object-fit:contain}
.designer{display:grid;grid-template-columns:minmax(0,.63fr) minmax(0,1fr);gap:clamp(40px,7vw,110px);align-items:center;padding-block:100px}.designer__image{border-radius:12px;background:#d2cec7;overflow:hidden}.designer__image img{width:100%;height:auto;object-fit:contain}.designer h2{font-size:clamp(48px,5.4vw,78px);line-height:1.02;font-weight:600;margin:18px 0 25px}.designer__experience{color:var(--blue);font-size:16px;font-weight:700;margin-bottom:25px}.designer blockquote{font:400 clamp(19px,2vw,27px)/1.55 Georgia,serif;color:#38445a;max-width:640px}
.photo-dialog{border:0;border-radius:12px;padding:15px;background:#101725;color:#fff;width:min(1100px,96vw);max-height:96vh;overflow:hidden}.photo-dialog::backdrop{background:#050914e8}.photo-dialog figure{display:flex;flex-direction:column;align-items:center;justify-content:center}.photo-dialog figure img{max-height:calc(96vh - 90px);max-width:100%;width:auto;height:auto;object-fit:contain}.photo-dialog figcaption{width:100%;display:flex;justify-content:space-between;gap:20px;font-size:12px;padding-top:10px}.photo-dialog__close,.photo-dialog__prev,.photo-dialog__next{position:absolute;z-index:2;border:0;background:#fff;color:var(--ink);width:42px;height:42px;border-radius:50%;cursor:pointer}.photo-dialog__close{right:15px;top:15px;font-size:24px}.photo-dialog__prev{left:15px;top:50%}.photo-dialog__next{right:15px;top:50%}
.works__list{grid-template-columns:minmax(0,1fr)}
.project,.project__viewer{min-width:0;max-width:100%}
.project__thumbs{max-width:100%}

/* Portfolio stays within the service-page type, colour and spacing system. */
.service-design{--navy:var(--brand-navy)}
.portfolio-intro{padding-top:75px;padding-bottom:30px;scroll-margin-top:25px}
.portfolio-intro h2{max-width:780px}
.portfolio-intro .section-intro{max-width:640px}
.portfolio-links{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}
.portfolio-links a{border:1px solid #b5c2cf;border-radius:6px;padding:12px 18px;text-decoration:none;font-size:13px;color:var(--brand-action);min-height:46px;display:inline-flex;align-items:center}
.portfolio-links a:hover{background:#edf1f6;border-color:var(--brand-action)}
.works{padding-block:45px 70px}.works--other{background:var(--brand-paper)}
.works h2{margin-top:12px}.project__kicker{font:600 10px/1.5 Arial,sans-serif;letter-spacing:.13em;text-transform:uppercase;color:var(--brand-action)}
.project__screen,.project__thumb,.designer__image{border-radius:6px}
.project__stage img,.project__thumb img,.photo-dialog figure img{filter:brightness(var(--photo-brightness,1)) contrast(var(--photo-contrast,1.025)) saturate(var(--photo-saturation,1))}
.project__viewer,.project__screen{min-width:0;max-width:100%}
.project__stage span{pointer-events:none}.project__thumbs{margin:0;max-width:100%}
.designer{padding-block:75px}.designer h2{margin-top:16px}.designer__copy>.button{margin-top:28px}
.designer__experience{color:var(--brand-action)}.designer blockquote{margin:0}
.photo-dialog{box-sizing:border-box}.photo-dialog figure{margin:0}.photo-dialog figure img{width:auto;height:auto}.photo-dialog__close{font-size:24px}.photo-dialog__prev,.photo-dialog__next{font-size:20px}
@media(max-width:1000px){.project__stage{height:550px}.project__head{gap:30px}}
@media(max-width:800px){.portfolio-intro{padding-top:55px}.section-head{display:block}.section-head>p{margin-top:18px}.project__head{grid-template-columns:1fr;gap:18px}.project__stage{height:480px}.designer{grid-template-columns:1fr;gap:30px}.designer__image{max-width:430px}}
@media(max-width:540px){.works{padding-block:35px 45px}.project{padding:30px 0 45px}.project h3{font-size:32px}.project__intro{font-size:14px}.project__stage{height:410px;padding:14px 43px}.project__arrow{width:34px;height:34px;font-size:16px}.project__arrow--prev{left:5px}.project__arrow--next{right:5px}.project__stage span{right:9px;bottom:9px;font-size:9px}.project__counter{left:10px;bottom:10px;font-size:10px}.project__thumb{flex-basis:76px;width:76px;height:68px;padding:3px}.project__thumbs{gap:6px}.portfolio-links{gap:8px}.portfolio-links a{padding:10px 13px}.designer{padding-block:45px}.designer blockquote{font-size:20px}.photo-dialog{width:calc(100vw - 12px);padding:55px 8px 45px;max-height:calc(100dvh - 12px)}.photo-dialog figure img{max-height:calc(100dvh - 150px)}.photo-dialog__prev,.photo-dialog__next{top:auto;bottom:8px}.photo-dialog figcaption{padding:8px 8px 0}.photo-dialog__close{top:7px;right:7px}}
