:root{--mint:#a8ded8;--black:#0a0d0c;--white:#f0f2eb;--muted:#9aaba3;color-scheme:dark}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;background:var(--black);color:var(--white);font-family:ui-monospace,SFMono-Regular,Menlo,monospace}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}button{background:none;border:0;color:inherit;cursor:pointer}a,button{touch-action:manipulation}button:focus-visible,a:focus-visible{outline:2px solid var(--mint);outline-offset:5px}header{position:fixed;top:0;left:0;right:0;z-index:30;display:flex;justify-content:space-between;align-items:center;padding:25px 4%;background:#0a0d0ceb;backdrop-filter:blur(15px)}.brand{font-size:23px;letter-spacing:-1px}.brand span,.mint{color:var(--mint)}header nav{display:flex;gap:30px;font-size:12px;align-items:center}header button{padding:8px 0}.menu-toggle{display:none}#mobile-menu{position:fixed;inset:70px 0 auto;background:#17221b;padding:20px;z-index:29}#mobile-menu a,#mobile-menu button{display:block;padding:16px;font-size:20px}#mobile-menu[hidden]{display:none}.intro{padding:150px 8% 60px;min-height:75svh}.eyebrow{font-size:11px;letter-spacing:2px;color:var(--mint)}h1{font-size:clamp(45px,8vw,118px);line-height:1.02;letter-spacing:-.065em;font-weight:400;margin:38px 0}h1 span{color:var(--mint)}.intro-bottom{display:flex;justify-content:space-between;align-items:end;font-size:13px;line-height:1.8}.film-sequence{height:370svh;position:relative}.film-stage{position:sticky;top:80px;height:calc(100svh - 80px);min-height:590px;overflow:hidden;background:var(--black)}.stage-top,.stage-bottom{position:absolute;left:4%;right:4%;display:flex;justify-content:space-between;gap:15px;font-size:11px;z-index:20}.stage-top{top:18px;color:var(--mint)}.stage-bottom{bottom:20px;color:var(--muted)}.stage-bottom button{color:var(--mint)}.composition{position:absolute;inset:55px 0 60px}.film-card{position:absolute;inset:0;pointer-events:none}.film-frame{width:auto;height:92%;aspect-ratio:9/16;position:absolute;left:50%;top:2%;border:5px solid var(--white);background:#264c3a;overflow:hidden;box-shadow:0 20px 50px #0008;pointer-events:auto;transform-origin:center}.film-frame video{display:block;width:100%;height:100%;object-fit:contain;background:#14271d}.film-frame .stamp{position:absolute;left:12px;bottom:14px;font-size:10px;letter-spacing:2px}.film-copy{position:absolute;top:42%;left:6%;max-width:24%;opacity:0;pointer-events:auto}.film-copy h2{font-size:clamp(24px,3.2vw,48px);font-weight:400;line-height:1.1;letter-spacing:-2px;margin:14px 0}.film-copy p{font-size:12px;color:var(--muted)}.primary{display:inline-block;background:var(--mint);color:#09160e;padding:15px 20px;margin-top:16px;font-size:12px}.primary:hover{background:#d9f5e9}.support{position:absolute;right:7%;bottom:12%;width:12%;aspect-ratio:4/5;border:5px solid var(--white);background:linear-gradient(135deg,#c4dfd2,#36634a,#0e2115);transform:rotate(5deg);opacity:0}.section{padding:100px 8%}.section-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:40px;gap:20px}.section-heading h2,.about h2{font-size:clamp(36px,5vw,70px);font-weight:400;letter-spacing:-3px;margin:0}.section-heading h2 span,.about h2 span{color:var(--mint)}.section-heading p{font-size:12px;color:var(--muted)}.archive-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}.archive-item{text-align:left;padding:0}.archive-poster{aspect-ratio:9/16;border:1px solid #72877b;background:radial-gradient(ellipse at 70% 30%,#cce8dd,#3b6750 35%,#14271d 70%);position:relative}.archive-poster span{position:absolute;bottom:20px;left:16px;font-size:11px}.archive-item h3{font-weight:400;font-size:15px}.photo-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:25px;align-items:center}.photo{position:relative;min-height:280px;background:linear-gradient(145deg,#b0d5c4,#274e38,#081a0e);border:7px solid var(--white)}.photo span{position:absolute;bottom:15px;left:15px;font-size:10px}.photo.one{aspect-ratio:4/5}.photo.two{aspect-ratio:1;transform:rotate(-4deg)}.photo.three{aspect-ratio:3/4;transform:rotate(4deg)}.about{border-top:1px solid #ffffff20}.about h2{margin:30px 0}.about p{max-width:520px;font-size:14px;line-height:1.8}.muted{color:var(--muted)}footer{padding:35px 4%;border-top:1px solid #ffffff20;display:flex;gap:25px;justify-content:space-between;font-size:11px;color:var(--muted)}dialog{color:var(--white);border:0;padding:30px;background:#111b15}dialog::backdrop{background:#020704ec;backdrop-filter:blur(12px)}dialog .close{position:absolute;top:20px;right:25px;color:var(--mint);z-index:3;padding:12px}#cinema{width:100%;max-width:100%;height:100%;max-height:100%;background:transparent} .cinema-wrap{height:100%;display:flex;justify-content:center;align-items:center;gap:40px;padding:45px 0}.cinema-wrap video{max-height:90%;max-width:65%;aspect-ratio:9/16;background:#000}.cinema-wrap h2{font-weight:400}.cinema-wrap p{font-size:12px;color:var(--muted);max-width:240px;line-height:1.8}#enquiry{position:fixed;inset:0 0 0 auto;margin:0;width:480px;max-width:100%;height:100%;max-height:100%;padding:80px 35px 35px}#enquiry[open]{animation:drawer .35s ease}#enquiry h2{font-size:32px;font-weight:400}form{display:grid;gap:20px}label{display:grid;gap:8px;font-size:12px}input,textarea{width:100%;min-width:0;background:#1d2a21;border:1px solid #596e60;padding:12px;color:var(--white);font-size:16px;border-radius:0}small{color:var(--muted)}#enquiry .pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}#enquiry .pair label{min-width:0;align-content:end}#enquiry .pair input{display:block;max-width:100%;min-height:44px}#enquiry input[type=date]{appearance:none;-webkit-appearance:none}@media(max-width:520px){#enquiry .pair{grid-template-columns:minmax(0,1fr)}}form p{font-size:12px;color:var(--muted);line-height:1.6}@keyframes drawer{from{transform:translateX(100%)}to{transform:translateX(0)}}@media(max-width:700px){header{padding:20px}.brand{font-size:21px}header nav{display:none}.menu-toggle{display:block}.intro{padding:130px 6% 45px;min-height:65svh}h1{font-size:clamp(42px,10vw,65px)}.intro-bottom{font-size:11px}.film-stage{top:65px;height:calc(100svh - 65px);min-height:600px}.composition{inset:50px 0 55px}.film-frame{height:70%;max-width:90%;top:0}.film-copy{top:auto;bottom:0;left:6%;max-width:90%}.film-copy h2{font-size:24px;letter-spacing:-1px;margin:6px 0}.film-copy p{display:none}.film-copy .primary{margin-top:8px;padding:12px 16px}.support{display:none}.stage-top,.stage-bottom{font-size:10px}.stage-bottom span{max-width:45%;line-height:1.5}.section{padding:65px 6%}.section-heading{display:block}.section-heading p{margin-top:15px}.archive-grid{grid-template-columns:1fr 1fr;gap:18px}.photo-grid{grid-template-columns:1fr 1fr;gap:15px}.photo{min-height:150px}.photo.one{grid-column:1/3;aspect-ratio:4/3}.cinema-wrap{display:block;padding-top:40px;text-align:center}.cinema-wrap video{max-width:100%;height:75svh;max-height:85%;display:block;margin:auto}.cinema-wrap h2{font-size:17px;margin:12px}.cinema-wrap p{display:none}#enquiry{width:100%;padding:75px 24px 24px}footer{flex-wrap:wrap;line-height:1.8}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}#enquiry[open]{animation:none}.film-sequence{height:auto}.film-stage{position:relative;height:auto;min-height:0;overflow:visible;top:0}.stage-top,.stage-bottom{position:relative;left:auto;right:auto;padding:20px}.composition{position:relative;inset:auto}.film-card{position:relative;height:700px}.film-frame{transform:translateX(-50%)!important;height:65%;top:20px}.film-copy{opacity:1!important;top:auto;bottom:35px;max-width:90%;left:6%}.support{display:none}}

.archive-poster img{width:100%;height:100%;position:absolute;object-fit:cover}.archive-poster span{background:#0a0d0cbb;padding:10px}.archive-item p{font-size:11px;color:var(--muted)}.stamp{background:#0a0d0caa;padding:6px;max-width:90%;line-height:1.5}.intro h1{font-size:clamp(40px,6.4vw,96px)}

.photo-collections{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;align-items:start}.photo-collection{padding:0;text-align:left;min-width:0}.photo-composition{background:#f4f4f0;padding:5%;display:grid;gap:3%;aspect-ratio:4/5;width:100%;overflow:hidden}.photo-composition img{display:block;min-width:0;min-height:0;width:100%;height:100%;object-fit:cover;border:1px solid #151515}.layout-stack{grid-template-rows:1fr 1fr}.layout-triple{grid-template:1fr 1fr/1fr 1fr}.layout-triple img:first-child{grid-column:1/3}.layout-landscape{aspect-ratio:3/2;padding:3%;display:flex;align-items:center}.layout-landscape img{height:auto;max-height:100%;object-fit:contain}#photo-count{font-size:11px;color:var(--muted)}@media(max-width:700px){.photo-collections{grid-template-columns:1fr;gap:35px}.photo-collection .photo-composition{max-height:75svh;aspect-ratio:4/5}}@media(prefers-reduced-motion:reduce){.photo-collection .photo-composition{transition:none}}

.layout-quad{grid-template:1fr 1fr/1fr 1fr}

.layout-triple-bottom{grid-template:1fr 1fr/1fr 1fr}.layout-triple-bottom img:last-child{grid-column:1/3}

.layout-overlay{position:relative;aspect-ratio:3/2}.layout-overlay img:not(:first-child){position:absolute;width:22%;height:58%;top:20%;border:3px solid var(--white)}.layout-overlay img:nth-child(2){left:3%}.layout-overlay img:nth-child(3){right:3%}.layout-overlay img:first-child{object-fit:contain}.photo-collection[hidden]{display:none}.photo-more{display:block;margin:48px auto 0;border-bottom:1px solid var(--mint);padding:12px 0;color:var(--mint);font-size:12px}

/* Preserve original proportions for mixed-format films. */
.cinema-wrap video{aspect-ratio:auto;width:auto;height:auto;max-height:80svh;object-fit:contain}.archive-item.landscape .archive-poster{background:#090d0b}.archive-item.landscape .archive-poster img{object-fit:contain}

/* Film texture and photographic fragments stay behind all interactive content. */
body{isolation:isolate}
.ambient-background{position:fixed;inset:0;z-index:-1;overflow:hidden;pointer-events:none;background:#0a0d0c}
.ambient-glow{position:absolute;inset:0;background:radial-gradient(ellipse at 95% 30%,#a8ded81b,transparent 58%),radial-gradient(ellipse at 0% 85%,#a8ded812,transparent 54%)}
.ambient-fragment{position:absolute;object-fit:cover;filter:grayscale(1) contrast(1.15);opacity:.16;mix-blend-mode:screen;mask-image:linear-gradient(to bottom,transparent,#000 18%,#000 72%,transparent);will-change:transform}
.ambient-left{width:clamp(180px,24vw,360px);height:65svh;left:-10vw;top:29%;transform:translateY(var(--ambient-shift,0px)) rotate(-13deg)}
.ambient-right{width:clamp(180px,24vw,360px);height:70svh;right:-9vw;top:5%;transform:translateY(calc(var(--ambient-shift,0px) * -.65)) rotate(14deg);opacity:.13}
.ambient-grain{position:absolute;inset:0;background:url('assets/film-grain.svg');opacity:.045;mix-blend-mode:screen}
.film-stage{background:transparent}
@media(max-width:700px){.ambient-left{width:155px;left:-115px;opacity:.12}.ambient-right{width:160px;right:-120px;opacity:.1}.ambient-grain{opacity:.035}}
@media(prefers-reduced-motion:reduce){.ambient-left{transform:rotate(-13deg)}.ambient-right{transform:rotate(14deg)}.ambient-fragment{will-change:auto}}

/* Responsive Bunny Stream cinema, with the original portrait or landscape frame. */
#full-film{display:block;border:0;width:min(48vw,calc(78svh * 9 / 16));height:auto;aspect-ratio:9/16;max-height:78svh;background:#000}#full-film.landscape{width:min(72vw,calc(78svh * 16 / 9));aspect-ratio:16/9}.contact-direct{font-size:13px;line-height:1.8;overflow-wrap:anywhere;color:var(--mint);margin-bottom:28px}@media(max-width:700px){#full-film{width:min(100%,calc(73svh * 9 / 16));margin:0 auto;max-height:73svh}#full-film.landscape{width:100%;aspect-ratio:16/9}.cinema-wrap:has(#full-film.landscape){display:flex;flex-direction:column;gap:12px;justify-content:center}}

/* Preserve the full frame for horizontal films. */
.archive-grid{align-items:start}.archive-item.landscape{grid-column:1 / -1}.archive-item.landscape .archive-poster{aspect-ratio:16/9}.archive-item.landscape .archive-poster img{object-fit:contain}
@media(max-width:700px){.archive-item.landscape{grid-column:1 / -1}}

.form-honey{display:none!important}button:disabled{cursor:wait;opacity:.65}

/* Keep the animated contact sheet on phones, with a large focused film. */
.film-frame{padding:0;will-change:transform,opacity;backface-visibility:hidden;text-align:left;color:var(--white)}
@media(max-width:700px){
 header{backdrop-filter:none;background:#0a0d0cf5}
 .film-stage{top:68px;height:calc(100svh - 68px);min-height:0}
 .composition{inset:38px 0 38px}
 .film-frame{height:100%;max-width:100%;top:0;border:0;box-shadow:none}
 .film-copy{z-index:20;bottom:0;left:0;width:100%;max-width:none;padding:50px 6% 12px;background:linear-gradient(transparent,#0a0d0ce6);pointer-events:none}
 .film-copy .primary{pointer-events:auto;min-height:44px;margin-top:4px}
 .film-copy h2{font-size:27px;margin:8px 0}
 .film-frame .stamp{top:12px;bottom:auto;left:12px}
 .ambient-fragment{will-change:auto;mix-blend-mode:normal;filter:none}
 .ambient-grain{mix-blend-mode:normal}
}

/* All film text sits above the complete video stack, never inside a moving card. */
.film-titles{position:absolute;inset:0;z-index:20;pointer-events:none}
.film-titles .film-copy{opacity:0;transform:translate3d(0,18px,0);transition:opacity .24s ease,transform .38s cubic-bezier(.2,.7,.2,1);pointer-events:none;will-change:transform,opacity}
.film-titles .film-copy.is-visible{opacity:1;transform:translate3d(0,0,0)}
.film-titles .film-copy .primary{pointer-events:none}
.film-titles .film-copy.is-visible .primary{pointer-events:auto}
@media(prefers-reduced-motion:reduce){
 .film-titles{position:relative;display:grid;gap:24px}
 .film-titles .film-copy{position:relative;inset:auto;width:auto;max-width:none;opacity:1!important;transform:none;transition:none;padding:20px}
 .film-titles .film-copy .primary{pointer-events:auto}
}

/* Living editorial: photographic edges, printed grain and registration marks. */
.ambient-glow{background:radial-gradient(ellipse at 95% 30%,#a8ded814,transparent 55%),linear-gradient(115deg,#090d0b,#131a16 55%,#080c0a)}
.ambient-grain{opacity:.12;mix-blend-mode:normal}
.ambient-registration{position:absolute;inset:100px 3% 36px;border-left:1px solid #a8ded824;border-right:1px solid #a8ded824;background:repeating-linear-gradient(to bottom,transparent 0 119px,#a8ded82b 119px 120px,transparent 120px 240px);mask-image:linear-gradient(to right,#000 0 12px,transparent 12px calc(100% - 12px),#000 calc(100% - 12px));pointer-events:none}

.ambient-fragment{filter:none;mix-blend-mode:normal;mask-image:linear-gradient(to bottom,transparent,#000 10%,#000 85%,transparent);border:7px solid #e4e9de;transition:transform .9s cubic-bezier(.2,.7,.2,1),opacity .7s;will-change:auto}
.ambient-left{left:-9%;top:30%;width:30vw;height:58svh;opacity:.24;transform:rotate(-12deg)}
.ambient-right{right:-8%;top:9%;width:28vw;height:58svh;opacity:.22;transform:rotate(12deg)}
.ambient-background[data-scene="1"] .ambient-left{transform:translate3d(15px,-35px,0) rotate(-5deg);opacity:.3}
.ambient-background[data-scene="1"] .ambient-right{transform:translate3d(-20px,40px,0) rotate(5deg)}
.ambient-background[data-scene="2"] .ambient-left{transform:translate3d(-15px,25px,0) rotate(-16deg)}
.ambient-background[data-scene="2"] .ambient-right{transform:translate3d(20px,-25px,0) rotate(16deg);opacity:.3}
.intro,.about,.campaign-intro,.chapter-heading{position:relative}
.intro:before,.about:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#0a0d0ce6, #0a0d0c60 70%,transparent)}
/* Decorative sheets belong to the cover. Captions have their own full-width row. */
.photo-collection { position: relative; margin-top: 0; container-type: inline-size; }
.photo-print-stack {
 position: relative;
 isolation: isolate;
 overflow: hidden;
 padding: 4.5% 3% 0;
}
.photo-print-stack::before, .photo-print-stack::after {
 content: '';
 position: absolute;
 inset: 4% 6% 8%;
 z-index: -1;
 border: clamp(2px, .65cqi, 4px) solid var(--white);
 background: var(--story-back) center / cover;
 opacity: .68;
 transform: rotate(-4deg);
 transition: transform .45s ease;
}
.photo-print-stack::after {
 background-image: var(--story-back-secondary, var(--story-back));
 opacity: .48;
 transform: rotate(4deg);
}
.photo-collection .photo-composition { position: relative; z-index: 1; }
.photo-collection .collection-caption {
 display: grid;
 grid-template-columns: minmax(0, 1fr);
 align-items: start;
 gap: 3px;
 margin: 10px 3% 0;
}
.photo-collection .collection-caption h3 {
 margin: 0;
 font-size: clamp(14px, 4.55cqi, 17px);
 line-height: 1.3;
 font-weight: 500;
 letter-spacing: -.025em;
 white-space: nowrap;
}
.photo-collection .collection-caption span {
 color: var(--mint);
 font-size: 11px;
 line-height: 1.6;
}
@media (min-width: 701px) and (max-width: 1100px) {
 #photo-stories .photo-collections { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container (max-width: 305px) {
 .photo-collection .collection-caption { margin-inline: 0; }
 .photo-collection .collection-caption h3 { letter-spacing: -.05em; }
}
@media(max-width:700px){
 .ambient-grain{opacity:.085}
 .ambient-left{width:46vw;left:-24%;height:43svh;opacity:.23}
 .ambient-right{width:44vw;right:-23%;height:43svh;opacity:.24}
 
 .ambient-registration{inset:90px 12px 25px}
}
@media(prefers-reduced-motion:reduce){.ambient-fragment{transition:none}}

/* A complete, horizontal signature and a continuous section background. */

.intro:before,.about:before{mask-image:linear-gradient(to bottom,#000 0%,#000 45%,transparent 100%);-webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 45%,transparent 100%)}
@media(max-width:700px){}

/* A photographic centre replaces the oversized background lettering. */
.ambient-glow{background:#090e0c}
.ambient-centre{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 62%;opacity:.24;mask-image:radial-gradient(ellipse 65% 60% at 50% 54%,#000 20%,transparent 95%);pointer-events:none}
.ambient-film-marks{position:absolute;width:26px;height:26px;left:48%;top:24%;opacity:.18;background:linear-gradient(#a8ded8,#a8ded8) center/1px 26px no-repeat,linear-gradient(#a8ded8,#a8ded8) center/26px 1px no-repeat}
.ambient-film-marks:after{content:'';position:absolute;left:17vw;top:45vh;width:22px;height:22px;border-right:1px solid #a8ded8;border-bottom:1px solid #a8ded8;transform:rotate(6deg)}
@media(max-width:700px){.ambient-centre{opacity:.19;object-position:52% 50%}.ambient-film-marks{opacity:.12}}
/* Mobile uses a continuous, scroll-linked drift rather than discrete poses. */
@media(max-width:700px){
 .ambient-background .ambient-fragment{transition:none;will-change:transform}
 .ambient-background .ambient-left,.ambient-background[data-scene] .ambient-left{transform:translate3d(0,var(--bg-drift,0px),0) rotate(-10deg);opacity:.25}
 .ambient-background .ambient-right,.ambient-background[data-scene] .ambient-right{transform:translate3d(0,calc(var(--bg-drift,0px) * -.8),0) rotate(10deg);opacity:.25}
}
@media(max-width:700px) and (prefers-reduced-motion:reduce){
 .ambient-background .ambient-fragment{will-change:auto}
 .ambient-background .ambient-left,.ambient-background[data-scene] .ambient-left{transform:rotate(-10deg)}
 .ambient-background .ambient-right,.ambient-background[data-scene] .ambient-right{transform:rotate(10deg)}
}

/* Photo stacks open once as they enter view; the full story remains one tap away. */
.photo-collection.motion-ready:not(.story-revealed) .photo-print-stack::before,
.photo-collection.motion-ready:not(.story-revealed) .photo-print-stack::after {
 transform: rotate(0) scale(.98);
}
.photo-collection.motion-ready .collection-caption { opacity: .7; transition: opacity .35s; }
.photo-collection.story-revealed .collection-caption { opacity: 1; }
@media(prefers-reduced-motion:reduce) {
 .photo-print-stack::before, .photo-print-stack::after, .photo-collection .collection-caption { transition: none; }
}

/* The expanded photography library keeps categories and whole photo stories together. */
.photography-intro,.projects-intro{min-height:65svh}
.photo-filters{display:flex;flex-wrap:wrap;gap:8px 20px;margin:0 0 24px;padding:0 0 12px;border-bottom:1px solid #a8ded82a}
.photo-filters button{padding:14px 4px;font-size:13px;min-height:44px;color:var(--muted);border-bottom:2px solid transparent}
.photo-filters button[aria-pressed="true"]{color:var(--mint);border-color:var(--mint)}
.gallery-results{font-size:12px;color:var(--muted);margin:0 0 45px}
.photo-more{text-align:center;width:max-content;max-width:100%}.photo-more[hidden]{display:none}
.project-card{display:grid;grid-template-columns:1.1fr 1fr;gap:6%;align-items:center}
.project-image img{width:100%;height:auto;display:block}
.project-copy h2{font-weight:400;font-size:clamp(30px,4vw,60px);line-height:1.1;letter-spacing:-.04em}
.project-copy h2 span{color:var(--mint)}
.project-copy>p:not(.eyebrow){font-size:14px;color:var(--muted);line-height:1.8}
@media(max-width:900px){header nav{gap:16px;font-size:11px}}
@media(max-width:700px){.photo-filters{gap:4px 18px}.project-card{grid-template-columns:1fr;gap:24px}.photography-intro,.projects-intro{min-height:0}}

.language-switch{display:flex;gap:5px;align-items:center;margin-left:22px;white-space:nowrap;font-size:11px}.language-switch button{padding:10px 5px;color:var(--muted);min-height:44px}.language-switch button[aria-pressed=true]{color:var(--mint);text-decoration:underline;text-underline-offset:5px}.language-switch span{opacity:.35}header nav{margin-left:auto}header .brand{flex-shrink:0}@media(max-width:1000px){header nav{display:none}.menu-toggle{display:block}.language-switch{margin-left:auto;margin-right:12px}}#forum-photographs{scroll-margin-top:180px}

#photo-view[open] {
 display: grid;
 grid-template-rows: auto minmax(0,1fr);
 width: 100%; height: 100dvh; max-width: none; max-height: none;
 inset: 0; margin: 0; padding: 0; border: 0;
 background: #0a0d0c;
}
.photo-view-heading {
 display: flex; align-items: center; justify-content: space-between;
 gap: 12px; padding: 14px 5%; border-bottom: 1px solid #a8ded840;
}
.photo-view-heading h2 { margin: 4px 0 0; font-size: clamp(18px,3vw,30px); }
#photo-view .photo-view-heading .close { position: static; flex-shrink: 0; min-height: 44px; }
#photo-story {
 overflow: auto; overscroll-behavior: contain;
 padding: clamp(10px,3vw,36px) 5% 36px;
 background: radial-gradient(ellipse at top,#15241e,#0a0d0c 70%);
}
.photo-story-spread {
 display: grid; gap: clamp(6px,1vw,12px);
 width: min(100%,940px); margin: 0 auto clamp(14px,3vw,36px);
 padding: clamp(5px,1vw,12px); background: #e4e8dd;
}
.photo-story-spread[hidden] { display: none; }
.photo-composition picture { display: block; min-width: 0; min-height: 0; width: 100%; height: 100%; }
.photo-composition.layout-landscape picture { display: grid; align-items: center; }
.photo-story-spread:is([data-layout="portrait"],[data-layout="stack"]) { width: min(100%,490px); }
.photo-story-spread[data-layout="triple"] { grid-template-columns: repeat(3,minmax(0,1fr)); }
.photo-story-spread:is([data-layout="quad"],[data-layout="triple-bottom"]) { grid-template-columns: repeat(2,minmax(0,1fr)); }
.photo-story-spread[data-layout="triple-bottom"] > :last-child { grid-column: 1 / -1; }
.photo-story-spread a { display: grid; align-items: center; min-width: 0; background: #0a0d0c; }
.photo-story-spread picture { display: block; }
.photo-story-spread img { display: block; width: 100%; height: auto; object-fit: contain; }
.photo-story-spread[data-layout="portrait"] img { aspect-ratio: auto 4 / 5; }
.photo-story-spread[data-layout="landscape"] img { aspect-ratio: auto 3 / 2; }

#full-film[hidden], #full-film-local[hidden] { display: none; }
#full-film-local { display: block; width: min(48vw, calc(78svh * 9 / 16)); height: auto; aspect-ratio: 9 / 16; max-height: 78svh; margin-inline: auto; background: #000; accent-color: var(--mint); }
@media (max-width: 700px) {
 #full-film-local { width: min(92vw, calc(74svh * 9 / 16)); }
}
