.oriem-hero .case-hero-grid{grid-template-columns:1fr 1.1fr;gap:55px}.oriem-hero h1{font-size:clamp(39px,4.2vw,62px)}.oriem-hero-photo{min-width:0}.oriem-hero-photo img{width:100%;aspect-ratio:4/3;object-fit:cover}.oriem-facts{grid-template-columns:1fr 1fr 1.5fr}.oriem-facts strong{font-size:26px}.oriem-sequence-intro{max-width:750px}.oriem-sequence{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:32px}.oriem-sequence article{border-top:2px solid #d7b367;background:#172329;padding:24px 20px}.oriem-sequence h3{font-size:23px;margin:0 0 16px}.oriem-sequence p{font-size:14px;margin:0}.oriem-photo-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px 24px;margin-top:32px}.oriem-photo-grid .photo-open img{width:100%;height:380px;object-fit:contain;background:#0d1114}.oriem-wide-photo{margin-top:32px}.oriem-wide-photo img{width:100%;height:auto;max-height:650px;object-fit:contain;background:#0d1114}.oriem-case figcaption{font-size:12px;line-height:1.5}.oriem-challenges{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;margin-top:35px}.oriem-challenges article{border-top:1px solid #69757a;padding-top:22px}.oriem-challenges h3{font-size:24px;margin:0 0 16px}.oriem-challenges p{font-size:15px}.oriem-outcomes{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}.oriem-outcomes h2{margin-top:0}.oriem-outcomes article{border-bottom:1px solid #536169;padding:22px 0}.oriem-outcomes h3{font-size:23px;margin:0 0 12px}.oriem-outcomes article p{font-size:15px;margin:0}.oriem-video-placeholders{display:grid;grid-template-columns:repeat(3,1fr);gap:23px;margin-top:30px}.oriem-video-placeholders article{border:1px solid #4b5d67;background:linear-gradient(150deg,#20323b,#11191f);aspect-ratio:16/11;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:20px;text-align:center}.oriem-video-mark{font-size:42px;color:#d5b875;line-height:1}.oriem-video-placeholders h3{font-size:22px;margin:20px 0 8px}.oriem-video-placeholders p{font-size:12px;margin:0;color:#aab9c2}.oriem-case .case-project-details>div{grid-template-columns:115px 1fr}@media(max-width:1000px){.oriem-hero .case-hero-grid,.oriem-outcomes{gap:30px}.oriem-sequence{grid-template-columns:1fr 1fr}.oriem-facts strong{font-size:22px}.oriem-photo-grid .photo-open img{height:310px}}@media(max-width:700px){.oriem-hero .case-hero-grid,.oriem-outcomes{grid-template-columns:1fr;gap:30px}.oriem-hero h1{font-size:39px}.oriem-hero-photo img{aspect-ratio:auto;object-fit:contain}.oriem-facts{grid-template-columns:1fr;gap:20px}.oriem-facts>div{border:0;border-bottom:1px solid #414445;padding-bottom:20px}.oriem-facts strong{font-size:25px}.oriem-sequence,.oriem-challenges,.oriem-video-placeholders,.oriem-photo-grid{grid-template-columns:1fr;gap:24px}.oriem-photo-grid .photo-open img{height:auto}.oriem-wide-photo img{max-height:none}.oriem-video-placeholders article{aspect-ratio:16/9}}

#relocation-in-progress .oriem-photo-grid .story-photo:last-child{grid-column:1/-1}

.oriem-timelapse-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin-top:32px}.oriem-timelapse-grid figure{margin:0;min-width:0}.oriem-timelapse-grid video{display:block;width:100%;aspect-ratio:16/9;object-fit:contain;background:#070c0f;border:1px solid #42535b}.oriem-timelapse-grid figcaption h3{font-size:22px;margin:18px 0 8px}.oriem-timelapse-grid figcaption p,.oriem-video-note{font-size:13px;color:#afbec5}.oriem-timelapse-grid video:focus-visible{outline:2px solid #d7b367;outline-offset:4px}@media(max-width:700px){.oriem-timelapse-grid{grid-template-columns:1fr;gap:30px}}

/* Oriem: full-width paired timelapses immediately after the brief. */
.oriem-case.compact-project #timelapse{display:block}
.oriem-case.compact-project #timelapse>.story-section-heading{display:grid;grid-template-columns:1fr 1.3fr;gap:30px;margin-bottom:22px}
.oriem-case.compact-project #timelapse .oriem-timelapse-grid{width:100%;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:0}
.oriem-case.compact-project #timelapse video{width:100%;height:auto;max-height:none;aspect-ratio:16/9}
@media(max-width:700px){.oriem-case.compact-project #timelapse>.story-section-heading{grid-template-columns:1fr;gap:12px}.oriem-case.compact-project #timelapse .oriem-timelapse-grid{gap:12px}}

/* Fill the brief’s left column with the reinstalled-equipment photo. */
.oriem-case.compact-project #overview .oriem-brief-photo{margin-top:24px}
.oriem-case.compact-project #overview .oriem-brief-photo .photo-open{width:100%;height:auto}
.oriem-case.compact-project #overview .oriem-brief-photo img{width:100%;height:auto;max-height:none;aspect-ratio:1018 / 771;object-fit:contain}

/* Single horizontal rows for the remaining multi-photo Oriem galleries. */
.oriem-case.compact-project main :is(#transport-handling-photos,#reinstallation-photos,#relocation-in-progress-photos){display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:32%;gap:16px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#d5b76e #26313a;padding:3px 3px 12px;margin-top:12px}
.oriem-case.compact-project main .oriem-horizontal-gallery>.story-photo{scroll-snap-align:start;min-width:0}
.oriem-gallery-controls{display:flex;align-items:center;gap:8px;margin-top:18px;color:#c9d3db;font-size:12px}
.oriem-gallery-controls>span{margin-right:auto}
.oriem-gallery-controls button{width:36px;height:32px;background:#202c34;border:1px solid #697984;color:#e4c778;cursor:pointer}
.oriem-gallery-controls button:hover{background:#35434c}
.oriem-horizontal-gallery:focus-visible{outline:2px solid #d5b76e;outline-offset:4px}
@media(max-width:700px){.oriem-case.compact-project main :is(#transport-handling-photos,#reinstallation-photos,#relocation-in-progress-photos){grid-template-columns:none;grid-auto-columns:72%;gap:12px}}
