/* Editorial case galleries: pale stone, readable product views, direct interaction. */
.project-gallery{--pg-ink:var(--ink,#18202a);--pg-blue:var(--blue,#2349be);--pg-line:#263c5629;--pg-paper:#f5f5ef;color:var(--pg-ink);margin:clamp(64px,9vw,136px) 0 0}
.pg-chapter{margin:0 0 clamp(70px,9vw,128px)}
.pg-chapter-header{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(230px,.8fr);align-items:end;gap:6%;margin:0 0 34px;padding-top:26px;border-top:1px solid var(--pg-line)}
.pg-chapter-header h2{font-family:var(--font-display,Georgia,serif);font-weight:300;font-size:clamp(34px,3.8vw,61px);line-height:1.07;letter-spacing:-.025em;margin:0;max-width:16ch}
.pg-chapter-header p{font-size:15px;line-height:1.7;color:#536172;margin:0;max-width:44ch;justify-self:end}
.pg-row{display:grid;gap:40px 28px;align-items:start}
.pg-row--pair{grid-template-columns:repeat(2,minmax(0,1fr))}
.pg-row--lead{grid-template-columns:repeat(2,minmax(0,1fr))}
.pg-row--lead .pg-item:first-child{grid-column:1/-1}
.pg-row--phones{grid-template-columns:repeat(3,minmax(0,1fr));gap:40px 20px;max-width:1100px;margin:auto}
.pg-row--phones.pg-count-2{grid-template-columns:repeat(2,minmax(0,1fr));max-width:820px;gap:50px}
.pg-row--phones.pg-count-4{grid-template-columns:repeat(4,minmax(0,1fr));max-width:none;gap:22px}
.pg-row--asymmetric{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr)}
.pg-item{margin:0;min-width:0}
.pg-image-button{position:relative;display:block;width:100%;padding:0;overflow:hidden;border:1px solid #344a611b;border-radius:9px;background:var(--pg-paper);color:var(--pg-ink);cursor:zoom-in;isolation:isolate;box-shadow:0 12px 32px -20px #172e4a36;transition:box-shadow .3s,border-color .3s}
.pg-image-button>img{display:block;width:100%;height:auto;max-width:100%;aspect-ratio:1.55;object-fit:contain;transition:transform .4s ease}
.pg-row--lead .pg-item:first-child .pg-image-button>img{aspect-ratio:1.8;max-height:760px}
.pg-item--phone .pg-image-button{background:#f4f3ed;padding:24px 14px;border-color:transparent}
.pg-item--phone .pg-image-button>img{height:clamp(360px,43vw,620px);aspect-ratio:auto;width:100%;object-fit:contain}
.pg-row--phones.pg-count-4 .pg-item--phone .pg-image-button{padding:16px 3px}
.pg-row--phones.pg-count-4 .pg-item--phone .pg-image-button>img{height:clamp(330px,36vw,520px)}
.pg-item--art .pg-image-button{border-color:transparent}
.pg-item--art .pg-image-button>img{aspect-ratio:1.2;object-fit:contain;padding:18px}
.pg-item--plan .pg-image-button>img{aspect-ratio:.85;object-fit:contain;max-height:600px;padding:20px}
.pg-item figcaption{margin:17px 0 0;padding:0 2px;max-width:65ch}
.pg-item figcaption h3{font-family:var(--font-text,Arial,sans-serif);font-size:17px;font-weight:500;line-height:1.4;color:var(--pg-ink);margin:0 0 6px;letter-spacing:0}
.pg-item figcaption p{font-size:13px;line-height:1.65;color:#596778;margin:0;max-width:58ch}
.pg-enlarge{position:absolute;right:15px;bottom:15px;width:39px;height:39px;display:grid;place-items:center;border-radius:50%;border:1px solid #fff9;background:#f4f6f178;backdrop-filter:blur(15px);-webkit-backdrop-filter:blur(15px);box-shadow:0 4px 18px #172d4514;transition:background .2s}
.pg-enlarge svg{width:19px;height:19px}
.pg-image-button:hover{border-color:#2349be4d;box-shadow:0 17px 35px -20px #172e4a50}
.pg-image-button:hover .pg-enlarge{background:#fffD}
.pg-image-button:focus-visible,.pg-control:focus-visible,.pg-lightbox-scroll:focus-visible{outline:3px solid var(--pg-blue,#2349be);outline-offset:5px}
.pg-viewer-open{overflow:hidden}
.pg-lightbox{box-sizing:border-box;width:calc(100vw - 40px);height:calc(100dvh - 40px);max-width:1800px;max-height:1100px;margin:auto;padding:0;border:1px solid #fff9;border-radius:18px;background:#f1f1eb;color:#18202a;box-shadow:0 24px 120px #06142b50;overflow:hidden}
.pg-lightbox[open]{display:flex;flex-direction:column}
.pg-lightbox::backdrop{background:#10213999;backdrop-filter:blur(13px);-webkit-backdrop-filter:blur(13px)}
.pg-lightbox-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px;flex:none;border-bottom:1px solid #263c5617;background:#f4f4ef}
.pg-lightbox-position{font:inherit;font-size:13px;font-variant-numeric:tabular-nums;color:#526174;margin:0}
.pg-lightbox-actions{display:flex;gap:9px}
.pg-control{font:inherit;font-size:13px;line-height:1.2;color:#182d49;padding:12px 18px;display:inline-flex;align-items:center;justify-content:center;gap:13px;border:1px solid #fff;border-radius:30px;background:#ffffff5c;box-shadow:0 4px 12px #0e28410b;cursor:pointer;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.pg-control:hover{background:#fffC}
.pg-control:disabled{opacity:.35;cursor:default}
.pg-lightbox-stage{position:relative;display:flex;flex:1;min-height:0;align-items:stretch;padding:16px 64px;overflow:hidden}
.pg-lightbox-scroll{min-width:0;min-height:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;overflow:auto;overscroll-behavior:contain;scrollbar-color:#9aa6b8 transparent}
.pg-lightbox-image{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;cursor:zoom-in}
.pg-step{position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:42px;height:42px;padding:0;font-size:23px}
.pg-step--prev{left:12px}.pg-step--next{right:12px}
.pg-lightbox-caption{flex:none;padding:18px 26px 22px;border-top:1px solid #263c5617;background:#f4f4ef}
.pg-lightbox-caption h2{font:inherit;font-size:19px;font-weight:500;line-height:1.35;color:#18202a;margin:0 0 4px}
.pg-lightbox-caption p{font:inherit;font-size:13px;line-height:1.6;color:#536172;margin:0;max-width:85ch}
.pg-lightbox.is-zoomed .pg-lightbox-scroll{display:block}
.pg-lightbox.is-zoomed .pg-lightbox-image{max-width:none;max-height:none;width:auto;height:auto;min-width:100%;cursor:zoom-out;margin:0 auto}
@media(min-width:1550px){.pg-chapter-header h2{font-size:61px}}
@media(max-width:1000px){.pg-row--phones.pg-count-4{grid-template-columns:repeat(2,minmax(0,1fr));max-width:760px;gap:40px 25px}.pg-row--phones.pg-count-4 .pg-item--phone .pg-image-button>img{height:530px}.pg-row--asymmetric{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)}.pg-row{column-gap:20px}.pg-chapter-header{gap:35px}.pg-item--phone .pg-image-button{padding:15px 5px}}
@media(max-width:650px){.project-gallery{margin-top:62px}.pg-chapter{margin-bottom:70px}.pg-chapter-header{grid-template-columns:1fr;gap:14px;margin-bottom:24px;padding-top:24px}.pg-chapter-header h2{font-size:36px;max-width:20ch}.pg-chapter-header p{font-size:14px;justify-self:start;max-width:42ch}.pg-row--pair,.pg-row--lead,.pg-row--asymmetric{grid-template-columns:1fr;gap:30px}.pg-row--lead .pg-item:first-child{grid-column:auto}.pg-image-button>img,.pg-row--lead .pg-item:first-child .pg-image-button>img{aspect-ratio:auto;max-height:none}.pg-item--art .pg-image-button>img{aspect-ratio:1.2}.pg-item--plan .pg-image-button>img{max-height:550px;aspect-ratio:auto}.pg-row--phones,.pg-row--phones.pg-count-2,.pg-row--phones.pg-count-4{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:29px 12px;width:100%;max-width:none}.pg-item--phone .pg-image-button,.pg-row--phones.pg-count-4 .pg-item--phone .pg-image-button{padding:10px 0;border-radius:6px}.pg-item--phone .pg-image-button>img,.pg-row--phones.pg-count-4 .pg-item--phone .pg-image-button>img{height:auto;aspect-ratio:.51;width:100%;min-height:0}.pg-item figcaption{margin-top:12px}.pg-item figcaption h3{font-size:15px}.pg-item figcaption p{font-size:12px}.pg-item--phone figcaption h3{font-size:14px}.pg-item--phone figcaption p{font-size:11px;line-height:1.6}.pg-enlarge{width:31px;height:31px;right:8px;bottom:8px}.pg-enlarge svg{width:16px;height:16px}.pg-lightbox{width:calc(100vw - 12px);height:calc(100dvh - 12px);border-radius:12px}.pg-lightbox-toolbar{padding:12px;gap:10px}.pg-control{font-size:12px;padding:10px 14px}.pg-lightbox-stage{padding:12px 35px}.pg-step{width:30px;height:37px;padding:0;font-size:20px}.pg-step--prev{left:3px}.pg-step--next{right:3px}.pg-lightbox-caption{padding:15px 18px 19px}.pg-lightbox-caption h2{font-size:17px}.pg-lightbox-caption p{font-size:12px}.pg-lightbox-position{font-size:12px}.pg-lightbox-actions{gap:5px}}
@media(prefers-reduced-motion:reduce){.pg-image-button,.pg-image-button>img,.pg-enlarge{transition:none}}

/* Case-level imagery stays legible and retains the complete interface. */
.detail-visual.developer,.detail-visual.brokerage,.detail-visual.social,.detail-visual.accounting{height:auto;aspect-ratio:auto;padding:0;background:transparent;border:1px solid #cbd2d6;border-radius:10px;overflow:hidden;box-shadow:0 20px 65px -35px #14233745}
.detail-visual.developer img,.detail-visual.brokerage img,.detail-visual.social img,.detail-visual.accounting img{height:auto;width:100%;object-fit:contain;transform:none}
.film-chapter{margin:110px 0 30px}.film-chapter>header{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:36px;align-items:end}.film-chapter>header .eyebrow{grid-column:1/-1}.film-chapter h2{font-size:clamp(36px,5vw,76px);line-height:1.05;font-weight:300}.film-chapter p{line-height:1.7;color:var(--muted)}
@media(max-width:700px){.film-chapter>header{display:block}.film-chapter h2{margin:12px 0}.film-chapter{margin-top:65px}}

/* Refinements: neutral captions, original device renders and uncropped brand covers. */
.detail-page .detail-sections h2,.detail-page .detail-aside h2,.detail-page .pg-chapter-header h2,.detail-page .drape-phones figcaption,.detail-page .campaign-collection h2{color:var(--ink,#18202a)}
.pg-item--laptop .pg-image-button{padding:24px;background:#e9ece8;border-color:transparent}
.pg-item--laptop .pg-image-button>img{aspect-ratio:1.6;object-fit:contain}
.pg-item--device .pg-image-button{aspect-ratio:.60;padding:0;background:#e9ece8;border-color:transparent}
.pg-item--device .pg-image-button>img{position:absolute;width:176%;max-width:none;height:auto;aspect-ratio:1;left:-38%;top:50%;transform:translateY(-50%);object-fit:contain}
.detail-visual.golden,.detail-visual.tracker,.detail-visual.drape{aspect-ratio:auto;height:auto;max-height:none;background:transparent;overflow:hidden}
.detail-visual.golden>img,.detail-visual.tracker>img{height:auto;max-height:none;object-fit:contain}
.golden-work .work-image>img,.tracker-work .work-image>img,.brokerage-work .work-image>img{object-fit:contain;width:100%;height:100%;transform:none}
.golden-work .work-image{background:#efebfa}
.tracker-work .work-image{background:#f4f3ed}
.brokerage-work .work-image{background:#f4f3ec}
.drape-fashion-cover{width:100%;height:100%;aspect-ratio:1672/941;position:relative;overflow:hidden;background:#f0eee7}
.drape-fashion-cover .drape-fashion-art{display:block;width:100%;height:100%;object-fit:cover;max-width:none;transform:none}
.drape-fashion-wordmark{position:absolute;left:6%;top:50%;width:33%;transform:translateY(-50%);color:#242321}
.drape-fashion-cover .drape-fashion-wordmark img{width:100%;height:auto;object-fit:contain;transform:none}
.drape-fashion-wordmark p{font:300 clamp(22px,3vw,51px)/1.08 var(--font-display);letter-spacing:-.025em;margin:30px 0 20px}
.drape-fashion-wordmark span{font:400 10px/1.5 var(--font-text);letter-spacing:.12em;text-transform:uppercase}
.work-image .drape-fashion-wordmark p{font-size:clamp(19px,2.2vw,34px);margin:22px 0 15px}
.work-image .drape-fashion-wordmark span{font-size:8px;letter-spacing:.04em}
.detail-visual.drape .drape-fashion-cover{height:auto}
.detail-page .drape-viewer{margin-top:80px}
@media(max-width:650px){.pg-item--laptop .pg-image-button{padding:12px}.pg-item--device .pg-image-button>img{aspect-ratio:1;height:auto}.drape-fashion-wordmark p{font-size:clamp(18px,4vw,27px);margin:15px 0 10px}.drape-fashion-wordmark span{font-size:7px}.work-image .drape-fashion-wordmark p{font-size:23px;margin:16px 0 12px}.work-image .drape-fashion-wordmark span{font-size:7px}.detail-page .drape-viewer{margin-top:50px}}

.renaissance-cover{position:relative;display:block;width:100%;padding:0;background:transparent;border:0;border-radius:4px;overflow:hidden;cursor:pointer}.renaissance-cover>img{display:block;width:100%;height:auto}.renaissance-cover>.glass-link{position:absolute;right:26px;bottom:26px;pointer-events:none;background:#f1f1e9b0}.renaissance-cover:focus-visible{outline:3px solid #3156aa;outline-offset:5px}@media(max-width:650px){.renaissance-cover>.glass-link{right:14px;bottom:14px;font-size:11px;padding:12px 17px}}

.detail-page .detail-sections h2{font:500 17px/1.4 var(--font-text);letter-spacing:0;margin-bottom:15px}

/* The image viewer has one floating navigation surface and a quiet caption. */
.pg-lightbox{background:#e8ebe7;border-color:#ffffff72;border-radius:20px}
.pg-lightbox-stage{padding:22px 26px 24px;isolation:isolate}
html body .pg-lightbox-toolbar.liquid-glass{position:absolute;bottom:17px;left:50%;transform:translateX(-50%);z-index:5;width:max-content;max-width:calc(100% - 24px);padding:6px;gap:4px;border-radius:999px;--glass-tint:rgba(240,245,240,.76)}
.pg-lightbox-toolbar .pg-control{position:relative;inset:auto;transform:none;background:none;border:0;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;min-height:42px;padding:10px 17px;white-space:nowrap;font-size:12px;transition:background .2s}
.pg-lightbox-toolbar .pg-control:hover{background:#ffffff70}
.pg-lightbox-toolbar .pg-step{width:42px;height:42px;padding:0;font-size:22px;flex:none}
.pg-lightbox-toolbar .pg-close{font-size:25px;width:42px;height:42px;padding:0;flex:none}
.pg-lightbox-position{font-size:12px;min-width:50px;text-align:center;color:#263e56}
.pg-dock-divider{height:22px;width:1px;background:#314a6729;margin:0 5px;flex:none}
.pg-lightbox-caption{background:#f1f2ec;border:0;padding:20px 30px 24px}
.pg-enlarge{background:#eef2eaae;border:1px solid #ffffffbb;box-shadow:0 6px 16px #09203b24;backdrop-filter:blur(8px) saturate(1.3);-webkit-backdrop-filter:blur(8px) saturate(1.3)}
@media(max-width:650px){.pg-lightbox{border-radius:13px}.pg-lightbox-stage{padding:16px 10px 22px}html body .pg-lightbox-toolbar.liquid-glass{gap:1px;bottom:15px;padding:5px}.pg-lightbox-toolbar .pg-control{padding:10px 13px;font-size:11px;min-height:42px}.pg-lightbox-toolbar .pg-step{width:38px;font-size:21px}.pg-lightbox-toolbar .pg-close{font-size:24px;width:38px}.pg-lightbox-position{min-width:41px;font-size:11px}.pg-dock-divider{margin:0 3px}.pg-lightbox-caption{padding:16px 20px 19px}.pg-lightbox-caption p{max-height:88px;overflow:auto}}
@media(prefers-reduced-transparency:reduce){.pg-lightbox::backdrop{backdrop-filter:none;-webkit-backdrop-filter:none;background:#142236e6}}
@media(forced-colors:active){.pg-lightbox-toolbar .pg-control{border:1px solid ButtonText}.pg-dock-divider{background:ButtonText}}

.aios-preview-invitation{display:flex;justify-content:flex-end;margin:20px 0 0}.detail-visual.aios{display:block}.detail-visual.aios:focus-visible{outline:2px solid #244497;outline-offset:6px}
@media(max-width:600px){.aios-preview-invitation{justify-content:flex-start}}
