/* Project presentation: a quiet, persistent introduction beside a media story. */
.project-page{--case-header:96px;--case-gutter:clamp(22px,2vw,40px);--case-space:clamp(65px,6vw,115px);background:#fff}
.project-page .site-header{padding-inline:var(--case-gutter)}
.project-layout{display:grid;grid-template-columns:minmax(260px,.86fr) minmax(0,1.92fr);gap:clamp(45px,5vw,105px);padding:54px var(--case-gutter) 0;align-items:start}
.project-sidebar{position:sticky;top:calc(var(--case-header) + 36px);display:flex;flex-direction:column;height:calc(100svh - var(--case-header) - 68px);overflow-y:auto;scrollbar-width:thin;padding:0 6px 8px 0;min-width:0}
.project-kind{font-size:12px;line-height:1.5;max-width:none;color:#111}
.project-sidebar h1{font-size:clamp(34px,3.3vw,62px);line-height:1.03;letter-spacing:-.045em;margin:12px 0 34px;font-weight:400}
.project-summary-copy{max-width:38ch;font-size:clamp(13px,1.03vw,16px);line-height:1.48;color:#171717}
.project-summary-copy>p{margin-bottom:23px}
.project-role-line{margin-top:auto;padding-top:34px;font-size:12px;line-height:1.6;max-width:40ch}
.project-stream{min-width:0;width:100%}
.project-stream .section-shell{width:100%;max-width:none;padding-inline:0}
.project-stream>section,.project-stream>.media-block{padding-block:0;margin:0 0 var(--case-space);border:0;background:#fff}
.project-stream .campaign-chapter,.project-stream .film-section{padding:0;margin:0 0 var(--case-space);border:0}
.project-stream .campaign-section>.campaign-chapter:not(.oasis-campaign){padding-top:0;border:0}
.project-stream .case-section-heading,.project-stream .campaign-chapter-heading,.project-stream .collection-heading,.project-stream .spatial-index-heading{display:block;margin:0 0 24px;text-align:right}
.project-stream .case-section-heading h2,.project-stream .campaign-chapter-heading h3,.project-stream .collection-heading h2,.project-stream .spatial-index-heading h2,.project-stream .spatial-chapter-copy h2,.project-stream .material-header h2,.project-stream .warm-wellbeing h2,.project-stream>.source-strip>h2,.media-label{font:italic 16px/1.4 var(--sans);letter-spacing:-.025em;text-transform:none;margin:0 0 24px;text-align:right;color:#111;max-width:none}
.project-stream .campaign-chapter-heading h3{margin-bottom:7px}
.project-stream .oasis-arabic{font-size:13px;margin:0;text-align:right}
.project-stream .campaign-index{border:0;padding:0;margin:0 0 42px;gap:12px 22px;font-size:11px}
.project-stream .campaign-index a{min-height:30px;align-items:center;gap:8px}
.project-stream .project-cover,.project-stream .campaign-film{margin:0 0 38px;overflow:visible}
.project-stream .project-cover>img,.project-stream .project-cover .gallery-button img{width:100%;height:auto;aspect-ratio:auto;object-fit:contain}
.project-stream .gallery-button{display:block;width:100%;padding:0;line-height:0;background:transparent}
.project-stream .gallery-button:hover img{transform:none}
.project-stream .gallery-button::after{right:13px;bottom:13px}
.project-stream img{display:block;width:100%;height:auto}
.project-stream .project-cover figcaption,.project-stream figure>figcaption{font-size:10px;line-height:1.6;letter-spacing:0;text-transform:none;color:var(--muted)}
.project-stream .project-lead{margin-bottom:var(--case-space)}
.project-stream .project-lead figure{margin:0}
.project-stream .project-lead-film video{width:100%;height:auto;aspect-ratio:16/10;object-fit:contain;background:#000}
.project-stream .project-lead-film figcaption{padding-top:12px}
.project-stream .azza-cover{max-width:none}
.project-stream .azza-cover img{max-height:76svh;object-fit:contain}
.project-stream .okhtein-opening{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.project-stream .okhtein-opening>.okhtein-still:last-child{width:100%;margin:0}
.project-stream .campaign-lead-pair,.project-stream .campaign-grid-pair,.project-stream .case-image-pair,.project-stream .spatial-pair,.project-stream .warm-pair{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;max-width:none;margin:0 0 38px;align-items:start}
.project-stream .campaign-lead-pair>.campaign-image:last-child,.project-stream .campaign-grid-pair>.campaign-image:last-child,.project-stream .case-image-pair>figure:nth-child(2),.project-stream .spatial-pair>figure:nth-child(2),.project-stream .warm-pair-offset>.warm-image:last-child{margin:0;width:100%}
.project-stream .case-image-pair img{aspect-ratio:auto;height:auto;object-fit:contain}
.project-stream .film-gallery-grid,.project-stream .okhtein-film-grid,.project-stream .azza-film-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:50px 24px;max-width:none;margin:0}
.project-stream .film-card h3,.project-stream .okhtein-film-card h3,.project-stream .azza-film-card h3{font-size:18px;line-height:1.3;letter-spacing:-.02em;margin-top:8px}
.project-stream .film-card figcaption>p,.project-stream .okhtein-film-card figcaption>p,.project-stream .azza-film-card figcaption>p{font-size:12px;line-height:1.65;margin-top:10px}
.project-stream .film-meta,.project-stream .okhtein-film-meta,.project-stream .azza-film-meta{font-size:9px;letter-spacing:0}
.project-stream video{background:#000;object-fit:contain}
.project-stream .film-byline{font-size:9px;letter-spacing:0}
.project-stream .spatial-chapter-grid,.project-stream .warm-wellbeing-grid,.project-stream .architecture-grid{display:block}
.project-stream .spatial-chapter-copy h2,.project-stream .warm-wellbeing h2{margin-bottom:24px}
.project-stream .spatial-pair.one-media{display:block}
.project-stream .warm-full-view{margin-bottom:38px}
.project-stream .warm-wellbeing-grid>div{margin-bottom:24px}
.project-stream .collection-section{border:0;background:#fff}
.project-stream .media-credit{font-size:11px;line-height:1.7;margin:0 0 32px;padding:0;max-width:70ch;color:var(--muted)}
.project-stream .collection-tabs{overflow-x:auto;scrollbar-width:thin;margin:0 0 30px}
.project-stream .collection-tabs button{font-size:11px;margin-right:24px;padding-right:0;flex-shrink:0}
.project-stream .collection-panel{display:block}
.project-stream .collection-panel-copy{max-width:none;margin-bottom:28px}
.project-stream .collection-panel-copy .eyebrow{font-size:10px;margin-bottom:8px}
.project-stream .collection-panel-copy h3{font-size:22px;line-height:1.3;letter-spacing:-.02em;margin-bottom:13px}
.project-stream .collection-panel-copy>p{font-size:12px;line-height:1.7;max-width:65ch}
.project-stream .palette-chips{margin-top:18px}
.project-stream .collection-panel .gallery-button img{aspect-ratio:auto;height:auto;object-fit:contain}
.project-stream .project-download{padding:24px 0 0;margin-top:35px;border:0;border-top:1px solid var(--line);gap:24px}
.project-stream .project-download h3{font-size:18px;letter-spacing:-.02em;line-height:1.3}
.project-stream .project-download p{font-size:11px;line-height:1.7}
.project-stream .material-header{display:block}
.project-stream .material-palette{margin-top:24px;gap:22px}
.project-stream .interior-gallery-item{margin-bottom:0}
.project-stream .gallery-label{display:block;padding-top:13px}
.project-stream .gallery-label>span{display:none}
.project-stream .gallery-label h3{font-size:14px;line-height:1.4;letter-spacing:0}
.project-stream .gallery-label p{font-size:11px;line-height:1.6;margin-top:5px;max-width:65ch}
.project-stream .okhtein-reference-note{display:block;border:0;margin:35px 0 0;padding:0;max-width:70ch}
.project-stream .okhtein-reference-note>.eyebrow{margin-bottom:10px}
.project-stream .okhtein-reference-note>p:last-child{font-size:11px;line-height:1.7}
/* One image at a time, with native horizontal scrolling and progressive controls. */
.media-carousel{width:100%;margin:0 0 30px}
.carousel-stage{position:relative;background:#000;color:#fff}
.carousel-track{display:grid;grid-auto-flow:column;grid-auto-columns:100%;grid-template-rows:minmax(0,1fr);height:clamp(330px,66svh,800px);overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-behavior:smooth;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#666 #000}
.carousel-track:focus-visible{outline:2px solid #111;outline-offset:6px}
.carousel-landscape .carousel-track{height:auto;aspect-ratio:16/10}
.project-page .media-carousel .carousel-slide{display:grid;grid-template-rows:minmax(0,1fr) auto;gap:0;height:100%;min-height:0;min-width:0;width:100%;margin:0;scroll-snap-align:start;scroll-snap-stop:always;overflow:hidden;padding:0}
/* Keep intrinsic image dimensions out of the grid's row sizing. The first row
   stretches to the available space; the whole image fits inside that box. */
.project-page .media-carousel .carousel-slide .gallery-button{position:relative;display:block;align-self:stretch;width:100%;height:auto;min-width:0;min-height:0;overflow:hidden;background:#000}
.project-page .media-carousel .carousel-slide img{position:absolute;inset:0;display:block;width:100%;height:100%;min-width:0;min-height:0;max-width:100%;max-height:100%;object-fit:contain;object-position:center;aspect-ratio:auto;transform:none}
.project-page .media-carousel .carousel-slide figcaption{display:flex;justify-content:center;align-items:center;gap:14px;text-align:center;color:#ddd;padding:13px 65px 18px;margin:0;font-size:11px;line-height:1.5;letter-spacing:0}
.project-page .media-carousel .carousel-slide figcaption>span,.project-page .media-carousel .carousel-slide figcaption>span:last-child{display:inline;text-align:center;margin:0;color:inherit;font-size:inherit}
.project-page .media-carousel .gallery-label h3{font-size:12px;color:#ddd}
.project-page .media-carousel .gallery-label p{display:none}
.carousel-controls{position:absolute;inset:0;pointer-events:none;z-index:2}
.carousel-arrow{position:absolute;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:54px;height:70px;padding:0;border:0;border-radius:0;background:rgba(0,0,0,.28);color:#fff;pointer-events:auto;transition:opacity .2s,background .2s}
.carousel-prev{left:9px}.carousel-next{right:9px}
.carousel-arrow:hover{background:rgba(0,0,0,.65)}
.carousel-arrow:disabled{opacity:.25;pointer-events:none}
.carousel-arrow:focus-visible{outline-color:#fff;outline-offset:-5px}
.carousel-position{margin-top:12px;text-align:right;font-size:10px;line-height:1.5;color:var(--muted);max-width:none;font-variant-numeric:tabular-nums}
/* Keep full text and project metadata available without interrupting the media. */
.project-notes{border-top:1px solid var(--line);margin-top:55px;font-size:12px}
.project-notes>summary{padding:21px 0;cursor:pointer;font-size:12px;line-height:1.5}
.project-notes>summary:focus-visible{outline-offset:4px}
.project-notes-body{padding-top:16px;max-width:780px}
.project-notes-body .case-introduction{display:block;padding:0;margin:0 0 30px}
.project-notes-body .case-introduction h2{font-size:25px;line-height:1.2;margin-bottom:22px;letter-spacing:-.025em}
.project-notes-body .case-introduction .case-lead{font-size:16px;line-height:1.5}
.project-notes-body .case-introduction p,.project-notes-body>p{font-size:12px;line-height:1.75}
.project-notes-body .project-meta{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;padding:24px 0;margin:25px 0}
.project-notes-body .project-meta dt{font-size:9px}
.project-notes-body .project-meta dd{font-size:12px}
.project-note-section{margin:26px 0}
.project-note-section h3,.project-notes-body .okhtein-feature-copy h3{font-size:16px;line-height:1.4;letter-spacing:-.02em;margin:0 0 12px}
.project-note-section p{font-size:12px;line-height:1.75;max-width:70ch}
.project-notes-body .interior-closing{display:block;padding:0;margin:30px 0}
.project-notes-body .interior-closing h2{font-size:24px;line-height:1.2;margin-bottom:20px}
.project-notes-body .architecture-stats{margin:30px 0}
.project-return{padding:105px 0 100px;text-align:center}
.project-return>a{display:inline-block;font-size:15px;line-height:1.5;text-decoration:underline;text-underline-offset:4px;padding:12px 0}
.project-return>a:hover{opacity:.6}
/* Reveal is optional; every image stays visible without JavaScript. */
.media-reveal-pending{opacity:0;transform:translateY(22px);transition:opacity .65s ease,transform .65s ease}
.media-reveal-pending.is-visible{opacity:1;transform:none}
@media(min-width:1800px){.project-page{--case-header:115px}.project-layout{padding-top:65px}}
@media(max-width:1100px){
 .project-layout{grid-template-columns:minmax(230px,.85fr) minmax(0,1.65fr);gap:35px}
 .project-summary-copy{font-size:13px;line-height:1.5}
 .project-role-line{font-size:11px}
 .project-sidebar h1{font-size:36px;margin-bottom:28px}
 .project-stream .okhtein-film-grid,.project-stream .film-gallery-grid,.project-stream .azza-film-grid{gap:36px 20px}
 .project-stream .film-card h3,.project-stream .okhtein-film-card h3,.project-stream .azza-film-card h3{font-size:16px}
 .carousel-track{height:clamp(300px,60svh,650px)}
}
@media(min-width:901px) and (max-height:740px){
 .project-sidebar h1{font-size:34px;margin-bottom:24px}
 .project-summary-copy{font-size:12px;line-height:1.45}
 .project-summary-copy>p{margin-bottom:18px}
 .project-role-line{font-size:10px;padding-top:20px}
}
@media(max-width:900px){
 .project-page{--case-space:70px}
 .project-layout{display:block;padding-top:35px}
 .project-sidebar{position:static;height:auto;overflow:visible;padding:0;margin-bottom:55px;max-width:660px}
 .project-kind{font-size:12px}
 .project-sidebar h1{font-size:clamp(38px,6vw,54px);margin:12px 0 25px}
 .project-summary-copy{max-width:62ch;font-size:14px;line-height:1.6}
 .project-summary-copy>p{margin-bottom:18px}
 .project-role-line{margin-top:0;padding-top:6px;font-size:11px;max-width:none}
 .project-stream .project-lead-film video{aspect-ratio:16/11}
 .project-stream .azza-cover img{max-height:none}
 .carousel-track{height:clamp(330px,68svh,760px)}
 .project-return{padding:85px 0 80px}
}
@media(max-width:620px){
 .project-page{--case-header:76px;--case-gutter:20px;--case-space:56px}
 .project-layout{padding-top:26px}
 .project-sidebar{margin-bottom:40px}
 .project-kind{font-size:11px}
 .project-sidebar h1{font-size:38px;margin-bottom:24px}
 .project-summary-copy{font-size:13px;line-height:1.6}
 .project-role-line{font-size:10px;line-height:1.7}
 .project-stream .case-section-heading,.project-stream .campaign-chapter-heading,.project-stream .collection-heading,.project-stream .spatial-index-heading{margin-bottom:21px}
 .project-stream .case-section-heading h2,.project-stream .campaign-chapter-heading h3,.project-stream .collection-heading h2,.project-stream .spatial-chapter-copy h2,.project-stream .material-header h2,.project-stream .warm-wellbeing h2,.project-stream>.source-strip>h2,.media-label{font-size:14px}
 .project-stream .campaign-index{font-size:10px;gap:5px 18px;margin-bottom:25px;display:flex}
 .project-stream .project-lead-film video{aspect-ratio:4/5}
 .project-stream .project-cover,.project-stream .campaign-film{margin-bottom:28px}
 .project-stream .okhtein-opening,.project-stream .campaign-lead-pair,.project-stream .campaign-grid-pair,.project-stream .case-image-pair,.project-stream .spatial-pair,.project-stream .warm-pair{gap:14px;margin-bottom:28px}
 .project-stream .film-gallery-grid,.project-stream .okhtein-film-grid{grid-template-columns:1fr;gap:35px}
 .project-stream .azza-film-grid{grid-template-columns:1fr;gap:35px;max-width:420px;margin-inline:auto}
 .project-stream .film-card h3,.project-stream .okhtein-film-card h3,.project-stream .azza-film-card h3{font-size:18px}
 .project-stream .okhtein-film-card video{max-height:76svh;width:100%;object-fit:contain}
 .project-stream .project-cover figcaption,.project-stream figure>figcaption{font-size:9px;line-height:1.6}
 .project-stream .project-cover figcaption{display:block}
 .project-stream .project-cover figcaption>span{display:block;text-align:left}
 .project-stream .project-cover figcaption>span:last-child{margin-top:3px;text-align:left}
 .project-stream .collection-tabs button{font-size:10px;margin-right:20px}
 .project-stream .collection-panel-copy h3{font-size:21px}
 .project-stream .media-credit{font-size:10px;margin-bottom:24px}
 .carousel-track{height:clamp(310px,65svh,600px)}
 .carousel-landscape .carousel-track{height:auto;aspect-ratio:16/11}
 .carousel-arrow{width:40px;height:60px}
 .carousel-arrow svg{width:26px;height:26px}
 .carousel-prev{left:3px}.carousel-next{right:3px}
 .project-page .media-carousel .carousel-slide figcaption{font-size:10px;padding:12px 43px 17px;gap:9px}
 .carousel-position{font-size:9px}
 .project-notes{margin-top:35px}
 .project-notes-body .project-meta{gap:20px 15px}
 .project-notes-body .project-meta dd{font-size:11px}
 .project-return{padding:70px 0 65px}
 .project-return>a{font-size:13px}
}
@media(prefers-reduced-motion:reduce){
 .carousel-track{scroll-behavior:auto}
 .media-reveal-pending{opacity:1;transform:none;transition:none}
 .carousel-arrow{transition:none}
}
@media print{
 .project-layout{display:block;padding:20px}
 .project-sidebar{position:static;height:auto;overflow:visible;margin-bottom:35px}
 .project-role-line{margin-top:0;padding-top:10px}
 .carousel-track{display:block;height:auto;overflow:visible}
 .project-page .media-carousel .carousel-slide{height:auto;margin-bottom:25px}
 .project-page .media-carousel .carousel-slide .gallery-button{height:auto;background:#fff}
 .project-page .media-carousel .carousel-slide img{position:static;height:auto;max-height:none}
 .project-page .media-carousel .carousel-slide figcaption{color:#111}
 .carousel-controls,.carousel-position,.project-return{display:none}
 .media-reveal-pending{opacity:1;transform:none}
}
