/* Portfolio gallery: isolated from the approved home and aerial pages. */
.gallery-page .opening-scene{opacity:.22}
.gallery-page .portfolio-intro{min-height:0;padding:86px 0 52px;overflow:visible}
.gallery-intro-layout{display:flex;align-items:flex-end;justify-content:space-between;gap:40px}
.gallery-page .portfolio-intro h1{font-size:clamp(44px,5.5vw,78px);margin:0;line-height:1.12}
.gallery-page .portfolio-intro .eyebrow{font-size:12px;margin-bottom:18px}
.gallery-page .opening-scene:after{content:"";position:absolute;inset:330px 0 0;pointer-events:none;background:linear-gradient(180deg,transparent,#080b0d70 30%,#080b0d44 68%,transparent)}
.video-gallery{position:relative;padding-bottom:clamp(80px,7vw,112px)}
.gallery-toolbar{display:flex;align-items:center;justify-content:space-between;gap:28px;border-bottom:1px solid #c6ced029}
.gallery-filters{display:flex;align-items:center;gap:31px;flex-wrap:wrap}
.gallery-filter{background:none;border:0;position:relative;padding:18px 0;font-size:13px;color:#b3babd;transition:color .25s}
.gallery-filter:after{content:"";position:absolute;bottom:-1px;left:0;right:0;height:2px;background:var(--yellow);transform:scaleX(0);transform-origin:left;transition:transform .3s var(--ease)}
.gallery-filter[aria-pressed=true],.gallery-filter:hover{color:var(--yellow)}
.gallery-filter[aria-pressed=true]:after{transform:scaleX(1)}
.gallery-count{font-family:Tektur,Arial,sans-serif;font-size:11px;letter-spacing:.06em;color:#9fa8ac;white-space:nowrap}
.gallery-demo-note{font-size:10px;letter-spacing:.015em;color:#969fa3;margin:16px 0 28px;line-height:1.7}
.gallery-demo-note[hidden]+.video-grid{margin-top:28px}
.video-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:44px 28px;align-items:start}
.video-card{min-width:0}
.video-cover{display:block;position:relative;width:100%;aspect-ratio:16/9;overflow:hidden;padding:0;border:0;background:#12191b;text-align:left;isolation:isolate}
.video-cover:after{content:"";position:absolute;inset:0;box-shadow:inset 0 0 0 1px #ffffff14;pointer-events:none;transition:box-shadow .4s}
.video-cover img{width:100%;height:100%;object-fit:cover;transition:transform .8s var(--ease),filter .6s;filter:brightness(.89) saturate(.9)}
.video-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:52px;height:52px;border-radius:50%;display:grid;place-items:center;border:1px solid #ffffff80;background:#080b0d66;color:#fff;transition:background .35s,border-color .35s,color .35s,transform .5s var(--ease)}
.video-play svg{width:21px;height:21px;fill:currentColor;margin-left:1px}
.video-preview-label{position:absolute;bottom:0;left:0;right:0;display:flex;justify-content:space-between;padding:25px 18px 14px;background:linear-gradient(transparent,#080b0db3);font-size:10px;letter-spacing:.04em;opacity:0;transform:translateY(5px);transition:opacity .35s,transform .35s}
.video-preview-label>span{color:var(--yellow);font-size:15px}
.video-cover:hover img,.video-cover:focus-visible img{transform:scale(1.035);filter:brightness(1) saturate(1)}
.video-cover:hover .video-play,.video-cover:focus-visible .video-play{background:var(--yellow);border-color:var(--yellow);color:#080b0d;transform:translate(-50%,-50%) scale(1.08)}
.video-cover:hover .video-preview-label,.video-cover:focus-visible .video-preview-label{opacity:1;transform:none}
.video-cover:hover:after{box-shadow:inset 0 0 0 1px #ffd50066}
.video-meta{display:flex;justify-content:space-between;gap:12px;margin-top:17px;font-size:9px;line-height:1.5;letter-spacing:.08em;text-transform:uppercase;color:#a5aeb1}
.video-meta>span:last-child{color:#746f45;font-family:Tektur,Arial,sans-serif}
.video-card h2{font-family:Tektur,Arial,sans-serif;font-size:clamp(18px,1.5vw,22px);font-weight:500;line-height:1.4;letter-spacing:-.015em;margin:7px 0 0}
.gallery-contact{display:flex;align-items:center;justify-content:space-between;gap:44px;margin-top:84px;padding-block:46px 64px;border-top:1px solid #b8c6cb24}
.gallery-contact .eyebrow{font-size:10px;margin-bottom:15px}
.gallery-contact h2{font-size:clamp(26px,2.8vw,36px);margin:0;line-height:1.2}
.gallery-contact .button{min-height:60px;font-size:17px;flex-shrink:0}
body.gallery-dialog-open{overflow:hidden}
.project-dialog{width:min(1000px,calc(100% - 40px));max-height:calc(100svh - 40px);padding:0;border:1px solid #ffffff23;background:#0b1012;color:var(--white);overflow:auto;overscroll-behavior:contain}
.project-dialog::backdrop{background:#030608ed;backdrop-filter:blur(12px)}
.project-dialog[open]{animation:gallery-dialog-in .25s var(--ease)}
.project-dialog-top{display:flex;align-items:center;justify-content:space-between;padding:12px 22px;font-size:10px;color:#b6bec1;letter-spacing:.1em;text-transform:uppercase}
.project-close{width:36px;height:36px;border:0;background:transparent;color:white;display:grid;place-items:center}
.project-close svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.4}
.project-close:hover{color:var(--yellow)}
.project-screen{position:relative;background:#060809;aspect-ratio:16/9}
.project-poster{width:100%;height:100%;object-fit:cover}
.project-video{position:absolute;inset:0;width:100%;height:100%;border:0;background:#060809;object-fit:contain;accent-color:var(--yellow)}
.project-screen.has-video .project-preview-note{top:0;bottom:auto;background:linear-gradient(#000d,#0009);pointer-events:none}
.project-external{display:inline-flex;gap:10px;align-items:center;margin-top:16px;font-size:11px;color:#b7bfc2}
.project-external span{color:var(--yellow)}
.project-external:hover{color:var(--yellow)}
.project-preview-note{position:absolute;bottom:0;left:0;right:0;padding:32px 22px 15px;background:linear-gradient(transparent,#000c);font-size:11px;color:white;line-height:1.6}
.project-dialog-bottom{display:flex;justify-content:space-between;align-items:center;gap:25px;padding:24px}
.project-kind{margin:0 0 9px;color:var(--yellow);text-transform:uppercase;letter-spacing:.09em;font-size:9px}
.project-copy h2{font-family:Tektur,Arial,sans-serif;font-size:25px;line-height:1.3;margin:0;font-weight:500}
.project-description{font-size:13px;line-height:1.8;color:var(--muted);margin:12px 0 0}
.project-pagination{display:flex;align-items:center;gap:13px;flex:none}
.project-pagination button{width:36px;height:40px;border:1px solid #ffffff29;background:none;font-size:20px}
.project-pagination button:hover{border-color:var(--yellow);color:var(--yellow)}
.project-pagination button:disabled{opacity:.3;cursor:default}
.project-position{font-family:Tektur,Arial,sans-serif;font-size:11px;color:#a9b0b2;white-space:nowrap}
@keyframes gallery-dialog-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media(max-width:1100px){.video-grid{gap:34px 20px}.gallery-filters{gap:23px}.video-card h2{font-size:19px}.gallery-page .portfolio-intro{padding-top:64px}}
@media(max-width:850px){.video-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gallery-intro-copy{font-size:14px}.gallery-toolbar{gap:18px}.gallery-filters{gap:20px}.gallery-filter{font-size:12px}.gallery-contact{margin-top:62px}.gallery-contact .button{font-size:15px;padding-inline:25px}}
@media(max-width:600px){.gallery-page .portfolio-intro{padding:48px 0 30px}.gallery-intro-layout{display:block}.gallery-page .portfolio-intro h1{font-size:clamp(34px,10vw,52px)}.gallery-page .portfolio-intro .eyebrow{font-size:10px;margin-bottom:16px}.gallery-intro-copy{margin:18px 0 0;font-size:13px;max-width:none}.gallery-intro-copy br{display:none}.gallery-intro-copy br:after{content:" "}.gallery-filters{gap:0 21px}.gallery-filter{font-size:12px;padding-block:13px}.gallery-toolbar{align-items:flex-end}.gallery-count{display:none}.gallery-demo-note{font-size:9px;margin:16px 0 24px;max-width:270px}.video-grid{grid-template-columns:1fr;gap:32px}.video-meta{margin-top:14px;font-size:9px}.video-card h2{font-size:21px;margin-top:7px}.video-play{width:49px;height:49px}.video-preview-label{opacity:1;transform:none;font-size:9px;padding-bottom:12px}.gallery-contact{flex-direction:column;align-items:flex-start;gap:28px;margin-top:48px;padding-block:34px 48px}.gallery-contact h2{font-size:clamp(23px,7vw,29px)}.gallery-contact .button{min-height:56px}.project-dialog{width:calc(100% - 24px);max-height:calc(100svh - 24px)}.project-dialog-top{padding:8px 14px;font-size:9px}.project-dialog-bottom{padding:20px 16px;flex-direction:column;align-items:stretch;gap:22px}.project-copy h2{font-size:22px}.project-description{font-size:12px}.project-pagination{align-self:flex-end}.project-preview-note{padding:22px 12px 10px;font-size:9px}}
@media(prefers-reduced-motion:reduce){.gallery-page *, .gallery-page *:before,.gallery-page *:after{scroll-behavior:auto;animation:none!important;transition:none!important}}

/* Vertical work has its own grid and browsing sequence. */
.reels-gallery{padding:100px 0 clamp(80px,7vw,112px)}
.reels-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:32px;padding-bottom:30px;border-bottom:1px solid #c6ced029;margin-bottom:32px}
.reels-heading .eyebrow{font-size:11px;margin-bottom:14px}
.reels-heading h2{font-size:clamp(40px,5vw,64px);line-height:1.1;margin:0}
.reels-caption{font-size:13px;line-height:1.7;color:var(--muted);margin:0;max-width:230px}
.reels-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:36px 24px;align-items:start}
.reel-card .video-cover{aspect-ratio:9/16}
.reel-card .video-preview-label{opacity:1;transform:none;padding:45px 16px 17px}
.reel-card h3{font-family:Tektur,Arial,sans-serif;font-size:clamp(16px,1.5vw,20px);font-weight:500;line-height:1.4;letter-spacing:-.015em;margin:8px 0 0;overflow-wrap:anywhere}
.reel-card .video-meta{margin-top:15px}
.project-dialog--vertical{width:min(820px,calc(100% - 40px))}
.project-dialog--vertical[open]{display:grid;grid-template-columns:minmax(0,min(44svh,440px)) minmax(0,1fr)}
.project-dialog--vertical .project-dialog-top{grid-column:1/-1}
.project-dialog--vertical .project-screen{aspect-ratio:9/16}
.project-dialog--vertical .project-dialog-bottom{flex-direction:column;align-items:stretch;justify-content:space-between;padding:30px 26px;min-width:0}
.project-dialog--vertical .project-pagination{align-self:flex-end}
.project-dialog--vertical .project-copy h2{font-size:clamp(20px,2.2vw,28px);overflow-wrap:anywhere}
.project-description:empty{display:none}
@media(max-width:1100px){.reels-grid{gap:30px 20px}}
@media(max-width:850px){.reels-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:30px 18px}.reels-gallery{padding-top:76px}}
@media(max-width:600px){.reels-gallery{padding-top:58px}.reels-heading{align-items:flex-start;gap:16px;padding-bottom:24px;margin-bottom:24px}.reels-heading .eyebrow{font-size:9px}.reels-heading h2{font-size:42px}.reels-caption{max-width:145px;font-size:11px;padding-top:25px}.reels-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 14px}.reel-card h3{font-size:16px}.reel-card .video-meta{font-size:8px;letter-spacing:.04em;gap:5px}.reel-card .video-play{width:42px;height:42px}.reel-card .video-preview-label{font-size:8px;padding:32px 10px 12px}.project-dialog--vertical{width:min(420px,calc(100% - 24px))}.project-dialog--vertical[open]{display:block}.project-dialog--vertical .project-screen{height:65svh;width:auto;max-width:100%;margin-inline:auto}.project-dialog--vertical .project-dialog-bottom{padding:18px 16px;gap:18px}.project-dialog--vertical .project-copy h2{font-size:21px}}
