:root{color-scheme:light;--ink:#242220;--paper:#e5dfd9;--concrete:#a39a91}
*{box-sizing:border-box}
body{margin:0;color:var(--ink);background:#a69e92 url(full-wall.png) center/cover fixed no-repeat;font:300 14px/1.55 'Helvetica Neue',Helvetica,Arial,sans-serif}
.site{position:relative;isolation:isolate;overflow:clip;max-width:1920px;margin:auto;min-height:100svh;container-type:inline-size}
.site::before{content:"";position:absolute;z-index:-1;inset:0 0 auto;aspect-ratio:1536/1224;background:url(daylight-steel-scene.png) center/100% 100% no-repeat}
header{position:absolute;z-index:10;inset:6.45cqw 7.35% auto 6.9%;display:flex;align-items:end;justify-content:space-between;gap:12px}
.identity{display:flex;align-items:flex-end;gap:.45cqw;color:inherit;text-decoration:none}
.identity img{width:14.85cqw;height:4.45cqw;object-fit:fill}
.identity span{padding-bottom:.15cqw;font-size:1.12cqw;line-height:1.05;white-space:nowrap}
.switches,.arrows{display:flex;align-items:center;gap:8px}
.switches button{font-size:clamp(10px,.78cqw,15px);min-height:28px}
button,nav a{font:inherit;color:inherit}
button{border:0;background:none;cursor:pointer;padding:4px 7px}
:focus-visible{outline:2px solid #453d32;outline-offset:3px}
.machine{position:relative;height:48.9cqw}
.panel{position:absolute;top:15.98cqw;height:27.52cqw;width:39.05%;overflow:hidden;border-radius:1.22cqw;background:var(--paper);perspective:1450px}
.text-panel{left:9.48%}
.image-panel{left:51.43%;width:39.68%;background:#302c28}
.panel::after{content:"";position:absolute;z-index:5;inset:calc(50% - .55px) 0 auto;height:1.1px;background:#211d19a6;box-shadow:0 1px 0 #f4eadd30;pointer-events:none}
.text-panel::after{background:#211d198c}
.face,.leaves,.sheet,.half{position:absolute;inset:0}
.leaves{pointer-events:none}
.article{height:100%;overflow:auto;padding:1.95cqw 2.15cqw;scrollbar-width:thin;scrollbar-color:#9e9382 transparent;background:linear-gradient(137deg,#e9e4e0,#e1dbd5);overscroll-behavior:contain}
.article.short-copy{padding-top:calc(13.75cqw + 1.55cqw)}
.category{margin:0 0 .5em;text-transform:uppercase;letter-spacing:.13em;font-size:clamp(9px,.67cqw,13px);opacity:.83}
.short-copy .category,.intro .category{display:none}
h1{font-size:clamp(13px,1.12cqw,22px);font-weight:300;line-height:1.22;margin:0 0 .65em}
.subtitle{margin:0 0 .85em;font-size:clamp(11px,.96cqw,18px)}
.body{font-size:clamp(11px,.9cqw,17px);line-height:1.47}
.body p{margin:0 0 .68em;white-space:pre-line}
.body p:last-child{margin-bottom:0}
.photograph,.photo-mount{position:relative;width:100%;height:100%;margin:0}
.photograph img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.credit{position:absolute;bottom:8px;right:11px;color:#211d19;background:#eeeae3;padding:2px 5px;font-size:clamp(9px,.67cqw,13px);letter-spacing:.03em;font-weight:300}
.half{height:50%;overflow:hidden;backface-visibility:hidden}
.half.lower{top:50%}
.half .sheet{height:200%;bottom:auto}
.half.lower .sheet{top:-100%}
.leaves .under{z-index:1}
.leaves .turn-top{z-index:2;transform-origin:bottom;animation:turn-top var(--flip-half, 375ms) ease-in forwards}
.leaves .turn-bottom{z-index:2;transform-origin:top;animation:turn-bottom var(--flip-half, 375ms) var(--flip-half, 375ms) ease-out both}
@keyframes turn-top{to{transform:rotateX(-90deg);filter:brightness(.72)}}
@keyframes turn-bottom{from{transform:rotateX(90deg);filter:brightness(.72)}to{transform:rotateX(0)}}
.navigation{position:relative;z-index:6;display:flex;align-items:center;justify-content:space-between;flex-direction:row-reverse;padding:0 7.7% 0 7%;min-height:3.4cqw}
nav{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:4px 0}
nav a{text-decoration:none;padding:6px 0;font-size:clamp(11px,1.11cqw,21px)}
nav a:hover,nav a[aria-current]{text-decoration:underline;text-underline-offset:5px}
#sections a:not(:last-child)::after{content:"/" / "";display:inline-block;margin:0 1cqw;text-decoration:none}
#groups{position:relative;z-index:6;margin:0 7.7% 0 7%;gap:3px 1.3cqw}
#groups a{font-size:clamp(10px,.74cqw,15px)}
.arrows button{font-size:22px;min-width:32px;line-height:1}
[hidden]{display:none!important}
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:720px) and (orientation:portrait){
  .site{padding:0 12px}
  .site::before{display:none}
  header{position:static;min-height:72px;padding:0 2px 14px}
  .identity{gap:4px}
  .identity img{width:88px;height:auto}
  .identity span{font-size:10px;white-space:normal}
  .switches{gap:0}
  .machine{display:grid;gap:8px;height:auto}
  .panel,.text-panel,.image-panel{position:relative;inset:auto;width:100%;border:6px solid #92918c;border-radius:8px}
  .text-panel{height:250px}
  .image-panel{height:auto;aspect-ratio:1.44}
  .article,.article.short-copy{padding:16px}
  .article.short-copy{padding-top:136px}
  .navigation{gap:4px;padding:9px 0}
  #groups{margin:0 0 15px;gap:4px 10px}
  .arrows{gap:0}
  .arrows button{min-width:23px}
}
@media(prefers-reduced-motion:reduce){.leaves{display:none}}

.image-panel{background:var(--paper)}
.photo-message{margin:0;padding:1.8em;font-size:.9em;color:var(--ink)}
.copy-measure{position:absolute;inset:0;visibility:hidden;pointer-events:none}
.article{overflow:hidden}
.article:not(.short-copy){padding-block:0}
.article:not(.short-copy) .article-inner{display:grid;height:100%;grid-template-rows:minmax(0,1fr) minmax(0,1fr)}
.copy-top,.copy-bottom{min-height:0;overflow:hidden;padding-block:clamp(10px,1.3cqw,24px)}
.copy-top:has(.body){padding-bottom:clamp(9px,1cqw,18px)}
.copy-bottom{padding-top:clamp(10px,1.1cqw,20px)}
.article:has(.intro){padding-inline:clamp(20px,2.6cqw,48px)}
.intro .copy-top,.intro .copy-bottom{padding-block:clamp(14px,1.45cqw,27px)}
.intro .copy-top{padding-top:clamp(30px,2.85cqw,53px)}
.intro .intro-title{font-size:clamp(14px,1.08cqw,20px);line-height:1.68;font-weight:700;margin:0 0 2.35em}
.intro .copy-top,.intro .copy-bottom{overflow-y:auto}
.intro .body{max-width:65ch;font-size:clamp(14px,1.08cqw,20px);line-height:1.68;overflow-wrap:anywhere}
.intro .body p:not(:last-child){margin-bottom:.85em}
.half{-webkit-backface-visibility:hidden;backface-visibility:hidden}
.leaves .turn-top,.leaves .turn-bottom{will-change:transform}
.leaves .turn-top::after,.leaves .turn-bottom::after{content:"";position:absolute;inset:0;background:linear-gradient(#0000,#20171029);opacity:0;animation:crease var(--flip-half, 375ms) ease-in forwards}
.leaves .turn-bottom::after{animation:crease var(--flip-half, 375ms) var(--flip-half, 375ms) ease-out reverse both}
@keyframes crease{to{opacity:1}}
@keyframes turn-top{from{transform:perspective(1200px) rotateX(0deg)}to{transform:perspective(1200px) rotateX(-90deg)}}
@keyframes turn-bottom{from{transform:perspective(1200px) rotateX(90deg)}to{transform:perspective(1200px) rotateX(0deg)}}
@media(max-width:720px) and (orientation:portrait){
  .text-panel{height:340px}
  .article.short-copy{padding-top:181px}
  .switches button{padding-inline:4px}
}

@media(min-width:721px), (orientation:landscape){
  .site{
    --frame-left:4.2%;
    --frame-right:4.55%;
    --scene-offset:max(3cqw,calc(58svh - 35.5cqw));
    width:min(100%,170svh,1920px);
    padding-top:var(--scene-offset);
    mask-image:linear-gradient(to bottom,transparent,#000 9cqw,#000 calc(100% - 12cqw),transparent),linear-gradient(to right,transparent,#000 3cqw,#000 calc(100% - 3cqw),transparent);
    mask-composite:intersect;
  }
  .site::before{
    top:var(--scene-offset);
    mask-image:linear-gradient(to bottom,transparent,#000 9cqw,#000 calc(100% - 12cqw),transparent),linear-gradient(to right,transparent,#000 3cqw,#000 calc(100% - 3cqw),transparent);
    mask-composite:intersect;
  }
  .site::before,.machine{transform:scale(1.04,1.08);transform-origin:center top}
  header{
    inset:6.45cqw var(--frame-right) auto var(--frame-left);
  }
  .identity img{width:12cqw;height:3.6cqw}
  .identity span{font-size:.98cqw}
  .machine{margin-bottom:1.5cqw}
  .navigation{padding-inline:var(--frame-left) var(--frame-right);min-height:2.8cqw}
  #groups{margin-inline:var(--frame-left) var(--frame-right)}
}
html{min-height:100%;background:#a69e92 url(full-wall.png) center/cover fixed no-repeat}
body{min-height:100svh;min-height:100dvh}

.orientation-tip{display:none}
@media(max-width:720px) and (orientation:portrait){
  .orientation-tip{
    position:fixed;z-index:30;inset:auto 16px max(16px,env(safe-area-inset-bottom));
    display:flex;align-items:center;gap:14px;padding:14px 16px;
    color:#36332e;background:#e5dfd9f5;border:1px solid #9b958a;
    box-shadow:0 4px 18px #29251e24;border-radius:6px;
  }
  .orientation-tip svg{width:35px;height:35px;flex:none}
  .orientation-tip p{margin:0;font-size:13px;line-height:1.5}
  .orientation-tip button{display:block;padding:5px 0 0;text-decoration:underline;font-size:12px}
}

.intro:has(.intro-title) .copy-top {
  margin-bottom: 9px;
  padding-top: clamp(20px, 2.3cqw, 44px);
  padding-bottom: 0;
}

.intro:has(.intro-title) .copy-bottom {
  margin-top: 9px;
  padding-top: clamp(5px, .6cqw, 12px);
}

.intro:has(.intro-title) .body {
  line-height: 1.5;
}

.series-opening .copy-top{overflow-y:auto;margin-bottom:8px}

#sections a, #groups a{color:#14110e;font-weight:300}

@media (min-width: 1024px) {
  .article:has(.intro) { padding-inline: 2cqw; }
  .intro .copy-top, .intro .copy-bottom,
  .intro:has(.intro-title) .copy-top,
  .intro:has(.intro-title) .copy-bottom { padding-block: .95cqw; }
  .intro .body, .intro .intro-title {
    font-size: calc(clamp(12px, .87cqw, 16px) * var(--intro-scale, 1));
    line-height: 1.43;
  }
  .intro .body { max-width: none; }
  .intro .intro-title { margin-bottom: 1.1em; }
}

/* Optional single-panel portfolio preview. */
.single-panel .site::before { background: none; }
.single-panel .image-panel { display: none; }
.single-panel .text-panel {
  left: 19%;
  width: 62%;
  border: clamp(6px, .7cqw, 13px) solid #8f8c83;
  border-radius: 3px;
  box-shadow: 0 2px 4px #29241e, 0 12px 30px #29241e55, inset 0 0 0 1px #dad6cb;
}
.single-panel .photograph { background: var(--paper); }
.single-panel .photo-mount { inset: 0 0 2.8em; }
.single-panel .single-caption {
  position: absolute;
  inset: auto 1.5em .6em;
  font-size: clamp(11px, .85cqw, 15px);
  font-weight: 300;
}
@media (max-width:720px) and (orientation:portrait) {
  .single-panel .text-panel { width: 100%; }
}

.full-bleed, .full-bleed body { background: var(--paper); }
.full-bleed .site { width: 100%; max-width: none; padding: 0; mask-image: none; }
.full-bleed .site::before { display: none; }
.full-bleed header { inset: 1rem 1.5rem auto; padding: .4rem .65rem; background: transparent; }
.full-bleed .machine { display: block; height: 100svh; margin: 0; transform: none; }
.full-bleed .text-panel { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 0; box-shadow: none; }
.full-bleed .text-panel::after {
  display: block;
  background: #24222055;
  box-shadow: 0 1px 0 #ffffff50;
}
.full-bleed .article { padding-inline: clamp(1.5rem, 12vw, 18rem); }
.full-bleed .article .copy-top { padding-top: clamp(5rem, 11vh, 9rem); }
.full-bleed .article .copy-bottom { padding-bottom: 4rem; }
.full-bleed .photo-mount { inset: 0; }
.full-bleed .photo-mount img { width: 100%; height: 100%; object-fit: cover; }
.full-bleed .full-jewellery { background: #fff; }
.full-bleed .full-jewellery img {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 68%;
  height: 62%;
  object-fit: contain;
  transform: translate(-50%, -50%);
}
.full-bleed .single-caption { inset: auto auto 3.5rem 1.5rem; max-width: calc(100% - 3rem); padding: .25rem .65rem; background: transparent; }
.full-bleed .navigation { position: absolute; inset: auto 1.5rem 1rem; width: fit-content; margin-left: auto; padding: .2rem .65rem; background: transparent; }
.full-bleed #groups { position: absolute; inset: auto 1.5rem 3.5rem auto; margin: 0; padding-inline: .55rem; background: transparent; }
.full-bleed #groups[hidden], .full-bleed .orientation-tip { display: none; }

.full-bleed .credit { background: transparent; }

.aligned-page .site {
  --signature-width: 12cqw;
  --signature-gap: .45cqw;
  --copy-start: calc(2.15rem + var(--signature-width) + var(--signature-gap));
}
.aligned-page .identity { gap: var(--signature-gap); }
.aligned-page .identity img { width: var(--signature-width); }
.aligned-page .photo-mount .credit { display: none; }
.aligned-page .article {
  position: relative;
  padding-inline: var(--copy-start) 6vw;
  background: var(--paper) url(full-wall.png) center / cover;
}
.aligned-page .article .copy-top {
  display: flex;
  flex-direction: column;
  justify-content: safe flex-end;
  padding-block: calc(clamp(4.5rem, 14svh, 9rem) + 1.25rem) .8rem;
}
.aligned-page .article .copy-bottom { padding-block: .8rem 5rem; }
.aligned-page .article .copy-top,
.aligned-page .article .copy-bottom { width: min(100%, 43vw, 650px); }
.aligned-page .inset-work {
  position: absolute;
  top: 53%;
  right: 5%;
  bottom: 14%;
  width: 25%;
  height: 33%;
  object-fit: contain;
  object-position: right bottom;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.aligned-page .navigation { bottom: 3.2rem; }
.aligned-page #groups { bottom: 5.5rem; }
.aligned-page .single-caption { left: var(--copy-start); bottom: 7rem; padding-inline: 0; }
@media (max-width:720px) and (orientation:portrait) {
  .aligned-page .site { --signature-width: 62px; --signature-gap: 4px; }
  .aligned-page .article .copy-top,
  .aligned-page .article .copy-bottom { width: 100%; }
  .aligned-page .inset-work { top: auto; bottom: 7rem; width: 24%; height: 13%; }
}

.aligned-page .article:has(.intro) .copy-top,
.aligned-page .article:has(.intro) .copy-bottom { width: min(100%, 43vw, 680px); }
.aligned-page .article:has(.intro) .inset-work {
  inset: 10% 5% auto auto;
  width: 37%;
  height: 66%;
  object-position: center;
  transform: scale(1.32);
  mix-blend-mode: normal;
}
@media (max-width: 720px) and (orientation: portrait) {
  .aligned-page .article:has(.intro) .copy-top,
  .aligned-page .article:has(.intro) .copy-bottom { width: 68%; }
  .aligned-page .article:has(.intro) .inset-work { inset: auto 1% 24% auto; width: 27%; height: 46%; transform: none; }
}

.aligned-page .full-jewellery { background: #fff; }
.aligned-page .article .intro-title { margin-top: .35em; }

html.aligned-page, .aligned-page body, .aligned-page .text-panel,
.aligned-page .article, .aligned-page .photograph { background: #fff; }
.aligned-page .has-intro-artwork .article-inner { position: relative; z-index: 1; }
.aligned-page .has-intro-artwork .body { max-width: min(31vw, 480px); }
.aligned-page .collection-intro-artwork {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}
.aligned-page .intro .intro-title,
.aligned-page .intro .body {
  font-size: clamp(12px, min(1.2vw, 1.85svh), 14px);
  line-height: 1.57;
}
.aligned-page .intro .body p { white-space: normal; }
.aligned-page .intro .body p:not(:last-child) { margin-bottom: 1em; }
.aligned-page .intro .copy-top, .aligned-page .intro .copy-bottom { overflow: auto; }
@media (max-width: 720px) and (orientation: portrait) {
  .aligned-page .has-intro-artwork .body { max-width: 75%; }
}

.aligned-page { --ink: #504841; }
.aligned-page #sections a, .aligned-page #groups a { color: var(--ink); }
.aligned-page .article:not(.has-intro-artwork) {
  background: linear-gradient(128deg, #fff 47%, #f7f4ef 55%, #fff 63%, #faf8f4 68%, #fff 75%);
}
@media (min-width: 721px), (orientation: landscape) {
  .aligned-page .article:has(.intro) .copy-top { padding-top: clamp(4.25rem, 10svh, 7rem); }
  .aligned-page .article:has(.intro) .inset-work { right: -2%; }
  .aligned-page .article:has(.intro) .copy-top,
  .aligned-page .article:has(.intro) .copy-bottom { width: min(100%, 47vw, 760px); }
  .aligned-page .intro .intro-title,
  .aligned-page .intro .body { line-height: 1.42; }
  .aligned-page .intro .body { max-width: none; }
  .aligned-page .intro .body p:not(:last-child) { margin-bottom: .65em; }
}

.aligned-page .article:has(.intro) .inset-work {
  top: auto;
  right: -3%;
  bottom: var(--intro-portrait-bottom, 21%);
  object-position: center bottom;
  transform-origin: center bottom;
}
@media (max-width: 720px) and (orientation: portrait) {
  .aligned-page .article:has(.intro) .inset-work { right: 0; }
}

.studio-name { font-weight: inherit; }
.aligned-page .studio-name { color: #ed6800; }
.aligned-page .contact-portrait {
  top: auto;
  left: 54%;
  right: auto;
  bottom: 18%;
  width: 56%;
  height: auto;
  object-position: center bottom;
  mix-blend-mode: multiply;
}
@media (max-width: 720px) and (orientation: portrait) {
  .aligned-page .article:has(.contact-portrait) .copy-top,
  .aligned-page .article:has(.contact-portrait) .copy-bottom { width: 68%; }
  .aligned-page .contact-portrait { left: auto; right: 0; bottom: 17%; width: 42%; height: 52%; object-position: right bottom; }
}

.aligned-page .leaves .turn-top::after,
.aligned-page .leaves .turn-bottom::after { content: none; }

.contact-links { display: grid; justify-items: start; gap: .4em; margin-top: 1em; font-style: normal; }
.contact-links a { color: inherit; overflow-wrap: anywhere; }
.contact-note { margin: .85em 0 0; font-size: .88em; line-height: 1.4; }

@media (max-width: 720px) and (orientation: portrait) {
  .aligned-page .site {
    --header-start: 1rem;
    --header-padding: .5rem;
    --signature-width: 46px;
    --copy-start: calc(var(--header-start) + var(--header-padding) + var(--signature-width) + var(--signature-gap));
  }
  .aligned-page header { left: var(--header-start); padding-left: var(--header-padding); }
  .aligned-page .article.mobile-intro-text {
    overflow-y: auto;
    padding: 5rem 1rem 8rem var(--copy-start);
    background: #fff;
  }
  .aligned-page .article.mobile-intro-text .article-inner { display: block; height: auto; }
  .aligned-page .article.mobile-intro-text .copy-top {
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    overflow: visible;
  }
  .aligned-page .article.mobile-intro-text .copy-bottom:empty { display: none; }
  .aligned-page .mobile-intro-text .intro-title { margin: 0 0 1em; }
  .aligned-page .mobile-intro-text .body { max-width: none; font-size: 14px; line-height: 1.55; }
  .aligned-page .text-panel:has(#copy > .mobile-intro-text)::after { display: none; }
}

@media (max-width: 720px) and (orientation: portrait) {
  .aligned-page .article.mobile-intro-text { padding-left: var(--mobile-brand-start, var(--copy-start)); }
  .aligned-page .site { --mobile-nav-inset: .75rem; }
  .aligned-page .navigation { inset: auto var(--mobile-nav-inset) 2rem; width: auto; padding: 0; flex-direction: column; gap: .3rem; }
  .aligned-page #sections { display: flex; flex-wrap: wrap; width: 100%; justify-content: space-evenly; gap: .25rem .5rem; }
  .aligned-page #sections a { font-size: 12px; }
  .aligned-page #sections a:not(:last-child)::after { display: none; }
  .aligned-page #groups { inset: auto var(--mobile-nav-inset) 6rem; padding-inline: 0; justify-content: center; gap: .25rem .75rem; }
  .aligned-page .single-caption {
    right: var(--mobile-nav-inset);
    left: var(--mobile-nav-inset);
    max-width: none;
    text-align: right;
  }
  .aligned-page #groups a { font-size: 10px; }
}

@media (max-width: 720px) and (orientation: portrait) {
  .aligned-page header, .aligned-page .identity, .aligned-page .switches { align-items: baseline; }
  .aligned-page .identity span { padding-bottom: 0; }
  .aligned-page .identity .studio-name { color: #ed6800; }
  .aligned-page .switches button { padding-block: 0; line-height: 1.05; }
  .aligned-page .navigation { align-items: flex-end; }
  .aligned-page #sections, .aligned-page #groups { justify-content: flex-end; column-gap: clamp(.55rem, 2.5vw, 1.25rem); }
  .aligned-page .article.has-intro-artwork:not(:has(.intro)) { padding-inline: 1rem; }
  .aligned-page .has-intro-artwork:not(:has(.intro)) .collection-intro-artwork {
    inset: 52% 1rem auto;
    width: calc(100% - 2rem);
    height: 32%;
  }
  .aligned-page .has-intro-artwork:not(:has(.intro)) .copy-top { padding-top: 4.5rem; }
  .aligned-page .has-intro-artwork:not(:has(.intro)) .body { max-width: none; }
}

.contact-spread .copy-top, .contact-spread .copy-bottom { overflow-y: auto; }
.contact-spread h2 { font: inherit; margin: 0 0 .5em; }

/* Optional work overview, using the portfolio's existing light typography. */
#works-overview {
  color: var(--ink); background: #fff; border: 0; border-radius: 0;
  width: min(1180px, calc(100% - 3rem)); max-width: none;
  height: calc(100svh - 3rem); max-height: none;
  margin: auto; padding: 1.5rem 2rem 2rem;
  font: inherit; scrollbar-width: thin;
}
#works-overview::backdrop { background: rgb(40 36 32 / .28); }
html.viewing-works { overflow: hidden; }
.works-heading { position: sticky; top: 0; z-index: 1; background: #fff; padding-block: .4rem; display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.works-heading h2 { font: inherit; letter-spacing: .08em; margin: 0; }
.works-heading button, #works-sections button, #works-groups button { font-size: 14px; font-weight: 300; padding: .5rem 0; }
#works-sections, #works-groups { justify-content: flex-start; gap: .3rem 1.4rem; }
#works-sections { margin-top: 1rem; }
#works-groups { margin-top: .3rem; }
#works-sections button[aria-pressed="true"], #works-groups button[aria-pressed="true"] {
  text-decoration: underline; text-underline-offset: .35em;
}
#works-count { font-size: 12px; margin: 1.2rem 0; }
#works-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem 1.5rem; }
.work-thumbnail { padding: 0; text-align: left; align-self: start; }
.work-thumbnail figure { margin: 0; }
.work-thumbnail img { display: block; width: 100%; height: 190px; object-fit: contain; }
.work-thumbnail figcaption { font-size: 12px; line-height: 1.5; margin-top: .7rem; overflow-wrap: anywhere; }
.work-thumbnail:hover figcaption { text-decoration: underline; text-underline-offset: .2em; }
#playback-feedback { position: fixed; z-index: 20; bottom: 7.5rem; left: 50%; transform: translateX(-50%);
  margin: 0; padding: .5rem .8rem; background: rgb(255 255 255 / .94); color: var(--ink);
  font-size: 12px; text-align: center; pointer-events: none; }
.face [data-playback-toggle] { cursor: pointer; pointer-events: auto; }
@media (max-width: 720px) {
  #works-overview { width: calc(100% - 1rem); height: calc(100svh - 1rem); padding: 1rem; }
  #works-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1rem; }
  .work-thumbnail img { height: 150px; }
  #works-sections, #works-groups { gap: .2rem 1rem; }
  .switches { flex-wrap: wrap; justify-content: flex-end; }
}

/* Shared footer rhythm for every portfolio page. */
.aligned-page .navigation {
  inset: auto 2.15rem 1.6rem; width: auto; margin: 0; padding: 0;
  display: flex; flex-direction: row-reverse; align-items: center;
  justify-content: flex-start; gap: 1.5rem;
}
.aligned-page #sections { gap: .65rem clamp(16px, 1.7vw, 28px); justify-content: flex-end; }
.aligned-page #sections a { font-size: 13px; line-height: 1.5; white-space: nowrap; letter-spacing: .025em; }
.aligned-page #sections a:not(:last-child)::after { display: none; }
.aligned-page #groups { inset: auto 2.15rem 4.6rem auto; max-width: calc(100% - 4.3rem); gap: .5rem 1.25rem; padding: 0; }
.aligned-page #groups a { font-size: 12px; line-height: 1.6; white-space: nowrap; }
.aligned-page .single-caption { bottom: 7.5rem; }

/* Text pages share the original upper/lower split, with separate safe reading areas. */
.aligned-page .article.reading-page {
  position: absolute; inset: 0; height: 100%;
  padding: 0 2.15rem 0 var(--copy-start); overflow: hidden; background: transparent;
}
.reading-inner { width: 100%; height: 100%; display: grid; grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); }
.reading-primary {
  min-height: 0; width: 100%; padding: clamp(110px, 14svh, 160px) 0 1.1rem;
  overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin;
}
.reading-page h1, .reading-page h2 { font: inherit; font-size: 14px; line-height: 1.5; margin: 0 0 1.2rem; }
.reading-page .body { font-size: 13px; line-height: 1.65; }
.reading-page .body p { margin: 0 0 .9em; }
.reading-primary > .body { columns: 2; column-gap: clamp(3rem, 6vw, 7rem); max-width: 1120px; }
.reading-primary > .body p { break-inside: avoid; }
.reading-page .contact-note { max-width: 85ch; margin: 1.4rem 0 0; font-size: 12px; line-height: 1.6; }
.profile-recognition, .reading-contact {
  min-height: 0; width: min(100%, 590px); height: 100%; margin: 0 0 0 auto;
  padding: 1.5rem 0 0; height: calc(100% - 8rem); text-align: right; overflow-y: auto;
  overscroll-behavior: contain; scrollbar-width: thin;
  display: flex; flex-direction: column; justify-content: safe flex-end;
}
.profile-recognition > *, .reading-contact > * { flex: none; }
.reading-contact .contact-links { font-size: 13px; line-height: 1.7; margin: 0; justify-items: end; gap: .8rem; }
@media (max-width: 900px) {
  .reading-primary > .body { columns: 1; }
}
@media (max-width: 720px) {
  .aligned-page .navigation { inset: auto 1rem 1.3rem; flex-direction: column; align-items: flex-end; gap: .35rem; }
  .aligned-page #sections { width: 100%; gap: .55rem 1.15rem; justify-content: flex-end; }
  .aligned-page #sections a { font-size: 12px; }
  .aligned-page #groups { inset: auto 1rem 7rem auto; max-width: calc(100% - 2rem); gap: .35rem 1rem; }
  .aligned-page .single-caption { bottom: 9rem; }
  .aligned-page .article.reading-page { padding-inline: var(--copy-start) 1rem; }
  .reading-primary { padding-top: 100px; }
  .profile-recognition, .reading-contact { height: calc(100% - 9rem); }
  .aligned-page header { position: absolute; min-height: 0; }
  .aligned-page #sections { display: grid; grid-template-columns: repeat(4, max-content); gap: .6rem 1.3rem; }
  .aligned-page #sections a:nth-child(5) { grid-column: 2; }
  .aligned-page #sections a:nth-child(6) { grid-column: 3; }
  .aligned-page #sections a:nth-child(7) { grid-column: 4; }
}

.reading-contact .contact-note { max-width: 58ch; margin: 1.5rem 0 0 auto; text-align: right; }

.open-studio-view { --ink: #504841; --event-inset: clamp(28px, 8vw, 144px); }
.open-studio-view body { background: #fff; }
.open-studio-view .site { max-width: none; padding: 0; mask-image: none; }
.open-studio-view .site::before, .open-studio-view .orientation-tip,
.open-studio-view .arrows, .open-studio-view .image-panel { display: none; }
.open-studio-view .machine { display: block; height: max(100svh, 580px); margin: 0; transform: none; }
.open-studio-view .text-panel {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
  border-radius: 0; box-shadow: none; background: #fff;
}
.open-studio-view .text-panel::after {
  display: block; inset-block-start: calc(50% - 1px); height: 2px;
  background: #756d67; box-shadow: none;
}
.open-studio {
  position: relative; height: 100%; background: #fff;
  display: grid; grid-template: repeat(2, minmax(0, 1fr)) / 1fr; isolation: isolate;
  font-size: clamp(14px, 1.16vw, 17px); line-height: 1.55;
}
.event-upper, .event-lower { position: relative; z-index: 1; max-width: min(44vw, 520px); }
.event-upper { grid-row: 1; align-self: end; margin: 0 0 clamp(16px, 4vh, 48px) var(--event-inset); }
.open-studio.is-dates .event-upper {
  align-self: center; margin: 3.4rem var(--event-inset) 0 var(--mobile-brand-start, var(--event-inset));
  max-width: min(54vw, 560px);
}
.event-lower { grid-row: 2; align-self: start; margin: clamp(18px, 3vh, 38px) 0 0 var(--event-inset); }
.open-studio h1 { font-size: clamp(24px, 2.65vw, 43px); font-weight: 300; line-height: 1.12; margin: 0 0 .55em; }
.open-studio h2 { font: inherit; font-weight: 500; margin: 0 0 .35em; }
.open-studio p { margin: 0 0 .4em; }
.open-studio p:last-child { margin-bottom: 0; }
.open-studio .event-schedule, .open-studio .event-hours { font-variant-numeric: tabular-nums; font-size: 1.15em; }
.open-studio .event-hours { margin-bottom: .65em; }
.event-location { font-size: .91em; }
.event-links { display: flex; flex-wrap: wrap; gap: .5rem 1.15rem; padding-top: .35em; }
.event-links a, #event-turn { color: inherit; text-decoration: underline; text-underline-offset: .25em; }
.event-photo { position: absolute; inset: 42% 9% 13% auto; width: 40%; display: block; }
.event-photo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.is-invitation .event-photo { inset: 24% 12% 16% auto; width: 31%; }
#event-turn {
  position: absolute; z-index: 7; inset: auto auto 1.45rem var(--event-inset);
  text-align: left; min-height: 44px; padding: 0; font-size: 14px;
}
.open-studio-view:has(#copy > .is-dates) #event-turn { left: var(--mobile-brand-start, var(--event-inset)); }
@media (min-width: 721px) and (max-height: 610px), (orientation: landscape) and (max-width: 950px) {
  .open-studio-view .machine { height: max(100svh, 640px); }
  .open-studio-view .navigation { bottom: .75rem; }
  #event-turn { bottom: 2.5rem; }
  .event-upper, .event-lower { max-width: 45vw; }
}
@media (max-width: 720px) and (orientation: portrait) {
  .open-studio-view { --event-inset: clamp(18px, 6vw, 36px); }
  .open-studio-view header {
    inset: .8rem var(--event-inset) auto; padding: 0; align-items: center; gap: .5rem;
  }
  .open-studio-view .identity span { max-width: 80px; white-space: normal; }
  .open-studio-view .switches { gap: .15rem; }
  .open-studio-view .switches button { padding-inline: 3px; }
  .open-studio-view .machine { height: max(100svh, 715px); }
  .open-studio { font-size: 14px; line-height: 1.5; grid-template-columns: minmax(0, 1fr); }
  .event-upper, .event-lower { max-width: 36ch; margin-inline: var(--event-inset); }
  .event-upper { margin-bottom: 1.3rem; }
  .open-studio.is-dates .event-upper { max-width: none; }
  .event-lower { margin-top: 1.15rem; }
  .open-studio h1 { font-size: clamp(25px, 6vw, 34px); }
  .event-photo { inset: 51% var(--event-inset) 15% 12%; width: auto; }
  .is-dates .event-photo img { max-width: 400px; margin-left: auto; object-position: right center; }
  .is-invitation .event-upper { padding-right: min(23vw, 140px); max-width: 56ch; }
  .is-invitation .event-photo {
    inset: auto var(--event-inset) calc(50% + 1.38rem) auto;
    width: min(22vw, 130px); height: min(20vw, 122px);
  }
  #event-turn { inset: auto auto 5.8rem var(--event-inset); }
  .open-studio-view .navigation { inset: auto var(--event-inset) 1rem; }
  .open-studio-view #sections { column-gap: clamp(.65rem, 4vw, 1.3rem); }
}

.open-studio.is-dates .event-photo {
  inset: auto var(--event-inset) 9% auto;
  width: min(43vw, 54vh);
  height: 73%;
  pointer-events: none;
}
.open-studio.is-dates .event-photo img {
  object-position: right bottom;
  transform: scaleX(-1);
}
@media (max-width: 720px) and (orientation: portrait) {
  .open-studio.is-dates .event-upper {
    margin-inline-start: var(--event-inset);
    margin-inline-end: max(var(--event-inset), 19vw);
  }
  .open-studio.is-dates .event-photo {
    inset: 52% var(--event-inset) 14%;
    width: auto;
    height: auto;
  }
  .open-studio.is-dates .event-photo img {
    margin-inline: auto;
    object-position: center;
  }
}
