.page-projects .page-hero{padding-bottom:64px}.page-projects .section-gallery{padding-top:54px}.page-projects .gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px}.page-projects .gallery-grid .gallery-item:first-child{grid-column:1/-1}.page-projects .gallery-grid .gallery-item:first-child img{aspect-ratio:auto}.page-projects .content-section .layout-many{grid-template-columns:repeat(3,minmax(0,1fr))}.page-projects .content-section .block-image img{aspect-ratio:auto;object-fit:contain;transition:filter .2s}.page-projects .content-section .block-image a:hover img{filter:brightness(.9)}
@media(max-width:767px){.page-projects .content-section .layout-many{display:grid;grid-template-columns:1fr 1fr;gap:16px}.page-projects .gallery-grid{grid-template-columns:1fr;gap:18px}.page-projects .gallery-grid .gallery-item:first-child img{aspect-ratio:auto}}

/* Portfolio index: image-led gallery; project names remain in the original artwork. */
[data-page-id="5242"] .page-hero{padding:24px 0 46px;background:radial-gradient(ellipse at 100% 100%,#38305b88,transparent 65%),#120f43;border-bottom:1px solid #cbb18440}
[data-page-id="5242"] .page-hero:before{background:none}
[data-page-id="5242"] .breadcrumbs{color:#d8cddd;margin-bottom:28px;font-size:.78rem}
[data-page-id="5242"] .page-hero>.container>.layout{display:grid;grid-template-columns:1fr 1fr;gap:clamp(32px,5vw,72px);align-items:center}
[data-page-id="5242"] .page-hero h1{font-size:clamp(2.2rem,3.5vw,3.2rem);line-height:1.16;letter-spacing:-.045em;color:#fff}
[data-page-id="5242"] .page-hero h1:before{content:'';display:block;width:48px;height:2px;background:#d9b579;margin-bottom:24px}
[data-page-id="5242"] .page-hero .prose{color:#ded6e6;font-size:1.06rem;line-height:1.85;max-width:48ch}
[data-page-id="5242"] .page-hero .layout-stack{gap:24px}
[data-page-id="5242"] .page-hero .button-row{display:flex;gap:12px;flex-wrap:wrap;min-width:0}
[data-page-id="5242"] .page-hero .button{font-size:.86rem;border-radius:6px;padding:14px 18px;min-height:52px;background:#e4c58e;color:#19162f;border:1px solid #e4c58e}
[data-page-id="5242"] .page-hero .button-row>.block:nth-child(2) .button{color:#f3ebdf;background:transparent;border-color:#bda585}
[data-page-id="5242"] .page-hero .button:hover{background:#f0d29e;color:#19162f}
[data-page-id="5242"] .page-hero .block-image{position:relative;width:100%;max-width:500px;margin-left:auto;padding:0 0 16px 16px}
[data-page-id="5242"] .page-hero .block-image:before{content:'';position:absolute;inset:20px 20px 0 0;border:1px solid #bd9b66;border-radius:10px;pointer-events:none}
[data-page-id="5242"] .page-hero .block-image figure{position:relative;overflow:hidden;border-radius:10px;box-shadow:0 20px 40px -28px #080515bb}
[data-page-id="5242"] .page-hero .block-image img{width:100%;height:auto;max-height:none;aspect-ratio:auto;object-fit:contain}
[data-page-id="5242"] .section-standard{padding-block:clamp(38px,5vw,72px);background:linear-gradient(155deg,#fff 5%,#f5f1e9 65%,#f0eef5)}
[data-page-id="5242"] .project-collection{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:32px;align-items:start}
[data-page-id="5242"] .project-preview{grid-column:span 2;min-width:0;padding:9px;background:#fff;border:1px solid #ddd4c6;border-radius:12px;box-shadow:0 16px 28px -25px #20143750;transition:border-color .2s,box-shadow .2s,transform .2s}
[data-page-id="5242"] .project-preview:nth-last-child(2){grid-column:2/span 2}
[data-page-id="5242"] .project-preview:last-child{grid-column:4/span 2}
[data-page-id="5242"] .project-preview-link{position:relative;display:block;color:var(--ink);border-radius:6px}
[data-page-id="5242"] .project-preview-image{margin:0;overflow:hidden;border-radius:6px;background:#fff}
[data-page-id="5242"] .project-preview-image img{width:100%;height:auto;aspect-ratio:auto;object-fit:contain}
[data-page-id="5242"] .project-preview-arrow{position:absolute;right:12px;top:12px;display:grid;place-items:center;width:38px;height:38px;border:1px solid #ddc9a4;border-radius:50%;color:#211942;background:#fffaf2;box-shadow:0 4px 14px #17133422;transition:background .2s,color .2s,transform .2s}
[data-page-id="5242"] .project-preview:hover,[data-page-id="5242"] .project-preview:focus-within{transform:translateY(-3px);border-color:#b18c53;box-shadow:0 24px 38px -27px #30203e66}
[data-page-id="5242"] .project-preview-link:is(:hover,:focus-visible) .project-preview-arrow{background:#120f43;border-color:#120f43;color:#f1d8ac;transform:rotate(-35deg)}
[data-page-id="5242"] .project-preview-link:focus-visible{outline:3px solid #9d753e;outline-offset:4px}
@media(max-width:1000px){
 [data-page-id="5242"] .project-collection{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
 [data-page-id="5242"] .project-preview,[data-page-id="5242"] .project-preview:nth-last-child(2),[data-page-id="5242"] .project-preview:last-child{grid-column:auto}
}
@media(max-width:767px){
 [data-page-id="5242"] .page-hero{padding:24px 0 40px}
 [data-page-id="5242"] .page-hero>.container>.layout{grid-template-columns:1fr;gap:32px}
 [data-page-id="5242"] .page-hero .block-image{max-width:480px;margin-inline:auto}
 [data-page-id="5242"] .page-hero .prose{font-size:1rem}
 [data-page-id="5242"] .page-hero .button-row{flex-direction:column;align-items:stretch;height:auto}
 [data-page-id="5242"] .page-hero .button-row>.block{width:100%;height:auto;flex:none}
 [data-page-id="5242"] .page-hero .button-row .button{width:100%;justify-content:space-between}
}
@media(max-width:600px){[data-page-id="5242"] .project-collection{grid-template-columns:1fr;gap:24px}}
@media(prefers-reduced-motion:reduce){[data-page-id="5242"] .project-preview,[data-page-id="5242"] .project-preview-arrow{transition:none;transform:none}}

/* Individual projects keep their original galleries, with a shared editorial frame. */
.project-detail{background:#f7f6f3}
.project-detail .page-hero{padding:40px 0 64px;background:radial-gradient(ellipse at 100% 0,#d7943022,transparent 60%),#120f43;color:#fff;border-bottom:1px solid #d7943055}
.project-detail .page-hero:before{display:none}
.project-detail .breadcrumbs{color:#d6cfe2;margin-bottom:32px;font-size:.8rem}
.project-detail .breadcrumbs a{color:#edbc73}
.project-detail .page-hero h1{color:#fff;max-width:920px;font-size:clamp(2.15rem,4.4vw,4.5rem);line-height:1.12;letter-spacing:-.045em}
.project-detail .page-hero h1:before{content:"";display:block;width:52px;height:3px;background:#d79430;margin-bottom:22px}
.project-gallery-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:28px;padding-bottom:28px;border-bottom:1px solid #ded9d0}
.project-gallery-bar>a{display:inline-flex;align-items:center;gap:12px;color:#211c40;font-size:.85rem;font-weight:650;text-decoration:none}
.project-gallery-bar>span{font-size:.68rem;font-weight:700;letter-spacing:.2em;color:#746345}
.project-gallery-bar svg{width:20px;height:20px}
.project-back svg{transform:rotate(180deg)}
.project-detail .section-gallery{padding:36px 0 60px;background:transparent}
.project-detail .gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start}
.project-detail .gallery-item{margin:0;padding:8px;background:#fff;border:1px solid #e1dcd3;border-radius:14px;overflow:hidden;box-shadow:0 10px 30px #120f4306}
.project-detail .gallery-item a{display:block;overflow:hidden;border-radius:8px;background:#eeece7}
.project-detail .gallery-item img{display:block;width:100%;height:auto;aspect-ratio:auto;object-fit:contain;transition:filter .2s}
.project-detail .gallery-item a:hover img{filter:brightness(.95)}
.project-detail .gallery-item a:focus-visible{outline:3px solid #9a6b2d;outline-offset:-3px}
.project-detail .gallery-item figcaption{padding:14px 12px;color:#625970;font-size:.85rem;line-height:1.6}
.project-closing{padding:0 0 64px}
.project-invitation{display:flex;align-items:center;justify-content:space-between;gap:32px;padding:40px;background:#211c40;border-radius:16px;color:#fff}
.project-invitation .eyebrow{color:#edbc73;font-size:.7rem;letter-spacing:.17em;margin-bottom:12px}
.project-invitation h2{font-size:clamp(1.55rem,2.5vw,2.3rem);color:#fff;max-width:580px;line-height:1.25;letter-spacing:-.025em;margin:0}
.project-invitation .button{background:#edbc73;color:#120f43;flex-shrink:0;border-radius:8px;gap:20px}
.project-neighbours{display:grid;grid-template-columns:1fr 1fr;border:1px solid #e1dcd3;border-radius:12px;margin-top:24px;overflow:hidden;background:#fff}
.project-neighbours a{display:grid;grid-template-columns:1fr auto;gap:8px 20px;padding:26px 30px;text-decoration:none;color:#120f43}
.project-neighbours a+a{border-left:1px solid #e1dcd3}
.project-neighbours span{grid-column:1;font-size:.7rem;text-transform:uppercase;letter-spacing:.1em;color:#79603c}
.project-neighbours strong{grid-column:1;font-size:1rem;line-height:1.5}
.project-neighbours svg{grid-column:2;grid-row:1/3;align-self:center;width:24px}
.project-neighbours a:first-child svg{transform:rotate(180deg)}
.project-neighbours a:hover{background:#fcf8ef}
@media(max-width:767px){.project-detail .page-hero{padding:28px 0 40px}.project-gallery-bar{flex-wrap:wrap;padding-block:20px;gap:16px}.project-gallery-bar>span{display:none}.project-detail .gallery-grid{gap:14px}.project-detail .gallery-item{padding:5px;border-radius:10px}.project-invitation{align-items:flex-start;flex-direction:column;padding:28px}.project-neighbours a{padding:20px 16px;gap:8px}.project-neighbours strong{font-size:.86rem}.project-closing{padding-bottom:40px}}
@media(max-width:540px){.project-detail .gallery-grid{grid-template-columns:1fr}.project-detail .section-gallery{padding:24px 0 36px}.project-neighbours{grid-template-columns:1fr}.project-neighbours a+a{border-left:0;border-top:1px solid #e1dcd3}.project-invitation .button{width:100%;justify-content:space-between}}
@media(prefers-reduced-motion:reduce){.project-detail .gallery-item img{transition:none}}
