/* Approved photos determine the block size. Three consistent display formats, no letterboxing. */
.editorial-photo,.reference-card img,.method-grid img{background:transparent}
.editorial-photo img,.reference-card img,.method-grid img,.photo-strip .editorial-photo img,.contact-person>.editorial-photo>img,.contact-layout .editorial-photo img,.process-section .editorial-photo img{display:block;width:100%;height:auto;max-height:none;object-fit:cover;aspect-ratio:3/2}
.editorial-photo img.image-format-portrait,.reference-card img.image-format-portrait,.method-grid img.image-format-portrait,.photo-strip .editorial-photo img.image-format-portrait{aspect-ratio:3/4}
.editorial-photo img.image-format-wide,.reference-card img.image-format-wide,.method-grid img.image-format-wide,.photo-strip .editorial-photo img.image-format-wide{aspect-ratio:16/9}
.editorial-row{padding-top:48px;padding-bottom:48px;gap:clamp(28px,4vw,64px)}
.editorial-row.row-portrait{grid-template-columns:minmax(220px,360px) minmax(0,1fr);max-width:1180px}
.editorial-row.row-portrait.reverse{grid-template-columns:minmax(0,1fr) minmax(220px,360px)}
.editorial-copy>p:last-child{margin-bottom:0}
.editorial-photo figcaption{background:transparent;padding:10px 0}
.editorial-intro{padding-top:56px;padding-bottom:24px}
.company-facts{padding-top:36px;padding-bottom:36px}
.contact-real{padding-top:56px;padding-bottom:56px;align-items:center;gap:0}
.contact-message{padding:40px 64px 40px 40px}
.contact-person{padding:24px;margin-top:24px}
.contact-person h3{margin-top:18px}
.contact-person>.editorial-photo>img{aspect-ratio:3/2}
.reference-grid{align-items:start;gap:28px}
.reference-card:has(.image-format-portrait){max-width:300px;justify-self:center;width:100%}
.reference-card>a>div{padding:20px 12px}
.photo-strip{display:flex;flex-wrap:wrap;align-items:flex-start;gap:24px}
.photo-strip>.editorial-photo{flex:1 1 300px;max-width:calc(50% - 12px)}
.photo-strip>.photo-portrait{flex:0 1 260px;max-width:260px}
.photo-strip>.editorial-photo:only-child{flex:0 1 680px;max-width:min(100%,680px)}
.photo-strip>.photo-portrait:only-child{flex:0 1 340px;max-width:min(100%,340px)}
.photo-strip figcaption{padding:10px 0}
.project-detail:has(.photo-strip>.photo-portrait:only-child){display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:24px 56px;max-width:1440px;margin:auto}
.project-detail:has(.photo-strip>.photo-portrait:only-child)>.project-summary{display:block;margin:0}
.project-detail:has(.photo-strip>.photo-portrait:only-child)>.project-summary>div+div{margin-top:28px}
.project-detail:has(.photo-strip>.photo-portrait:only-child)>.photo-strip{margin:0}
.project-detail:has(.photo-strip>.photo-portrait:only-child)>.project-back{grid-column:1/-1;margin:0}
.method-grid img.image-format-portrait{max-width:260px}
.process-section .editorial-row{align-items:center}
.process-section .editorial-photo{justify-self:start;width:100%;max-width:580px}
.process-section .editorial-photo:has(.image-format-portrait){max-width:300px;justify-self:center}
.process-heading,.process-copy{min-height:0}
.split-hero{background:#2b2e31;color:white;display:grid;grid-template-columns:minmax(320px,.85fr) minmax(0,1.15fr);align-items:center;gap:40px;padding:48px clamp(20px,5vw,80px)}
.split-hero-copy{max-width:580px}.split-hero h1{font-size:clamp(32px,3.15vw,46px);line-height:1.08;font-weight:600;margin:0 0 28px;letter-spacing:-.02em}.split-hero p{font-size:19px;line-height:1.6;color:#e6e8ea}.split-hero .split-lead{color:#f9c400;font-size:17px;font-weight:600}
.split-hero-photos{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:start}.split-hero-photos img{display:block;width:100%;height:auto;aspect-ratio:3/4;object-fit:cover}.split-hero-photos img:nth-child(2){margin-top:32px}
@media(max-width:1000px){.split-hero{grid-template-columns:1fr;gap:24px}.split-hero-copy{max-width:800px}.split-hero-photos{max-width:620px}.editorial-row.row-portrait,.editorial-row.row-portrait.reverse{grid-template-columns:1fr 1fr}.project-detail:has(.photo-strip>.photo-portrait:only-child){grid-template-columns:1fr 280px;gap:32px}.contact-message{padding:32px 48px 32px 32px}}
@media(max-width:700px){.editorial-row,.editorial-row.row-portrait,.editorial-row.row-portrait.reverse{grid-template-columns:1fr;padding-top:32px;padding-bottom:32px;gap:24px}.editorial-row>.photo-portrait{max-width:340px;width:100%;justify-self:start}.contact-real{padding-top:36px;padding-bottom:36px}.contact-person{margin:0;top:0;padding:20px}.contact-message{padding:28px 20px}.editorial-intro{padding-top:40px}.reference-card:has(.image-format-portrait){justify-self:start;max-width:320px}.photo-strip>.editorial-photo{flex-basis:100%;max-width:100%}.photo-strip>.photo-portrait{flex-basis:calc(50% - 12px);max-width:calc(50% - 12px)}.project-detail:has(.photo-strip>.photo-portrait:only-child){display:block}.project-detail:has(.photo-strip>.photo-portrait:only-child)>.photo-strip{margin:24px 0}.project-detail:has(.photo-strip>.photo-portrait:only-child)>.project-back{margin-top:24px}.process-section .editorial-photo:has(.image-format-portrait){max-width:260px;justify-self:start}.split-hero{padding-top:32px;padding-bottom:32px}.split-hero-photos{gap:12px}.split-hero-photos img:nth-child(2){margin-top:16px}}
/* Gentle photo hover, intentionally independent of prefers-reduced-motion.
   Matching inset keeps the enlarged photograph inside its original bounds. */
main img[src*="assets/real/"]{transform:scale(1);clip-path:inset(0);transition:transform 420ms ease,clip-path 420ms ease!important}
@media(hover:hover) and (pointer:fine){main img[src*="assets/real/"]:hover{transform:scale(1.03);clip-path:inset(1.456311%)} }
/* Proportional columns produce a shared image height in each gallery row. */
.photo-strip.aligned-gallery{display:grid;gap:28px}
.photo-row{display:grid;gap:24px;width:100%;align-items:start}
.photo-row>.editorial-photo{margin:0;min-width:0;width:100%}
@media(max-width:700px){.photo-row{display:flex;flex-wrap:wrap;gap:24px;max-width:100%!important}.photo-row>.editorial-photo{flex:0 0 100%}.photo-row>.photo-portrait{flex-basis:calc(50% - 12px)}}
.photo-strip.aligned-gallery{grid-template-columns:minmax(0,1fr)}
.parts-gallery{margin-top:48px}.parts-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}.part-card{padding:0;border:0;background:transparent;color:inherit;text-align:left;font:inherit;cursor:pointer}.part-image{display:block;position:relative;background:#fff;overflow:hidden}.part-image img{display:block;width:100%;aspect-ratio:1;object-fit:contain;transition:transform .4s}.part-card:hover img{transform:scale(1.03)}.part-expand{position:absolute;bottom:10px;right:10px;background:#f9c400;color:#222;width:36px;height:36px;display:grid;place-items:center;font-size:26px}.part-name{display:block;padding:12px 0;font-weight:600}.viewer-dialog{padding:0;border:0;width:min(92vw,1080px);max-width:none;height:min(90vh,900px);max-height:none;background:white;overflow:hidden}.viewer-dialog::backdrop{background:rgba(20,23,26,.65);backdrop-filter:blur(8px)}.viewer-dialog header{display:flex;align-items:center;justify-content:space-between;padding:12px 20px;height:60px;box-sizing:border-box;background:#2b2e31;color:white}.viewer-dialog h2{margin:0;font:600 20px 'IBM Plex Sans',Arial,sans-serif}.viewer-close{border:0;background:#f9c400;color:#222;font-size:28px;width:38px;height:38px;cursor:pointer}.viewer-dialog iframe{display:block;border:0;width:100%;height:calc(100% - 60px)}body.viewer-open{overflow:hidden}.part-card:focus-visible,.viewer-close:focus-visible{outline:3px solid #f9c400;outline-offset:4px}@media(max-width:1000px){.parts-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:600px){.parts-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.viewer-dialog{width:96vw;height:80vh}.viewer-dialog header{padding:10px}.viewer-dialog h2{font-size:17px}}
/* Review feedback: inset captions and consistent project overview rows. */
.editorial-photo{position:relative;overflow:hidden}
.editorial-photo figcaption,.photo-strip .editorial-photo figcaption{position:absolute;left:0;right:0;bottom:0;z-index:1;padding:10px 12px;margin:0;background:rgba(20,23,26,.68);color:white;font-size:14px;line-height:1.4;pointer-events:none}
.reference-grid{align-items:stretch;column-gap:32px;row-gap:16px}
.reference-card,.reference-card:has(.image-format-portrait){display:grid;grid-template-rows:subgrid;grid-row:span 5;width:100%;max-width:none;margin-bottom:48px;justify-self:stretch}
.reference-card[hidden]{display:none}
.reference-card>a{display:grid;grid-template-rows:subgrid;grid-row:span 5;gap:16px;padding:0 0 20px}
.reference-card .reference-image{display:block;aspect-ratio:3/2;overflow:hidden}
.reference-card .reference-image img{width:100%;height:100%;max-height:none;aspect-ratio:auto;object-fit:cover}
.reference-card .reference-category,.reference-card h3,.reference-card p,.reference-card .text-link{margin:0 16px}
.reference-card h3{align-self:start}.reference-card p{align-self:start}.reference-card .text-link{align-self:end;justify-self:start;margin-bottom:0;display:inline-flex;align-items:center;gap:8px}
.lucide-icon{width:22px;height:22px;flex:none;vertical-align:middle;display:inline-block}
.parts-grid{display:flex;flex-wrap:wrap;justify-content:center;gap:24px}
.parts-grid>.part-card{flex:0 0 calc((100% - 96px)/5);min-width:0}
.part-name{position:absolute;bottom:0;left:0;right:0;background:rgba(20,23,26,.68);color:#fff;padding:10px 48px 10px 10px;font-size:14px;line-height:1.35;font-weight:500;min-height:56px;display:flex;align-items:center;box-sizing:border-box}
.part-expand{bottom:10px;right:8px;width:30px;height:30px;display:flex;align-items:center;justify-content:center}.part-expand .lucide-icon{width:19px;height:19px}
.viewer-close{padding:0!important;display:flex!important;align-items:center;justify-content:center;line-height:1;flex:0 0 38px;box-sizing:border-box}.viewer-close .lucide-icon{width:24px;height:24px;margin:0}
.viewer-dialog header{gap:16px}.viewer-dialog h2{min-width:0}
.module-variant{max-width:1280px;margin:0 auto 48px}.module-variant h3{font-size:25px;margin:0 0 20px}.module-image-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.module-image-row .editorial-photo{margin:0;min-width:0}.module-image-row .editorial-photo img,.module-image-row .part-image img{width:100%;height:auto;aspect-ratio:1;object-fit:cover}.module-visualizations{padding-top:0}.module-visualizations .editorial-intro{padding-top:24px}
.process-section{overflow:hidden}.process-section .editorial-row{min-height:570px}.process-section .editorial-photo{height:400px;display:flex;align-items:center;justify-content:center}.process-section .editorial-photo img{max-height:400px;width:100%;height:auto}.process-section .editorial-photo:has(.image-format-portrait){height:400px;max-width:300px}.process-section .editorial-copy{min-width:0}
@media(max-width:1000px){.parts-grid>.part-card{flex-basis:calc((100% - 48px)/3)}.module-image-row{gap:12px}.reference-grid{column-gap:24px}}
@media(max-width:700px){.parts-grid>.part-card{flex-basis:calc((100% - 24px)/2)}.module-image-row{grid-template-columns:repeat(2,minmax(0,1fr))}.reference-card,.reference-card>a{grid-template-rows:none;grid-row:auto}.reference-card>a{display:flex;flex-direction:column}.reference-card{margin-bottom:20px}.reference-card .reference-image{width:100%;flex:none}.editorial-photo figcaption{font-size:12px;padding:8px}.process-section .editorial-row{min-height:760px}.process-section .editorial-photo{height:320px}.process-section .editorial-photo img{max-height:320px}.process-section .editorial-photo:has(.image-format-portrait){height:320px;max-width:240px}.process-section .editorial-copy{min-height:290px}.module-variant{margin-bottom:36px}}
/* Three stills above one full-width panorama, without image captions. */
.module-image-row{grid-template-columns:repeat(3,minmax(0,1fr))}
.module-image-row>.panorama-card{grid-column:1/-1;width:100%;display:block}
.module-image-row .panorama-card .part-image img{aspect-ratio:2/1;object-fit:cover;transform:none}
.panorama-orbit{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;pointer-events:none}
.panorama-orbit .lucide-icon{width:44px;height:44px;color:white;padding:16px;box-sizing:content-box;background:rgba(20,23,26,.65);animation:panorama-orbit-turn 8s linear infinite}
@keyframes panorama-orbit-turn{to{transform:rotate(360deg)}}
@media(max-width:700px){.module-image-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.panorama-orbit .lucide-icon{width:32px;height:32px;padding:12px}}
.panorama-orbit::before{content:"";position:absolute;width:76px;height:76px;background:rgba(20,23,26,.65)}
.panorama-orbit .lucide-icon{position:relative;background:transparent}
@media(max-width:700px){.panorama-orbit::before{width:56px;height:56px}}
