/* Recreation of Jessica's original Canva one-scroll portfolio, projects collapsed */
:root{--brown:#6E5B57;--beige:#EBE9DB;--ink:#2b2523;--line:#cfc9b8}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;scroll-padding-top:3.2rem}
body{font:400 1rem/1.7 'Inter',sans-serif;color:var(--ink);background:#fff}
a{color:inherit}
.bar{position:sticky;top:0;z-index:5;background:#fff;border-bottom:1px solid #eee;text-align:right;padding:.8rem 1.25rem;font:500 .8rem 'Inter',sans-serif}
.bar a{text-decoration:none}
.name{max-width:62rem;margin:0 auto;padding:2.2rem 1.25rem 0}
.name h1{font:400 clamp(1.4rem,3.4vw,2rem)/1 'Playfair Display',serif;text-transform:uppercase;letter-spacing:.02em;color:var(--brown);padding-bottom:.6rem;border-bottom:1px solid var(--brown)}
.welcome{max-width:44rem;margin:2.2rem auto 0;padding:0 1.25rem;text-align:center}
.welcome img{width:100%;display:block}
h2{font-family:'Oswald',sans-serif;font-weight:400;color:var(--brown)}
.welcome h2{font-size:clamp(3rem,10vw,5.5rem);line-height:1.1;padding:1.5rem 0 2.5rem}
.toc{background:var(--beige);padding:3.5rem 1.25rem 3rem}
.toc>*{max-width:44rem;margin-left:auto;margin-right:auto}
.toc h2{font-size:clamp(2.4rem,7vw,4rem);margin-bottom:1.5rem;line-height:1.1}
.toc ol{padding-left:1.4rem}.toc ul{margin:.25rem 0 .25rem 1.6rem}.toc li{margin:.15rem 0}
.toc a:hover{color:#b5651d}
figure{margin:0}figcaption{font:italic .85rem 'Playfair Display',serif;color:#6b625e;text-align:right;padding-top:.3rem}
.cover{margin-top:2.5rem}.cover img{width:100%;display:block}
main,.bg,.rev{max-width:62rem;margin:0 auto;padding:0 1.25rem}
.work,.bg,.rev{padding-top:3rem}
h2.sec{font-size:clamp(2rem,5vw,3rem);line-height:1.1;margin-bottom:.4rem;text-transform:none}
.meta{font:italic 1rem 'Playfair Display',serif;color:#6b625e;margin-bottom:1rem}
.proj{border-top:1px solid var(--line)}.proj:last-of-type{border-bottom:1px solid var(--line)}
.proj summary{list-style:none;cursor:pointer;position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:'t c' 'm c';column-gap:1.2rem;align-items:center;padding:.9rem 3rem .9rem 0}
.proj .t{grid-area:t;align-self:end}.proj .m{grid-area:m;align-self:start}
.proj summary::-webkit-details-marker{display:none}
.proj .t{font:400 clamp(1.3rem,3vw,1.7rem)/1.2 'Oswald',sans-serif;text-transform:uppercase;letter-spacing:.03em;color:var(--brown)}
.proj .m{font-size:.82rem;letter-spacing:.06em;text-transform:uppercase;color:#8a817c}
.proj summary:hover .t{color:#b5651d}
.proj summary:focus-visible{outline:2px solid var(--brown);outline-offset:3px}
.pm{position:absolute;right:.2rem;top:50%;width:1.8rem;height:1.8rem;margin-top:-.9rem;border:1px solid var(--brown);border-radius:50%}
.pm::before,.pm::after{content:"";position:absolute;left:50%;top:50%;width:.7rem;height:1px;background:var(--brown);transform:translate(-50%,-50%);transition:transform .2s}
.pm::after{transform:translate(-50%,-50%) rotate(90deg)}
.proj[open] .pm::after{transform:translate(-50%,-50%) rotate(0)}
.body{padding:.4rem 0 2.4rem;display:grid;gap:1.4rem}
.body img,.rv img{width:100%;display:block;background:#f4f2ea}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}
.grid2.tall{grid-template-columns:repeat(2,minmax(0,22rem));justify-content:center}
.narrow{max-width:30rem}
.body h3{font:400 1.4rem 'Oswald',sans-serif;color:var(--brown)}
.note{font-size:.9rem;color:#5b524e}
.btn{display:inline-block;border:1px solid var(--brown);padding:.6rem 1.1rem;text-decoration:none;font-size:.82rem;letter-spacing:.08em;text-transform:uppercase;color:var(--brown)}
.btn:hover{background:var(--brown);color:#fff}
.bg p{margin-bottom:1rem;max-width:46rem}
.rv{align-items:start}.rv img{border:1px solid #eee}
footer{background:var(--beige);margin-top:4rem;padding:3.5rem 1.25rem;text-align:center}
footer h2{font-size:clamp(2.2rem,6vw,3.4rem);margin-bottom:1.5rem}footer p{margin:1rem 0}footer small{color:#6b625e}
.sig{margin-top:2.5rem;font:400 1.3rem 'Playfair Display',serif;text-transform:uppercase;color:var(--brown)}.sig span{display:block;font:400 .8rem 'Inter',sans-serif;letter-spacing:.12em;margin-top:.3rem}
@media(max-width:640px){.grid2,.grid3{grid-template-columns:1fr}.grid2.tall{grid-template-columns:1fr}}

.collage{grid-area:c;display:flex;align-items:center;justify-content:flex-end}
.collage img{width:5.2rem;height:3.6rem;object-fit:cover;background:#f4f2ea;border:2px solid #fff;box-shadow:0 1px 4px rgba(60,40,30,.25);margin-left:-.9rem;transition:transform .2s}
.collage img:nth-child(odd){transform:rotate(-2.5deg)}.collage img:nth-child(even){transform:rotate(2deg) translateY(2px)}
.collage img:first-child{margin-left:0}
.proj summary:hover .collage img{transform:rotate(0) translateY(0)}
.proj[open] .collage{opacity:.35}
@media(max-width:640px){.proj summary{grid-template-columns:1fr;grid-template-areas:'t' 'm' 'c';row-gap:.4rem}.collage{justify-content:flex-start;margin-top:.4rem}.collage img{width:4.2rem;height:3rem}}

/* left sticky table of contents */
.side{position:fixed;left:0;top:0;bottom:0;width:17rem;overflow-y:auto;background:var(--beige);padding:2rem 1.4rem;z-index:5;border-right:1px solid var(--line)}
.side-name{display:block;font:400 1.15rem/1 'Playfair Display',serif;text-transform:uppercase;color:var(--brown);text-decoration:none;padding-bottom:.6rem;border-bottom:1px solid var(--brown);margin-bottom:1.6rem}
.side h2{font-size:1.9rem;line-height:1.1;margin-bottom:1rem}
.side ol{padding-left:1.2rem;font-size:.9rem;line-height:1.5}.side ul{margin:.2rem 0 .3rem .9rem}.side li{margin:.25rem 0}
.side a{text-decoration:none}.side a:hover,.side a.on{color:#b5651d;text-decoration:underline}.side a.on{font-weight:500}
body{padding-left:17rem}
.name{display:none}
.welcome{margin-top:2.5rem}
.coverband{background:var(--beige);padding:2.5rem 1.25rem}.coverband .cover{max-width:44rem;margin:0 auto}
html{scroll-padding-top:1.5rem}
@media(max-width:900px){body{padding-left:0}.side{position:static;width:auto;border-right:0;border-bottom:1px solid var(--line)}.name{display:none}}

/* v3: closer, serif, transparent contents; matching serif body; muted reviews */
body{padding-left:0;font-family:'Lora','Playfair Display',serif}
.page{position:relative}
.side{left:max(1.25rem,calc(50% - 41rem));width:12.5rem;background:transparent;border:0;padding:3rem 0 2rem;overflow:visible;font-family:'Playfair Display',serif}
.side-name{display:none}
.side h2{font:500 .72rem 'Playfair Display',serif;letter-spacing:.24em;text-transform:uppercase;color:var(--brown);margin-bottom:1rem;padding-bottom:.6rem;border-bottom:1px solid var(--brown)}
.side ol{list-style:none;padding:0;font:400 .95rem/1.45 'Playfair Display',serif;counter-reset:n}
.side>ol>li{counter-increment:n;margin:.5rem 0}
.side>ol>li::before{content:counter(n,decimal-leading-zero);font-size:.7rem;letter-spacing:.1em;color:#a39a8f;margin-right:.55rem}
.side ul{list-style:none;margin:.2rem 0 .3rem 1.45rem;font-size:.88rem;font-style:italic}
.side li{margin:.2rem 0}
.side a{color:var(--ink);text-decoration:none;border-bottom:1px solid transparent}
.side a:hover,.side a.on{color:#b5651d;text-decoration:none;border-bottom-color:#b5651d;font-weight:400}
.welcome,.coverband .cover,main,.bg,.rev,footer>*{margin-left:auto;margin-right:auto}
.welcome,main,.bg,.rev{max-width:46rem;margin-left:max(17rem,calc(50% - 26rem));margin-right:auto}
.coverband{background:transparent;padding:2.5rem 1.25rem 0}
.coverband .cover{max-width:46rem;margin-left:max(17rem,calc(50% - 26rem))}
footer{background:transparent;border-top:1px solid var(--line);margin-top:4rem;text-align:left;padding:3rem 1.25rem}
footer>*{max-width:46rem;margin-left:max(17rem,calc(50% - 26rem));margin-right:auto}
.bg p,.body p,.proj .body,footer p,.note,.welcome p{font-family:'Lora',serif;font-size:1.02rem;line-height:1.85;color:#3a312e}
.bg p::first-letter{font-family:'Playfair Display',serif}
.bg p:first-of-type::first-letter{font-size:3.1rem;float:left;line-height:.85;padding:.35rem .5rem 0 0;color:var(--brown)}
.meta,figcaption,.proj .m{font-family:'Playfair Display',serif;font-style:italic;letter-spacing:.02em;text-transform:none}
.proj .m{font-size:.92rem;color:#7b716b}
.btn{font-family:'Playfair Display',serif;letter-spacing:.14em}
footer small{font-family:'Playfair Display',serif;font-style:italic}
/* reviews: muted greyscale on the beige colourway */
.rv figure{background:var(--beige);padding:.5rem}
.rv img{filter:grayscale(1) contrast(.9) brightness(1.03);mix-blend-mode:multiply;border:0;background:transparent;opacity:.92}
@media(max-width:1100px){.side{left:1rem}.welcome,main,.bg,.rev,footer>*,.coverband .cover{margin-left:max(17rem,5%);max-width:none;margin-right:1rem}}
@media(max-width:900px){.side{position:static;width:auto;padding:1.25rem}.welcome,main,.bg,.rev,footer>*,.coverband .cover{margin:0 auto;max-width:46rem}}

/* v4: hero with contact, spread intro copy, motion */
.hero{max-width:60rem;margin:3rem 0 0 max(17rem,calc(50% - 26rem));padding:0 1.25rem 0 0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:2.4rem;align-items:center}
.hero-photo{overflow:hidden}.hero-photo img{width:100%;display:block;will-change:transform}
.hero-text h2{font-size:clamp(2.6rem,6vw,4.2rem);line-height:1.05;margin:.3rem 0 1rem;padding:0}
.eyebrow{font:500 .72rem 'Playfair Display',serif;letter-spacing:.26em;text-transform:uppercase;color:#a39a8f}
.intro{font:400 1.02rem/1.85 'Lora',serif;color:#3a312e;margin:.5rem 0 1.2rem;max-width:40rem}
.hero .intro{font-size:.95rem;line-height:1.75}
.contact{margin-top:1.4rem;border-top:1px solid var(--line)}
.contact div{display:grid;grid-template-columns:5.2rem 1fr;gap:.8rem;padding:.6rem 0;border-bottom:1px solid var(--line);align-items:baseline}
.contact dt{font:500 .68rem 'Playfair Display',serif;letter-spacing:.22em;text-transform:uppercase;color:#a39a8f}
.contact dd{font:400 1rem 'Playfair Display',serif;overflow-wrap:anywhere}
.contact a{text-decoration:none;border-bottom:1px solid transparent}.contact a:hover{color:#b5651d;border-color:#b5651d}
.contact .sc{font-variant:small-caps;letter-spacing:.06em;font-size:1.08rem}
.hrs{font-style:italic;color:#7b716b;font-size:.9rem;white-space:nowrap}
h2.sec{margin-top:2.6rem}
.work>h2.sec:first-child{margin-top:0}
.bg,footer{display:none}
.rise{opacity:0;transform:translateY(26px);transition:opacity .9s cubic-bezier(.2,.7,.2,1),transform .9s cubic-bezier(.2,.7,.2,1)}
.rise.in{opacity:1;transform:none}
.collage img{transition:transform .5s cubic-bezier(.2,.7,.2,1),margin .5s}
.proj summary:hover .collage img{margin-left:-.3rem}.proj summary:hover .collage img:first-child{margin-left:0}
.proj .t{transition:letter-spacing .4s,color .3s}.proj summary:hover .t{letter-spacing:.07em}
html.lenis,html.lenis body{height:auto}.lenis.lenis-smooth{scroll-behavior:auto!important}.lenis-stopped{overflow:hidden}
@media(prefers-reduced-motion:reduce){.rise{opacity:1;transform:none;transition:none}}
@media(max-width:1100px){.hero{margin-left:max(17rem,5%);margin-right:1rem;padding:0}}
@media(max-width:900px){.hero{grid-template-columns:1fr;margin:2rem auto 0;max-width:46rem;padding:0 1.25rem}}

/* v5: collage rows like the original boards; testimonials; progress hairline */
.proj summary{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);grid-template-areas:'c t' 'c m';column-gap:1.6rem;row-gap:.25rem;align-items:center;padding:1.1rem 3.2rem 1.1rem 0;min-height:13.5rem}
.proj .t{grid-area:t;align-self:end;font-size:clamp(1.7rem,3.4vw,2.6rem);line-height:1.05;letter-spacing:.01em}
.proj .m{grid-area:m;align-self:start;margin-top:.5rem}
.collage{grid-area:c;display:flex;gap:.55rem;justify-content:flex-start;height:12rem}
.collage img{flex:1 1 0;min-width:0;width:auto;height:100%;margin:0;border:0;box-shadow:none;transform:none!important;object-fit:cover;transition:flex-grow .6s cubic-bezier(.2,.7,.2,1),filter .5s}
.collage img:nth-child(odd),.collage img:nth-child(even){transform:none}
.proj summary:hover .collage img{margin:0;flex-grow:.8}.proj summary:hover .collage img:hover{flex-grow:1.8}
.proj[open] .collage{opacity:1}
.proj summary:hover .t{letter-spacing:.01em}
.pm{top:1.6rem;margin-top:0}
.tm-list{display:grid;gap:0}
.tm blockquote{margin:0;padding:2rem 0;border-top:1px solid var(--line)}
.tm blockquote:last-child{border-bottom:1px solid var(--line)}
.tm blockquote p{font:italic 400 clamp(1.25rem,2.4vw,1.7rem)/1.5 'Playfair Display',serif;color:var(--brown)}
.tm cite{display:block;margin-top:.9rem;font:500 .72rem 'Playfair Display',serif;font-style:normal;letter-spacing:.24em;text-transform:uppercase;color:#a39a8f}
.progress{position:fixed;left:0;right:0;top:0;height:2px;z-index:20;pointer-events:none}.progress i{display:block;height:100%;background:#b5651d;transform-origin:0 50%;transform:scaleX(0)}
@media(max-width:700px){.proj summary{grid-template-columns:1fr;grid-template-areas:'t' 'm' 'c';min-height:0}.collage{height:8rem;margin-top:.6rem}}

/* v6: masthead name, bigger contents, small-caps links */
.masthead{margin:2.2rem 0 0 max(17rem,calc(50% - 26rem));max-width:60rem;padding:0 1.25rem 0 0;display:flex;align-items:baseline;justify-content:space-between;gap:1rem;border-bottom:1px solid var(--brown);padding-bottom:.9rem}
.masthead a{font:400 clamp(2rem,5vw,3.4rem)/1 'Playfair Display',serif;letter-spacing:.06em;text-transform:uppercase;color:var(--brown);text-decoration:none}
.masthead span{font:500 .75rem 'Playfair Display',serif;letter-spacing:.28em;text-transform:uppercase;color:#a39a8f}
.hero{margin-top:2rem}
.hero-text .eyebrow{display:none}
.side{width:15rem;left:max(1rem,calc(50% - 44rem))}
.side h2{font-size:.85rem}
.side ol{font-size:1.12rem;line-height:1.5}
.side ul{font-size:1.02rem;margin-left:1.6rem}
.side>ol>li{margin:.7rem 0}
.side>ol>li::before{font-size:.78rem}
.contact .sc{font-variant:small-caps;letter-spacing:.06em;font-size:1.08rem}
@media(max-width:1100px){.masthead{margin-left:max(17rem,5%);margin-right:1rem}.side{left:1rem}}
@media(max-width:900px){.masthead{margin:1.5rem auto 0;max-width:46rem;padding:0 1.25rem .9rem}}

/* v7: wide rows, uneven cropped collage */
.side{left:2rem;width:15rem}
.masthead,.hero,.coverband .cover,.welcome,main,.bg,.rev{margin-left:19rem;margin-right:2rem;max-width:68rem}
.masthead,.hero{padding-right:0}
main{padding:0}
.proj summary{grid-template-columns:minmax(0,2.3fr) minmax(0,1fr);column-gap:2rem;min-height:18.5rem;padding:1.4rem 3.4rem 1.4rem 0}
.collage{height:17rem;gap:0;align-items:stretch;position:relative}
.collage img{flex:none;height:auto;border:3px solid #fff;box-shadow:0 2px 10px rgba(60,40,30,.18);transition:transform .6s cubic-bezier(.2,.7,.2,1),flex-basis .6s}
.collage img:nth-child(1){flex-basis:32%;height:100%;align-self:flex-start;object-position:20% 50%}
.collage img:nth-child(2){flex-basis:30%;height:76%;align-self:flex-end;margin-left:-2.2rem;object-position:60% 40%;z-index:2}
.collage img:nth-child(3){flex-basis:34%;height:88%;align-self:flex-start;margin-left:-1.4rem;object-position:35% 60%;z-index:1}
.collage img:nth-child(4){flex-basis:26%;height:62%;align-self:flex-end;margin-left:-2.6rem;object-position:70% 50%;z-index:3}
.collage img:only-child{flex-basis:70%}
.collage img:nth-child(1):nth-last-child(2){flex-basis:48%}.collage img:nth-child(2):last-child{flex-basis:44%}
.proj summary:hover .collage img{flex-grow:0}
.proj summary:hover .collage img:nth-child(odd){transform:translateY(-6px) rotate(-.6deg)}
.proj summary:hover .collage img:nth-child(even){transform:translateY(6px) rotate(.6deg)}
.pm{top:1.8rem}
@media(max-width:1100px){.masthead,.hero,.coverband .cover,.welcome,main,.bg,.rev{margin-left:18rem;margin-right:1rem}.side{left:1rem}}
@media(max-width:900px){.masthead,.hero,.coverband .cover,.welcome,main,.bg,.rev{margin:0 auto;padding-left:1.25rem;padding-right:1.25rem;max-width:46rem}.hero{margin-top:2rem}}
@media(max-width:700px){.proj summary{grid-template-columns:1fr;min-height:0}.collage{height:11rem}}

/* v8: calm, cloudy motion — slow fades, soft focus, drifting haze */
body::before{content:"";position:fixed;inset:-20%;z-index:-1;pointer-events:none;
 background:radial-gradient(40% 35% at 25% 30%,rgba(235,233,219,.85),transparent 70%),radial-gradient(35% 30% at 75% 20%,rgba(222,214,200,.55),transparent 70%),radial-gradient(45% 40% at 60% 80%,rgba(235,233,219,.7),transparent 70%);
 filter:blur(30px);animation:haze 60s ease-in-out infinite alternate}
@keyframes haze{0%{transform:translate3d(-3%,-2%,0) scale(1)}50%{transform:translate3d(3%,2%,0) scale(1.08)}100%{transform:translate3d(-2%,3%,0) scale(1.03)}}
body{background:#fdfcf9}
.rise{opacity:0;transform:translateY(10px);filter:blur(8px);transition:opacity 1.7s cubic-bezier(.22,.61,.36,1),transform 1.7s cubic-bezier(.22,.61,.36,1),filter 1.5s ease-out}
.rise.in{opacity:1;transform:none;filter:blur(0)}
.hero-text>.rise:nth-child(2){transition-delay:.15s}.hero-text>.rise:nth-child(3){transition-delay:.3s}.hero-text>.rise:nth-child(4){transition-delay:.45s}
.hero-photo{animation:softin 2.2s ease-out both}
@keyframes softin{from{opacity:0;filter:blur(14px)}to{opacity:1;filter:blur(0)}}
.masthead,.side{animation:softin 1.8s ease-out both}
/* tiles fade in one after another */
.collage img{opacity:0;filter:blur(6px);transition:opacity 1.6s ease,filter 1.4s ease,transform 1.2s cubic-bezier(.22,.61,.36,1)}
.proj.in .collage img{opacity:1;filter:blur(0)}
.proj.in .collage img:nth-child(2){transition-delay:.25s}.proj.in .collage img:nth-child(3){transition-delay:.5s}.proj.in .collage img:nth-child(4){transition-delay:.75s}
.proj summary:hover .collage img:nth-child(odd),.proj summary:hover .collage img:nth-child(even){transform:none}
.proj summary:hover .collage img{filter:brightness(1.04) saturate(1.05);transition-delay:0s}
.proj .t{transition:color 1s ease}
.proj[open] .body{animation:bodyin 1.4s ease-out both}
@keyframes bodyin{from{opacity:0;filter:blur(8px);transform:translateY(8px)}to{opacity:1;filter:blur(0);transform:none}}
.pm::before,.pm::after{transition:transform .9s cubic-bezier(.22,.61,.36,1)}
.progress i{background:#a39a8f}
@media(prefers-reduced-motion:reduce){body::before,.hero-photo,.masthead,.side,.proj[open] .body{animation:none}.rise,.collage img{opacity:1;filter:none;transform:none;transition:none}}

/* v9: adapt to any width */
html{-webkit-text-size-adjust:100%}
img{max-width:100%}
body{overflow-x:hidden}
.side-toggle{display:none}
.hero-text h2{font-size:clamp(2.2rem,5.4vw,4rem)}
.masthead a{font-size:clamp(1.7rem,6vw,3.4rem)}
@media(max-width:1280px) and (min-width:901px){.side{width:13.5rem}.side ol{font-size:1.02rem}.masthead,.hero,.coverband .cover,.welcome,main,.bg,.rev{margin-left:16.5rem}.collage{height:14.5rem}.proj summary{min-height:16rem;grid-template-columns:minmax(0,1.9fr) minmax(0,1fr)}}
@media(max-width:900px){
 .side{position:sticky;top:0;left:0;width:auto;z-index:30;padding:.75rem 1.1rem;background:rgba(253,252,249,.93);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid var(--line);display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;animation:none}
 .side-name{display:block;margin:0;padding:0;border:0;font-size:1rem}
 .side-toggle{display:inline-flex;align-items:center;gap:.5rem;background:none;border:1px solid var(--brown);color:var(--brown);font:500 .7rem 'Playfair Display',serif;letter-spacing:.22em;text-transform:uppercase;padding:.45rem .8rem;cursor:pointer}
 .side-toggle i{width:.55rem;height:.55rem;border-right:1px solid currentColor;border-bottom:1px solid currentColor;transform:rotate(45deg) translate(-2px,-2px);transition:transform .5s}
 .side.open .side-toggle i{transform:rotate(-135deg)}
 .side h2{display:none}
 .side ol{display:none;width:100%;margin-top:.9rem;max-height:70svh;overflow:auto;font-size:1.1rem}
 .side.open ol{display:block}
 .masthead{margin-top:1.6rem}
 .masthead span{display:none}
}
@media(max-width:700px){
 .hero{gap:1.4rem}.contact div{grid-template-columns:4.6rem 1fr}
 .proj summary{padding:1rem 2.8rem 1rem 0}
 .proj .t{font-size:clamp(1.5rem,7vw,2rem)}
 .collage{height:12rem}
 .collage img:nth-child(1){flex-basis:38%}.collage img:nth-child(2){flex-basis:34%;margin-left:-1.4rem}.collage img:nth-child(3){flex-basis:36%;margin-left:-1rem}.collage img:nth-child(4){display:none}
 .grid2,.grid3,.grid2.tall{grid-template-columns:1fr}
 .tm blockquote p{font-size:1.2rem}
 .pm{top:1.3rem}
}
@media(max-width:380px){.masthead a{letter-spacing:.02em}.contact dd{font-size:.95rem}.collage{height:10rem}}

/* v10: every project row gets its own collage pattern */
.collage[data-p="1"] img:nth-child(1){flex-basis:32%;height:100%;align-self:flex-start;margin-left:0rem;object-position:20% 50%;z-index:3;display:block}
.collage[data-p="1"] img:nth-child(2){flex-basis:30%;height:76%;align-self:flex-end;margin-left:-2.2rem;object-position:60% 40%;z-index:5;display:block}
.collage[data-p="1"] img:nth-child(3){flex-basis:34%;height:88%;align-self:flex-start;margin-left:-1.4rem;object-position:35% 60%;z-index:2;display:block}
.collage[data-p="1"] img:nth-child(4){flex-basis:26%;height:62%;align-self:flex-end;margin-left:-2.6rem;object-position:70% 50%;z-index:4;display:block}
.collage[data-p="2"] img:nth-child(1){flex-basis:46%;height:100%;align-self:flex-start;margin-left:0rem;object-position:30% 50%;z-index:3;display:block}
.collage[data-p="2"] img:nth-child(2){flex-basis:24%;height:60%;align-self:flex-start;margin-left:-1.6rem;object-position:50% 30%;z-index:5;display:block}
.collage[data-p="2"] img:nth-child(3){flex-basis:26%;height:60%;align-self:flex-end;margin-left:-1.2rem;object-position:60% 60%;z-index:2;display:block}
.collage[data-p="2"] img:nth-child(4){flex-basis:22%;height:40%;align-self:flex-end;margin-left:-2rem;object-position:40% 50%;z-index:4;display:block}
.collage[data-p="3"] img:nth-child(1){flex-basis:24%;height:55%;align-self:flex-end;margin-left:0rem;object-position:50% 50%;z-index:3;display:block}
.collage[data-p="3"] img:nth-child(2){flex-basis:26%;height:70%;align-self:flex-end;margin-left:-1.4rem;object-position:30% 40%;z-index:5;display:block}
.collage[data-p="3"] img:nth-child(3){flex-basis:28%;height:85%;align-self:flex-end;margin-left:-1.4rem;object-position:60% 50%;z-index:2;display:block}
.collage[data-p="3"] img:nth-child(4){flex-basis:30%;height:100%;align-self:flex-end;margin-left:-1.4rem;object-position:40% 40%;z-index:4;display:block}
.collage[data-p="4"] img:nth-child(1){flex-basis:30%;height:100%;align-self:flex-start;margin-left:0rem;object-position:50% 40%;z-index:3;display:block}
.collage[data-p="4"] img:nth-child(2){flex-basis:28%;height:85%;align-self:flex-start;margin-left:-1.4rem;object-position:20% 50%;z-index:5;display:block}
.collage[data-p="4"] img:nth-child(3){flex-basis:26%;height:70%;align-self:flex-start;margin-left:-1.4rem;object-position:70% 50%;z-index:2;display:block}
.collage[data-p="4"] img:nth-child(4){flex-basis:24%;height:55%;align-self:flex-start;margin-left:-1.4rem;object-position:50% 60%;z-index:4;display:block}
.collage[data-p="5"] img:nth-child(1){flex-basis:22%;height:70%;align-self:flex-end;margin-left:0rem;object-position:40% 50%;z-index:3;display:block}
.collage[data-p="5"] img:nth-child(2){flex-basis:44%;height:100%;align-self:flex-start;margin-left:-1.8rem;object-position:50% 50%;z-index:5;display:block}
.collage[data-p="5"] img:nth-child(3){flex-basis:24%;height:80%;align-self:flex-end;margin-left:-2rem;object-position:30% 50%;z-index:2;display:block}
.collage[data-p="5"] img:nth-child(4){flex-basis:18%;height:50%;align-self:flex-start;margin-left:-1.2rem;object-position:60% 40%;z-index:4;display:block}
.collage[data-p="6"] img:nth-child(1){flex-basis:40%;height:62%;align-self:flex-start;margin-left:0rem;object-position:20% 50%;z-index:3;display:block}
.collage[data-p="6"] img:nth-child(2){flex-basis:16%;height:100%;align-self:flex-end;margin-left:-1.2rem;object-position:50% 30%;z-index:5;display:block}
.collage[data-p="6"] img:nth-child(3){flex-basis:34%;height:70%;align-self:flex-start;margin-left:-1.6rem;object-position:70% 50%;z-index:2;display:block}
.collage[data-p="6"] img:nth-child(4){flex-basis:14%;height:88%;align-self:flex-end;margin-left:-1rem;object-position:40% 50%;z-index:4;display:block}
.collage[data-p="7"] img:nth-child(1){flex-basis:20%;height:55%;align-self:flex-start;margin-left:0rem;object-position:50% 50%;z-index:3;display:block}
.collage[data-p="7"] img:nth-child(2){flex-basis:40%;height:100%;align-self:flex-end;margin-left:-1.4rem;object-position:35% 50%;z-index:5;display:block}
.collage[data-p="7"] img:nth-child(3){flex-basis:22%;height:60%;align-self:flex-start;margin-left:-1.8rem;object-position:60% 40%;z-index:2;display:block}
.collage[data-p="7"] img:nth-child(4){flex-basis:24%;height:85%;align-self:flex-end;margin-left:-1.2rem;object-position:50% 60%;z-index:4;display:block}
.collage[data-p="8"] img:nth-child(1){flex-basis:30%;height:80%;align-self:flex-end;margin-left:0rem;object-position:45% 50%;z-index:3;display:block}
.collage[data-p="8"] img:nth-child(2){flex-basis:36%;height:56%;align-self:flex-start;margin-left:-1.6rem;object-position:60% 50%;z-index:5;display:block}
.collage[data-p="8"] img:nth-child(3){flex-basis:18%;height:100%;align-self:flex-end;margin-left:-1.2rem;object-position:30% 50%;z-index:2;display:block}
.collage[data-p="8"] img:nth-child(4){flex-basis:28%;height:70%;align-self:flex-start;margin-left:-1.4rem;object-position:70% 40%;z-index:4;display:block}
@media(max-width:700px){.collage[data-p] img{margin-left:-1rem!important}.collage[data-p] img:first-child{margin-left:0!important}.collage[data-p] img:nth-child(4){display:none}}

/* v11: bio as separate left/right annotations, scroll-linked change */
 aside.note{position:relative;width:min(21rem,92%);margin:2.8rem 0 2.8rem 0;padding:.2rem 0 .2rem 1.1rem;border-left:1px solid #cdbfae;transform:translateX(calc(var(--dx,0) * 1px))}
 aside.note.r{margin-left:auto;margin-right:0;padding:.2rem 1.1rem .2rem 0;border-left:0;border-right:1px solid #cdbfae;text-align:right}
 aside.note .nl{display:block;font:500 .66rem 'Playfair Display',serif;letter-spacing:.26em;text-transform:uppercase;color:#a39a8f;margin-bottom:.55rem}
 aside.note p{font:italic 400 1.02rem/1.75 'Lora',serif;color:#4a403b;margin:0}
 aside.note::after{content:"";position:absolute;top:0;width:1px;height:calc(var(--p,0) * 100%);background:#b5651d;opacity:.7}
 aside.note:not(.r)::after{left:-1px} aside.note.r::after{right:-1px}
 aside.note.rise{transform:translate(calc(var(--dx,0) * 1px),26px)} aside.note.rise.in{transform:translateX(calc(var(--dx,0) * 1px))}
h2.sec{position:relative;background:linear-gradient(#b5651d,#b5651d) left bottom/calc(var(--p,0) * 100%) 1px no-repeat;padding-bottom:.35rem}
.hero-photo img{filter:saturate(calc(.7 + var(--hp,0) * .3))}
.coverband .cover img{filter:grayscale(calc(1 - var(--cp,0))) contrast(1.02)}
body{background-image:linear-gradient(180deg,rgba(181,101,29,calc(var(--bt,0) * .05)),transparent 60%);background-attachment:fixed}
.proj summary .collage{transform:translateY(calc(var(--cs,0) * 6px))}
@media(max-width:900px){ aside.note, aside.note.r{width:auto;max-width:30rem;margin:1.8rem 0;transform:none} aside.note.r{margin-left:auto} aside.note.rise, aside.note.rise.in{transform:none}}
@media(prefers-reduced-motion:reduce){ aside.note{transform:none} aside.note::after{height:100%}h2.sec{background-size:100% 1px}}

/* v12: tight editorial mosaic (flush tiles, hairline gaps, full rectangle) */
.collage{display:grid!important;gap:4px;height:17rem;align-items:stretch;justify-content:stretch}
.collage img{width:100%!important;height:100%!important;margin:0!important;border:0!important;box-shadow:none!important;align-self:stretch!important;flex-basis:auto;display:block!important;object-fit:cover;z-index:auto!important}
.collage[data-n="1"]{grid-template-columns:1fr}
.collage[data-p="1"][data-n="2"]{grid-template-columns:2fr 1fr}
.collage[data-p="1"][data-n="3"]{grid-template-columns:3fr 2fr;grid-template-rows:1fr 1fr}.collage[data-p="1"][data-n="3"] img:nth-child(1){grid-row:1/3}
.collage[data-p="1"][data-n="4"]{grid-template-areas:"a a b c" "a a d d";grid-template-columns:1fr 1fr 1fr 1fr ;grid-template-rows:1fr 1fr}
.collage[data-p="1"][data-n="4"] img:nth-child(1){grid-area:a}
.collage[data-p="1"][data-n="4"] img:nth-child(2){grid-area:b}
.collage[data-p="1"][data-n="4"] img:nth-child(3){grid-area:c}
.collage[data-p="1"][data-n="4"] img:nth-child(4){grid-area:d}
.collage[data-p="2"][data-n="2"]{grid-template-columns:1fr 2fr}
.collage[data-p="2"][data-n="3"]{grid-template-columns:2fr 3fr;grid-template-rows:1fr 1fr}.collage[data-p="2"][data-n="3"] img:nth-child(1){grid-row:1/3;grid-column:2}.collage[data-p="2"][data-n="3"] img:nth-child(2){grid-column:1;grid-row:1}.collage[data-p="2"][data-n="3"] img:nth-child(3){grid-column:1;grid-row:2}
.collage[data-p="2"][data-n="4"]{grid-template-areas:"a b b c" "a d d d";grid-template-columns:1fr 1fr 1fr 1fr ;grid-template-rows:1fr 1fr}
.collage[data-p="2"][data-n="4"] img:nth-child(1){grid-area:a}
.collage[data-p="2"][data-n="4"] img:nth-child(2){grid-area:b}
.collage[data-p="2"][data-n="4"] img:nth-child(3){grid-area:c}
.collage[data-p="2"][data-n="4"] img:nth-child(4){grid-area:d}
.collage[data-p="3"][data-n="2"]{grid-template-columns:3fr 2fr}
.collage[data-p="3"][data-n="3"]{grid-template-columns:2fr 3fr;grid-template-rows:1fr 1fr}.collage[data-p="3"][data-n="3"] img:nth-child(1){grid-row:1/3}
.collage[data-p="3"][data-n="4"]{grid-template-areas:"a b b c" "d d b c";grid-template-columns:1fr 1fr 1fr 1fr ;grid-template-rows:1fr 1fr}
.collage[data-p="3"][data-n="4"] img:nth-child(1){grid-area:a}
.collage[data-p="3"][data-n="4"] img:nth-child(2){grid-area:b}
.collage[data-p="3"][data-n="4"] img:nth-child(3){grid-area:c}
.collage[data-p="3"][data-n="4"] img:nth-child(4){grid-area:d}
.collage[data-p="4"][data-n="2"]{grid-template-columns:1fr 1fr}
.collage[data-p="4"][data-n="3"]{grid-template-columns:3fr 2fr;grid-template-rows:1fr 1fr}.collage[data-p="4"][data-n="3"] img:nth-child(1){grid-row:1/3;grid-column:2}.collage[data-p="4"][data-n="3"] img:nth-child(2){grid-column:1;grid-row:1}.collage[data-p="4"][data-n="3"] img:nth-child(3){grid-column:1;grid-row:2}
.collage[data-p="4"][data-n="4"]{grid-template-areas:"a b b b" "a c c d";grid-template-columns:1fr 1fr 1fr 1fr ;grid-template-rows:1fr 1fr}
.collage[data-p="4"][data-n="4"] img:nth-child(1){grid-area:a}
.collage[data-p="4"][data-n="4"] img:nth-child(2){grid-area:b}
.collage[data-p="4"][data-n="4"] img:nth-child(3){grid-area:c}
.collage[data-p="4"][data-n="4"] img:nth-child(4){grid-area:d}
.collage[data-p="5"][data-n="2"]{grid-template-columns:2fr 3fr}
.collage[data-p="5"][data-n="3"]{grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr}.collage[data-p="5"][data-n="3"] img:nth-child(1){grid-row:1/3}
.collage[data-p="5"][data-n="4"]{grid-template-areas:"a a b c" "d d b c";grid-template-columns:1fr 1fr 1fr 1fr ;grid-template-rows:1fr 1fr}
.collage[data-p="5"][data-n="4"] img:nth-child(1){grid-area:a}
.collage[data-p="5"][data-n="4"] img:nth-child(2){grid-area:b}
.collage[data-p="5"][data-n="4"] img:nth-child(3){grid-area:c}
.collage[data-p="5"][data-n="4"] img:nth-child(4){grid-area:d}
.collage[data-p="6"][data-n="2"]{grid-template-columns:3fr 1fr}
.collage[data-p="6"][data-n="3"]{grid-template-columns:2fr 3fr;grid-template-rows:1fr 1fr}.collage[data-p="6"][data-n="3"] img:nth-child(1){grid-row:1/3;grid-column:2}.collage[data-p="6"][data-n="3"] img:nth-child(2){grid-column:1;grid-row:1}.collage[data-p="6"][data-n="3"] img:nth-child(3){grid-column:1;grid-row:2}
.collage[data-p="6"][data-n="4"]{grid-template-areas:"a b c d" "a b c d";grid-template-columns:1fr 1fr 1fr 1fr ;grid-template-rows:1fr 1fr}
.collage[data-p="6"][data-n="4"] img:nth-child(1){grid-area:a}
.collage[data-p="6"][data-n="4"] img:nth-child(2){grid-area:b}
.collage[data-p="6"][data-n="4"] img:nth-child(3){grid-area:c}
.collage[data-p="6"][data-n="4"] img:nth-child(4){grid-area:d}
.collage[data-p="7"][data-n="2"]{grid-template-columns:1fr 3fr}
.collage[data-p="7"][data-n="3"]{grid-template-columns:3fr 2fr;grid-template-rows:1fr 1fr}.collage[data-p="7"][data-n="3"] img:nth-child(1){grid-row:1/3}
.collage[data-p="7"][data-n="4"]{grid-template-areas:"a a a b" "c d d b";grid-template-columns:1fr 1fr 1fr 1fr ;grid-template-rows:1fr 1fr}
.collage[data-p="7"][data-n="4"] img:nth-child(1){grid-area:a}
.collage[data-p="7"][data-n="4"] img:nth-child(2){grid-area:b}
.collage[data-p="7"][data-n="4"] img:nth-child(3){grid-area:c}
.collage[data-p="7"][data-n="4"] img:nth-child(4){grid-area:d}
.collage[data-p="8"][data-n="2"]{grid-template-columns:5fr 3fr}
.collage[data-p="8"][data-n="3"]{grid-template-columns:1fr 2fr;grid-template-rows:1fr 1fr}.collage[data-p="8"][data-n="3"] img:nth-child(1){grid-row:1/3;grid-column:2}.collage[data-p="8"][data-n="3"] img:nth-child(2){grid-column:1;grid-row:1}.collage[data-p="8"][data-n="3"] img:nth-child(3){grid-column:1;grid-row:2}
.collage[data-p="8"][data-n="4"]{grid-template-areas:"a b b c" "a b b d";grid-template-columns:1fr 1fr 1fr 1fr ;grid-template-rows:1fr 1fr}
.collage[data-p="8"][data-n="4"] img:nth-child(1){grid-area:a}
.collage[data-p="8"][data-n="4"] img:nth-child(2){grid-area:b}
.collage[data-p="8"][data-n="4"] img:nth-child(3){grid-area:c}
.collage[data-p="8"][data-n="4"] img:nth-child(4){grid-area:d}
@media(max-width:700px){.collage{height:11rem}}
.proj summary:hover .collage img:nth-child(odd),.proj summary:hover .collage img:nth-child(even){transform:scale(1.02)}
.collage img{overflow:hidden}

/* v13: nothing moves on hover (Kwani) - colour/brightness only */
.proj summary:hover .collage img,.proj summary:hover .collage img:nth-child(odd),.proj summary:hover .collage img:nth-child(even),.proj summary:hover .collage img:hover,.proj summary:hover .collage img:first-child{transform:none!important;margin:0!important;flex-grow:0!important}
.proj summary:hover .t{letter-spacing:inherit!important}
.proj summary:hover,.proj summary:hover .collage,.proj summary:hover .pm{transform:none!important}

/* v14: hero bio in short paragraphs */
.hero .intro{margin:0 0 .9rem}.hero-text{padding-top:0}

/* v15: bullets for project summaries; hover keeps title spacing identical (inherit caused a shift) */
.proj .body ul.pts{margin:1rem 0 1.2rem;padding-left:1.2rem;list-style:disc;font:400 1.02rem/1.85 'Lora',serif;color:#3a312e}
.proj .body ul.pts li{padding-left:.2rem}.proj .body ul.pts li::marker{color:#b5651d}
.proj summary:hover .t{letter-spacing:.01em!important}
@media(min-width:701px){.proj .body ul.pts{columns:2;column-gap:2.4rem}.proj .body ul.pts li{break-inside:avoid}}

/* v16: drafting/sketches + architectural photos scattered between the annotations */
.scatter{position:relative;width:min(46rem,100%);margin:2.4rem 0}
.scatter.r{margin-left:auto}
.scatter .nl{display:block;font:500 .66rem 'Playfair Display',serif;letter-spacing:.26em;text-transform:uppercase;color:#a39a8f;margin-bottom:.7rem}
.scatter.r .nl{text-align:right}
.scatter figure img{width:100%;display:block;height:auto}
.scatter .grid3{gap:4px}
.scatter figcaption{text-align:left}.scatter.r figcaption{text-align:right}
.scatter figure.narrow{max-width:22rem}.scatter.r figure.narrow{margin-left:auto}
@media(max-width:900px){.scatter,.scatter.r{width:auto;margin-left:0}}

/* v17: less negative space - notes pair with a drafting-tile texture, tighter rhythm */
aside.note{width:100%;display:grid;grid-template-columns:minmax(0,21rem) minmax(0,1fr);gap:1.4rem;align-items:stretch;margin:1.4rem 0}
aside.note.r{grid-template-columns:minmax(0,1fr) minmax(0,21rem)}
aside.note>.nl,aside.note>p{grid-column:1}aside.note.r>.nl,aside.note.r>p{grid-column:2}
aside.note>.nl{margin-bottom:0}
aside.note::before{content:"";grid-column:2;grid-row:1/span 2;min-height:6rem;background:
 linear-gradient(rgba(181,101,29,.10) 1px,transparent 1px) 0 0/22px 22px,
 linear-gradient(90deg,rgba(181,101,29,.10) 1px,transparent 1px) 0 0/22px 22px,
 repeating-linear-gradient(45deg,rgba(205,191,174,.28) 0 2px,transparent 2px 11px),#efe8dc;
 background-position:calc(var(--p,0) * 44px) calc(var(--p,0) * 22px),0 0,0 0;opacity:.85}
aside.note.r::before{grid-column:1}
aside.note.r{text-align:right}
.scatter,.scatter.r{width:100%;margin:1.2rem 0}
h2.sec{margin-top:1.8rem}
.proj{margin-bottom:0}
@media(max-width:900px){aside.note,aside.note.r{display:block;margin:1.2rem 0}aside.note::before{display:block;height:2.4rem;min-height:0;margin-top:.8rem}}

/* v18: reveals are quick so text is readable while scrolling */
.rise{filter:none;transition:opacity .4s ease-out,transform .4s ease-out}
.rise.in{filter:none}
.hero-text>.rise:nth-child(n){transition-delay:0s}
.collage img{filter:none;transition:opacity .4s ease-out}
.proj.in .collage img,.proj.in .collage img:nth-child(n){transition-delay:0s;filter:none}
.proj[open] .body{animation-duration:.35s}
@keyframes bodyin{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}

/* v19: pictures fill the space beside each note (tumblr-style flush mosaic, no blank tiles) */
aside.note::before{display:none}
aside.note .fill{grid-column:2;grid-row:1/span 2;display:grid;grid-template-columns:1.3fr 1fr;grid-template-rows:1fr 1fr;gap:4px;min-height:15rem;overflow:hidden}
aside.note.r .fill{grid-column:1;grid-template-columns:1fr 1.3fr}
aside.note .fill img{width:100%;height:100%;object-fit:cover;display:block;min-height:0}
aside.note .fill img:first-child{grid-row:1/3}
aside.note.r .fill img:first-child{grid-column:2}
aside.note.r .fill img:nth-child(2){grid-column:1;grid-row:1}aside.note.r .fill img:nth-child(3){grid-column:1;grid-row:2}
aside.note>.nl,aside.note>p{align-self:start}
@media(max-width:900px){aside.note .fill{min-height:11rem;margin-top:.9rem}}

/* v20: tall picture always on the left, two stacked on the right; scatter groups are flush mosaics too */
aside.note .fill,aside.note.r .fill{grid-template-columns:1.3fr 1fr}
aside.note.r .fill img:first-child{grid-column:1}
aside.note.r .fill img:nth-child(2){grid-column:2;grid-row:1}aside.note.r .fill img:nth-child(3){grid-column:2;grid-row:2}
.scatter .grid3{grid-template-columns:1.15fr 1fr;grid-template-rows:1fr 1fr;gap:4px;height:34rem}
.scatter .grid3 figure{position:relative;overflow:hidden;min-height:0}
.scatter .grid3 figure img{width:100%;height:100%;object-fit:cover}
.scatter .grid3 figure:nth-child(1){grid-column:1;grid-row:1/3}
.scatter .grid3 figure:nth-child(2){grid-column:2;grid-row:1}.scatter .grid3 figure:nth-child(3){grid-column:2;grid-row:2}
#drafting .grid3 figure:nth-child(2){grid-column:1;grid-row:1/3}
#drafting .grid3 figure:nth-child(1){grid-column:2;grid-row:1}#drafting .grid3 figure:nth-child(3){grid-column:2;grid-row:2}
.scatter .grid3 figcaption{position:absolute;left:0;right:0;bottom:0;margin:0;padding:1.6rem .8rem .5rem;text-align:left;color:#fff;background:linear-gradient(transparent,rgba(40,28,22,.55))}
@media(max-width:700px){.scatter .grid3{height:auto;grid-template-columns:1fr;grid-template-rows:none}.scatter .grid3 figure,#drafting .grid3 figure:nth-child(n){grid-column:1;grid-row:auto;height:15rem}}

/* v21: no picture repeats - drafting + photos live in the note mosaics */
aside.note .fill:has(img:only-child),aside.note.r .fill:has(img:only-child){grid-template-columns:1fr}
aside.note .fill img:only-child{grid-row:1/3;grid-column:1}
aside.note .fill img:first-child:nth-last-child(2){grid-row:1/3}
aside.note .fill img:nth-child(2):last-child,aside.note.r .fill img:nth-child(2):last-child{grid-column:2;grid-row:1/3}

/* v22: content fills the screen to the right edge */
@media(min-width:901px){.masthead,.hero,.coverband .cover,main{max-width:none;margin-right:clamp(1.25rem,3vw,3.5rem);padding-right:0}.masthead,.hero,.coverband .cover,main{margin-left:19rem}}
@media(min-width:901px) and (max-width:1280px){.masthead,.hero,.coverband .cover,main{margin-left:16.5rem}}

/* v23: summary hover changes colour only - no filter, no transform, no transition on the picture */
.proj summary:hover .collage img,.proj summary .collage img:hover{filter:none!important;transform:none!important;transition:none!important;transition-delay:0s!important}
.proj summary:hover .collage{opacity:1!important}
.proj summary{transition:none}

/* v24: name + contact live in the side panel above the contents, panel centred vertically; right buffer */
@media(min-width:901px){
.side{display:flex;flex-direction:column;justify-content:center;top:0;bottom:0;padding:1.5rem 0;overflow-y:auto;overflow-x:visible}
.side-id{margin-bottom:1.8rem;padding-bottom:1.2rem;border-bottom:1px solid var(--brown)}
.side-name2{display:block;font:400 1.55rem/1.05 'Playfair Display',serif;letter-spacing:.06em;text-transform:uppercase;color:var(--brown);text-decoration:none}
.side-role{display:block;margin:.45rem 0 1rem;font:500 .62rem 'Playfair Display',serif;letter-spacing:.26em;text-transform:uppercase;color:#a39a8f}
.side-contact{margin:0;border:0}
.side-contact div{display:block;padding:.3rem 0;border:0}
.side-contact dt{display:none}
.side-contact dd{font-size:.82rem;line-height:1.35}
.side-contact .sc{font-size:.86rem;letter-spacing:.04em}
.side-contact .hrs{display:block;font-size:.76rem;white-space:normal}
.masthead,.hero,.coverband .cover,main{margin-right:4rem}
.hero{margin-top:2.2rem}
}
@media(max-width:900px){.side-id{display:none}.side.open .side-id{display:block;width:100%;margin-top:.9rem}.side-name2{display:none}.side-role{display:none}.side.open .side-contact div{display:block;padding:.3rem 0;border:0}.side.open .side-contact dt{display:none}}

/* v25: name+contact start in the page, move to the side panel on scroll; back-to-top; right buffer = left panel width */
@media(min-width:901px){
.side-id{max-height:0;opacity:0;overflow:hidden;margin-bottom:0;padding-bottom:0;border-bottom-color:transparent;transition:max-height .45s ease,opacity .35s ease,margin .45s ease,padding .45s ease}
body.scrolled .side-id{max-height:14rem;opacity:1;margin-bottom:1.8rem;padding-bottom:1.2rem;border-bottom-color:var(--brown)}
.masthead,.hero,.coverband .cover,main{margin-right:19rem}
.to-top{position:absolute;left:0;bottom:1.4rem;display:inline-flex;align-items:center;justify-content:center;width:2.4rem;height:2.4rem;border:1px solid var(--brown);border-radius:50%;color:var(--brown);background:transparent;transition:background .3s,color .3s}
.to-top:hover{background:var(--brown);color:#fff;border-bottom-color:var(--brown)}
}
@media(min-width:901px) and (max-width:1280px){.masthead,.hero,.coverband .cover,main{margin-right:16.5rem}}
@media(max-width:900px){.to-top{display:none}.side.open .side-id{display:block}}

/* v26: gentle emphasis in the about copy */
.intro strong,aside.note strong{font-weight:600;color:var(--brown)}
.intro em,aside.note p em{font-style:italic;color:#7a4a28}
aside.note p em{font-style:normal;letter-spacing:.01em}
.hl{background:linear-gradient(rgba(181,101,29,.28),rgba(181,101,29,.28)) 0 100%/0% 2px no-repeat;transition:background-size 1.2s ease .5s}
.rise.in .hl{background-size:100% 2px}
@media(prefers-reduced-motion:reduce){.hl{background-size:100% 2px;transition:none}}

/* v27: masthead rule and contact lines stop at the bio column instead of running to the far right */
@media(min-width:901px){.masthead,.hero{max-width:68rem}.hero .contact{max-width:40rem}}

/* v28: whole contact value is the link; bigger in the side panel */
.contact dd a{display:inline-block;padding:.15rem 0;cursor:pointer}
.contact dd a .hrs{color:inherit;opacity:.7}
@media(min-width:901px){
.side-contact dd{font-size:1.05rem;line-height:1.4}
.side-contact .sc{font-size:1.12rem}
.side-contact .hrs{font-size:.9rem}
.side-contact div{padding:.4rem 0}
.side-name2{font-size:1.75rem}
}

/* v29: undo the hero/masthead cap (it squeezed the whole top); only the contact bars match the bio text width */
@media(min-width:901px){.masthead,.hero{max-width:none}.hero .contact{max-width:min(40rem,100%)}}

/* v30: underline sweep is rare and fainter */
.hl{background-image:linear-gradient(rgba(181,101,29,.18),rgba(181,101,29,.18))}

/* v31: sidebar name never clipped */
@media(min-width:901px){.side-name2{font-size:1.45rem;max-width:100%;overflow-wrap:break-word}.side-contact dd,.side-contact a{overflow-wrap:anywhere}.side-contact .sc{font-size:1rem;letter-spacing:.02em}}
@media(min-width:901px) and (max-width:1280px){.side-name2{font-size:1.25rem}.side-contact .sc{font-size:.92rem}}

/* v32 mobile: flush grid tiles, undo legacy flex overlaps/offsets */
@media(max-width:700px){.collage[data-p] img,.collage[data-p] img:nth-child(n){margin:0!important;flex-basis:auto!important;width:100%!important;height:100%!important;min-width:0;align-self:stretch!important;object-fit:cover;display:block!important;transform:none!important}.collage{width:100%;justify-content:stretch}}
.collage[data-p="3"][data-n="4"]{grid-template-areas:"a b b c" "d b b c"}

/* v33 perf: no animated full-screen blur, no scroll-linked filters, GPU layers for sticky/progress */
body::before{animation:none!important;filter:none!important;inset:0!important}
.hero-photo img{filter:none!important}
.coverband .cover img{filter:grayscale(.15) contrast(1.02)!important}
.side{will-change:transform;contain:layout paint}
.progress i{will-change:transform}
.proj summary .collage{transform:none!important}
.proj,.scatter figure,aside.note{content-visibility:auto;contain-intrinsic-size:auto 22rem}

/* v34 mobile: collages run edge to edge of the text column (cancel summary right padding) */
@media(max-width:700px){.proj summary .collage{margin-right:-2.8rem;width:calc(100% + 2.8rem)}}

/* v35 single-slide collages show the whole slide, uncropped */
.collage[data-n="1"]{height:auto!important;align-self:center}
.collage[data-n="1"] img,.collage[data-n="1"] img:nth-child(n){height:auto!important;aspect-ratio:auto;object-fit:contain}
