/*
VOICE: quiet, nocturnal, a little uncanny — the work does the talking
IDEA: a dim gallery wall you walk along; one piece hung at a time with a small label
PICTURE: the paintings themselves, large but always whole, never cropped or bled off the edge
COLOUR and TYPE: pure black, white text, grey on hover; Helvetica throughout, small and plain; her snail-creature drawing as the mark
LAYOUT: thin header, one work per screen, moving sideways with arrows either side
*/
:root{
  color-scheme:dark;
  --bg:#000;--wall:#0d0d0d;--ink:#fff;--mute:#fff;--line:#262626;--acc:#fff;--hover:#8c8c8c;
  --serif:"Helvetica Neue",Inter,Helvetica,Arial,sans-serif;--sans:"Helvetica Neue",Inter,Helvetica,Arial,sans-serif;
}
*{box-sizing:border-box;min-width:0}
body{margin:0;background:var(--bg);color:var(--ink);font:200 15px/1.65 var(--sans);letter-spacing:.012em;overflow-x:clip;-webkit-font-smoothing:antialiased}

a{color:inherit;text-decoration:none}
a:hover,.nav a:hover{color:var(--hover)}
a:focus-visible,button:focus-visible,.wall:focus-visible{outline:1px solid var(--hover);outline-offset:4px}
img{display:block}
button{font:inherit;color:inherit}

/* header */
.top{position:sticky;top:0;z-index:5;display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;
  padding:16px max(3vw,18px) 12px;background:var(--bg)}
.brand{display:flex;align-items:center;gap:14px}
.brand img{width:auto;display:block}
.brand .snail{height:28px}
.brand .sig{height:40px}
.brand:hover img{opacity:.6}
.name{font:200 20px/1 var(--sans);letter-spacing:-.005em}
.nav{display:flex;gap:26px;font-size:14px;color:var(--mute)}
.nav a[aria-current]{color:var(--ink)}

/* works: one piece per screen, sideways */
.works{position:relative}
@media (min-width:700px){
  body.pg-works{height:100svh;display:flex;flex-direction:column;overflow:hidden}
  .pg-works .works{flex:1;min-height:0;display:flex;flex-direction:column}
  .pg-works .wall{flex:1;min-height:0}
}
.wall{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain}
.wall::-webkit-scrollbar{display:none}
.slide{flex:0 0 100%;scroll-snap-align:center;scroll-snap-stop:always;margin:0;display:flex;flex-direction:column;align-items:center;justify-content:center;
  padding:4px 64px 6px;height:calc(100svh - 128px);min-height:0;overflow:hidden}
@media (min-width:700px){.pg-works .slide{height:100%}}
.fr{display:flex;flex-direction:column;align-items:center;max-width:100%;max-height:100%}
.slide img{max-width:100%;max-height:calc(100svh - 270px);min-height:0;width:auto;height:auto;flex:0 1 auto;object-fit:contain;cursor:zoom-in}
figcaption{flex:none;display:flex;flex-direction:column;align-items:center;text-align:center;gap:1px;margin-top:10px;font-size:12px;line-height:1.45;color:var(--mute)}
figcaption b{display:block;font:300 14px/1.3 var(--sans);letter-spacing:.02em;color:var(--ink);margin-bottom:2px;max-width:46ch}
.st{white-space:nowrap}
.enq{background:none;border:0;padding:0;color:var(--ink);border-bottom:1px solid #ffffff80;cursor:pointer}
.enq:hover{color:var(--hover);border-color:var(--hover)}

.ctl{display:flex;justify-content:center;align-items:center;gap:40px;padding:6px 0 10px}
.count{margin:0;font-size:13px;color:var(--mute);font-variant-numeric:tabular-nums;min-width:56px;text-align:center}
.arr{background:none;border:0;cursor:pointer;color:var(--mute);display:grid;place-items:center;width:44px;height:72px}
.arr img{width:26px;height:auto;display:block;transition:opacity .2s}
.arr:hover img{opacity:.5}
.arr:hover{color:var(--hover)}
@media (min-width:700px){
  .ctl{padding:0}
  .arr{position:absolute;top:calc(50% - 70px);transform:translateY(-50%)}
  .arr.pv{left:max(3.5vw,24px)}.arr.nx{right:max(3.5vw,24px)}
  .arr img{width:34px}
}

/* strip of small works */
.strip{display:flex;gap:10px;overflow-x:auto;scrollbar-width:none;padding:8px max(3vw,16px) 12px;flex:none;align-items:center}
.strip::-webkit-scrollbar{display:none}
.strip::before,.strip::after{content:"";margin:auto}
.strip button{background:none;border:0;padding:0;cursor:pointer;flex:none;opacity:.35;transition:opacity .2s}
.strip button:hover,.strip button.on{opacity:1}
.strip img{height:34px;width:auto;display:block}

/* about */
.about{display:grid;grid-template-columns:62vw minmax(0,520px);gap:clamp(24px,4vw,64px);
  align-items:start;padding:0 max(4vw,18px) 120px 0}
.about .portrait{margin:0;position:sticky;top:72px;align-self:start}
.about .portrait img{width:100%;height:auto;display:block;
  -webkit-mask-image:linear-gradient(to right,#000 55%,transparent 99%),linear-gradient(to bottom,transparent 0,#000 5%,#000 95%,transparent 100%);
  -webkit-mask-composite:source-in;
  mask-image:linear-gradient(to right,#000 55%,transparent 99%),linear-gradient(to bottom,transparent 0,#000 5%,#000 95%,transparent 100%);
  mask-composite:intersect}
.about>div:not(.side){padding-top:60px;margin-left:-6vw;position:relative}
.about h1{font:200 32px/1.15 var(--sans);letter-spacing:.01em;margin:0 0 22px}
.about p{margin:0 0 16px;max-width:60ch}
.about h2{font:300 18px/1.3 var(--sans);letter-spacing:.02em;margin:40px 0 10px}
.about h3{font:300 13.5px/1.4 var(--sans);color:var(--mute);margin:18px 0 8px}
.cv{list-style:none;margin:0;padding:0;border-top:1px solid var(--line)}
.cv li{display:grid;grid-template-columns:56px minmax(0,1fr);gap:12px;padding:9px 0;border-bottom:1px solid var(--line)}
.cv li>span:first-child{color:var(--mute);font-variant-numeric:tabular-nums}
.cv i{font-style:normal;color:var(--ink)}
.contact{display:grid;gap:6px}
.contact a{color:var(--ink)}
.ig{display:flex;align-items:center;gap:16px;margin-top:14px;padding:16px 18px;border:1px solid var(--line);background:var(--wall)}
.ig svg{flex:none;width:26px;height:26px}

/* footer */
.foot{display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:18px max(3vw,18px);font-size:13px;color:var(--mute)}

/* enquiry pop-up */
.eq{position:fixed;inset:0;z-index:30;background:#0b0a09d9;display:none;place-items:center;padding:16px;overflow-y:auto}
.eq.open{display:grid}
.eq-in{position:relative;width:min(440px,100%);background:var(--wall);border:1px solid var(--line);padding:28px 26px 24px;display:grid;gap:14px}
.eq-k{margin:0;font-size:13px;color:var(--mute)}
.eq-t{margin:-8px 0 4px;font:300 19px/1.25 var(--sans);padding-right:34px}
.eq label{display:grid;gap:6px;font-size:13px;color:var(--mute)}
.eq input,.eq textarea{font:200 16px/1.45 var(--sans);color:var(--ink);background:var(--bg);border:1px solid var(--line);padding:10px 12px;width:100%;resize:vertical}
.eq input:focus,.eq textarea:focus{outline:none;border-color:var(--hover)}
.eq-send{justify-self:start;min-height:44px;padding:0 26px;background:var(--ink);color:var(--bg);border:0;font-weight:300;cursor:pointer}
.eq-send:disabled{opacity:.5;cursor:default}
.eq-s{margin:0;min-height:1.4em;font-size:13.5px;color:var(--mute)}
.eq-s.ok{color:var(--ink)}.eq-s.err{color:var(--hover)}
.eq-x{position:absolute;top:6px;right:8px;width:44px;height:44px;background:none;border:0;color:var(--mute);font:300 26px/1 var(--sans);cursor:pointer}

@media (max-width:900px){
  .about{grid-template-columns:minmax(0,1fr);padding:0 max(4vw,18px) 100px}
  .about .portrait{position:static;margin:0 calc(-1 * max(4vw,18px))}
  .about>div:not(.side){padding-top:10px;margin-left:0}
}
@media (max-width:699px){
  .name{font-size:17px}
  .brand .snail{height:22px}
  .brand .sig{height:32px}
  .slide{padding:4px 16px 0;height:auto;min-height:0}
  .slide img{max-height:74svh}
  .ctl{padding-top:4px}
  .strip img{height:32px}
}
@media (prefers-reduced-motion:reduce){.wall{scroll-behavior:auto}}

/* click-to-enlarge */
.zoom{position:fixed;inset:0;z-index:40;background:#000;display:none;place-items:center;padding:12px;cursor:zoom-out}
.zoom.open{display:grid}
.zoom img{max-width:100%;max-height:calc(100svh - 24px);width:auto;height:auto}
.zoom button{position:absolute;top:8px;right:10px;width:44px;height:44px;background:none;border:0;color:var(--ink);font:300 28px/1 var(--sans);cursor:pointer}
.zoom button:hover{color:var(--hover)}

/* small text stays a touch heavier so it reads at 13–14px */
.nav,figcaption,.foot,.cv,.eq label,.eq-s{font-weight:300}

/* phone-only adjustments */
@media (max-width:699px){
  /* works sit in the middle of the screen, not at the top */
  body.pg-works{min-height:100svh;display:flex;flex-direction:column}
  .pg-works .works{flex:1;display:flex;flex-direction:column;justify-content:center;padding-top:9svh}
  .pg-works .ctl{padding:0;margin-top:-6px}
  .pg-works .arr{height:56px}
  .slide img{max-height:62svh}
  /* exhibitions and contact: same softness as the bio, a little smaller */
  .about .cv{font-size:13px;font-weight:200}
  .about .cv i{color:inherit}
  .about h3{font-size:12.5px}
  .about .contact,.about .ig{font-size:13px;font-weight:200}
  .about .ig{padding:12px 14px;gap:12px}
  .about .ig svg{width:22px;height:22px}
}

/* small portrait to the right of Contact */
.meet{display:grid;grid-template-columns:minmax(0,1fr) 140px;gap:28px;align-items:start;margin-top:48px}
.meet h2{margin-top:0}
.me-meet{display:block;width:140px;height:auto}
@media (max-width:699px){
  .meet{grid-template-columns:minmax(0,1fr) 96px;gap:16px;margin-top:40px}
  .me-meet{width:96px}
}
