.film-dialog{width:min(960px,94vw);max-width:94vw;max-height:94dvh;padding:48px 12px 12px;background:#182129;border:0}.film-dialog::backdrop{background:#000b}.film-dialog video{display:block;width:100%;height:auto;max-height:78dvh;object-fit:contain}.film-close{position:absolute;right:8px;top:4px;width:40px;height:40px;border:0;background:transparent;color:white;font-size:30px;cursor:pointer}

.work-gallery-section{background:#f7f6f3}.work-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.work-gallery-card{min-width:0;background:#fff;border:1px solid #d8d4ce}.work-gallery-image{height:300px;background:#e9e7e2;display:grid;place-items:center;overflow:hidden}.work-gallery-image img{width:100%;height:100%;object-fit:contain}.work-gallery-copy{padding:20px 22px 24px}.work-gallery-copy small{display:block;color:#b85d1d;letter-spacing:.12em;font-size:11px;line-height:1.5;margin-bottom:8px}.work-gallery-copy h3{margin:0 0 8px;font-size:22px}.work-gallery-copy p{margin:0;font-size:15px;line-height:1.75;color:#596168}@media(max-width:800px){.work-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.work-gallery-image{height:260px}}@media(max-width:560px){.work-gallery-grid{grid-template-columns:1fr;max-width:440px;margin-inline:auto;gap:18px}.work-gallery-image{height:390px}.work-gallery-copy{padding:17px 18px 20px}}.work-gallery-section .section-heading h2{font-size:30px;line-height:1.45}

@media(min-width:1101px){.work-gallery-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}

@media(min-width:1280px){.work-gallery-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:18px}.work-gallery-copy{padding-inline:18px}}

.work-gallery-image{position:relative;isolation:isolate}
.work-gallery-image::before{content:"";position:absolute;z-index:2;inset:0 auto 0 0;width:26px;background:var(--orange,#f7751b);pointer-events:none}
.work-gallery-image img{display:block;width:100%!important;max-width:none!important;height:100%!important;object-fit:cover!important;object-position:center center!important;margin:0}
.work-gallery-image img[src*="wave-pull"]{transform:scale(1.2) translateX(-18%)}
.work-gallery-image img[src*="z-pull"]{transform:scale(1.1) translateX(-10%)}

.work-gallery-watermark{position:absolute;z-index:1;left:8%;top:48%;transform:translateY(-50%) rotate(-16deg);font-size:clamp(26px,4.5vw,44px);font-weight:700;line-height:1;letter-spacing:.16em;color:rgba(39,49,57,.24);text-shadow:0 1px 2px rgba(255,255,255,.28);pointer-events:none;user-select:none;white-space:nowrap}
.work-gallery-image img[src*="z-pull"]~.work-gallery-watermark{left:58%;transform:translate(-50%,-50%) rotate(-16deg)}
.work-gallery-image img[src*="wave-pull"]~.work-gallery-watermark{left:74%;transform:translate(-50%,-50%) rotate(-16deg)}
.work-gallery-image img[src*="waterdrop-pull"]~.work-gallery-watermark{left:76%;transform:translate(-50%,-50%) rotate(-16deg)}
.work-gallery-image img[src*="r50-side-panel-v2"]~.work-gallery-watermark{left:66%;transform:translate(-50%,-50%) rotate(-16deg)}
@media(max-width:560px){.work-gallery-image::before{width:22px}}

/* Compact first-screen film cards. The full videos load only after selection. */
.hero-films{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;width:100%;max-width:780px;margin-top:18px}
.hero-film-card{min-width:0;background:transparent;border:0}
.hero-film-card .film-preview{display:block;position:relative;width:100%;height:auto;aspect-ratio:16/9;overflow:hidden;border:1px solid #c9c3bb;padding:0;background:#182129;cursor:pointer}
.hero-film-card .film-preview::after{content:"";position:absolute;inset:42% 0 0;background:linear-gradient(180deg,transparent,#111b24d9);pointer-events:none}
.hero-film-card .film-preview img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s ease}
.hero-film-card .film-preview:hover img{transform:scale(1.025)}
.hero-film-card .film-preview:focus-visible{outline:3px solid #e87722;outline-offset:3px}
.hero-film-card .film-play{position:absolute;z-index:2;bottom:10px;left:10px;width:36px;height:36px;display:grid;place-items:center;border:1px solid #e87722;border-radius:50%;background:#273139eb;color:#fff;font-size:12px}
.hero-film-card .hero-film-title{position:absolute;z-index:2;right:9px;bottom:8px;left:auto;width:auto;height:auto;display:grid;justify-items:end;border:0;border-radius:0;background:transparent;color:#fff;text-align:right;text-shadow:0 1px 4px #000}
.hero-film-title small{font:500 9px/1.3 var(--mono,monospace);letter-spacing:.09em;color:#ef9a5a}
.hero-film-title strong{font-size:15px;line-height:1.35;letter-spacing:.025em}
.hero-film-note{grid-column:1/-1;margin:0;color:#6a747b;font-size:11.5px;line-height:1.45;letter-spacing:.025em}
.film-close:focus-visible{outline:2px solid #e87722;outline-offset:2px}
@media(min-width:1124px){.hero-grid{grid-template-columns:minmax(0,.98fr) minmax(0,1.02fr)}.hero-copy{padding-right:18px}.hero-description{font-size:18px}}
@media(max-width:1123px) and (min-width:836px){.hero-films{max-width:540px;gap:10px;margin-top:14px}.hero-film-title small{display:none}.hero-film-title strong{font-size:13px}.hero-film-card .film-play{width:32px;height:32px;bottom:8px;left:8px}.hero-film-note{font-size:10px}}
@media(max-width:835px){.hero-films{max-width:520px;margin-top:16px;gap:8px}.hero-film-card .film-preview{height:auto}.hero-film-title strong{font-size:12px}.hero-film-note{font-size:9.5px}.film-dialog{width:min(672px,94vw)}.film-dialog video{max-height:72dvh}}
@media(min-width:1124px){html.first-screen-compact .hero-films{max-width:560px;margin-top:10px;gap:10px}html.first-screen-compact .hero-film-title strong{font-size:13px}html.first-screen-compact .hero-film-card .film-play{width:32px;height:32px;bottom:8px;left:8px}html.first-screen-compact .hero-film-note{font-size:10px}}
@media(min-width:900px) and (max-width:1123px){html.first-screen-compact .hero-films{max-width:510px;margin-top:10px;gap:9px}html.first-screen-compact .hero-film-title strong{font-size:12px}html.first-screen-compact .hero-film-card .film-play{width:30px;height:30px;bottom:8px;left:8px}html.first-screen-compact .hero-film-note{font-size:10px}}
@media(max-width:380px){.hero-film-title small{display:none}.hero-film-title strong{font-size:10px}.hero-film-card .film-play{width:26px;height:26px;bottom:6px;left:6px}.hero-film-note{font-size:9px}}
