:root{color-scheme:dark;--bg:#141615;--text:#f0efe8;--muted:#979b96;--accent:#d4e8ac}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:'DM Sans',sans-serif}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}a{color:inherit;text-decoration:none}header{height:108px;padding:0 6%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ffffff13}header>a:last-child{font-size:12px;color:#c3c7c0}header>a:last-child span{margin-left:20px;color:var(--accent)}.brand{font-size:16px;letter-spacing:2px;font-weight:700}.brand span{color:var(--accent);padding:0 7px}main{padding:0 6%}.intro{padding:73px 0 56px}.eyebrow{font-size:10px;letter-spacing:2px;display:flex;align-items:center;gap:10px;color:#b5bcb0}.eyebrow i{height:6px;width:6px;border-radius:50%;background:var(--accent)}h1{font-size:clamp(44px,6.8vw,100px);font-weight:400;line-height:1.05;letter-spacing:-5px;margin:30px 0}h1 em{font-family:'Playfair Display',serif;color:var(--accent);font-weight:500}.intro-bottom{display:flex;align-items:flex-end;justify-content:space-between}.intro p{font-size:14px;color:var(--muted);line-height:1.7;margin:0}.hint{font-size:9px;letter-spacing:1.5px;color:var(--muted);padding-bottom:5px}.toolbar{display:flex;justify-content:space-between;align-items:center;padding:21px 0;border-top:1px solid #ffffff26;border-bottom:1px solid #ffffff26}.filters{display:flex;gap:25px}button{border:0;background:none;color:var(--muted);padding:8px 0}.filters button{font-size:12px}.filters .active{color:var(--text)}sup{color:var(--accent);margin-left:5px;font-size:9px}.add{font-size:11px;color:#d5d8d0}.add span{padding-left:16px;color:var(--accent)}.sample{font-size:8px;letter-spacing:1.5px;color:var(--accent);margin:25px 0 19px;display:flex;justify-content:space-between}.sample span{color:var(--muted);letter-spacing:0;font-size:10px}.gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:34px 24px}.card{display:block;text-align:left;width:100%;padding:0;color:var(--text)}.visual{position:relative;overflow:hidden;background:#262b27;aspect-ratio:1.4}.card:nth-child(3n+1) .visual{aspect-ratio:1.5}.visual img,.visual video{height:100%;width:100%;object-fit:cover;display:block;transition:transform .6s ease,filter .6s;filter:saturate(.8)}.card:hover img,.card:hover video{transform:scale(1.05);filter:saturate(1)}.expand{position:absolute;right:16px;bottom:16px;width:36px;height:36px;background:#12151288;backdrop-filter:blur(8px);border:1px solid #ffffff44;border-radius:50%;display:grid;place-items:center;color:white;opacity:0;transform:translateY(5px);transition:.25s}.card:hover .expand,.card:focus-visible .expand{opacity:1;transform:none}.badge{position:absolute;top:16px;left:16px;background:#12151299;padding:7px 9px;font-size:9px;letter-spacing:1px}.play{position:absolute;inset:0;display:grid;place-items:center;color:white;font-size:25px;pointer-events:none}.play span{border:1px solid #ffffff77;border-radius:50%;width:64px;height:64px;display:grid;place-items:center;background:#0003}.meta{display:flex;justify-content:space-between;align-items:baseline;padding-top:13px}.meta h2{font-size:13px;font-weight:400;margin:0}.meta p{font-size:9px;letter-spacing:1px;color:var(--muted);margin:0}footer{border-top:1px solid #ffffff26;display:flex;align-items:center;justify-content:space-between;margin-top:80px;padding:32px 0 38px}footer p,footer>a:last-child{font-size:10px;color:var(--muted)}#status{font-size:12px;color:var(--muted)}dialog{border:0;padding:0;background:#0c0e0df7;color:var(--text);width:100vw;max-width:none;height:100dvh;max-height:none;margin:0}dialog::backdrop{background:#000}.viewer-top{height:70px;display:flex;justify-content:space-between;align-items:center;padding:0 4%;font-size:11px;color:var(--muted)}.viewer-top button{color:white;padding:14px;font-size:21px}#stage{height:calc(100dvh - 176px);display:flex;align-items:center;justify-content:center;padding:0 5%}#stage img,#stage video{max-width:100%;max-height:100%;object-fit:contain}#stage p{font-size:12px}.viewer-bottom{height:106px;display:flex;align-items:center;justify-content:space-between;padding:0 5%}.viewer-bottom p{font-size:9px;letter-spacing:2px;color:var(--accent);margin:0 0 8px}.viewer-bottom h2{font-size:18px;font-weight:400;margin:0}.nav{display:flex;gap:20px}.nav button{font-size:26px;color:var(--text);padding:10px}button:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:5px}body.modal{overflow:hidden}@media(hover:none){.expand{opacity:1;transform:none}.hint{display:none}}@media(max-width:650px){header{height:80px}header>a:last-child{font-size:10px}.brand{font-size:13px}.intro{padding:50px 0 36px}h1{letter-spacing:-2px;margin:28px 0}.intro p{font-size:12px}.hint{display:none}.filters{gap:17px}.filters button{font-size:11px}.add{font-size:10px}.add span{padding-left:4px}.gallery{grid-template-columns:1fr;gap:27px}.sample{line-height:1.6;gap:10px;align-items:flex-start}.sample span{text-align:right;max-width:180px;font-size:9px}footer p{display:none}footer{margin-top:45px}.visual{aspect-ratio:1.3}#stage{padding:0 12px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* One featured work per horizontal slide. */
.intro{padding:42px 0 32px}h1{font-size:clamp(40px,5vw,70px);margin:22px 0}.gallery{display:flex;gap:24px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}.gallery::-webkit-scrollbar{display:none}.gallery .card{flex:0 0 100%;min-width:0;scroll-snap-align:start;scroll-snap-stop:always}.gallery .card .visual{aspect-ratio:auto;height:clamp(280px,58vh,760px);background:#0e100f}.gallery .visual img,.gallery .visual video{object-fit:contain}.gallery .card:hover img,.gallery .card:hover video{transform:none}.gallery .meta{padding:18px 2px 4px}.carousel-controls{display:flex;align-items:center;justify-content:space-between;padding:22px 0;border-bottom:1px solid #ffffff26}.carousel-tip{font-size:9px;letter-spacing:1.5px;color:var(--muted)}.carousel-nav{display:flex;align-items:center;gap:24px}.carousel-nav button{width:42px;height:42px;border:1px solid #ffffff33;border-radius:50%;font-size:21px;padding:0;color:var(--text)}.carousel-nav button:hover{background:#d4e8ac;color:#141615}.carousel-nav button:disabled{opacity:.25;cursor:default;background:transparent;color:var(--muted)}#slide-count{font-variant-numeric:tabular-nums;min-width:48px;text-align:center;font-size:11px;color:var(--muted)}footer{margin-top:45px}@media(max-width:650px){.intro{padding:32px 0 28px}.gallery .card .visual{height:48vh;min-height:260px;max-height:520px}.carousel-nav{gap:14px}.carousel-tip{font-size:8px;max-width:110px;line-height:1.8}.gallery .meta h2{font-size:12px}.gallery .meta p{font-size:8px}}

dialog{overflow:hidden}#stage{overflow:hidden}

header .brand,footer .brand{font-family:"Bodoni Moda","Bodoni MT",serif;font-weight:400}

footer .brand{font-size:12px;letter-spacing:1px}@media(max-width:650px){footer .brand{font-size:11px}}

footer .copyright{display:block}@media(max-width:650px){footer{flex-wrap:wrap;gap:16px}footer .copyright{order:3;flex-basis:100%;margin:0}}
footer{display:grid;grid-template-columns:1fr auto 1fr}footer .brand{justify-self:start}footer .copyright{grid-column:2;grid-row:1;text-align:center;justify-self:center}footer>a:last-child{grid-column:3;grid-row:1;justify-self:end}@media(max-width:650px){footer .copyright{grid-column:1/-1;grid-row:2;width:100%}}
footer .brand{color:var(--accent)}

.portfolio-links{display:flex;align-items:center;flex-wrap:wrap;gap:30px;margin-top:20px}.portfolio-links a{font-size:12px;color:var(--text);padding:8px 0;border-bottom:1px solid #d4e8ac55}.portfolio-links a span{color:var(--accent);margin-left:12px}.portfolio-links a:hover{color:var(--accent);border-color:var(--accent)}#work{scroll-margin-top:24px}.comp-page{padding-top:38px}.back-link{font-size:12px;color:var(--muted)}.back-link:hover{color:var(--accent)}.comp-heading{padding:44px 0 36px}.comp-heading p{font-size:13px;color:var(--muted);line-height:1.6}.comp-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}.comp-cards figure{margin:0;min-width:0}.comp-cards img{display:block;width:100%;height:auto}.comp-cards figcaption{display:flex;justify-content:space-between;margin-top:14px;font-size:10px;letter-spacing:1px;color:var(--accent)}.comp-cards figcaption span{color:var(--muted);letter-spacing:0}@media(max-width:650px){.comp-cards{grid-template-columns:1fr;gap:32px}.comp-heading{padding-top:32px}.portfolio-links{gap:24px}}


#stage img{cursor:zoom-out}

/* Centered portrait strip, with neighboring photographs visible. */
.gallery{--portrait-height:min(66svh,760px);position:relative;max-width:calc(var(--portrait-height) * .75 + 340px);margin-inline:auto;gap:22px;scroll-snap-type:x mandatory;overflow-x:auto;overflow-y:hidden;overflow-anchor:none;align-items:flex-start;padding-block:4px 6px}
.gallery .card{flex:0 0 auto;width:min(calc(var(--portrait-height) * var(--portrait-ratio, .667)),calc(100% - 96px));scroll-snap-align:center;scroll-snap-stop:always;opacity:.5;transition:opacity .35s ease}
.gallery .card.is-current,.gallery .card:hover,.gallery .card:focus-visible{opacity:1}
.gallery .card .visual{height:auto;min-height:0;max-height:none;aspect-ratio:var(--portrait-ratio, .667);background:transparent}
.gallery .visual img,.gallery .visual video{width:100%;height:100%;object-fit:contain;filter:none}
.gallery .meta{gap:12px;align-items:flex-start;flex-wrap:wrap}.gallery .meta h2{font-size:11px}.gallery .meta p{font-size:8px}
.carousel-controls{max-width:calc(min(66svh,760px) * .75 + 340px);margin-inline:auto}
@media(max-width:650px){.gallery{--portrait-height:64svh;gap:14px;max-width:100%}.gallery .card{width:min(calc(var(--portrait-height) * var(--portrait-ratio, .667)),calc(100% - 70px))}.gallery .meta p{display:none}.gallery .meta{padding-top:12px}.gallery .meta h2{font-size:10px}.carousel-controls{max-width:100%}}
.gallery .card .visual{border-radius:16px}#stage img{border-radius:16px}

.gallery .card .visual img.is-zoomed,#stage img.is-zoomed{transform:scale(var(--photo-zoom));transform-origin:var(--photo-origin)}#stage .face-crop{height:100%;width:auto;max-width:100%;aspect-ratio:var(--portrait-ratio,.667);overflow:hidden;border-radius:16px}#stage .face-crop img{display:block;width:100%;height:100%;object-fit:contain;border-radius:0}

.eyes-banner{width:100%;height:clamp(64px,8.98vw,120px);overflow:hidden;background:#d8d2cf}.eyes-banner img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;border-radius:0}

.eyes-banner{position:relative;isolation:isolate}.eyes-banner::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(15,17,16,.8),rgba(15,17,16,.3) 24%,transparent 38%,transparent 62%,rgba(15,17,16,.3) 76%,rgba(15,17,16,.8));pointer-events:none}
.eyes-banner{background:var(--bg)}.eyes-banner img{opacity:.65}
.eyes-banner img{opacity:.3;transform:scale(1.25);transform-origin:center}

.intro-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:center}.intro-heading h1{margin:0}.intro-copy{text-align:right;display:flex;flex-direction:column;align-items:flex-end;gap:14px;max-width:240px}.intro-copy .eyebrow{justify-content:flex-end}.intro-copy p{margin:0}.intro-bottom .portfolio-links{margin-top:24px}@media(max-width:650px){.intro-heading{gap:14px}.intro-heading h1{font-size:clamp(28px,7.4vw,40px)}.intro-copy{max-width:135px;gap:10px}.intro-copy .eyebrow{font-size:8px;letter-spacing:1px;line-height:1.5}.intro-copy p{font-size:11px}.intro-copy .eyebrow i{flex-shrink:0;width:4px;height:4px}}
.intro-heading{align-items:stretch}.intro-copy{align-self:stretch;justify-content:space-between;max-width:none;gap:12px;padding-block:5px 4px}.intro-copy .eyebrow{font-size:clamp(14px,1.4vw,20px);line-height:1.2;letter-spacing:1.5px;white-space:nowrap}.intro-copy p{font-size:clamp(18px,2vw,28px);line-height:1.2}@media(max-width:650px){.intro-copy{gap:8px;padding-block:2px}.intro-copy .eyebrow{font-size:clamp(11px,2.8vw,15px);letter-spacing:.3px;gap:6px}.intro-copy p{font-size:clamp(14px,3.6vw,20px)}}@media(max-width:380px){.intro-heading{gap:12px}.intro-heading h1{font-size:24px}.intro-copy .eyebrow{font-size:10px}.intro-copy p{font-size:13px}}
.eyes-banner img{transform:scale(1.8)}


.eyes-banner .eyes-pupils{position:absolute;inset:0;z-index:2;opacity:.285714;pointer-events:none;-webkit-mask-image:url("assets/eyes-pupils-mask.svg");mask-image:url("assets/eyes-pupils-mask.svg");-webkit-mask-size:cover;mask-size:cover;-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}

.eyes-banner img:not(.eyes-pupils){-webkit-mask-image:url("assets/eyes-surround-mask.svg");mask-image:url("assets/eyes-surround-mask.svg");-webkit-mask-size:cover;mask-size:cover;-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}

/* Subtle monogram around the carousel. */
#work{position:relative;isolation:isolate}.carousel-monogram{position:absolute;top:-45px;left:-6.82%;width:113.64%;height:calc(100% + 70px);z-index:0;pointer-events:none;user-select:none;overflow:hidden;fill:#9a9d98;opacity:.16}.carousel-monogram text{font-family:"Bodoni Moda","Bodoni MT",serif;font-size:1100px;font-weight:400}#work .gallery,#work .carousel-controls,#work #status{position:relative;z-index:1}

.carousel-monogram{top:-200px;left:0;width:100%;height:calc(100% + 90px);object-fit:contain;opacity:.07;transform:scale(1.65,1.5);transform-origin:50% 0%}

body:has(.carousel-monogram){overflow-x:clip}

.intro-copy{justify-content:flex-start;gap:8px}.intro-year{display:block;align-self:flex-end;text-align:right;font-size:clamp(11px,1.1vw,14px);line-height:1.2;letter-spacing:2px;color:var(--accent)}@media(max-width:650px){.intro-copy{gap:6px}.intro-year{font-size:10px;letter-spacing:1.5px}}

.intro-year{font-family:"Playfair Display",serif;font-style:italic;font-weight:500;font-size:clamp(24px,2.8vw,40px);letter-spacing:0}@media(max-width:650px){.intro-year{font-size:24px;letter-spacing:0}}

.intro-year{transform:translateY(-5px);opacity:.55}

/* Mobile: use photo 1's displayed height for every portrait. */
@media(max-width:650px){
  .gallery{container-type:inline-size;--mobile-photo-height:min(64svh,calc((100cqw - 70px) / .75))}
  .gallery .card{width:calc(var(--mobile-photo-height) * var(--portrait-ratio,.667))}
  .gallery .card .visual{height:var(--mobile-photo-height);aspect-ratio:auto}
}

/* Match the three barn portraits to brown2's original warm color balance. */
.gallery .visual img[src*="brown1.jpg"],#stage img[src*="brown1.jpg"]{filter:url(#warm-brown1)}
.gallery .visual img[src*="brown2.jpg"],#stage img[src*="brown2.jpg"]{filter:none}
.gallery .visual img[src*="brown4.jpg"],#stage img[src*="brown4.jpg"]{filter:url(#warm-brown4)}

/* Keep page-top eyes above the decorative monogram. */
.ornament-page>.eyes-banner{z-index:1}

/* Bring the comp card content closer to the return link. */
.comp-heading{padding:16px 0 24px}.comp-heading h1{margin:14px 0 22px}
