* { box-sizing:border-box }
body { margin:0; min-height:100dvh; display:grid; grid-template:auto 1fr auto / minmax(0,1fr); background:var(--bg); color:var(--ink); font:1rem system-ui,sans-serif }
h1 { font:600 clamp(1rem,2vw,1.7rem)/1 Georgia,serif; margin:0 }
nav { display:flex; flex-direction:column; gap:.26rem }
a,button { color:inherit }
nav a { text-decoration:none; padding:.38rem .48rem; border-left:3px solid transparent }
nav a[aria-current] { border-color:var(--accent); font-weight:650 }
nav[hidden] { display:none }
button { font:inherit; background:var(--bg); color:var(--ink); border:1px solid var(--line); padding:.45rem .6rem; cursor:pointer }
button:focus-visible,a:focus-visible,#stage:focus-visible { outline:2px solid var(--accent); outline-offset:2px }
#stage { position:relative; min-height:76dvh; overflow:hidden; isolation:isolate }
#stage.flow { cursor:grab }
#stage.dragging { cursor:grabbing; user-select:none }
footer { grid-column:2; display:flex; justify-content:space-between; align-items:center; border-top:1px solid var(--line); padding:.55rem 1rem; min-height:3.5rem }
#guide { font-size:.77rem }
#steps { display:flex; gap:.35rem }
.tile { border:0; text-align:left; background:none; padding:0; min-width:0 }
.flow .tile { position:absolute; top:0; left:0; width:var(--tile); will-change:transform }
.media { aspect-ratio:var(--ratio,4/3); display:block; overflow:hidden; background:var(--bg) }
dialog { max-width:min(40rem,92vw); width:100%; padding:1rem; border:1px solid var(--line); background:var(--bg); color:var(--ink) }
#focus::backdrop {
  background:rgb(0 0 0 / 26%);
  backdrop-filter:blur(3px);
}
dialog form { display:flex; justify-content:end; margin-bottom:.7rem }
dialog h2 { margin:.6rem 0; font:500 1.7rem Georgia,serif }
@media(max-width:650px){
 nav a { border-left:0;border-bottom:2px solid transparent } footer { grid-column:1 }
}
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { animation:none!important } }
.site-header { grid-column:1/-1; border-bottom:1px solid var(--line); display:flex; justify-content:space-between; align-items:center; gap:.7rem 1.4rem; padding:.8rem clamp(1rem,4vw,3rem); flex-wrap:wrap }
.site-header nav { flex-direction:row; flex-wrap:wrap; gap:clamp(.35rem,2vw,1.4rem) }
.site-header a { text-decoration:none }
.site-header a:hover,.foreground a:hover { text-decoration:underline }
.brand { font:600 clamp(1.3rem,3vw,2.05rem) Georgia,serif }
.stage-shell { position:relative; min-width:0 }
.foreground { position:absolute; inset:0; pointer-events:none; align-items:center; justify-content:center; gap:.4rem }

footer { gap:1rem }
.socials { display:flex; gap:.7rem; margin-left:auto }
.socials a { display:grid; place-items:center; width:2.3rem; height:2.3rem; border:1px solid var(--line) }
.socials svg { width:1.2rem; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round }
.inner footer { grid-column:1 }
.editorial { width:min(70rem,100%); margin:auto; padding:clamp(1.5rem,5vw,5rem); line-height:1.55 }
.editorial h1 { font:500 clamp(2.8rem,8vw,7rem)/.95 Georgia,serif; margin-bottom:1.5rem }
.editorial img { max-width:100%; height:auto; display:block }
.editorial figure { margin:1rem 0 }
.editorial :is(.has-text-color, .has-link-color a, figcaption, .wp-block-button__link) { color:var(--ink) !important }
.about__layout,.teaching__layout { display:grid; grid-template-columns:1.2fr 1fr; gap:clamp(1rem,4vw,4rem) }
.works-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:2.2rem 1rem }
.work-card a { text-decoration:none }
@media(max-width:650px){
 .works-grid { grid-template-columns:repeat(2,minmax(0,1fr)) }
 .about__layout,.teaching__layout { grid-template-columns:1fr }
}

@font-face { font-family:Instrument; src:url('instrument-serif.woff2') format('woff2'); font-display:swap }
:root { --bg:#000; --ink:#fff; --line:#b093a148; --accent:#e0a9bc; color-scheme:dark }
.brand { font-family:Instrument,Georgia,serif; letter-spacing:.02em }
.site-header nav a { font:400 .83rem/1.3 system-ui,sans-serif; white-space:nowrap }
#stage.wall { min-height:76dvh; touch-action:none; background:var(--bg) }
.media img { display:block; width:100%; height:100%; object-fit:cover; filter:grayscale(1) contrast(1.13); pointer-events:none }
.foreground { flex-flow:row nowrap; gap:clamp(1rem,5vw,4.5rem); z-index:1; padding-inline:.5rem }
.foreground a { pointer-events:auto; white-space:nowrap; background:transparent; border:0; padding:.42rem .65rem; font:400 clamp(.85rem,1.4vw,1.1rem)/1.2 Instrument,Georgia,serif; letter-spacing:.095em }
.socials a:hover { color:var(--accent) }
body.inner .editorial h1 { font-family:Instrument,Georgia,serif }
@media(max-width:650px) {
  .foreground { gap:clamp(.45rem,4vw,1.5rem) }
  .foreground a { letter-spacing:.04em; padding-inline:.55rem }
}

.back-link { display:inline-grid; place-items:center; width:2.5rem; height:2.5rem; margin-block-end:.75rem; color:var(--ink) }
.back-link svg { width:1.35rem; fill:none; stroke:currentColor; stroke-width:1; stroke-linecap:round; stroke-linejoin:round }
.back-link:hover { color:var(--accent) }
.teaching__layout, .project__body { align-items:start }
.teaching__layout .prose > h2:first-child { margin-block-start:0 }
.teaching__photos { display:grid; gap:1.25rem; min-width:0 }
.editorial .teaching__photo { margin:0 }
.teaching__photo figcaption, .project__hero figcaption { margin-top:.55rem; font-size:.85rem }
.work-card a { display:block }
.work-card__image { display:block; position:relative; aspect-ratio:2/3; background:var(--bg) }
.work-card__image img { position:absolute; inset:0; width:100%; height:100%; max-height:100%; aspect-ratio:auto; object-fit:cover }
.work-card__caption h3 { margin-bottom:.25rem }
.project__header h1 { margin-block:.35rem .65rem }
.project__subtitle { margin-block:0 1.4rem }
.editorial .project__hero { margin:0 0 2rem }
.project > .wp-block-image, .project > .wp-block-gallery {
  margin-block:clamp(1.5rem, 4vw, 3rem);
}
.project__hero img { width:100%; width:min(100%, attr(width px)); height:auto; max-width:100%; object-fit:contain }
.project__body { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(0,1fr); gap:clamp(1rem,4vw,3rem); max-width:none }
.project__body h2 { margin-top:0 }
.project__credits dl { margin-top:0 }
.project__credits dd { margin-inline-start:0; margin-block-end:.55rem }
.editorial .project__photos {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:start;
  max-width:36rem;
  gap:clamp(.6rem,2vw,1rem);
  margin:clamp(1.5rem,4vw,3rem) 0;
}
.project__photos img {
  width:100%;
  height:auto;
  aspect-ratio:3/2;
  object-fit:contain;
  object-position:center top;
}
/* Match the two supplementary photographs in Closer. */
.page-id-186 .editorial .project__photos:not(.project__photos--featured) {
  column-gap:clamp(.4rem,1vw,.65rem);
}
.page-id-186 .project__photos > img {
  aspect-ratio:1;
  object-fit:cover;
  object-position:50% 43%;
  contain-intrinsic-size:none;
}
.project__photos--featured { width:94% }
.project__photos--featured > img:first-child {
  grid-column:1/-1;
  aspect-ratio:auto;
}
.project__photos--single > img {
  aspect-ratio:auto;
  width:auto;
  max-height:clamp(8rem,42vw,22rem);
}
.project__photos figcaption {
  grid-column:1/-1;
}
:is(.page-id-176, .page-id-180, .page-id-184) .editorial .project__photos--featured {
  gap:clamp(.25rem,.8vw,.5rem);
}
:is(.page-id-176, .page-id-180, .page-id-184) .project__photos--featured img {
  contain-intrinsic-size:none;
}
:is(.page-id-176, .page-id-180, .page-id-184) .project__photos--featured figcaption {
  margin-block-start:.35rem;
}
.page-id-184 .project__photos--featured > img:nth-of-type(2) { object-position:right top }
.page-id-184 .project__photos--featured > img:nth-of-type(3) { object-position:left top }

.editorial .about__showreel {
  width:min(100%,52rem);
  margin:clamp(1.75rem,5vw,4rem) 0;
}
.about__showreel video {
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:16/9;
  background:var(--bg);
}
.project__photos figcaption, .about__showreel figcaption {
  font-size:.85rem;
  line-height:1.5;
}
.about__showreel figcaption { margin-top:.75rem }
.about__showreel figcaption p { margin:0 }
.about__showreel figcaption ul { margin:.25rem 0 .55rem; padding-inline-start:1.2em }

@media(max-width:650px) { .project__body { grid-template-columns:1fr } }
body.home-wall {
  min-height:100svh;
  grid-template:minmax(0,1fr) / minmax(0,1fr);
  --wall-button-border:#eee;
  --wall-button-bg:#080808ed;
}
.home-wall .site-header {
  position:fixed; z-index:4; inset-inline:0;
  inset-block-start:calc(var(--wp-admin--admin-bar--height,0px) + env(safe-area-inset-top));
  border:0; background:none; pointer-events:none;
}
.home-wall .site-header .brand {
  pointer-events:auto; text-shadow:0 1px 4px #000, 0 0 10px #000, 0 0 16px #000;
}
.home-wall .site-header nav { gap:.4rem .55rem }
.home-wall .site-header nav a,
.home-wall .site-header.has-mobile-menu .site-menu-button,
.home-wall .socials a {
  pointer-events:auto; color:#fff;
  border:1px solid var(--wall-button-border); background:var(--wall-button-bg);
}
.home-wall .site-header nav a {
  display:inline-flex; align-items:center; justify-content:center; min-height:44px;
  padding:.45rem .95rem; border-radius:999px;
}
.home-wall .site-header.has-mobile-menu .site-menu-button { border-radius:50% }
.home-wall .site-header nav a:hover,
.home-wall .site-header .site-menu-button:hover,
.home-wall .socials a:hover { color:var(--ink); background:#303030; text-decoration:none }
.home-wall .site-header a:focus-visible,
.home-wall .site-header .site-menu-button:focus-visible,
.home-wall .socials a:focus-visible { outline-color:#fff }
body.home-wall.admin-bar { min-height:calc(100svh - var(--wp-admin--admin-bar--height,32px)) }
.home-wall #stage.wall { position:absolute; inset:0; min-height:0 }
.home-wall footer {
  position:fixed; z-index:3; pointer-events:none;
  inset-inline-start:max(1rem,env(safe-area-inset-left));
  inset-inline-end:max(1rem,env(safe-area-inset-right));
  inset-block-end:max(1rem,env(safe-area-inset-bottom));
  padding:0; min-height:0; border:0; background:none;
}
.home-wall #guide { color:#fff; text-shadow:0 1px 5px #000,0 0 9px #000 }
.home-wall .socials { gap:.65rem }
.home-wall .socials a {
  width:48px; height:48px; flex:none; border-radius:50%;
}
.home-wall .socials svg { width:1.45rem; stroke-width:1.8 }
@media (min-width:651px) {
  .home-wall .socials { gap:.85rem }
  .home-wall .socials a { width:54px; height:54px; border-width:1.5px }
  .home-wall .socials svg { width:1.625rem; stroke-width:2 }
  .home-wall .foreground a {
    font-size:clamp(1.18rem, 1.75vw, 1.45rem);
    text-shadow:0 1px 5px #000, 0 0 10px #000;
  }
}
.work-card a[href$="/work/closer/"] .work-card__image img { object-position:55% 50% }
.work-card__byline { display:block; font-size:.82em; font-weight:400; line-height:1.4 }
.contact-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); align-items:start; gap:clamp(1rem,4vw,4rem) }
.contact-layout h1 { margin-block-start:0 }
.contact-portrait { width:100%; max-width:25rem; height:auto }
@media(max-width:650px) { .contact-layout { grid-template-columns:1fr } }

.wall .media img, #focus .media img { object-fit:contain }
.work-card__image { min-width:0; min-height:0; overflow:hidden }
.work-card__image img { filter:grayscale(1); transition:filter .26s ease }
.work-card a:focus-visible .work-card__image img { filter:none }
@media(hover:hover) and (pointer:fine) {
  .work-card a:hover .work-card__image img { filter:none }
}
@media(prefers-reduced-motion:reduce) {
  .work-card__image img { transition:none }
}
@media(max-width:650px) {
  body { min-height:100svh }
  .site-header { display:grid; grid-template-columns:minmax(0,1fr); gap:.15rem; padding:.55rem .85rem }
  .site-header .brand { line-height:1.15 }
  .site-header nav { gap:.05rem .15rem }
  .foreground a { min-inline-size:5rem; justify-content:center }
  .site-header nav a, .foreground a { display:inline-flex; align-items:center; min-height:44px }
  .site-header nav a { padding-inline:.32rem }
  .socials a, .back-link { width:44px; height:44px }
  .work-card__caption h3 { font-size:1rem; overflow-wrap:anywhere }
  .editorial h1 { overflow-wrap:anywhere }
  .editorial iframe { max-width:100% }
}

.site-menu-button { display:none }
#focus {
  width:fit-content; max-width:94vw; max-height:calc(100dvh - 1rem);
  padding:0; overflow:auto; border:0; background:transparent;
}
#focus form { margin-bottom:.35rem }
#focus form button { min-height:2.5rem; border:0; background:none }
#focus form button, #focus .wall-photo-credit {
  text-shadow:0 1px 3px #000, 0 0 6px #000, 0 0 10px #000;
}
#focus form button:focus-visible {
  outline:0; text-decoration:underline; text-underline-offset:.22em;
}
#focus #focus-media .media { aspect-ratio:auto; overflow:visible; background:transparent }
.home-wall #focus #focus-media .media img {
  width:auto; height:auto; max-width:min(48rem, 94vw);
  max-height:min(74dvh, calc(100dvh - 11rem));
  margin-inline:auto; object-fit:contain; filter:none;
  outline:1px solid #fff; outline-offset:-1px;
}
body.home-wall { overscroll-behavior-x:none }
html:has(body.home-wall) { overscroll-behavior-x:none }
#stage .tile:focus-visible { outline-color:#eee6e8; outline-offset:-2px }
.wall .tile { border:0; -webkit-tap-highlight-color:transparent }
@media (max-width:650px) {
  .home-wall #guide { transition:opacity .3s ease }
  .home-wall #guide.guide-dismissed { opacity:0; visibility:hidden; transition:opacity .3s ease, visibility 0s linear .3s }
}
@media (max-width:650px) and (prefers-reduced-motion:reduce) {
  .home-wall #guide, .home-wall #guide.guide-dismissed { transition:none }
}
#focus .wall-photo-credit, #focus .wall-photo-credit + div {
  inline-size:var(--wall-photo-width, 100%); max-inline-size:100%;
  margin-inline:auto;
}
#focus .wall-photo-credit + div { display:flex; gap:.25rem }
#focus .wall-photo-credit { margin-block:.65rem .55rem; font-size:.85rem }
#focus .wall-photo-credit a { text-underline-offset:3px }
.work-card a.touch-color .work-card__image img { filter:none; transition:filter .12s ease }
@media (prefers-reduced-motion:reduce) {
  .work-card a.touch-color .work-card__image img { transition:none }
}
@media (max-width:650px) {
  .site-header { position:sticky; min-height:62px; top:var(--wp-admin--admin-bar--height, 0px); z-index:20; background:var(--bg); align-self:start }
  .site-header.has-mobile-menu { display:grid; grid-template-columns:minmax(0, 1fr) auto; align-items:center; min-height:62px }
  .site-header.has-mobile-menu .site-menu-button { display:grid; place-items:center; width:44px; height:44px; padding:0; border:0 }
  .site-header.has-mobile-menu nav { display:none; position:absolute; inset:100% 0 auto; padding:.45rem .85rem; background:var(--bg); border-bottom:1px solid var(--line); flex-direction:column }
  .site-header.has-mobile-menu.menu-open nav { display:flex }
  .site-header.has-mobile-menu nav a { padding-inline:.3rem; width:100% }
  .home-wall .site-header.has-mobile-menu nav {
    inset-inline:max(.85rem, env(safe-area-inset-left)) max(.85rem, env(safe-area-inset-right));
    align-items:flex-end; padding:.2rem 0 0; border:0; background:none;
  }
  .home-wall .site-header.has-mobile-menu nav a { width:auto; min-width:7rem; padding-inline:.95rem }
  .foreground { flex-direction:column; gap:.12rem; inset:50% 0 auto; transform:translateY(-50%); }
  .foreground a { font-size:1.12rem; min-inline-size:0; min-height:44px; text-shadow:0 1px 5px #000, 0 0 10px #000 }
}

.wall-canvas { position:absolute; inset:0; width:100%; height:100%; pointer-events:none; visibility:hidden }
.wall-canvas-active .wall-canvas { visibility:visible }
.wall-canvas-active .tile .media { opacity:0 }
.wall-canvas-active .tile { will-change:auto }

.wall-identity {
  position:absolute; width:1px; height:1px; margin:-1px; padding:0;
  overflow:hidden; clip-path:inset(50%); white-space:nowrap;
}
.wall-fallback { padding-top:6.5rem }
.wall-fallback__photos { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(12rem,100%),1fr)); gap:1rem }
.portfolio-related { margin-block:2rem 0; border-top:1px solid var(--line); padding-block-start:.75rem }
.portfolio-related ul { display:flex; flex-wrap:wrap; gap:.6rem 1.35rem; list-style:none; margin:0; padding:0 }
.portfolio-related a { display:inline-block; padding:.35rem 0; border:0; text-decoration:underline; text-underline-offset:.18em }
