/* The single project review inherits the approved homepage system. */
.project-story-heading{padding-top:28px;padding-bottom:48px}
.project-story-breadcrumb{margin-bottom:42px;font-size:12px;line-height:1.6;color:var(--muted)}
.project-story-breadcrumb ol{display:flex;flex-wrap:wrap;gap:10px 16px;list-style:none;margin:0;padding:0}
.project-story-breadcrumb li+li{display:flex;align-items:center;gap:16px}
.project-story-breadcrumb li+li::before{content:'';width:5px;height:5px;border-top:1px solid currentColor;border-right:1px solid currentColor;transform:rotate(45deg)}
.project-story-breadcrumb a{text-decoration:underline;text-underline-offset:4px}
.project-story-introduction{display:grid;grid-template-columns:1.45fr 1fr;gap:clamp(32px,6vw,88px);align-items:end;margin-inline:calc(var(--frame) - var(--gutter));padding:clamp(32px,4.2vw,60px) var(--gutter);border-radius:24px;background:var(--surface-deep);color:#f7f4ee}
.project-story-introduction .section-label{color:#dedbd5}
.project-story-introduction .project-story-facts{flex-wrap:wrap;gap:20px 36px}
.project-story-introduction .project-story-facts dt{display:flex;width:22px;height:22px;flex-shrink:0;padding:0;background:transparent;color:var(--brand)}
.project-story-introduction .project-story-facts dt svg{display:block;width:22px;height:22px}
.project-story-introduction .project-story-facts div{display:flex;align-items:center;gap:10px}
.project-story-introduction .project-story-copy p{color:#dedbd5}
.project-story-introduction .project-story-text-link{color:#f7f4ee}
.project-story-introduction .project-story-text-link:focus-visible{outline:3px solid #f7f4ee;outline-offset:4px}
.project-story h1{font-size:clamp(44px,5.1vw,74px);line-height:1.06;letter-spacing:-.035em;margin:0;text-wrap:balance;max-width:15ch}
.project-story-summary{padding-bottom:4px}
.project-story-facts{display:flex;gap:48px;margin:0 0 24px}
.project-story-facts div{display:grid;gap:4px}
.project-story-facts dt{font-size:12px;font-weight:600;color:var(--brand)}
.project-story-facts dd{font-size:16px;font-weight:500;margin:0}
.project-story-copy p{margin:0 0 20px;color:var(--muted);font-size:15px;line-height:1.75}
.project-story-text-link{display:inline-flex;align-items:center;gap:12px;min-height:44px;color:var(--text);font-size:13px;font-weight:600;text-decoration:none}
.project-story-text-link:hover{text-decoration:underline;text-underline-offset:5px}
.project-story-text-link svg{width:20px;height:20px;flex-shrink:0}
.project-story-cover{margin:0 var(--frame);padding:10px;border-radius:28px;background:#fff;box-shadow:0 12px 28px #1717170d}
.project-story-cover-photo{display:block;position:relative;overflow:hidden;aspect-ratio:2.15;border-radius:20px;background:var(--surface)}
.project-story-cover-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.project-story-cover-ballynahinch .project-story-cover-photo img{object-position:50% 66%}
.project-story-cover-portrait .project-story-cover-photo{aspect-ratio:3/4;max-height:800px}
.project-story-cover-portrait .project-story-cover-photo img{object-fit:contain}
.project-story-cover figcaption{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:18px 20px 10px}
.project-story-cover figcaption p{font-size:14px;line-height:1.6;color:var(--muted);margin:0}
.project-story-cover .button{font-size:13px;flex-shrink:0}
.project-story-expand{position:absolute;right:16px;bottom:16px;display:grid;place-items:center;width:44px;height:44px;background:#101010ed;color:#fff;border-radius:50%;transition:background-color .2s ease}
.project-story-expand svg{width:21px;height:21px}
.project-story a:hover>.project-story-expand{background:var(--brand)}
.project-story-gallery .simple-heading{align-items:end}
.project-story-gallery h2{margin:0}
.project-story-gallery .simple-heading>p{max-width:35ch;margin:0}
.project-story-photo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
.project-story-photo{margin:0;background:#fff;padding:10px;border-radius:28px;box-shadow:0 12px 28px #1717170d}
.project-story-photo:first-child{grid-column:1/-1}
.project-story-photo-link{position:relative;display:block;overflow:hidden;border-radius:20px;aspect-ratio:4/3;background:var(--surface)}
.project-story-photo:first-child .project-story-photo-link{aspect-ratio:2}
.project-story-photo-portrait .project-story-photo-link,.project-story-photo-portrait:first-child .project-story-photo-link{aspect-ratio:3/4}
.project-story-photo-link img{display:block;width:100%;height:100%;object-fit:cover}
.project-story-photo figcaption{padding:18px 18px 12px;font-size:14px;line-height:1.6;color:var(--muted)}
.project-story-cover-photo:focus-visible,.project-story-photo-link:focus-visible{outline:3px solid var(--brand);outline-offset:4px}
.project-story-navigation{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:44px}
.project-story-enquiry{background:var(--surface-deep);color:#f7f4ee;margin:0 var(--frame);border-radius:24px}
.project-story-enquiry-grid{display:block;text-align:center}
.project-story-enquiry-grid>div{max-width:760px;margin:0 auto}
.project-story-enquiry .section-label{justify-content:center}
.project-story-enquiry .section-label{color:#d6d6d3}
.project-story-enquiry h2{margin:0 0 24px}
.project-story-enquiry-grid>div>p:not(.section-label){color:#d6d6d3;max-width:55ch;margin:0 auto 28px;font-size:15px;line-height:1.75}
.project-story-enquiry .actions{justify-content:center;flex-wrap:wrap;gap:14px}
.project-story-enquiry .button{font-size:13px}
.project-story-enquiry .button-on-dark{color:#f7f4ee}
.project-story-enquiry .button-on-dark:hover{color:#101010;background:#f7f4ee;border-color:#f7f4ee}
.single-ccni_project .site-footer{margin-top:var(--frame)}
body.project-viewer-open{overflow:hidden}
.project-photo-viewer{position:fixed;inset:0;width:100%;max-width:none;height:100%;height:100dvh;max-height:none;margin:0;border:0;padding:24px 32px;background:#101010;color:#f7f4ee;overflow:hidden}
.project-photo-viewer[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:20px}
.project-photo-viewer:not([open]){display:none}
.project-photo-viewer::backdrop{background:#101010}
.project-viewer-top{display:flex;justify-content:space-between;align-items:center;gap:20px}
.project-viewer-top h2{font-size:16px;line-height:1.4;font-weight:600;letter-spacing:0;margin:0}
.project-photo-viewer button{width:48px;height:48px;min-height:48px;display:grid;place-items:center;padding:0;border:1px solid #ffffff45;border-radius:50%;background:transparent;color:#f7f4ee;cursor:pointer}
.project-photo-viewer button:hover{background:#ffffff18}
.project-photo-viewer button:focus-visible{outline:3px solid #ff5656;outline-offset:4px}
.project-photo-viewer button svg{width:22px;height:22px}
.project-photo-viewer button[hidden]{display:none}
.project-viewer-stage{position:relative;min-height:0;display:grid;place-items:center;overflow:hidden}
.project-viewer-image{width:100%;height:100%;min-height:0;max-width:100%;max-height:100%;object-fit:contain;touch-action:pan-y pinch-zoom;opacity:1;transition:opacity .18s ease}
.project-viewer-stage.is-loading .project-viewer-image{opacity:0}
.project-viewer-loading,.project-viewer-error{position:absolute;text-align:center;max-width:35ch;margin:0;font-size:14px;line-height:1.6;color:#dedbd5}
.project-viewer-bottom{display:flex;justify-content:space-between;align-items:center;gap:24px}
.project-viewer-bottom>p{font-size:14px;line-height:1.6;margin:0;max-width:75ch;color:#dedbd5}
.project-viewer-controls{display:flex;align-items:center;gap:16px;flex-shrink:0}
.project-viewer-count{font-size:12px;font-weight:500;font-variant-numeric:tabular-nums;min-width:100px;text-align:center;margin:0;color:#dedbd5}
/* Keep the desktop project introduction together above the photographs. */
@media(min-width:900px){
 .project-story-introduction{display:block;text-align:center}
 .project-story-heading .section-label{justify-content:center}
 .project-story h1{max-width:none}
 .project-story-summary{max-width:66ch;margin:24px auto 0;padding:0}
 .project-story-facts{justify-content:center;margin-bottom:22px}
 .project-story-copy p{margin-bottom:12px}
}
@media(max-width:899px){
 .project-story-heading{padding-top:22px;padding-bottom:36px}
 .project-story-introduction{grid-template-columns:1fr;gap:28px}
 .project-story h1{font-size:clamp(38px,7.8vw,62px);max-width:none}
 .project-story-summary{padding:0;display:grid;grid-template-columns:1fr 1.2fr;gap:8px 28px}
 .project-story-facts{margin:0;grid-row:1/3;gap:32px}
 .project-story-copy p{margin-bottom:8px}
 .project-story-cover-photo{aspect-ratio:1.65}
 .project-story-cover figcaption{padding:16px 12px 8px;gap:18px}
 .project-story-cover figcaption p{font-size:13px}
 .project-story-cover .button{font-size:12px}
 .project-story-photo-grid{gap:24px}
 .project-story-photo:first-child .project-story-photo-link{aspect-ratio:1.65}
}
@media(min-width:600px) and (max-width:899px){
 .project-story-summary{display:block;max-width:66ch}
 .project-story-introduction .project-story-facts{align-items:center;justify-content:flex-start;grid-row:auto;gap:12px 24px;margin:0 0 20px}
}
@media(max-width:599px){
 .project-story-breadcrumb{margin-bottom:30px;font-size:11px}
 .project-story-heading{padding-top:18px;padding-bottom:28px}
 .project-story h1{font-size:clamp(38px,10vw,48px);line-height:1.1;max-width:12ch}
 .project-story .section-label{margin-bottom:16px}
 .project-story-introduction{gap:24px;border-radius:20px}
 .project-story-summary{display:block}
 .project-story-facts{gap:44px;margin-bottom:18px}
 .project-story-facts dd{font-size:15px}
 .project-story-copy p{font-size:14px;margin-bottom:8px}
 .project-story-cover{padding:8px;border-radius:26px}
 .project-story-cover-photo{aspect-ratio:4/3;border-radius:19px}
 .project-story-cover figcaption{display:block;padding:16px 12px 12px}
 .project-story-cover figcaption p{margin-bottom:16px}
 .project-story-cover .button{width:100%;min-height:48px}
 .project-story-photo-grid{grid-template-columns:1fr;gap:24px}
 .project-story-photo:first-child{grid-column:auto}
 .project-story-photo{padding:8px;border-radius:26px}
 .project-story-photo-link,.project-story-photo:first-child .project-story-photo-link{aspect-ratio:4/3;border-radius:19px}
 .project-story-photo-portrait .project-story-photo-link{aspect-ratio:3/4}
 .project-story-photo figcaption{font-size:13px;padding:16px 12px 10px}
 .project-story-expand{right:12px;bottom:12px}
 .project-story-navigation{flex-direction:column;align-items:stretch;gap:16px;margin-top:32px}
 .project-story-navigation .project-story-text-link{align-self:center}
 .project-story-enquiry{border-radius:20px}
 .project-story-enquiry .actions{flex-direction:column;align-items:stretch}
 .project-photo-viewer{padding:16px}
 .project-photo-viewer[open]{gap:14px}
 .project-viewer-top h2{font-size:13px;max-width:25ch}
 .project-viewer-bottom{flex-direction:column;gap:14px}
 .project-viewer-bottom>p{font-size:13px;text-align:center;max-width:40ch}
 .project-viewer-controls{gap:24px}
}
@media(prefers-reduced-motion:reduce){.project-viewer-image{transition:none}}
