/* Abraham John Architects – v3. Classic, quiet, image-led. */
:root{
  --bg:#fafafa; --ink:#1b1b1b; --muted:#696969; --soft:#ececec;
  --font:"Jost",Futura,"Century Gothic","Avenir Next",ui-sans-serif,system-ui,sans-serif;
  --m:clamp(18px,3vw,48px);
  --ease:cubic-bezier(.22,.61,.36,1);
  --t-small:12px; --t-body:clamp(.9375rem,.92rem + .1vw,1rem); --t-lead:clamp(1.0625rem,1rem + .3vw,1.25rem); --t-title:clamp(1.5rem,1.2rem + 1.2vw,2.25rem);
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font:300 var(--t-body)/1.65 var(--font);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
img,video,iframe{display:block;max-width:100%}
img,video{height:auto}
a{color:inherit;text-decoration:none}
p{margin:0}
h1,h2,h3{font-weight:400;margin:0;line-height:1.15}
button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}
:focus-visible{outline:1px solid currentColor;outline-offset:4px}
::selection{background:var(--ink);color:var(--bg)}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.caps{text-transform:uppercase;letter-spacing:.14em;font-size:var(--t-small);font-weight:400}

/* header */
.top{position:fixed;inset:0 0 auto 0;z-index:20;display:flex;justify-content:space-between;align-items:center;padding:6px var(--m);transition:background-color .5s var(--ease),color .5s var(--ease)}
.top.solid{background:rgba(251,250,248,.94)}
.brand{display:flex;align-items:center;gap:14px}
.brand svg{width:32px;height:32px;flex:none}
.brand span{text-transform:uppercase;letter-spacing:.16em;font-size:12px;font-weight:400}
.menu{display:flex;gap:clamp(18px,3vw,40px);align-items:center}
.menu a{white-space:nowrap;text-transform:uppercase;letter-spacing:.16em;font-size:12px;position:relative;padding:4px 0}
.menu a::after{content:"";position:absolute;left:0;right:100%;bottom:-2px;height:1px;background:currentColor;transition:right .45s var(--ease)}
.menu a:hover::after,.menu a[aria-current=page]::after{right:0}
.menu .ig svg{width:17px;height:17px;display:block}
.menu .ig::after{display:none}
.on-image{color:#fff}
@media (max-width:760px){.menu .long{display:none}.brand svg{width:28px;height:28px}.brand span{display:none}.menu{gap:14px}.menu a{font-size:11.5px;letter-spacing:.08em}.top{padding:6px var(--m)}}

/* splash */
.splash{position:fixed;inset:0;z-index:60;background:var(--bg);display:grid;place-items:center;transition:opacity .6s var(--ease),visibility 0s linear .6s}
.splash .in{display:grid;justify-items:center;gap:20px}
.splash svg{width:clamp(70px,8vw,104px);height:auto;opacity:0;animation:fadeup .7s var(--ease) .05s forwards}
.splash span{text-transform:uppercase;letter-spacing:.2em;font-size:12px;opacity:0;animation:fadeup .7s var(--ease) .25s forwards}
.splash.out{opacity:0;visibility:hidden}
.no-splash .splash,html:not(.js) .splash{display:none}
@keyframes fadeup{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}

/* home slideshow */
.show{position:fixed;inset:0;background:#111;overflow:hidden}
.show figure{position:absolute;inset:0;margin:0;opacity:0;transition:opacity 1.6s var(--ease)}
.show figure.on{opacity:1}
.show img{width:100%;height:100%;object-fit:cover;transform:scale(1.001);transition:transform 10s linear}
.show figure.on img{transform:scale(1.09)}
.show figure.o1 img{transform-origin:20% 50%}.show figure.o2 img{transform-origin:80% 40%}
.show::before,.show::after{content:"";position:absolute;left:0;right:0;pointer-events:none;z-index:1}
.show::before{top:0;height:150px;background:linear-gradient(rgba(0,0,0,.42),rgba(0,0,0,0))}.show::after{bottom:0;height:55%;background:linear-gradient(rgba(0,0,0,0),rgba(0,0,0,.5))}
.show .cap{position:absolute;left:var(--m);bottom:30px;z-index:3;color:#fff;display:flex;gap:18px;align-items:baseline}
.show .cap a{text-transform:uppercase;letter-spacing:.16em;font-size:12px}
.show .cap span{font-size:14px;opacity:.85}
.show .nav{position:absolute;right:var(--m);bottom:26px;z-index:3;display:flex;gap:6px;align-items:center}
.show .nav button{width:30px;height:30px;display:grid;place-items:center;color:#fff;opacity:.8;transition:opacity .3s}
.show .nav button:hover{opacity:1}
.show .nav svg{width:16px;height:16px}
.show .hit{position:absolute;top:0;bottom:0;width:30%;z-index:2}
.show .hit.l{left:0;cursor:w-resize}.show .hit.r{right:0;cursor:e-resize}
.show .hello{position:absolute;left:var(--m);bottom:84px;z-index:3;color:#fff;max-width:min(560px,80vw)}
.show .hello h1{font-size:clamp(1.125rem,.95rem + .8vw,1.625rem);font-weight:300;line-height:1.35}
.show .hello p{margin-top:10px;font-size:14px;opacity:.9}
.show .hello a{border-bottom:1px solid rgba(255,255,255,.6);padding-bottom:1px}
.show::after{height:260px;background:linear-gradient(transparent,rgba(0,0,0,.42))}
@media (max-width:640px){.show .hello{bottom:72px}.show .hello .long{display:none}.show .hello h1{font-size:1rem}.show .hello p{font-size:12.5px}.show .cap span{display:none}}

/* page frame */
main.page{padding:72px var(--m) 0}
.pagehead{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;flex-wrap:wrap;margin-bottom:32px}
h1{font-size:var(--t-title);letter-spacing:-.01em}
.page h2{text-transform:uppercase;letter-spacing:.14em;font-size:12px;font-weight:400;color:var(--muted)}

/* filters: one choice at a time */
.filters{display:flex;flex-wrap:wrap;gap:6px 20px;justify-content:flex-end;align-items:center;max-width:820px}
.filters button{text-transform:uppercase;letter-spacing:.13em;font-size:12px;color:var(--muted);padding:4px 0;position:relative;transition:color .3s}
.filters button:hover,.filters button[aria-pressed=true]{color:var(--ink)}
.filters button::after{content:"";position:absolute;left:0;right:100%;bottom:0;height:1px;background:currentColor;transition:right .4s var(--ease)}
.filters button[aria-pressed=true]::after{right:0}
.filters .sep{width:1px;height:14px;background:#cfcfcf}
.none{color:var(--muted);padding:40px 0}
@media (max-width:760px){.filters{justify-content:flex-start}.filters .sep{flex-basis:100%;height:0;background:none}}

/* projects grid */
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(10px,1.4vw,20px)}
.tile{position:relative;display:block;overflow:hidden;background:var(--soft);aspect-ratio:4/3}
.tile img{width:100%;height:100%;object-fit:cover;filter:none;opacity:1;transition:filter .7s var(--ease),opacity .7s var(--ease),transform 1.2s var(--ease)}
.tile .lab{position:absolute;left:0;right:0;bottom:0;padding:16px 18px;color:#fff;background:linear-gradient(transparent,rgba(0,0,0,.45));opacity:0;transform:translateY(8px);transition:opacity .5s var(--ease),transform .5s var(--ease)}
.tile .lab b{display:block;font-weight:400;text-transform:uppercase;letter-spacing:.13em;font-size:12px}
.tile .lab span{font-size:13px;opacity:.9}
.tile:hover img,.tile:focus-visible img,.tile.lit img{filter:none;opacity:1}
.tile:hover img,.tile:focus-visible img{transform:scale(1.07)}
.tile:hover .lab,.tile:focus-visible .lab,.tile.lit .lab{opacity:1;transform:none}
.tile[hidden]{display:none}
.tile.fade{animation:tilein .6s var(--ease) both}
@keyframes tilein{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}

@media (max-width:1000px){.grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:560px){.grid{grid-template-columns:1fr}}

/* project page: text left, pictures right; on phones title, first pictures, text, rest */
.proj{display:grid;grid-template-columns:minmax(260px,1fr) 2.1fr;grid-template-areas:"left pa" "left pb";gap:0 clamp(28px,4vw,64px);align-items:start}
.left{grid-area:left;align-self:start}
.left.stick{position:sticky;top:60px;max-height:calc(100vh - 80px);overflow-y:auto;scrollbar-width:thin;padding-right:6px}
.pa{grid-area:pa}.pb{grid-area:pb}
.ph h1{font-size:var(--t-title)}
.ph .where{margin-top:6px;color:var(--muted);font-size:14px}
.ph .lead{margin-top:22px;font-size:var(--t-lead);line-height:1.5}
.det dl{margin:26px 0 0;display:grid;grid-template-columns:auto 1fr;gap:8px 20px;font-size:13.5px;line-height:1.5}
.det dt{text-transform:uppercase;letter-spacing:.12em;font-size:11.5px;color:var(--muted);padding-top:2px}
.det dd{margin:0}
.det .text{margin-top:24px;display:grid;gap:.9em;font-size:15px;line-height:1.65;max-width:62ch}
.det .more{margin-top:24px;display:flex;gap:18px;flex-wrap:wrap}
.det .more a{text-transform:uppercase;letter-spacing:.13em;font-size:12px;border-bottom:1px solid currentColor;padding-bottom:2px}
.pa,.pb{display:grid;gap:clamp(10px,1.2vw,16px)}
.pb{margin-top:clamp(10px,1.2vw,16px)}
.pa figure,.pb figure{margin:0;background:var(--soft);overflow:hidden}
.g-full{display:flex;justify-content:center;background:none!important}
.g-full img,.g-full video{width:auto;max-width:100%;max-height:calc(100vh - 140px);max-height:calc(100svh - 140px);object-fit:contain}
.hero img{animation:drift 14s var(--ease) both}
@keyframes drift{from{transform:scale(1.06) translateX(1.2%)}to{transform:none}}
.g-pair{display:grid;grid-template-columns:1fr 1fr;gap:clamp(10px,1.2vw,16px);align-items:start}
.g-st{display:flex;flex-direction:column;gap:clamp(14px,2vw,28px)}
.g-st figure{width:68%;background:none!important}
.g-st figure:nth-child(even){align-self:flex-end}
.g-st figure:nth-child(3n){width:82%;align-self:center}
.pa img,.pb img{width:100%;transition:transform 1s var(--ease)}
.g-full img{width:auto}
.g-pair figure:hover img,.g-st figure:hover img{transform:scale(1.04)}
.pa img,.pb img{max-height:calc(100vh - 140px);max-height:calc(100svh - 140px);object-fit:contain}
.fadein{opacity:0;transition:opacity .9s var(--ease),transform 1s var(--ease)}
.fadein.ok{opacity:1}
.pnav{display:flex;justify-content:space-between;gap:16px;margin-top:clamp(40px,5vw,72px);padding-top:24px;border-top:1px solid var(--soft)}
.pnav a{text-transform:uppercase;letter-spacing:.13em;font-size:12px;transition:color .3s}
.pnav a:hover{color:var(--muted)}
@media (max-width:900px){
  .proj{grid-template-columns:1fr;grid-template-areas:"ph" "pa" "det" "pb"}
  .left{display:contents}.ph{grid-area:ph;margin-bottom:22px}.det{grid-area:det;margin:6px 0 28px}
  .pa{margin:0 calc(-1*var(--m))}.pa .g-pair{padding:0 var(--m)}
  .g-st figure{width:84%}.g-st figure:nth-child(3n){width:100%}
  .pnav{font-size:11px}.pnav a{font-size:11px;letter-spacing:.08em}
}

/* image strips: same collage as project pages, never cropped */
.strip{display:grid;gap:clamp(10px,1.2vw,16px);margin:clamp(36px,5vw,72px) 0}
.strip figure{margin:0;overflow:hidden;background:var(--soft)}
.strip>figure{display:flex;justify-content:center;background:none}
.strip img{width:100%;max-height:calc(100vh - 120px);max-height:calc(100svh - 120px);object-fit:contain;transition:transform 1.2s var(--ease)}
.strip>figure img{width:auto;max-width:100%}
.strip .g-pair figure:hover img{transform:scale(1.04)}
.show .hello .ph-cr{font-size:12px;opacity:.75;margin-top:4px}
/* about and awards */
.about,.rec{max-width:1100px}
.about .intro{margin-top:28px;max-width:46ch}
.about .intro p{font-size:var(--t-lead);line-height:1.5}
.about .intro .sub{margin-top:.8em;color:#4a4a4a;font-size:var(--t-body)}
.cols{display:grid;grid-template-columns:200px 1fr;gap:16px 40px;padding:28px 0;border-top:1px solid var(--soft)}
.cols:first-of-type{margin-top:28px}
.cols ul{margin:0;padding:0;list-style:none}
.principles{display:grid;grid-template-columns:1fr 1fr;gap:14px 40px}
.principles b,.people b{font-weight:400}
.people{display:grid;grid-template-columns:repeat(3,1fr);gap:14px 28px}
.people span{display:block;color:var(--muted);font-size:14px}
.bg p{max-width:60ch}
.bg .links{margin-top:14px;display:flex;gap:20px;flex-wrap:wrap}
.bg .links a,.next a{text-transform:uppercase;letter-spacing:.13em;font-size:12px;border-bottom:1px solid currentColor;padding-bottom:2px}
.next{margin-top:8px}
.years{display:grid;gap:12px}
.years .y{display:grid;grid-template-columns:80px 1fr;gap:16px;font-size:15px;line-height:1.55}
.years .y b{font-weight:400;color:var(--muted);white-space:nowrap}
.press{display:flex;flex-wrap:wrap;gap:4px 22px;font-size:15px}
@media (max-width:760px){
  .cols{grid-template-columns:1fr;gap:12px;padding:22px 0}
  .principles,.people{grid-template-columns:1fr;gap:10px}
  .years{gap:10px}.years .y{grid-template-columns:68px 1fr;gap:10px;font-size:14px;line-height:1.45}
  .press{font-size:14px;gap:2px 16px}
}

/* contact */
.contact{display:grid;grid-template-columns:1fr 1.3fr;gap:clamp(28px,4vw,64px)}
.blocks{display:grid;gap:28px;margin-top:32px}
.blocks h2{margin-bottom:6px}
.blocks p{font-size:var(--t-lead);line-height:1.5}
.blocks a{border-bottom:1px solid transparent;transition:border-color .3s}
.blocks a:hover{border-color:currentColor}
.mapbox{position:relative;aspect-ratio:4/3.2;background:#e9e9e7;overflow:hidden}
.mapcard{position:absolute;inset:0;display:grid;place-content:center;justify-items:center;gap:8px;text-align:center;
  background:repeating-linear-gradient(0deg,transparent 0 47px,#dcdcda 47px 48px),repeating-linear-gradient(90deg,transparent 0 47px,#dcdcda 47px 48px)}
.mapcard span{font-size:15px}.mapcard b{font-weight:400;text-transform:uppercase;letter-spacing:.13em;font-size:12px;border-bottom:1px solid currentColor}
.map{position:absolute;inset:0;width:100%;height:100%;border:0;filter:grayscale(1) contrast(.95)}
.maplink{margin-top:10px;text-transform:uppercase;letter-spacing:.13em;font-size:12px}
@media (max-width:900px){.contact{grid-template-columns:1fr}}

/* footer */
.foot{display:flex;justify-content:space-between;gap:12px 20px;flex-wrap:wrap;padding:24px var(--m) 24px;margin-top:clamp(28px,4vw,56px);font-size:12px;color:var(--muted)}
.foot a:hover{color:var(--ink)}

/* entrances */
.js .rv{opacity:0;transform:translateY(16px);transition:opacity .9s var(--ease),transform .9s var(--ease)}
.js .rv.in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){
  .js .rv,.fadein{opacity:1!important;transform:none!important;transition:none}
  .show figure,.show img{transition:none!important}.show figure.on img{transform:none}
  .hero img{animation:none}
  .splash svg,.splash span{animation:none;opacity:1}
}

/* phones: compact project index */
@media (max-width:760px){
  .pagehead{margin-bottom:16px;gap:10px}
  .filters{flex-wrap:nowrap;overflow-x:auto;max-width:none;width:calc(100% + 2*var(--m));margin:0 calc(-1*var(--m));padding:2px var(--m) 6px;scrollbar-width:none;gap:18px}
  .filters::-webkit-scrollbar{display:none}
  .filters button{white-space:nowrap;flex:none}
  .filters .sep{flex:none;flex-basis:auto;width:1px;height:14px;background:#cfcfcf}
  .grid{grid-template-columns:1fr;gap:10px}
}
/* about */
.about2 .ahead{display:grid;grid-template-columns:1fr 2fr;gap:20px clamp(28px,4vw,64px);align-items:end;margin-bottom:clamp(24px,3vw,40px)}
.about2 .state{font-size:clamp(1.25rem,1rem + 1vw,1.875rem);line-height:1.3;max-width:28ch}
.banner{margin:0 calc(-1*var(--m));overflow:hidden}
.banner img{width:100%;height:min(72vh,56vw);object-fit:cover}
.split{display:grid;grid-template-columns:1.25fr 1fr;gap:clamp(24px,4vw,72px);align-items:center;margin-top:clamp(48px,7vw,110px)}
.split.flip figure{order:2}
.split figure{margin:0;overflow:hidden}
.split img{width:100%;max-height:calc(100vh - 120px);object-fit:contain;transition:transform 1.4s var(--ease)}
.split figure:hover img{transform:scale(1.04)}
.split h2{margin-bottom:12px}
.split .big{font-size:var(--t-lead);line-height:1.4;margin-bottom:10px;max-width:24ch}
.split p{max-width:40ch;color:#4a4a4a}
.split a{border-bottom:1px solid currentColor}
.princ{margin-top:clamp(56px,7vw,110px);padding-top:28px;border-top:1px solid var(--soft)}
.princ h2{margin-bottom:16px}
.princ ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:14px 28px}
.princ b{font-weight:400;display:block}.princ span{color:var(--muted);font-size:14px}
.princ .next{margin-top:28px;display:flex;gap:24px}
.princ .next a{text-transform:uppercase;letter-spacing:.13em;font-size:12px;border-bottom:1px solid currentColor;padding-bottom:2px}
@media (max-width:900px){.about2 .ahead,.split{grid-template-columns:1fr}.split.flip figure{order:0}.split{margin-top:44px;gap:16px}.princ ul{grid-template-columns:1fr}.banner img{height:52vh}}
/* contact map */
.mapbox{background:#e8e8e6}
.tiles{position:absolute;left:50%;top:50%;width:768px;height:768px;display:grid;grid-template-columns:repeat(3,256px);transform:translate(-486px,-358px);filter:grayscale(1) contrast(.92)}
.tiles img{width:256px;height:256px;max-width:none}
.tiles.off{display:none}
.mapbox .pin{position:absolute;left:50%;top:50%;width:14px;height:14px;margin:-7px 0 0 -7px;border-radius:50%;background:var(--ink);box-shadow:0 0 0 6px rgba(27,27,27,.15);z-index:2}
.mapcard{background:none;place-content:end start;justify-items:start;padding:16px;z-index:3}
.mapcard span{background:var(--bg);padding:6px 10px}.mapcard b{background:var(--bg);padding:4px 10px;border:0}
.map{z-index:4}

/* home awards line */
.show .hello .aw{font-size:12px;letter-spacing:.08em;opacity:.9}
.show .hello .enter{margin-top:14px}
.show .hello .enter a{text-transform:uppercase;letter-spacing:.24em;font-size:13px;border:1px solid rgba(255,255,255,.7);padding:9px 22px;display:inline-block;transition:background-color .4s,color .4s}
.show .hello .enter a:hover{background:#fff;color:var(--ink)}
@media (max-width:640px){.show .hello .aw{font-size:11px;letter-spacing:.03em}}
/* award and cover reels: same height, scroll sideways */
.reel{display:flex;gap:clamp(10px,1.4vw,18px);overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:10px;margin:clamp(20px,3vw,36px) 0;scrollbar-width:thin}
.reel figure{flex:none;margin:0;scroll-snap-align:start}
.reel img{height:clamp(200px,26vw,320px);width:auto;max-width:none;transition:transform 1s var(--ease)}
.reel figure:hover img{transform:scale(1.03)}
.reel figcaption{font-size:12px;color:var(--muted);margin-top:8px;max-width:30ch}
.reel.sm img{height:clamp(160px,18vw,220px)}

/* gallery rhythm v4 */
.g-flow{display:flex;flex-direction:column;gap:clamp(12px,1.6vw,22px)}
.g-flow>figure{margin:0;background:var(--soft);overflow:hidden}
.g-inset{width:78%}.g-inset.r{align-self:flex-end}
.g-port{width:52%;background:none!important}.g-port.r{align-self:flex-end}
.g-flow figure:hover img{transform:scale(1.03)}
@media (max-width:900px){.g-inset,.g-port{width:100%}}

/* gentle page transitions */
@view-transition{navigation:auto}
::view-transition-old(root),::view-transition-new(root){animation-duration:.45s;animation-timing-function:ease}
body{animation:pagein .6s ease both}
@keyframes pagein{from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion:reduce){body{animation:none}@view-transition{navigation:none}}
/* overflow guards (phone menu shift fix) */
.cols>*,.reel{min-width:0;max-width:100%}
html,body{overflow-x:clip}

.publist{margin-top:22px;font-size:14px}.publist summary{cursor:pointer;color:var(--muted);letter-spacing:.04em}
.publist h3{font-size:12px;font-weight:400;text-transform:uppercase;letter-spacing:.14em;color:var(--muted);margin:18px 0 6px}
.publist ul{margin:0;padding:0;list-style:none;line-height:1.7}

.feat,.links ul{margin:0;padding:0;list-style:none;line-height:1.9}.feat a,.links a{color:inherit;text-decoration:underline;text-decoration-color:rgba(0,0,0,.25);text-underline-offset:3px}.feat a:hover,.links a:hover{text-decoration-color:currentColor}
.links{margin:18px 0}.links h3{font-size:12px;font-weight:400;text-transform:uppercase;letter-spacing:.14em;color:var(--muted);margin:0 0 6px}

/* 25 Nov markups */
.hello .aw{font-size:12.5px;letter-spacing:.05em;opacity:1;color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.85),0 0 14px rgba(0,0,0,.55);font-weight:400}
.hello h1,.hello .enter,.ph-cr{text-shadow:0 1px 4px rgba(0,0,0,.6)}
.mapbox .map{position:absolute;inset:0;width:100%;height:100%;border:0;z-index:3}
.totop{position:fixed;right:clamp(14px,2vw,28px);bottom:clamp(14px,2vw,28px);z-index:60;width:42px;height:42px;border-radius:50%;border:1px solid rgba(0,0,0,.15);background:rgba(250,250,250,.92);color:#1b1b1b;display:grid;place-items:center;cursor:pointer;opacity:0;transform:translateY(8px);pointer-events:none;transition:opacity .4s,transform .4s;backdrop-filter:blur(6px)}
.totop.on{opacity:1;transform:none;pointer-events:auto}.totop svg{width:18px;height:18px}.totop:hover{background:#1b1b1b;color:#fafafa}
@media (min-width:901px){
 .proj .ph h1{font-size:clamp(1.6rem,1.1rem + 1.2vw,2.25rem)}
 .proj .lead{margin-top:12px;font-size:16px;line-height:1.45}
 .proj .det dl{margin-top:16px;gap:4px 16px;font-size:12.5px;line-height:1.4}
 .proj .det dt{font-size:10.5px}
 .proj .det .text{margin-top:14px;font-size:13.5px;line-height:1.55;gap:.7em}
 .proj .links{margin:12px 0}
 .left.stick{top:64px;max-height:calc(100vh - 84px)}
}
/* About: tighter, larger images */
.about2 .split{grid-template-columns:1.6fr 1fr;gap:clamp(20px,3vw,48px);margin-top:clamp(28px,3.5vw,56px)}
.about2 .split.flip{grid-template-columns:1fr 1.6fr}
.about2 .split img{max-height:calc(100vh - 160px);object-fit:cover;aspect-ratio:4/3}
@media (max-width:900px){.about2 .split,.about2 .split.flip{grid-template-columns:1fr}.about2 .split img{aspect-ratio:auto}}
.hello .aw{max-width:none;white-space:nowrap}@media (max-width:700px){.hello .aw{white-space:normal}}
.proj .links{font-size:13.5px}.proj .links h3{font-size:10.5px}.proj .links ul{line-height:1.7}

/* 25 Nov round 2 */
:root{--t-body:clamp(.875rem,.86rem + .1vw,.9375rem);--t-lead:clamp(1rem,.95rem + .25vw,1.125rem);--t-title:clamp(1.375rem,1.1rem + 1vw,2rem)}
body{font-size:var(--t-body)}
.brand{gap:16px}.brand svg{width:42px;height:42px}.brand span{font-size:14.5px;letter-spacing:.17em}
@media (max-width:700px){.brand svg{width:34px;height:34px}}
@media (min-width:1200px){.grid{grid-template-columns:repeat(4,1fr)}}
.pagehead h1,.rec h1,.contact h1,.about2 h1{font-size:var(--t-title)}
/* contact */
.contact{grid-template-columns:minmax(280px,1fr) 1.5fr;align-items:start}
.contact .cmap{margin-top:28px}.contact .mapbox{aspect-ratio:4/3;max-height:340px}
.cimg{margin:0;overflow:hidden}.cimg img{width:100%;height:calc(100vh - 110px);min-height:420px;object-fit:cover}
@media (max-width:900px){.contact{grid-template-columns:1fr}.cimg img{height:56vh;min-height:0}}
/* awards: contained, centred, no scroll box */
.rec{max-width:1080px;margin:0 auto}
.rec .reel{flex-wrap:wrap;overflow:visible;scroll-snap-type:none;justify-content:flex-start}
.rec .reel img{height:clamp(130px,13vw,180px)}.rec .reel.sm img{height:clamp(120px,11vw,160px)}
.rec .reel figcaption{max-width:24ch;font-size:11.5px}
.rec .cols{grid-template-columns:160px 1fr}
/* about: classy and contained */
.about2{max-width:1080px;margin:0 auto}
.about2 .ahead{grid-template-columns:1fr 2.2fr;align-items:baseline;margin-bottom:28px}
.about2 .state{font-size:clamp(1.05rem,.95rem + .45vw,1.35rem);max-width:40ch;line-height:1.45}
.about2 .banner{margin:0}.about2 .banner img{height:min(52vh,36vw)}
.about2 .split,.about2 .split.flip{grid-template-columns:1fr 1fr;gap:clamp(24px,4vw,56px);margin-top:clamp(36px,4vw,64px)}
.about2 .split img{aspect-ratio:4/3;max-height:420px;object-fit:cover}
.about2 .split .big{font-size:var(--t-lead)}
@media (max-width:900px){.about2 .ahead,.about2 .split,.about2 .split.flip{grid-template-columns:1fr}}

/* 26 Nov */
@media (max-width:760px){.brand span{display:block;font-size:10.5px;letter-spacing:.12em}.brand{gap:9px}}
@media (max-width:420px){.brand span{display:none}}
.foot p{line-height:1.7}.foot a{text-decoration:underline;text-decoration-color:rgba(0,0,0,.2);text-underline-offset:3px}
@media (max-width:900px){.rec .cols{grid-template-columns:1fr}}
.mapbox .tiles,.mapbox .pin{display:none}.mapbox{background:#eeeeec}.mapbox .mapcard{z-index:4}
.about3{max-width:1180px;margin:0 auto}
.abhero{display:grid;grid-template-columns:1.35fr 1fr;gap:clamp(24px,3.5vw,56px);align-items:start}
.abhero figure{margin:0;overflow:hidden}.abhero img{width:100%;height:calc(100vh - 130px);min-height:440px;object-fit:cover}
.abtext h1{font-size:var(--t-title);margin-bottom:14px}.abtext .state{font-size:var(--t-lead);margin-bottom:14px}
.abtext p{font-size:14px;line-height:1.7;color:#3d3d3d;margin:0 0 .9em;max-width:52ch}.abtext a{border-bottom:1px solid currentColor}
.ab3{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(16px,2.4vw,36px);margin-top:clamp(40px,5vw,72px)}
.ab3 figure{margin:0}.ab3 img{width:100%;aspect-ratio:4/5;object-fit:cover}
.ab3 h2{font-size:11.5px;text-transform:uppercase;letter-spacing:.14em;color:var(--muted);font-weight:400;margin:14px 0 6px}.ab3 p{font-size:13.5px;line-height:1.6;color:#4a4a4a;margin:0}
.about3 .princ{margin-top:clamp(40px,5vw,72px)}
@media (max-width:900px){.abhero,.ab3{grid-template-columns:1fr}.abhero img{height:52vh;min-height:0}}
.totop{width:38px;height:38px}@media (max-width:900px){.totop{bottom:16px;right:12px;width:34px;height:34px}}

.abbg{display:grid;grid-template-columns:1.1fr 1fr;gap:clamp(24px,3.5vw,56px);align-items:center;margin-top:clamp(48px,6vw,88px);padding-top:clamp(32px,4vw,56px);border-top:1px solid var(--soft)}
.abbg figure{margin:0;overflow:hidden}.abbg img{width:100%;aspect-ratio:3/2;object-fit:cover}
.abbg h2{font-size:11.5px;text-transform:uppercase;letter-spacing:.14em;color:var(--muted);font-weight:400;margin:0 0 8px}
.abbg .big{font-size:var(--t-lead);margin:0 0 12px}.abbg p{font-size:14px;line-height:1.7;color:#3d3d3d;max-width:52ch;margin:0 0 .9em}
.bglist{list-style:none;margin:6px 0 14px;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:4px 18px;font-size:13.5px}
.bglist a,.abbg .more a{border-bottom:1px solid rgba(0,0,0,.25)}.abbg .more{display:flex;gap:18px;flex-wrap:wrap;font-size:12px;text-transform:uppercase;letter-spacing:.12em}
@media (max-width:900px){.abbg{grid-template-columns:1fr}}

.cap em{display:block;font-style:normal;font-size:11px;letter-spacing:.06em;margin-top:6px;opacity:.92;text-shadow:0 1px 3px rgba(0,0,0,.7)}
.cap em:empty{display:none}

.dir{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}.btn{display:inline-block;padding:10px 18px;border:1px solid var(--ink);background:var(--ink);color:#fafafa;font-size:11.5px;letter-spacing:.14em;text-transform:uppercase}
.btn.ghost{background:none;color:var(--ink)}.btn:hover{opacity:.85}.hint{font-size:13px;color:var(--muted);margin-top:6px}
@media (max-width:900px){.contact>div:first-child{order:0}.cimg{order:2}}
.tile.lock{cursor:default}.tile.lock:hover img{transform:none}

/* 26 Nov round 3 */
.grid{grid-auto-rows:4px;row-gap:0;align-items:start}.grid .tile{margin-bottom:clamp(10px,1.4vw,20px)}
@media (max-width:560px){.grid{grid-auto-rows:auto}.grid .tile{height:auto!important;grid-row-end:auto!important;aspect-ratio:auto!important}.grid .tile img{height:auto}}
.rec .reel{justify-content:center}.rec .reel figure{text-align:left}
@media (max-width:700px){.rec .reel{display:grid;grid-template-columns:1fr 1fr;gap:16px 12px}.rec .reel img{width:100%;height:auto;max-height:none}.rec .reel figcaption{max-width:none}}
.btn{line-height:1.2;box-sizing:border-box;display:inline-flex;align-items:center;min-height:38px;vertical-align:top}.dir{align-items:stretch;padding-bottom:2px;overflow:visible}
.abhero img{height:auto;aspect-ratio:4/3;min-height:0}
@media (min-width:901px){.proj~.totop,.totop{bottom:84px}}

/* 27 Nov – go-live polish */
:root{--t-body:.875rem;--t-lead:1rem;--t-title:clamp(1.3rem,1.05rem + .8vw,1.75rem)}
.brand{align-items:flex-end;gap:12px}.brand svg{width:40px;height:40px}
.brand span{font-size:12px;letter-spacing:.16em;line-height:1;padding-bottom:3px}
@media (max-width:700px){.brand svg{width:30px;height:30px}.brand span{font-size:10px;letter-spacing:.12em;padding-bottom:2px}}
@media (max-width:420px){.brand span{display:none}}
/* contact */
.ct{display:grid;grid-template-columns:minmax(300px,1fr) 1.45fr;gap:clamp(24px,4vw,64px);align-items:stretch}
.ct h1{font-size:var(--t-title);margin:0 0 22px}
.ctb{margin:0 0 18px}.ctb h2{font-size:10.5px;letter-spacing:.16em;text-transform:uppercase;color:var(--muted);font-weight:400;margin:0 0 6px}
.ctb p{font-size:14px;line-height:1.6;margin:0}
.dir{display:flex;flex-wrap:nowrap;gap:8px;margin:12px 0 0!important;padding:1px 0}
.btn{display:inline-flex;align-items:center;justify-content:center;height:34px;padding:0 14px;border:1px solid var(--ink);background:var(--ink);color:#fafafa;font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;line-height:1;white-space:nowrap;box-sizing:border-box}
.btn.ghost{background:transparent;color:var(--ink)}.btn:hover{opacity:.8}
.ctmap{margin-top:22px;width:100%;max-width:440px;aspect-ratio:4/3;overflow:hidden;background:#eeeeec}
.ctmap iframe{width:100%;height:100%;border:0;display:block;filter:grayscale(.3)}
.ctimg{margin:0;min-height:100%;overflow:hidden}.ctimg img{width:100%;height:100%;min-height:440px;max-height:calc(100vh - 110px);object-fit:cover;display:block}
@media (max-width:900px){.ct{grid-template-columns:1fr}.ctimg{order:-1}.ctimg img{min-height:0;height:auto;aspect-ratio:4/3;max-height:none}.ctmap{max-width:none}}
/* about compact */
.abhero{grid-template-columns:1fr 1fr;align-items:center}.abhero img{aspect-ratio:4/3;max-height:62vh}
.abtext p{font-size:13.5px;line-height:1.65}
.ab3{max-width:900px;margin-left:auto;margin-right:auto;margin-top:clamp(32px,4vw,56px);gap:clamp(14px,2vw,28px)}.ab3 img{aspect-ratio:1/1}
.abbg{max-width:980px;margin-left:auto;margin-right:auto;margin-top:clamp(36px,4.5vw,64px);padding-top:clamp(28px,3vw,44px)}.abbg img{aspect-ratio:4/3}
.about3 .princ{max-width:980px;margin-left:auto;margin-right:auto;margin-top:clamp(36px,4.5vw,64px)}
/* slightly smaller headings overall */
.proj .ph h1{font-size:clamp(1.4rem,1rem + 1vw,1.9rem)}
.pagehead h1,.rec h1,.about2 h1,.abtext h1{font-size:var(--t-title)}
