/* Portfolio rhythm: existing brand colours and character, image-led full-screen chapters. */
:root { --ease-out:cubic-bezier(.2,.8,.2,1); }
em { font-style:normal; }
.text-link { display:inline-flex; align-items:center; width:fit-content; min-height:44px; font-size:15px; font-weight:700; border-bottom:1px solid; padding:8px 0; }
.text-link:hover { opacity:.7; }
.home-chapter { min-height:100svh; }
.home #intro { min-height:calc(100svh + clamp(48px,12vh,138px)); padding:calc(clamp(48px,12vh,138px) + 9vh) var(--pad) 12vh; grid-template-columns:.75fr 1.25fr; gap:7vw; position:relative; z-index:1; border-radius:0 0 50% 50% / 0 0 7vh 7vh; margin-bottom:-7vh; }
.intro-art { display:grid; place-items:center; gap:50px; }
.intro-art .peel { width:clamp(180px,24vw,390px); }
.intro-art>span { font:11px/1.6 Consolas,monospace; transform:rotate(-7deg); }
.home .intro-copy { animation:none; }
.intro h2 { font-size:clamp(48px,5.5vw,96px); letter-spacing:-.07em; line-height:.95; margin:30px 0; }
.intro h2 em { color:#ffac72; }
.intro p { font-size:clamp(16px,1.35vw,21px); max-width:43ch; margin:0 0 18px; }
.practice-line { margin-top:34px; font:11px/1.8 Consolas,monospace; opacity:.8; }
.featured { background:var(--paper); }
.work-lead { position:relative; isolation:isolate; overflow:clip; display:flex; flex-direction:column; justify-content:center; align-items:flex-start; padding:16vh var(--pad) 10vh; }
.work-lead h2,.archive-invite h2 { font-size:clamp(68px,11vw,180px); line-height:.9; letter-spacing:-.075em; margin:32px 0; }
.work-lead h2 em,.archive-invite h2 em { color:var(--green); }
.work-lead>p,.archive-invite p { font-size:clamp(17px,1.6vw,24px); line-height:1.5; max-width:32ch; margin-bottom:24px; }
.lead-prints { position:absolute; right:6vw; top:25%; width:25vw; height:60%; z-index:-1; }
.lead-prints img { width:100%; aspect-ratio:4/3; object-fit:contain; background:#dddcd2; transform:rotate(9deg); }
.lead-prints img+img { width:80%; position:absolute; top:45%; left:-15%; transform:rotate(-12deg); }
.feature-stack { position:relative; isolation:isolate; }
.feature-scene { min-height:100svh; position:relative; background:var(--paper); }
.feature-surface { min-height:100svh; display:grid; grid-template-columns:1.15fr 1fr; grid-template-rows:auto 1fr; gap:4vh 5vw; padding:5vh var(--pad); background:var(--paper); transform-origin:50% 0; }
.feature-meta { grid-column:1/-1; display:flex; align-items:center; justify-content:space-between; padding-bottom:16px; border-bottom:1px solid #10121430; font:11px/1.5 Consolas,monospace; text-transform:uppercase; letter-spacing:.06em; }
.feature-art { display:block; position:relative; min-height:0; height:76vh; height:76svh; align-self:center; background:var(--scene-tone); overflow:hidden; border-radius:12px; }
.feature-art img { display:block; width:100%; height:100%; object-fit:contain; padding:2vw; transition:transform .8s var(--ease-out); }
.feature-art:hover img { transform:scale(1.035); }
.feature-caption { display:flex; flex-direction:column; justify-content:space-between; align-self:stretch; padding:5vh 0; }
.feature-caption small { font-size:14px; }
.feature-caption h3 { font-size:clamp(44px,4.8vw,84px); line-height:.99; letter-spacing:-.065em; font-weight:700; margin-top:24px; text-wrap:balance; }
.feature-caption p { max-width:36ch; line-height:1.55; font-size:clamp(16px,1.2vw,19px); margin:28px 0 14px; }
.project-circle { position:absolute; bottom:24px; right:24px; width:90px; height:90px; display:grid; align-content:center; text-align:center; background:var(--ink); color:var(--paper); border-radius:50%; font-size:13px; line-height:1.4; transform:rotate(-12deg); transition:transform .4s; }
.feature-art:hover .project-circle { transform:rotate(0); }
.archive-invite { padding:10vh var(--pad); display:grid; grid-template-columns:1.3fr 1fr; align-items:center; gap:10vw; position:relative; background:var(--paper); }
.archive-invite h2 { font-size:clamp(58px,8vw,140px); }
.archive-preview { display:block; transform:rotate(5deg); }
.archive-preview img { width:100%; max-height:65svh; object-fit:contain; display:block; }
.archive-preview span { display:block; font-size:12px; margin-top:14px; }
.home .contact { min-height:100svh; border-radius:50% 50% 0 0 / 7vh 7vh 0 0; padding-top:13vh; }
.contact h2 { font-size:clamp(64px,10vw,170px); }
.contact-intro { max-width:40ch; font-size:clamp(17px,1.5vw,23px); line-height:1.5; margin-bottom:36px; }
.contact-mail { font-size:clamp(18px,2.2vw,36px); }
.bio p+p { margin-top:20px; }
.bio h2 { font-size:clamp(46px,6.8vw,110px); }
/* Case studies: project-sized opening, short chapters, image sequences and optional process depth. */
.case-page { background:var(--paper); }
.case-page>header { background:var(--case-tone); margin:0; padding:0 var(--pad); border-bottom-color:#10121430; }
.case-opening { background:var(--case-tone); min-height:calc(100svh - 78px); padding:28px var(--pad) 24px; }
.case-title { display:grid; grid-template-columns:1fr 1fr; align-items:center; }
.case-title>small { justify-self:end; }
.back-link { width:fit-content; font-size:13px; padding:10px 0; }
.case-title h1 { grid-column:1/-1; font-size:clamp(66px,9vw,160px); letter-spacing:-.075em; line-height:1; margin:16px 0 28px; }
.case-opening-grid { display:grid; grid-template-columns:.85fr 1.15fr; gap:6vw; align-items:center; }
.case-hook h2 { font-size:clamp(34px,3.3vw,58px); line-height:1.02; letter-spacing:-.05em; margin-bottom:24px; }
.case-hook p { font-size:clamp(16px,1.2vw,20px); line-height:1.6; max-width:40ch; margin-bottom:22px; }
.case-hero-art { display:block; width:100%; height:clamp(300px,51svh,650px); object-fit:contain; }
.case-spec { display:flex; justify-content:space-between; align-items:center; gap:20px; border-top:1px solid #10121430; margin-top:28px; padding-top:20px; font:11px/1.5 Consolas,monospace; }
.story-chapter { padding:12vh var(--pad) 5vh; }
.chapter-copy { display:grid; grid-template-columns:40px 1.1fr 1fr; gap:3vw; align-items:start; margin:0 0 8vh; }
.chapter-no { font:12px/1 Consolas,monospace; padding-top:10px; }
.chapter-copy h2 { font-size:clamp(38px,4.6vw,78px); line-height:1.02; letter-spacing:-.06em; max-width:16ch; text-wrap:balance; }
.chapter-copy p { line-height:1.65; font-size:clamp(16px,1.3vw,20px); max-width:40ch; padding-top:5px; }
.story-gallery { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:50px 28px; }
.story-gallery.single { grid-template-columns:1fr; }
.story-gallery.single .story-image { width:100%; }
.story-gallery.single .tall { width:min(100%,750px); margin-inline:auto; }
.story-gallery.trio { grid-template-columns:repeat(3,minmax(0,1fr)); align-items:start; }
.story-gallery.mixed .story-image:nth-child(3n+1):not(.tall) { grid-column:1/-1; }
.story-gallery.mixed .story-image:nth-child(3n+1):last-child { max-width:100%; }
.story-image { min-width:0; }
.image-open { position:relative; display:block; border:0; padding:0; width:100%; background:var(--case-tone); color:var(--ink); text-align:left; overflow:hidden; }
.image-open img { display:block; width:100%; height:auto; max-height:105svh; object-fit:contain; transition:transform .7s var(--ease-out); }
.story-gallery.trio .image-open img { max-height:none; }
.image-open:hover img { transform:scale(1.015); }
.image-hint { position:absolute; right:14px; bottom:14px; padding:10px 14px; background:var(--paper); color:var(--ink); border-radius:22px; opacity:0; transform:translateY(6px); transition:opacity .3s,transform .3s; font-size:12px; }
.image-open:hover .image-hint,.image-open:focus-visible .image-hint { opacity:1; transform:none; }
.story-image figcaption { display:flex; justify-content:space-between; gap:16px; font:11px/1.5 Consolas,monospace; margin-top:13px; }
.process-notes { display:grid; grid-template-columns:1fr 1.4fr; gap:8vw; padding:12vh var(--pad); }
.process-notes h2 { font-size:clamp(38px,4.7vw,76px); line-height:1; letter-spacing:-.055em; margin:20px 0; }
.process-notes>div>p { font-size:17px; line-height:1.5; max-width:27ch; }
.process-notes details { border-top:1px solid #10121440; }
.process-notes details:last-child { border-bottom:1px solid #10121440; }
.process-notes summary { list-style:none; padding:22px 0; display:flex; justify-content:space-between; align-items:center; gap:20px; font-size:18px; font-weight:600; }
.process-notes summary::-webkit-details-marker { display:none; }
.process-notes summary > span[aria-hidden="true"] { font-size:24px; font-weight:400; transition:transform .3s; }
.process-notes [open] summary > span[aria-hidden="true"] { transform:rotate(45deg); }
.process-notes details p { font-size:16px; line-height:1.65; margin:0 0 18px; max-width:60ch; }
.next-case { background:var(--next-tone); display:grid; grid-template-columns:1.4fr .6fr; gap:5vw; align-items:center; padding:10vh var(--pad); min-height:65svh; border-radius:50% 50% 0 0 / 5vh 5vh 0 0; }
.next-case h2 { font-size:clamp(48px,7vw,120px); line-height:1; letter-spacing:-.06em; margin:26px 0; }
.next-case h2>span { display:inline-block; transition:transform .3s; }
.next-case:hover h2>span { transform:translate(8px,-8px); }
.next-case p { font-size:19px; }
.next-case img { width:100%; aspect-ratio:1; object-fit:contain; transform:rotate(5deg); }
.image-dialog { width:96vw; max-width:none; max-height:96svh; border:0; background:#171a17; color:var(--paper); padding:60px 20px 20px; }
.image-dialog::backdrop { background:#101214e8; }
.image-dialog>img { display:block; width:100%; height:calc(90svh - 100px); object-fit:contain; }
.image-dialog>p { font-size:13px; text-align:center; margin-top:12px; }
.close-image { position:absolute; right:20px; top:15px; border:1px solid currentColor; color:inherit; background:transparent; padding:8px 16px; font-size:14px; }
body:has(.image-dialog[open]) { overflow:hidden; }
.archive-opening { padding:10vh var(--pad); min-height:75svh; display:flex; flex-direction:column; justify-content:center; }
.archive-opening h1 { font-size:clamp(70px,12vw,190px); line-height:.9; letter-spacing:-.075em; margin:30px 0; }
.archive-opening p { max-width:40ch; font-size:20px; line-height:1.5; }
.archive-collection { padding:5vh var(--pad) 12vh; }
.archive-grid { gap:9vh 5vw; align-items:start; }
.archive-card:nth-child(even) { margin-top:16vh; }
.archive-art { overflow:hidden; margin-bottom:20px; }
.archive-card img { margin:0; background:none; transition:transform .7s var(--ease-out); }
.archive-card:hover img { transform:scale(1.035); }
.archive-card h2 { display:flex; justify-content:space-between; }
.archive-card p { font-size:16px; line-height:1.5; }
@media(min-width:901px) and (min-height:650px) and (prefers-reduced-motion:no-preference) {
 .feature-scene { position:sticky; top:0; }
}
@supports (animation-timeline:view()) {
 @media(prefers-reduced-motion:no-preference) {
  .chapter-copy,.work-lead>p,.archive-invite>div { animation:editorial-rise linear both; animation-timeline:view(); animation-range:entry 0% entry 95%; }
  .lead-prints { animation:prints-drift linear both; animation-timeline:view(); animation-range:entry 0% exit 100%; }
  .feature-art img { animation:print-settle linear both; animation-timeline:view(); animation-range:entry 0% cover 45%; }
  .story-image { animation:editorial-rise linear both; animation-timeline:view(); animation-range:entry 0% entry 65%; }
 }
}
@keyframes editorial-rise { from { opacity:.25; transform:translateY(45px); } to { opacity:1; transform:translateY(0); } }
@keyframes prints-drift { from { transform:translateY(70px) rotate(4deg); } to { transform:translateY(-50px) rotate(-3deg); } }
@keyframes print-settle { from { transform:scale(1.12); } to { transform:scale(1); } }
@media(max-width:900px) {
 .home #intro { grid-template-columns:1fr; gap:35px; }
 .intro-art { display:flex; gap:25px; justify-content:flex-start; }
 .intro-art .peel,.intro .intro-art .peel { width:100px; flex-shrink:0; }
 .intro-art>span { transform:none; font-size:10px; }
 .intro h2 { font-size:clamp(48px,9vw,80px); }
 .intro p { max-width:50ch; }
 .work-lead h2 { font-size:clamp(65px,12vw,100px); }
 .lead-prints { width:23vw; top:auto; bottom:10%; right:5vw; height:25%; }
 .feature-surface { grid-template-columns:1fr; grid-template-rows:auto auto 1fr; gap:22px; min-height:100svh; padding:32px var(--pad) 48px; }
 .feature-art { height:45svh; min-height:250px; }
 .feature-caption { display:grid; grid-template-columns:1fr 1fr; gap:30px; padding:0; }
 .feature-caption h3 { font-size:clamp(34px,5vw,50px); margin-top:12px; }
 .feature-caption p { margin:0 0 12px; font-size:15px; }
 .feature-meta { font-size:9px; }
 .project-circle { width:66px; height:66px; font-size:11px; right:16px; bottom:16px; }
 .archive-invite { gap:5vw; }
 .archive-invite h2 { font-size:clamp(50px,8vw,80px); }
 .case-opening-grid { grid-template-columns:1fr 1fr; gap:25px; }
 .case-hook h2 { font-size:32px; }
 .chapter-copy { grid-template-columns:30px 1fr; gap:20px; }
 .chapter-copy p { grid-column:2; max-width:50ch; }
 .story-gallery.trio { grid-template-columns:1fr 1fr; }
 .process-notes { grid-template-columns:1fr; gap:35px; }
}
@media(max-width:600px) {
 header { gap:10px; } header nav { gap:14px; font-size:13px; } header .studio { display:none; }
 .home #intro { padding-bottom:11vh; }
 .intro h2 { margin-top:22px; }
 .work-lead { padding-top:14vh; justify-content:center; }
 .lead-prints { opacity:.85; width:30vw; bottom:9%; }
 .work-lead>p { max-width:26ch; font-size:17px; }
 .feature-caption { grid-template-columns:1fr; gap:20px; }
 .feature-caption h3 { font-size:clamp(36px,9.5vw,54px); }
 .feature-caption h3 br { display:none; }
 .feature-caption p { max-width:38ch; }
 .feature-meta span:first-child { display:none; }
 .feature-art { height:40svh; min-height:245px; }
 .feature-art img { padding:12px; }
 .archive-invite { grid-template-columns:1fr; gap:50px; padding:9vh var(--pad); }
 .archive-preview { width:64%; margin:0 auto; }
 .archive-preview img { max-height:42svh; }
 .contact h2 { font-size:clamp(62px,13vw,84px); }
 .contact-seal { width:52px; }
 .home .contact { padding-bottom:10vh; }
 footer { gap:20px; flex-wrap:wrap; } footer small { font-size:9px; }
 .case-opening { min-height:calc(100svh - 64px); }
 .case-title h1 { font-size:clamp(48px,12vw,78px); margin-bottom:28px; overflow-wrap:anywhere; }
 .case-title small { font-size:9px; text-align:right; max-width:20ch; }
 .case-opening-grid { grid-template-columns:1fr; gap:30px; }
 .case-hero-art { height:38svh; min-height:230px; }
 .case-hook h2 { font-size:34px; margin-bottom:18px; }
 .case-spec { align-items:flex-start; font-size:9px; flex-wrap:wrap; gap:12px; }
 .case-spec span:last-child { display:none; }
 .story-chapter { padding-top:9vh; }
 .chapter-copy { margin-bottom:35px; gap:16px; grid-template-columns:20px 1fr; }
 .chapter-copy h2 { font-size:38px; }
 .chapter-copy p { font-size:16px; }
 .story-gallery,.story-gallery.trio { grid-template-columns:1fr; gap:32px; }
 .story-gallery .story-image { grid-column:auto!important; }
 .image-open img { max-height:none; }
 .image-hint { display:none; }
 .process-notes { padding-top:7vh; }
 .process-notes summary { font-size:16px; }
 .next-case { grid-template-columns:1fr; gap:30px; }
 .next-case img { max-width:60%; justify-self:end; }
 .next-case h2 { font-size:clamp(42px,10vw,64px); }
 .archive-grid { grid-template-columns:1fr; gap:50px; }
 .archive-card:nth-child(even) { margin-top:0; }
}
@media(prefers-reduced-motion:reduce) {
 .feature-scene { position:relative; }
 .chapter-copy,.story-image,.lead-prints { opacity:1; transform:none; }
}

/* Fit the frame to the artwork, not a padded contain box. */
.case-page .story-image{width:100%;max-width:calc(var(--image-ratio,1.5) * 105svh);justify-self:center}
.case-page .image-open{background:transparent}
.case-page .image-open img{width:100%;height:auto;max-height:none;aspect-ratio:auto}
.case-page .case-hero-art{height:auto;max-height:none}
.case-page .next-case img{aspect-ratio:auto;height:auto}

.case-page{background:#101214;color:#f1eee7}.case-page>header,.case-page .case-opening{background:#101214;color:#f1eee7;border-color:#f1eee730}.case-page .next-case{background:#191c1e;color:#f1eee7}.case-page .case-spec,.case-page .process-notes details{border-color:#f1eee740}.case-page .story-gallery{align-items:start}.case-page .story-image{max-width:none;justify-self:stretch}.case-page .story-gallery.single .tall{width:100%;margin-inline:0}.case-page .image-open:hover img{transform:none}

.case-page>header{background:var(--paper);color:var(--ink);border-bottom-color:#10121430}
