.vd-portfolio {--portfolio-pad:clamp(20px,5.6vw,96px);width:100%;margin:0;color:#f7f7f4;background:#0b0c0c;font-family:inherit}
.vd-portfolio a {color:inherit}
.portfolio-hero {position:relative;isolation:isolate;display:flex;align-items:flex-end;justify-content:space-between;gap:24px 6%;padding:clamp(140px,20svh,220px) var(--portfolio-pad) clamp(28px,4.6vw,74px);background:#171a19}
.portfolio-hero.has-cover {min-height:clamp(460px,74svh,850px)}
.portfolio-hero-photo {position:absolute;z-index:-2;inset:0;overflow:hidden}
.portfolio-hero-photo img {display:block;width:100%;height:100%;object-fit:cover;object-position:center 43%}
.portfolio-hero.has-cover::after {content:'';position:absolute;z-index:-1;inset:0;background:linear-gradient(0deg,#050806ed,rgba(4,7,7,.34) 62%,rgba(4,6,5,.46)),linear-gradient(90deg,#05090755,transparent 70%)}
.portfolio-hero-copy {min-width:0;max-width:78%}
.portfolio-hero h1 {max-width:18ch;margin:0;color:white;font-weight:570;font-size:clamp(3.3rem,7.8vw,8.7rem);line-height:1.01;letter-spacing:-.06em;text-wrap:balance;overflow-wrap:break-word}
.portfolio-lead {max-width:60ch;margin:20px 0 0;font-size:clamp(1.04rem,1.5vw,1.35rem);line-height:1.55;text-wrap:pretty}
.portfolio-crumb {display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:16px;color:#f7f7f4;font-size:.95rem}
.portfolio-crumb a,.portfolio-feature {text-underline-offset:.3em}
.portfolio-feature {display:inline-flex;align-items:center;gap:16px;padding:8px 0;border-bottom:1px solid #ffffff90;color:white;font-size:1rem;line-height:1.25;text-decoration:none}
.portfolio-feature span {font-family:Arial,sans-serif}
.portfolio-filters,.portfolio-grid,.portfolio-gallery,.project-intro,.portfolio-enquire,.portfolio-empty {width:min(100%,1900px);margin:0 auto;padding-inline:var(--portfolio-pad)}
.portfolio-filters {display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding-top:clamp(30px,4.2vw,70px);padding-bottom:clamp(25px,3.3vw,54px)}
.portfolio-filters a {display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 18px;border:1px solid #595d59;border-radius:10rem;color:#e3e6e2;font-size:.95rem;line-height:1.3;text-decoration:none}
.portfolio-filters a[aria-current="page"],.portfolio-filters a:hover {background:#f5f5f1;border-color:#f5f5f1;color:#101210}
.portfolio-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(36px,5vw,85px) clamp(14px,2.6vw,50px)}
.portfolio-card {min-width:0;display:block;text-decoration:none}
.portfolio-card-photo {aspect-ratio:1.56;overflow:hidden;background:#252824}
.portfolio-card-photo img {display:block;width:100%;height:100%;object-fit:cover;transition:transform .45s ease}
.portfolio-card:hover .portfolio-card-photo img {transform:scale(1.025)}
.portfolio-card-caption {display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 0 14px;border-bottom:1px solid #424542}
.portfolio-category {display:block;margin:0 0 6px;font-size:.88rem;line-height:1.35;color:#b7beb8}
.portfolio-card h2 {margin:0;font-size:clamp(1.4rem,2.5vw,2.9rem);line-height:1.12;letter-spacing:-.047em;font-weight:550}
.portfolio-card-open {display:grid;place-items:center;flex:none;width:2.35rem;height:2.35rem;border:1px solid #70736f;border-radius:100%;font:400 1.3rem Arial,sans-serif}
.portfolio-card:hover .portfolio-card-open {background:#f4f4f0;border-color:#f4f4f0;color:#171916}
.project-intro {padding-block:clamp(32px,5vw,86px)}
.project-intro p {max-width:52ch;margin:0;color:#e8eae6;font-size:clamp(1.15rem,2.1vw,2.15rem);line-height:1.45;letter-spacing:-.03em;white-space:pre-line}
.portfolio-gallery {columns:3 270px;column-gap:clamp(10px,1.3vw,25px);padding-top:clamp(16px,2vw,34px)}
.project-intro+.portfolio-gallery {padding-top:0}
.portfolio-gallery figure {display:block;break-inside:avoid;margin:0 0 clamp(10px,1.3vw,25px);background:#232622}
.portfolio-gallery img,.portfolio-gallery video {display:block;width:100%;height:auto}
.portfolio-enquire {padding-block:clamp(40px,6vw,100px)}
.portfolio-contact {display:inline-flex;align-items:center;justify-content:space-between;gap:36px;border:1px solid #737771;padding:12px 20px;border-radius:100rem;min-height:48px;text-decoration:none;font-weight:550}
.portfolio-contact:hover {background:#f4f4f0;border-color:#f4f4f0;color:#101210}
.vd-portfolio a:focus-visible {outline:2px solid currentColor;outline-offset:4px}
html[data-motion="reduced"] .portfolio-card:hover img {transform:none}
@media(max-width:700px){
 .portfolio-hero {align-items:flex-start;justify-content:flex-end;flex-direction:column;gap:18px;padding-top:140px}
 .portfolio-hero.has-cover {min-height:clamp(430px,66svh,640px)}
 .portfolio-hero h1 {font-size:clamp(2.85rem,10.1vw,5.2rem)}
 .portfolio-hero-copy {max-width:100%}
 .portfolio-lead {margin-top:14px}
 .portfolio-filters a {font-size:.87rem;padding:7px 13px}
 .portfolio-grid {grid-template-columns:minmax(0,1fr);gap:30px}
 .portfolio-gallery {columns:2;column-gap:9px}
 .portfolio-gallery figure {margin-bottom:9px}
}
@media(max-width:400px){.portfolio-gallery{columns:1}}

/* The enquiry form uses the same integration stylesheet. */
.contact-service-group {display:grid;grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
.contact-service-group[hidden] {display:none}
.contact-service-group h3 {grid-column:1/-1;font-size:13px;font-weight:500;color:#bfc2bf;margin:8px 0}
.contact-mail-options {margin:12px 0;font-size:13px;color:#c7c8c7}
.contact-mail-options a {color:inherit;text-decoration:underline;text-underline-offset:4px}
@media(max-width:600px){.contact-service-group{grid-template-columns:1fr}}
